text
stringlengths
4
1.04M
------------------------------------------------------------------------------ -- Copyright (c) 2015, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose with or without fee is hereby granted, provided that the above -- -- copyright notice and this permission notice appear in all copies. -- -- -- -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -- -- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -- -- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -- -- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -- -- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -- -- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -- -- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -- ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -- Natools.Web.Filters provides an interface for stream filters which -- -- interface between Write primitives, and a containers for a filter stack -- -- and a filter map. -- ------------------------------------------------------------------------------ with Ada.Streams; private with Ada.Containers.Indefinite_Doubly_Linked_Lists; package Natools.Web.Filters is pragma Preelaborate; type Filter is interface; procedure Apply (Object : in Filter; Output : in out Ada.Streams.Root_Stream_Type'Class; Data : in Ada.Streams.Stream_Element_Array) is abstract; -- Apply the filter described by Object on Data and append it to Output type Stack is new Filter with private; -- Stack of filters type Side is (Top, Bottom); -- Side on the filter stack: Top is closest to original data, -- Bottom is closest to output stream. overriding procedure Apply (Object : in Stack; Output : in out Ada.Streams.Root_Stream_Type'Class; Data : in Ada.Streams.Stream_Element_Array); -- Apply the whole fiter stack on Data not overriding procedure Insert (Container : in out Stack; Element : in Filter'Class; On : in Side := Top); -- Insert Element in Container not overriding procedure Remove (Container : in out Stack; Element : in Filter'Class; From : in Side := Top); -- Remove the element of Container on the given side, checking it's -- equal to Element (otherwise Program_Error is raised). private package Filter_Lists is new Ada.Containers.Indefinite_Doubly_Linked_Lists (Filter'Class); type Stack is new Filter with record Backend : Filter_Lists.List; end record; end Natools.Web.Filters;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ with AMF.Internals.UML_Elements; with AMF.UML.Connectable_Element_Template_Parameters; with AMF.UML.Connectable_Elements; with AMF.UML.Parameterable_Elements; with AMF.UML.Template_Signatures; with AMF.Visitors; package AMF.Internals.UML_Connectable_Element_Template_Parameters is type UML_Connectable_Element_Template_Parameter_Proxy is limited new AMF.Internals.UML_Elements.UML_Element_Proxy and AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter with null record; overriding function Get_Parametered_Element (Self : not null access constant UML_Connectable_Element_Template_Parameter_Proxy) return AMF.UML.Connectable_Elements.UML_Connectable_Element_Access; -- Getter of ConnectableElementTemplateParameter::parameteredElement. -- -- The ConnectableElement for this template parameter. overriding procedure Set_Parametered_Element (Self : not null access UML_Connectable_Element_Template_Parameter_Proxy; To : AMF.UML.Connectable_Elements.UML_Connectable_Element_Access); -- Setter of ConnectableElementTemplateParameter::parameteredElement. -- -- The ConnectableElement for this template parameter. overriding function Get_Default (Self : not null access constant UML_Connectable_Element_Template_Parameter_Proxy) return AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access; -- Getter of TemplateParameter::default. -- -- The element that is the default for this formal template parameter. overriding procedure Set_Default (Self : not null access UML_Connectable_Element_Template_Parameter_Proxy; To : AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access); -- Setter of TemplateParameter::default. -- -- The element that is the default for this formal template parameter. overriding function Get_Owned_Default (Self : not null access constant UML_Connectable_Element_Template_Parameter_Proxy) return AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access; -- Getter of TemplateParameter::ownedDefault. -- -- The element that is owned by this template parameter for the purpose of -- providing a default. overriding procedure Set_Owned_Default (Self : not null access UML_Connectable_Element_Template_Parameter_Proxy; To : AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access); -- Setter of TemplateParameter::ownedDefault. -- -- The element that is owned by this template parameter for the purpose of -- providing a default. overriding function Get_Owned_Parametered_Element (Self : not null access constant UML_Connectable_Element_Template_Parameter_Proxy) return AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access; -- Getter of TemplateParameter::ownedParameteredElement. -- -- The element that is owned by this template parameter. overriding procedure Set_Owned_Parametered_Element (Self : not null access UML_Connectable_Element_Template_Parameter_Proxy; To : AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access); -- Setter of TemplateParameter::ownedParameteredElement. -- -- The element that is owned by this template parameter. overriding function Get_Parametered_Element (Self : not null access constant UML_Connectable_Element_Template_Parameter_Proxy) return AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access; -- Getter of TemplateParameter::parameteredElement. -- -- The element exposed by this template parameter. overriding procedure Set_Parametered_Element (Self : not null access UML_Connectable_Element_Template_Parameter_Proxy; To : AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access); -- Setter of TemplateParameter::parameteredElement. -- -- The element exposed by this template parameter. overriding function Get_Signature (Self : not null access constant UML_Connectable_Element_Template_Parameter_Proxy) return AMF.UML.Template_Signatures.UML_Template_Signature_Access; -- Getter of TemplateParameter::signature. -- -- The template signature that owns this template parameter. overriding procedure Set_Signature (Self : not null access UML_Connectable_Element_Template_Parameter_Proxy; To : AMF.UML.Template_Signatures.UML_Template_Signature_Access); -- Setter of TemplateParameter::signature. -- -- The template signature that owns this template parameter. overriding procedure Enter_Element (Self : not null access constant UML_Connectable_Element_Template_Parameter_Proxy; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control); -- Dispatch call to corresponding subprogram of visitor interface. overriding procedure Leave_Element (Self : not null access constant UML_Connectable_Element_Template_Parameter_Proxy; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control); -- Dispatch call to corresponding subprogram of visitor interface. overriding procedure Visit_Element (Self : not null access constant UML_Connectable_Element_Template_Parameter_Proxy; Iterator : in out AMF.Visitors.Abstract_Iterator'Class; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control); -- Dispatch call to corresponding subprogram of iterator interface. end AMF.Internals.UML_Connectable_Element_Template_Parameters;
-- Copyright 2015 Steven Stewart-Gallus -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -- implied. See the License for the specific language governing -- permissions and limitations under the License. with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; package Libc.Sys.Types is pragma Preelaborate; subtype quad_t is long; -- /usr/include/sys/types.h:37 type uu_fsid_t_uu_val_array is array (0 .. 1) of aliased int; type fsid_t is record uu_val : aliased uu_fsid_t_uu_val_array; -- /usr/include/bits/types.h:134 end record; pragma Convention (C_Pass_By_Copy, fsid_t); -- /usr/include/bits/types.h:134 subtype loff_t is long; -- /usr/include/sys/types.h:44 subtype ino_t is unsigned_long; -- /usr/include/sys/types.h:48 subtype ino64_t is unsigned_long; -- /usr/include/sys/types.h:55 subtype dev_t is unsigned_long; -- /usr/include/sys/types.h:60 subtype gid_t is unsigned; -- /usr/include/sys/types.h:65 subtype mode_t is unsigned; -- /usr/include/sys/types.h:70 subtype nlink_t is unsigned_long; -- /usr/include/sys/types.h:75 subtype uid_t is unsigned; -- /usr/include/sys/types.h:80 subtype off_t is long; -- /usr/include/sys/types.h:86 subtype off64_t is long; -- /usr/include/sys/types.h:93 subtype pid_t is int; -- /usr/include/sys/types.h:98 subtype id_t is unsigned; -- /usr/include/sys/types.h:104 subtype ssize_t is long; -- /usr/include/sys/types.h:109 subtype daddr_t is int; -- /usr/include/sys/types.h:115 subtype caddr_t is Interfaces.C.Strings.chars_ptr; -- /usr/include/sys/types.h:116 subtype key_t is int; -- /usr/include/sys/types.h:122 subtype useconds_t is unsigned; -- /usr/include/sys/types.h:136 subtype suseconds_t is long; -- /usr/include/sys/types.h:140 subtype ulong is unsigned_long; -- /usr/include/sys/types.h:150 subtype ushort is unsigned_short; -- /usr/include/sys/types.h:151 subtype uint is unsigned; -- /usr/include/sys/types.h:152 subtype int8_t is signed_char; -- /usr/include/sys/types.h:194 subtype int16_t is short; -- /usr/include/sys/types.h:195 subtype int32_t is int; -- /usr/include/sys/types.h:196 subtype int64_t is long; -- /usr/include/sys/types.h:197 subtype u_int8_t is unsigned_char; -- /usr/include/sys/types.h:200 subtype u_int16_t is unsigned_short; -- /usr/include/sys/types.h:201 subtype u_int32_t is unsigned; -- /usr/include/sys/types.h:202 subtype u_int64_t is unsigned_long; -- /usr/include/sys/types.h:203 subtype register_t is long; -- /usr/include/sys/types.h:205 subtype blksize_t is long; -- /usr/include/sys/types.h:228 subtype blkcnt_t is long; -- /usr/include/sys/types.h:235 subtype fsblkcnt_t is unsigned_long; -- /usr/include/sys/types.h:239 subtype fsfilcnt_t is unsigned_long; -- /usr/include/sys/types.h:243 subtype blkcnt64_t is long; -- /usr/include/sys/types.h:262 subtype fsblkcnt64_t is unsigned_long; -- /usr/include/sys/types.h:263 subtype fsfilcnt64_t is unsigned_long; -- /usr/include/sys/types.h:264 end Libc.Sys.Types;
----------------------------------------------------------------------- -- util-commands-parsers.gnat_parser -- GNAT command line parser for command drivers -- Copyright (C) 2018, 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with GNAT.OS_Lib; package body Util.Commands.Parsers.GNAT_Parser is function To_OS_Lib_Argument_List (Args : in Argument_List'Class) return GNAT.OS_Lib.Argument_List_Access; function To_OS_Lib_Argument_List (Args : in Argument_List'Class) return GNAT.OS_Lib.Argument_List_Access is Count : constant Natural := Args.Get_Count; New_Arg : GNAT.OS_Lib.Argument_List (1 .. Count); begin for I in 1 .. Count loop New_Arg (I) := new String '(Args.Get_Argument (I)); end loop; return new GNAT.OS_Lib.Argument_List '(New_Arg); end To_OS_Lib_Argument_List; -- ------------------------------ -- Get all the remaining arguments from the GNAT command line parse. -- ------------------------------ procedure Get_Arguments (List : in out Dynamic_Argument_List; Command : in String; Parser : in GC.Opt_Parser := GC.Command_Line_Parser) is begin List.Name := Ada.Strings.Unbounded.To_Unbounded_String (Command); loop declare S : constant String := GC.Get_Argument (Parser => Parser); begin exit when S'Length = 0; List.List.Append (S); end; end loop; end Get_Arguments; procedure Execute (Config : in out Config_Type; Args : in Util.Commands.Argument_List'Class; Process : not null access procedure (Cmd_Args : in Commands.Argument_List'Class)) is use type GC.Command_Line_Configuration; Empty : Config_Type; begin if Config /= Empty then declare Parser : GC.Opt_Parser; Cmd_Args : Dynamic_Argument_List; Params : GNAT.OS_Lib.Argument_List_Access := To_OS_Lib_Argument_List (Args); begin GC.Initialize_Option_Scan (Parser, Params); GC.Getopt (Config => Config, Parser => Parser); Get_Arguments (Cmd_Args, Args.Get_Command_Name, Parser); Process (Cmd_Args); GC.Free (Config); GNAT.OS_Lib.Free (Params); exception when others => GNAT.OS_Lib.Free (Params); GC.Free (Config); raise; end; else Process (Args); end if; end Execute; procedure Usage (Name : in String; Config : in out Config_Type) is Opts : constant String := GC.Get_Switches (Config); begin if Opts'Length > 0 then GC.Set_Usage (Config, Usage => Name & " [switches] [arguments]"); GC.Display_Help (Config); end if; end Usage; end Util.Commands.Parsers.GNAT_Parser;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . B I T _ O P S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2005, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Operations on packed bit strings with System; package System.Bit_Ops is pragma Preelaborate (Bit_Ops); -- Note: in all the following routines, the System.Address parameters -- represent the address of the first byte of an array used to represent -- a packed array (of type System.Unsigned_Types.Packed_Bytes{1,2,4}) -- The length in bits is passed as a separate parameter. Note that all -- addresses must be of byte aligned arrays. procedure Bit_And (Left : System.Address; Llen : Natural; Right : System.Address; Rlen : Natural; Result : System.Address); -- Bitwise "and" of given bit string with result being placed in Result. -- The and operation is allowed to destroy unused bits in the last byte, -- i.e. to leave them set in an undefined manner. Note that Left, Right -- and Result always have the same length in bits (Len). function Bit_Eq (Left : System.Address; Llen : Natural; Right : System.Address; Rlen : Natural) return Boolean; -- Left and Right are the addresses of two bit packed arrays with Llen -- and Rlen being the respective length in bits. The routine compares the -- two bit strings for equality, being careful not to include the unused -- bits in the final byte. Note that the result is always False if Rlen -- is not equal to Llen. procedure Bit_Not (Opnd : System.Address; Len : Natural; Result : System.Address); -- Bitwise "not" of given bit string with result being placed in Result. -- The not operation is allowed to destroy unused bits in the last byte, -- i.e. to leave them set in an undefined manner. Note that Result and -- Opnd always have the same length in bits (Len). procedure Bit_Or (Left : System.Address; Llen : Natural; Right : System.Address; Rlen : Natural; Result : System.Address); -- Bitwise "or" of given bit string with result being placed in Result. -- The or operation is allowed to destroy unused bits in the last byte, -- i.e. to leave them set in an undefined manner. Note that Left, Right -- and Result always have the same length in bits (Len). procedure Bit_Xor (Left : System.Address; Llen : Natural; Right : System.Address; Rlen : Natural; Result : System.Address); -- Bitwise "xor" of given bit string with result being placed in Result. -- The xor operation is allowed to destroy unused bits in the last byte, -- i.e. to leave them set in an undefined manner. Note that Left, Right -- and Result always have the same length in bits (Len). private pragma Inline (Bit_And); pragma Inline (Bit_Eq); pragma Inline (Bit_Not); pragma Inline (Bit_Or); pragma Inline (Bit_Xor); end System.Bit_Ops;
with Gtk.Main; with Q_Bingada; with Ada.Directories; with Ada.Environment_Variables; procedure Bingada is begin -- Set current directory to the APPDIR value path. In this way we -- allow running from an AppImage and still find the resource files. -- if Ada.Environment_Variables.Exists ("APPDIR") then Ada.Directories.Set_Directory (Ada.Environment_Variables.Value ("APPDIR")); end if; Gtk.Main.Init; Q_Bingada.P_Create_Widgets; -- All GTK applications must have a Gtk.Main.Main. Control ends here -- and waits for an event to occur (like a key press or a mouse event), -- until Gtk.Main.Main_Quit is called. Gtk.Main.Main; end Bingada;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2020, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of STMicroelectronics nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- -- -- -- This file is based on: -- -- -- -- @file stm32f4_discovery.h -- -- @author MCD Application Team -- -- @version V1.1.0 -- -- @date 19-June-2014 -- -- @brief This file contains definitions for STM32F4-Discovery Kit -- -- LEDs, push-buttons hardware resources. -- -- -- -- COPYRIGHT(c) 2014 STMicroelectronics -- ------------------------------------------------------------------------------ -- This file provides declarations for devices on the STM32F4 Discovery kits -- manufactured by ST Microelectronics. with STM32.Device; use STM32.Device; with STM32.GPIO; use STM32.GPIO; with STM32.I2C; use STM32.I2C; with STM32.SPI; use STM32.SPI; with STM32.Timers; use STM32.Timers; with STM32.USARTs; use STM32.USARTs; with MPU9250; use MPU9250; with AK8963; use AK8963; with Ravenscar_Time; package STM32.Board is pragma Elaborate_Body; subtype User_LED is GPIO_Point; LED_Blue_L : User_LED renames PD2; LED_Green_L : User_LED renames PC1; LED_Green_R : User_LED renames PC2; LED_Red_L : User_LED renames PC0; LED_Red_R : User_LED renames PC3; RG_LEDs : GPIO_Points := LED_Green_L & LED_Green_R & LED_Red_L & LED_Red_R; All_LEDs : GPIO_Points := RG_LEDs & LED_Blue_L; LCH_LED : GPIO_Point renames LED_Blue_L; procedure Initialize_LEDs; -- MUST be called prior to any use of the LEDs procedure Turn_On (This : in out User_LED); procedure Turn_Off (This : in out User_LED); function Is_On (This : User_LED) return Boolean; procedure All_LEDs_Off with Inline; procedure All_LEDs_On with Inline; procedure Toggle_LED (This : in out User_LED) renames STM32.GPIO.Toggle; procedure Toggle_LEDs (These : in out GPIO_Points) renames STM32.GPIO.Toggle; --------- -- PWM -- --------- MOTOR_123_Timer : Timer renames Timer_2; MOTOR_4_Timer : Timer renames Timer_4; MOTOR_1 : GPIO_Point renames PA1; MOTOR_1_AF : GPIO_Alternate_Function renames GPIO_AF_TIM2_1; MOTOR_1_Channel : Timer_Channel renames Channel_2; MOTOR_2 : GPIO_Point renames PB11; MOTOR_2_AF : GPIO_Alternate_Function renames GPIO_AF_TIM2_1; MOTOR_2_Channel : Timer_Channel renames Channel_4; MOTOR_3 : GPIO_Point renames PA15; MOTOR_3_AF : GPIO_Alternate_Function renames GPIO_AF_TIM2_1; MOTOR_3_Channel : Timer_Channel renames Channel_1; MOTOR_4 : GPIO_Point renames PB9; MOTOR_4_AF : GPIO_Alternate_Function renames GPIO_AF_TIM4_2; MOTOR_4_Channel : Timer_Channel renames Channel_4; --------- -- I2C -- --------- procedure Initialize_I2C_GPIO (Port : in out I2C_Port) with -- I2C_2 is not accessible on this board Pre => As_Port_Id (Port) = I2C_Id_1 or else As_Port_Id (Port) = I2C_Id_3; procedure Configure_I2C (Port : in out I2C_Port); I2C_MPU_Port : I2C_Port renames I2C_3; I2C_MPU_SCL : GPIO_Point renames PA8; I2C_MPU_SDA : GPIO_Point renames PC9; I2C_EXT_Port : I2C_Port renames I2C_1; I2C_EXT_SCL : GPIO_Point renames PB6; I2C_EXT_SDA : GPIO_Point renames PB7; --------- -- SPI -- --------- procedure Initialize_EXT_SPI; EXT_SPI : SPI_Port renames SPI_1; EXT_SCK : GPIO_Point renames PA5; EXT_MISO : GPIO_Point renames PA6; EXT_MOSI : GPIO_Point renames PA7; EXT_CS0 : GPIO_Point renames PC12; EXT_CS1 : GPIO_Point renames PB4; EXT_CS2 : GPIO_Point renames PB5; EXT_CS3 : GPIO_Point renames PB8; procedure Configure_EXT_CS (Pin : in out GPIO_Point) with Pre => Pin = EXT_CS0 or Pin = EXT_CS1 or Pin = EXT_CS2 or Pin = EXT_CS3; --------- -- USB -- --------- USB_ID : GPIO_Point renames PA10; USB_DM : GPIO_Point renames PA11; USB_DP : GPIO_Point renames PA12; -------------------------- -- External connections -- -------------------------- EXT_USART1 : USART renames USART_3; EXT_USART1_AF : GPIO_Alternate_Function renames GPIO_AF_USART3_7; EXT_USART1_TX : GPIO_Point renames PC10; EXT_USART1_RX : GPIO_Point renames PC11; EXT_USART2 : USART renames USART_2; EXT_USART2_AF : GPIO_Alternate_Function renames GPIO_AF_USART2_7; EXT_USART2_TX : GPIO_Point renames PA2; EXT_USART2_RX : GPIO_Point renames PA3; ----------- -- Radio -- ----------- NRF_USART : USART renames USART_6; NRF_USART_AF : GPIO_Alternate_Function renames GPIO_AF_USART6_8; NRF_RX : GPIO_Point renames PC6; NRF_TX : GPIO_Point renames PC7; NRF_SWCLK : GPIO_Point renames PB13; NRF_SWIO : GPIO_Point renames PB15; NRF_FLOW_CTRL : GPIO_Point renames PA4; --------- -- MPU -- --------- MPU_Device : MPU9250.MPU9250_Device (I2C_MPU_Port'Access, High, Ravenscar_Time.Delays); MPU_INT : GPIO_Point renames PC13; MPU_FSYNC : GPIO_Point renames PC14; MAG_Device : AK8963_Device (I2C_MPU_Port'Access, Add_00, Ravenscar_Time.Delays); end STM32.Board;
----------------------------------------------------------------------- -- openapi-clients -- Rest client support -- Copyright (C) 2017, 2018, 2019, 2020, 2022 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Util.Beans.Objects.Readers; with Util.Serialize.IO.JSON; with Util.Strings; with Util.Log.Loggers; with OpenAPI.Streams.Forms; package body OpenAPI.Clients is use Ada.Strings.Unbounded; Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("Swagger.Clients"); type Form_Output_Stream_Access is access all OpenAPI.Streams.Forms.Output_Stream'Class; type Json_Output_Stream_Access is access all Util.Serialize.IO.JSON.Output_Stream'Class; function Stream (Req : in Request_Type) return Stream_Accessor is begin return Stream_Accessor '(Stream => Req.Data, N => 0); end Stream; -- ------------------------------ -- Set the path to use for the URI. -- ------------------------------ procedure Set_Path (URI : in out URI_Type; Path : in String) is begin URI.URI := To_UString (Path); end Set_Path; -- ------------------------------ -- Set the path parameter. -- ------------------------------ procedure Set_Path_Param (URI : in out URI_Type; Name : in String; Value : in String) is Path : constant String := To_String (URI.URI); Pos : Natural; First : constant Natural := Path'First; begin loop Pos := Util.Strings.Index (Path, '{', First); exit when Pos = 0; if Path (Pos + 1 .. Pos + 1 + Name'Length - 1) = Name and then Path (Pos + 1 + Name'Length) = '}' then URI.URI := To_UString (Path (Path'First .. Pos - 1)); Append (URI.URI, Value); Append (URI.URI, Path (Pos + 1 + Name'Length + 1 .. Path'Last)); return; end if; Pos := Util.Strings.Index (Path, '}', Pos + 1); exit when Pos = 0; end loop; end Set_Path_Param; -- ------------------------------ -- Set the path parameter. -- ------------------------------ procedure Set_Path_Param (URI : in out URI_Type; Name : in String; Value : in UString) is begin URI.Set_Path_Param (Name, To_String (Value)); end Set_Path_Param; -- ------------------------------ -- Add a query parameter. -- ------------------------------ procedure Add_Param (URI : in out URI_Type; Name : in String; Value : in String) is begin if Length (URI.Query) > 0 then Append (URI.Query, "&"); end if; Append (URI.Query, Name); Append (URI.Query, "="); Append (URI.Query, Value); end Add_Param; procedure Add_Param (URI : in out URI_Type; Name : in String; Value : in Nullable_UString) is begin if not Value.Is_Null then URI.Add_Param (Name, Value.Value); end if; end Add_Param; -- ------------------------------ -- Add a query parameter. -- ------------------------------ procedure Add_Param (URI : in out URI_Type; Name : in String; Value : in Boolean) is begin if Length (URI.Query) > 0 then Append (URI.Query, "&"); end if; Append (URI.Query, Name); Append (URI.Query, "="); Append (URI.Query, Boolean'Image (Value)); end Add_Param; procedure Add_Param (URI : in out URI_Type; Name : in String; Value : in Nullable_Boolean) is begin if not Value.Is_Null then URI.Add_Param (Name, Value.Value); end if; end Add_Param; -- ------------------------------ -- Add a query parameter. -- ------------------------------ procedure Add_Param (URI : in out URI_Type; Name : in String; Value : in UString) is begin Add_Param (URI, Name, To_String (Value)); end Add_Param; -- Add a query parameter. procedure Add_Param (URI : in out URI_Type; Name : in String; Value : in UString_Vectors.Vector) is begin if Value.Is_Empty then Add_Param (URI, Name, ""); else -- if Value.Length = 1 then Add_Param (URI, Name, Value.Element (1)); end if; end Add_Param; procedure Add_Param (URI : in out URI_Type; Name : in String; Value : in Nullable_UString_Vectors.Vector) is begin if not Value.Is_Empty then Add_Param (URI, Name, Value.Element (1).Value); end if; end Add_Param; -- ------------------------------ -- Convert the URI into a string. -- ------------------------------ function To_String (URI : in URI_Type) return String is begin if Length (URI.Query) > 0 then return To_String (URI.URI) & "?" & To_String (URI.Query); else return To_String (URI.URI); end if; end To_String; -- ------------------------------ -- Set the server base URI to connect to. -- ------------------------------ procedure Set_Server (Client : in out Client_Type; Server : in String) is begin Client.Server := To_UString (Server); end Set_Server; procedure Set_Server (Client : in out Client_Type; Server : in UString) is begin Client.Server := Server; end Set_Server; -- ------------------------------ -- Set the credential instance that is responsible for populating the HTTP request -- before sending the request. -- ------------------------------ procedure Set_Credentials (Client : in out Client_Type; Credential : access OpenAPI.Credentials.Credential_Type'Class) is begin Client.Credential := Credential; end Set_Credentials; procedure Call (Client : in out Client_Type; Operation : in Operation_Type; URI : in URI_Type'Class; Request : in Request_Type'Class) is No_Reply : Value_Type; begin Client.Call (Operation, URI, Request, No_Reply); end Call; procedure Call (Client : in out Client_Type; Operation : in Operation_Type; URI : in URI_Type'Class) is No_Reply : Value_Type; begin Client.Call (Operation, URI, No_Reply); end Call; procedure Call (Client : in out Client_Type; Operation : in Operation_Type; URI : in URI_Type'Class; Reply : out Value_Type) is Parser : Util.Serialize.IO.JSON.Parser; Mapper : Util.Beans.Objects.Readers.Reader; Path : constant String := To_String (Client.Server) & To_String (URI); begin if Client.Credential /= null then Client.Credential.Set_Credentials (Client); end if; case Operation is when HEAD => Client.Head (Path, Client.Response); when GET => Client.Get (Path, Client.Response); when POST => Client.Post (Path, "", Client.Response); when PUT => Client.Put (Path, "", Client.Response); when PATCH => Client.Patch (Path, "", Client.Response); when OPTIONS => Client.Options (Path, Client.Response); when DELETE => Client.Delete (Path, Client.Response); end case; if Client.Response.Get_Status /= Util.Http.SC_OK then Client_Type'Class (Client).Error (Client.Response.Get_Status, Client.Response); return; end if; -- Todo check Response.Get_Header ("Content-Type") if Log.Get_Level >= Util.Log.DEBUG_LEVEL then Log.Debug ("{0}", Client.Response.Get_Body); end if; Parser.Parse_String (Client.Response.Get_Body, Mapper); Reply := Mapper.Get_Root; end Call; procedure Call (Client : in out Client_Type; Operation : in Operation_Type; URI : in URI_Type'Class; Request : in Request_Type'Class; Reply : out Value_Type) is Parser : Util.Serialize.IO.JSON.Parser; Mapper : Util.Beans.Objects.Readers.Reader; Path : constant String := To_String (Client.Server) & To_String (URI); begin Request.Data.End_Document; if Client.Credential /= null then Client.Credential.Set_Credentials (Client); end if; declare Data : constant String := Util.Streams.Texts.To_String (Request.Buffer); begin case Operation is when HEAD => Log.Debug ("HEAD {0}", Path); Client.Head (Path, Client.Response); when GET => Log.Debug ("GET {0}", Path); Client.Get (Path, Client.Response); when POST => Log.Debug ("POST {0} {1}", Path, Data); Client.Post (Path, Data, Client.Response); when PUT => Log.Debug ("PUT {0} {1}", Path, Data); Client.Put (Path, Data, Client.Response); when PATCH => Log.Debug ("PATCH {0} {1}", Path, Data); Client.Patch (Path, Data, Client.Response); when OPTIONS => Log.Debug ("OPTIONS {0}", Path); Client.Options (Path, Client.Response); when DELETE => Log.Debug ("DELETE {0}", Path); Client.Delete (Path, Client.Response); end case; end; if Client.Response.Get_Status /= Util.Http.SC_OK then Client_Type'Class (Client).Error (Client.Response.Get_Status, Client.Response); return; end if; -- Todo check Response.Get_Header ("Content-Type") Parser.Parse_String (Client.Response.Get_Body, Mapper); if Log.Get_Level >= Util.Log.DEBUG_LEVEL then Log.Debug ("{0}", Client.Response.Get_Body); end if; Reply := Mapper.Get_Root; end Call; -- ------------------------------ -- Set the Accept header according to what the operation supports and what is -- selected by the client. -- ------------------------------ procedure Set_Accept (Client : in out Client_Type; List : in Content_Type_Array) is Header : UString; begin for Content_Type of List loop if Length (Header) > 0 then Append (Header, ", "); end if; case Content_Type is when APPLICATION_XML => null; -- Append (Header, "application/xml"); when APPLICATION_JSON => Append (Header, "application/json"); when APPLICATION_FORM => Append (Header, "application/x-www-form-urlencoded"); when TEXT_PLAIN => Append (Header, "text/plain"); end case; end loop; Client.Set_Header ("Accept", To_String (Header)); end Set_Accept; -- ------------------------------ -- Handle an error after an API call. The default implementation raises an exception -- if the HTTP status code is 400, 401 or 403. -- ------------------------------ procedure Error (Client : in out Client_Type; Status : in Natural; Response : in Util.Http.Clients.Response'Class) is pragma Unreferenced (Client, Response); begin if Status = 404 then raise Not_Found; elsif Status = 401 then raise Authorization_Error; elsif Status = 403 then raise Permission_Error; elsif Status >= 400 then raise Parameter_Error; end if; end Error; -- ------------------------------ -- Get the HTTP response code status. -- ------------------------------ function Get_Status (Client : in Client_Type) return Natural is begin return Client.Response.Get_Status; end Get_Status; -- ------------------------------ -- Initialize the request body to prepare for the serialization of data using -- a supported and configured content type. -- ------------------------------ procedure Initialize (Client : in out Client_Type; Request : in out Request_Type'Class; Types : in Content_Type_Array) is Json : Json_Output_Stream_Access; Forms : Form_Output_Stream_Access; begin case Types (Types'First) is when APPLICATION_FORM => Client.Set_Header ("Content-Type", "application/x-www-form-urlencoded"); Request.Buffer.Initialize (Size => 1000000); Forms := new OpenAPI.Streams.Forms.Output_Stream; Request.Data := Forms; Forms.Initialize (Request.Buffer'Unchecked_Access); Request.Data.Start_Document; when APPLICATION_JSON => Client.Set_Header ("Content-Type", "application/json"); Json := new Util.Serialize.IO.JSON.Output_Stream; Request.Data := Json; Request.Buffer.Initialize (Size => 1000000); Json.Initialize (Request.Buffer'Unchecked_Access); Request.Data.Start_Document; Request.Data.Start_Entity (""); when APPLICATION_XML => Client.Set_Header ("Content-Type", "application/xml"); when TEXT_PLAIN => Client.Set_Header ("Content-Type", "text/plain"); end case; end Initialize; end OpenAPI.Clients;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- I N T E R F A C E S . C . S T R I N G S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1993-2010, 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. -- -- -- ------------------------------------------------------------------------------ package Interfaces.C.Strings is pragma Preelaborate; type char_array_access is access all char_array; for char_array_access'Size use System.Parameters.ptr_bits; pragma No_Strict_Aliasing (char_array_access); -- Since this type is used for external interfacing, with the pointer -- coming from who knows where, it seems a good idea to turn off any -- strict aliasing assumptions for this type. type chars_ptr is private; pragma Preelaborable_Initialization (chars_ptr); type chars_ptr_array is array (size_t range <>) of aliased chars_ptr; Null_Ptr : constant chars_ptr; function To_Chars_Ptr (Item : char_array_access; Nul_Check : Boolean := False) return chars_ptr; function New_Char_Array (Chars : char_array) return chars_ptr; function New_String (Str : String) return chars_ptr; procedure Free (Item : in out chars_ptr); Dereference_Error : exception; function Value (Item : chars_ptr) return char_array; function Value (Item : chars_ptr; Length : size_t) return char_array; function Value (Item : chars_ptr) return String; function Value (Item : chars_ptr; Length : size_t) return String; function Strlen (Item : chars_ptr) return size_t; procedure Update (Item : chars_ptr; Offset : size_t; Chars : char_array; Check : Boolean := True); procedure Update (Item : chars_ptr; Offset : size_t; Str : String; Check : Boolean := True); Update_Error : exception; private type chars_ptr is access all Character; for chars_ptr'Size use System.Parameters.ptr_bits; pragma No_Strict_Aliasing (chars_ptr); -- Since this type is used for external interfacing, with the pointer -- coming from who knows where, it seems a good idea to turn off any -- strict aliasing assumptions for this type. Null_Ptr : constant chars_ptr := null; end Interfaces.C.Strings;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . C A S E _ U T I L -- -- -- -- B o d y -- -- -- -- Copyright (C) 1995-2005 AdaCore -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ package body System.Case_Util is -------------- -- To_Lower -- -------------- function To_Lower (A : Character) return Character is A_Val : constant Natural := Character'Pos (A); begin if A in 'A' .. 'Z' or else A_Val in 16#C0# .. 16#D6# or else A_Val in 16#D8# .. 16#DE# then return Character'Val (A_Val + 16#20#); else return A; end if; end To_Lower; procedure To_Lower (A : in out String) is begin for J in A'Range loop A (J) := To_Lower (A (J)); end loop; end To_Lower; -------------- -- To_Mixed -- -------------- procedure To_Mixed (A : in out String) is Ucase : Boolean := True; begin for J in A'Range loop if Ucase then A (J) := To_Upper (A (J)); else A (J) := To_Lower (A (J)); end if; Ucase := A (J) = '_'; end loop; end To_Mixed; -------------- -- To_Upper -- -------------- function To_Upper (A : Character) return Character is A_Val : constant Natural := Character'Pos (A); begin if A in 'a' .. 'z' or else A_Val in 16#E0# .. 16#F6# or else A_Val in 16#F8# .. 16#FE# then return Character'Val (A_Val - 16#20#); else return A; end if; end To_Upper; procedure To_Upper (A : in out String) is begin for J in A'Range loop A (J) := To_Upper (A (J)); end loop; end To_Upper; end System.Case_Util;
-- WORDS, a Latin dictionary, by Colonel William Whitaker (USAF, Retired) -- -- Copyright William A. Whitaker (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there is no charge. However, just for form, it is Copyrighted -- (c). Permission is hereby freely given for any and all use of program -- and data. You can sell it as your own, but at least tell me. -- -- This version is distributed without obligation, but the developer -- would appreciate comments and suggestions. -- -- All parts of the WORDS system, source code and data files, are made freely -- available to anyone who wishes to use them, for whatever purpose. with Ada.Text_IO; with Words_Engine.English_Support_Package; use Words_Engine.English_Support_Package; with Latin_Utils.Config; procedure Makeefil is use Ada.Text_IO; use Ewds_Direct_Io; Ewds_List : Ada.Text_IO.File_Type; Ewds, New_Ewds : Ewds_Record := Null_Ewds_Record; begin Open (Ewds_List, In_File, Latin_Utils.Config.Path ("EWDSLIST.GEN")); Create (Ewds_File, Out_File, "EWDSFILE.GEN"); while not Ada.Text_IO.End_Of_File (Ewds_List) loop Ewds_Record_Io.Get (Ewds_List, New_Ewds); Ada.Text_IO.Skip_Line (Ewds_List); -- Eliminate doubles -- If sort is OK if Ewds.W = New_Ewds.W and -- AUX ???? Ewds.N = New_Ewds.N then -- PUT_LINE ("DOUBLES "); -- EWDS_RECORD_IO.PUT (EWDS); NEW_LINE; -- EWDS_RECORD_IO.PUT (NEW_EWDS); NEW_LINE; if Ewds.Kind > New_Ewds.Kind then -- Large KIND = high priority null; elsif Ewds.Kind < New_Ewds.Kind then Ewds := New_Ewds; elsif Ewds.Kind = New_Ewds.Kind then if Ewds.Semi > New_Ewds.Semi then Ewds := New_Ewds; end if; end if; else Write (Ewds_File, Ewds); Ewds := New_Ewds; Number_Of_Ewords := Number_Of_Ewords + 1; end if; --PUT ('.'); end loop; Close (Ewds_File); Ada.Text_IO.New_Line; Ada.Text_IO.Put_Line ("NUMBER_OF_EWORDS = " & Integer'Image (Number_Of_Ewords)); exception when others => Close (Ewds_File); Ada.Text_IO.New_Line; Ada.Text_IO.Put_Line ("MAKEEFIL terminated on an exception"); Ada.Text_IO.Put_Line ("NUMBER_OF_EWORDS = " & Integer'Image (Number_Of_Ewords)); end Makeefil;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S E M _ C A S E -- -- -- -- S p e c -- -- -- -- Copyright (C) 1996-2020, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING3. If not, go to -- -- http://www.gnu.org/licenses for a complete copy of the license. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Package containing the routines to process a list of discrete choices. -- Such lists can occur in two different constructs: case statements and -- record variants. We have factorized what used to be two very similar -- sets of routines in one place. These are not currently used for the -- aggregate case, since issues with nested aggregates make that case -- substantially different. -- The following processing is required for such cases: -- 1. Analysis of names of subtypes, constants, expressions appearing within -- the choices. This must be done when the construct is encountered to get -- proper visibility of names. -- 2. Checking for semantic correctness of the choices. A lot of this could -- be done at the time when the construct is encountered, but not all, since -- in the case of variants, statically predicated subtypes won't be frozen -- (and the choice sets known) till the enclosing record type is frozen. So -- at least the check for no overlaps and covering the range must be delayed -- till the freeze point in this case. -- 3. Set the Others_Discrete_Choices list for an others choice. This is -- used in various ways, e.g. to construct the disriminant checking function -- for the case of a variant with an others choice. -- 4. In the case of static predicates, we need to expand out choices that -- correspond to the predicate for the back end. This expansion destroys -- the list of choices, so it should be delayed to expansion time. -- Step 1 is performed by the generic procedure Analyze_Choices, which is -- called when the variant record or case statement/expression is first -- encountered. -- Step 2 is performed by the generic procedure Check_Choices. We decide to -- do all semantic checking in that step, since as noted above some of this -- has to be deferred to the freeze point in any case for variants. For case -- statements and expressions, this procedure can be called at the time the -- case construct is encountered (after calling Analyze_Choices). -- Step 3 is also performed by Check_Choices, since we need the static ranges -- for predicated subtypes to accurately construct this. -- Step 4 is performed by the procedure Expand_Static_Predicates_In_Choices. -- For case statements, this call only happens during expansion. The reason -- we do the expansion unconditionally for variants is that other processing, -- for example for aggregates, relies on having a complete list of choices. -- Historical note: We used to perform all four of these functions at once in -- a single procedure called Analyze_Choices. This routine was called at the -- time the construct was first encountered. That seemed to work OK up to Ada -- 2005, but the introduction of statically predicated subtypes with delayed -- evaluation of the static ranges made this completely wrong, both because -- the ASIS tree got destroyed by step 4, and steps 2 and 3 were too early -- in the variant record case. with Types; use Types; package Sem_Case is procedure No_OP (C : Node_Id); -- The no-operation routine. Does mostly nothing. Can be used -- in the following generics for the parameters Process_Empty_Choice, -- or Process_Associated_Node. In the case of an empty range choice, -- routine emits a warning when Warn_On_Redundant_Constructs is enabled. generic with procedure Process_Associated_Node (A : Node_Id); -- Associated with each case alternative or record variant A there is -- a node or list of nodes that need additional processing. This routine -- implements that processing. package Generic_Analyze_Choices is procedure Analyze_Choices (Alternatives : List_Id; Subtyp : Entity_Id); -- From a case expression, case statement, or record variant, this -- routine analyzes the corresponding list of discrete choices which -- appear in each element of the list Alternatives (for the variant -- part case, this is the variants, for a case expression or statement, -- this is the Alternatives). -- -- Subtyp is the subtype of the discrete choices. The type against which -- the discrete choices must be resolved is its base type. end Generic_Analyze_Choices; generic with procedure Process_Empty_Choice (Choice : Node_Id); -- Processing to carry out for an empty Choice. Set to No_Op (declared -- above) if no such processing is required. with procedure Process_Non_Static_Choice (Choice : Node_Id); -- Processing to carry out for a non static Choice (gives an error msg) with procedure Process_Associated_Node (A : Node_Id); -- Associated with each case alternative or record variant A there is -- a node or list of nodes that need semantic processing. This routine -- implements that processing. package Generic_Check_Choices is procedure Check_Choices (N : Node_Id; Alternatives : List_Id; Subtyp : Entity_Id; Others_Present : out Boolean); -- From a case expression, case statement, or record variant N, this -- routine analyzes the corresponding list of discrete choices which -- appear in each element of the list Alternatives (for the variant -- part case, this is the variants, for a case expression or statement, -- this is the Alternatives). -- -- Subtyp is the subtype of the discrete choices. The type against which -- the discrete choices must be resolved is its base type. -- -- Others_Present is set to True if an Others choice is present in the -- list of choices, and in this case Others_Discrete_Choices is set in -- the N_Others_Choice node. -- -- If a Discrete_Choice list contains at least one instance of a subtype -- with a static predicate, then the Has_SP_Choice flag is set true in -- the parent node (N_Variant, N_Case_Expression/Statement_Alternative). end Generic_Check_Choices; end Sem_Case;
-- Copyright 2012-2021 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. procedure Foo is type Discriminants_Record (A : Integer; B : Boolean) is record C : Float; end record; -- The following variable is unused on purpose, and might be -- optimized out by the compiler. Z : Discriminants_Record := (A => 1, B => False, C => 2.0); begin null; end Foo;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 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: 3824 $ $Date: 2013-03-28 20:15:46 +0200 (Чт., 28 марта 2013) $ ------------------------------------------------------------------------------ with League.Strings; with League.JSON.Documents; package Matreshka.JSON_Parser is pragma Preelaborate; procedure Parse (Text : League.Strings.Universal_String; Value : out League.JSON.Documents.JSON_Document; Success : out Boolean); end Matreshka.JSON_Parser;
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces.C; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_list_hosts_cookie_t is -- Item -- type Item is record sequence : aliased Interfaces.C.unsigned; end record; -- Item_Array -- type Item_Array is array (Interfaces.C.size_t range <>) of aliased xcb.xcb_list_hosts_cookie_t .Item; -- Pointer -- package C_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_list_hosts_cookie_t.Item, Element_Array => xcb.xcb_list_hosts_cookie_t.Item_Array, Default_Terminator => (others => <>)); subtype Pointer is C_Pointers.Pointer; -- Pointer_Array -- type Pointer_Array is array (Interfaces.C.size_t range <>) of aliased xcb.xcb_list_hosts_cookie_t .Pointer; -- Pointer_Pointer -- package C_Pointer_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_list_hosts_cookie_t.Pointer, Element_Array => xcb.xcb_list_hosts_cookie_t.Pointer_Array, Default_Terminator => null); subtype Pointer_Pointer is C_Pointer_Pointers.Pointer; end xcb.xcb_list_hosts_cookie_t;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . S T R I N G S . W I D E _ U N B O U N D E D . A U X -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2020, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ package body Ada.Strings.Wide_Unbounded.Aux is --------------------- -- Get_Wide_String -- --------------------- procedure Get_Wide_String (U : Unbounded_Wide_String; S : out Big_Wide_String_Access; L : out Natural) is X : aliased Big_Wide_String; for X'Address use U.Reference.Data'Address; begin S := X'Unchecked_Access; L := U.Reference.Last; end Get_Wide_String; --------------------- -- Set_Wide_String -- --------------------- procedure Set_Wide_String (UP : in out Unbounded_Wide_String; S : Wide_String_Access) is X : Wide_String_Access := S; begin Set_Unbounded_Wide_String (UP, S.all); Free (X); end Set_Wide_String; end Ada.Strings.Wide_Unbounded.Aux;
----------------------------------------------------------------------- -- el-methods-func_string -- Pre-defined binding -- Copyright (C) 2010, 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with EL.Methods.Func_1; -- This package provides the method bindings to invoke -- methods with the following signature: -- -- function F (Object : <Bean>; -- Param : String) -- return String; -- -- Example of call: -- -- Ctx : ELContext := ...; -- M : Method_Expression := ...; -- A : String := ...; -- -- R : String := Func_Unbounded.Execute (M, A, Ctx); -- package EL.Methods.Func_String is new EL.Methods.Func_1 (Param1_Type => String, Return_Type => String);
with Ada.Characters.Wide_Wide_Latin_1; with Ada.Integer_Wide_Wide_Text_IO; with Ada.Strings.Wide_Wide_Unbounded; with Ada.Wide_Wide_Text_IO; with misc_defs, misc, sym; use misc_defs; with Matreshka.Internals.Unicode.Ucd; with Unicode; with scanner.DFA; use scanner.DFA; with scanner.IO; use scanner.IO; package body scanner is use Ada.Integer_Wide_Wide_Text_IO; use Ada.Strings.Wide_Wide_Unbounded; use Ada.Wide_Wide_Text_IO; use Parser_Tokens; use Unicode; function "+" (Item : Wide_Wide_String) return Unbounded_Wide_Wide_String renames To_Unbounded_Wide_Wide_String; beglin : boolean := false; i, bracelevel: integer; function YYLex return Token is toktype : Token; didadef, indented_code : boolean; cclval : Integer; nmdefptr : Unbounded_Wide_Wide_String; nmdef : Unbounded_Wide_Wide_String; tmpbuf : Unbounded_Wide_Wide_String; procedure ACTION_ECHO is begin Put (temp_action_file, YYText (1 .. YYLength)); end ACTION_ECHO; procedure MARK_END_OF_PROLOG is begin Put (temp_action_file, "%%%% end of prolog"); New_Line (temp_action_file); end MARK_END_OF_PROLOG; --------------------- -- Put_Back_String -- --------------------- procedure Put_Back_String (Str : Unbounded_Wide_Wide_String; Start : Integer) is begin for J in reverse Start + 1 .. Length (Str) loop unput (Element (Str, J)); end loop; end Put_Back_String; function check_yylex_here return boolean is begin return yytext'length >= 2 and then ((yytext(1) = '#') and (yytext(2) = '#')); end check_yylex_here; function YYLex return Token is subtype short is Integer range -32768..32767; yy_act : Integer; yy_c : short; -- returned upon end-of-file YY_END_TOK : constant Integer := 0; YY_END_OF_BUFFER : constant := 84; YY_JAMSTATE : constant := 331; YY_FIRST_TEMPLATE : constant := 332; YY_Current_State : YY_State_Type; INITIAL : constant YY_State_Type := 0; SECT2 : constant YY_State_Type := 1; SECT2PROLOG : constant YY_State_Type := 2; SECT3 : constant YY_State_Type := 3; PICKUPDEF : constant YY_State_Type := 4; SC : constant YY_State_Type := 5; CARETISBOL : constant YY_State_Type := 6; NUM : constant YY_State_Type := 7; QUOTE : constant YY_State_Type := 8; FIRSTCCL : constant YY_State_Type := 9; CCL : constant YY_State_Type := 10; ACTION : constant YY_State_Type := 11; RECOVER : constant YY_State_Type := 12; BRACEERROR : constant YY_State_Type := 13; ACTION_STRING : constant YY_State_Type := 14; yy_accept : constant array(0..331) of short := ( 0, 0, 0, 0, 0, 0, 0, 82, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 84, 13, 6, 12, 10, 1, 11, 13, 13, 13, 9, 40, 31, 32, 25, 40, 39, 23, 40, 40, 40, 31, 21, 40, 40, 24, 83, 19, 82, 82, 15, 14, 16, 46, 83, 42, 43, 45, 47, 61, 62, 59, 58, 60, 48, 50, 49, 48, 54, 53, 54, 54, 56, 56, 56, 57, 67, 72, 71, 73, 67, 73, 68, 65, 66, 83, 17, 64, 63, 74, 76, 77, 78, 6, 12, 10, 1, 11, 0, 0, 2, 0, 7, 4, 5, 0, 9, 31, 32, 0, 28, 0, 0, 0, 79, 79, 79, 79, 27, 26, 27, 0, 31, 21, 0, 0, 35, 0, 0, 19, 18, 82, 82, 15, 14, 44, 45, 58, 80, 80, 80, 80, 51, 52, 55, 67, 0, 70, 0, 67, 68, 0, 17, 74, 75, 0, 7, 0, 0, 3, 0, 29, 0, 36, 0, 0, 0, 79, 0, 0, 27, 27, 38, 0, 0, 0, 35, 0, 30, 80, 0, 0, 67, 69, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 0, 22, 0, 22, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 79, 0, 0, 80, 34, 0, 0, 0, 0, 0, 79, 0, 0, 80, 0, 0, 0, 0, 0, 79, 0, 0, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 37, 0, 0, 81, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ); type Secondary_Stage_Index is range 0 .. 16#FF#; type Primary_Stage_Index is range 0 .. 16#10FF#; type Secondary_Stage_Array is array (Secondary_Stage_Index) of Short; type Secondary_Stage_Array_Access is access constant Secondary_Stage_Array; yy_ec_0 : aliased constant Secondary_Stage_Array := ( 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 6, 7, 8, 9, 1, 10, 11, 11, 11, 11, 12, 13, 11, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 1, 16, 1, 17, 11, 1, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 32, 32, 32, 33, 34, 35, 32, 36, 37, 38, 39, 32, 40, 41, 42, 32, 18, 19, 20, 21, 22, 1, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 32, 32, 32, 33, 34, 35, 32, 36, 37, 38, 39, 32, 40, 41, 42, 32, 43, 44, 45, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ); yy_ec_1 : aliased constant Secondary_Stage_Array := ( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ); yy_ec_base : constant array (Primary_Stage_Index) of Secondary_Stage_Array_Access := ( 0 => yy_ec_0'Access, others => yy_ec_1'Access); function yy_ec (Item : Wide_Wide_Character) return short is Code : constant Integer := Wide_Wide_Character'Pos (Item); Group : constant Primary_Stage_Index := Primary_Stage_Index (Code / 256); Offset : constant Secondary_Stage_Index := Secondary_Stage_Index (Code mod 256); begin return yy_ec_base (Group) (Offset); end yy_ec; yy_meta : constant array(0..45) of short := ( 0, 1, 2, 3, 2, 2, 4, 1, 1, 1, 5, 1, 1, 6, 5, 7, 1, 1, 1, 8, 9, 1, 10, 11, 11, 11, 11, 11, 11, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 5, 1, 12 ); yy_base : constant array(0..385) of short := ( 0, 0, 45, 89, 132, 1244, 1243, 1242, 1241, 107, 111, 176, 0, 1222, 1221, 114, 115, 125, 136, 144, 149, 153, 219, 239, 0, 1237, 1236, 116, 119, 282, 283, 1238, 1248, 221, 1248, 0, 290, 1248, 1232, 278, 1221, 0, 1248, 294, 1248, 1248, 96, 1248, 1217, 1211, 275, 338, 382, 1248, 1220, 1215, 1248, 1222, 0, 1221, 1248, 0, 119, 1248, 1248, 1248, 1248, 1202, 0, 1248, 1248, 1248, 1248, 1205, 1248, 1248, 1248, 1248, 81, 1248, 1248, 285, 1206, 1248, 0, 290, 1248, 0, 1248, 1248, 139, 1205, 1248, 0, 1248, 1248, 1212, 1248, 1248, 1248, 0, 1248, 1248, 0, 225, 1248, 0, 304, 1248, 1201, 1210, 1248, 1205, 0, 1171, 1248, 1205, 0, 386, 1248, 1166, 1248, 1141, 214, 296, 1248, 1152, 1121, 0, 0, 1248, 430, 1150, 474, 1248, 1149, 309, 0, 1156, 1155, 0, 1248, 1154, 1248, 0, 328, 1248, 0, 1127, 1248, 1126, 1097, 0, 1248, 1248, 1248, 0, 294, 1248, 0, 518, 0, 1114, 1248, 0, 1248, 1103, 0, 1079, 1098, 1248, 1097, 1248, 1031, 1248, 216, 373, 549, 1038, 139, 0, 0, 0, 1248, 1033, 315, 323, 0, 1039, 1248, 1026, 364, 0, 0, 1248, 577, 1021, 1248, 987, 983, 381, 378, 607, 977, 980, 0, 999, 993, 987, 951, 943, 0, 923, 943, 383, 385, 387, 621, 907, 886, 0, 920, 1248, 885, 1248, 879, 1248, 835, 833, 0, 1248, 853, 461, 395, 635, 819, 802, 0, 682, 665, 0, 1248, 398, 463, 649, 676, 672, 0, 659, 657, 0, 402, 465, 663, 652, 646, 1248, 638, 632, 1248, 469, 471, 404, 638, 624, 626, 610, 474, 476, 610, 607, 597, 604, 479, 486, 581, 297, 577, 474, 580, 583, 567, 559, 557, 538, 538, 541, 546, 585, 587, 1248, 537, 536, 1248, 484, 484, 591, 594, 466, 459, 448, 391, 618, 632, 404, 398, 396, 384, 493, 589, 368, 319, 286, 301, 660, 620, 284, 254, 634, 202, 136, 646, 144, 131, 673, 100, 81, 675, 77, 75, 678, 1248, 705, 717, 729, 741, 753, 765, 777, 789, 801, 813, 825, 832, 843, 855, 862, 873, 885, 897, 909, 921, 933, 945, 952, 963, 975, 987, 999, 1008, 1015, 1026, 1038, 1050, 1062, 1074, 1086, 1092, 1103, 1114, 1126, 1132, 1143, 1149, 1154, 1159, 1170, 1182, 1194, 1200, 1205, 1210, 1215, 1220, 1225, 1230 ); yy_def : constant array(0..385) of short := ( 0, 331, 331, 332, 332, 333, 333, 334, 334, 335, 335, 331, 11, 336, 336, 337, 337, 338, 338, 339, 339, 340, 340, 331, 23, 341, 341, 336, 336, 342, 342, 331, 331, 331, 331, 343, 331, 331, 344, 345, 331, 346, 331, 331, 331, 331, 331, 331, 331, 347, 348, 331, 349, 331, 331, 331, 331, 350, 351, 352, 331, 353, 331, 331, 331, 331, 331, 331, 354, 331, 331, 331, 331, 331, 331, 331, 331, 331, 348, 331, 331, 355, 356, 331, 357, 348, 331, 358, 331, 331, 359, 358, 331, 360, 331, 331, 361, 331, 331, 331, 362, 331, 331, 363, 331, 331, 343, 331, 331, 331, 344, 331, 331, 364, 331, 331, 365, 346, 331, 331, 366, 331, 331, 347, 347, 331, 331, 331, 367, 368, 331, 331, 331, 349, 331, 331, 366, 369, 370, 350, 351, 331, 352, 331, 353, 331, 331, 354, 331, 331, 331, 331, 371, 331, 331, 331, 358, 359, 331, 359, 331, 360, 361, 331, 362, 331, 372, 364, 331, 365, 331, 366, 331, 331, 331, 347, 347, 347, 331, 331, 373, 368, 131, 331, 331, 370, 366, 369, 370, 331, 331, 331, 374, 160, 331, 160, 372, 331, 331, 331, 347, 347, 177, 331, 331, 375, 376, 377, 378, 331, 331, 379, 331, 331, 347, 347, 347, 177, 331, 331, 380, 376, 331, 377, 331, 378, 331, 331, 331, 381, 331, 331, 347, 347, 177, 331, 331, 382, 331, 331, 383, 331, 347, 347, 177, 331, 331, 384, 331, 331, 385, 347, 347, 177, 331, 331, 331, 331, 331, 331, 347, 347, 347, 331, 331, 331, 331, 347, 347, 331, 331, 331, 331, 347, 347, 331, 331, 331, 331, 347, 347, 331, 331, 331, 331, 331, 331, 347, 347, 347, 331, 331, 331, 331, 331, 331, 347, 347, 331, 331, 331, 331, 347, 347, 331, 331, 331, 331, 347, 347, 331, 331, 331, 331, 347, 347, 331, 331, 347, 331, 331, 347, 331, 331, 347, 331, 331, 347, 331, 331, 347, 0, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331 ); yy_nxt : constant array(0..1293) of short := ( 0, 32, 33, 34, 33, 33, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 32, 32, 32, 32, 36, 37, 36, 36, 32, 38, 32, 39, 32, 32, 32, 40, 32, 32, 32, 32, 32, 32, 32, 32, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 32, 32, 32, 43, 44, 43, 43, 45, 126, 46, 121, 121, 47, 121, 284, 47, 281, 48, 329, 49, 50, 62, 63, 62, 62, 62, 63, 62, 62, 71, 71, 98, 128, 145, 98, 145, 145, 328, 72, 72, 76, 73, 73, 77, 51, 47, 52, 53, 52, 52, 45, 76, 46, 54, 77, 47, 78, 55, 47, 65, 48, 158, 49, 50, 65, 56, 326, 78, 65, 80, 159, 74, 74, 99, 80, 81, 99, 82, 84, 325, 81, 203, 82, 323, 85, 86, 204, 51, 47, 64, 64, 65, 64, 64, 64, 64, 64, 64, 64, 64, 66, 64, 64, 64, 64, 67, 64, 64, 64, 64, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 64, 64, 64, 65, 104, 105, 104, 104, 104, 105, 104, 104, 200, 84, 124, 174, 124, 174, 322, 85, 86, 87, 87, 88, 87, 87, 89, 87, 87, 87, 90, 87, 87, 91, 92, 87, 87, 87, 87, 87, 87, 87, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 94, 87, 95, 101, 101, 113, 102, 102, 126, 320, 107, 108, 107, 107, 118, 119, 118, 118, 150, 103, 103, 109, 158, 126, 107, 108, 107, 107, 127, 175, 172, 159, 128, 114, 123, 109, 189, 115, 151, 319, 186, 317, 152, 127, 172, 284, 207, 128, 145, 176, 145, 145, 282, 177, 208, 283, 120, 129, 129, 316, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 130, 129, 129, 129, 129, 129, 129, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 129, 129, 129, 133, 134, 133, 133, 118, 119, 118, 118, 124, 174, 209, 135, 214, 124, 174, 210, 124, 174, 124, 174, 124, 174, 124, 174, 215, 281, 233, 313, 232, 216, 124, 174, 201, 124, 174, 312, 251, 124, 174, 124, 174, 311, 136, 310, 260, 307, 120, 181, 181, 243, 181, 181, 181, 181, 181, 181, 181, 181, 181, 182, 181, 182, 181, 181, 181, 181, 181, 181, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 181, 181, 183, 133, 134, 133, 133, 124, 174, 124, 174, 124, 174, 306, 135, 124, 174, 124, 174, 261, 124, 174, 124, 174, 305, 124, 174, 267, 252, 242, 273, 304, 124, 174, 268, 280, 274, 279, 285, 124, 174, 286, 301, 314, 300, 136, 193, 193, 194, 193, 193, 195, 193, 193, 193, 195, 193, 193, 193, 195, 193, 193, 193, 193, 193, 193, 193, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 193, 195, 202, 124, 174, 299, 124, 174, 298, 295, 202, 202, 202, 202, 202, 202, 195, 195, 294, 195, 195, 293, 195, 195, 195, 292, 195, 195, 195, 214, 195, 195, 195, 195, 195, 195, 195, 124, 174, 291, 124, 174, 124, 174, 124, 174, 124, 174, 124, 174, 290, 124, 174, 284, 315, 297, 287, 281, 288, 195, 217, 289, 302, 303, 278, 296, 277, 276, 217, 217, 217, 217, 217, 217, 234, 124, 174, 124, 174, 275, 318, 272, 234, 234, 234, 234, 234, 234, 244, 124, 174, 124, 174, 271, 308, 270, 244, 244, 244, 244, 244, 244, 253, 124, 174, 269, 266, 265, 309, 321, 253, 253, 253, 253, 253, 253, 262, 124, 174, 324, 264, 263, 258, 257, 262, 262, 262, 262, 262, 262, 124, 174, 124, 174, 327, 124, 174, 255, 330, 287, 254, 249, 248, 287, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 106, 106, 246, 245, 106, 106, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 117, 117, 241, 239, 117, 117, 123, 123, 238, 123, 123, 123, 123, 123, 226, 123, 123, 123, 125, 125, 224, 125, 125, 125, 125, 125, 125, 125, 125, 125, 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 141, 222, 236, 141, 141, 141, 141, 141, 141, 141, 141, 141, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 144, 144, 235, 144, 144, 144, 144, 144, 144, 144, 144, 144, 147, 147, 231, 230, 147, 147, 149, 149, 228, 149, 149, 149, 149, 149, 149, 149, 149, 149, 153, 153, 227, 153, 153, 153, 153, 153, 153, 153, 153, 153, 155, 155, 226, 155, 155, 155, 155, 155, 224, 155, 155, 155, 156, 156, 222, 219, 218, 156, 156, 156, 156, 157, 157, 213, 157, 157, 157, 157, 157, 157, 157, 157, 157, 161, 161, 212, 197, 161, 161, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 164, 164, 149, 189, 164, 164, 164, 206, 164, 164, 164, 164, 165, 165, 125, 165, 165, 165, 165, 165, 165, 165, 165, 165, 167, 167, 199, 167, 167, 167, 167, 167, 167, 167, 167, 167, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 180, 172, 170, 198, 180, 181, 181, 197, 181, 181, 181, 181, 181, 181, 181, 181, 187, 187, 163, 187, 187, 187, 187, 187, 187, 187, 187, 187, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 192, 191, 190, 148, 192, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 205, 143, 140, 189, 205, 211, 185, 184, 179, 211, 220, 178, 173, 172, 220, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 229, 170, 168, 166, 229, 237, 111, 116, 163, 237, 240, 160, 154, 148, 240, 247, 146, 143, 140, 247, 250, 138, 137, 124, 250, 256, 122, 116, 111, 256, 259, 331, 97, 97, 259, 69, 69, 60, 60, 58, 58, 31, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331 ); yy_chk : constant array(0..1293) of short := ( 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 78, 3, 46, 46, 3, 46, 329, 3, 328, 3, 326, 3, 3, 9, 9, 9, 9, 10, 10, 10, 10, 15, 16, 27, 78, 62, 28, 62, 62, 325, 15, 16, 17, 15, 16, 17, 3, 3, 4, 4, 4, 4, 4, 18, 4, 4, 18, 4, 17, 4, 4, 19, 4, 90, 4, 4, 20, 4, 323, 18, 21, 19, 90, 15, 16, 27, 20, 19, 28, 19, 21, 322, 20, 179, 20, 320, 21, 21, 179, 4, 4, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 22, 33, 33, 33, 33, 104, 104, 104, 104, 175, 22, 123, 123, 175, 175, 319, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 29, 30, 39, 29, 30, 50, 317, 36, 36, 36, 36, 43, 43, 43, 43, 81, 29, 30, 36, 157, 85, 107, 107, 107, 107, 50, 124, 136, 157, 50, 39, 124, 107, 185, 39, 81, 316, 136, 313, 81, 85, 186, 312, 185, 85, 145, 124, 145, 145, 276, 124, 186, 276, 43, 51, 51, 311, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 52, 52, 52, 52, 118, 118, 118, 118, 176, 176, 191, 52, 200, 201, 201, 191, 200, 200, 214, 214, 215, 215, 216, 216, 201, 310, 216, 307, 215, 201, 233, 233, 176, 242, 242, 306, 242, 251, 251, 262, 262, 305, 52, 304, 251, 301, 118, 131, 131, 233, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 133, 133, 133, 133, 232, 232, 243, 243, 252, 252, 300, 133, 260, 260, 261, 261, 252, 267, 267, 268, 268, 299, 273, 273, 260, 243, 232, 267, 298, 274, 274, 261, 274, 268, 273, 278, 308, 308, 278, 295, 308, 294, 133, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 177, 287, 287, 292, 177, 177, 291, 286, 177, 177, 177, 177, 177, 177, 195, 195, 285, 195, 195, 284, 195, 195, 195, 283, 195, 195, 195, 287, 195, 195, 195, 195, 195, 195, 195, 279, 279, 282, 280, 280, 288, 288, 289, 289, 309, 309, 296, 296, 281, 297, 297, 277, 309, 289, 279, 275, 280, 195, 202, 280, 296, 297, 272, 288, 271, 270, 202, 202, 202, 202, 202, 202, 217, 302, 302, 315, 315, 269, 315, 266, 217, 217, 217, 217, 217, 217, 234, 303, 303, 318, 318, 265, 302, 264, 234, 234, 234, 234, 234, 234, 244, 321, 321, 263, 258, 257, 303, 318, 244, 244, 244, 244, 244, 244, 253, 314, 314, 321, 255, 254, 249, 248, 253, 253, 253, 253, 253, 253, 324, 324, 327, 327, 324, 330, 330, 246, 327, 314, 245, 239, 238, 330, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 343, 343, 236, 235, 343, 343, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 346, 346, 231, 228, 346, 346, 347, 347, 227, 347, 347, 347, 347, 347, 225, 347, 347, 347, 348, 348, 223, 348, 348, 348, 348, 348, 348, 348, 348, 348, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 351, 221, 219, 351, 351, 351, 351, 351, 351, 351, 351, 351, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 353, 353, 218, 353, 353, 353, 353, 353, 353, 353, 353, 353, 354, 354, 213, 212, 354, 354, 355, 355, 210, 355, 355, 355, 355, 355, 355, 355, 355, 355, 356, 356, 209, 356, 356, 356, 356, 356, 356, 356, 356, 356, 357, 357, 208, 357, 357, 357, 357, 357, 207, 357, 357, 357, 358, 358, 206, 204, 203, 358, 358, 358, 358, 359, 359, 199, 359, 359, 359, 359, 359, 359, 359, 359, 359, 360, 360, 198, 196, 360, 360, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 362, 362, 190, 188, 362, 362, 362, 184, 362, 362, 362, 362, 363, 363, 178, 363, 363, 363, 363, 363, 363, 363, 363, 363, 364, 364, 173, 364, 364, 364, 364, 364, 364, 364, 364, 364, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 367, 171, 169, 168, 367, 368, 368, 166, 368, 368, 368, 368, 368, 368, 368, 368, 369, 369, 162, 369, 369, 369, 369, 369, 369, 369, 369, 369, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 371, 151, 150, 148, 371, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 373, 142, 139, 138, 373, 374, 135, 132, 127, 374, 375, 126, 122, 120, 375, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 379, 116, 114, 112, 379, 380, 110, 109, 96, 380, 381, 91, 82, 73, 381, 382, 67, 59, 57, 382, 383, 55, 54, 49, 383, 384, 48, 40, 38, 384, 385, 31, 26, 25, 385, 14, 13, 8, 7, 6, 5, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331 ); -- copy whatever the last rule matched to the standard output procedure ECHO is begin if Ada.Wide_Wide_Text_IO.Is_Open (User_Output_File) then Ada.Wide_Wide_Text_IO.Put (User_Output_File, YYText); else Ada.Wide_Wide_Text_IO.Put (YYText); end if; end ECHO; -- enter a start condition. -- Using procedure requires a () after the ENTER, but makes -- everything much neater. procedure ENTER (State : Integer) is begin YY_Start := 1 + 2 * State; end ENTER; pragma Inline (ENTER); -- action number for EOF rule of a given start state function YY_STATE_EOF(state : Integer) return Integer is begin return YY_END_OF_BUFFER + state + 1; end YY_STATE_EOF; pragma Inline (YY_STATE_EOF); -- return all but the first 'n' matched characters back to the input stream procedure yyless(n : Integer) is begin yy_cp := yy_bp + n; yy_c_buf_p := yy_cp; YY_DO_BEFORE_ACTION; -- set up yytext again end yyless; pragma Inline (yyless); -- redefine this if you have something you want each time. procedure YY_USER_ACTION is begin null; end; pragma Inline (YY_USER_ACTION); -- yy_get_previous_state - get the state just before the EOB char -- was reached function YY_Get_Previous_State return YY_State_Type is YY_Current_State : YY_State_Type; YY_C : Short; Index : Integer; Code : Wide_Wide_Character; yy_bp : integer := yytext_ptr; begin yy_current_state := yy_start; if Previous (yy_ch_buf, yy_bp) = Ada.Characters.Wide_Wide_Latin_1.LF then yy_current_state := yy_current_state + 1; end if; declare yy_cp : integer := yytext_ptr; begin while yy_cp < yy_c_buf_p loop Index := yy_cp; Index := yy_cp; Next (yy_ch_buf, Index, Code); yy_c := yy_ec(Code); if (yy_accept(yy_current_state) /= 0 ) then yy_last_accepting_state := yy_current_state; yy_last_accepting_cpos := yy_cp; end if; while ( yy_chk(yy_base(yy_current_state) + yy_c) /= yy_current_state ) loop yy_current_state := yy_def(yy_current_state); if yy_current_state >= YY_FIRST_TEMPLATE then yy_c := yy_meta(yy_c); end if; end loop; yy_current_state := yy_nxt(yy_base(yy_current_state) + yy_c); yy_cp := Index; end loop; end; return yy_current_state; end yy_get_previous_state; procedure YYRestart (Input_File : Ada.Wide_Wide_Text_IO.File_Type) is begin Open_Input (Ada.Wide_Wide_Text_IO.Name (Input_File)); end YYRestart; Index : Integer; Code : Wide_Wide_Character; begin -- of YYLex <<new_file>> -- This is where we enter upon encountering an end-of-file and -- yywrap() indicating that we should continue processing if ( yy_init ) then if ( yy_start = 0 ) then yy_start := 1; -- first start state end if; -- we put in the '\n' and start reading from [1] so that an -- initial match-at-newline will be true. yy_ch_buf.data (0) := Ada.Characters.Wide_Wide_Latin_1.LF; yy_n_chars := 1; -- we always need two end-of-buffer characters. The first causes -- a transition to the end-of-buffer state. The second causes -- a jam in that state. yy_ch_buf.data (yy_n_chars) := YY_END_OF_BUFFER_CHAR; yy_ch_buf.data (yy_n_chars + 1) := YY_END_OF_BUFFER_CHAR; yy_eof_has_been_seen := false; yytext_ptr := 1; yy_c_buf_p := yytext_ptr; yy_init := false; end if; -- yy_init loop -- loops until end-of-file is reached yy_cp := yy_c_buf_p; -- yy_bp points to the position in yy_ch_buf of the start of the -- current run. yy_bp := yy_cp; yy_current_state := yy_start; if Previous (yy_ch_buf, yy_bp) = Ada.Characters.Wide_Wide_Latin_1.LF then yy_current_state := yy_current_state + 1; end if; loop Index := yy_cp; Next (yy_ch_buf, Index, Code); yy_c := yy_ec(Code); if (yy_accept(yy_current_state) /= 0 ) then yy_last_accepting_state := yy_current_state; yy_last_accepting_cpos := yy_cp; end if; while ( yy_chk(yy_base(yy_current_state) + yy_c) /= yy_current_state ) loop yy_current_state := yy_def(yy_current_state); if yy_current_state >= YY_FIRST_TEMPLATE then yy_c := yy_meta(yy_c); end if; end loop; yy_current_state := yy_nxt(yy_base(yy_current_state) + yy_c); yy_cp := Index; exit when yy_current_state = YY_JAMSTATE; end loop; yy_cp := yy_last_accepting_cpos; yy_current_state := yy_last_accepting_state; <<next_action>> yy_act := yy_accept(yy_current_state); YY_DO_BEFORE_ACTION; YY_USER_ACTION; if Aflex_Debug then -- output acceptance info. for (-d) debug mode Ada.Wide_Wide_Text_IO.Put (Ada.Wide_Wide_Text_IO.Standard_Error, "--accepting rule #" ); Ada.Wide_Wide_Text_IO.Put (Ada.Wide_Wide_Text_IO.Standard_Error, Integer'Wide_Wide_Image (YY_Act)); Ada.Wide_Wide_Text_IO.Put_Line (Ada.Wide_Wide_Text_IO.Standard_Error, "(""" & yytext & """)"); end if; <<do_action>> -- this label is used only to access EOF actions case yy_act is when 0 => -- must backtrack yy_cp := yy_last_accepting_cpos; yy_current_state := yy_last_accepting_state; goto next_action; when 1 => --# line 47 "scanner.l" indented_code := true; when 2 => --# line 48 "scanner.l" linenum := linenum + 1; ECHO; -- treat as a comment; when 3 => --# line 51 "scanner.l" linenum := linenum + 1; ECHO; when 4 => --# line 52 "scanner.l" return ( SCDECL ); when 5 => --# line 53 "scanner.l" return ( XSCDECL ); when 6 => --# line 55 "scanner.l" return ( WHITESPACE ); when 7 => --# line 57 "scanner.l" sectnum := 2; misc.line_directive_out; ENTER(SECT2PROLOG); return ( SECTEND ); when 8 => --# line 64 "scanner.l" Put (Standard_Error, "old-style lex command at line "); Put (Standard_Error, Linenum); Put (Standard_Error, "ignored:"); New_Line (Standard_Error ); Put (Standard_Error, Unicode.HT ); Put (Standard_Error, YYText (1 .. YYLength)); Linenum := Linenum + 1; when 9 => --# line 74 "scanner.l" nmstr := +YYText (1 .. YYLength); didadef := false; ENTER(PICKUPDEF); when 10 => --# line 80 "scanner.l" nmstr := +YYText (1 .. YYLength); return NAME; when 11 => --# line 83 "scanner.l" linenum := linenum + 1; -- allows blank lines in section 1; when 12 => --# line 86 "scanner.l" linenum := linenum + 1; return Newline; when 13 => --# line 87 "scanner.l" misc.synerr( "illegal character" );ENTER(RECOVER); when 14 => --# line 89 "scanner.l" null; -- separates name and definition; when 15 => --# line 93 "scanner.l" nmdef := +YYText (1 .. YYLength); i := length (nmdef); while i >= 1 loop if Element (nmdef, i) /= ' ' and Element (nmdef, i) /= Unicode.HT then exit; end if; i := i - 1; end loop; sym.ndinstal (nmstr, Unbounded_Slice (nmdef, 1, i)); didadef := true; when 16 => --# line 110 "scanner.l" if ( not didadef ) then misc.synerr( "incomplete name definition" ); end if; ENTER(0); linenum := linenum + 1; when 17 => --# line 118 "scanner.l" linenum := linenum + 1; ENTER(0); nmstr := +YYText (1 .. YYLength); return NAME; when 18 => yy_cp := yy_cp - 1; yy_c_buf_p := yy_cp; YY_DO_BEFORE_ACTION; -- set up yytext again --# line 124 "scanner.l" linenum := linenum + 1; ACTION_ECHO; MARK_END_OF_PROLOG; ENTER(SECT2); when 19 => --# line 131 "scanner.l" linenum := linenum + 1; ACTION_ECHO; when YY_END_OF_BUFFER +SECT2PROLOG + 1 => --# line 133 "scanner.l" MARK_END_OF_PROLOG; return End_Of_Input; when 21 => --# line 137 "scanner.l" linenum := linenum + 1; -- allow blank lines in sect2; -- this rule matches indented lines which -- are not comments. when 22 => --# line 142 "scanner.l" misc.synerr("indented code found outside of action"); linenum := linenum + 1; when 23 => --# line 147 "scanner.l" ENTER(SC); return ( '<' ); when 24 => --# line 148 "scanner.l" return ( '^' ); when 25 => --# line 149 "scanner.l" ENTER(QUOTE); return ( '"' ); when 26 => yy_cp := yy_bp + 1; yy_c_buf_p := yy_cp; YY_DO_BEFORE_ACTION; -- set up yytext again --# line 150 "scanner.l" ENTER(NUM); return ( '{' ); when 27 => --# line 151 "scanner.l" ENTER(BRACEERROR); when 28 => yy_cp := yy_bp + 1; yy_c_buf_p := yy_cp; YY_DO_BEFORE_ACTION; -- set up yytext again --# line 152 "scanner.l" return ( '$' ); when 29 => --# line 154 "scanner.l" continued_action := true; linenum := linenum + 1; return Newline; when 30 => --# line 159 "scanner.l" linenum := linenum + 1; ACTION_ECHO; when 31 => --# line 161 "scanner.l" -- this rule is separate from the one below because -- otherwise we get variable trailing context, so -- we can't build the scanner using -f,F bracelevel := 0; continued_action := false; ENTER(ACTION); return Newline; when 32 => yy_cp := yy_cp - 1; yy_c_buf_p := yy_cp; YY_DO_BEFORE_ACTION; -- set up yytext again --# line 172 "scanner.l" bracelevel := 0; continued_action := false; ENTER(ACTION); return Newline; when 33 => --# line 179 "scanner.l" linenum := linenum + 1; return Newline; when 34 => --# line 181 "scanner.l" return ( EOF_OP ); when 35 => --# line 183 "scanner.l" sectnum := 3; ENTER(SECT3); return ( End_Of_Input ); -- to stop the parser when 36 => --# line 190 "scanner.l" nmstr := +YYText (1 .. YYLength); -- check to see if we've already encountered this ccl cclval := sym.ccllookup (nmstr); if ( cclval /= 0 ) then yylval := cclval; cclreuse := cclreuse + 1; return ( PREVCCL ); else -- we fudge a bit. We know that this ccl will -- soon be numbered as lastccl + 1 by cclinit sym.cclinstal (nmstr, lastccl + 1); -- push back everything but the leading bracket -- so the ccl can be rescanned Put_Back_String (nmstr, 1); ENTER(FIRSTCCL); return ( '[' ); end if; when 37 => --# line 215 "scanner.l" declare Image : constant Wide_Wide_String := YYText; begin YYLVal := Matreshka.Internals.Unicode.Ucd.Boolean_Properties'Pos (Matreshka.Internals.Unicode.Ucd.Boolean_Properties'Wide_Wide_Value (Image (Image'First + 3 .. Image'Last - 1))) + 1; if Image (Image'First + 1) = 'P' then YYLVal := -YYLVal; end if; return PROP; end; when 38 => --# line 233 "scanner.l" nmstr := +YYText (1 .. YYLength); -- chop leading and trailing brace tmpbuf := Unbounded_Slice (+yytext (1 .. YYLength), 2, YYLength - 1); nmdefptr := sym.ndlookup (tmpbuf); if nmdefptr = Null_Unbounded_Wide_Wide_String then misc.synerr( "undefined {name}" ); else -- push back name surrounded by ()'s unput(')'); Put_Back_String (nmdefptr, 0); unput('('); end if; when 39 => --# line 250 "scanner.l" tmpbuf := +YYText (1 .. YYLength); case Element (tmpbuf, 1) is when '/' => return '/'; when '|' => return '|'; when '*' => return '*'; when '+' => return '+'; when '?' => return '?'; when '.' => return '.'; when '(' => return '('; when ')' => return ')'; when others => Misc.Aflex_Error ("error in aflex case"); end case; when 40 => --# line 264 "scanner.l" tmpbuf := +YYText (1 .. YYLength); yylval := Wide_Wide_Character'Pos (Element (tmpbuf, 1)); return CHAR; when 41 => --# line 268 "scanner.l" linenum := linenum + 1; return Newline; when 42 => --# line 271 "scanner.l" return ( ',' ); when 43 => --# line 272 "scanner.l" ENTER(SECT2); return ( '>' ); when 44 => yy_cp := yy_bp + 1; yy_c_buf_p := yy_cp; YY_DO_BEFORE_ACTION; -- set up yytext again --# line 273 "scanner.l" ENTER(CARETISBOL); return ( '>' ); when 45 => --# line 274 "scanner.l" nmstr := +YYText (1 .. YYLength); return NAME; when 46 => --# line 277 "scanner.l" misc.synerr( "bad start condition name" ); when 47 => --# line 279 "scanner.l" ENTER(SECT2); return ( '^' ); when 48 => --# line 282 "scanner.l" tmpbuf := +YYText (1 .. YYLength); yylval := Wide_Wide_Character'Pos (Element (tmpbuf, 1)); return CHAR; when 49 => --# line 286 "scanner.l" ENTER(SECT2); return ( '"' ); when 50 => --# line 288 "scanner.l" misc.synerr( "missing quote" ); ENTER(SECT2); linenum := linenum + 1; return ( '"' ); when 51 => yy_cp := yy_bp + 1; yy_c_buf_p := yy_cp; YY_DO_BEFORE_ACTION; -- set up yytext again --# line 296 "scanner.l" ENTER(CCL); return ( '^' ); when 52 => yy_cp := yy_bp + 1; yy_c_buf_p := yy_cp; YY_DO_BEFORE_ACTION; -- set up yytext again --# line 297 "scanner.l" return ( '^' ); when 53 => --# line 298 "scanner.l" ENTER(CCL); yylval := Wide_Wide_Character'Pos('-'); return ( CHAR ); when 54 => --# line 299 "scanner.l" ENTER(CCL); tmpbuf := +YYText (1 .. YYLength); yylval := Wide_Wide_Character'Pos (Element (tmpbuf, 1)); return CHAR; when 55 => yy_cp := yy_bp + 1; yy_c_buf_p := yy_cp; YY_DO_BEFORE_ACTION; -- set up yytext again --# line 305 "scanner.l" return ( '-' ); when 56 => --# line 306 "scanner.l" tmpbuf := +YYText (1 .. YYLength); yylval := Wide_Wide_Character'Pos (Element (tmpbuf, 1)); return CHAR; when 57 => --# line 310 "scanner.l" ENTER(SECT2); return ( ']' ); when 58 => --# line 313 "scanner.l" yylval := misc.myctoi (+YYText (1 .. YYLength)); return ( NUMBER ); when 59 => --# line 318 "scanner.l" return ( ',' ); when 60 => --# line 319 "scanner.l" ENTER(SECT2); return ( '}' ); when 61 => --# line 321 "scanner.l" misc.synerr( "bad character inside {}'s" ); ENTER(SECT2); return ( '}' ); when 62 => --# line 327 "scanner.l" misc.synerr( "missing }" ); ENTER(SECT2); linenum := linenum + 1; return ( '}' ); when 63 => --# line 335 "scanner.l" misc.synerr( "bad name in {}'s" ); ENTER(SECT2); when 64 => --# line 336 "scanner.l" misc.synerr( "missing }" ); linenum := linenum + 1; ENTER(SECT2); when 65 => --# line 341 "scanner.l" bracelevel := bracelevel + 1; when 66 => --# line 342 "scanner.l" bracelevel := bracelevel - 1; when 67 => --# line 343 "scanner.l" ACTION_ECHO; when 68 => --# line 344 "scanner.l" ACTION_ECHO; when 69 => --# line 345 "scanner.l" linenum := linenum + 1; ACTION_ECHO; when 70 => --# line 346 "scanner.l" ACTION_ECHO; -- character constant; when 71 => --# line 350 "scanner.l" ACTION_ECHO; ENTER(ACTION_STRING); when 72 => --# line 352 "scanner.l" linenum := linenum + 1; ACTION_ECHO; if ( bracelevel = 0 ) then New_Line (Temp_Action_File); ENTER(SECT2); end if; when 73 => --# line 360 "scanner.l" ACTION_ECHO; when 74 => --# line 362 "scanner.l" ACTION_ECHO; when 75 => --# line 363 "scanner.l" ACTION_ECHO; when 76 => --# line 364 "scanner.l" linenum := linenum + 1; ACTION_ECHO; when 77 => --# line 365 "scanner.l" ACTION_ECHO; ENTER(ACTION); when 78 => --# line 366 "scanner.l" ACTION_ECHO; when 79 => --# line 369 "scanner.l" yylval := Unicode_Character'Pos (Misc.MYESC (+YYText (1 .. YYLength))); return CHAR; when 80 => --# line 377 "scanner.l" yylval := Unicode_Character'Pos (misc.myesc (+YYText (1 .. YYLength))); ENTER(CCL); return ( CHAR ); when 81 => --# line 385 "scanner.l" declare Image : constant Wide_Wide_String := YYText; begin YYLVal := Matreshka.Internals.Unicode.Ucd.Boolean_Properties'Pos (Matreshka.Internals.Unicode.Ucd.Boolean_Properties'Wide_Wide_Value (Image (Image'First + 3 .. Image'Last - 1))) + 1; if Image (Image'First + 1) = 'P' then YYLVal := -YYLVal; end if; ENTER(CCL); return PROP; end; when 82 => --# line 406 "scanner.l" if ( check_yylex_here ) then return End_Of_Input; else ECHO; end if; when 83 => --# line 412 "scanner.l" raise AFLEX_SCANNER_JAMMED; when YY_END_OF_BUFFER + INITIAL + 1 | YY_END_OF_BUFFER + SECT2 + 1 | YY_END_OF_BUFFER + SECT3 + 1 | YY_END_OF_BUFFER + PICKUPDEF + 1 | YY_END_OF_BUFFER + SC + 1 | YY_END_OF_BUFFER + CARETISBOL + 1 | YY_END_OF_BUFFER + NUM + 1 | YY_END_OF_BUFFER + QUOTE + 1 | YY_END_OF_BUFFER + FIRSTCCL + 1 | YY_END_OF_BUFFER + CCL + 1 | YY_END_OF_BUFFER + ACTION + 1 | YY_END_OF_BUFFER + RECOVER + 1 | YY_END_OF_BUFFER + BRACEERROR + 1 | YY_END_OF_BUFFER + ACTION_STRING + 1 => return End_Of_Input; when YY_END_OF_BUFFER => yytext_ptr := yy_bp; case yy_get_next_buffer is when EOB_ACT_END_OF_FILE => begin if yywrap then -- note: because we've taken care in -- yy_get_next_buffer() to have set up yytext, -- we can now set up yy_c_buf_p so that if some -- total hoser (like aflex itself) wants -- to call the scanner after we return the -- End_Of_Input, it'll still work - another -- End_Of_Input will get returned. yy_c_buf_p := yytext_ptr; yy_act := YY_STATE_EOF ((yy_start - 1) / 2); goto do_action; else -- start processing a new file yy_init := true; goto new_file; end if; end; when EOB_ACT_RESTART_SCAN => yy_c_buf_p := yytext_ptr; when EOB_ACT_LAST_MATCH => yy_c_buf_p := yy_n_chars; yy_current_state := yy_get_previous_state; yy_cp := yy_c_buf_p; yy_bp := yytext_ptr; goto next_action; end case; -- case yy_get_next_buffer() when others => Ada.Wide_Wide_Text_IO.Put ("action # "); Ada.Wide_Wide_Text_IO.Put (Integer'Wide_Wide_Image (yy_act)); Ada.Wide_Wide_Text_IO.New_Line; raise AFLEX_INTERNAL_ERROR; end case; -- case (yy_act) end loop; -- end of loop waiting for end of file end YYLex; --# line 412 "scanner.l" begin if (call_yylex) then toktype := YYLex; call_yylex := false; return toktype; end if; if eofseen then toktype := End_Of_Input; else toktype := YYLex; end if; -- this tracing code allows easy tracing of aflex runs if trace then New_Line (Standard_Error); Put (Standard_Error, "toktype = :"); Put (Standard_Error, Token'Wide_Wide_Image (toktype)); Put_line (Standard_Error, ":"); end if; if toktype = End_Of_Input then eofseen := true; if sectnum = 1 then misc.synerr( "unexpected EOF" ); sectnum := 2; toktype := SECTEND; elsif sectnum = 2 then sectnum := 3; toktype := SECTEND; end if; end if; if trace then if ( beglin ) then Put (Standard_Error, Num_Rules + 1); Put (Standard_Error, Unicode.HT); Beglin := False; end if; case toktype is when '<' | '>'|'^'|'$'|'"'|'['|']'|'{'|'}'|'|'|'('| ')'|'-'|'/'|'?'|'.'|'*'|'+'|',' => Put (Standard_Error, Token'Wide_Wide_Image (Toktype)); when NEWLINE => New_Line (Standard_Error); if sectnum = 2 then beglin := true; end if; when SCDECL => Put (Standard_Error, "%s"); when XSCDECL => Put (Standard_Error, "%x"); when WHITESPACE => Put (Standard_Error, " "); when SECTEND => Put_Line (Standard_Error, "%%"); -- we set beglin to be true so we'll start -- writing out numbers as we echo rules. aflexscan() has -- already assigned sectnum if sectnum = 2 then beglin := true; end if; when NAME => Put (Standard_Error, '''); Put (Standard_Error, YYText); Put (Standard_Error, '''); when CHAR => if ( (yylval < Wide_Wide_Character'Pos (' ')) or (yylval = Wide_Wide_Character'Pos (Unicode.DEL)) ) then Put (Standard_Error, '\'); Put (Standard_Error, YYLVal); Put (Standard_Error, '\'); else Put (Standard_Error, Token'Wide_Wide_Image (toktype)); end if; when NUMBER => Put (Standard_Error, YYLVal); when PREVCCL => Put (Standard_Error, '['); Put (Standard_Error, YYLVal); Put (Standard_Error, ']'); when End_Of_Input => Put (Standard_Error, "End Marker"); when others => Put (Standard_Error, "Something weird:"); Put_Line (Standard_Error, Token'Wide_Wide_Image (toktype)); end case; end if; return toktype; end YYLex; end scanner;
------------------------------------------------------------------------------- -- 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.Util; package body Keccak.Generic_CSHAKE is ------------ -- Init -- ------------ procedure Init (Ctx : out Context; Customization : in String := ""; Function_Name : in String := "") is Rate_Bytes : constant Positive := Rate / 8; Encoded_Customization_Length : constant Byte_Array := Util.Left_Encode_NIST_Bit_Length (Customization'Length); Encoded_Function_Name_Length : constant Byte_Array := Util.Left_Encode_NIST_Bit_Length (Function_Name'Length); Encoded_Rate : constant Byte_Array := Util.Left_Encode_NIST (Rate_Bytes); Zeroes : constant Types.Byte_Array (1 .. Rate_Bytes) := (others => 0); Padding_Length : Natural; begin XOF.Init (Ctx.XOF_Ctx); XOF.Update (Ctx => Ctx.XOF_Ctx, Message => Encoded_Rate); XOF.Update (Ctx => Ctx.XOF_Ctx, Message => Encoded_Function_Name_Length); XOF.Update (Ctx => Ctx.XOF_Ctx, Message => Util.To_Byte_Array (Function_Name)); XOF.Update (Ctx => Ctx.XOF_Ctx, Message => Encoded_Customization_Length); XOF.Update (Ctx => Ctx.XOF_Ctx, Message => Util.To_Byte_Array (Customization)); Padding_Length := Encoded_Rate'Length mod Rate_Bytes + Encoded_Customization_Length'Length mod Rate_Bytes + Encoded_Function_Name_Length'Length mod Rate_Bytes + Customization'Length mod Rate_Bytes + Function_Name'Length mod Rate_Bytes; Padding_Length := Rate_Bytes - (Padding_Length mod Rate_Bytes); if Padding_Length mod Rate_Bytes /= 0 then XOF.Update (Ctx => Ctx.XOF_Ctx, Message => Zeroes (1 .. Padding_Length)); end if; end Init; -------------- -- Update -- -------------- procedure Update (Ctx : in out Context; Message : in Byte_Array) is begin XOF.Update (Ctx.XOF_Ctx, Message); end Update; -------------- -- Update -- -------------- procedure Update (Ctx : in out Context; Message : in Byte_Array; Bit_Length : in Natural) is begin XOF.Update (Ctx.XOF_Ctx, Message, Bit_Length); end Update; --------------- -- Extract -- --------------- procedure Extract (Ctx : in out Context; Digest : out Byte_Array) is begin XOF.Extract (Ctx.XOF_Ctx, Digest); end Extract; end Keccak.Generic_CSHAKE;
-- MIT License -- Copyright (c) 2020 Jean-Jacques François Reibel -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -- copies of the Software, and to permit persons to whom the Software is -- furnished to do so, subject to the following conditions: -- The above copyright notice and this permission notice shall be included in all -- copies or substantial portions of the Software. -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -- SOFTWARE. with Ada.Text_IO; use Ada.Text_IO; procedure Car is --class type Car is tagged record wheels : Integer; doors : Integer; cylinders : Integer; end record; -- functions --prior to Ada 2012, passed arguments could not be written to --that would defeat the purpose of writing functions for records procedure addWheels(myCar : in out Car; wheelsIn : Integer) is begin myCar.wheels := myCar.wheels + wheelsIn; end addWheels; procedure addDoors(myCar : in out Car; doorsIn : Integer) is begin myCar.doors := myCar.doors + doorsIn; end addDoors; procedure addCylinders(myCar : in out Car; cylindersIn : Integer) is begin myCar.cylinders := myCar.cylinders + cylindersIn; end addCylinders; procedure deleteWheels(myCar : in out Car; wheelsIn : Integer) is begin myCar.wheels := myCar.wheels - wheelsIn; end deleteWheels; procedure deleteDoors(myCar : in out Car; doorsIn : Integer) is begin myCar.doors := myCar.doors - doorsIn; end deleteDoors; procedure deleteCylinders(myCar : in out Car; cylindersIn : Integer) is begin myCar.cylinders := myCar.cylinders - cylindersIn; end deleteCylinders; --main program block begin Put_Line("Creating car."); declare subaru : Car; begin subaru.wheels := 4; subaru.doors := 4; subaru.cylinders := 4; Put("Wheel check: "); Put(Integer'Image(subaru.wheels)); New_Line; Put("Door check: "); Put(Integer'Image(subaru.doors)); New_Line; Put("Cylinder check: "); Put(Integer'Image(subaru.cylinders)); New_Line; New_Line; Put_Line("Adding wheel directly to car object."); subaru.wheels := subaru.wheels + 1; Put("Wheel check: "); Put(Integer'Image(subaru.wheels)); New_Line; Put("Door check: "); Put(Integer'Image(subaru.doors)); New_Line; Put("Cylinder check: "); Put(Integer'Image(subaru.cylinders)); New_Line; New_Line; Put_Line("Removing wheel using object method."); deleteWheels(subaru, 1); Put("Wheel check: "); Put(Integer'Image(subaru.wheels)); New_Line; Put("Door check: "); Put(Integer'Image(subaru.doors)); New_Line; Put("Cylinder check: "); Put(Integer'Image(subaru.cylinders)); New_Line; end; end Car;
-- Copyright (C) 2020 Glen Cornell <glen.m.cornell@gmail.com> -- -- 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 Aof.Core.Generic_Signals; with Aof.Core.Abstract_Properties; generic type Object is abstract tagged limited private; type Access_Object is access all Object'Class; type T is private; package Aof.Core.Generic_Properties is pragma Preelaborate; package Signals_Pkg is new Aof.Core.Generic_Signals.S1 (Object => Object, Access_Object => Access_Object, Param_1 => T); type Property is limited new Aof.Core.Abstract_Properties.Abstract_Property with private; function Get (This : in Property'Class) return T with Pre => This.Is_Readable; procedure Set (This : in out Property'Class; Value : in T) with Pre => This.Is_Writable; procedure Connect (This : in out Property'Class; Proc : in Signals_Pkg.Access_Procedure); procedure Notify (This : in out Property'Class); private type Property is limited new Aof.Core.Abstract_Properties.Abstract_Property with record Value : T; On_Change_Signal : Signals_Pkg.Signal; end record; end Aof.Core.Generic_Properties;
-- Copyright 2008-2015 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. procedure Foo is begin null; end Foo;
package impact.d2.orbs.Joint.mouse -- -- -- is -- #ifndef B2_MOUSE_JOINT_H -- #define B2_MOUSE_JOINT_H -- -- #include <Box2D/Dynamics/Joints/b2Joint.h> -- -- /// Mouse joint definition. This requires a world target point, -- /// tuning parameters, and the time step. -- struct b2MouseJointDef : public b2JointDef -- { -- b2MouseJointDef() -- { -- type = e_mouseJoint; -- target.Set(0.0f, 0.0f); -- maxForce = 0.0f; -- frequencyHz = 5.0f; -- dampingRatio = 0.7f; -- } -- -- /// The initial world target point. This is assumed -- /// to coincide with the body anchor initially. -- b2Vec2 target; -- -- /// The maximum constraint force that can be exerted -- /// to move the candidate body. Usually you will express -- /// as some multiple of the weight (multiplier * mass * gravity). -- float32 maxForce; -- -- /// The response speed. -- float32 frequencyHz; -- -- /// The damping ratio. 0 = no damping, 1 = critical damping. -- float32 dampingRatio; -- }; -- -- /// A mouse joint is used to make a point on a body track a -- /// specified world point. This a soft constraint with a maximum -- /// force. This allows the constraint to stretch and without -- /// applying huge forces. -- /// NOTE: this joint is not documented in the manual because it was -- /// developed to be used in the testbed. If you want to learn how to -- /// use the mouse joint, look at the testbed. -- class b2MouseJoint : public b2Joint -- { -- public: -- -- /// Implements b2Joint. -- b2Vec2 GetAnchorA() const; -- -- /// Implements b2Joint. -- b2Vec2 GetAnchorB() const; -- -- /// Implements b2Joint. -- b2Vec2 GetReactionForce(float32 inv_dt) const; -- -- /// Implements b2Joint. -- float32 GetReactionTorque(float32 inv_dt) const; -- -- /// Use this to update the target point. -- void SetTarget(const b2Vec2& target); -- const b2Vec2& GetTarget() const; -- -- /// Set/get the maximum force in Newtons. -- void SetMaxForce(float32 force); -- float32 GetMaxForce() const; -- -- /// Set/get the frequency in Hertz. -- void SetFrequency(float32 hz); -- float32 GetFrequency() const; -- -- /// Set/get the damping ratio (dimensionless). -- void SetDampingRatio(float32 ratio); -- float32 GetDampingRatio() const; -- -- protected: -- friend class b2Joint; -- -- b2MouseJoint(const b2MouseJointDef* def); -- -- void InitVelocityConstraints(const b2TimeStep& step); -- void SolveVelocityConstraints(const b2TimeStep& step); -- bool SolvePositionConstraints(float32 baumgarte) { B2_NOT_USED(baumgarte); return true; } -- -- b2Vec2 m_localAnchor; -- b2Vec2 m_target; -- b2Vec2 m_impulse; -- -- b2Mat22 m_mass; // effective mass for point-to-point constraint. -- b2Vec2 m_C; // position error -- float32 m_maxForce; -- float32 m_frequencyHz; -- float32 m_dampingRatio; -- float32 m_beta; -- float32 m_gamma; -- }; -- -- #endif procedure dummy; end impact.d2.orbs.Joint.mouse;
with Zstandard.Functions; use Zstandard.Functions; with Ada.Command_line; use Ada.Command_Line; with Ada.Directories; use Ada.Directories; with Ada.Text_IO; use Ada.Text_IO; procedure Demo_Ada is begin if Argument_Count /= 1 then Put_Line ("Zstandard version: " & Zstd_Version); Put_Line ("usage:"); Put_Line (Command_Name & " <path/to/file.zst>"); return; end if; declare path2file : String renames Argument (1); namelen : constant Natural := path2file'Length; nlast : constant Natural := path2file'Last; begin if not Exists (path2file) then Put_Line ("File '" & path2file & "' does not exist, aborting."); return; else if namelen < 5 or else path2file (nlast - 3 .. nlast) /= ".zst" then Put_Line ("File name doesn't have the .zst extension, aborting."); return; end if; end if; end; declare type Real4 is digits 4; path2file : String renames Argument (1); nlast : constant Natural := path2file'Last; decmpfile : String := path2file (path2file'First .. nlast - 4); srcsize : Zstandard.Functions.File_Size; dstsize : Zstandard.Functions.File_Size; gooddecmp : Boolean; error_msg : String := Decompress_File (source_file => path2file, output_file => decmpfile, source_size => srcsize, output_size => dstsize, successful => gooddecmp); begin if gooddecmp then Put_Line (" original file size:" & srcsize'Img); Put_Line (" compressed file size:" & dstsize'Img); Put_Line (" new file: " & decmpfile); else Put_Line (error_msg); end if; end; end Demo_Ada;
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="14"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>call_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>in_stream_V_value_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>in_stream.V.value.V</originalName> <rtlName></rtlName> <coreName>FIFO_SRL</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>out_stream_V_value_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>out_stream.V.value.V</originalName> <rtlName></rtlName> <coreName>FIFO_SRL</coreName> </Obj> <bitwidth>128</bitwidth> </Value> <direction>1</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_3"> <Value> <Obj> <type>0</type> <id>8</id> <name>slice_stream_V_value</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</fileDirectory> <lineNumber>172</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second class_id="11" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>172</second> </item> </second> </item> </inlineStackInfo> <originalName>slice_stream.V.value.V</originalName> <rtlName></rtlName> <coreName>FIFO_SRL</coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>17</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_4"> <Value> <Obj> <type>0</type> <id>12</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>19</item> <item>20</item> <item>21</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_5"> <Value> <Obj> <type>0</type> <id>13</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>5</count> <item_version>0</item_version> <item>23</item> <item>24</item> <item>25</item> <item>135</item> <item>136</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>14</id> <name></name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</fileDirectory> <lineNumber>219</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_real/conv2d_b2b</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>219</second> </item> </second> </item> </inlineStackInfo> <originalName></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>3</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_7"> <Value> <Obj> <type>2</type> <id>16</id> <name>empty</name> <fileName></fileName> <fileDirectory></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="_8"> <Value> <Obj> <type>2</type> <id>18</id> <name>call_Loop_LB2D_buf_p_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:call_Loop_LB2D_buf_p.1&gt;</content> </item> <item class_id_reference="16" object_id="_9"> <Value> <Obj> <type>2</type> <id>22</id> <name>call_Loop_LB2D_shift_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:call_Loop_LB2D_shift.1&gt;</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_10"> <Obj> <type>3</type> <id>15</id> <name>call.1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>4</count> <item_version>0</item_version> <item>8</item> <item>12</item> <item>13</item> <item>14</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>9</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_11"> <id>17</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_12"> <id>19</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_13"> <id>20</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_14"> <id>21</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_15"> <id>23</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_16"> <id>24</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_17"> <id>25</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_18"> <id>135</id> <edge_type>4</edge_type> <source_obj>12</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_19"> <id>136</id> <edge_type>4</edge_type> <source_obj>12</source_obj> <sink_obj>13</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_20"> <mId>1</mId> <mTag>call.1</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>15</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>2071917</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>1</mIsDfPipe> <mDfPipe class_id="23" tracking_level="1" version="0" object_id="_21"> <port_list class_id="24" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port_list> <process_list class_id="25" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_22"> <type>0</type> <name>call_Loop_LB2D_buf_p_1_U0</name> <ssdmobj_id>12</ssdmobj_id> <pins class_id="27" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_23"> <port class_id="29" tracking_level="1" version="0" object_id="_24"> <name>in_stream_V_value_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id="30" tracking_level="1" version="0" object_id="_25"> <type>0</type> <name>call_Loop_LB2D_buf_p_1_U0</name> <ssdmobj_id>12</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_26"> <port class_id_reference="29" object_id="_27"> <name>slice_stream_V_value_V</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_25"></inst> </item> </pins> </item> <item class_id_reference="26" object_id="_28"> <type>0</type> <name>call_Loop_LB2D_shift_1_U0</name> <ssdmobj_id>13</ssdmobj_id> <pins> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_29"> <port class_id_reference="29" object_id="_30"> <name>slice_stream_V_value_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_31"> <type>0</type> <name>call_Loop_LB2D_shift_1_U0</name> <ssdmobj_id>13</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_32"> <port class_id_reference="29" object_id="_33"> <name>out_stream_V_value_V</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_31"></inst> </item> </pins> </item> </process_list> <channel_list class_id="31" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="32" tracking_level="1" version="0" object_id="_34"> <type>1</type> <name>slice_stream_V_value</name> <ssdmobj_id>8</ssdmobj_id> <ctype>0</ctype> <depth>1</depth> <bitwidth>64</bitwidth> <source class_id_reference="28" object_id="_35"> <port class_id_reference="29" object_id="_36"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_25"></inst> </source> <sink class_id_reference="28" object_id="_37"> <port class_id_reference="29" object_id="_38"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_31"></inst> </sink> </item> </channel_list> <net_list class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </net_list> </mDfPipe> </item> </cdfg_regions> <fsm class_id="34" tracking_level="1" version="0" object_id="_39"> <states class_id="35" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="36" tracking_level="1" version="0" object_id="_40"> <id>1</id> <operations class_id="37" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="38" tracking_level="1" version="0" object_id="_41"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_42"> <id>12</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_43"> <id>2</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_44"> <id>12</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_45"> <id>3</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_46"> <id>13</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="36" object_id="_47"> <id>4</id> <operations> <count>10</count> <item_version>0</item_version> <item class_id_reference="38" object_id="_48"> <id>3</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_49"> <id>4</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_50"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_51"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_52"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_53"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_54"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_55"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="38" object_id="_56"> <id>13</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="38" object_id="_57"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="39" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="40" tracking_level="1" version="0" object_id="_58"> <inState>1</inState> <outState>2</outState> <condition class_id="41" tracking_level="0" version="0"> <id>0</id> <sop class_id="42" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="43" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_59"> <inState>2</inState> <outState>3</outState> <condition> <id>1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="40" object_id="_60"> <inState>3</inState> <outState>4</outState> <condition> <id>2</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="-1"></res> <node_label_latency class_id="45" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="46" tracking_level="0" version="0"> <first>8</first> <second class_id="47" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>12</first> <second> <first>0</first> <second>1</second> </second> </item> <item> <first>13</first> <second> <first>2</first> <second>1</second> </second> </item> <item> <first>14</first> <second> <first>3</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="48" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="49" tracking_level="0" version="0"> <first>15</first> <second class_id="50" tracking_level="0" version="0"> <first>0</first> <second>3</second> </second> </item> </bblk_ent_exit> <regions class_id="51" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="52" tracking_level="1" version="0" object_id="_61"> <region_name>call.1</region_name> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>15</item> </basic_blocks> <nodes> <count>12</count> <item_version>0</item_version> <item>3</item> <item>4</item> <item>5</item> <item>6</item> <item>7</item> <item>8</item> <item>9</item> <item>10</item> <item>11</item> <item>12</item> <item>13</item> <item>14</item> </nodes> <anchor_node>-1</anchor_node> <region_type>16</region_type> <interval>0</interval> <pipe_depth>0</pipe_depth> </item> </regions> <dp_fu_nodes class_id="53" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="54" tracking_level="0" version="0"> <first>36</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>40</first> <second> <count>2</count> <item_version>0</item_version> <item>12</item> <item>12</item> </second> </item> <item> <first>47</first> <second> <count>2</count> <item_version>0</item_version> <item>13</item> <item>13</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="56" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="57" tracking_level="0" version="0"> <first>slice_stream_V_value_fu_36</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>2</count> <item_version>0</item_version> <item> <first>grp_call_Loop_LB2D_buf_p_1_fu_40</first> <second> <count>2</count> <item_version>0</item_version> <item>12</item> <item>12</item> </second> </item> <item> <first>grp_call_Loop_LB2D_shift_1_fu_47</first> <second> <count>2</count> <item_version>0</item_version> <item>13</item> <item>13</item> </second> </item> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="58" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>1</count> <item_version>0</item_version> <item> <first>54</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>1</count> <item_version>0</item_version> <item> <first>slice_stream_V_value_reg_54</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="59" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="60" tracking_level="0" version="0"> <first>in_stream_V_value_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> </second> </item> <item> <first>out_stream_V_value_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="61" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="62" tracking_level="0" version="0"> <first>1</first> <second>FIFO_SRL</second> </item> <item> <first>2</first> <second>FIFO_SRL</second> </item> </port2core> <node2core> <count>1</count> <item_version>0</item_version> <item> <first>8</first> <second>FIFO_SRL</second> </item> </node2core> </syndb> </boost_serialization>
-- This package is intended to set up and tear down the test environment. -- Once created by GNATtest, this package will never be overwritten -- automatically. Contents of this package can be modified in any way -- except for sections surrounded by a 'read only' marker. with AUnit.Test_Fixtures; package Mobs.Test_Data is -- begin read only type Test is new AUnit.Test_Fixtures.Test_Fixture -- end read only with null record; procedure Set_Up(Gnattest_T: in out Test); procedure Tear_Down(Gnattest_T: in out Test); end Mobs.Test_Data;
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- -- -- Core -- -- -- -- ------------------------------------------------------------------------ -- -- -- -- Copyright (C) 2019-2020, ANNEXI-STRAYLINE Trans-Human Ltd. -- -- All rights reserved. -- -- -- -- Original Contributors: -- -- * Richard Wai (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. -- -- -- ------------------------------------------------------------------------------ with Ada.Strings.Unbounded; with Workers; with Registrar.Subsystems; package Registrar.Executive.Unit_Entry is Invalid_Unit: exception; -- Riased if an entered unit has unexpected content ---------------------- -- Unit_Entry_Order -- ---------------------- -- The Unit_Entry_Order executes the actual actions required for entry of a -- library unit, including parsing Ada units for dependencies package UBS renames Ada.Strings.Unbounded; type Unit_Entry_Order (AURA: Boolean) is new Workers.Work_Order with record File_Full_Name: UBS.Unbounded_String; case AURA is when True => AURA_Subsystem: Registrar.Subsystems.Subsystem; when False => null; end case; end record; overriding procedure Execute (Order: in out Unit_Entry_Order); overriding function Image (Order: Unit_Entry_Order) return String; end Registrar.Executive.Unit_Entry;
-- 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. -- ------------ EDIT NOTE ------------ -- This file was generated with swagger-codegen. You can modify it to implement -- the server. After you modify this file, you should add the following line -- to the .swagger-codegen-ignore file: -- -- src/hyperion-rest-servers.ads -- -- Then, you can drop this edit note comment. -- ------------ EDIT NOTE ------------ with Swagger.Servers; with Hyperion.Rest.Models; with Hyperion.Rest.Skeletons; package Hyperion.Rest.Servers is use Hyperion.Rest.Models; type Server_Type is limited new Hyperion.Rest.Skeletons.Server_Type with null record; -- Register a monitoring agent -- Register a new monitoring agent in the system overriding procedure Register_Agent (Server : in out Server_Type; Name : in Swagger.UString; Ip : in Swagger.UString; Agent_Key : in Swagger.UString; Result : out Hyperion.Rest.Models.Agent_Type; Context : in out Swagger.Servers.Context_Type); -- Create a host -- Register a new host in the monitoring system overriding procedure Create_Host (Server : in out Server_Type; Name : in Swagger.UString; Ip : in Swagger.UString; Host_Key : in Swagger.UString; Agent_Key : in Swagger.UString; Agent_Id : in Integer; Result : out Hyperion.Rest.Models.Host_Type; Context : in out Swagger.Servers.Context_Type); -- Get information about the host -- Provide information about the host procedure Get_Host (Server : in out Server_Type; Host_Id : in Swagger.Long; Result : out Hyperion.Rest.Models.Host_Type; Context : in out Swagger.Servers.Context_Type); -- Get information about the host datasets -- The datasets describes and gives access to the monitored data. overriding procedure Get_Datasets (Server : in out Server_Type; Host_Id : in Swagger.Long; Result : out Hyperion.Rest.Models.Dataset_Type_Vectors.Vector; Context : in out Swagger.Servers.Context_Type); procedure Register (Server : in out Swagger.Servers.Application_Type'Class); end Hyperion.Rest.Servers;
-- https://adventofcode.com/2020 package Adventofcode is pragma Elaborate_Body; end Adventofcode;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . W C H _ S T W -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2009, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with System.WCh_Con; use System.WCh_Con; with System.WCh_Cnv; use System.WCh_Cnv; package body System.WCh_StW is ----------------------- -- Local Subprograms -- ----------------------- procedure Get_Next_Code (S : String; P : in out Natural; V : out UTF_32_Code; EM : WC_Encoding_Method); -- Scans next character starting at S(P) and returns its value in V. On -- exit P is updated past the last character read. Raises Constraint_Error -- if the string is not well formed. Raises Constraint_Error if the code -- value is greater than 16#7FFF_FFFF#. On entry P <= S'Last. ------------------- -- Get_Next_Code -- ------------------- procedure Get_Next_Code (S : String; P : in out Natural; V : out UTF_32_Code; EM : WC_Encoding_Method) is function In_Char return Character; -- Function to return a character, bumping P, raises Constraint_Error -- if P > S'Last on entry. function Get_UTF_32 is new Char_Sequence_To_UTF_32 (In_Char); -- Function to get next UFT_32 value ------------- -- In_Char -- ------------- function In_Char return Character is begin if P > S'Last then raise Constraint_Error with "badly formed wide character code"; else P := P + 1; return S (P - 1); end if; end In_Char; -- Start of processing for Get_Next_Code begin -- Check for wide character encoding case EM is when WCEM_Hex => if S (P) = ASCII.ESC then V := Get_UTF_32 (In_Char, EM); return; end if; when WCEM_Upper | WCEM_Shift_JIS | WCEM_EUC | WCEM_UTF8 => if S (P) >= Character'Val (16#80#) then V := Get_UTF_32 (In_Char, EM); return; end if; when WCEM_Brackets => if P + 2 <= S'Last and then S (P) = '[' and then S (P + 1) = '"' and then S (P + 2) /= '"' then V := Get_UTF_32 (In_Char, EM); return; end if; end case; -- If it is not a wide character code, just get it V := Character'Pos (S (P)); P := P + 1; end Get_Next_Code; --------------------------- -- String_To_Wide_String -- --------------------------- procedure String_To_Wide_String (S : String; R : out Wide_String; L : out Natural; EM : System.WCh_Con.WC_Encoding_Method) is SP : Natural; V : UTF_32_Code; begin pragma Assert (S'First = 1); SP := S'First; L := 0; while SP <= S'Last loop Get_Next_Code (S, SP, V, EM); if V > 16#FFFF# then raise Constraint_Error with "out of range value for wide character"; end if; L := L + 1; R (L) := Wide_Character'Val (V); end loop; end String_To_Wide_String; -------------------------------- -- String_To_Wide_Wide_String -- -------------------------------- procedure String_To_Wide_Wide_String (S : String; R : out Wide_Wide_String; L : out Natural; EM : System.WCh_Con.WC_Encoding_Method) is pragma Assert (S'First = 1); SP : Natural; V : UTF_32_Code; begin SP := S'First; L := 0; while SP <= S'Last loop Get_Next_Code (S, SP, V, EM); L := L + 1; R (L) := Wide_Wide_Character'Val (V); end loop; end String_To_Wide_Wide_String; end System.WCh_StW;
-- part of ParserTools, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "copying.txt" package body Lexer.Source.Text_IO is procedure Read_Data (S : in out Instance; Buffer : out String; Length : out Natural) is begin for I in Buffer'Range loop if Ada.Text_IO.End_Of_File (S.File_Pointer.all) then Buffer (I) := Character'Val (4); Length := I; return; elsif Ada.Text_IO.End_Of_Line (S.File_Pointer.all) then Buffer (I) := Character'Val (10); Ada.Text_IO.Skip_Line (S.File_Pointer.all); else Ada.Text_IO.Get (S.File_Pointer.all, Buffer (I)); end if; end loop; Length := Buffer'Last; end Read_Data; function As_Source (File : Ada.Text_IO.File_Access) return Pointer is (Pointer'(new Instance'(Source.Instance with File_Pointer => File))); end Lexer.Source.Text_IO;
----------------------------------------------------------------------- -- are-testsuite -- Testsuite for are -- Copyright (C) 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Ada.Strings.Unbounded; with GNAT.Source_Info; with Util.Tests; with Util.Systems.Os; package Are.Testsuite is pragma Warnings (Off, "*condition is always*"); function Is_Windows return Boolean is (Util.Systems.Os.Directory_Separator = '\'); pragma Warnings (On, "*condition is always*"); EXE : constant String := (if Is_Windows then ".exe" else ""); function Suite return Util.Tests.Access_Test_Suite; type Test is new Util.Tests.Test with null record; -- Execute the command and get the output in a string. procedure Execute (T : in out Test; Command : in String; Result : out Ada.Strings.Unbounded.Unbounded_String; Status : in Natural := 0); procedure Assert_Equal_Files (T : in Test'Class; Expect : in String; Test : in String; Message : in String := "Test failed"; Source : String := GNAT.Source_Info.File; Line : Natural := GNAT.Source_Info.Line); end Are.Testsuite;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ package nRF51.GPIO.Tasks_And_Events is type GPIOTE_Channel is range 0 .. 3; procedure Disable (Chan : GPIOTE_Channel); type Event_Polarity is (Rising_Edge, Falling_Edge, Any_Change); procedure Enable_Event (Chan : GPIOTE_Channel; GPIO_Pin : GPIO_Pin_Index; Polarity : Event_Polarity); -- When GPIO_Pin value changes the event associated with Chan is raised type Task_Action is (Set_Pin, Clear_Pin, Toggle_Pin); type Init_Value is (Init_Set, Init_Clear); procedure Enable_Task (Chan : GPIOTE_Channel; GPIO_Pin : GPIO_Pin_Index; Action : Task_Action; Initial_Value : Init_Value); -- When the tasks associated with Chan is triggered, Action (Set, Clear, -- Toggle) is applied to GPIO_Pin. end nRF51.GPIO.Tasks_And_Events;
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- -- -- Core -- -- -- -- ------------------------------------------------------------------------ -- -- -- -- Copyright (C) 2019-2020, ANNEXI-STRAYLINE Trans-Human Ltd. -- -- All rights reserved. -- -- -- -- Original Contributors: -- -- * Richard Wai (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. -- -- -- ------------------------------------------------------------------------------ -- Task-safe set container optimized for parallel access with Ada.Containers.Hashed_Sets; generic type Element_Type is private; with package Sets is new Ada.Containers.Hashed_Sets (Element_Type => Element_Type, others => <>); package Registrar.Protected_Set is ------------- -- Queries -- ------------- function Contains_Element (Match: Element_Type) return Boolean; -- True if the Set contains an Element that matches Match function Extract_Element (Match: Element_Type) return Element_Type; -- Returns the element from the Set that matches Match -- -- Constraint_Error is raised if no match is found. function Extract_Subset (Filter: not null access function (Element: Element_Type) return Boolean) return Sets.Set; -- Returns a set containing all elements for which Filter returned -- True for that element. This is done through iteration. function Extract_Subset (Match_Set: Sets.Set) return Sets.Set; -- Returns a subset containing all elements that exist in both the -- master set, and Match_Set (Intersection) function Extract_Set return Sets.Set; -- Return the entire (master) set function Is_Subset (Query_Set: Sets.Set) return Boolean; -- Returns True if Query_Set is a subset of the master set. ------------------- -- Modifications -- ------------------- procedure Insert (New_Item: in Element_Type; Inserted: out Boolean); -- Attempts to insert New_Item into the Set. -- -- If New_Item already exists in the set, Inserted is False, and -- the Set is not modified. procedure Include (New_Item: in Element_Type); -- If an equivalent item already exists in the set, it is replaced by -- New_Item procedure Include_Subset (New_Items: in Sets.Set); -- Performs Difference on Master with New_Items, and then a Union. procedure Replace (New_Item: in Element_Type); -- Replaces an existing item in the set. If that item does not already -- exist, Constraint_Error is propagated. procedure Union (Input_Set: in Sets.Set); -- Inserts all item of Input_Set that are not currently in the Set procedure Modify (Match : in Element_Type; Process: not null access procedure (Item: in out Element_Type)); -- Attempts to look up the element from Set that matches Match, and -- then passes that Item to Process for modification -- -- Constraint_Error is raised if Match does not select an element in -- the Set. procedure Delete_Element (Match: in Element_Type); -- Deletes the element identified by Match from the set. end Registrar.Protected_Set;
<?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>rgb2yuv</name> <ret_bitwidth>32</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>8</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_channels_ch1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>in.channels.ch1</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>8</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>2457600</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_channels_ch2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>in.channels.ch2</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>8</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>2457600</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>in_channels_ch3</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>in.channels.ch3</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>8</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>2457600</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_4"> <Value> <Obj> <type>1</type> <id>4</id> <name>in_width_read</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>in.width</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>16</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_5"> <Value> <Obj> <type>1</type> <id>5</id> <name>in_height_read</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>in.height</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>16</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_6"> <Value> <Obj> <type>1</type> <id>6</id> <name>out_channels_ch1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>out.channels.ch1</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>8</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>2457600</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_7"> <Value> <Obj> <type>1</type> <id>7</id> <name>out_channels_ch2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>out.channels.ch2</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>8</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>2457600</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_8"> <Value> <Obj> <type>1</type> <id>8</id> <name>out_channels_ch3</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>out.channels.ch3</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>8</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>2457600</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>86</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_9"> <Value> <Obj> <type>0</type> <id>9</id> <name>in_height_read_2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>in.height</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>111</item> <item>112</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>10</id> <name>in_width_read_2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>in.width</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>113</item> <item>114</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>11</id> <name></name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>49</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="11" tracking_level="0" version="0"> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</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>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>49</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>115</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>13</id> <name>x</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>x</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>117</item> <item>118</item> <item>119</item> <item>120</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>14</id> <name>exitcond1</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>49</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>49</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>121</item> <item>122</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>15</id> <name>x_2</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>49</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>49</second> </item> </second> </item> </inlineStackInfo> <originalName>x</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>123</item> <item>125</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>16</id> <name></name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>49</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>49</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>126</item> <item>127</item> <item>128</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>21</id> <name>tmp</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>49</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>49</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>129</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>22</id> <name>p_shl_cast</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>49</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>49</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>23</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>131</item> <item>132</item> <item>134</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>23</id> <name>tmp_21</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>49</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>49</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>15</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>135</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>24</id> <name>p_shl7_cast</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>54</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>54</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>23</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>137</item> <item>138</item> <item>140</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>25</id> <name>tmp_22</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>54</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>54</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>23</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>141</item> <item>142</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>26</id> <name></name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>52</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>52</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>143</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>28</id> <name>y</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>y</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>144</item> <item>145</item> <item>146</item> <item>147</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>29</id> <name>exitcond</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>52</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>52</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>148</item> <item>149</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>30</id> <name>y_2</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>52</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>52</second> </item> </second> </item> </inlineStackInfo> <originalName>y</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>150</item> <item>151</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>31</id> <name></name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>52</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>52</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>152</item> <item>153</item> <item>154</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>36</id> <name>tmp_cast</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>54</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>54</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>23</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>155</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>37</id> <name>tmp_24</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>54</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>54</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>23</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>156</item> <item>157</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>38</id> <name>tmp_24_cast</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>54</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>54</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>158</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>39</id> <name>in_channels_ch1_addr</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>54</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>54</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>22</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>159</item> <item>161</item> <item>162</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>40</id> <name>in_channels_ch2_addr</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>55</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>55</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>22</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>163</item> <item>164</item> <item>165</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>41</id> <name>in_channels_ch3_addr</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>56</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>56</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>22</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>166</item> <item>167</item> <item>168</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>42</id> <name>out_channels_ch1_add</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>60</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>60</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>22</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>169</item> <item>170</item> <item>171</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>43</id> <name>out_channels_ch2_add</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>61</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>61</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>22</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>172</item> <item>173</item> <item>174</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>44</id> <name>out_channels_ch3_add</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>62</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>62</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>22</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>175</item> <item>176</item> <item>177</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>45</id> <name>R</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>54</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>54</second> </item> </second> </item> </inlineStackInfo> <originalName>R</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>178</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>46</id> <name>G</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>55</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>55</second> </item> </second> </item> </inlineStackInfo> <originalName>G</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>179</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>47</id> <name>B</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>56</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>56</second> </item> </second> </item> </inlineStackInfo> <originalName>B</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>180</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>48</id> <name>tmp_33_cast1</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</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>181</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>49</id> <name>tmp_33_cast2</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>15</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>182</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>50</id> <name>p_shl5</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>184</item> <item>185</item> <item>187</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_41"> <Value> <Obj> <type>0</type> <id>51</id> <name>p_shl5_cast</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>15</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>188</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>52</id> <name>p_shl6</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>9</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>190</item> <item>191</item> <item>193</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_43"> <Value> <Obj> <type>0</type> <id>53</id> <name>p_shl6_cast</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>15</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>194</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_44"> <Value> <Obj> <type>0</type> <id>54</id> <name>tmp_35_cast1</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</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>195</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>55</id> <name>tmp_35_cast2</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</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>196</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_46"> <Value> <Obj> <type>0</type> <id>56</id> <name>p_shl4</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>15</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>198</item> <item>199</item> <item>201</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_47"> <Value> <Obj> <type>0</type> <id>57</id> <name>p_shl4_cast</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</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>202</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_48"> <Value> <Obj> <type>0</type> <id>58</id> <name>tmp_37_cast1</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</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>203</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_49"> <Value> <Obj> <type>0</type> <id>59</id> <name>tmp_25</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>204</item> <item>206</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_50"> <Value> <Obj> <type>0</type> <id>60</id> <name>tmp2</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>15</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>207</item> <item>208</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_51"> <Value> <Obj> <type>0</type> <id>61</id> <name>tmp2_cast</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</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>209</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_52"> <Value> <Obj> <type>0</type> <id>62</id> <name>tmp1</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</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>210</item> <item>211</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_53"> <Value> <Obj> <type>0</type> <id>63</id> <name>tmp4</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</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>212</item> <item>214</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_54"> <Value> <Obj> <type>0</type> <id>64</id> <name>tmp4_cast</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</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>215</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_55"> <Value> <Obj> <type>0</type> <id>65</id> <name>tmp3</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>216</item> <item>217</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_56"> <Value> <Obj> <type>0</type> <id>66</id> <name>tmp3_cast</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</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>218</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_57"> <Value> <Obj> <type>0</type> <id>67</id> <name>tmp_26</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</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>219</item> <item>220</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_58"> <Value> <Obj> <type>0</type> <id>68</id> <name>tmp_27</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>222</item> <item>223</item> <item>225</item> <item>227</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_59"> <Value> <Obj> <type>0</type> <id>69</id> <name>Y</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>57</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>57</second> </item> </second> </item> </inlineStackInfo> <originalName>Y</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>228</item> <item>230</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_60"> <Value> <Obj> <type>0</type> <id>70</id> <name>tmp_28</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>58</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>15</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>231</item> <item>233</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_61"> <Value> <Obj> <type>0</type> <id>71</id> <name>tmp_44_cast</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>58</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>234</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_62"> <Value> <Obj> <type>0</type> <id>72</id> <name>tmp_29</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>58</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>235</item> <item>237</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_63"> <Value> <Obj> <type>0</type> <id>73</id> <name>p_shl2</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>58</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>15</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>238</item> <item>239</item> <item>240</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_64"> <Value> <Obj> <type>0</type> <id>74</id> <name>p_shl2_cast</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>58</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>241</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_65"> <Value> <Obj> <type>0</type> <id>75</id> <name>p_shl3</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>58</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>243</item> <item>244</item> <item>246</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_66"> <Value> <Obj> <type>0</type> <id>76</id> <name>p_shl3_cast9</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>58</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>247</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_67"> <Value> <Obj> <type>0</type> <id>77</id> <name>p_shl3_cast</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>58</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>248</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_68"> <Value> <Obj> <type>0</type> <id>78</id> <name>tmp_30</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>58</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>249</item> <item>250</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_69"> <Value> <Obj> <type>0</type> <id>79</id> <name>tmp5</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>58</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>251</item> <item>252</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_70"> <Value> <Obj> <type>0</type> <id>80</id> <name>tmp6</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>58</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>253</item> <item>255</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_71"> <Value> <Obj> <type>0</type> <id>81</id> <name>tmp_31</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>58</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>256</item> <item>257</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_72"> <Value> <Obj> <type>0</type> <id>82</id> <name>tmp_32</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>58</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>258</item> <item>259</item> <item>260</item> <item>261</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_73"> <Value> <Obj> <type>0</type> <id>83</id> <name>U</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>58</second> </item> </second> </item> </inlineStackInfo> <originalName>U</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>262</item> <item>264</item> </oprand_edges> <opcode>xor</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_74"> <Value> <Obj> <type>0</type> <id>84</id> <name>tmp_33</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>59</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>265</item> <item>267</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_75"> <Value> <Obj> <type>0</type> <id>85</id> <name>tmp_34</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>59</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>268</item> <item>270</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_76"> <Value> <Obj> <type>0</type> <id>86</id> <name>p_neg</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>58</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>272</item> <item>273</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_77"> <Value> <Obj> <type>0</type> <id>87</id> <name>p_neg_cast</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>58</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>58</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>274</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_78"> <Value> <Obj> <type>0</type> <id>88</id> <name>p_shl1</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>59</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>9</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>275</item> <item>276</item> <item>277</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_79"> <Value> <Obj> <type>0</type> <id>89</id> <name>p_shl1_cast</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>59</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>278</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_80"> <Value> <Obj> <type>0</type> <id>90</id> <name>tmp_35</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>59</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>279</item> <item>280</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_81"> <Value> <Obj> <type>0</type> <id>91</id> <name>tmp7</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>59</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>281</item> <item>282</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_82"> <Value> <Obj> <type>0</type> <id>92</id> <name>tmp8</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>59</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>283</item> <item>285</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_83"> <Value> <Obj> <type>0</type> <id>93</id> <name>tmp8_cast</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>59</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>286</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_84"> <Value> <Obj> <type>0</type> <id>94</id> <name>tmp_36</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>59</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>287</item> <item>288</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_85"> <Value> <Obj> <type>0</type> <id>95</id> <name>tmp_37</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>59</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>289</item> <item>290</item> <item>291</item> <item>292</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_86"> <Value> <Obj> <type>0</type> <id>96</id> <name>V</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>59</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>59</second> </item> </second> </item> </inlineStackInfo> <originalName>V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>293</item> <item>294</item> </oprand_edges> <opcode>xor</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_87"> <Value> <Obj> <type>0</type> <id>97</id> <name></name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>60</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>60</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>295</item> <item>296</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_88"> <Value> <Obj> <type>0</type> <id>98</id> <name></name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>61</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>61</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>297</item> <item>298</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_89"> <Value> <Obj> <type>0</type> <id>99</id> <name></name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>62</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>62</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>299</item> <item>300</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_90"> <Value> <Obj> <type>0</type> <id>101</id> <name></name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>52</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>52</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>301</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_91"> <Value> <Obj> <type>0</type> <id>104</id> <name></name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>49</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>49</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>302</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_92"> <Value> <Obj> <type>0</type> <id>106</id> <name>mrv</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>65</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>65</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>304</item> <item>305</item> </oprand_edges> <opcode>insertvalue</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_93"> <Value> <Obj> <type>0</type> <id>107</id> <name>mrv_1</name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>65</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>65</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>306</item> <item>307</item> </oprand_edges> <opcode>insertvalue</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_94"> <Value> <Obj> <type>0</type> <id>108</id> <name></name> <fileName>yuv_filter.c</fileName> <fileDirectory>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</fileDirectory> <lineNumber>65</lineNumber> <contextFuncName>rgb2yuv</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/lfvelez/Documentos/ISPR/HLS/labsource/labs/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>yuv_filter.c</first> <second>rgb2yuv</second> </first> <second>65</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>308</item> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>23</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_95"> <Value> <Obj> <type>2</type> <id>116</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>16</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>124</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>16</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_97"> <Value> <Obj> <type>2</type> <id>133</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>10</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_98"> <Value> <Obj> <type>2</type> <id>139</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_99"> <Value> <Obj> <type>2</type> <id>160</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="_100"> <Value> <Obj> <type>2</type> <id>186</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_101"> <Value> <Obj> <type>2</type> <id>192</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_102"> <Value> <Obj> <type>2</type> <id>200</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>7</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_103"> <Value> <Obj> <type>2</type> <id>205</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>13</bitwidth> </Value> <const_type>0</const_type> <content>25</content> </item> <item class_id_reference="16" object_id="_104"> <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>9</bitwidth> </Value> <const_type>0</const_type> <content>128</content> </item> <item class_id_reference="16" object_id="_105"> <Value> <Obj> <type>2</type> <id>224</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>8</content> </item> <item class_id_reference="16" object_id="_106"> <Value> <Obj> <type>2</type> <id>226</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>15</content> </item> <item class_id_reference="16" object_id="_107"> <Value> <Obj> <type>2</type> <id>229</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <const_type>0</const_type> <content>16</content> </item> <item class_id_reference="16" object_id="_108"> <Value> <Obj> <type>2</type> <id>232</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>15</bitwidth> </Value> <const_type>0</const_type> <content>32730</content> </item> <item class_id_reference="16" object_id="_109"> <Value> <Obj> <type>2</type> <id>236</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>65462</content> </item> <item class_id_reference="16" object_id="_110"> <Value> <Obj> <type>2</type> <id>245</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="_111"> <Value> <Obj> <type>2</type> <id>254</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>128</content> </item> <item class_id_reference="16" object_id="_112"> <Value> <Obj> <type>2</type> <id>263</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <const_type>0</const_type> <content>128</content> </item> <item class_id_reference="16" object_id="_113"> <Value> <Obj> <type>2</type> <id>266</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>122</content> </item> <item class_id_reference="16" object_id="_114"> <Value> <Obj> <type>2</type> <id>269</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>65442</content> </item> <item class_id_reference="16" object_id="_115"> <Value> <Obj> <type>2</type> <id>271</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>13</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_116"> <Value> <Obj> <type>2</type> <id>284</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <const_type>0</const_type> <content>128</content> </item> <item class_id_reference="16" object_id="_117"> <Value> <Obj> <type>2</type> <id>303</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>4</const_type> <content>&lt;Undef not integral&gt;</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_118"> <Obj> <type>3</type> <id>12</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>9</item> <item>10</item> <item>11</item> </node_objs> </item> <item class_id_reference="18" object_id="_119"> <Obj> <type>3</type> <id>17</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>13</item> <item>14</item> <item>15</item> <item>16</item> </node_objs> </item> <item class_id_reference="18" object_id="_120"> <Obj> <type>3</type> <id>27</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>21</item> <item>22</item> <item>23</item> <item>24</item> <item>25</item> <item>26</item> </node_objs> </item> <item class_id_reference="18" object_id="_121"> <Obj> <type>3</type> <id>32</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>28</item> <item>29</item> <item>30</item> <item>31</item> </node_objs> </item> <item class_id_reference="18" object_id="_122"> <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>65</count> <item_version>0</item_version> <item>36</item> <item>37</item> <item>38</item> <item>39</item> <item>40</item> <item>41</item> <item>42</item> <item>43</item> <item>44</item> <item>45</item> <item>46</item> <item>47</item> <item>48</item> <item>49</item> <item>50</item> <item>51</item> <item>52</item> <item>53</item> <item>54</item> <item>55</item> <item>56</item> <item>57</item> <item>58</item> <item>59</item> <item>60</item> <item>61</item> <item>62</item> <item>63</item> <item>64</item> <item>65</item> <item>66</item> <item>67</item> <item>68</item> <item>69</item> <item>70</item> <item>71</item> <item>72</item> <item>73</item> <item>74</item> <item>75</item> <item>76</item> <item>77</item> <item>78</item> <item>79</item> <item>80</item> <item>81</item> <item>82</item> <item>83</item> <item>84</item> <item>85</item> <item>86</item> <item>87</item> <item>88</item> <item>89</item> <item>90</item> <item>91</item> <item>92</item> <item>93</item> <item>94</item> <item>95</item> <item>96</item> <item>97</item> <item>98</item> <item>99</item> <item>101</item> </node_objs> </item> <item class_id_reference="18" object_id="_123"> <Obj> <type>3</type> <id>105</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>104</item> </node_objs> </item> <item class_id_reference="18" object_id="_124"> <Obj> <type>3</type> <id>109</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>106</item> <item>107</item> <item>108</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>163</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_125"> <id>112</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_126"> <id>114</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_127"> <id>115</id> <edge_type>2</edge_type> <source_obj>17</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_128"> <id>117</id> <edge_type>1</edge_type> <source_obj>116</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_129"> <id>118</id> <edge_type>2</edge_type> <source_obj>12</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_130"> <id>119</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_131"> <id>120</id> <edge_type>2</edge_type> <source_obj>105</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_132"> <id>121</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_133"> <id>122</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_134"> <id>123</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="20" object_id="_135"> <id>125</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="20" object_id="_136"> <id>126</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_137"> <id>127</id> <edge_type>2</edge_type> <source_obj>27</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_138"> <id>128</id> <edge_type>2</edge_type> <source_obj>109</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_139"> <id>129</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_140"> <id>132</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_141"> <id>134</id> <edge_type>1</edge_type> <source_obj>133</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_142"> <id>135</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_143"> <id>138</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_144"> <id>140</id> <edge_type>1</edge_type> <source_obj>139</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_145"> <id>141</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_146"> <id>142</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_147"> <id>143</id> <edge_type>2</edge_type> <source_obj>32</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_148"> <id>144</id> <edge_type>1</edge_type> <source_obj>116</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_149"> <id>145</id> <edge_type>2</edge_type> <source_obj>27</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_150"> <id>146</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_151"> <id>147</id> <edge_type>2</edge_type> <source_obj>102</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_152"> <id>148</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_153"> <id>149</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_154"> <id>150</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_155"> <id>151</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_156"> <id>152</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>31</sink_obj> </item> <item class_id_reference="20" object_id="_157"> <id>153</id> <edge_type>2</edge_type> <source_obj>102</source_obj> <sink_obj>31</sink_obj> </item> <item class_id_reference="20" object_id="_158"> <id>154</id> <edge_type>2</edge_type> <source_obj>105</source_obj> <sink_obj>31</sink_obj> </item> <item class_id_reference="20" object_id="_159"> <id>155</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_160"> <id>156</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_161"> <id>157</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_162"> <id>158</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_163"> <id>159</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_164"> <id>161</id> <edge_type>1</edge_type> <source_obj>160</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_165"> <id>162</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_166"> <id>163</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>40</sink_obj> </item> <item class_id_reference="20" object_id="_167"> <id>164</id> <edge_type>1</edge_type> <source_obj>160</source_obj> <sink_obj>40</sink_obj> </item> <item class_id_reference="20" object_id="_168"> <id>165</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>40</sink_obj> </item> <item class_id_reference="20" object_id="_169"> <id>166</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_170"> <id>167</id> <edge_type>1</edge_type> <source_obj>160</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_171"> <id>168</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_172"> <id>169</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>42</sink_obj> </item> <item class_id_reference="20" object_id="_173"> <id>170</id> <edge_type>1</edge_type> <source_obj>160</source_obj> <sink_obj>42</sink_obj> </item> <item class_id_reference="20" object_id="_174"> <id>171</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>42</sink_obj> </item> <item class_id_reference="20" object_id="_175"> <id>172</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_176"> <id>173</id> <edge_type>1</edge_type> <source_obj>160</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_177"> <id>174</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_178"> <id>175</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_179"> <id>176</id> <edge_type>1</edge_type> <source_obj>160</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_180"> <id>177</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_181"> <id>178</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>45</sink_obj> </item> <item class_id_reference="20" object_id="_182"> <id>179</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>46</sink_obj> </item> <item class_id_reference="20" object_id="_183"> <id>180</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>47</sink_obj> </item> <item class_id_reference="20" object_id="_184"> <id>181</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_185"> <id>182</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>49</sink_obj> </item> <item class_id_reference="20" object_id="_186"> <id>185</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_187"> <id>187</id> <edge_type>1</edge_type> <source_obj>186</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_188"> <id>188</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>51</sink_obj> </item> <item class_id_reference="20" object_id="_189"> <id>191</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>52</sink_obj> </item> <item class_id_reference="20" object_id="_190"> <id>193</id> <edge_type>1</edge_type> <source_obj>192</source_obj> <sink_obj>52</sink_obj> </item> <item class_id_reference="20" object_id="_191"> <id>194</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>53</sink_obj> </item> <item class_id_reference="20" object_id="_192"> <id>195</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>54</sink_obj> </item> <item class_id_reference="20" object_id="_193"> <id>196</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>55</sink_obj> </item> <item class_id_reference="20" object_id="_194"> <id>199</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>56</sink_obj> </item> <item class_id_reference="20" object_id="_195"> <id>201</id> <edge_type>1</edge_type> <source_obj>200</source_obj> <sink_obj>56</sink_obj> </item> <item class_id_reference="20" object_id="_196"> <id>202</id> <edge_type>1</edge_type> <source_obj>56</source_obj> <sink_obj>57</sink_obj> </item> <item class_id_reference="20" object_id="_197"> <id>203</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>58</sink_obj> </item> <item class_id_reference="20" object_id="_198"> <id>204</id> <edge_type>1</edge_type> <source_obj>58</source_obj> <sink_obj>59</sink_obj> </item> <item class_id_reference="20" object_id="_199"> <id>206</id> <edge_type>1</edge_type> <source_obj>205</source_obj> <sink_obj>59</sink_obj> </item> <item class_id_reference="20" object_id="_200"> <id>207</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>60</sink_obj> </item> <item class_id_reference="20" object_id="_201"> <id>208</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>60</sink_obj> </item> <item class_id_reference="20" object_id="_202"> <id>209</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>61</sink_obj> </item> <item class_id_reference="20" object_id="_203"> <id>210</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>62</sink_obj> </item> <item class_id_reference="20" object_id="_204"> <id>211</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>62</sink_obj> </item> <item class_id_reference="20" object_id="_205"> <id>212</id> <edge_type>1</edge_type> <source_obj>55</source_obj> <sink_obj>63</sink_obj> </item> <item class_id_reference="20" object_id="_206"> <id>214</id> <edge_type>1</edge_type> <source_obj>213</source_obj> <sink_obj>63</sink_obj> </item> <item class_id_reference="20" object_id="_207"> <id>215</id> <edge_type>1</edge_type> <source_obj>63</source_obj> <sink_obj>64</sink_obj> </item> <item class_id_reference="20" object_id="_208"> <id>216</id> <edge_type>1</edge_type> <source_obj>64</source_obj> <sink_obj>65</sink_obj> </item> <item class_id_reference="20" object_id="_209"> <id>217</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>65</sink_obj> </item> <item class_id_reference="20" object_id="_210"> <id>218</id> <edge_type>1</edge_type> <source_obj>65</source_obj> <sink_obj>66</sink_obj> </item> <item class_id_reference="20" object_id="_211"> <id>219</id> <edge_type>1</edge_type> <source_obj>66</source_obj> <sink_obj>67</sink_obj> </item> <item class_id_reference="20" object_id="_212"> <id>220</id> <edge_type>1</edge_type> <source_obj>62</source_obj> <sink_obj>67</sink_obj> </item> <item class_id_reference="20" object_id="_213"> <id>223</id> <edge_type>1</edge_type> <source_obj>67</source_obj> <sink_obj>68</sink_obj> </item> <item class_id_reference="20" object_id="_214"> <id>225</id> <edge_type>1</edge_type> <source_obj>224</source_obj> <sink_obj>68</sink_obj> </item> <item class_id_reference="20" object_id="_215"> <id>227</id> <edge_type>1</edge_type> <source_obj>226</source_obj> <sink_obj>68</sink_obj> </item> <item class_id_reference="20" object_id="_216"> <id>228</id> <edge_type>1</edge_type> <source_obj>68</source_obj> <sink_obj>69</sink_obj> </item> <item class_id_reference="20" object_id="_217"> <id>230</id> <edge_type>1</edge_type> <source_obj>229</source_obj> <sink_obj>69</sink_obj> </item> <item class_id_reference="20" object_id="_218"> <id>231</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>70</sink_obj> </item> <item class_id_reference="20" object_id="_219"> <id>233</id> <edge_type>1</edge_type> <source_obj>232</source_obj> <sink_obj>70</sink_obj> </item> <item class_id_reference="20" object_id="_220"> <id>234</id> <edge_type>1</edge_type> <source_obj>70</source_obj> <sink_obj>71</sink_obj> </item> <item class_id_reference="20" object_id="_221"> <id>235</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>72</sink_obj> </item> <item class_id_reference="20" object_id="_222"> <id>237</id> <edge_type>1</edge_type> <source_obj>236</source_obj> <sink_obj>72</sink_obj> </item> <item class_id_reference="20" object_id="_223"> <id>239</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>73</sink_obj> </item> <item class_id_reference="20" object_id="_224"> <id>240</id> <edge_type>1</edge_type> <source_obj>200</source_obj> <sink_obj>73</sink_obj> </item> <item class_id_reference="20" object_id="_225"> <id>241</id> <edge_type>1</edge_type> <source_obj>73</source_obj> <sink_obj>74</sink_obj> </item> <item class_id_reference="20" object_id="_226"> <id>244</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>75</sink_obj> </item> <item class_id_reference="20" object_id="_227"> <id>246</id> <edge_type>1</edge_type> <source_obj>245</source_obj> <sink_obj>75</sink_obj> </item> <item class_id_reference="20" object_id="_228"> <id>247</id> <edge_type>1</edge_type> <source_obj>75</source_obj> <sink_obj>76</sink_obj> </item> <item class_id_reference="20" object_id="_229"> <id>248</id> <edge_type>1</edge_type> <source_obj>75</source_obj> <sink_obj>77</sink_obj> </item> <item class_id_reference="20" object_id="_230"> <id>249</id> <edge_type>1</edge_type> <source_obj>74</source_obj> <sink_obj>78</sink_obj> </item> <item class_id_reference="20" object_id="_231"> <id>250</id> <edge_type>1</edge_type> <source_obj>77</source_obj> <sink_obj>78</sink_obj> </item> <item class_id_reference="20" object_id="_232"> <id>251</id> <edge_type>1</edge_type> <source_obj>71</source_obj> <sink_obj>79</sink_obj> </item> <item class_id_reference="20" object_id="_233"> <id>252</id> <edge_type>1</edge_type> <source_obj>72</source_obj> <sink_obj>79</sink_obj> </item> <item class_id_reference="20" object_id="_234"> <id>253</id> <edge_type>1</edge_type> <source_obj>78</source_obj> <sink_obj>80</sink_obj> </item> <item class_id_reference="20" object_id="_235"> <id>255</id> <edge_type>1</edge_type> <source_obj>254</source_obj> <sink_obj>80</sink_obj> </item> <item class_id_reference="20" object_id="_236"> <id>256</id> <edge_type>1</edge_type> <source_obj>80</source_obj> <sink_obj>81</sink_obj> </item> <item class_id_reference="20" object_id="_237"> <id>257</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>81</sink_obj> </item> <item class_id_reference="20" object_id="_238"> <id>259</id> <edge_type>1</edge_type> <source_obj>81</source_obj> <sink_obj>82</sink_obj> </item> <item class_id_reference="20" object_id="_239"> <id>260</id> <edge_type>1</edge_type> <source_obj>224</source_obj> <sink_obj>82</sink_obj> </item> <item class_id_reference="20" object_id="_240"> <id>261</id> <edge_type>1</edge_type> <source_obj>226</source_obj> <sink_obj>82</sink_obj> </item> <item class_id_reference="20" object_id="_241"> <id>262</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>83</sink_obj> </item> <item class_id_reference="20" object_id="_242"> <id>264</id> <edge_type>1</edge_type> <source_obj>263</source_obj> <sink_obj>83</sink_obj> </item> <item class_id_reference="20" object_id="_243"> <id>265</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>84</sink_obj> </item> <item class_id_reference="20" object_id="_244"> <id>267</id> <edge_type>1</edge_type> <source_obj>266</source_obj> <sink_obj>84</sink_obj> </item> <item class_id_reference="20" object_id="_245"> <id>268</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>85</sink_obj> </item> <item class_id_reference="20" object_id="_246"> <id>270</id> <edge_type>1</edge_type> <source_obj>269</source_obj> <sink_obj>85</sink_obj> </item> <item class_id_reference="20" object_id="_247"> <id>272</id> <edge_type>1</edge_type> <source_obj>271</source_obj> <sink_obj>86</sink_obj> </item> <item class_id_reference="20" object_id="_248"> <id>273</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>86</sink_obj> </item> <item class_id_reference="20" object_id="_249"> <id>274</id> <edge_type>1</edge_type> <source_obj>86</source_obj> <sink_obj>87</sink_obj> </item> <item class_id_reference="20" object_id="_250"> <id>276</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>88</sink_obj> </item> <item class_id_reference="20" object_id="_251"> <id>277</id> <edge_type>1</edge_type> <source_obj>192</source_obj> <sink_obj>88</sink_obj> </item> <item class_id_reference="20" object_id="_252"> <id>278</id> <edge_type>1</edge_type> <source_obj>88</source_obj> <sink_obj>89</sink_obj> </item> <item class_id_reference="20" object_id="_253"> <id>279</id> <edge_type>1</edge_type> <source_obj>87</source_obj> <sink_obj>90</sink_obj> </item> <item class_id_reference="20" object_id="_254"> <id>280</id> <edge_type>1</edge_type> <source_obj>89</source_obj> <sink_obj>90</sink_obj> </item> <item class_id_reference="20" object_id="_255"> <id>281</id> <edge_type>1</edge_type> <source_obj>84</source_obj> <sink_obj>91</sink_obj> </item> <item class_id_reference="20" object_id="_256"> <id>282</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>91</sink_obj> </item> <item class_id_reference="20" object_id="_257"> <id>283</id> <edge_type>1</edge_type> <source_obj>90</source_obj> <sink_obj>92</sink_obj> </item> <item class_id_reference="20" object_id="_258"> <id>285</id> <edge_type>1</edge_type> <source_obj>284</source_obj> <sink_obj>92</sink_obj> </item> <item class_id_reference="20" object_id="_259"> <id>286</id> <edge_type>1</edge_type> <source_obj>92</source_obj> <sink_obj>93</sink_obj> </item> <item class_id_reference="20" object_id="_260"> <id>287</id> <edge_type>1</edge_type> <source_obj>93</source_obj> <sink_obj>94</sink_obj> </item> <item class_id_reference="20" object_id="_261"> <id>288</id> <edge_type>1</edge_type> <source_obj>91</source_obj> <sink_obj>94</sink_obj> </item> <item class_id_reference="20" object_id="_262"> <id>290</id> <edge_type>1</edge_type> <source_obj>94</source_obj> <sink_obj>95</sink_obj> </item> <item class_id_reference="20" object_id="_263"> <id>291</id> <edge_type>1</edge_type> <source_obj>224</source_obj> <sink_obj>95</sink_obj> </item> <item class_id_reference="20" object_id="_264"> <id>292</id> <edge_type>1</edge_type> <source_obj>226</source_obj> <sink_obj>95</sink_obj> </item> <item class_id_reference="20" object_id="_265"> <id>293</id> <edge_type>1</edge_type> <source_obj>95</source_obj> <sink_obj>96</sink_obj> </item> <item class_id_reference="20" object_id="_266"> <id>294</id> <edge_type>1</edge_type> <source_obj>263</source_obj> <sink_obj>96</sink_obj> </item> <item class_id_reference="20" object_id="_267"> <id>295</id> <edge_type>1</edge_type> <source_obj>69</source_obj> <sink_obj>97</sink_obj> </item> <item class_id_reference="20" object_id="_268"> <id>296</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>97</sink_obj> </item> <item class_id_reference="20" object_id="_269"> <id>297</id> <edge_type>1</edge_type> <source_obj>83</source_obj> <sink_obj>98</sink_obj> </item> <item class_id_reference="20" object_id="_270"> <id>298</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>98</sink_obj> </item> <item class_id_reference="20" object_id="_271"> <id>299</id> <edge_type>1</edge_type> <source_obj>96</source_obj> <sink_obj>99</sink_obj> </item> <item class_id_reference="20" object_id="_272"> <id>300</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>99</sink_obj> </item> <item class_id_reference="20" object_id="_273"> <id>301</id> <edge_type>2</edge_type> <source_obj>32</source_obj> <sink_obj>101</sink_obj> </item> <item class_id_reference="20" object_id="_274"> <id>302</id> <edge_type>2</edge_type> <source_obj>17</source_obj> <sink_obj>104</sink_obj> </item> <item class_id_reference="20" object_id="_275"> <id>304</id> <edge_type>1</edge_type> <source_obj>303</source_obj> <sink_obj>106</sink_obj> </item> <item class_id_reference="20" object_id="_276"> <id>305</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>106</sink_obj> </item> <item class_id_reference="20" object_id="_277"> <id>306</id> <edge_type>1</edge_type> <source_obj>106</source_obj> <sink_obj>107</sink_obj> </item> <item class_id_reference="20" object_id="_278"> <id>307</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>107</sink_obj> </item> <item class_id_reference="20" object_id="_279"> <id>308</id> <edge_type>1</edge_type> <source_obj>107</source_obj> <sink_obj>108</sink_obj> </item> <item class_id_reference="20" object_id="_280"> <id>345</id> <edge_type>2</edge_type> <source_obj>12</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_281"> <id>346</id> <edge_type>2</edge_type> <source_obj>17</source_obj> <sink_obj>109</sink_obj> </item> <item class_id_reference="20" object_id="_282"> <id>347</id> <edge_type>2</edge_type> <source_obj>17</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_283"> <id>348</id> <edge_type>2</edge_type> <source_obj>27</source_obj> <sink_obj>32</sink_obj> </item> <item class_id_reference="20" object_id="_284"> <id>349</id> <edge_type>2</edge_type> <source_obj>32</source_obj> <sink_obj>105</sink_obj> </item> <item class_id_reference="20" object_id="_285"> <id>350</id> <edge_type>2</edge_type> <source_obj>32</source_obj> <sink_obj>102</sink_obj> </item> <item class_id_reference="20" object_id="_286"> <id>351</id> <edge_type>2</edge_type> <source_obj>102</source_obj> <sink_obj>32</sink_obj> </item> <item class_id_reference="20" object_id="_287"> <id>352</id> <edge_type>2</edge_type> <source_obj>105</source_obj> <sink_obj>17</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_288"> <mId>1</mId> <mTag>rgb2yuv</mTag> <mType>0</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>7</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>24579841</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_289"> <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>12</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="_290"> <mId>3</mId> <mTag>RGB2YUV_LOOP_X</mTag> <mType>1</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>4</item> <item>5</item> <item>6</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>200</mMinTripCount> <mMaxTripCount>1920</mMaxTripCount> <mMinLatency>24579840</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_291"> <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>17</item> <item>27</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="_292"> <mId>5</mId> <mTag>RGB2YUV_LOOP_Y</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>32</item> <item>102</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>200</mMinTripCount> <mMaxTripCount>1280</mMaxTripCount> <mMinLatency>12800</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_293"> <mId>6</mId> <mTag>Region 2</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>105</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="_294"> <mId>7</mId> <mTag>Return</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>109</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="_295"> <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="_296"> <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="_297"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_298"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_299"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_300"> <id>2</id> <operations> <count>16</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_301"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_302"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_303"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_304"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_305"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_306"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_307"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_308"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_309"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_310"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_311"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_312"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_313"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_314"> <id>106</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_315"> <id>107</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_316"> <id>108</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_317"> <id>3</id> <operations> <count>13</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_318"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_319"> <id>29</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_320"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_321"> <id>31</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_322"> <id>36</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_323"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_324"> <id>38</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_325"> <id>39</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_326"> <id>40</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_327"> <id>45</id> <stage>4</stage> <latency>4</latency> </item> <item class_id_reference="28" object_id="_328"> <id>46</id> <stage>4</stage> <latency>4</latency> </item> <item class_id_reference="28" object_id="_329"> <id>103</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_330"> <id>104</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_331"> <id>4</id> <operations> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_332"> <id>45</id> <stage>3</stage> <latency>4</latency> </item> <item class_id_reference="28" object_id="_333"> <id>46</id> <stage>3</stage> <latency>4</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_334"> <id>5</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_335"> <id>41</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_336"> <id>45</id> <stage>2</stage> <latency>4</latency> </item> <item class_id_reference="28" object_id="_337"> <id>46</id> <stage>2</stage> <latency>4</latency> </item> <item class_id_reference="28" object_id="_338"> <id>47</id> <stage>4</stage> <latency>4</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_339"> <id>6</id> <operations> <count>3</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_340"> <id>45</id> <stage>1</stage> <latency>4</latency> </item> <item class_id_reference="28" object_id="_341"> <id>46</id> <stage>1</stage> <latency>4</latency> </item> <item class_id_reference="28" object_id="_342"> <id>47</id> <stage>3</stage> <latency>4</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_343"> <id>7</id> <operations> <count>5</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_344"> <id>47</id> <stage>2</stage> <latency>4</latency> </item> <item class_id_reference="28" object_id="_345"> <id>48</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_346"> <id>54</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_347"> <id>72</id> <stage>3</stage> <latency>3</latency> </item> <item class_id_reference="28" object_id="_348"> <id>84</id> <stage>3</stage> <latency>3</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_349"> <id>8</id> <operations> <count>5</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_350"> <id>47</id> <stage>1</stage> <latency>4</latency> </item> <item class_id_reference="28" object_id="_351"> <id>55</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_352"> <id>63</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_353"> <id>72</id> <stage>2</stage> <latency>3</latency> </item> <item class_id_reference="28" object_id="_354"> <id>84</id> <stage>2</stage> <latency>3</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_355"> <id>9</id> <operations> <count>30</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_356"> <id>50</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_357"> <id>51</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_358"> <id>52</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_359"> <id>53</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_360"> <id>56</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_361"> <id>57</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_362"> <id>58</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_363"> <id>59</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_364"> <id>60</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_365"> <id>61</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_366"> <id>62</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_367"> <id>64</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_368"> <id>65</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_369"> <id>66</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_370"> <id>67</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_371"> <id>68</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_372"> <id>72</id> <stage>1</stage> <latency>3</latency> </item> <item class_id_reference="28" object_id="_373"> <id>73</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_374"> <id>74</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_375"> <id>75</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_376"> <id>76</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_377"> <id>77</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_378"> <id>78</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_379"> <id>84</id> <stage>1</stage> <latency>3</latency> </item> <item class_id_reference="28" object_id="_380"> <id>86</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_381"> <id>87</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_382"> <id>88</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_383"> <id>89</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_384"> <id>90</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_385"> <id>92</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_386"> <id>10</id> <operations> <count>15</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_387"> <id>42</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_388"> <id>49</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_389"> <id>69</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_390"> <id>70</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_391"> <id>71</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_392"> <id>79</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_393"> <id>80</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_394"> <id>81</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_395"> <id>82</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_396"> <id>85</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_397"> <id>91</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_398"> <id>93</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_399"> <id>94</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_400"> <id>95</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_401"> <id>97</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_402"> <id>11</id> <operations> <count>7</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_403"> <id>43</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>83</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_406"> <id>96</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_407"> <id>97</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_408"> <id>98</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_409"> <id>99</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_410"> <id>12</id> <operations> <count>7</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_411"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_412"> <id>34</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_413"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_414"> <id>98</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_415"> <id>99</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_416"> <id>100</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_417"> <id>101</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>13</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_418"> <inState>1</inState> <outState>2</outState> <condition class_id="31" tracking_level="0" version="0"> <id>21</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="_419"> <inState>2</inState> <outState>3</outState> <condition> <id>23</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>14</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_420"> <inState>3</inState> <outState>4</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>29</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_421"> <inState>4</inState> <outState>5</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="_422"> <inState>5</inState> <outState>6</outState> <condition> <id>27</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="_423"> <inState>6</inState> <outState>7</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="_424"> <inState>7</inState> <outState>8</outState> <condition> <id>29</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="_425"> <inState>8</inState> <outState>9</outState> <condition> <id>30</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="_426"> <inState>9</inState> <outState>10</outState> <condition> <id>31</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="_427"> <inState>10</inState> <outState>11</outState> <condition> <id>32</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="_428"> <inState>11</inState> <outState>12</outState> <condition> <id>33</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="_429"> <inState>12</inState> <outState>3</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="_430"> <inState>3</inState> <outState>2</outState> <condition> <id>37</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>29</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>86</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>9</first> <second class_id="39" tracking_level="0" version="0"> <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>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>15</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>16</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>23</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>24</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>31</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>37</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>42</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>43</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>44</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>45</first> <second> <first>2</first> <second>3</second> </second> </item> <item> <first>46</first> <second> <first>2</first> <second>3</second> </second> </item> <item> <first>47</first> <second> <first>4</first> <second>3</second> </second> </item> <item> <first>48</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>49</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>50</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>51</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>52</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>53</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>54</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>55</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>56</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>57</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>58</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>59</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>60</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>61</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>62</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>63</first> <second> <first>7</first> <second>0</second> </second> </item> <item> <first>64</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>65</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>66</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>67</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>68</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>69</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>70</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>71</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>72</first> <second> <first>6</first> <second>2</second> </second> </item> <item> <first>73</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>74</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>75</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>76</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>77</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>78</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>79</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>80</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>81</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>82</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>83</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>84</first> <second> <first>6</first> <second>2</second> </second> </item> <item> <first>85</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>86</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>87</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>88</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>89</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>90</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>91</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>92</first> <second> <first>8</first> <second>0</second> </second> </item> <item> <first>93</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>94</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>95</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>96</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>97</first> <second> <first>9</first> <second>1</second> </second> </item> <item> <first>98</first> <second> <first>10</first> <second>1</second> </second> </item> <item> <first>99</first> <second> <first>10</first> <second>1</second> </second> </item> <item> <first>101</first> <second> <first>11</first> <second>0</second> </second> </item> <item> <first>104</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>106</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>107</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>108</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>7</count> <item_version>0</item_version> <item class_id="41" tracking_level="0" version="0"> <first>12</first> <second class_id="42" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>27</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>32</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>102</first> <second> <first>2</first> <second>11</second> </second> </item> <item> <first>105</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>109</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>75</count> <item_version>0</item_version> <item class_id="45" tracking_level="0" version="0"> <first>102</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>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>40</item> </second> </item> <item> <first>128</first> <second> <count>4</count> <item_version>0</item_version> <item>45</item> <item>45</item> <item>45</item> <item>45</item> </second> </item> <item> <first>133</first> <second> <count>4</count> <item_version>0</item_version> <item>46</item> <item>46</item> <item>46</item> <item>46</item> </second> </item> <item> <first>138</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>145</first> <second> <count>4</count> <item_version>0</item_version> <item>47</item> <item>47</item> <item>47</item> <item>47</item> </second> </item> <item> <first>150</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>157</first> <second> <count>2</count> <item_version>0</item_version> <item>97</item> <item>97</item> </second> </item> <item> <first>162</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>169</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>176</first> <second> <count>2</count> <item_version>0</item_version> <item>98</item> <item>98</item> </second> </item> <item> <first>181</first> <second> <count>2</count> <item_version>0</item_version> <item>99</item> <item>99</item> </second> </item> <item> <first>190</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>201</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>208</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>213</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>219</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>223</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>231</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>235</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>243</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>249</first> <second> <count>1</count> <item_version>0</item_version> <item>106</item> </second> </item> <item> <first>254</first> <second> <count>1</count> <item_version>0</item_version> <item>107</item> </second> </item> <item> <first>259</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>264</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>270</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>274</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>279</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>285</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>288</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>291</first> <second> <count>3</count> <item_version>0</item_version> <item>72</item> <item>72</item> <item>72</item> </second> </item> <item> <first>297</first> <second> <count>3</count> <item_version>0</item_version> <item>84</item> <item>84</item> <item>84</item> </second> </item> <item> <first>303</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>306</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>312</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>319</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>323</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>330</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>334</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>341</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>345</first> <second> <count>1</count> <item_version>0</item_version> <item>58</item> </second> </item> <item> <first>348</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>354</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>358</first> <second> <count>1</count> <item_version>0</item_version> <item>62</item> </second> </item> <item> <first>364</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>367</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>370</first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>376</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>386</first> <second> <count>1</count> <item_version>0</item_version> <item>73</item> </second> </item> <item> <first>393</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> <item> <first>397</first> <second> <count>1</count> <item_version>0</item_version> <item>75</item> </second> </item> <item> <first>404</first> <second> <count>1</count> <item_version>0</item_version> <item>76</item> </second> </item> <item> <first>408</first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> <item> <first>412</first> <second> <count>1</count> <item_version>0</item_version> <item>78</item> </second> </item> <item> <first>418</first> <second> <count>1</count> <item_version>0</item_version> <item>86</item> </second> </item> <item> <first>424</first> <second> <count>1</count> <item_version>0</item_version> <item>87</item> </second> </item> <item> <first>428</first> <second> <count>1</count> <item_version>0</item_version> <item>88</item> </second> </item> <item> <first>435</first> <second> <count>1</count> <item_version>0</item_version> <item>89</item> </second> </item> <item> <first>439</first> <second> <count>1</count> <item_version>0</item_version> <item>90</item> </second> </item> <item> <first>445</first> <second> <count>1</count> <item_version>0</item_version> <item>92</item> </second> </item> <item> <first>451</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>454</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>460</first> <second> <count>1</count> <item_version>0</item_version> <item>80</item> </second> </item> <item> <first>465</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>470</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>480</first> <second> <count>1</count> <item_version>0</item_version> <item>93</item> </second> </item> <item> <first>483</first> <second> <count>1</count> <item_version>0</item_version> <item>94</item> </second> </item> <item> <first>488</first> <second> <count>1</count> <item_version>0</item_version> <item>95</item> </second> </item> <item> <first>498</first> <second> <count>1</count> <item_version>0</item_version> <item>83</item> </second> </item> <item> <first>504</first> <second> <count>1</count> <item_version>0</item_version> <item>96</item> </second> </item> <item> <first>510</first> <second> <count>2</count> <item_version>0</item_version> <item>59</item> <item>65</item> </second> </item> <item> <first>519</first> <second> <count>3</count> <item_version>0</item_version> <item>70</item> <item>71</item> <item>79</item> </second> </item> <item> <first>527</first> <second> <count>2</count> <item_version>0</item_version> <item>85</item> <item>91</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="47" tracking_level="0" version="0"> <count>65</count> <item_version>0</item_version> <item class_id="48" tracking_level="0" version="0"> <first>U_fu_498</first> <second> <count>1</count> <item_version>0</item_version> <item>83</item> </second> </item> <item> <first>V_fu_504</first> <second> <count>1</count> <item_version>0</item_version> <item>96</item> </second> </item> <item> <first>Y_fu_454</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>exitcond1_fu_208</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>exitcond_fu_259</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>grp_fu_510</first> <second> <count>2</count> <item_version>0</item_version> <item>59</item> <item>65</item> </second> </item> <item> <first>grp_fu_519</first> <second> <count>3</count> <item_version>0</item_version> <item>70</item> <item>71</item> <item>79</item> </second> </item> <item> <first>grp_fu_527</first> <second> <count>2</count> <item_version>0</item_version> <item>85</item> <item>91</item> </second> </item> <item> <first>in_channels_ch1_addr_gep_fu_114</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>in_channels_ch2_addr_gep_fu_121</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>in_channels_ch3_addr_gep_fu_138</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>mrv_1_fu_254</first> <second> <count>1</count> <item_version>0</item_version> <item>107</item> </second> </item> <item> <first>mrv_fu_249</first> <second> <count>1</count> <item_version>0</item_version> <item>106</item> </second> </item> <item> <first>out_channels_ch1_add_gep_fu_150</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>out_channels_ch2_add_gep_fu_162</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>out_channels_ch3_add_gep_fu_169</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>p_neg_cast_fu_424</first> <second> <count>1</count> <item_version>0</item_version> <item>87</item> </second> </item> <item> <first>p_neg_fu_418</first> <second> <count>1</count> <item_version>0</item_version> <item>86</item> </second> </item> <item> <first>p_shl1_cast_fu_435</first> <second> <count>1</count> <item_version>0</item_version> <item>89</item> </second> </item> <item> <first>p_shl1_fu_428</first> <second> <count>1</count> <item_version>0</item_version> <item>88</item> </second> </item> <item> <first>p_shl2_cast_fu_393</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> <item> <first>p_shl2_fu_386</first> <second> <count>1</count> <item_version>0</item_version> <item>73</item> </second> </item> <item> <first>p_shl3_cast9_fu_404</first> <second> <count>1</count> <item_version>0</item_version> <item>76</item> </second> </item> <item> <first>p_shl3_cast_fu_408</first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> <item> <first>p_shl3_fu_397</first> <second> <count>1</count> <item_version>0</item_version> <item>75</item> </second> </item> <item> <first>p_shl4_cast_fu_341</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>p_shl4_fu_334</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>p_shl5_cast_fu_319</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>p_shl5_fu_312</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>p_shl6_cast_fu_330</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>p_shl6_fu_323</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>p_shl7_cast_fu_235</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>p_shl_cast_fu_223</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>tmp1_fu_358</first> <second> <count>1</count> <item_version>0</item_version> <item>62</item> </second> </item> <item> <first>tmp2_cast_fu_354</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>tmp2_fu_348</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>tmp3_cast_fu_367</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>tmp4_cast_fu_364</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>tmp4_fu_306</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>tmp6_fu_460</first> <second> <count>1</count> <item_version>0</item_version> <item>80</item> </second> </item> <item> <first>tmp8_cast_fu_480</first> <second> <count>1</count> <item_version>0</item_version> <item>93</item> </second> </item> <item> <first>tmp8_fu_445</first> <second> <count>1</count> <item_version>0</item_version> <item>92</item> </second> </item> <item> <first>tmp_21_fu_231</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>tmp_22_fu_243</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>tmp_24_cast_fu_279</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>tmp_24_fu_274</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>tmp_26_fu_370</first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>tmp_27_fu_376</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>tmp_30_fu_412</first> <second> <count>1</count> <item_version>0</item_version> <item>78</item> </second> </item> <item> <first>tmp_31_fu_465</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>tmp_32_fu_470</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>tmp_33_cast1_fu_285</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>tmp_33_cast2_fu_451</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>tmp_35_cast1_fu_288</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>tmp_35_cast2_fu_303</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>tmp_35_fu_439</first> <second> <count>1</count> <item_version>0</item_version> <item>90</item> </second> </item> <item> <first>tmp_36_fu_483</first> <second> <count>1</count> <item_version>0</item_version> <item>94</item> </second> </item> <item> <first>tmp_37_cast1_fu_345</first> <second> <count>1</count> <item_version>0</item_version> <item>58</item> </second> </item> <item> <first>tmp_37_fu_488</first> <second> <count>1</count> <item_version>0</item_version> <item>95</item> </second> </item> <item> <first>tmp_cast_fu_270</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>tmp_fu_219</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>x_2_fu_213</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>x_phi_fu_190</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>y_2_fu_264</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>y_phi_fu_201</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>2</count> <item_version>0</item_version> <item> <first>grp_fu_291</first> <second> <count>3</count> <item_version>0</item_version> <item>72</item> <item>72</item> <item>72</item> </second> </item> <item> <first>grp_fu_297</first> <second> <count>3</count> <item_version>0</item_version> <item>84</item> <item>84</item> <item>84</item> </second> </item> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>2</count> <item_version>0</item_version> <item> <first>in_height_read_2_read_fu_102</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>in_width_read_2_read_fu_108</first> <second> <count>1</count> <item_version>0</item_version> <item>10</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="49" tracking_level="0" version="0"> <count>6</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>in_channels_ch1</first> <second>0</second> </first> <second> <count>4</count> <item_version>0</item_version> <item>45</item> <item>45</item> <item>45</item> <item>45</item> </second> </item> <item> <first> <first>in_channels_ch2</first> <second>0</second> </first> <second> <count>4</count> <item_version>0</item_version> <item>46</item> <item>46</item> <item>46</item> <item>46</item> </second> </item> <item> <first> <first>in_channels_ch3</first> <second>0</second> </first> <second> <count>4</count> <item_version>0</item_version> <item>47</item> <item>47</item> <item>47</item> <item>47</item> </second> </item> <item> <first> <first>out_channels_ch1</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>97</item> <item>97</item> </second> </item> <item> <first> <first>out_channels_ch2</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>98</item> <item>98</item> </second> </item> <item> <first> <first>out_channels_ch3</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>99</item> <item>99</item> </second> </item> </dp_mem_port_nodes> <dp_reg_nodes> <count>30</count> <item_version>0</item_version> <item> <first>186</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>197</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>534</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>540</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>549</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>554</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>562</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>567</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>575</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>580</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>585</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>590</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>598</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>605</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>610</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>616</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>624</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>629</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>634</first> <second> <count>1</count> <item_version>0</item_version> <item>72</item> </second> </item> <item> <first>639</first> <second> <count>1</count> <item_version>0</item_version> <item>78</item> </second> </item> <item> <first>644</first> <second> <count>1</count> <item_version>0</item_version> <item>84</item> </second> </item> <item> <first>649</first> <second> <count>1</count> <item_version>0</item_version> <item>92</item> </second> </item> <item> <first>654</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>659</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>664</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>669</first> <second> <count>1</count> <item_version>0</item_version> <item>95</item> </second> </item> <item> <first>674</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>679</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>684</first> <second> <count>1</count> <item_version>0</item_version> <item>83</item> </second> </item> <item> <first>689</first> <second> <count>1</count> <item_version>0</item_version> <item>96</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>30</count> <item_version>0</item_version> <item> <first>B_reg_616</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>G_reg_598</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>R_reg_590</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>U_reg_684</first> <second> <count>1</count> <item_version>0</item_version> <item>83</item> </second> </item> <item> <first>V_reg_689</first> <second> <count>1</count> <item_version>0</item_version> <item>96</item> </second> </item> <item> <first>Y_reg_659</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>in_channels_ch1_addr_reg_575</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>in_channels_ch2_addr_reg_580</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>in_channels_ch3_addr_reg_585</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>in_height_read_2_reg_534</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>in_width_read_2_reg_540</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>out_channels_ch1_add_reg_654</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>out_channels_ch2_add_reg_674</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>out_channels_ch3_add_reg_679</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>tmp4_reg_624</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>tmp8_reg_649</first> <second> <count>1</count> <item_version>0</item_version> <item>92</item> </second> </item> <item> <first>tmp_22_reg_554</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>tmp_24_cast_reg_567</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>tmp_27_reg_629</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>tmp_29_reg_634</first> <second> <count>1</count> <item_version>0</item_version> <item>72</item> </second> </item> <item> <first>tmp_30_reg_639</first> <second> <count>1</count> <item_version>0</item_version> <item>78</item> </second> </item> <item> <first>tmp_32_reg_664</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>tmp_33_cast1_reg_605</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>tmp_33_reg_644</first> <second> <count>1</count> <item_version>0</item_version> <item>84</item> </second> </item> <item> <first>tmp_35_cast1_reg_610</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>tmp_37_reg_669</first> <second> <count>1</count> <item_version>0</item_version> <item>95</item> </second> </item> <item> <first>x_2_reg_549</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>x_reg_186</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>y_2_reg_562</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>y_reg_197</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>2</count> <item_version>0</item_version> <item> <first>186</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>197</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>2</count> <item_version>0</item_version> <item> <first>x_reg_186</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>y_reg_197</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="52" tracking_level="0" version="0"> <count>8</count> <item_version>0</item_version> <item class_id="53" tracking_level="0" version="0"> <first>in_channels_ch1(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>load</first> <second> <count>4</count> <item_version>0</item_version> <item>45</item> <item>45</item> <item>45</item> <item>45</item> </second> </item> </second> </item> <item> <first>in_channels_ch2(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>load</first> <second> <count>4</count> <item_version>0</item_version> <item>46</item> <item>46</item> <item>46</item> <item>46</item> </second> </item> </second> </item> <item> <first>in_channels_ch3(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>load</first> <second> <count>4</count> <item_version>0</item_version> <item>47</item> <item>47</item> <item>47</item> <item>47</item> </second> </item> </second> </item> <item> <first>in_height_read</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> </second> </item> <item> <first>in_width_read</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> </second> </item> <item> <first>out_channels_ch1(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>store</first> <second> <count>2</count> <item_version>0</item_version> <item>97</item> <item>97</item> </second> </item> </second> </item> <item> <first>out_channels_ch2(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>store</first> <second> <count>2</count> <item_version>0</item_version> <item>98</item> <item>98</item> </second> </item> </second> </item> <item> <first>out_channels_ch3(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>store</first> <second> <count>2</count> <item_version>0</item_version> <item>99</item> <item>99</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="54" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="55" tracking_level="0" version="0"> <first>1</first> <second>RAM</second> </item> <item> <first>2</first> <second>RAM</second> </item> <item> <first>3</first> <second>RAM</second> </item> <item> <first>6</first> <second>RAM</second> </item> <item> <first>7</first> <second>RAM</second> </item> <item> <first>8</first> <second>RAM</second> </item> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
--with Imu.Library; use Imu.Library with Exception_Declarations; use Exception_Declarations; package Meassure_Velocity is procedure Retrieve_Velocity (Velocity_Z : out Float); private X_Coordinate : Float; Y_Coordinate : Float; Z_Coordinate : Float; end Meassure_Velocity;
-- This spec has been automatically generated from STM32F40x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; with HAL; with System; package STM32_SVD.SYSCFG is pragma Preelaborate; --------------- -- Registers -- --------------- -------------------- -- MEMRM_Register -- -------------------- subtype MEMRM_MEM_MODE_Field is HAL.UInt2; -- memory remap register type MEMRM_Register is record -- MEM_MODE MEM_MODE : MEMRM_MEM_MODE_Field := 16#0#; -- unspecified Reserved_2_31 : HAL.UInt30 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for MEMRM_Register use record MEM_MODE at 0 range 0 .. 1; Reserved_2_31 at 0 range 2 .. 31; end record; ------------------ -- PMC_Register -- ------------------ -- peripheral mode configuration register type PMC_Register is record -- unspecified Reserved_0_22 : HAL.UInt23 := 16#0#; -- Ethernet PHY interface selection MII_RMII_SEL : Boolean := False; -- unspecified Reserved_24_31 : HAL.Byte := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for PMC_Register use record Reserved_0_22 at 0 range 0 .. 22; MII_RMII_SEL at 0 range 23 .. 23; Reserved_24_31 at 0 range 24 .. 31; end record; ---------------------- -- EXTICR1_Register -- ---------------------- ------------------ -- EXTICR1.EXTI -- ------------------ -- EXTICR1_EXTI array element subtype EXTICR1_EXTI_Element is HAL.UInt4; -- EXTICR1_EXTI array type EXTICR1_EXTI_Field_Array is array (0 .. 3) of EXTICR1_EXTI_Element with Component_Size => 4, Size => 16; -- Type definition for EXTICR1_EXTI type EXTICR1_EXTI_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTI as a value Val : HAL.Short; when True => -- EXTI as an array Arr : EXTICR1_EXTI_Field_Array; end case; end record with Unchecked_Union, Size => 16; for EXTICR1_EXTI_Field use record Val at 0 range 0 .. 15; Arr at 0 range 0 .. 15; end record; -- external interrupt configuration register 1 type EXTICR1_Register is record -- EXTI x configuration (x = 0 to 3) EXTI : EXTICR1_EXTI_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_16_31 : HAL.Short := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for EXTICR1_Register use record EXTI at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; ---------------------- -- EXTICR2_Register -- ---------------------- ------------------ -- EXTICR2.EXTI -- ------------------ -- EXTICR2_EXTI array element subtype EXTICR2_EXTI_Element is HAL.UInt4; -- EXTICR2_EXTI array type EXTICR2_EXTI_Field_Array is array (4 .. 7) of EXTICR2_EXTI_Element with Component_Size => 4, Size => 16; -- Type definition for EXTICR2_EXTI type EXTICR2_EXTI_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTI as a value Val : HAL.Short; when True => -- EXTI as an array Arr : EXTICR2_EXTI_Field_Array; end case; end record with Unchecked_Union, Size => 16; for EXTICR2_EXTI_Field use record Val at 0 range 0 .. 15; Arr at 0 range 0 .. 15; end record; -- external interrupt configuration register 2 type EXTICR2_Register is record -- EXTI x configuration (x = 4 to 7) EXTI : EXTICR2_EXTI_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_16_31 : HAL.Short := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for EXTICR2_Register use record EXTI at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; ---------------------- -- EXTICR3_Register -- ---------------------- ------------------ -- EXTICR3.EXTI -- ------------------ -- EXTICR3_EXTI array element subtype EXTICR3_EXTI_Element is HAL.UInt4; -- EXTICR3_EXTI array type EXTICR3_EXTI_Field_Array is array (8 .. 11) of EXTICR3_EXTI_Element with Component_Size => 4, Size => 16; -- Type definition for EXTICR3_EXTI type EXTICR3_EXTI_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTI as a value Val : HAL.Short; when True => -- EXTI as an array Arr : EXTICR3_EXTI_Field_Array; end case; end record with Unchecked_Union, Size => 16; for EXTICR3_EXTI_Field use record Val at 0 range 0 .. 15; Arr at 0 range 0 .. 15; end record; -- external interrupt configuration register 3 type EXTICR3_Register is record -- EXTI x configuration (x = 8 to 11) EXTI : EXTICR3_EXTI_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_16_31 : HAL.Short := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for EXTICR3_Register use record EXTI at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; ---------------------- -- EXTICR4_Register -- ---------------------- ------------------ -- EXTICR4.EXTI -- ------------------ -- EXTICR4_EXTI array element subtype EXTICR4_EXTI_Element is HAL.UInt4; -- EXTICR4_EXTI array type EXTICR4_EXTI_Field_Array is array (12 .. 15) of EXTICR4_EXTI_Element with Component_Size => 4, Size => 16; -- Type definition for EXTICR4_EXTI type EXTICR4_EXTI_Field (As_Array : Boolean := False) is record case As_Array is when False => -- EXTI as a value Val : HAL.Short; when True => -- EXTI as an array Arr : EXTICR4_EXTI_Field_Array; end case; end record with Unchecked_Union, Size => 16; for EXTICR4_EXTI_Field use record Val at 0 range 0 .. 15; Arr at 0 range 0 .. 15; end record; -- external interrupt configuration register 4 type EXTICR4_Register is record -- EXTI x configuration (x = 12 to 15) EXTI : EXTICR4_EXTI_Field := (As_Array => False, Val => 16#0#); -- unspecified Reserved_16_31 : HAL.Short := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for EXTICR4_Register use record EXTI at 0 range 0 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; -------------------- -- CMPCR_Register -- -------------------- -- Compensation cell control register type CMPCR_Register is record -- Read-only. Compensation cell power-down CMP_PD : Boolean; -- unspecified Reserved_1_7 : HAL.UInt7; -- Read-only. READY READY : Boolean; -- unspecified Reserved_9_31 : HAL.UInt23; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CMPCR_Register use record CMP_PD at 0 range 0 .. 0; Reserved_1_7 at 0 range 1 .. 7; READY at 0 range 8 .. 8; Reserved_9_31 at 0 range 9 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- System configuration controller type SYSCFG_Peripheral is record -- memory remap register MEMRM : MEMRM_Register; -- peripheral mode configuration register PMC : PMC_Register; -- external interrupt configuration register 1 EXTICR1 : EXTICR1_Register; -- external interrupt configuration register 2 EXTICR2 : EXTICR2_Register; -- external interrupt configuration register 3 EXTICR3 : EXTICR3_Register; -- external interrupt configuration register 4 EXTICR4 : EXTICR4_Register; -- Compensation cell control register CMPCR : CMPCR_Register; end record with Volatile; for SYSCFG_Peripheral use record MEMRM at 0 range 0 .. 31; PMC at 4 range 0 .. 31; EXTICR1 at 8 range 0 .. 31; EXTICR2 at 12 range 0 .. 31; EXTICR3 at 16 range 0 .. 31; EXTICR4 at 20 range 0 .. 31; CMPCR at 32 range 0 .. 31; end record; -- System configuration controller SYSCFG_Periph : aliased SYSCFG_Peripheral with Import, Address => SYSCFG_Base; end STM32_SVD.SYSCFG;
----------------------------------------------------------------------- -- hestia-display-scheduler -- Display information about the system -- Copyright (C) 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with BMP_Fonts; with Interfaces; with Hestia.Network; with Hestia.Time; with UI.Texts; package body Hestia.Display.Scheduler is use type Interfaces.Unsigned_32; use type Interfaces.Unsigned_64; use UI.Texts; use type Net.Uint16; use type Hestia.Scheduler.Day_Time; use type Hestia.Scheduler.State_Type; use Hestia.Scheduler; -- Convert the integer to a string without a leading space. function Image (Value : in Natural) return String; function Image (Value : in Natural) return String is Result : constant String := Natural'Image (Value); begin return Result (Result'First + 1 .. Result'Last); end Image; use Ada.Real_Time; ONE_MS : constant Ada.Real_Time.Time_Span := Ada.Real_Time.Milliseconds (1); TOUCH_DELAY : constant Ada.Real_Time.Time_Span := Ada.Real_Time.Milliseconds (600); -- ------------------------------ -- Draw the layout presentation frame. -- ------------------------------ overriding procedure On_Restore (Display : in out Display_Type; Buffer : in out HAL.Bitmap.Bitmap_Buffer'Class) is W : constant Natural := Buffer.Width; H : constant Natural := Buffer.Height; D2 : constant Natural := W / 6; begin Display.Back_Button.Pos := (0, 0); Display.Back_Button.Width := 100; Display.Back_Button.Height := 30; Display.Slide_Button.Pos := (0, H - 60); Display.Slide_Button.Width := W; Display.Slide_Button.Height := 60; Display.Schedule_Area.Pos := (0, 120); Display.Schedule_Area.Width := W; Display.Schedule_Area.Height := 80; Display.Start_Time.Day := Hestia.Time.Monday; Display.Start_Time.Hour := 0; Display.Start_Time.Minute := 0; Display.Delta_Time := 12 * 24; Display.End_Time := Display.Start_Time + Display.Delta_Time; Display.Width := W; Display.Last_Touch := Ada.Real_Time.Clock; Display.Touch_Disable := True; Buffer.Set_Source (UI.Texts.Background); Buffer.Fill; UI.Texts.Current_Font := BMP_Fonts.Font16x24; UI.Texts.Draw_String (Buffer => Buffer, Start => Display.Back_Button.Pos, Width => Display.Back_Button.Width, Msg => "Back", Justify => UI.Texts.CENTER); Display.Deadline := Ada.Real_Time.Clock + Ada.Real_Time.Milliseconds (1000); end On_Restore; function Get_X (Display : in Display_Type; Date : in Hestia.Scheduler.Day_Time) return Natural is R : Integer := Display.Delta_Time; Dt : Integer := Date - Display.Start_Time; begin Dt := Dt * Display.Width; return Dt / R; end Get_X; function Get_Time (Display : in Display_Type; X : in Natural) return Day_Time is Dt : constant Natural := (Display.Delta_Time * X) / Display.Width; begin return Display.Start_Time + Dt; end Get_Time; -- Refresh the current display. overriding procedure On_Refresh (Display : in out Display_Type; Buffer : in out HAL.Bitmap.Bitmap_Buffer'Class; Deadline : out Ada.Real_Time.Time) is use type Net.Uint32; W : constant Natural := Buffer.Width; H : constant Natural := Buffer.Height; D : constant Natural := W / 24; D2 : constant Natural := W / 6; Now : constant Ada.Real_Time.Time := Ada.Real_Time.Clock; Start : Hestia.Scheduler.Day_Time; X1, X2 : Natural; Prev : Hestia.Scheduler.State_Type; New_State : Hestia.Scheduler.State_Type; begin Buffer.Set_Source (Line_Color); Buffer.Fill_Rect ((Position => (0, 60 - 3), Width => W, Height => 3)); Buffer.Fill_Rect ((Position => (0, 120), Width => W, Height => 2)); Buffer.Fill_Rect ((Position => (0, 200), Width => W, Height => 2)); Buffer.Set_Source (UI.Texts.Background); Buffer.Fill_Rect ((Position => (0, 100), Width => W, Height => 16)); Buffer.Set_Source (Hot_Color); Buffer.Fill_Rect ((Position => (120, 121), Width => 150, Height => 78)); Buffer.Fill_Rect ((Position => (W - 70, 121), Width => 69, Height => 78)); UI.Texts.Current_Font := BMP_Fonts.Font16x24; Start := Display.Get_Time (W / 2); UI.Texts.Draw_String (Buffer, Start => (0, 70), Width => W, Msg => Hestia.Time.Day_Names (Start.Day), Justify => UI.Texts.CENTER); UI.Texts.Current_Font := BMP_Fonts.Font12x12; Start := Display.Start_Time; while Start < Display.End_Time loop New_State := Hestia.Scheduler.Get_State (Start, Display.Port); X1 := Display.Get_X (Start); X2 := Display.Get_X (Start + Hestia.Scheduler.Unit); if New_State /= Prev and X1 - 20 + 100 < W and X1 > 20 then UI.Texts.Draw_String (Buffer, Start => (X1 - 20, 100), Width => 100, Msg => Hestia.Scheduler.Format_Time (Start)); end if; if New_State = Hestia.Scheduler.ON then Buffer.Set_Source (Hot_Color); else Buffer.Set_Source (Cold_Color); end if; Buffer.Fill_Rect ((Position => (X1, 121), Width => X2 - X1, Height => 78)); Prev := New_State; Start := Start + Hestia.Scheduler.Unit; end loop; if Display.Touch_Disable and Now - Display.Last_Touch < TOUCH_DELAY then Display.Touch_Disable := False; end if; Deadline := Display.Deadline; end On_Refresh; -- Handle touch events on the display. overriding procedure On_Touch (Display : in out Display_Type; Buffer : in out HAL.Bitmap.Bitmap_Buffer'Class; States : in HAL.Touch_Panel.TP_State) is use UI.Buttons; Now : Ada.Real_Time.Time := Ada.Real_Time.Clock; X : constant Natural := States (States'First).X; Y : constant Natural := States (States'First).Y; Dx : Integer; Dy : Integer; begin if UI.Buttons.Contains (Display.Back_Button, X, Y) then UI.Displays.Pop_Display; elsif UI.Buttons.Contains (Display.Slide_Button, X, Y) then if States'Length > 0 then Dx := States (States'Last).X - X; Dy := States (States'Last).Y - Y; if Dx > 0 then Display.Start_Time := Display.Start_Time + Hestia.Scheduler.Unit; Display.End_Time := Display.End_Time + Hestia.Scheduler.Unit; elsif Dx < 0 then Display.Start_Time := Display.Start_Time + Hestia.Scheduler.Unit; Display.End_Time := Display.End_Time + Hestia.Scheduler.Unit; end if; end if; elsif UI.Buttons.Contains (Display.Schedule_Area, X, Y) and not Display.Touch_Disable then if Now - Display.Last_Touch > TOUCH_DELAY then if Hestia.Scheduler.Get_State (Display.Get_Time (X), Display.Port) = ON then Display.Last_State := OFF; else Display.Last_State := ON; end if; end if; Display.Last_Touch := Now; for Dx in -4 .. 4 loop if X >= Dx and X + Dx < Display.Width then declare T : Day_Time := Display.Get_Time (X + Dx); begin Hestia.Scheduler.Set_State (T, Display.Port, Display.Last_State); end; end if; end loop; Display.Refresh (Buffer, UI.Displays.REFRESH_BOTH); end if; end On_Touch; -- Set the zone for the schedule. procedure Set_Zone (Display : in out Display_Type; Port : in Ports.Zone_Type) is begin Display.Port := Port; end Set_Zone; end Hestia.Display.Scheduler;
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with GL.API; with GL.Enums; package body GL.Objects.Shaders is procedure Set_Source (Subject : Shader; Source : String) is C_Source : C.char_array := C.To_C (Source); begin API.Shader_Source (Subject.Reference.GL_Id, 1, (1 => C_Source (0)'Unchecked_Access), (1 => Source'Length)); Raise_Exception_On_OpenGL_Error; end Set_Source; function Source (Subject : Shader) return String is Source_Length : Size := 0; begin API.Get_Shader_Param (Subject.Reference.GL_Id, Enums.Shader_Source_Length, Source_Length); Raise_Exception_On_OpenGL_Error; if Source_Length = 0 then return ""; else declare Shader_Source : String (1 .. Integer (Source_Length)); begin API.Get_Shader_Source (Subject.Reference.GL_Id, Source_Length, Source_Length, Shader_Source); Raise_Exception_On_OpenGL_Error; return Shader_Source (1 .. Integer (Source_Length)); end; end if; end Source; procedure Compile (Subject : Shader) is begin API.Compile_Shader (Subject.Reference.GL_Id); Raise_Exception_On_OpenGL_Error; end Compile; procedure Release_Shader_Compiler is begin API.Release_Shader_Compiler.all; end Release_Shader_Compiler; function Compile_Status (Subject : Shader) return Boolean is Value : Int := 0; begin API.Get_Shader_Param (Subject.Reference.GL_Id, Enums.Compile_Status, Value); Raise_Exception_On_OpenGL_Error; return Value /= 0; end Compile_Status; function Info_Log (Subject : Shader) return String is Log_Length : Size := 0; begin API.Get_Shader_Param (Subject.Reference.GL_Id, Enums.Info_Log_Length, Log_Length); Raise_Exception_On_OpenGL_Error; if Log_Length = 0 then return ""; else declare Info_Log : String (1 .. Integer (Log_Length)); begin API.Get_Shader_Info_Log (Subject.Reference.GL_Id, Log_Length, Log_Length, Info_Log); Raise_Exception_On_OpenGL_Error; return Info_Log (1 .. Integer (Log_Length)); end; end if; end Info_Log; overriding procedure Internal_Create_Id (Object : Shader; Id : out UInt) is begin Id := API.Create_Shader (Object.Kind); Raise_Exception_On_OpenGL_Error; end Internal_Create_Id; overriding procedure Internal_Release_Id (Object : Shader; Id : UInt) is pragma Unreferenced (Object); begin API.Delete_Shader (Id); Raise_Exception_On_OpenGL_Error; end Internal_Release_Id; function Create_From_Id (Id : UInt) return Shader is Kind : Shader_Type := Shader_Type'First; begin API.Get_Shader_Type (Id, Enums.Shader_Type, Kind); Raise_Exception_On_OpenGL_Error; return Object : Shader (Kind) do Object.Set_Raw_Id (Id, False); end return; end Create_From_Id; end GL.Objects.Shaders;
------------------------------------------------------------------------------- -- LSE -- L-System Editor -- Author: Heziode -- -- License: -- MIT License -- -- Copyright (c) 2018 Quentin Dauprat (Heziode) <Heziode@protonmail.com> -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and associated documentation files (the "Software"), -- to deal in the Software without restriction, including without limitation -- the rights to use, copy, modify, merge, publish, distribute, sublicense, -- and/or sell copies of the Software, and to permit persons to whom the -- Software is furnished to do so, subject to the following conditions: -- -- The above copyright notice and this permission notice shall be included in -- all copies or substantial portions of the Software. -- -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -- DEALINGS IN THE SOFTWARE. ------------------------------------------------------------------------------- with Gtk.Check_Button; with Gtk.Spin_Button; package body LSE.View.Callbacks is procedure Stop_Program (Emitter : access Gtk_Widget_Record'Class) is pragma Unreferenced (Emitter); begin View.Stop_Program; end Stop_Program; procedure LS_Level_Cb (Emitter : access Gtk_Widget_Record'Class) is use Gtk.Spin_Button; Spin : constant Gtk_Spin_Button := Gtk_Spin_Button (Emitter); begin View.LS_Level (Integer (Get_Value_As_Int (Spin))); end LS_Level_Cb; procedure New_File_Cb (Emitter : access Gtk_Widget_Record'Class) is pragma Unreferenced (Emitter); begin View.New_File; end New_File_Cb; procedure Open_File_Cb (Emitter : access Gtk_Widget_Record'Class) is pragma Unreferenced (Emitter); begin View.Open; end Open_File_Cb; procedure Save_File_Cb (Emitter : access Gtk_Widget_Record'Class) is pragma Unreferenced (Emitter); begin View.Save; end Save_File_Cb; procedure Save_As_File_Cb (Emitter : access Gtk_Widget_Record'Class) is pragma Unreferenced (Emitter); begin View.Save (True); end Save_As_File_Cb; procedure Validate_Cb (Emitter : access Gtk_Widget_Record'Class) is pragma Unreferenced (Emitter); begin View.Validate; end Validate_Cb; procedure Bg_Color_Cb (Emitter : access Gtk_Widget_Record'Class) is pragma Unreferenced (Emitter); begin View.Background_Color; end Bg_Color_Cb; procedure Fg_Color_Cb (Emitter : access Gtk_Widget_Record'Class) is pragma Unreferenced (Emitter); begin View.Foreground_Color; end Fg_Color_Cb; procedure Export_Cb (Emitter : access Gtk_Widget_Record'Class; Format : String) is pragma Unreferenced (Emitter); begin View.Export (Format); end Export_Cb; procedure About_Cb (Emitter : access Gtk_Widget_Record'Class) is pragma Unreferenced (Emitter); begin View.About; end About_Cb; procedure Export_Bg_Color_Cb (Emitter : access Gtk_Widget_Record'Class; Item : Gtk_Color_Button) is use Gtk.Check_Button; This : constant Gtk_Check_Button := Gtk_Check_Button (Emitter); begin Item.Set_Sensitive (This.Get_Active); end Export_Bg_Color_Cb; function Draw_Cb (Emitter : access Gtk_Widget_Record'Class; Cr : Cairo.Cairo_Context) return Boolean is pragma Unreferenced (Emitter); begin View.Draw (Cr); return False; end Draw_Cb; procedure Size_Allocate_Cb (Emitter : access Gtk_Widget_Record'Class; Allocation : Gtk_Allocation) is pragma Unreferenced (Emitter, Allocation); begin View.Size_Allocate; end Size_Allocate_Cb; end LSE.View.Callbacks;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ with AMF.CMOF.Associations; with AMF.CMOF.Classes; with AMF.CMOF.Properties.Collections; with AMF.CMOF.Types; with AMF.Elements.Collections; with AMF.Extents; with AMF.Links.Collections; package body AMF.Internals.Elements is --------------- -- Container -- --------------- overriding function Container (Self : not null access constant Element_Base) return AMF.Elements.Element_Access is use type AMF.Elements.Element_Access; Model_Extent : constant AMF.Extents.Extent_Access := AMF.Elements.Element_Access (Self).Extent; Meta_Class : constant AMF.CMOF.Classes.CMOF_Class_Access := Element_Base'Class (Self.all).Get_Meta_Class; Metamodel_Extent : constant AMF.Extents.Extent_Access := AMF.Elements.Element_Access (Meta_Class).Extent; Metamodel_Elements : constant AMF.Elements.Collections.Set_Of_Element := Metamodel_Extent.Elements; Links : AMF.Links.Collections.Set_Of_Link; Association : AMF.CMOF.Associations.CMOF_Association_Access; Member_Ends : AMF.CMOF.Properties.Collections.Ordered_Set_Of_CMOF_Property; End_Property : AMF.CMOF.Properties.CMOF_Property_Access; End_Type : AMF.CMOF.Types.CMOF_Type_Access; Metamodel_Element : AMF.Elements.Element_Access; begin -- General algoriphm is: -- -- - select all association in metamodel's extent; -- -- - select all association where one member end is composite and -- element's metaclass conforms to type of member end; -- -- - select all links for association; -- -- - check whether corresponding end is element itself and return -- another end. for J in 1 .. Metamodel_Elements.Length loop Metamodel_Element := Metamodel_Elements.Element (J); if Metamodel_Element.all in AMF.CMOF.Associations.CMOF_Association'Class then Association := AMF.CMOF.Associations.CMOF_Association_Access (Metamodel_Element); Member_Ends := Association.Get_Member_End; End_Property := Member_Ends.Element (1); End_Type := End_Property.Get_Type; if End_Property.Get_Is_Composite and then Meta_Class.Conforms_To (End_Type) then Links := Model_Extent.Links_Of_Type (Association); for K in 1 .. Integer (Links.Length) loop if Links.Element (K).Get_First_End = AMF.Elements.Element_Access (Self) then return Links.Element (K).Get_Second_End; end if; end loop; end if; End_Property := Member_Ends.Element (2); End_Type := End_Property.Get_Type; if End_Property.Get_Is_Composite and then Meta_Class.Conforms_To (End_Type) then Links := Model_Extent.Links_Of_Type (Association); for K in 1 .. Integer (Links.Length) loop if Links.Element (K).Get_Second_End = AMF.Elements.Element_Access (Self) then return Links.Element (K).Get_First_End; end if; end loop; end if; end if; end loop; return null; end Container; end AMF.Internals.Elements;
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Statements; with Program.Lexical_Elements; with Program.Elements.Expressions; package Program.Elements.Simple_Return_Statements is pragma Pure (Program.Elements.Simple_Return_Statements); type Simple_Return_Statement is limited interface and Program.Elements.Statements.Statement; type Simple_Return_Statement_Access is access all Simple_Return_Statement'Class with Storage_Size => 0; not overriding function Expression (Self : Simple_Return_Statement) return Program.Elements.Expressions.Expression_Access is abstract; type Simple_Return_Statement_Text is limited interface; type Simple_Return_Statement_Text_Access is access all Simple_Return_Statement_Text'Class with Storage_Size => 0; not overriding function To_Simple_Return_Statement_Text (Self : aliased in out Simple_Return_Statement) return Simple_Return_Statement_Text_Access is abstract; not overriding function Return_Token (Self : Simple_Return_Statement_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Semicolon_Token (Self : Simple_Return_Statement_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; end Program.Elements.Simple_Return_Statements;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 1 3 -- -- -- -- S p e c -- -- -- -- 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. -- -- -- ------------------------------------------------------------------------------ -- Handling of packed arrays with Component_Size = 13 package System.Pack_13 is pragma Preelaborate; Bits : constant := 13; type Bits_13 is mod 2 ** Bits; for Bits_13'Size use Bits; -- In all subprograms below, Rev_SSO is set True if the array has the -- non-default scalar storage order. function Get_13 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_13 with Inline; -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is extracted and returned. procedure Set_13 (Arr : System.Address; N : Natural; E : Bits_13; Rev_SSO : Boolean) with Inline; -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is set to the given value. end System.Pack_13;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- SQL Database Access -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ with Matreshka.Internals.SQL_Drivers.Firebird.Databases; package body Matreshka.Internals.SQL_Drivers.Firebird.Factory is type Firebird_Factory is new Abstract_Factory with null record; overriding function Create (Self : not null access Firebird_Factory) return not null Database_Access; ------------ -- Create -- ------------ overriding function Create (Self : not null access Firebird_Factory) return not null Database_Access is begin return new Databases.Firebird_Database; end Create; use type Interfaces.C.int; Factory : aliased Firebird_Factory; begin Register (League.Strings.To_Universal_String ("FIREBIRD"), Factory'Access); end Matreshka.Internals.SQL_Drivers.Firebird.Factory;
with System; with Ada.Synchronous_Task_Control; use Ada.Synchronous_Task_Control; with STM32_SVD; use STM32_SVD; with STM32_SVD.PWR; use STM32_SVD.PWR; with STM32_SVD.RCC; use STM32_SVD.RCC; with STM32_SVD.GPIO; use STM32_SVD.GPIO; with STM32GD.RTC; with STM32GD.Board; use STM32GD.Board; with Drivers.Text_IO; with RTC_IRQ; procedure Main is package RTC renames STM32GD.RTC; package Text_IO is new Drivers.Text_IO (USART => STM32GD.Board.USART); use Text_IO; procedure Print_Date is new STM32GD.RTC.Print (Put => Text_IO.Put); procedure Enable_Stop_Mode (Low_Power : Boolean) is SCB_SCR : aliased STM32_SVD.UInt32 with Address => System'To_Address (16#E000ED10#); SCR : UInt32; begin PWR_Periph.CR.LPDS := (if Low_Power then 1 else 0); PWR_Periph.CR.PDDS := 0; SCR := SCB_SCR or 2#100#; SCB_SCR := SCR; end Enable_Stop_Mode; procedure Disable_Stop_Mode is SCB_SCR : aliased STM32_SVD.UInt32 with Address => System'To_Address (16#E000ED10#); SCR : UInt32; begin SCR := SCB_SCR and not 2#100#; SCB_SCR := SCR; end Disable_Stop_Mode; procedure Disable_Peripherals is begin RCC_Periph.AHBENR.IOPAEN := 1; RCC_Periph.AHBENR.IOPBEN := 1; RCC_Periph.AHBENR.IOPCEN := 1; RCC_Periph.AHBENR.IOPDEN := 1; RCC_Periph.AHBENR.IOPFEN := 1; GPIOA_Periph.MODER.Val := 16#28FF_FFFF#; GPIOB_Periph.MODER.Val := 16#FFFF_FFFF#; GPIOC_Periph.MODER.Val := 16#FFFF_FFFF#; GPIOD_Periph.MODER.Val := 16#FFFF_FFFF#; GPIOF_Periph.MODER.Val := 16#FFFF_FFFF#; RCC_Periph.AHBENR.IOPAEN := 0; RCC_Periph.AHBENR.IOPBEN := 0; RCC_Periph.AHBENR.IOPCEN := 0; RCC_Periph.AHBENR.IOPDEN := 0; RCC_Periph.AHBENR.IOPFEN := 0; end Disable_Peripherals; Date_Time : RTC.Date_Time_Type; begin Init; RTC.Init; LED2.Set; -- Enable_Stop_Mode (True); loop Print_Date (Date_Time); RTC.Read (Date_Time); RTC.Add_Seconds (Date_Time, 1); RTC.Set_Alarm (Date_Time); Set_False (RTC_IRQ.Alarm_Occurred); Suspend_Until_True (RTC_IRQ.Alarm_Occurred); LED2.Toggle; end loop; end Main;
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- Copyright (C) 2013, AdaCore -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Console; use Console; with Mpc55xx; use Mpc55xx; with System.Machine_Code; use System.Machine_Code; with Cache; use Cache; with Term; use Term; with Dumps; use Dumps; with Commands; use Commands; package body Flash is function In_Flash (Addr : Unsigned_32) return Boolean is begin pragma Warnings (Off, "lower bound*"); return Addr in Flash_First_Address .. Flash_Last_Address; pragma Warnings (On, "lower bound*"); end In_Flash; FLASH_MCR : Unsigned_32; for FLASH_MCR'Address use System'To_Address (16#c3f8_8000#); pragma Import (Ada, FLASH_MCR); pragma Volatile (FLASH_MCR); FLASH_LMLR : Unsigned_32; for FLASH_LMLR'Address use System'To_Address (16#c3f8_8004#); pragma Import (Ada, FLASH_LMLR); pragma Volatile (FLASH_LMLR); FLASH_HLR : Unsigned_32; for FLASH_HLR'Address use System'To_Address (16#c3f8_8008#); pragma Import (Ada, FLASH_HLR); pragma Volatile (FLASH_HLR); FLASH_SLMLR : Unsigned_32; for FLASH_SLMLR'Address use System'To_Address (16#c3f8_800c#); pragma Import (Ada, FLASH_SLMLR); pragma Volatile (FLASH_SLMLR); FLASH_LMSR : Unsigned_32; for FLASH_LMSR'Address use System'To_Address (16#c3f8_8010#); pragma Import (Ada, FLASH_LMSR); pragma Volatile (FLASH_LMSR); FLASH_HSR : Unsigned_32; for FLASH_HSR'Address use System'To_Address (16#c3f8_8014#); pragma Import (Ada, FLASH_HSR); pragma Volatile (FLASH_HSR); procedure Flash_Unlock is begin FLASH_LMLR := 16#a1a1_1111#; -- Password FLASH_LMLR := 16#000c_ffc0#; FLASH_HLR := 16#b2b2_2222#; -- Password FLASH_HLR := 16#0ff_00000#; FLASH_SLMLR := 16#c3c3_3333#; -- Password FLASH_SLMLR := 16#000c_ffc0#; end Flash_Unlock; procedure Flash_Start_Prog is begin FLASH_MCR := 16#0000_0010#; -- PGM end Flash_Start_Prog; procedure Flash_Wait_Done is begin while (FLASH_MCR and 16#0000_0400#) = 0 loop -- Wait DONE null; end loop; if (FLASH_MCR and 16#0000_0200#) = 0 then Put_Line ("PEG error"); end if; end Flash_Wait_Done; procedure Flash_Wait_Prog is begin FLASH_MCR := 16#0000_0011#; -- PGM + EHV Flash_Wait_Done; FLASH_MCR := 16#0000_0010#; -- PGM; FLASH_MCR := 16#0000_0000#; end Flash_Wait_Prog; procedure Flash_Wait_Erase is begin FLASH_MCR := 16#0000_0005#; -- ERS + EHV Flash_Wait_Done; FLASH_MCR := 16#0000_0004#; -- ERS; FLASH_MCR := 16#0000_0000#; end Flash_Wait_Erase; procedure Proc_Flash is begin -- MMU -- use tlb#1, Disable cache Set_Mas0 (2 ** 28 + 1 * 2 ** 16); Set_Mas1 (2 ** 31 + 2 ** 30 + 6 * 2 ** 8); -- TSIZE=4MB Set_Mas2 (16#0000_0008#); -- Not cachable Set_Mas3 (16#0000_003f#); -- RWX Asm ("tlbwe", Volatile => True); Cache_Flush_All; Next_Word; if Pos > Line_Len or else Line (Pos .. End_Pos) = "info" then Put ("LMLR : "); Put (Image8 (FLASH_LMLR)); New_Line; Put ("HLR : "); Put (Image8 (FLASH_HLR)); New_Line; Put ("SLMLR: "); Put (Image8 (FLASH_SLMLR)); New_Line; Put ("MCR : "); Put (Image8 (FLASH_MCR)); New_Line; elsif Line (Pos .. End_Pos) = "unlock" then Flash_Unlock; elsif Line (Pos .. End_Pos) = "write" then Flash_Start_Prog; declare V : Unsigned_8; for V'Address use System'To_Address (0); pragma Import (Ada, V); pragma Volatile (V); begin V := 16#ab#; end; Flash_Wait_Prog; elsif Line (Pos .. End_Pos) = "erase" then FLASH_MCR := 16#0000_0004#; -- ERS; FLASH_LMSR := 16#0000_0003#; FLASH_HSR := 16#0ff_00000#; declare V : Unsigned_32; for V'Address use System'To_Address (0); pragma Import (Ada, V); pragma Volatile (V); begin V := 0; end; Flash_Wait_Erase; else Put_Line ("unknown sub-command"); end if; end Proc_Flash; Commands : aliased Command_List := (1, (1 => (new String'("flash [info|unlock|erase] - Flash programming"), Proc_Flash'Access)), null); begin Register_Commands (Commands'Access); end Flash;
-- C37304A.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 ALL FORMS OF CHOICE ARE PERMITTED IN A VARIANT_PART, -- AND, IN PARTICULAR, THAT FORMS LIKE ST RANGE L..R, AND ST ARE -- PERMITTED. -- ASL 7/31/81 -- RM 8/26/82 -- SPS 1/21/83 WITH REPORT; PROCEDURE C37304A IS USE REPORT; BEGIN TEST("C37304A","ALL FORMS OF CHOICE ALLOWED IN A VARIANT_PART"); DECLARE TYPE T IS RANGE 1 .. 10; C5 : CONSTANT T := 5; SUBTYPE S1 IS T RANGE 1 .. 5; SUBTYPE S2 IS T RANGE C5 + 1 .. 7; SUBTYPE SN IS T RANGE C5 + 4 .. C5 - 4 + 7; -- NULL RANGE. SUBTYPE S10 IS T RANGE C5 + 5 .. T'LAST; TYPE VREC( DISC : T := 8 ) IS RECORD CASE DISC IS WHEN SN -- 9..8 | S1 RANGE 1 .. 0 -- 1..0 | S2 RANGE C5 + 2 .. C5 + 1 -- 7..6 | 3 .. 2 -- 3..2 => NULL; WHEN S1 RANGE 4 .. C5 -- 4..5 | S1 RANGE C5 - 4 .. C5 / 2 -- 1..2 | 3 .. 1 + C5 MOD 3 -- 3..3 | SN -- 9..8 | S1 RANGE 5 .. C5 - 1 -- 5..4 | 6 .. 7 -- 6..7 | S10 -- 10..10 | 9 -- 9 | S10 RANGE 10 .. 9 -- 10..9 => NULL; WHEN C5 + C5 - 2 .. 8 -- 8 => NULL; END CASE; END RECORD; V : VREC; BEGIN IF EQUAL(3,3) THEN V := (DISC => 5); END IF; IF V.DISC /= 5 THEN FAILED ("ASSIGNMENT FAILED"); END IF; END; RESULT; END C37304A;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This file is generated, don't edit it. ------------------------------------------------------------------------------ with AMF.Elements; with AMF.Internals.Element_Collections; with AMF.Internals.Helpers; with AMF.Internals.Tables.OCL_Attributes; with AMF.OCL.Ocl_Expressions; with AMF.OCL.Variables.Collections; with AMF.String_Collections; with AMF.UML.Behaviors; with AMF.UML.Classifiers; 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.Parameterable_Elements; with AMF.UML.Parameters; with AMF.UML.String_Expressions; with AMF.UML.Template_Parameters; with AMF.UML.Types; with AMF.Visitors.OCL_Iterators; with AMF.Visitors.OCL_Visitors; with League.Strings.Internals; with Matreshka.Internals.Strings; package body AMF.Internals.OCL_Expression_In_Ocls is ------------------------- -- Get_Body_Expression -- ------------------------- overriding function Get_Body_Expression (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.OCL.Ocl_Expressions.OCL_Ocl_Expression_Access is begin return AMF.OCL.Ocl_Expressions.OCL_Ocl_Expression_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.OCL_Attributes.Internal_Get_Body_Expression (Self.Element))); end Get_Body_Expression; ------------------------- -- Set_Body_Expression -- ------------------------- overriding procedure Set_Body_Expression (Self : not null access OCL_Expression_In_Ocl_Proxy; To : AMF.OCL.Ocl_Expressions.OCL_Ocl_Expression_Access) is begin AMF.Internals.Tables.OCL_Attributes.Internal_Set_Body_Expression (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Body_Expression; -------------------------- -- Get_Context_Variable -- -------------------------- overriding function Get_Context_Variable (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.OCL.Variables.OCL_Variable_Access is begin return AMF.OCL.Variables.OCL_Variable_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.OCL_Attributes.Internal_Get_Context_Variable (Self.Element))); end Get_Context_Variable; -------------------------- -- Set_Context_Variable -- -------------------------- overriding procedure Set_Context_Variable (Self : not null access OCL_Expression_In_Ocl_Proxy; To : AMF.OCL.Variables.OCL_Variable_Access) is begin AMF.Internals.Tables.OCL_Attributes.Internal_Set_Context_Variable (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Context_Variable; ------------------------- -- Get_Result_Variable -- ------------------------- overriding function Get_Result_Variable (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.OCL.Variables.OCL_Variable_Access is begin return AMF.OCL.Variables.OCL_Variable_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.OCL_Attributes.Internal_Get_Result_Variable (Self.Element))); end Get_Result_Variable; ------------------------- -- Set_Result_Variable -- ------------------------- overriding procedure Set_Result_Variable (Self : not null access OCL_Expression_In_Ocl_Proxy; To : AMF.OCL.Variables.OCL_Variable_Access) is begin AMF.Internals.Tables.OCL_Attributes.Internal_Set_Result_Variable (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Result_Variable; ---------------------------- -- Get_Parameter_Variable -- ---------------------------- overriding function Get_Parameter_Variable (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.OCL.Variables.Collections.Ordered_Set_Of_OCL_Variable is begin return AMF.OCL.Variables.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.OCL_Attributes.Internal_Get_Parameter_Variable (Self.Element))); end Get_Parameter_Variable; ------------------------ -- Get_Generated_Type -- ------------------------ overriding function Get_Generated_Type (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.UML.Classifiers.UML_Classifier_Access is begin return AMF.UML.Classifiers.UML_Classifier_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.OCL_Attributes.Internal_Get_Generated_Type (Self.Element))); end Get_Generated_Type; ------------------------ -- Set_Generated_Type -- ------------------------ overriding procedure Set_Generated_Type (Self : not null access OCL_Expression_In_Ocl_Proxy; To : AMF.UML.Classifiers.UML_Classifier_Access) is begin AMF.Internals.Tables.OCL_Attributes.Internal_Set_Generated_Type (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Generated_Type; ------------------ -- Get_Behavior -- ------------------ overriding function Get_Behavior (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.UML.Behaviors.UML_Behavior_Access is begin return AMF.UML.Behaviors.UML_Behavior_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.OCL_Attributes.Internal_Get_Behavior (Self.Element))); end Get_Behavior; ------------------ -- Set_Behavior -- ------------------ overriding procedure Set_Behavior (Self : not null access OCL_Expression_In_Ocl_Proxy; To : AMF.UML.Behaviors.UML_Behavior_Access) is begin AMF.Internals.Tables.OCL_Attributes.Internal_Set_Behavior (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Behavior; -------------- -- Get_Body -- -------------- overriding function Get_Body (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.String_Collections.Sequence_Of_String is begin return X : AMF.String_Collections.Sequence_Of_String; end Get_Body; ------------------ -- Get_Language -- ------------------ overriding function Get_Language (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.String_Collections.Ordered_Set_Of_String is begin return X : AMF.String_Collections.Ordered_Set_Of_String; end Get_Language; ---------------- -- Get_Result -- ---------------- overriding function Get_Result (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.UML.Parameters.UML_Parameter_Access is begin return AMF.UML.Parameters.UML_Parameter_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.OCL_Attributes.Internal_Get_Result (Self.Element))); end Get_Result; -------------- -- Get_Type -- -------------- overriding function Get_Type (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.UML.Types.UML_Type_Access is begin return AMF.UML.Types.UML_Type_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.OCL_Attributes.Internal_Get_Type (Self.Element))); end Get_Type; -------------- -- Set_Type -- -------------- overriding procedure Set_Type (Self : not null access OCL_Expression_In_Ocl_Proxy; To : AMF.UML.Types.UML_Type_Access) is begin AMF.Internals.Tables.OCL_Attributes.Internal_Set_Type (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Type; --------------------------- -- Get_Client_Dependency -- --------------------------- overriding function Get_Client_Dependency (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.UML.Dependencies.Collections.Set_Of_UML_Dependency is begin return AMF.UML.Dependencies.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.OCL_Attributes.Internal_Get_Client_Dependency (Self.Element))); end Get_Client_Dependency; -------------- -- Get_Name -- -------------- overriding function Get_Name (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.Optional_String is begin declare use type Matreshka.Internals.Strings.Shared_String_Access; Aux : constant Matreshka.Internals.Strings.Shared_String_Access := AMF.Internals.Tables.OCL_Attributes.Internal_Get_Name (Self.Element); begin if Aux = null then return (Is_Empty => True); else return (False, League.Strings.Internals.Create (Aux)); end if; end; end Get_Name; -------------- -- Set_Name -- -------------- overriding procedure Set_Name (Self : not null access OCL_Expression_In_Ocl_Proxy; To : AMF.Optional_String) is begin if To.Is_Empty then AMF.Internals.Tables.OCL_Attributes.Internal_Set_Name (Self.Element, null); else AMF.Internals.Tables.OCL_Attributes.Internal_Set_Name (Self.Element, League.Strings.Internals.Internal (To.Value)); end if; end Set_Name; ------------------------- -- Get_Name_Expression -- ------------------------- overriding function Get_Name_Expression (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.UML.String_Expressions.UML_String_Expression_Access is begin return AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.OCL_Attributes.Internal_Get_Name_Expression (Self.Element))); end Get_Name_Expression; ------------------------- -- Set_Name_Expression -- ------------------------- overriding procedure Set_Name_Expression (Self : not null access OCL_Expression_In_Ocl_Proxy; To : AMF.UML.String_Expressions.UML_String_Expression_Access) is begin AMF.Internals.Tables.OCL_Attributes.Internal_Set_Name_Expression (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Name_Expression; ------------------- -- Get_Namespace -- ------------------- overriding function Get_Namespace (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.UML.Namespaces.UML_Namespace_Access is begin return AMF.UML.Namespaces.UML_Namespace_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.OCL_Attributes.Internal_Get_Namespace (Self.Element))); end Get_Namespace; ------------------------ -- Get_Qualified_Name -- ------------------------ overriding function Get_Qualified_Name (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.Optional_String is begin declare use type Matreshka.Internals.Strings.Shared_String_Access; Aux : constant Matreshka.Internals.Strings.Shared_String_Access := AMF.Internals.Tables.OCL_Attributes.Internal_Get_Qualified_Name (Self.Element); begin if Aux = null then return (Is_Empty => True); else return (False, League.Strings.Internals.Create (Aux)); end if; end; end Get_Qualified_Name; -------------------- -- Get_Visibility -- -------------------- overriding function Get_Visibility (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.UML.Optional_UML_Visibility_Kind is begin return AMF.Internals.Tables.OCL_Attributes.Internal_Get_Visibility (Self.Element); end Get_Visibility; -------------------- -- Set_Visibility -- -------------------- overriding procedure Set_Visibility (Self : not null access OCL_Expression_In_Ocl_Proxy; To : AMF.UML.Optional_UML_Visibility_Kind) is begin AMF.Internals.Tables.OCL_Attributes.Internal_Set_Visibility (Self.Element, To); end Set_Visibility; ----------------------- -- Get_Owned_Comment -- ----------------------- overriding function Get_Owned_Comment (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.UML.Comments.Collections.Set_Of_UML_Comment is begin return AMF.UML.Comments.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.OCL_Attributes.Internal_Get_Owned_Comment (Self.Element))); end Get_Owned_Comment; ----------------------- -- Get_Owned_Element -- ----------------------- overriding function Get_Owned_Element (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.UML.Elements.Collections.Set_Of_UML_Element is begin return AMF.UML.Elements.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (AMF.Internals.Tables.OCL_Attributes.Internal_Get_Owned_Element (Self.Element))); end Get_Owned_Element; --------------- -- Get_Owner -- --------------- overriding function Get_Owner (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.UML.Elements.UML_Element_Access is begin return AMF.UML.Elements.UML_Element_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.OCL_Attributes.Internal_Get_Owner (Self.Element))); end Get_Owner; -------------------- -- Get_Visibility -- -------------------- overriding function Get_Visibility (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.UML.UML_Visibility_Kind is begin return AMF.Internals.Tables.OCL_Attributes.Internal_Get_Visibility (Self.Element).Value; end Get_Visibility; -------------------- -- Set_Visibility -- -------------------- overriding procedure Set_Visibility (Self : not null access OCL_Expression_In_Ocl_Proxy; To : AMF.UML.UML_Visibility_Kind) is begin AMF.Internals.Tables.OCL_Attributes.Internal_Set_Visibility (Self.Element, (False, To)); end Set_Visibility; ----------------------------------- -- Get_Owning_Template_Parameter -- ----------------------------------- overriding function Get_Owning_Template_Parameter (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.UML.Template_Parameters.UML_Template_Parameter_Access is begin return AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.OCL_Attributes.Internal_Get_Owning_Template_Parameter (Self.Element))); end Get_Owning_Template_Parameter; ----------------------------------- -- Set_Owning_Template_Parameter -- ----------------------------------- overriding procedure Set_Owning_Template_Parameter (Self : not null access OCL_Expression_In_Ocl_Proxy; To : AMF.UML.Template_Parameters.UML_Template_Parameter_Access) is begin AMF.Internals.Tables.OCL_Attributes.Internal_Set_Owning_Template_Parameter (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Owning_Template_Parameter; ---------------------------- -- Get_Template_Parameter -- ---------------------------- overriding function Get_Template_Parameter (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.UML.Template_Parameters.UML_Template_Parameter_Access is begin return AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Internals.Helpers.To_Element (AMF.Internals.Tables.OCL_Attributes.Internal_Get_Template_Parameter (Self.Element))); end Get_Template_Parameter; ---------------------------- -- Set_Template_Parameter -- ---------------------------- overriding procedure Set_Template_Parameter (Self : not null access OCL_Expression_In_Ocl_Proxy; To : AMF.UML.Template_Parameters.UML_Template_Parameter_Access) is begin AMF.Internals.Tables.OCL_Attributes.Internal_Set_Template_Parameter (Self.Element, AMF.Internals.Helpers.To_Element (AMF.Elements.Element_Access (To))); end Set_Template_Parameter; ----------------- -- Is_Integral -- ----------------- overriding function Is_Integral (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Is_Integral unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.Is_Integral"; return Is_Integral (Self); end Is_Integral; --------------------- -- Is_Non_Negative -- --------------------- overriding function Is_Non_Negative (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Is_Non_Negative unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.Is_Non_Negative"; return Is_Non_Negative (Self); end Is_Non_Negative; ----------------- -- Is_Positive -- ----------------- overriding function Is_Positive (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Is_Positive unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.Is_Positive"; return Is_Positive (Self); end Is_Positive; ------------ -- Result -- ------------ overriding function Result (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.UML.Parameters.UML_Parameter_Access is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Result unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.Result"; return Result (Self); end Result; ----------- -- Value -- ----------- overriding function Value (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return Integer is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Value unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.Value"; return Value (Self); end Value; ------------------- -- Boolean_Value -- ------------------- overriding function Boolean_Value (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.Optional_Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Boolean_Value unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.Boolean_Value"; return Boolean_Value (Self); end Boolean_Value; ------------------- -- Integer_Value -- ------------------- overriding function Integer_Value (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.Optional_Integer is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Integer_Value unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.Integer_Value"; return Integer_Value (Self); end Integer_Value; ------------------------ -- Is_Compatible_With -- ------------------------ overriding function Is_Compatible_With (Self : not null access constant OCL_Expression_In_Ocl_Proxy; P : AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Is_Compatible_With unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.Is_Compatible_With"; return Is_Compatible_With (Self, P); end Is_Compatible_With; ------------------- -- Is_Computable -- ------------------- overriding function Is_Computable (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Is_Computable unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.Is_Computable"; return Is_Computable (Self); end Is_Computable; ------------- -- Is_Null -- ------------- overriding function Is_Null (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Is_Null unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.Is_Null"; return Is_Null (Self); end Is_Null; ---------------- -- Real_Value -- ---------------- overriding function Real_Value (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.Optional_Real is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Real_Value unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.Real_Value"; return Real_Value (Self); end Real_Value; ------------------ -- String_Value -- ------------------ overriding function String_Value (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.Optional_String is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "String_Value unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.String_Value"; return String_Value (Self); end String_Value; --------------------- -- Unlimited_Value -- --------------------- overriding function Unlimited_Value (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.Optional_Unlimited_Natural is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Unlimited_Value unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.Unlimited_Value"; return Unlimited_Value (Self); end Unlimited_Value; -------------------- -- All_Namespaces -- -------------------- overriding function All_Namespaces (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.UML.Namespaces.Collections.Ordered_Set_Of_UML_Namespace is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "All_Namespaces unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.All_Namespaces"; return All_Namespaces (Self); end All_Namespaces; ------------------------- -- All_Owning_Packages -- ------------------------- overriding function All_Owning_Packages (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.UML.Packages.Collections.Set_Of_UML_Package is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "All_Owning_Packages unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.All_Owning_Packages"; return All_Owning_Packages (Self); end All_Owning_Packages; ----------------------------- -- Is_Distinguishable_From -- ----------------------------- overriding function Is_Distinguishable_From (Self : not null access constant OCL_Expression_In_Ocl_Proxy; N : AMF.UML.Named_Elements.UML_Named_Element_Access; Ns : AMF.UML.Namespaces.UML_Namespace_Access) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Is_Distinguishable_From unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.Is_Distinguishable_From"; return Is_Distinguishable_From (Self, N, Ns); end Is_Distinguishable_From; --------------- -- Namespace -- --------------- overriding function Namespace (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.UML.Namespaces.UML_Namespace_Access is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Namespace unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.Namespace"; return Namespace (Self); end Namespace; -------------------- -- Qualified_Name -- -------------------- overriding function Qualified_Name (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return League.Strings.Universal_String is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Qualified_Name unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.Qualified_Name"; return Qualified_Name (Self); end Qualified_Name; --------------- -- Separator -- --------------- overriding function Separator (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return League.Strings.Universal_String is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Separator unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.Separator"; return Separator (Self); end Separator; ------------------------ -- All_Owned_Elements -- ------------------------ overriding function All_Owned_Elements (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return AMF.UML.Elements.Collections.Set_Of_UML_Element is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "All_Owned_Elements unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.All_Owned_Elements"; return All_Owned_Elements (Self); end All_Owned_Elements; ------------------- -- Must_Be_Owned -- ------------------- overriding function Must_Be_Owned (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Must_Be_Owned unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.Must_Be_Owned"; return Must_Be_Owned (Self); end Must_Be_Owned; --------------------------- -- Is_Template_Parameter -- --------------------------- overriding function Is_Template_Parameter (Self : not null access constant OCL_Expression_In_Ocl_Proxy) return Boolean is begin -- Generated stub: replace with real body! pragma Compile_Time_Warning (Standard.True, "Is_Template_Parameter unimplemented"); raise Program_Error with "Unimplemented procedure OCL_Expression_In_Ocl_Proxy.Is_Template_Parameter"; return Is_Template_Parameter (Self); end Is_Template_Parameter; ------------------- -- Enter_Element -- ------------------- overriding procedure Enter_Element (Self : not null access constant OCL_Expression_In_Ocl_Proxy; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control) is begin if Visitor in AMF.Visitors.OCL_Visitors.OCL_Visitor'Class then AMF.Visitors.OCL_Visitors.OCL_Visitor'Class (Visitor).Enter_Expression_In_Ocl (AMF.OCL.Expression_In_Ocls.OCL_Expression_In_Ocl_Access (Self), Control); end if; end Enter_Element; ------------------- -- Leave_Element -- ------------------- overriding procedure Leave_Element (Self : not null access constant OCL_Expression_In_Ocl_Proxy; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control) is begin if Visitor in AMF.Visitors.OCL_Visitors.OCL_Visitor'Class then AMF.Visitors.OCL_Visitors.OCL_Visitor'Class (Visitor).Leave_Expression_In_Ocl (AMF.OCL.Expression_In_Ocls.OCL_Expression_In_Ocl_Access (Self), Control); end if; end Leave_Element; ------------------- -- Visit_Element -- ------------------- overriding procedure Visit_Element (Self : not null access constant OCL_Expression_In_Ocl_Proxy; Iterator : in out AMF.Visitors.Abstract_Iterator'Class; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control) is begin if Iterator in AMF.Visitors.OCL_Iterators.OCL_Iterator'Class then AMF.Visitors.OCL_Iterators.OCL_Iterator'Class (Iterator).Visit_Expression_In_Ocl (Visitor, AMF.OCL.Expression_In_Ocls.OCL_Expression_In_Ocl_Access (Self), Control); end if; end Visit_Element; end AMF.Internals.OCL_Expression_In_Ocls;
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2018 Luke A. Guest -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the use of this software. -- -- Permission is granted to anyone to use this software for any purpose, -- including commercial applications, and to alter it and redistribute it -- freely, subject to the following restrictions: -- -- 1. The origin of this software must not be misrepresented; you must not -- claim that you wrote the original software. If you use this software -- in a product, an acknowledgment in the product documentation would be -- appreciated but is not required. -- -- 2. Altered source versions must be plainly marked as such, and must not be -- misrepresented as being the original software. -- -- 3. This notice may not be removed or altered from any source -- distribution. -------------------------------------------------------------------------------------------------------------------- with Interfaces.C; with SDL.Error; package body SDL.Video.Renderers is package C renames Interfaces.C; use type C.int; use type SDL.C_Pointers.Renderer_Pointer; type Internal_Flip is mod 2 ** 32 with Convention => C; -- type Internal_Flip_Array is array (Renderer_Flip) of Internal_Flip; Internal_Flip_None : constant Internal_Flip := 16#0000_0000#; Internal_Flip_Horizontal : constant Internal_Flip := 16#0000_0001#; Internal_Flip_Vertical : constant Internal_Flip := 16#0000_0002#; Internal_Flips : constant array (Renderer_Flip) of Internal_Flip := (Internal_Flip_None, Internal_Flip_Horizontal, Internal_Flip_Vertical, Internal_Flip_Horizontal or Internal_Flip_Vertical); function Get_Internal_Window (Self : in SDL.Video.Windows.Window) return SDL.C_Pointers.Windows_Pointer with Convention => Ada, Import => True; function Get_Internal_Texture (Self : in SDL.Video.Textures.Texture) return SDL.C_Pointers.Texture_Pointer with Import => True, Convention => Ada; function Total_Drivers return Positive is function SDL_Get_Num_Render_Drivers return C.int with Import => True, Convention => C, External_Name => "SDL_GetNumRenderDrivers"; Result : C.int := SDL_Get_Num_Render_Drivers; begin if Result < C.int (Positive'First) then raise Renderer_Error with SDL.Error.Get; end if; return Positive (Result); end Total_Drivers; overriding procedure Finalize (Self : in out Renderer) is procedure SDL_Destroy_Renderer (R : in SDL.C_Pointers.Renderer_Pointer) with Import => True, Convention => C, External_Name => "SDL_DestroyRenderer"; begin if Self.Internal /= null and then Self.Owns then SDL_Destroy_Renderer (Self.Internal); Self.Internal := null; end if; end Finalize; function Get_Blend_Mode (Self : in Renderer) return Blend_Modes is function SDL_Get_Render_Draw_Blend_Mode (R : in SDL.C_Pointers.Renderer_Pointer; M : out Blend_Modes) return C.int with Import => True, Convention => C, External_Name => "SDL_GetRenderDrawBlendMode"; Mode : Blend_Modes; Result : C.int := SDL_Get_Render_Draw_Blend_Mode (Self.Internal, Mode); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; return Mode; end Get_Blend_Mode; procedure Set_Blend_Mode (Self : in out Renderer; Mode : in Blend_Modes) is function SDL_Set_Render_Draw_Blend_Mode (R : in SDL.C_Pointers.Renderer_Pointer; M : in Blend_Modes) return C.int with Import => True, Convention => C, External_Name => "SDL_SetRenderDrawBlendMode"; Result : C.int := SDL_Set_Render_Draw_Blend_Mode (Self.Internal, Mode); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; end Set_Blend_Mode; function Get_Draw_Colour (Self : in Renderer) return SDL.Video.Palettes.Colour is function SDL_Get_Render_Draw_Color (R : in SDL.C_Pointers.Renderer_Pointer; Red, Green, Blue, Alpha : out SDL.Video.Palettes.Colour_Component) return C.int with Import => True, Convention => C, External_Name => "SDL_GetRenderDrawColor"; Colour : SDL.Video.Palettes.Colour; Result : C.int := SDL_Get_Render_Draw_Color (Self.Internal, Colour.Red, Colour.Green, Colour.Blue, Colour.Alpha); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; return Colour; end Get_Draw_Colour; procedure Set_Draw_Colour (Self : in out Renderer; Colour : in SDL.Video.Palettes.Colour) is function SDL_Set_Render_Draw_Color (R : in SDL.C_Pointers.Renderer_Pointer; Red, Green, Blue, Alpha : in SDL.Video.Palettes.Colour_Component) return C.int with Import => True, Convention => C, External_Name => "SDL_SetRenderDrawColor"; Result : C.int := SDL_Set_Render_Draw_Color (Self.Internal, Colour.Red, Colour.Green, Colour.Blue, Colour.Alpha); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; end Set_Draw_Colour; procedure Clear (Self : in out Renderer) is function SDL_Render_Clear (R : in SDL.C_Pointers.Renderer_Pointer) return C.int with Import => True, Convention => C, External_Name => "SDL_RenderClear"; Result : C.int := SDL_Render_Clear (Self.Internal); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; end Clear; procedure Copy (Self : in out Renderer; Copy_From : in SDL.Video.Textures.Texture) is function SDL_Render_Copy (R : in SDL.C_Pointers.Renderer_Pointer; T : in SDL.C_Pointers.Texture_Pointer; Src, Dest : in SDL.Video.Rectangles.Rectangle_Access) return C.int with Import => True, Convention => C, External_Name => "SDL_RenderCopy"; Result : C.int := SDL_Render_Copy (Self.Internal, Get_Internal_Texture (Copy_From), null, null); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; end Copy; -- TODO: Check to make sure this works, if it does, apply the same logic to CopyEx, see below. procedure Copy (Self : in out Renderer; Copy_From : in SDL.Video.Textures.Texture; From : in SDL.Video.Rectangles.Rectangle; To : in SDL.Video.Rectangles.Rectangle) is function SDL_Render_Copy (R : in SDL.C_Pointers.Renderer_Pointer; T : in SDL.C_Pointers.Texture_Pointer; Src, Dest : in SDL.Video.Rectangles.Rectangle) return C.int with Import => True, Convention => C, External_Name => "SDL_RenderCopy"; Result : C.int := SDL_Render_Copy (Self.Internal, Get_Internal_Texture (Copy_From), From, To); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; end Copy; procedure Copy (Self : in out Renderer; Copy_From : in SDL.Video.Textures.Texture; To : in SDL.Video.Rectangles.Rectangle) is function SDL_Render_Copy (R : in SDL.C_Pointers.Renderer_Pointer; T : in SDL.C_Pointers.Texture_Pointer; Src : in SDL.Video.Rectangles.Rectangle_Access; Dest : in SDL.Video.Rectangles.Rectangle) return C.int with Import => True, Convention => C, External_Name => "SDL_RenderCopy"; Result : C.int := SDL_Render_Copy (Self.Internal, Get_Internal_Texture (Copy_From), null, To); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; end Copy; -- TODO: See above, rearrange the params so that the rectangles are the last elements and make -- them default to null_rectangle. procedure Copy (Self : in out Renderer; Copy_From : in SDL.Video.Textures.Texture; From : in SDL.Video.Rectangles.Rectangle; To : in SDL.Video.Rectangles.Rectangle; Angle : in Long_Float; Centre : in SDL.Video.Rectangles.Point; Flip : in Renderer_Flip) is function SDL_Render_Copy_Ex (R : in SDL.C_Pointers.Renderer_Pointer; T : in SDL.C_Pointers.Texture_Pointer; Src, Dest : in SDL.Video.Rectangles.Rectangle; A : in C.double; Centre : in SDL.Video.Rectangles.Point; F : in Internal_Flip) return C.int with Import => True, Convention => C, External_Name => "SDL_RenderCopyEx"; Result : C.int := SDL_Render_Copy_Ex (Self.Internal, Get_Internal_Texture (Copy_From), From, To, C.double (Angle), Centre, Internal_Flips (Flip)); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; end Copy; procedure Draw (Self : in out Renderer; Line : in SDL.Video.Rectangles.Line_Segment) is function SDL_Render_Draw_Line (R : in SDL.C_Pointers.Renderer_Pointer; X1, Y1, X2, Y2 : in C.int) return C.int with Import => True, Convention => C, External_Name => "SDL_RenderDrawLine"; Result : C.int := SDL_Render_Draw_Line (Self.Internal, Line.Start.X, Line.Start.Y, Line.Finish.X, Line.Finish.Y); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; end Draw; -- TODO: Check this works! procedure Draw (Self : in out Renderer; Lines : in SDL.Video.Rectangles.Line_Arrays) is -- As the records and arrays are defined as C types, an array of lines is also an array of points. function SDL_Render_Draw_Lines (R : in SDL.C_Pointers.Renderer_Pointer; P : in SDL.Video.Rectangles.Line_Arrays; Count : in C.int) return C.int with Import => True, Convention => C, External_Name => "SDL_RenderDrawLines"; Result : C.int := SDL_Render_Draw_Lines (Self.Internal, Lines, C.int (Lines'Length * 2)); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; end Draw; procedure Draw (Self : in out Renderer; Point : in SDL.Video.Rectangles.Point) is function SDL_Render_Draw_Point (R : in SDL.C_Pointers.Renderer_Pointer; X, Y : in C.int) return C.int with Import => True, Convention => C, External_Name => "SDL_RenderDrawPoint"; Result : C.int := SDL_Render_Draw_Point (Self.Internal, Point.X, Point.Y); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; end Draw; procedure Draw (Self : in out Renderer; Points : in SDL.Video.Rectangles.Point_Arrays) is function SDL_Render_Draw_Points (R : in SDL.C_Pointers.Renderer_Pointer; P : in SDL.Video.Rectangles.Point_Arrays; Count : in C.int) return C.int with Import => True, Convention => C, External_Name => "SDL_RenderDrawPoints"; Result : C.int := SDL_Render_Draw_Points (Self.Internal, Points, C.int (Points'Length)); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; end Draw; procedure Draw (Self : in out Renderer; Rectangle : in SDL.Video.Rectangles.Rectangle) is function SDL_Render_Draw_Rect (R : in SDL.C_Pointers.Renderer_Pointer; Rect : in SDL.Video.Rectangles.Rectangle) return C.int with Import => True, Convention => C, External_Name => "SDL_RenderDrawRect"; Result : C.int := SDL_Render_Draw_Rect (Self.Internal, Rectangle); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; end Draw; procedure Draw (Self : in out Renderer; Rectangles : in SDL.Video.Rectangles.Rectangle_Arrays) is function SDL_Render_Draw_Rects (R : in SDL.C_Pointers.Renderer_Pointer; Rect : in SDL.Video.Rectangles.Rectangle_Arrays; Count : in C.int) return C.int with Import => True, Convention => C, External_Name => "SDL_RenderDrawRects"; Result : C.int := SDL_Render_Draw_Rects (Self.Internal, Rectangles, C.int (Rectangles'Length)); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; end Draw; procedure Fill (Self : in out Renderer; Rectangle : in SDL.Video.Rectangles.Rectangle) is function SDL_Render_Fill_Rect (R : in SDL.C_Pointers.Renderer_Pointer; Rect : in SDL.Video.Rectangles.Rectangle) return C.int with Import => True, Convention => C, External_Name => "SDL_RenderFillRect"; Result : C.int := SDL_Render_Fill_Rect (Self.Internal, Rectangle); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; end Fill; procedure Fill (Self : in out Renderer; Rectangles : in SDL.Video.Rectangles.Rectangle_Arrays) is function SDL_Render_Fill_Rects (R : in SDL.C_Pointers.Renderer_Pointer; Rect : in SDL.Video.Rectangles.Rectangle_Arrays; Count : in C.int) return C.int with Import => True, Convention => C, External_Name => "SDL_RenderFillRects"; Result : C.int := SDL_Render_Fill_Rects (Self.Internal, Rectangles, C.int (Rectangles'Length)); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; end Fill; procedure Get_Clip (Self : in Renderer; Rectangle : out SDL.Video.Rectangles.Rectangle) is procedure SDL_Render_Get_Clip_Rect (R : in SDL.C_Pointers.Renderer_Pointer; Rect : out SDL.Video.Rectangles.Rectangle) with Import => True, Convention => C, External_Name => "SDL_RenderGetClipRect"; begin SDL_Render_Get_Clip_Rect (Self.Internal, Rectangle); end Get_Clip; procedure Set_Clip (Self : in out Renderer; Rectangle : in SDL.Video.Rectangles.Rectangle) is function SDL_Render_Set_Clip_Rect (R : in SDL.C_Pointers.Renderer_Pointer; Rect : in SDL.Video.Rectangles.Rectangle) return C.int with Import => True, Convention => C, External_Name => "SDL_RenderSetClipRect"; Result : C.int := SDL_Render_Set_Clip_Rect (Self.Internal, Rectangle); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; end Set_Clip; procedure Get_Logical_Size (Self : in Renderer; Size : out SDL.Sizes) is procedure SDL_Render_Get_Logical_Size (R : in SDL.C_Pointers.Renderer_Pointer; S : out SDL.Sizes) with Import => True, Convention => C, External_Name => "SDL_RenderGetLogicalSize"; begin SDL_Render_Get_Logical_Size (Self.Internal, Size); end Get_Logical_Size; procedure Set_Logical_Size (Self : in out Renderer; Size : in SDL.Sizes) is function SDL_Render_Set_Logical_Size (R : in SDL.C_Pointers.Renderer_Pointer; S : in SDL.Sizes) return C.int with Import => True, Convention => C, External_Name => "SDL_RenderSetLogicalSize"; Result : C.int := SDL_Render_Set_Logical_Size (Self.Internal, Size); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; end Set_Logical_Size; procedure Get_Scale (Self : in Renderer; X, Y : out Float) is procedure SDL_Render_Get_Scale (R : in SDL.C_Pointers.Renderer_Pointer; X, Y : out C.C_float) with Import => True, Convention => C, External_Name => "SDL_RenderGetScale"; begin SDL_Render_Get_Scale (Self.Internal, C.C_float (X), C.C_float (Y)); end Get_Scale; procedure Set_Scale (Self : in out Renderer; X, Y : in Float) is function SDL_Render_Set_Scale (R : in SDL.C_Pointers.Renderer_Pointer; X, Y : in C.C_float) return C.int with Import => True, Convention => C, External_Name => "SDL_RenderSetScale"; Result : C.int := SDL_Render_Set_Scale (Self.Internal, C.C_float (X), C.C_float (Y)); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; end Set_Scale; procedure Get_Viewport (Self : in Renderer; Rectangle : out SDL.Video.Rectangles.Rectangle) is procedure SDL_Render_Get_Viewport (R : in SDL.C_Pointers.Renderer_Pointer; Rect : out SDL.Video.Rectangles.Rectangle) with Import => True, Convention => C, External_Name => "SDL_RenderGetViewport"; begin SDL_Render_Get_Viewport (Self.Internal, Rectangle); end Get_Viewport; procedure Set_Viewport (Self : in out Renderer; Rectangle : in SDL.Video.Rectangles.Rectangle) is function SDL_Render_Set_Viewport (R : in SDL.C_Pointers.Renderer_Pointer; Rect : in SDL.Video.Rectangles.Rectangle) return C.int with Import => True, Convention => C, External_Name => "SDL_RenderSetViewport"; Result : C.int := SDL_Render_Set_Viewport (Self.Internal, Rectangle); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; end Set_Viewport; procedure Present (Self : in Renderer) is procedure SDL_Render_Present (R : in SDL.C_Pointers.Renderer_Pointer) with Import => True, Convention => C, External_Name => "SDL_RenderPresent"; begin SDL_Render_Present (Self.Internal); end Present; function Supports_Targets (Self : in Renderer) return Boolean is function SDL_Render_Target_Supported (R : in SDL.C_Pointers.Renderer_Pointer) return SDL_Bool with Import => True, Convention => C, External_Name => "SDL_RenderTargetSupported"; begin return (if SDL_Render_Target_Supported (Self.Internal) = SDL_True then True else False); end Supports_Targets; procedure Set_Target (Self : in out Renderer; Target : in SDL.Video.Textures.Texture) is function SDL_Set_Render_Target (R : in SDL.C_Pointers.Renderer_Pointer; T : in SDL.C_Pointers.Texture_Pointer) return C.int with Import => True, Convention => C, External_Name => "SDL_SetRenderTarget"; Result : C.int := SDL_Set_Render_Target (Self.Internal, Get_Internal_Texture (Target)); begin if Result /= Success then raise Renderer_Error with SDL.Error.Get; end if; end Set_Target; function Get_Renderer (Window : in SDL.Video.Windows.Window) return Renderer is function SDL_Get_Renderer (W : in SDL.C_Pointers.Windows_Pointer) return SDL.C_Pointers.Renderer_Pointer with Import => True, Convention => C, External_Name => "SDL_GetRenderer"; begin return Result : constant Renderer := (Ada.Finalization.Limited_Controlled with Internal => SDL_Get_Renderer (Get_Internal_Window (Window)), Owns => False) do null; end return; end Get_Renderer; function Get_Internal_Renderer (Self : in Renderer) return SDL.C_Pointers.Renderer_Pointer is begin return Self.Internal; end Get_Internal_Renderer; end SDL.Video.Renderers;
------------------------------------------------------------------------------ -- Copyright (c) 2013, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose with or without fee is hereby granted, provided that the above -- -- copyright notice and this permission notice appear in all copies. -- -- -- -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -- -- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -- -- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -- -- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -- -- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -- -- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -- -- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -- ------------------------------------------------------------------------------ package body Natools.References.Tools is function Is_Consistent (Left, Right : Reference) return Boolean is begin return (Left.Data = Right.Data) = (Left.Count = Right.Count); end Is_Consistent; function Is_Valid (Ref : Reference) return Boolean is begin return (Ref.Data = null) = (Ref.Count = null); end Is_Valid; function Count (Ref : Reference) return Natural is begin if Ref.Count /= null then return Natural (Ref.Count.all); else return 0; end if; end Count; end Natools.References.Tools;
with cached_Trigonometry; generic package any_math.any_fast_Trigonometry is package Default is new cached_Trigonometry (Float_type => any_Math.Real, slot_Count => 10_000); end any_math.any_fast_Trigonometry;
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName/> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>load_cifm_data_pool</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>33</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>cifm</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>cifm</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>512</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>ifm_buff0_0</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff0[0]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>ifm_buff0_1</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff0[1]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_4"> <Value> <Obj> <type>1</type> <id>4</id> <name>ifm_buff0_2</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff0[2]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_5"> <Value> <Obj> <type>1</type> <id>5</id> <name>ifm_buff0_3</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff0[3]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_6"> <Value> <Obj> <type>1</type> <id>6</id> <name>ifm_buff0_4</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff0[4]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_7"> <Value> <Obj> <type>1</type> <id>7</id> <name>ifm_buff0_5</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff0[5]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_8"> <Value> <Obj> <type>1</type> <id>8</id> <name>ifm_buff0_6</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff0[6]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_9"> <Value> <Obj> <type>1</type> <id>9</id> <name>ifm_buff0_7</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff0[7]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_10"> <Value> <Obj> <type>1</type> <id>10</id> <name>ifm_buff0_8</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff0[8]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_11"> <Value> <Obj> <type>1</type> <id>11</id> <name>ifm_buff0_9</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff0[9]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_12"> <Value> <Obj> <type>1</type> <id>12</id> <name>ifm_buff0_10</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff0[10]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_13"> <Value> <Obj> <type>1</type> <id>13</id> <name>ifm_buff0_11</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff0[11]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_14"> <Value> <Obj> <type>1</type> <id>14</id> <name>ifm_buff0_12</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff0[12]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_15"> <Value> <Obj> <type>1</type> <id>15</id> <name>ifm_buff0_13</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff0[13]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_16"> <Value> <Obj> <type>1</type> <id>16</id> <name>ifm_buff0_14</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff0[14]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_17"> <Value> <Obj> <type>1</type> <id>17</id> <name>ifm_buff0_15</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff0[15]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_18"> <Value> <Obj> <type>1</type> <id>18</id> <name>ifm_buff1_0</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff1[0]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_19"> <Value> <Obj> <type>1</type> <id>19</id> <name>ifm_buff1_1</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff1[1]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_20"> <Value> <Obj> <type>1</type> <id>20</id> <name>ifm_buff1_2</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff1[2]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_21"> <Value> <Obj> <type>1</type> <id>21</id> <name>ifm_buff1_3</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff1[3]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_22"> <Value> <Obj> <type>1</type> <id>22</id> <name>ifm_buff1_4</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff1[4]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_23"> <Value> <Obj> <type>1</type> <id>23</id> <name>ifm_buff1_5</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff1[5]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_24"> <Value> <Obj> <type>1</type> <id>24</id> <name>ifm_buff1_6</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff1[6]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_25"> <Value> <Obj> <type>1</type> <id>25</id> <name>ifm_buff1_7</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff1[7]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_26"> <Value> <Obj> <type>1</type> <id>26</id> <name>ifm_buff1_8</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff1[8]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_27"> <Value> <Obj> <type>1</type> <id>27</id> <name>ifm_buff1_9</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff1[9]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_28"> <Value> <Obj> <type>1</type> <id>28</id> <name>ifm_buff1_10</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff1[10]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_29"> <Value> <Obj> <type>1</type> <id>29</id> <name>ifm_buff1_11</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff1[11]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_30"> <Value> <Obj> <type>1</type> <id>30</id> <name>ifm_buff1_12</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff1[12]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_31"> <Value> <Obj> <type>1</type> <id>31</id> <name>ifm_buff1_13</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff1[13]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_32"> <Value> <Obj> <type>1</type> <id>32</id> <name>ifm_buff1_14</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff1[14]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_33"> <Value> <Obj> <type>1</type> <id>33</id> <name>ifm_buff1_15</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ifm_buff1[15]</originalName> <rtlName/> <coreName>RAM</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>58</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>145</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_34"> <Value> <Obj> <type>0</type> <id>35</id> <name>_ln10</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>D:\Course\mSOC\final</first> <second class_id="11" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>195</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.76</m_delay> <m_topoIndex>1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>37</id> <name>cifm_counter_0</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>j</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>197</item> <item>198</item> <item>199</item> <item>200</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>38</id> <name>icmp_ln10</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>icmp_ln10_fu_760_p2</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>201</item> <item>203</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.42</m_delay> <m_topoIndex>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>40</id> <name>j</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>29</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>29</second> </item> </second> </item> </inlineStackInfo> <originalName>j</originalName> <rtlName>j_fu_766_p2</rtlName> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>204</item> <item>206</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.82</m_delay> <m_topoIndex>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>41</id> <name>_ln10</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>207</item> <item>208</item> <item>209</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>45</id> <name>zext_ln13</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>13</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>13</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln13_fu_772_p1</rtlName> <coreName/> </Obj> <bitwidth>64</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>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>46</id> <name>cifm_read</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>13</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>13</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>512</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>213</item> <item>214</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>7</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_41"> <Value> <Obj> <type>0</type> <id>47</id> <name>trunc_ln13</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>13</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>13</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>trunc_ln13_fu_792_p1</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>215</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>48</id> <name>bitcast_ln13</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>13</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>13</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff0_0_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>216</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>9</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_43"> <Value> <Obj> <type>0</type> <id>49</id> <name>ifm_buff0_0_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>13</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>13</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>217</item> <item>219</item> <item>220</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>10</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_44"> <Value> <Obj> <type>0</type> <id>50</id> <name>ifm_buff0_0_addr_write_ln13</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>13</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>13</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>221</item> <item>222</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>11</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>51</id> <name>cifm_a1_load_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>14</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>14</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_610_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>224</item> <item>225</item> <item>227</item> <item>229</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>12</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_46"> <Value> <Obj> <type>0</type> <id>52</id> <name>bitcast_ln14</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>14</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>14</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff0_1_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>230</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>13</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_47"> <Value> <Obj> <type>0</type> <id>53</id> <name>ifm_buff0_1_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>14</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>14</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>231</item> <item>232</item> <item>233</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>14</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_48"> <Value> <Obj> <type>0</type> <id>54</id> <name>ifm_buff0_1_addr_write_ln14</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>14</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>14</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>234</item> <item>235</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>15</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_49"> <Value> <Obj> <type>0</type> <id>55</id> <name>cifm_a2_load_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>15</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>15</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_620_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>236</item> <item>237</item> <item>239</item> <item>241</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>16</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_50"> <Value> <Obj> <type>0</type> <id>56</id> <name>bitcast_ln15</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>15</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>15</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff0_2_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>242</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>17</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_51"> <Value> <Obj> <type>0</type> <id>57</id> <name>ifm_buff0_2_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>15</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>15</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>243</item> <item>244</item> <item>245</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>18</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_52"> <Value> <Obj> <type>0</type> <id>58</id> <name>ifm_buff0_2_addr_write_ln15</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>15</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>15</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>246</item> <item>247</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>19</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_53"> <Value> <Obj> <type>0</type> <id>59</id> <name>cifm_a3_load_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_630_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>248</item> <item>249</item> <item>251</item> <item>253</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>20</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_54"> <Value> <Obj> <type>0</type> <id>60</id> <name>bitcast_ln16</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff0_3_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>254</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>21</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_55"> <Value> <Obj> <type>0</type> <id>61</id> <name>ifm_buff0_3_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>255</item> <item>256</item> <item>257</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>22</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_56"> <Value> <Obj> <type>0</type> <id>62</id> <name>ifm_buff0_3_addr_write_ln16</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>16</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>16</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>258</item> <item>259</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>23</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_57"> <Value> <Obj> <type>0</type> <id>63</id> <name>cifm_a4_load_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>17</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>17</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_640_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>260</item> <item>261</item> <item>263</item> <item>265</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>24</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_58"> <Value> <Obj> <type>0</type> <id>64</id> <name>bitcast_ln17</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>17</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>17</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff0_4_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>266</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>25</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_59"> <Value> <Obj> <type>0</type> <id>65</id> <name>ifm_buff0_4_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>17</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>17</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>267</item> <item>268</item> <item>269</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>26</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_60"> <Value> <Obj> <type>0</type> <id>66</id> <name>ifm_buff0_4_addr_write_ln17</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>17</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>17</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>270</item> <item>271</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>27</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_61"> <Value> <Obj> <type>0</type> <id>67</id> <name>cifm_a5_load_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_650_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>272</item> <item>273</item> <item>275</item> <item>277</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>28</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_62"> <Value> <Obj> <type>0</type> <id>68</id> <name>bitcast_ln18</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff0_5_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>278</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>29</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_63"> <Value> <Obj> <type>0</type> <id>69</id> <name>ifm_buff0_5_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>279</item> <item>280</item> <item>281</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>30</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_64"> <Value> <Obj> <type>0</type> <id>70</id> <name>ifm_buff0_5_addr_write_ln18</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>282</item> <item>283</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>31</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_65"> <Value> <Obj> <type>0</type> <id>71</id> <name>cifm_a6_load_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>19</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>19</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_660_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>284</item> <item>285</item> <item>287</item> <item>289</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>32</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_66"> <Value> <Obj> <type>0</type> <id>72</id> <name>bitcast_ln19</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>19</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>19</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff0_6_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>290</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>33</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_67"> <Value> <Obj> <type>0</type> <id>73</id> <name>ifm_buff0_6_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>19</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>19</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>291</item> <item>292</item> <item>293</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>34</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_68"> <Value> <Obj> <type>0</type> <id>74</id> <name>ifm_buff0_6_addr_write_ln19</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>19</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>19</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>294</item> <item>295</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>35</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_69"> <Value> <Obj> <type>0</type> <id>75</id> <name>cifm_a7_load_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>20</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>20</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_670_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>296</item> <item>297</item> <item>299</item> <item>301</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>36</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_70"> <Value> <Obj> <type>0</type> <id>76</id> <name>bitcast_ln20</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>20</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>20</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff0_7_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>302</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>37</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_71"> <Value> <Obj> <type>0</type> <id>77</id> <name>ifm_buff0_7_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>20</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>20</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>303</item> <item>304</item> <item>305</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>38</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_72"> <Value> <Obj> <type>0</type> <id>78</id> <name>ifm_buff0_7_addr_write_ln20</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>20</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>20</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>306</item> <item>307</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>39</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_73"> <Value> <Obj> <type>0</type> <id>79</id> <name>cifm_a8_load_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>21</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>21</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_680_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>308</item> <item>309</item> <item>311</item> <item>313</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>40</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_74"> <Value> <Obj> <type>0</type> <id>80</id> <name>bitcast_ln21</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>21</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>21</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff0_8_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>314</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>41</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_75"> <Value> <Obj> <type>0</type> <id>81</id> <name>ifm_buff0_8_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>21</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>21</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>315</item> <item>316</item> <item>317</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>42</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_76"> <Value> <Obj> <type>0</type> <id>82</id> <name>ifm_buff0_8_addr_write_ln21</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>21</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>21</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>318</item> <item>319</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>43</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_77"> <Value> <Obj> <type>0</type> <id>83</id> <name>cifm_a9_load_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>22</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_690_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>320</item> <item>321</item> <item>323</item> <item>325</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>44</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_78"> <Value> <Obj> <type>0</type> <id>84</id> <name>bitcast_ln22</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>22</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff0_9_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>326</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>45</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_79"> <Value> <Obj> <type>0</type> <id>85</id> <name>ifm_buff0_9_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>22</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>327</item> <item>328</item> <item>329</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>46</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_80"> <Value> <Obj> <type>0</type> <id>86</id> <name>ifm_buff0_9_addr_write_ln22</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>22</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>22</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>330</item> <item>331</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>47</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_81"> <Value> <Obj> <type>0</type> <id>87</id> <name>cifm_a10_load_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>23</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>23</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_700_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>332</item> <item>333</item> <item>335</item> <item>337</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>48</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_82"> <Value> <Obj> <type>0</type> <id>88</id> <name>bitcast_ln23</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>23</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>23</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff0_10_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>338</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>49</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_83"> <Value> <Obj> <type>0</type> <id>89</id> <name>ifm_buff0_10_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>23</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>23</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>339</item> <item>340</item> <item>341</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>50</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_84"> <Value> <Obj> <type>0</type> <id>90</id> <name>ifm_buff0_10_addr_write_ln23</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>23</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>23</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>342</item> <item>343</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>51</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_85"> <Value> <Obj> <type>0</type> <id>91</id> <name>cifm_a11_load_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>24</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>24</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_710_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>344</item> <item>345</item> <item>347</item> <item>349</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>52</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_86"> <Value> <Obj> <type>0</type> <id>92</id> <name>bitcast_ln24</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>24</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>24</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff0_11_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>350</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>53</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_87"> <Value> <Obj> <type>0</type> <id>93</id> <name>ifm_buff0_11_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>24</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>24</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>351</item> <item>352</item> <item>353</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>54</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_88"> <Value> <Obj> <type>0</type> <id>94</id> <name>ifm_buff0_11_addr_write_ln24</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>24</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>24</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>354</item> <item>355</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>55</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_89"> <Value> <Obj> <type>0</type> <id>95</id> <name>cifm_a12_load_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>25</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>25</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_720_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>356</item> <item>357</item> <item>359</item> <item>361</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>56</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_90"> <Value> <Obj> <type>0</type> <id>96</id> <name>bitcast_ln25</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>25</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>25</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff0_12_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>362</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>57</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_91"> <Value> <Obj> <type>0</type> <id>97</id> <name>ifm_buff0_12_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>25</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>25</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>363</item> <item>364</item> <item>365</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>58</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_92"> <Value> <Obj> <type>0</type> <id>98</id> <name>ifm_buff0_12_addr_write_ln25</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>25</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>25</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>366</item> <item>367</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>59</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_93"> <Value> <Obj> <type>0</type> <id>99</id> <name>cifm_a13_load_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>26</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>26</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_730_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>368</item> <item>369</item> <item>371</item> <item>373</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>60</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_94"> <Value> <Obj> <type>0</type> <id>100</id> <name>bitcast_ln26</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>26</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>26</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff0_13_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>374</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>61</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_95"> <Value> <Obj> <type>0</type> <id>101</id> <name>ifm_buff0_13_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>26</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>26</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>375</item> <item>376</item> <item>377</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>62</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_96"> <Value> <Obj> <type>0</type> <id>102</id> <name>ifm_buff0_13_addr_write_ln26</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>26</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>26</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>378</item> <item>379</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>63</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_97"> <Value> <Obj> <type>0</type> <id>103</id> <name>cifm_a14_load_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>27</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>27</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_740_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>380</item> <item>381</item> <item>383</item> <item>385</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>64</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_98"> <Value> <Obj> <type>0</type> <id>104</id> <name>bitcast_ln27</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>27</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>27</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff0_14_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>386</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>65</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_99"> <Value> <Obj> <type>0</type> <id>105</id> <name>ifm_buff0_14_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>27</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>27</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>387</item> <item>388</item> <item>389</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>66</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_100"> <Value> <Obj> <type>0</type> <id>106</id> <name>ifm_buff0_14_addr_write_ln27</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>27</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>27</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>390</item> <item>391</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>67</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_101"> <Value> <Obj> <type>0</type> <id>107</id> <name>cifm_a15_load_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>28</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>28</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_750_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>392</item> <item>393</item> <item>395</item> <item>397</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>68</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_102"> <Value> <Obj> <type>0</type> <id>108</id> <name>bitcast_ln28</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>28</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>28</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff0_15_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>398</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>69</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_103"> <Value> <Obj> <type>0</type> <id>109</id> <name>ifm_buff0_15_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>28</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>28</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>399</item> <item>400</item> <item>401</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>70</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_104"> <Value> <Obj> <type>0</type> <id>110</id> <name>ifm_buff0_15_addr_write_ln28</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>28</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>28</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>402</item> <item>403</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>71</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_105"> <Value> <Obj> <type>0</type> <id>112</id> <name>_ln10</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>10</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>10</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>404</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>72</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_106"> <Value> <Obj> <type>0</type> <id>114</id> <name>_ln33</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>33</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>33</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>210</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>73</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_107"> <Value> <Obj> <type>0</type> <id>116</id> <name>j1_0</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>j</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>405</item> <item>406</item> <item>407</item> <item>408</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>74</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_108"> <Value> <Obj> <type>0</type> <id>117</id> <name>icmp_ln33</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>33</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>33</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>icmp_ln33_fu_876_p2</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>409</item> <item>410</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.42</m_delay> <m_topoIndex>75</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_109"> <Value> <Obj> <type>0</type> <id>119</id> <name>j_1</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>33</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>33</second> </item> </second> </item> </inlineStackInfo> <originalName>j</originalName> <rtlName>j_1_fu_882_p2</rtlName> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>411</item> <item>412</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.82</m_delay> <m_topoIndex>76</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_110"> <Value> <Obj> <type>0</type> <id>120</id> <name>_ln33</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>33</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>33</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>413</item> <item>414</item> <item>415</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>77</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_111"> <Value> <Obj> <type>0</type> <id>124</id> <name>cifm_read_1</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>36</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>36</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>512</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>416</item> <item>417</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>78</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_112"> <Value> <Obj> <type>0</type> <id>125</id> <name>trunc_ln36</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>36</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>36</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>trunc_ln36_fu_888_p1</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>418</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>79</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_113"> <Value> <Obj> <type>0</type> <id>126</id> <name>bitcast_ln36</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>36</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>36</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff1_0_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>419</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>80</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_114"> <Value> <Obj> <type>0</type> <id>127</id> <name>zext_ln36</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>36</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>36</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln36_fu_897_p1</rtlName> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>420</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="_115"> <Value> <Obj> <type>0</type> <id>128</id> <name>ifm_buff1_0_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>36</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>36</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>421</item> <item>422</item> <item>423</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="_116"> <Value> <Obj> <type>0</type> <id>129</id> <name>ifm_buff1_0_addr_write_ln36</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>36</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>36</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>424</item> <item>425</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>83</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_117"> <Value> <Obj> <type>0</type> <id>130</id> <name>cifm_a1_load_1_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>37</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>37</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_610_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>426</item> <item>427</item> <item>428</item> <item>429</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>84</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_118"> <Value> <Obj> <type>0</type> <id>131</id> <name>bitcast_ln37</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>37</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>37</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff1_1_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>430</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>85</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_119"> <Value> <Obj> <type>0</type> <id>132</id> <name>ifm_buff1_1_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>37</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>37</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>431</item> <item>432</item> <item>433</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>86</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_120"> <Value> <Obj> <type>0</type> <id>133</id> <name>ifm_buff1_1_addr_write_ln37</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>37</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>37</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>434</item> <item>435</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>87</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_121"> <Value> <Obj> <type>0</type> <id>134</id> <name>cifm_a2_load_1_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>38</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>38</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_620_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>436</item> <item>437</item> <item>438</item> <item>439</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>88</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_122"> <Value> <Obj> <type>0</type> <id>135</id> <name>bitcast_ln38</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>38</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>38</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff1_2_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>440</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>89</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_123"> <Value> <Obj> <type>0</type> <id>136</id> <name>ifm_buff1_2_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>38</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>38</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>441</item> <item>442</item> <item>443</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>90</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_124"> <Value> <Obj> <type>0</type> <id>137</id> <name>ifm_buff1_2_addr_write_ln38</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>38</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>38</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>444</item> <item>445</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>91</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_125"> <Value> <Obj> <type>0</type> <id>138</id> <name>cifm_a3_load_1_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>39</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>39</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_630_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>446</item> <item>447</item> <item>448</item> <item>449</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>92</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_126"> <Value> <Obj> <type>0</type> <id>139</id> <name>bitcast_ln39</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>39</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>39</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff1_3_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>450</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>93</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_127"> <Value> <Obj> <type>0</type> <id>140</id> <name>ifm_buff1_3_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>39</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>39</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>451</item> <item>452</item> <item>453</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>94</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_128"> <Value> <Obj> <type>0</type> <id>141</id> <name>ifm_buff1_3_addr_write_ln39</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>39</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>39</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>454</item> <item>455</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>95</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_129"> <Value> <Obj> <type>0</type> <id>142</id> <name>cifm_a4_load_1_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>40</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>40</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_640_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>456</item> <item>457</item> <item>458</item> <item>459</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>96</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_130"> <Value> <Obj> <type>0</type> <id>143</id> <name>bitcast_ln40</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>40</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>40</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff1_4_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>460</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>97</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_131"> <Value> <Obj> <type>0</type> <id>144</id> <name>ifm_buff1_4_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>40</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>40</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>461</item> <item>462</item> <item>463</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>98</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_132"> <Value> <Obj> <type>0</type> <id>145</id> <name>ifm_buff1_4_addr_write_ln40</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>40</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>40</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>464</item> <item>465</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>99</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_133"> <Value> <Obj> <type>0</type> <id>146</id> <name>cifm_a5_load_1_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>41</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>41</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_650_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>466</item> <item>467</item> <item>468</item> <item>469</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>100</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_134"> <Value> <Obj> <type>0</type> <id>147</id> <name>bitcast_ln41</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>41</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>41</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff1_5_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>470</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>101</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_135"> <Value> <Obj> <type>0</type> <id>148</id> <name>ifm_buff1_5_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>41</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>41</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>471</item> <item>472</item> <item>473</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>102</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_136"> <Value> <Obj> <type>0</type> <id>149</id> <name>ifm_buff1_5_addr_write_ln41</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>41</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>41</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>474</item> <item>475</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>103</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_137"> <Value> <Obj> <type>0</type> <id>150</id> <name>cifm_a6_load_1_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>42</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>42</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_660_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>476</item> <item>477</item> <item>478</item> <item>479</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>104</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_138"> <Value> <Obj> <type>0</type> <id>151</id> <name>bitcast_ln42</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>42</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>42</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff1_6_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>480</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>105</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_139"> <Value> <Obj> <type>0</type> <id>152</id> <name>ifm_buff1_6_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>42</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>42</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>481</item> <item>482</item> <item>483</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>106</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_140"> <Value> <Obj> <type>0</type> <id>153</id> <name>ifm_buff1_6_addr_write_ln42</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>42</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>42</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>484</item> <item>485</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>107</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_141"> <Value> <Obj> <type>0</type> <id>154</id> <name>cifm_a7_load_1_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>43</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>43</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_670_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>486</item> <item>487</item> <item>488</item> <item>489</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>108</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_142"> <Value> <Obj> <type>0</type> <id>155</id> <name>bitcast_ln43</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>43</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>43</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff1_7_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>490</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>109</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_143"> <Value> <Obj> <type>0</type> <id>156</id> <name>ifm_buff1_7_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>43</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>43</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>491</item> <item>492</item> <item>493</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>110</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_144"> <Value> <Obj> <type>0</type> <id>157</id> <name>ifm_buff1_7_addr_write_ln43</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>43</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>43</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>494</item> <item>495</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>111</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_145"> <Value> <Obj> <type>0</type> <id>158</id> <name>cifm_a8_load_1_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>44</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>44</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_680_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>496</item> <item>497</item> <item>498</item> <item>499</item> </oprand_edges> <opcode>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>112</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_146"> <Value> <Obj> <type>0</type> <id>159</id> <name>bitcast_ln44</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>44</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>44</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff1_8_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>500</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>113</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_147"> <Value> <Obj> <type>0</type> <id>160</id> <name>ifm_buff1_8_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>44</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>44</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>501</item> <item>502</item> <item>503</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>114</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_148"> <Value> <Obj> <type>0</type> <id>161</id> <name>ifm_buff1_8_addr_write_ln44</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>44</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>44</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>504</item> <item>505</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>115</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_149"> <Value> <Obj> <type>0</type> <id>162</id> <name>cifm_a9_load_1_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>45</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>45</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_690_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>506</item> <item>507</item> <item>508</item> <item>509</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>116</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_150"> <Value> <Obj> <type>0</type> <id>163</id> <name>bitcast_ln45</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>45</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>45</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff1_9_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>510</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>117</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_151"> <Value> <Obj> <type>0</type> <id>164</id> <name>ifm_buff1_9_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>45</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>45</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>511</item> <item>512</item> <item>513</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>118</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_152"> <Value> <Obj> <type>0</type> <id>165</id> <name>ifm_buff1_9_addr_write_ln45</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>45</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>45</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>514</item> <item>515</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>119</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_153"> <Value> <Obj> <type>0</type> <id>166</id> <name>cifm_a10_load_1_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>46</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>46</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_700_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>516</item> <item>517</item> <item>518</item> <item>519</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>120</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_154"> <Value> <Obj> <type>0</type> <id>167</id> <name>bitcast_ln46</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>46</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>46</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff1_10_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>520</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>121</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_155"> <Value> <Obj> <type>0</type> <id>168</id> <name>ifm_buff1_10_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>46</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>46</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>521</item> <item>522</item> <item>523</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>122</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_156"> <Value> <Obj> <type>0</type> <id>169</id> <name>ifm_buff1_10_addr_write_ln46</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>46</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>46</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>524</item> <item>525</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>123</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_157"> <Value> <Obj> <type>0</type> <id>170</id> <name>cifm_a11_load_1_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>47</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>47</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_710_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>526</item> <item>527</item> <item>528</item> <item>529</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>124</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_158"> <Value> <Obj> <type>0</type> <id>171</id> <name>bitcast_ln47</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>47</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>47</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff1_11_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>530</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>125</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_159"> <Value> <Obj> <type>0</type> <id>172</id> <name>ifm_buff1_11_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>47</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>47</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>531</item> <item>532</item> <item>533</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>126</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_160"> <Value> <Obj> <type>0</type> <id>173</id> <name>ifm_buff1_11_addr_write_ln47</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>47</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>47</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>534</item> <item>535</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>127</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_161"> <Value> <Obj> <type>0</type> <id>174</id> <name>cifm_a12_load_1_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>48</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>48</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_720_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>536</item> <item>537</item> <item>538</item> <item>539</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>128</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_162"> <Value> <Obj> <type>0</type> <id>175</id> <name>bitcast_ln48</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>48</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>48</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff1_12_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>540</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>129</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_163"> <Value> <Obj> <type>0</type> <id>176</id> <name>ifm_buff1_12_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>48</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>48</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>541</item> <item>542</item> <item>543</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>130</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_164"> <Value> <Obj> <type>0</type> <id>177</id> <name>ifm_buff1_12_addr_write_ln48</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>48</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>48</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>544</item> <item>545</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>131</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_165"> <Value> <Obj> <type>0</type> <id>178</id> <name>cifm_a13_load_1_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>49</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>49</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_730_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>546</item> <item>547</item> <item>548</item> <item>549</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>132</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_166"> <Value> <Obj> <type>0</type> <id>179</id> <name>bitcast_ln49</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>49</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>49</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff1_13_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>550</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>133</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_167"> <Value> <Obj> <type>0</type> <id>180</id> <name>ifm_buff1_13_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>49</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>49</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>551</item> <item>552</item> <item>553</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>134</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_168"> <Value> <Obj> <type>0</type> <id>181</id> <name>ifm_buff1_13_addr_write_ln49</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>49</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>49</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>554</item> <item>555</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>135</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_169"> <Value> <Obj> <type>0</type> <id>182</id> <name>cifm_a14_load_1_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>50</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>50</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_740_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>556</item> <item>557</item> <item>558</item> <item>559</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>136</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_170"> <Value> <Obj> <type>0</type> <id>183</id> <name>bitcast_ln50</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>50</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>50</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff1_14_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>560</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>137</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_171"> <Value> <Obj> <type>0</type> <id>184</id> <name>ifm_buff1_14_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>50</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>50</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>561</item> <item>562</item> <item>563</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>138</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_172"> <Value> <Obj> <type>0</type> <id>185</id> <name>ifm_buff1_14_addr_write_ln50</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>50</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>50</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>564</item> <item>565</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>139</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_173"> <Value> <Obj> <type>0</type> <id>186</id> <name>cifm_a15_load_1_new</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>51</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>51</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_750_p4</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>566</item> <item>567</item> <item>568</item> <item>569</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>140</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_174"> <Value> <Obj> <type>0</type> <id>187</id> <name>bitcast_ln51</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>51</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>51</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ifm_buff1_15_d0</rtlName> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>570</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>141</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_175"> <Value> <Obj> <type>0</type> <id>188</id> <name>ifm_buff1_15_addr</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>51</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>51</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>571</item> <item>572</item> <item>573</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>142</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_176"> <Value> <Obj> <type>0</type> <id>189</id> <name>ifm_buff1_15_addr_write_ln51</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>51</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>51</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>574</item> <item>575</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>143</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_177"> <Value> <Obj> <type>0</type> <id>191</id> <name>_ln33</name> <fileName>finalwrapup.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>33</lineNumber> <contextFuncName>load_cifm_data_pool</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>D:\Course\mSOC\final</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>finalwrapup.cpp</first> <second>load_cifm_data_pool</second> </first> <second>33</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>576</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>144</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_178"> <Value> <Obj> <type>0</type> <id>193</id> <name>_ln0</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>145</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>34</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_179"> <Value> <Obj> <type>2</type> <id>196</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>6</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_180"> <Value> <Obj> <type>2</type> <id>202</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>6</bitwidth> </Value> <const_type>0</const_type> <content>58</content> </item> <item class_id_reference="16" object_id="_181"> <Value> <Obj> <type>2</type> <id>205</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>6</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_182"> <Value> <Obj> <type>2</type> <id>218</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_183"> <Value> <Obj> <type>2</type> <id>226</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>32</content> </item> <item class_id_reference="16" object_id="_184"> <Value> <Obj> <type>2</type> <id>228</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>63</content> </item> <item class_id_reference="16" object_id="_185"> <Value> <Obj> <type>2</type> <id>238</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>64</content> </item> <item class_id_reference="16" object_id="_186"> <Value> <Obj> <type>2</type> <id>240</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>95</content> </item> <item class_id_reference="16" object_id="_187"> <Value> <Obj> <type>2</type> <id>250</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>96</content> </item> <item class_id_reference="16" object_id="_188"> <Value> <Obj> <type>2</type> <id>252</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>127</content> </item> <item class_id_reference="16" object_id="_189"> <Value> <Obj> <type>2</type> <id>262</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>128</content> </item> <item class_id_reference="16" object_id="_190"> <Value> <Obj> <type>2</type> <id>264</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>159</content> </item> <item class_id_reference="16" object_id="_191"> <Value> <Obj> <type>2</type> <id>274</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>160</content> </item> <item class_id_reference="16" object_id="_192"> <Value> <Obj> <type>2</type> <id>276</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>191</content> </item> <item class_id_reference="16" object_id="_193"> <Value> <Obj> <type>2</type> <id>286</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>192</content> </item> <item class_id_reference="16" object_id="_194"> <Value> <Obj> <type>2</type> <id>288</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>223</content> </item> <item class_id_reference="16" object_id="_195"> <Value> <Obj> <type>2</type> <id>298</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>224</content> </item> <item class_id_reference="16" object_id="_196"> <Value> <Obj> <type>2</type> <id>300</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>255</content> </item> <item class_id_reference="16" object_id="_197"> <Value> <Obj> <type>2</type> <id>310</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>256</content> </item> <item class_id_reference="16" object_id="_198"> <Value> <Obj> <type>2</type> <id>312</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>287</content> </item> <item class_id_reference="16" object_id="_199"> <Value> <Obj> <type>2</type> <id>322</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>288</content> </item> <item class_id_reference="16" object_id="_200"> <Value> <Obj> <type>2</type> <id>324</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>319</content> </item> <item class_id_reference="16" object_id="_201"> <Value> <Obj> <type>2</type> <id>334</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>320</content> </item> <item class_id_reference="16" object_id="_202"> <Value> <Obj> <type>2</type> <id>336</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>351</content> </item> <item class_id_reference="16" object_id="_203"> <Value> <Obj> <type>2</type> <id>346</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>352</content> </item> <item class_id_reference="16" object_id="_204"> <Value> <Obj> <type>2</type> <id>348</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>383</content> </item> <item class_id_reference="16" object_id="_205"> <Value> <Obj> <type>2</type> <id>358</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>384</content> </item> <item class_id_reference="16" object_id="_206"> <Value> <Obj> <type>2</type> <id>360</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>415</content> </item> <item class_id_reference="16" object_id="_207"> <Value> <Obj> <type>2</type> <id>370</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>416</content> </item> <item class_id_reference="16" object_id="_208"> <Value> <Obj> <type>2</type> <id>372</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>447</content> </item> <item class_id_reference="16" object_id="_209"> <Value> <Obj> <type>2</type> <id>382</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>448</content> </item> <item class_id_reference="16" object_id="_210"> <Value> <Obj> <type>2</type> <id>384</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>479</content> </item> <item class_id_reference="16" object_id="_211"> <Value> <Obj> <type>2</type> <id>394</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>480</content> </item> <item class_id_reference="16" object_id="_212"> <Value> <Obj> <type>2</type> <id>396</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>511</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_213"> <Obj> <type>3</type> <id>36</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>35</item> </node_objs> </item> <item class_id_reference="18" object_id="_214"> <Obj> <type>3</type> <id>42</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>37</item> <item>38</item> <item>40</item> <item>41</item> </node_objs> </item> <item class_id_reference="18" object_id="_215"> <Obj> <type>3</type> <id>113</id> <name>hls_label_0</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>67</count> <item_version>0</item_version> <item>45</item> <item>46</item> <item>47</item> <item>48</item> <item>49</item> <item>50</item> <item>51</item> <item>52</item> <item>53</item> <item>54</item> <item>55</item> <item>56</item> <item>57</item> <item>58</item> <item>59</item> <item>60</item> <item>61</item> <item>62</item> <item>63</item> <item>64</item> <item>65</item> <item>66</item> <item>67</item> <item>68</item> <item>69</item> <item>70</item> <item>71</item> <item>72</item> <item>73</item> <item>74</item> <item>75</item> <item>76</item> <item>77</item> <item>78</item> <item>79</item> <item>80</item> <item>81</item> <item>82</item> <item>83</item> <item>84</item> <item>85</item> <item>86</item> <item>87</item> <item>88</item> <item>89</item> <item>90</item> <item>91</item> <item>92</item> <item>93</item> <item>94</item> <item>95</item> <item>96</item> <item>97</item> <item>98</item> <item>99</item> <item>100</item> <item>101</item> <item>102</item> <item>103</item> <item>104</item> <item>105</item> <item>106</item> <item>107</item> <item>108</item> <item>109</item> <item>110</item> <item>112</item> </node_objs> </item> <item class_id_reference="18" object_id="_216"> <Obj> <type>3</type> <id>115</id> <name>.preheader.preheader</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>114</item> </node_objs> </item> <item class_id_reference="18" object_id="_217"> <Obj> <type>3</type> <id>121</id> <name>.preheader</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>4</count> <item_version>0</item_version> <item>116</item> <item>117</item> <item>119</item> <item>120</item> </node_objs> </item> <item class_id_reference="18" object_id="_218"> <Obj> <type>3</type> <id>192</id> <name>hls_label_1</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>67</count> <item_version>0</item_version> <item>124</item> <item>125</item> <item>126</item> <item>127</item> <item>128</item> <item>129</item> <item>130</item> <item>131</item> <item>132</item> <item>133</item> <item>134</item> <item>135</item> <item>136</item> <item>137</item> <item>138</item> <item>139</item> <item>140</item> <item>141</item> <item>142</item> <item>143</item> <item>144</item> <item>145</item> <item>146</item> <item>147</item> <item>148</item> <item>149</item> <item>150</item> <item>151</item> <item>152</item> <item>153</item> <item>154</item> <item>155</item> <item>156</item> <item>157</item> <item>158</item> <item>159</item> <item>160</item> <item>161</item> <item>162</item> <item>163</item> <item>164</item> <item>165</item> <item>166</item> <item>167</item> <item>168</item> <item>169</item> <item>170</item> <item>171</item> <item>172</item> <item>173</item> <item>174</item> <item>175</item> <item>176</item> <item>177</item> <item>178</item> <item>179</item> <item>180</item> <item>181</item> <item>182</item> <item>183</item> <item>184</item> <item>185</item> <item>186</item> <item>187</item> <item>188</item> <item>189</item> <item>191</item> </node_objs> </item> <item class_id_reference="18" object_id="_219"> <Obj> <type>3</type> <id>194</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>193</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>322</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_220"> <id>195</id> <edge_type>2</edge_type> <source_obj>42</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_221"> <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="_222"> <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="_223"> <id>199</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>37</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_224"> <id>200</id> <edge_type>2</edge_type> <source_obj>113</source_obj> <sink_obj>37</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_225"> <id>201</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="_226"> <id>203</id> <edge_type>1</edge_type> <source_obj>202</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_227"> <id>204</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_228"> <id>206</id> <edge_type>1</edge_type> <source_obj>205</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_229"> <id>207</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_230"> <id>208</id> <edge_type>2</edge_type> <source_obj>113</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_231"> <id>209</id> <edge_type>2</edge_type> <source_obj>115</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_232"> <id>210</id> <edge_type>2</edge_type> <source_obj>121</source_obj> <sink_obj>114</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_233"> <id>211</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_234"> <id>214</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_235"> <id>215</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_236"> <id>216</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_237"> <id>217</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_238"> <id>219</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_239"> <id>220</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_240"> <id>221</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_241"> <id>222</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_242"> <id>225</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_243"> <id>227</id> <edge_type>1</edge_type> <source_obj>226</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_244"> <id>229</id> <edge_type>1</edge_type> <source_obj>228</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_245"> <id>230</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="_246"> <id>231</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_247"> <id>232</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_248"> <id>233</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_249"> <id>234</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_250"> <id>235</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_251"> <id>237</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_252"> <id>239</id> <edge_type>1</edge_type> <source_obj>238</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_253"> <id>241</id> <edge_type>1</edge_type> <source_obj>240</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_254"> <id>242</id> <edge_type>1</edge_type> <source_obj>55</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_255"> <id>243</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_256"> <id>244</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_257"> <id>245</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_258"> <id>246</id> <edge_type>1</edge_type> <source_obj>56</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_259"> <id>247</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_260"> <id>249</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_261"> <id>251</id> <edge_type>1</edge_type> <source_obj>250</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_262"> <id>253</id> <edge_type>1</edge_type> <source_obj>252</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_263"> <id>254</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_264"> <id>255</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_265"> <id>256</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_266"> <id>257</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_267"> <id>258</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_268"> <id>259</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="_269"> <id>261</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_270"> <id>263</id> <edge_type>1</edge_type> <source_obj>262</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_271"> <id>265</id> <edge_type>1</edge_type> <source_obj>264</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_272"> <id>266</id> <edge_type>1</edge_type> <source_obj>63</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_273"> <id>267</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_274"> <id>268</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_275"> <id>269</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_276"> <id>270</id> <edge_type>1</edge_type> <source_obj>64</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_277"> <id>271</id> <edge_type>1</edge_type> <source_obj>65</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_278"> <id>273</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>67</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_279"> <id>275</id> <edge_type>1</edge_type> <source_obj>274</source_obj> <sink_obj>67</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_280"> <id>277</id> <edge_type>1</edge_type> <source_obj>276</source_obj> <sink_obj>67</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_281"> <id>278</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="_282"> <id>279</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_283"> <id>280</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_284"> <id>281</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_285"> <id>282</id> <edge_type>1</edge_type> <source_obj>68</source_obj> <sink_obj>70</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_286"> <id>283</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="_287"> <id>285</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>71</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_288"> <id>287</id> <edge_type>1</edge_type> <source_obj>286</source_obj> <sink_obj>71</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_289"> <id>289</id> <edge_type>1</edge_type> <source_obj>288</source_obj> <sink_obj>71</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_290"> <id>290</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="_291"> <id>291</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>73</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_292"> <id>292</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>73</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_293"> <id>293</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>73</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_294"> <id>294</id> <edge_type>1</edge_type> <source_obj>72</source_obj> <sink_obj>74</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_295"> <id>295</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="_296"> <id>297</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>75</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_297"> <id>299</id> <edge_type>1</edge_type> <source_obj>298</source_obj> <sink_obj>75</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_298"> <id>301</id> <edge_type>1</edge_type> <source_obj>300</source_obj> <sink_obj>75</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_299"> <id>302</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="_300"> <id>303</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_301"> <id>304</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_302"> <id>305</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_303"> <id>306</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>78</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_304"> <id>307</id> <edge_type>1</edge_type> <source_obj>77</source_obj> <sink_obj>78</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_305"> <id>309</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_306"> <id>311</id> <edge_type>1</edge_type> <source_obj>310</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_307"> <id>313</id> <edge_type>1</edge_type> <source_obj>312</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_308"> <id>314</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="_309"> <id>315</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_310"> <id>316</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_311"> <id>317</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_312"> <id>318</id> <edge_type>1</edge_type> <source_obj>80</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_313"> <id>319</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="_314"> <id>321</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>83</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_315"> <id>323</id> <edge_type>1</edge_type> <source_obj>322</source_obj> <sink_obj>83</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_316"> <id>325</id> <edge_type>1</edge_type> <source_obj>324</source_obj> <sink_obj>83</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_317"> <id>326</id> <edge_type>1</edge_type> <source_obj>83</source_obj> <sink_obj>84</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_318"> <id>327</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_319"> <id>328</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_320"> <id>329</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_321"> <id>330</id> <edge_type>1</edge_type> <source_obj>84</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_322"> <id>331</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_323"> <id>333</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>87</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_324"> <id>335</id> <edge_type>1</edge_type> <source_obj>334</source_obj> <sink_obj>87</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_325"> <id>337</id> <edge_type>1</edge_type> <source_obj>336</source_obj> <sink_obj>87</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_326"> <id>338</id> <edge_type>1</edge_type> <source_obj>87</source_obj> <sink_obj>88</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_327"> <id>339</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>89</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_328"> <id>340</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>89</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_329"> <id>341</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>89</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_330"> <id>342</id> <edge_type>1</edge_type> <source_obj>88</source_obj> <sink_obj>90</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_331"> <id>343</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="_332"> <id>345</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_333"> <id>347</id> <edge_type>1</edge_type> <source_obj>346</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_334"> <id>349</id> <edge_type>1</edge_type> <source_obj>348</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_335"> <id>350</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="_336"> <id>351</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>93</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_337"> <id>352</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>93</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_338"> <id>353</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>93</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_339"> <id>354</id> <edge_type>1</edge_type> <source_obj>92</source_obj> <sink_obj>94</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_340"> <id>355</id> <edge_type>1</edge_type> <source_obj>93</source_obj> <sink_obj>94</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_341"> <id>357</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>95</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_342"> <id>359</id> <edge_type>1</edge_type> <source_obj>358</source_obj> <sink_obj>95</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_343"> <id>361</id> <edge_type>1</edge_type> <source_obj>360</source_obj> <sink_obj>95</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_344"> <id>362</id> <edge_type>1</edge_type> <source_obj>95</source_obj> <sink_obj>96</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_345"> <id>363</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>97</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_346"> <id>364</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>97</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_347"> <id>365</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>97</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_348"> <id>366</id> <edge_type>1</edge_type> <source_obj>96</source_obj> <sink_obj>98</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_349"> <id>367</id> <edge_type>1</edge_type> <source_obj>97</source_obj> <sink_obj>98</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_350"> <id>369</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>99</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_351"> <id>371</id> <edge_type>1</edge_type> <source_obj>370</source_obj> <sink_obj>99</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_352"> <id>373</id> <edge_type>1</edge_type> <source_obj>372</source_obj> <sink_obj>99</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_353"> <id>374</id> <edge_type>1</edge_type> <source_obj>99</source_obj> <sink_obj>100</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_354"> <id>375</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>101</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_355"> <id>376</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>101</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_356"> <id>377</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>101</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_357"> <id>378</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>102</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_358"> <id>379</id> <edge_type>1</edge_type> <source_obj>101</source_obj> <sink_obj>102</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_359"> <id>381</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>103</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_360"> <id>383</id> <edge_type>1</edge_type> <source_obj>382</source_obj> <sink_obj>103</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_361"> <id>385</id> <edge_type>1</edge_type> <source_obj>384</source_obj> <sink_obj>103</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_362"> <id>386</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="_363"> <id>387</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>105</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_364"> <id>388</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>105</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_365"> <id>389</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>105</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_366"> <id>390</id> <edge_type>1</edge_type> <source_obj>104</source_obj> <sink_obj>106</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_367"> <id>391</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="_368"> <id>393</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>107</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_369"> <id>395</id> <edge_type>1</edge_type> <source_obj>394</source_obj> <sink_obj>107</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_370"> <id>397</id> <edge_type>1</edge_type> <source_obj>396</source_obj> <sink_obj>107</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_371"> <id>398</id> <edge_type>1</edge_type> <source_obj>107</source_obj> <sink_obj>108</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_372"> <id>399</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>109</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_373"> <id>400</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>109</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_374"> <id>401</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>109</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_375"> <id>402</id> <edge_type>1</edge_type> <source_obj>108</source_obj> <sink_obj>110</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_376"> <id>403</id> <edge_type>1</edge_type> <source_obj>109</source_obj> <sink_obj>110</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_377"> <id>404</id> <edge_type>2</edge_type> <source_obj>42</source_obj> <sink_obj>112</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_378"> <id>405</id> <edge_type>1</edge_type> <source_obj>119</source_obj> <sink_obj>116</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_379"> <id>406</id> <edge_type>2</edge_type> <source_obj>192</source_obj> <sink_obj>116</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_380"> <id>407</id> <edge_type>1</edge_type> <source_obj>196</source_obj> <sink_obj>116</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_381"> <id>408</id> <edge_type>2</edge_type> <source_obj>115</source_obj> <sink_obj>116</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_382"> <id>409</id> <edge_type>1</edge_type> <source_obj>116</source_obj> <sink_obj>117</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_383"> <id>410</id> <edge_type>1</edge_type> <source_obj>202</source_obj> <sink_obj>117</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_384"> <id>411</id> <edge_type>1</edge_type> <source_obj>116</source_obj> <sink_obj>119</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_385"> <id>412</id> <edge_type>1</edge_type> <source_obj>205</source_obj> <sink_obj>119</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_386"> <id>413</id> <edge_type>1</edge_type> <source_obj>117</source_obj> <sink_obj>120</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_387"> <id>414</id> <edge_type>2</edge_type> <source_obj>192</source_obj> <sink_obj>120</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_388"> <id>415</id> <edge_type>2</edge_type> <source_obj>194</source_obj> <sink_obj>120</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_389"> <id>417</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>124</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_390"> <id>418</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_391"> <id>419</id> <edge_type>1</edge_type> <source_obj>125</source_obj> <sink_obj>126</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_392"> <id>420</id> <edge_type>1</edge_type> <source_obj>116</source_obj> <sink_obj>127</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_393"> <id>421</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>128</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_394"> <id>422</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>128</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_395"> <id>423</id> <edge_type>1</edge_type> <source_obj>127</source_obj> <sink_obj>128</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_396"> <id>424</id> <edge_type>1</edge_type> <source_obj>126</source_obj> <sink_obj>129</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_397"> <id>425</id> <edge_type>1</edge_type> <source_obj>128</source_obj> <sink_obj>129</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_398"> <id>427</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_399"> <id>428</id> <edge_type>1</edge_type> <source_obj>226</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_400"> <id>429</id> <edge_type>1</edge_type> <source_obj>228</source_obj> <sink_obj>130</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_401"> <id>430</id> <edge_type>1</edge_type> <source_obj>130</source_obj> <sink_obj>131</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_402"> <id>431</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>132</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_403"> <id>432</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>132</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_404"> <id>433</id> <edge_type>1</edge_type> <source_obj>127</source_obj> <sink_obj>132</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_405"> <id>434</id> <edge_type>1</edge_type> <source_obj>131</source_obj> <sink_obj>133</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_406"> <id>435</id> <edge_type>1</edge_type> <source_obj>132</source_obj> <sink_obj>133</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_407"> <id>437</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>134</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_408"> <id>438</id> <edge_type>1</edge_type> <source_obj>238</source_obj> <sink_obj>134</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_409"> <id>439</id> <edge_type>1</edge_type> <source_obj>240</source_obj> <sink_obj>134</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_410"> <id>440</id> <edge_type>1</edge_type> <source_obj>134</source_obj> <sink_obj>135</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_411"> <id>441</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>136</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_412"> <id>442</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>136</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_413"> <id>443</id> <edge_type>1</edge_type> <source_obj>127</source_obj> <sink_obj>136</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_414"> <id>444</id> <edge_type>1</edge_type> <source_obj>135</source_obj> <sink_obj>137</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_415"> <id>445</id> <edge_type>1</edge_type> <source_obj>136</source_obj> <sink_obj>137</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_416"> <id>447</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>138</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_417"> <id>448</id> <edge_type>1</edge_type> <source_obj>250</source_obj> <sink_obj>138</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_418"> <id>449</id> <edge_type>1</edge_type> <source_obj>252</source_obj> <sink_obj>138</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_419"> <id>450</id> <edge_type>1</edge_type> <source_obj>138</source_obj> <sink_obj>139</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_420"> <id>451</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_421"> <id>452</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_422"> <id>453</id> <edge_type>1</edge_type> <source_obj>127</source_obj> <sink_obj>140</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_423"> <id>454</id> <edge_type>1</edge_type> <source_obj>139</source_obj> <sink_obj>141</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_424"> <id>455</id> <edge_type>1</edge_type> <source_obj>140</source_obj> <sink_obj>141</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_425"> <id>457</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>142</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_426"> <id>458</id> <edge_type>1</edge_type> <source_obj>262</source_obj> <sink_obj>142</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_427"> <id>459</id> <edge_type>1</edge_type> <source_obj>264</source_obj> <sink_obj>142</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_428"> <id>460</id> <edge_type>1</edge_type> <source_obj>142</source_obj> <sink_obj>143</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_429"> <id>461</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>144</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_430"> <id>462</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>144</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_431"> <id>463</id> <edge_type>1</edge_type> <source_obj>127</source_obj> <sink_obj>144</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_432"> <id>464</id> <edge_type>1</edge_type> <source_obj>143</source_obj> <sink_obj>145</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_433"> <id>465</id> <edge_type>1</edge_type> <source_obj>144</source_obj> <sink_obj>145</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_434"> <id>467</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>146</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_435"> <id>468</id> <edge_type>1</edge_type> <source_obj>274</source_obj> <sink_obj>146</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_436"> <id>469</id> <edge_type>1</edge_type> <source_obj>276</source_obj> <sink_obj>146</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_437"> <id>470</id> <edge_type>1</edge_type> <source_obj>146</source_obj> <sink_obj>147</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_438"> <id>471</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>148</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_439"> <id>472</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>148</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_440"> <id>473</id> <edge_type>1</edge_type> <source_obj>127</source_obj> <sink_obj>148</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_441"> <id>474</id> <edge_type>1</edge_type> <source_obj>147</source_obj> <sink_obj>149</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_442"> <id>475</id> <edge_type>1</edge_type> <source_obj>148</source_obj> <sink_obj>149</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_443"> <id>477</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>150</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_444"> <id>478</id> <edge_type>1</edge_type> <source_obj>286</source_obj> <sink_obj>150</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_445"> <id>479</id> <edge_type>1</edge_type> <source_obj>288</source_obj> <sink_obj>150</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_446"> <id>480</id> <edge_type>1</edge_type> <source_obj>150</source_obj> <sink_obj>151</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_447"> <id>481</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>152</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_448"> <id>482</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>152</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_449"> <id>483</id> <edge_type>1</edge_type> <source_obj>127</source_obj> <sink_obj>152</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_450"> <id>484</id> <edge_type>1</edge_type> <source_obj>151</source_obj> <sink_obj>153</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_451"> <id>485</id> <edge_type>1</edge_type> <source_obj>152</source_obj> <sink_obj>153</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_452"> <id>487</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>154</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_453"> <id>488</id> <edge_type>1</edge_type> <source_obj>298</source_obj> <sink_obj>154</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_454"> <id>489</id> <edge_type>1</edge_type> <source_obj>300</source_obj> <sink_obj>154</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_455"> <id>490</id> <edge_type>1</edge_type> <source_obj>154</source_obj> <sink_obj>155</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_456"> <id>491</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>156</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_457"> <id>492</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>156</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_458"> <id>493</id> <edge_type>1</edge_type> <source_obj>127</source_obj> <sink_obj>156</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_459"> <id>494</id> <edge_type>1</edge_type> <source_obj>155</source_obj> <sink_obj>157</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_460"> <id>495</id> <edge_type>1</edge_type> <source_obj>156</source_obj> <sink_obj>157</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_461"> <id>497</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>158</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_462"> <id>498</id> <edge_type>1</edge_type> <source_obj>310</source_obj> <sink_obj>158</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_463"> <id>499</id> <edge_type>1</edge_type> <source_obj>312</source_obj> <sink_obj>158</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_464"> <id>500</id> <edge_type>1</edge_type> <source_obj>158</source_obj> <sink_obj>159</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_465"> <id>501</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>160</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_466"> <id>502</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>160</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_467"> <id>503</id> <edge_type>1</edge_type> <source_obj>127</source_obj> <sink_obj>160</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_468"> <id>504</id> <edge_type>1</edge_type> <source_obj>159</source_obj> <sink_obj>161</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_469"> <id>505</id> <edge_type>1</edge_type> <source_obj>160</source_obj> <sink_obj>161</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_470"> <id>507</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>162</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_471"> <id>508</id> <edge_type>1</edge_type> <source_obj>322</source_obj> <sink_obj>162</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_472"> <id>509</id> <edge_type>1</edge_type> <source_obj>324</source_obj> <sink_obj>162</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_473"> <id>510</id> <edge_type>1</edge_type> <source_obj>162</source_obj> <sink_obj>163</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_474"> <id>511</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>164</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_475"> <id>512</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>164</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_476"> <id>513</id> <edge_type>1</edge_type> <source_obj>127</source_obj> <sink_obj>164</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_477"> <id>514</id> <edge_type>1</edge_type> <source_obj>163</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_478"> <id>515</id> <edge_type>1</edge_type> <source_obj>164</source_obj> <sink_obj>165</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_479"> <id>517</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>166</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_480"> <id>518</id> <edge_type>1</edge_type> <source_obj>334</source_obj> <sink_obj>166</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_481"> <id>519</id> <edge_type>1</edge_type> <source_obj>336</source_obj> <sink_obj>166</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_482"> <id>520</id> <edge_type>1</edge_type> <source_obj>166</source_obj> <sink_obj>167</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_483"> <id>521</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>168</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_484"> <id>522</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>168</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_485"> <id>523</id> <edge_type>1</edge_type> <source_obj>127</source_obj> <sink_obj>168</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_486"> <id>524</id> <edge_type>1</edge_type> <source_obj>167</source_obj> <sink_obj>169</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_487"> <id>525</id> <edge_type>1</edge_type> <source_obj>168</source_obj> <sink_obj>169</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_488"> <id>527</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>170</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_489"> <id>528</id> <edge_type>1</edge_type> <source_obj>346</source_obj> <sink_obj>170</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_490"> <id>529</id> <edge_type>1</edge_type> <source_obj>348</source_obj> <sink_obj>170</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_491"> <id>530</id> <edge_type>1</edge_type> <source_obj>170</source_obj> <sink_obj>171</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_492"> <id>531</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>172</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_493"> <id>532</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>172</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_494"> <id>533</id> <edge_type>1</edge_type> <source_obj>127</source_obj> <sink_obj>172</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_495"> <id>534</id> <edge_type>1</edge_type> <source_obj>171</source_obj> <sink_obj>173</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_496"> <id>535</id> <edge_type>1</edge_type> <source_obj>172</source_obj> <sink_obj>173</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_497"> <id>537</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>174</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_498"> <id>538</id> <edge_type>1</edge_type> <source_obj>358</source_obj> <sink_obj>174</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_499"> <id>539</id> <edge_type>1</edge_type> <source_obj>360</source_obj> <sink_obj>174</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_500"> <id>540</id> <edge_type>1</edge_type> <source_obj>174</source_obj> <sink_obj>175</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_501"> <id>541</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>176</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_502"> <id>542</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>176</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_503"> <id>543</id> <edge_type>1</edge_type> <source_obj>127</source_obj> <sink_obj>176</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_504"> <id>544</id> <edge_type>1</edge_type> <source_obj>175</source_obj> <sink_obj>177</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_505"> <id>545</id> <edge_type>1</edge_type> <source_obj>176</source_obj> <sink_obj>177</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_506"> <id>547</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>178</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_507"> <id>548</id> <edge_type>1</edge_type> <source_obj>370</source_obj> <sink_obj>178</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_508"> <id>549</id> <edge_type>1</edge_type> <source_obj>372</source_obj> <sink_obj>178</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_509"> <id>550</id> <edge_type>1</edge_type> <source_obj>178</source_obj> <sink_obj>179</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_510"> <id>551</id> <edge_type>1</edge_type> <source_obj>31</source_obj> <sink_obj>180</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_511"> <id>552</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>180</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_512"> <id>553</id> <edge_type>1</edge_type> <source_obj>127</source_obj> <sink_obj>180</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_513"> <id>554</id> <edge_type>1</edge_type> <source_obj>179</source_obj> <sink_obj>181</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_514"> <id>555</id> <edge_type>1</edge_type> <source_obj>180</source_obj> <sink_obj>181</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_515"> <id>557</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>182</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_516"> <id>558</id> <edge_type>1</edge_type> <source_obj>382</source_obj> <sink_obj>182</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_517"> <id>559</id> <edge_type>1</edge_type> <source_obj>384</source_obj> <sink_obj>182</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_518"> <id>560</id> <edge_type>1</edge_type> <source_obj>182</source_obj> <sink_obj>183</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_519"> <id>561</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>184</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_520"> <id>562</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>184</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_521"> <id>563</id> <edge_type>1</edge_type> <source_obj>127</source_obj> <sink_obj>184</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_522"> <id>564</id> <edge_type>1</edge_type> <source_obj>183</source_obj> <sink_obj>185</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_523"> <id>565</id> <edge_type>1</edge_type> <source_obj>184</source_obj> <sink_obj>185</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_524"> <id>567</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>186</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_525"> <id>568</id> <edge_type>1</edge_type> <source_obj>394</source_obj> <sink_obj>186</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_526"> <id>569</id> <edge_type>1</edge_type> <source_obj>396</source_obj> <sink_obj>186</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_527"> <id>570</id> <edge_type>1</edge_type> <source_obj>186</source_obj> <sink_obj>187</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_528"> <id>571</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>188</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_529"> <id>572</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>188</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_530"> <id>573</id> <edge_type>1</edge_type> <source_obj>127</source_obj> <sink_obj>188</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_531"> <id>574</id> <edge_type>1</edge_type> <source_obj>187</source_obj> <sink_obj>189</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_532"> <id>575</id> <edge_type>1</edge_type> <source_obj>188</source_obj> <sink_obj>189</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_533"> <id>576</id> <edge_type>2</edge_type> <source_obj>121</source_obj> <sink_obj>191</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_534"> <id>643</id> <edge_type>2</edge_type> <source_obj>36</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_535"> <id>644</id> <edge_type>2</edge_type> <source_obj>42</source_obj> <sink_obj>115</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_536"> <id>645</id> <edge_type>2</edge_type> <source_obj>42</source_obj> <sink_obj>113</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_537"> <id>646</id> <edge_type>2</edge_type> <source_obj>113</source_obj> <sink_obj>42</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_538"> <id>647</id> <edge_type>2</edge_type> <source_obj>115</source_obj> <sink_obj>121</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_539"> <id>648</id> <edge_type>2</edge_type> <source_obj>121</source_obj> <sink_obj>194</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_540"> <id>649</id> <edge_type>2</edge_type> <source_obj>121</source_obj> <sink_obj>192</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_541"> <id>650</id> <edge_type>2</edge_type> <source_obj>192</source_obj> <sink_obj>121</sink_obj> <is_back_edge>1</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_542"> <mId>1</mId> <mTag>load_cifm_data_pool</mTag> <mType>0</mType> <sub_regions> <count>5</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>4</item> <item>5</item> <item>6</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>120</mMinLatency> <mMaxLatency>120</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_543"> <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>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"/> </item> <item class_id_reference="22" object_id="_544"> <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>42</item> <item>113</item> </basic_blocks> <mII>1</mII> <mDepth>1</mDepth> <mMinTripCount>58</mMinTripCount> <mMaxTripCount>58</mMaxTripCount> <mMinLatency>58</mMinLatency> <mMaxLatency>58</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_545"> <mId>4</mId> <mTag>Region 1</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>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"/> </item> <item class_id_reference="22" object_id="_546"> <mId>5</mId> <mTag>Loop 2</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>121</item> <item>192</item> </basic_blocks> <mII>1</mII> <mDepth>1</mDepth> <mMinTripCount>58</mMinTripCount> <mMaxTripCount>58</mMaxTripCount> <mMinLatency>58</mMinLatency> <mMaxLatency>58</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_547"> <mId>6</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>194</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_548"> <states class_id="25" tracking_level="0" version="0"> <count>5</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_549"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_550"> <id>34</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_551"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_552"> <id>2</id> <operations> <count>75</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_553"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_554"> <id>38</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_555"> <id>39</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_556"> <id>40</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_557"> <id>41</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_558"> <id>43</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_559"> <id>44</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_560"> <id>45</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_561"> <id>46</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_562"> <id>47</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_563"> <id>48</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_564"> <id>49</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_565"> <id>50</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_566"> <id>51</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_567"> <id>52</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_568"> <id>53</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_569"> <id>54</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_570"> <id>55</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_571"> <id>56</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_572"> <id>57</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_573"> <id>58</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_574"> <id>59</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_575"> <id>60</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_576"> <id>61</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_577"> <id>62</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_578"> <id>63</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_579"> <id>64</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_580"> <id>65</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_581"> <id>66</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_582"> <id>67</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_583"> <id>68</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_584"> <id>69</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_585"> <id>70</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_586"> <id>71</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_587"> <id>72</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_588"> <id>73</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_589"> <id>74</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_590"> <id>75</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_591"> <id>76</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_592"> <id>77</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_593"> <id>78</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_594"> <id>79</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_595"> <id>80</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_596"> <id>81</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_597"> <id>82</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_598"> <id>83</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_599"> <id>84</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_600"> <id>85</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_601"> <id>86</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_602"> <id>87</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_603"> <id>88</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_604"> <id>89</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_605"> <id>90</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_606"> <id>91</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_607"> <id>92</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_608"> <id>93</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_609"> <id>94</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_610"> <id>95</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_611"> <id>96</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_612"> <id>97</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_613"> <id>98</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_614"> <id>99</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_615"> <id>100</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_616"> <id>101</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_617"> <id>102</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_618"> <id>103</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_619"> <id>104</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_620"> <id>105</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_621"> <id>106</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_622"> <id>107</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_623"> <id>108</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_624"> <id>109</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_625"> <id>110</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_626"> <id>111</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_627"> <id>112</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_628"> <id>3</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_629"> <id>114</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_630"> <id>4</id> <operations> <count>75</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_631"> <id>116</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_632"> <id>117</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_633"> <id>118</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_634"> <id>119</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_635"> <id>120</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_636"> <id>122</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_637"> <id>123</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_638"> <id>124</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_639"> <id>125</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_640"> <id>126</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_641"> <id>127</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_642"> <id>128</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_643"> <id>129</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_644"> <id>130</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_645"> <id>131</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_646"> <id>132</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_647"> <id>133</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_648"> <id>134</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_649"> <id>135</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_650"> <id>136</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_651"> <id>137</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_652"> <id>138</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_653"> <id>139</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_654"> <id>140</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_655"> <id>141</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_656"> <id>142</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_657"> <id>143</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_658"> <id>144</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_659"> <id>145</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_660"> <id>146</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_661"> <id>147</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_662"> <id>148</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_663"> <id>149</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_664"> <id>150</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_665"> <id>151</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_666"> <id>152</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_667"> <id>153</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_668"> <id>154</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_669"> <id>155</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_670"> <id>156</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_671"> <id>157</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_672"> <id>158</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_673"> <id>159</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_674"> <id>160</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_675"> <id>161</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_676"> <id>162</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_677"> <id>163</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_678"> <id>164</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_679"> <id>165</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_680"> <id>166</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_681"> <id>167</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_682"> <id>168</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_683"> <id>169</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_684"> <id>170</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_685"> <id>171</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_686"> <id>172</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_687"> <id>173</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_688"> <id>174</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_689"> <id>175</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_690"> <id>176</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_691"> <id>177</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_692"> <id>178</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_693"> <id>179</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_694"> <id>180</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_695"> <id>181</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_696"> <id>182</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_697"> <id>183</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_698"> <id>184</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_699"> <id>185</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_700"> <id>186</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_701"> <id>187</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_702"> <id>188</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_703"> <id>189</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_704"> <id>190</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_705"> <id>191</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_706"> <id>5</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_707"> <id>193</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_708"> <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="_709"> <inState>3</inState> <outState>4</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_710"> <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>38</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_711"> <inState>2</inState> <outState>2</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>38</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_712"> <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>117</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_713"> <inState>4</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>117</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="_714"> <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>6</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>ap_block_state2 ( and ) </first> <second class_id="39" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="40" tracking_level="0" version="0"> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_block_state4 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>icmp_ln10_fu_760_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>6</second> </item> <item> <first>(1P1)</first> <second>4</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>11</second> </item> </second> </item> <item> <first>icmp_ln33_fu_876_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>6</second> </item> <item> <first>(1P1)</first> <second>4</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>11</second> </item> </second> </item> <item> <first>j_1_fu_882_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>6</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>15</second> </item> </second> </item> <item> <first>j_fu_766_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>6</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>15</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>4</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>6</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>6</second> </item> <item> <first>LUT</first> <second>33</second> </item> </second> </item> <item> <first>cifm_TDATA_blk_n</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>cifm_counter_0_reg_588</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>6</second> </item> <item> <first>(2Count)</first> <second>12</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>j1_0_reg_599</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>6</second> </item> <item> <first>(2Count)</first> <second>12</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> </dp_multiplexer_resource> <dp_register_resource> <count>3</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>5</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>5</second> </item> </second> </item> <item> <first>cifm_counter_0_reg_588</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>6</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>6</second> </item> </second> </item> <item> <first>j1_0_reg_599</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>6</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>6</second> </item> </second> </item> </dp_register_resource> <dp_dsp_resource> <count>0</count> <item_version>0</item_version> </dp_dsp_resource> <dp_component_map class_id="41" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_component_map> <dp_expression_map> <count>4</count> <item_version>0</item_version> <item class_id="42" tracking_level="0" version="0"> <first>icmp_ln10_fu_760_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>icmp_ln33_fu_876_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>117</item> </second> </item> <item> <first>j_1_fu_882_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>119</item> </second> </item> <item> <first>j_fu_766_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>40</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>145</count> <item_version>0</item_version> <item class_id="44" tracking_level="0" version="0"> <first>35</first> <second class_id="45" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>45</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>46</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>47</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>49</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>50</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>51</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>52</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>53</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>54</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>55</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>56</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>57</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>58</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>59</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>60</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>61</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>62</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>63</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>64</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>65</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>66</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>67</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>68</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>69</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>70</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>71</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>72</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>73</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>74</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>75</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>76</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>77</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>78</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>79</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>80</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>81</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>82</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>83</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>84</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>85</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>86</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>87</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>88</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>89</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>90</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>91</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>92</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>93</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>94</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>95</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>96</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>97</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>98</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>99</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>100</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>101</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>102</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>103</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>104</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>105</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>106</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>107</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>108</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>109</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>110</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>112</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>114</first> <second> <first>2</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>3</first> <second>0</second> </second> </item> <item> <first>120</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>124</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>125</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>126</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>127</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>128</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>129</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>130</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>131</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>132</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>133</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>134</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>135</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>136</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>137</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>138</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>139</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>140</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>141</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>142</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>143</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>144</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>145</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>146</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>147</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>148</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>149</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>150</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>151</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>152</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>153</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>154</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>155</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>156</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>157</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>158</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>159</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>160</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>161</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>162</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>163</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>164</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>165</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>166</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>167</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>168</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>169</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>170</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>171</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>172</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>173</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>174</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>175</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>176</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>177</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>178</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>179</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>180</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>181</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>182</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>183</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>184</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>185</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>186</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>187</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>188</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>189</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>191</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>193</first> <second> <first>4</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="46" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="47" tracking_level="0" version="0"> <first>36</first> <second class_id="48" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>42</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>113</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>115</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>121</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>192</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>194</first> <second> <first>4</first> <second>4</second> </second> </item> </bblk_ent_exit> <regions class_id="49" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="50" tracking_level="1" version="0" object_id="_715"> <region_name>Loop 1</region_name> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>42</item> <item>113</item> </basic_blocks> <nodes> <count>0</count> <item_version>0</item_version> </nodes> <anchor_node>-1</anchor_node> <region_type>8</region_type> <interval>1</interval> <pipe_depth>1</pipe_depth> </item> <item class_id_reference="50" object_id="_716"> <region_name>Loop 2</region_name> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>121</item> <item>192</item> </basic_blocks> <nodes> <count>0</count> <item_version>0</item_version> </nodes> <anchor_node>-1</anchor_node> <region_type>8</region_type> <interval>1</interval> <pipe_depth>1</pipe_depth> </item> </regions> <dp_fu_nodes class_id="51" tracking_level="0" version="0"> <count>122</count> <item_version>0</item_version> <item class_id="52" tracking_level="0" version="0"> <first>166</first> <second> <count>2</count> <item_version>0</item_version> <item>46</item> <item>124</item> </second> </item> <item> <first>172</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>179</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>185</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>192</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>198</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>205</first> <second> <count>1</count> <item_version>0</item_version> <item>58</item> </second> </item> <item> <first>211</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>218</first> <second> <count>1</count> <item_version>0</item_version> <item>62</item> </second> </item> <item> <first>224</first> <second> <count>1</count> <item_version>0</item_version> <item>65</item> </second> </item> <item> <first>231</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>237</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>244</first> <second> <count>1</count> <item_version>0</item_version> <item>70</item> </second> </item> <item> <first>250</first> <second> <count>1</count> <item_version>0</item_version> <item>73</item> </second> </item> <item> <first>257</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> <item> <first>263</first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> <item> <first>270</first> <second> <count>1</count> <item_version>0</item_version> <item>78</item> </second> </item> <item> <first>276</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>283</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>289</first> <second> <count>1</count> <item_version>0</item_version> <item>85</item> </second> </item> <item> <first>296</first> <second> <count>1</count> <item_version>0</item_version> <item>86</item> </second> </item> <item> <first>302</first> <second> <count>1</count> <item_version>0</item_version> <item>89</item> </second> </item> <item> <first>309</first> <second> <count>1</count> <item_version>0</item_version> <item>90</item> </second> </item> <item> <first>315</first> <second> <count>1</count> <item_version>0</item_version> <item>93</item> </second> </item> <item> <first>322</first> <second> <count>1</count> <item_version>0</item_version> <item>94</item> </second> </item> <item> <first>328</first> <second> <count>1</count> <item_version>0</item_version> <item>97</item> </second> </item> <item> <first>335</first> <second> <count>1</count> <item_version>0</item_version> <item>98</item> </second> </item> <item> <first>341</first> <second> <count>1</count> <item_version>0</item_version> <item>101</item> </second> </item> <item> <first>348</first> <second> <count>1</count> <item_version>0</item_version> <item>102</item> </second> </item> <item> <first>354</first> <second> <count>1</count> <item_version>0</item_version> <item>105</item> </second> </item> <item> <first>361</first> <second> <count>1</count> <item_version>0</item_version> <item>106</item> </second> </item> <item> <first>367</first> <second> <count>1</count> <item_version>0</item_version> <item>109</item> </second> </item> <item> <first>374</first> <second> <count>1</count> <item_version>0</item_version> <item>110</item> </second> </item> <item> <first>380</first> <second> <count>1</count> <item_version>0</item_version> <item>128</item> </second> </item> <item> <first>387</first> <second> <count>1</count> <item_version>0</item_version> <item>129</item> </second> </item> <item> <first>393</first> <second> <count>1</count> <item_version>0</item_version> <item>132</item> </second> </item> <item> <first>400</first> <second> <count>1</count> <item_version>0</item_version> <item>133</item> </second> </item> <item> <first>406</first> <second> <count>1</count> <item_version>0</item_version> <item>136</item> </second> </item> <item> <first>413</first> <second> <count>1</count> <item_version>0</item_version> <item>137</item> </second> </item> <item> <first>419</first> <second> <count>1</count> <item_version>0</item_version> <item>140</item> </second> </item> <item> <first>426</first> <second> <count>1</count> <item_version>0</item_version> <item>141</item> </second> </item> <item> <first>432</first> <second> <count>1</count> <item_version>0</item_version> <item>144</item> </second> </item> <item> <first>439</first> <second> <count>1</count> <item_version>0</item_version> <item>145</item> </second> </item> <item> <first>445</first> <second> <count>1</count> <item_version>0</item_version> <item>148</item> </second> </item> <item> <first>452</first> <second> <count>1</count> <item_version>0</item_version> <item>149</item> </second> </item> <item> <first>458</first> <second> <count>1</count> <item_version>0</item_version> <item>152</item> </second> </item> <item> <first>465</first> <second> <count>1</count> <item_version>0</item_version> <item>153</item> </second> </item> <item> <first>471</first> <second> <count>1</count> <item_version>0</item_version> <item>156</item> </second> </item> <item> <first>478</first> <second> <count>1</count> <item_version>0</item_version> <item>157</item> </second> </item> <item> <first>484</first> <second> <count>1</count> <item_version>0</item_version> <item>160</item> </second> </item> <item> <first>491</first> <second> <count>1</count> <item_version>0</item_version> <item>161</item> </second> </item> <item> <first>497</first> <second> <count>1</count> <item_version>0</item_version> <item>164</item> </second> </item> <item> <first>504</first> <second> <count>1</count> <item_version>0</item_version> <item>165</item> </second> </item> <item> <first>510</first> <second> <count>1</count> <item_version>0</item_version> <item>168</item> </second> </item> <item> <first>517</first> <second> <count>1</count> <item_version>0</item_version> <item>169</item> </second> </item> <item> <first>523</first> <second> <count>1</count> <item_version>0</item_version> <item>172</item> </second> </item> <item> <first>530</first> <second> <count>1</count> <item_version>0</item_version> <item>173</item> </second> </item> <item> <first>536</first> <second> <count>1</count> <item_version>0</item_version> <item>176</item> </second> </item> <item> <first>543</first> <second> <count>1</count> <item_version>0</item_version> <item>177</item> </second> </item> <item> <first>549</first> <second> <count>1</count> <item_version>0</item_version> <item>180</item> </second> </item> <item> <first>556</first> <second> <count>1</count> <item_version>0</item_version> <item>181</item> </second> </item> <item> <first>562</first> <second> <count>1</count> <item_version>0</item_version> <item>184</item> </second> </item> <item> <first>569</first> <second> <count>1</count> <item_version>0</item_version> <item>185</item> </second> </item> <item> <first>575</first> <second> <count>1</count> <item_version>0</item_version> <item>188</item> </second> </item> <item> <first>582</first> <second> <count>1</count> <item_version>0</item_version> <item>189</item> </second> </item> <item> <first>592</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>603</first> <second> <count>1</count> <item_version>0</item_version> <item>116</item> </second> </item> <item> <first>610</first> <second> <count>2</count> <item_version>0</item_version> <item>51</item> <item>130</item> </second> </item> <item> <first>620</first> <second> <count>2</count> <item_version>0</item_version> <item>55</item> <item>134</item> </second> </item> <item> <first>630</first> <second> <count>2</count> <item_version>0</item_version> <item>59</item> <item>138</item> </second> </item> <item> <first>640</first> <second> <count>2</count> <item_version>0</item_version> <item>63</item> <item>142</item> </second> </item> <item> <first>650</first> <second> <count>2</count> <item_version>0</item_version> <item>67</item> <item>146</item> </second> </item> <item> <first>660</first> <second> <count>2</count> <item_version>0</item_version> <item>71</item> <item>150</item> </second> </item> <item> <first>670</first> <second> <count>2</count> <item_version>0</item_version> <item>75</item> <item>154</item> </second> </item> <item> <first>680</first> <second> <count>2</count> <item_version>0</item_version> <item>79</item> <item>158</item> </second> </item> <item> <first>690</first> <second> <count>2</count> <item_version>0</item_version> <item>83</item> <item>162</item> </second> </item> <item> <first>700</first> <second> <count>2</count> <item_version>0</item_version> <item>87</item> <item>166</item> </second> </item> <item> <first>710</first> <second> <count>2</count> <item_version>0</item_version> <item>91</item> <item>170</item> </second> </item> <item> <first>720</first> <second> <count>2</count> <item_version>0</item_version> <item>95</item> <item>174</item> </second> </item> <item> <first>730</first> <second> <count>2</count> <item_version>0</item_version> <item>99</item> <item>178</item> </second> </item> <item> <first>740</first> <second> <count>2</count> <item_version>0</item_version> <item>103</item> <item>182</item> </second> </item> <item> <first>750</first> <second> <count>2</count> <item_version>0</item_version> <item>107</item> <item>186</item> </second> </item> <item> <first>760</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>766</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>772</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>792</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>796</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>801</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>806</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>811</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>816</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>821</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>826</first> <second> <count>1</count> <item_version>0</item_version> <item>72</item> </second> </item> <item> <first>831</first> <second> <count>1</count> <item_version>0</item_version> <item>76</item> </second> </item> <item> <first>836</first> <second> <count>1</count> <item_version>0</item_version> <item>80</item> </second> </item> <item> <first>841</first> <second> <count>1</count> <item_version>0</item_version> <item>84</item> </second> </item> <item> <first>846</first> <second> <count>1</count> <item_version>0</item_version> <item>88</item> </second> </item> <item> <first>851</first> <second> <count>1</count> <item_version>0</item_version> <item>92</item> </second> </item> <item> <first>856</first> <second> <count>1</count> <item_version>0</item_version> <item>96</item> </second> </item> <item> <first>861</first> <second> <count>1</count> <item_version>0</item_version> <item>100</item> </second> </item> <item> <first>866</first> <second> <count>1</count> <item_version>0</item_version> <item>104</item> </second> </item> <item> <first>871</first> <second> <count>1</count> <item_version>0</item_version> <item>108</item> </second> </item> <item> <first>876</first> <second> <count>1</count> <item_version>0</item_version> <item>117</item> </second> </item> <item> <first>882</first> <second> <count>1</count> <item_version>0</item_version> <item>119</item> </second> </item> <item> <first>888</first> <second> <count>1</count> <item_version>0</item_version> <item>125</item> </second> </item> <item> <first>892</first> <second> <count>1</count> <item_version>0</item_version> <item>126</item> </second> </item> <item> <first>897</first> <second> <count>1</count> <item_version>0</item_version> <item>127</item> </second> </item> <item> <first>917</first> <second> <count>1</count> <item_version>0</item_version> <item>131</item> </second> </item> <item> <first>922</first> <second> <count>1</count> <item_version>0</item_version> <item>135</item> </second> </item> <item> <first>927</first> <second> <count>1</count> <item_version>0</item_version> <item>139</item> </second> </item> <item> <first>932</first> <second> <count>1</count> <item_version>0</item_version> <item>143</item> </second> </item> <item> <first>937</first> <second> <count>1</count> <item_version>0</item_version> <item>147</item> </second> </item> <item> <first>942</first> <second> <count>1</count> <item_version>0</item_version> <item>151</item> </second> </item> <item> <first>947</first> <second> <count>1</count> <item_version>0</item_version> <item>155</item> </second> </item> <item> <first>952</first> <second> <count>1</count> <item_version>0</item_version> <item>159</item> </second> </item> <item> <first>957</first> <second> <count>1</count> <item_version>0</item_version> <item>163</item> </second> </item> <item> <first>962</first> <second> <count>1</count> <item_version>0</item_version> <item>167</item> </second> </item> <item> <first>967</first> <second> <count>1</count> <item_version>0</item_version> <item>171</item> </second> </item> <item> <first>972</first> <second> <count>1</count> <item_version>0</item_version> <item>175</item> </second> </item> <item> <first>977</first> <second> <count>1</count> <item_version>0</item_version> <item>179</item> </second> </item> <item> <first>982</first> <second> <count>1</count> <item_version>0</item_version> <item>183</item> </second> </item> <item> <first>987</first> <second> <count>1</count> <item_version>0</item_version> <item>187</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="54" tracking_level="0" version="0"> <count>89</count> <item_version>0</item_version> <item class_id="55" tracking_level="0" version="0"> <first>bitcast_ln13_fu_796</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>bitcast_ln14_fu_801</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>bitcast_ln15_fu_806</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>bitcast_ln16_fu_811</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>bitcast_ln17_fu_816</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>bitcast_ln18_fu_821</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>bitcast_ln19_fu_826</first> <second> <count>1</count> <item_version>0</item_version> <item>72</item> </second> </item> <item> <first>bitcast_ln20_fu_831</first> <second> <count>1</count> <item_version>0</item_version> <item>76</item> </second> </item> <item> <first>bitcast_ln21_fu_836</first> <second> <count>1</count> <item_version>0</item_version> <item>80</item> </second> </item> <item> <first>bitcast_ln22_fu_841</first> <second> <count>1</count> <item_version>0</item_version> <item>84</item> </second> </item> <item> <first>bitcast_ln23_fu_846</first> <second> <count>1</count> <item_version>0</item_version> <item>88</item> </second> </item> <item> <first>bitcast_ln24_fu_851</first> <second> <count>1</count> <item_version>0</item_version> <item>92</item> </second> </item> <item> <first>bitcast_ln25_fu_856</first> <second> <count>1</count> <item_version>0</item_version> <item>96</item> </second> </item> <item> <first>bitcast_ln26_fu_861</first> <second> <count>1</count> <item_version>0</item_version> <item>100</item> </second> </item> <item> <first>bitcast_ln27_fu_866</first> <second> <count>1</count> <item_version>0</item_version> <item>104</item> </second> </item> <item> <first>bitcast_ln28_fu_871</first> <second> <count>1</count> <item_version>0</item_version> <item>108</item> </second> </item> <item> <first>bitcast_ln36_fu_892</first> <second> <count>1</count> <item_version>0</item_version> <item>126</item> </second> </item> <item> <first>bitcast_ln37_fu_917</first> <second> <count>1</count> <item_version>0</item_version> <item>131</item> </second> </item> <item> <first>bitcast_ln38_fu_922</first> <second> <count>1</count> <item_version>0</item_version> <item>135</item> </second> </item> <item> <first>bitcast_ln39_fu_927</first> <second> <count>1</count> <item_version>0</item_version> <item>139</item> </second> </item> <item> <first>bitcast_ln40_fu_932</first> <second> <count>1</count> <item_version>0</item_version> <item>143</item> </second> </item> <item> <first>bitcast_ln41_fu_937</first> <second> <count>1</count> <item_version>0</item_version> <item>147</item> </second> </item> <item> <first>bitcast_ln42_fu_942</first> <second> <count>1</count> <item_version>0</item_version> <item>151</item> </second> </item> <item> <first>bitcast_ln43_fu_947</first> <second> <count>1</count> <item_version>0</item_version> <item>155</item> </second> </item> <item> <first>bitcast_ln44_fu_952</first> <second> <count>1</count> <item_version>0</item_version> <item>159</item> </second> </item> <item> <first>bitcast_ln45_fu_957</first> <second> <count>1</count> <item_version>0</item_version> <item>163</item> </second> </item> <item> <first>bitcast_ln46_fu_962</first> <second> <count>1</count> <item_version>0</item_version> <item>167</item> </second> </item> <item> <first>bitcast_ln47_fu_967</first> <second> <count>1</count> <item_version>0</item_version> <item>171</item> </second> </item> <item> <first>bitcast_ln48_fu_972</first> <second> <count>1</count> <item_version>0</item_version> <item>175</item> </second> </item> <item> <first>bitcast_ln49_fu_977</first> <second> <count>1</count> <item_version>0</item_version> <item>179</item> </second> </item> <item> <first>bitcast_ln50_fu_982</first> <second> <count>1</count> <item_version>0</item_version> <item>183</item> </second> </item> <item> <first>bitcast_ln51_fu_987</first> <second> <count>1</count> <item_version>0</item_version> <item>187</item> </second> </item> <item> <first>cifm_counter_0_phi_fu_592</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>grp_fu_610</first> <second> <count>2</count> <item_version>0</item_version> <item>51</item> <item>130</item> </second> </item> <item> <first>grp_fu_620</first> <second> <count>2</count> <item_version>0</item_version> <item>55</item> <item>134</item> </second> </item> <item> <first>grp_fu_630</first> <second> <count>2</count> <item_version>0</item_version> <item>59</item> <item>138</item> </second> </item> <item> <first>grp_fu_640</first> <second> <count>2</count> <item_version>0</item_version> <item>63</item> <item>142</item> </second> </item> <item> <first>grp_fu_650</first> <second> <count>2</count> <item_version>0</item_version> <item>67</item> <item>146</item> </second> </item> <item> <first>grp_fu_660</first> <second> <count>2</count> <item_version>0</item_version> <item>71</item> <item>150</item> </second> </item> <item> <first>grp_fu_670</first> <second> <count>2</count> <item_version>0</item_version> <item>75</item> <item>154</item> </second> </item> <item> <first>grp_fu_680</first> <second> <count>2</count> <item_version>0</item_version> <item>79</item> <item>158</item> </second> </item> <item> <first>grp_fu_690</first> <second> <count>2</count> <item_version>0</item_version> <item>83</item> <item>162</item> </second> </item> <item> <first>grp_fu_700</first> <second> <count>2</count> <item_version>0</item_version> <item>87</item> <item>166</item> </second> </item> <item> <first>grp_fu_710</first> <second> <count>2</count> <item_version>0</item_version> <item>91</item> <item>170</item> </second> </item> <item> <first>grp_fu_720</first> <second> <count>2</count> <item_version>0</item_version> <item>95</item> <item>174</item> </second> </item> <item> <first>grp_fu_730</first> <second> <count>2</count> <item_version>0</item_version> <item>99</item> <item>178</item> </second> </item> <item> <first>grp_fu_740</first> <second> <count>2</count> <item_version>0</item_version> <item>103</item> <item>182</item> </second> </item> <item> <first>grp_fu_750</first> <second> <count>2</count> <item_version>0</item_version> <item>107</item> <item>186</item> </second> </item> <item> <first>icmp_ln10_fu_760</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>icmp_ln33_fu_876</first> <second> <count>1</count> <item_version>0</item_version> <item>117</item> </second> </item> <item> <first>ifm_buff0_0_addr_gep_fu_172</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>ifm_buff0_10_addr_gep_fu_302</first> <second> <count>1</count> <item_version>0</item_version> <item>89</item> </second> </item> <item> <first>ifm_buff0_11_addr_gep_fu_315</first> <second> <count>1</count> <item_version>0</item_version> <item>93</item> </second> </item> <item> <first>ifm_buff0_12_addr_gep_fu_328</first> <second> <count>1</count> <item_version>0</item_version> <item>97</item> </second> </item> <item> <first>ifm_buff0_13_addr_gep_fu_341</first> <second> <count>1</count> <item_version>0</item_version> <item>101</item> </second> </item> <item> <first>ifm_buff0_14_addr_gep_fu_354</first> <second> <count>1</count> <item_version>0</item_version> <item>105</item> </second> </item> <item> <first>ifm_buff0_15_addr_gep_fu_367</first> <second> <count>1</count> <item_version>0</item_version> <item>109</item> </second> </item> <item> <first>ifm_buff0_1_addr_gep_fu_185</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>ifm_buff0_2_addr_gep_fu_198</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>ifm_buff0_3_addr_gep_fu_211</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>ifm_buff0_4_addr_gep_fu_224</first> <second> <count>1</count> <item_version>0</item_version> <item>65</item> </second> </item> <item> <first>ifm_buff0_5_addr_gep_fu_237</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>ifm_buff0_6_addr_gep_fu_250</first> <second> <count>1</count> <item_version>0</item_version> <item>73</item> </second> </item> <item> <first>ifm_buff0_7_addr_gep_fu_263</first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> <item> <first>ifm_buff0_8_addr_gep_fu_276</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>ifm_buff0_9_addr_gep_fu_289</first> <second> <count>1</count> <item_version>0</item_version> <item>85</item> </second> </item> <item> <first>ifm_buff1_0_addr_gep_fu_380</first> <second> <count>1</count> <item_version>0</item_version> <item>128</item> </second> </item> <item> <first>ifm_buff1_10_addr_gep_fu_510</first> <second> <count>1</count> <item_version>0</item_version> <item>168</item> </second> </item> <item> <first>ifm_buff1_11_addr_gep_fu_523</first> <second> <count>1</count> <item_version>0</item_version> <item>172</item> </second> </item> <item> <first>ifm_buff1_12_addr_gep_fu_536</first> <second> <count>1</count> <item_version>0</item_version> <item>176</item> </second> </item> <item> <first>ifm_buff1_13_addr_gep_fu_549</first> <second> <count>1</count> <item_version>0</item_version> <item>180</item> </second> </item> <item> <first>ifm_buff1_14_addr_gep_fu_562</first> <second> <count>1</count> <item_version>0</item_version> <item>184</item> </second> </item> <item> <first>ifm_buff1_15_addr_gep_fu_575</first> <second> <count>1</count> <item_version>0</item_version> <item>188</item> </second> </item> <item> <first>ifm_buff1_1_addr_gep_fu_393</first> <second> <count>1</count> <item_version>0</item_version> <item>132</item> </second> </item> <item> <first>ifm_buff1_2_addr_gep_fu_406</first> <second> <count>1</count> <item_version>0</item_version> <item>136</item> </second> </item> <item> <first>ifm_buff1_3_addr_gep_fu_419</first> <second> <count>1</count> <item_version>0</item_version> <item>140</item> </second> </item> <item> <first>ifm_buff1_4_addr_gep_fu_432</first> <second> <count>1</count> <item_version>0</item_version> <item>144</item> </second> </item> <item> <first>ifm_buff1_5_addr_gep_fu_445</first> <second> <count>1</count> <item_version>0</item_version> <item>148</item> </second> </item> <item> <first>ifm_buff1_6_addr_gep_fu_458</first> <second> <count>1</count> <item_version>0</item_version> <item>152</item> </second> </item> <item> <first>ifm_buff1_7_addr_gep_fu_471</first> <second> <count>1</count> <item_version>0</item_version> <item>156</item> </second> </item> <item> <first>ifm_buff1_8_addr_gep_fu_484</first> <second> <count>1</count> <item_version>0</item_version> <item>160</item> </second> </item> <item> <first>ifm_buff1_9_addr_gep_fu_497</first> <second> <count>1</count> <item_version>0</item_version> <item>164</item> </second> </item> <item> <first>j1_0_phi_fu_603</first> <second> <count>1</count> <item_version>0</item_version> <item>116</item> </second> </item> <item> <first>j_1_fu_882</first> <second> <count>1</count> <item_version>0</item_version> <item>119</item> </second> </item> <item> <first>j_fu_766</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>trunc_ln13_fu_792</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>trunc_ln36_fu_888</first> <second> <count>1</count> <item_version>0</item_version> <item>125</item> </second> </item> <item> <first>zext_ln13_fu_772</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>zext_ln36_fu_897</first> <second> <count>1</count> <item_version>0</item_version> <item>127</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>1</count> <item_version>0</item_version> <item> <first>grp_read_fu_166</first> <second> <count>2</count> <item_version>0</item_version> <item>46</item> <item>124</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>32</count> <item_version>0</item_version> <item class_id="57" tracking_level="0" version="0"> <first class_id="58" tracking_level="0" version="0"> <first>ifm_buff0_0</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first> <first>ifm_buff0_1</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first> <first>ifm_buff0_10</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>90</item> </second> </item> <item> <first> <first>ifm_buff0_11</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>94</item> </second> </item> <item> <first> <first>ifm_buff0_12</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>98</item> </second> </item> <item> <first> <first>ifm_buff0_13</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>102</item> </second> </item> <item> <first> <first>ifm_buff0_14</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>106</item> </second> </item> <item> <first> <first>ifm_buff0_15</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>110</item> </second> </item> <item> <first> <first>ifm_buff0_2</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>58</item> </second> </item> <item> <first> <first>ifm_buff0_3</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>62</item> </second> </item> <item> <first> <first>ifm_buff0_4</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first> <first>ifm_buff0_5</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>70</item> </second> </item> <item> <first> <first>ifm_buff0_6</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> <item> <first> <first>ifm_buff0_7</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>78</item> </second> </item> <item> <first> <first>ifm_buff0_8</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first> <first>ifm_buff0_9</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>86</item> </second> </item> <item> <first> <first>ifm_buff1_0</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>129</item> </second> </item> <item> <first> <first>ifm_buff1_1</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>133</item> </second> </item> <item> <first> <first>ifm_buff1_10</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>169</item> </second> </item> <item> <first> <first>ifm_buff1_11</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>173</item> </second> </item> <item> <first> <first>ifm_buff1_12</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>177</item> </second> </item> <item> <first> <first>ifm_buff1_13</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>181</item> </second> </item> <item> <first> <first>ifm_buff1_14</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>185</item> </second> </item> <item> <first> <first>ifm_buff1_15</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>189</item> </second> </item> <item> <first> <first>ifm_buff1_2</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>137</item> </second> </item> <item> <first> <first>ifm_buff1_3</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>141</item> </second> </item> <item> <first> <first>ifm_buff1_4</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>145</item> </second> </item> <item> <first> <first>ifm_buff1_5</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>149</item> </second> </item> <item> <first> <first>ifm_buff1_6</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>153</item> </second> </item> <item> <first> <first>ifm_buff1_7</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>157</item> </second> </item> <item> <first> <first>ifm_buff1_8</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>161</item> </second> </item> <item> <first> <first>ifm_buff1_9</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>165</item> </second> </item> </dp_mem_port_nodes> <dp_reg_nodes> <count>4</count> <item_version>0</item_version> <item> <first>588</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>599</first> <second> <count>1</count> <item_version>0</item_version> <item>116</item> </second> </item> <item> <first>995</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>1003</first> <second> <count>1</count> <item_version>0</item_version> <item>119</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>4</count> <item_version>0</item_version> <item> <first>cifm_counter_0_reg_588</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>j1_0_reg_599</first> <second> <count>1</count> <item_version>0</item_version> <item>116</item> </second> </item> <item> <first>j_1_reg_1003</first> <second> <count>1</count> <item_version>0</item_version> <item>119</item> </second> </item> <item> <first>j_reg_995</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>2</count> <item_version>0</item_version> <item> <first>588</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>599</first> <second> <count>1</count> <item_version>0</item_version> <item>116</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>2</count> <item_version>0</item_version> <item> <first>cifm_counter_0_reg_588</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>j1_0_reg_599</first> <second> <count>1</count> <item_version>0</item_version> <item>116</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="59" tracking_level="0" version="0"> <count>33</count> <item_version>0</item_version> <item class_id="60" tracking_level="0" version="0"> <first>cifm</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>2</count> <item_version>0</item_version> <item>46</item> <item>124</item> </second> </item> </second> </item> <item> <first>ifm_buff0_0(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>50</item> </second> </item> </second> </item> <item> <first>ifm_buff0_1(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>54</item> </second> </item> </second> </item> <item> <first>ifm_buff0_10(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>90</item> </second> </item> </second> </item> <item> <first>ifm_buff0_11(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>94</item> </second> </item> </second> </item> <item> <first>ifm_buff0_12(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>98</item> </second> </item> </second> </item> <item> <first>ifm_buff0_13(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>102</item> </second> </item> </second> </item> <item> <first>ifm_buff0_14(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>106</item> </second> </item> </second> </item> <item> <first>ifm_buff0_15(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>110</item> </second> </item> </second> </item> <item> <first>ifm_buff0_2(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>58</item> </second> </item> </second> </item> <item> <first>ifm_buff0_3(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>62</item> </second> </item> </second> </item> <item> <first>ifm_buff0_4(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>66</item> </second> </item> </second> </item> <item> <first>ifm_buff0_5(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>70</item> </second> </item> </second> </item> <item> <first>ifm_buff0_6(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>74</item> </second> </item> </second> </item> <item> <first>ifm_buff0_7(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>78</item> </second> </item> </second> </item> <item> <first>ifm_buff0_8(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>82</item> </second> </item> </second> </item> <item> <first>ifm_buff0_9(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>86</item> </second> </item> </second> </item> <item> <first>ifm_buff1_0(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>129</item> </second> </item> </second> </item> <item> <first>ifm_buff1_1(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>133</item> </second> </item> </second> </item> <item> <first>ifm_buff1_10(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>169</item> </second> </item> </second> </item> <item> <first>ifm_buff1_11(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>173</item> </second> </item> </second> </item> <item> <first>ifm_buff1_12(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>177</item> </second> </item> </second> </item> <item> <first>ifm_buff1_13(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>181</item> </second> </item> </second> </item> <item> <first>ifm_buff1_14(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>185</item> </second> </item> </second> </item> <item> <first>ifm_buff1_15(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>189</item> </second> </item> </second> </item> <item> <first>ifm_buff1_2(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>137</item> </second> </item> </second> </item> <item> <first>ifm_buff1_3(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>141</item> </second> </item> </second> </item> <item> <first>ifm_buff1_4(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>145</item> </second> </item> </second> </item> <item> <first>ifm_buff1_5(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>149</item> </second> </item> </second> </item> <item> <first>ifm_buff1_6(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>153</item> </second> </item> </second> </item> <item> <first>ifm_buff1_7(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>157</item> </second> </item> </second> </item> <item> <first>ifm_buff1_8(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>161</item> </second> </item> </second> </item> <item> <first>ifm_buff1_9(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>165</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="61" tracking_level="0" version="0"> <count>32</count> <item_version>0</item_version> <item class_id="62" tracking_level="0" version="0"> <first>2</first> <second>RAM</second> </item> <item> <first>3</first> <second>RAM</second> </item> <item> <first>4</first> <second>RAM</second> </item> <item> <first>5</first> <second>RAM</second> </item> <item> <first>6</first> <second>RAM</second> </item> <item> <first>7</first> <second>RAM</second> </item> <item> <first>8</first> <second>RAM</second> </item> <item> <first>9</first> <second>RAM</second> </item> <item> <first>10</first> <second>RAM</second> </item> <item> <first>11</first> <second>RAM</second> </item> <item> <first>12</first> <second>RAM</second> </item> <item> <first>13</first> <second>RAM</second> </item> <item> <first>14</first> <second>RAM</second> </item> <item> <first>15</first> <second>RAM</second> </item> <item> <first>16</first> <second>RAM</second> </item> <item> <first>17</first> <second>RAM</second> </item> <item> <first>18</first> <second>RAM</second> </item> <item> <first>19</first> <second>RAM</second> </item> <item> <first>20</first> <second>RAM</second> </item> <item> <first>21</first> <second>RAM</second> </item> <item> <first>22</first> <second>RAM</second> </item> <item> <first>23</first> <second>RAM</second> </item> <item> <first>24</first> <second>RAM</second> </item> <item> <first>25</first> <second>RAM</second> </item> <item> <first>26</first> <second>RAM</second> </item> <item> <first>27</first> <second>RAM</second> </item> <item> <first>28</first> <second>RAM</second> </item> <item> <first>29</first> <second>RAM</second> </item> <item> <first>30</first> <second>RAM</second> </item> <item> <first>31</first> <second>RAM</second> </item> <item> <first>32</first> <second>RAM</second> </item> <item> <first>33</first> <second>RAM</second> </item> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
pragma Warnings (Off); pragma Ada_95; pragma Source_File_Name (ada_main, Spec_File_Name => "b__crea_tarea.ads"); pragma Source_File_Name (ada_main, Body_File_Name => "b__crea_tarea.adb"); pragma Suppress (Overflow_Check); with System.Restrictions; with Ada.Exceptions; package body ada_main is E066 : Short_Integer; pragma Import (Ada, E066, "system__os_lib_E"); E011 : Short_Integer; pragma Import (Ada, E011, "ada__exceptions_E"); E005 : Short_Integer; pragma Import (Ada, E005, "system__soft_links_E"); E015 : Short_Integer; pragma Import (Ada, E015, "system__exception_table_E"); E032 : Short_Integer; pragma Import (Ada, E032, "ada__containers_E"); E062 : Short_Integer; pragma Import (Ada, E062, "ada__io_exceptions_E"); E046 : Short_Integer; pragma Import (Ada, E046, "ada__strings_E"); E048 : Short_Integer; pragma Import (Ada, E048, "ada__strings__maps_E"); E052 : Short_Integer; pragma Import (Ada, E052, "ada__strings__maps__constants_E"); E072 : Short_Integer; pragma Import (Ada, E072, "interfaces__c_E"); E017 : Short_Integer; pragma Import (Ada, E017, "system__exceptions_E"); E074 : Short_Integer; pragma Import (Ada, E074, "system__object_reader_E"); E041 : Short_Integer; pragma Import (Ada, E041, "system__dwarf_lines_E"); E093 : Short_Integer; pragma Import (Ada, E093, "system__soft_links__initialize_E"); E031 : Short_Integer; pragma Import (Ada, E031, "system__traceback__symbolic_E"); E130 : Short_Integer; pragma Import (Ada, E130, "ada__tags_E"); E153 : Short_Integer; pragma Import (Ada, E153, "ada__streams_E"); E101 : Short_Integer; pragma Import (Ada, E101, "interfaces__c__strings_E"); E178 : Short_Integer; pragma Import (Ada, E178, "system__file_control_block_E"); E155 : Short_Integer; pragma Import (Ada, E155, "system__finalization_root_E"); E151 : Short_Integer; pragma Import (Ada, E151, "ada__finalization_E"); E177 : Short_Integer; pragma Import (Ada, E177, "system__file_io_E"); E116 : Short_Integer; pragma Import (Ada, E116, "system__task_info_E"); E171 : Short_Integer; pragma Import (Ada, E171, "ada__calendar_E"); E169 : Short_Integer; pragma Import (Ada, E169, "ada__calendar__delays_E"); E165 : Short_Integer; pragma Import (Ada, E165, "ada__real_time_E"); E173 : Short_Integer; pragma Import (Ada, E173, "ada__text_io_E"); E138 : Short_Integer; pragma Import (Ada, E138, "system__tasking__initialization_E"); E148 : Short_Integer; pragma Import (Ada, E148, "system__tasking__protected_objects_E"); E150 : Short_Integer; pragma Import (Ada, E150, "system__tasking__protected_objects__entries_E"); E146 : Short_Integer; pragma Import (Ada, E146, "system__tasking__queuing_E"); E128 : Short_Integer; pragma Import (Ada, E128, "system__tasking__stages_E"); E167 : Short_Integer; pragma Import (Ada, E167, "tareas_E"); Sec_Default_Sized_Stacks : array (1 .. 1) of aliased System.Secondary_Stack.SS_Stack (System.Parameters.Runtime_Default_Sec_Stack_Size); Local_Priority_Specific_Dispatching : constant String := ""; Local_Interrupt_States : constant String := ""; Is_Elaborated : Boolean := False; procedure finalize_library is begin E150 := E150 - 1; declare procedure F1; pragma Import (Ada, F1, "system__tasking__protected_objects__entries__finalize_spec"); begin F1; end; E173 := E173 - 1; declare procedure F2; pragma Import (Ada, F2, "ada__text_io__finalize_spec"); begin F2; end; declare procedure F3; pragma Import (Ada, F3, "system__file_io__finalize_body"); begin E177 := E177 - 1; F3; end; declare procedure Reraise_Library_Exception_If_Any; pragma Import (Ada, Reraise_Library_Exception_If_Any, "__gnat_reraise_library_exception_if_any"); begin Reraise_Library_Exception_If_Any; end; end finalize_library; procedure adafinal is procedure s_stalib_adafinal; pragma Import (Ada, s_stalib_adafinal, "system__standard_library__adafinal"); procedure Runtime_Finalize; pragma Import (C, Runtime_Finalize, "__gnat_runtime_finalize"); begin if not Is_Elaborated then return; end if; Is_Elaborated := False; Runtime_Finalize; s_stalib_adafinal; end adafinal; type No_Param_Proc is access procedure; pragma Favor_Top_Level (No_Param_Proc); procedure adainit is Main_Priority : Integer; pragma Import (C, Main_Priority, "__gl_main_priority"); Time_Slice_Value : Integer; pragma Import (C, Time_Slice_Value, "__gl_time_slice_val"); WC_Encoding : Character; pragma Import (C, WC_Encoding, "__gl_wc_encoding"); Locking_Policy : Character; pragma Import (C, Locking_Policy, "__gl_locking_policy"); Queuing_Policy : Character; pragma Import (C, Queuing_Policy, "__gl_queuing_policy"); Task_Dispatching_Policy : Character; pragma Import (C, Task_Dispatching_Policy, "__gl_task_dispatching_policy"); Priority_Specific_Dispatching : System.Address; pragma Import (C, Priority_Specific_Dispatching, "__gl_priority_specific_dispatching"); Num_Specific_Dispatching : Integer; pragma Import (C, Num_Specific_Dispatching, "__gl_num_specific_dispatching"); Main_CPU : Integer; pragma Import (C, Main_CPU, "__gl_main_cpu"); Interrupt_States : System.Address; pragma Import (C, Interrupt_States, "__gl_interrupt_states"); Num_Interrupt_States : Integer; pragma Import (C, Num_Interrupt_States, "__gl_num_interrupt_states"); Unreserve_All_Interrupts : Integer; pragma Import (C, Unreserve_All_Interrupts, "__gl_unreserve_all_interrupts"); Detect_Blocking : Integer; pragma Import (C, Detect_Blocking, "__gl_detect_blocking"); Default_Stack_Size : Integer; pragma Import (C, Default_Stack_Size, "__gl_default_stack_size"); Default_Secondary_Stack_Size : System.Parameters.Size_Type; pragma Import (C, Default_Secondary_Stack_Size, "__gnat_default_ss_size"); Bind_Env_Addr : System.Address; pragma Import (C, Bind_Env_Addr, "__gl_bind_env_addr"); procedure Runtime_Initialize (Install_Handler : Integer); pragma Import (C, Runtime_Initialize, "__gnat_runtime_initialize"); Finalize_Library_Objects : No_Param_Proc; pragma Import (C, Finalize_Library_Objects, "__gnat_finalize_library_objects"); Binder_Sec_Stacks_Count : Natural; pragma Import (Ada, Binder_Sec_Stacks_Count, "__gnat_binder_ss_count"); Default_Sized_SS_Pool : System.Address; pragma Import (Ada, Default_Sized_SS_Pool, "__gnat_default_ss_pool"); begin if Is_Elaborated then return; end if; Is_Elaborated := True; Main_Priority := -1; Time_Slice_Value := -1; WC_Encoding := 'b'; Locking_Policy := ' '; Queuing_Policy := ' '; Task_Dispatching_Policy := ' '; System.Restrictions.Run_Time_Restrictions := (Set => (False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, True, False, False, False, False, False, False, False, False, False, False, False, False, False, False), Value => (0, 0, 0, 0, 0, 0, 0, 0, 0, 0), Violated => (False, False, False, False, True, True, False, False, False, False, False, True, True, True, True, False, False, False, False, False, True, True, False, True, True, False, True, True, True, True, False, False, False, False, False, True, False, False, True, False, False, False, False, True, False, True, False, True, False, False, False, True, False, False, False, False, False, True, False, True, False, True, True, True, False, False, True, False, True, True, True, False, True, True, False, True, True, True, True, False, False, False, False, False, False, False, False, False, True, False, False, False), Count => (0, 0, 0, 0, 0, 0, 2, 0, 0, 0), Unknown => (False, False, False, False, False, False, True, False, False, False)); Priority_Specific_Dispatching := Local_Priority_Specific_Dispatching'Address; Num_Specific_Dispatching := 0; Main_CPU := -1; Interrupt_States := Local_Interrupt_States'Address; Num_Interrupt_States := 0; Unreserve_All_Interrupts := 0; Detect_Blocking := 0; Default_Stack_Size := -1; ada_main'Elab_Body; Default_Secondary_Stack_Size := System.Parameters.Runtime_Default_Sec_Stack_Size; Binder_Sec_Stacks_Count := 1; Default_Sized_SS_Pool := Sec_Default_Sized_Stacks'Address; Runtime_Initialize (1); Finalize_Library_Objects := finalize_library'access; Ada.Exceptions'Elab_Spec; System.Soft_Links'Elab_Spec; System.Exception_Table'Elab_Body; E015 := E015 + 1; Ada.Containers'Elab_Spec; E032 := E032 + 1; Ada.Io_Exceptions'Elab_Spec; E062 := E062 + 1; Ada.Strings'Elab_Spec; E046 := E046 + 1; Ada.Strings.Maps'Elab_Spec; E048 := E048 + 1; Ada.Strings.Maps.Constants'Elab_Spec; E052 := E052 + 1; Interfaces.C'Elab_Spec; E072 := E072 + 1; System.Exceptions'Elab_Spec; E017 := E017 + 1; System.Object_Reader'Elab_Spec; E074 := E074 + 1; System.Dwarf_Lines'Elab_Spec; E041 := E041 + 1; System.Os_Lib'Elab_Body; E066 := E066 + 1; System.Soft_Links.Initialize'Elab_Body; E093 := E093 + 1; E005 := E005 + 1; System.Traceback.Symbolic'Elab_Body; E031 := E031 + 1; E011 := E011 + 1; Ada.Tags'Elab_Spec; Ada.Tags'Elab_Body; E130 := E130 + 1; Ada.Streams'Elab_Spec; E153 := E153 + 1; Interfaces.C.Strings'Elab_Spec; E101 := E101 + 1; System.File_Control_Block'Elab_Spec; E178 := E178 + 1; System.Finalization_Root'Elab_Spec; E155 := E155 + 1; Ada.Finalization'Elab_Spec; E151 := E151 + 1; System.File_Io'Elab_Body; E177 := E177 + 1; System.Task_Info'Elab_Spec; E116 := E116 + 1; Ada.Calendar'Elab_Spec; Ada.Calendar'Elab_Body; E171 := E171 + 1; Ada.Calendar.Delays'Elab_Body; E169 := E169 + 1; Ada.Real_Time'Elab_Spec; Ada.Real_Time'Elab_Body; E165 := E165 + 1; Ada.Text_Io'Elab_Spec; Ada.Text_Io'Elab_Body; E173 := E173 + 1; System.Tasking.Initialization'Elab_Body; E138 := E138 + 1; System.Tasking.Protected_Objects'Elab_Body; E148 := E148 + 1; System.Tasking.Protected_Objects.Entries'Elab_Spec; E150 := E150 + 1; System.Tasking.Queuing'Elab_Body; E146 := E146 + 1; System.Tasking.Stages'Elab_Body; E128 := E128 + 1; Tareas'Elab_Body; E167 := E167 + 1; end adainit; procedure Ada_Main_Program; pragma Import (Ada, Ada_Main_Program, "_ada_crea_tarea"); function main (argc : Integer; argv : System.Address; envp : System.Address) return Integer is procedure Initialize (Addr : System.Address); pragma Import (C, Initialize, "__gnat_initialize"); procedure Finalize; pragma Import (C, Finalize, "__gnat_finalize"); SEH : aliased array (1 .. 2) of Integer; Ensure_Reference : aliased System.Address := Ada_Main_Program_Name'Address; pragma Volatile (Ensure_Reference); begin if gnat_argc = 0 then gnat_argc := argc; gnat_argv := argv; end if; gnat_envp := envp; Initialize (SEH'Address); adainit; Ada_Main_Program; adafinal; Finalize; return (gnat_exit_status); end; -- BEGIN Object file/option list -- Z:\Documents\Programacion Concurrente y de Tiempo Real\Tiempo Real\Practicas\P03_Crea_Tarea\obj\tareas.o -- Z:\Documents\Programacion Concurrente y de Tiempo Real\Tiempo Real\Practicas\P03_Crea_Tarea\obj\crea_tarea.o -- -LZ:\Documents\Programacion Concurrente y de Tiempo Real\Tiempo Real\Practicas\P03_Crea_Tarea\obj\ -- -LZ:\Documents\Programacion Concurrente y de Tiempo Real\Tiempo Real\Practicas\P03_Crea_Tarea\obj\ -- -LC:/gnat/2020/lib/gcc/x86_64-pc-mingw32/9.3.1/adalib/ -- -static -- -lgnarl -- -lgnat -- -Xlinker -- --stack=0x200000,0x1000 -- -mthreads -- -Wl,--stack=0x2000000 -- END Object file/option list end ada_main;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . S T O R A G E _ 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. -- -- -- ------------------------------------------------------------------------------ with Ada.IO_Exceptions; with System.Storage_Elements; generic type Element_Type is private; package Ada.Storage_IO is pragma Preelaborate; Buffer_Size : constant System.Storage_Elements.Storage_Count := System.Storage_Elements.Storage_Count ((Element_Type'Size + System.Storage_Unit - 1) / System.Storage_Unit); subtype Buffer_Type is System.Storage_Elements.Storage_Array (1 .. Buffer_Size); --------------------------------- -- Input and Output Operations -- --------------------------------- procedure Read (Buffer : Buffer_Type; Item : out Element_Type); procedure Write (Buffer : out Buffer_Type; Item : Element_Type); ---------------- -- Exceptions -- ---------------- Data_Error : exception renames IO_Exceptions.Data_Error; end Ada.Storage_IO;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 5 9 -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2005, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Handling of packed arrays with Component_Size = 59 package System.Pack_59 is pragma Preelaborate; Bits : constant := 59; type Bits_59 is mod 2 ** Bits; for Bits_59'Size use Bits; function Get_59 (Arr : System.Address; N : Natural) return Bits_59; -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is extracted and returned. procedure Set_59 (Arr : System.Address; N : Natural; E : Bits_59); -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is set to the given value. end System.Pack_59;
-- CE2401B.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 READ (WITH AND WITHOUT PARAMETER FROM), WRITE (WITH -- AND WITHOUT PARAMETER TO), SET_INDEX, INDEX, SIZE, AND -- END_OF_FILE FOR DIRECT FILES WITH ELEMENT_TYPES BOOLEAN, -- ACCESS, AND ENUMERATED. -- APPLICABILITY CRITERIA: -- THIS TEST IS ONLY APPLICABLE TO IMPLEMENTATIONS WHICH SUPPORT -- DIRECT FILES. -- HISTORY: -- ABW 08/18/82 -- SPS 09/15/82 -- SPS 11/09/82 -- JBG 02/22/84 CHANGE TO .ADA TEST. -- EG 05/16/85 -- TBN 11/04/86 REVISED TEST TO OUTPUT A NON_APPLICABLE -- RESULT WHEN FILES ARE NOT SUPPORTED. -- DWC 08/07/87 ISOLATED EXCEPTIONS. WITH REPORT; USE REPORT; WITH DIRECT_IO; PROCEDURE CE2401B IS END_SUBTEST : EXCEPTION; BEGIN TEST ("CE2401B", "CHECK READ, WRITE, SET_INDEX " & "INDEX, SIZE, AND END_OF_FILE FOR " & "DIRECT FILES FOR BOOLEAN, ACCESS " & "AND ENUMERATION TYPES"); DECLARE PACKAGE DIR_BOOL IS NEW DIRECT_IO (BOOLEAN); USE DIR_BOOL; FILE_BOOL : FILE_TYPE; BEGIN BEGIN CREATE (FILE_BOOL, INOUT_FILE, LEGAL_FILE_NAME); EXCEPTION WHEN USE_ERROR | NAME_ERROR => NOT_APPLICABLE ("USE_ERROR | NAME_ERROR RAISED " & "ON CREATE - BOOLEAN"); RAISE END_SUBTEST; WHEN OTHERS => FAILED ("UNEXPECTED ERROR RAISED ON " & "CREATE - BOOLEAN"); RAISE END_SUBTEST; END; DECLARE BOOL : BOOLEAN := IDENT_BOOL (TRUE); ITEM_BOOL : BOOLEAN; ONE_BOOL : POSITIVE_COUNT := 1; TWO_BOOL : POSITIVE_COUNT := 2; BEGIN BEGIN WRITE (FILE_BOOL,BOOL); EXCEPTION WHEN OTHERS => FAILED ("EXCEPTION RAISED ON WRITE FOR " & "BOOLEAN - 1"); END; BEGIN WRITE (FILE_BOOL,BOOL,TWO_BOOL); EXCEPTION WHEN OTHERS => FAILED ("EXCEPTION RAISED ON WRITE FOR " & "BOOLEAN - 2"); END; BEGIN IF SIZE (FILE_BOOL) /= TWO_BOOL THEN FAILED ("SIZE FOR TYPE BOOLEAN"); END IF; IF NOT END_OF_FILE (FILE_BOOL) THEN FAILED ("WRONG END_OF_FILE VALUE FOR " & "BOOLEAN"); END IF; SET_INDEX (FILE_BOOL,ONE_BOOL); IF INDEX (FILE_BOOL) /= ONE_BOOL THEN FAILED ("WRONG INDEX VALUE FOR TYPE BOOLEAN"); END IF; END; CLOSE (FILE_BOOL); BEGIN OPEN (FILE_BOOL, IN_FILE, LEGAL_FILE_NAME); EXCEPTION WHEN USE_ERROR => NOT_APPLICABLE ("OPEN FOR IN_FILE MODE " & "NOT SUPPORTED - 1"); RAISE END_SUBTEST; END; BEGIN READ (FILE_BOOL,ITEM_BOOL); IF ITEM_BOOL /= BOOL THEN FAILED ("INCORRECT BOOLEAN VALUE READ - 1"); END IF; EXCEPTION WHEN OTHERS => FAILED ("READ WITHOUT FROM FOR " & "TYPE BOOLEAN"); END; BEGIN READ (FILE_BOOL,ITEM_BOOL,ONE_BOOL); IF ITEM_BOOL /= BOOL THEN FAILED ("INCORRECT BOOLEAN VALUE READ - 2"); END IF; EXCEPTION WHEN OTHERS => FAILED ("READ WITH FROM FOR BOOLEAN"); END; END; BEGIN DELETE (FILE_BOOL); EXCEPTION WHEN USE_ERROR => NULL; END; EXCEPTION WHEN END_SUBTEST => NULL; END; DECLARE TYPE ENUMERATED IS (ONE,TWO,THREE); PACKAGE DIR_ENUM IS NEW DIRECT_IO (ENUMERATED); USE DIR_ENUM; FILE_ENUM : FILE_TYPE; BEGIN BEGIN CREATE (FILE_ENUM, INOUT_FILE, LEGAL_FILE_NAME(2)); EXCEPTION WHEN USE_ERROR | NAME_ERROR => NOT_APPLICABLE ("USE_ERROR | NAME_ERROR RAISED " & "ON CREATE - ENUMERATED"); RAISE END_SUBTEST; WHEN OTHERS => FAILED ("UNEXPECTED ERROR RAISED ON " & "CREATE - ENUMERATED"); RAISE END_SUBTEST; END; DECLARE ENUM : ENUMERATED := (THREE); ITEM_ENUM : ENUMERATED; ONE_ENUM : POSITIVE_COUNT := 1; TWO_ENUM : POSITIVE_COUNT := 2; BEGIN BEGIN WRITE (FILE_ENUM,ENUM); EXCEPTION WHEN OTHERS => FAILED ("EXCEPTION RAISED ON WRITE FOR " & "ENUMERATED - 1"); END; BEGIN WRITE (FILE_ENUM,ENUM,TWO_ENUM); EXCEPTION WHEN OTHERS => FAILED ("EXCEPTION RAISED ON WRITE FOR " & "ENUMERATED - 2"); END; BEGIN IF SIZE (FILE_ENUM) /= TWO_ENUM THEN FAILED ("SIZE FOR TYPE ENUMERATED"); END IF; IF NOT END_OF_FILE (FILE_ENUM) THEN FAILED ("WRONG END_OF_FILE VALUE FOR TYPE " & "ENUMERATED"); END IF; SET_INDEX (FILE_ENUM,ONE_ENUM); IF INDEX (FILE_ENUM) /= ONE_ENUM THEN FAILED ("WRONG INDEX VALUE FOR TYPE " & "ENUMERATED"); END IF; END; CLOSE (FILE_ENUM); BEGIN OPEN (FILE_ENUM, IN_FILE, LEGAL_FILE_NAME(2)); EXCEPTION WHEN USE_ERROR => NOT_APPLICABLE ("OPEN FOR IN_FILE MODE " & "NOT SUPPORTED - 2"); RAISE END_SUBTEST; END; BEGIN READ (FILE_ENUM,ITEM_ENUM); IF ITEM_ENUM /= ENUM THEN FAILED ("INCORRECT ENUM VALUE READ - 1"); END IF; EXCEPTION WHEN OTHERS => FAILED ("READ WITHOUT FROM FOR ENUMERATED"); END; BEGIN READ (FILE_ENUM,ITEM_ENUM,ONE_ENUM); IF ITEM_ENUM /= ENUM THEN FAILED ("INCORRECT ENUM VALUE READ - 2"); END IF; EXCEPTION WHEN OTHERS => FAILED ("READ WITH FROM FOR " & "TYPE ENUMERATED"); END; END; BEGIN DELETE (FILE_ENUM); EXCEPTION WHEN USE_ERROR => NULL; END; EXCEPTION WHEN END_SUBTEST => NULL; END; DECLARE TYPE ACC_INT IS ACCESS INTEGER; PACKAGE DIR_ACC IS NEW DIRECT_IO (ACC_INT); USE DIR_ACC; FILE_ACC : FILE_TYPE; BEGIN BEGIN CREATE (FILE_ACC, INOUT_FILE, LEGAL_FILE_NAME(3)); EXCEPTION WHEN USE_ERROR | NAME_ERROR => NOT_APPLICABLE ("USE_ERROR | NAME_ERROR RAISED " & "ON CREATE - ACCESS"); RAISE END_SUBTEST; END; DECLARE ACC : ACC_INT := NEW INTEGER'(33); ITEM_ACC : ACC_INT; ONE_ACC : POSITIVE_COUNT := 1; TWO_ACC : POSITIVE_COUNT := 2; BEGIN BEGIN WRITE (FILE_ACC,ACC); EXCEPTION WHEN OTHERS => FAILED ("EXCEPTION RAISED ON WRITE FOR " & "ACCESS - 1"); END; BEGIN WRITE (FILE_ACC,ACC,TWO_ACC); EXCEPTION WHEN OTHERS => FAILED ("EXCEPTION RAISED ON WRITE FOR " & "ACCESS - 2"); END; BEGIN IF SIZE (FILE_ACC) /= TWO_ACC THEN FAILED ("SIZE FOR TYPE ACCESS"); END IF; IF NOT END_OF_FILE (FILE_ACC) THEN FAILED ("WRONG END_OF_FILE VALUE FOR ACCESS"); END IF; SET_INDEX (FILE_ACC,ONE_ACC); IF INDEX (FILE_ACC) /= ONE_ACC THEN FAILED ("WRONG INDEX VALUE FOR TYPE ACCESS"); END IF; END; CLOSE (FILE_ACC); BEGIN OPEN (FILE_ACC, IN_FILE, LEGAL_FILE_NAME(3)); EXCEPTION WHEN USE_ERROR => NOT_APPLICABLE ("OPEN FOR IN_FILE NOT " & "SUPPORTED - 3"); RAISE END_SUBTEST; END; BEGIN READ (FILE_ACC,ITEM_ACC); EXCEPTION WHEN OTHERS => FAILED ("READ WITHOUT FROM FOR ACCESS"); END; BEGIN READ (FILE_ACC,ITEM_ACC,ONE_ACC); EXCEPTION WHEN OTHERS => FAILED ("READ WITH FROM FOR ACCESS"); END; END; BEGIN DELETE (FILE_ACC); EXCEPTION WHEN USE_ERROR => NULL; END; EXCEPTION WHEN END_SUBTEST => NULL; END; RESULT; END CE2401B;
----------------------------------------------------------------------- -- servlet-sessions.factory -- Servlet Sessions factory -- Copyright (C) 2010, 2011, 2012, 2014, 2015, 2016, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Util.Encoders.Base64; with Util.Log.Loggers; -- The <b>Servlet.Sessions.Factory</b> package is a factory for creating, searching -- and deleting sessions. package body Servlet.Sessions.Factory is use Ada.Finalization; use Ada.Strings.Unbounded; -- The logger Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("Servlet.Sessions.Factory"); -- ------------------------------ -- Allocate a unique and random session identifier. The default implementation -- generates a 256 bit random number that it serializes as base64 in the string. -- Upon successful completion, the sequence string buffer is allocated and -- returned in <b>Id</b>. The buffer will be freed when the session is removed. -- ------------------------------ procedure Allocate_Session_Id (Factory : in out Session_Factory; Id : out Ada.Strings.Unbounded.String_Access) is use Ada.Streams; Rand : Stream_Element_Array (0 .. 4 * Factory.Id_Size - 1); Buffer : Stream_Element_Array (0 .. 4 * 3 * Factory.Id_Size); Encoder : Util.Encoders.Base64.Encoder; Last : Stream_Element_Offset; Encoded : Stream_Element_Offset; begin Factory.Sessions.Generate_Id (Rand); -- Encode the random stream in base64 and save it into the Id string. Encoder.Transform (Data => Rand, Into => Buffer, Last => Last, Encoded => Encoded); Id := new String (1 .. Natural (Encoded + 1)); for I in 0 .. Encoded loop Id (Natural (I + 1)) := Character'Val (Buffer (I)); end loop; Log.Info ("Allocated session {0}", Id.all); end Allocate_Session_Id; -- ------------------------------ -- Create a new session -- ------------------------------ procedure Create_Session (Factory : in out Session_Factory; Result : out Session) is Sess : Session; Impl : constant Session_Record_Access := new Session_Record '(Ada.Finalization.Limited_Controlled with Ref_Counter => Util.Concurrent.Counters.ONE, Create_Time => Ada.Calendar.Clock, Max_Inactive => Factory.Max_Inactive, others => <>); begin Impl.Access_Time := Impl.Create_Time; Sess.Impl := Impl; Session_Factory'Class (Factory).Allocate_Session_Id (Impl.Id); Factory.Sessions.Insert (Sess); Result := Sess; end Create_Session; -- ------------------------------ -- Deletes the session. -- ------------------------------ procedure Delete_Session (Factory : in out Session_Factory; Sess : in out Session) is begin Factory.Sessions.Delete (Sess); end Delete_Session; -- ------------------------------ -- Finds the session knowing the session identifier. -- If the session is found, the last access time is updated. -- Otherwise, the null session object is returned. -- ------------------------------ procedure Find_Session (Factory : in out Session_Factory; Id : in String; Result : out Session) is begin Result := Factory.Sessions.Find (Id); if Result.Is_Valid then Result.Impl.Access_Time := Ada.Calendar.Clock; Log.Info ("Found active session {0}", Id); else Log.Info ("Invalid session {0}", Id); end if; end Find_Session; -- ------------------------------ -- Returns the maximum time interval, in seconds, that the servlet container will -- keep this session open between client accesses. After this interval, the servlet -- container will invalidate the session. The maximum time interval can be set with -- the Set_Max_Inactive_Interval method. -- A negative time indicates the session should never timeout. -- ------------------------------ function Get_Max_Inactive_Interval (Factory : in Session_Factory) return Duration is begin return Factory.Max_Inactive; end Get_Max_Inactive_Interval; -- ------------------------------ -- Specifies the time, in seconds, between client requests before the servlet -- container will invalidate this session. A negative time indicates the session -- should never timeout. -- ------------------------------ procedure Set_Max_Inactive_Interval (Factory : in out Session_Factory; Interval : in Duration) is begin Factory.Max_Inactive := Interval; end Set_Max_Inactive_Interval; -- ------------------------------ -- Initialize the session factory. -- ------------------------------ overriding procedure Initialize (Factory : in out Session_Factory) is begin Factory.Sessions.Initialize; end Initialize; -- ------------------------------ -- Release all the sessions. -- ------------------------------ overriding procedure Finalize (Factory : in out Session_Factory) is begin Factory.Sessions.Clear; end Finalize; protected body Session_Cache is -- ------------------------------ -- Find the session in the session cache. -- ------------------------------ function Find (Id : in String) return Session is Pos : constant Session_Maps.Cursor := Sessions.Find (Id'Unrestricted_Access); begin if Session_Maps.Has_Element (Pos) then return Session_Maps.Element (Pos); else return Null_Session; end if; end Find; -- ------------------------------ -- Insert the session in the session cache. -- ------------------------------ procedure Insert (Sess : in Session) is begin Sessions.Insert (Sess.Impl.Id.all'Access, Sess); end Insert; -- ------------------------------ -- Remove the session from the session cache. -- ------------------------------ procedure Delete (Sess : in out Session) is Pos : Session_Maps.Cursor := Sessions.Find (Sess.Impl.Id.all'Access); begin if Session_Maps.Has_Element (Pos) then Session_Maps.Delete (Sessions, Pos); end if; Finalize (Sess); end Delete; -- Clear the session cache. procedure Clear is begin null; end Clear; -- ------------------------------ -- Generate a random bitstream. -- ------------------------------ procedure Generate_Id (Rand : out Ada.Streams.Stream_Element_Array) is use Ada.Streams; use Interfaces; Size : constant Stream_Element_Offset := Rand'Length / 4; begin -- Generate the random sequence. for I in 0 .. Size - 1 loop declare Value : constant Unsigned_32 := Id_Random.Random (Random); begin Rand (4 * I) := Stream_Element (Value and 16#0FF#); Rand (4 * I + 1) := Stream_Element (Shift_Right (Value, 8) and 16#0FF#); Rand (4 * I + 2) := Stream_Element (Shift_Right (Value, 16) and 16#0FF#); Rand (4 * I + 3) := Stream_Element (Shift_Right (Value, 24) and 16#0FF#); end; end loop; end Generate_Id; -- ------------------------------ -- Initialize the random generator. -- ------------------------------ procedure Initialize is begin Id_Random.Reset (Random); end Initialize; end Session_Cache; end Servlet.Sessions.Factory;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . S T R I N G S . M A P S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2021, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- -- apply solely to the contents of the part following the private keyword. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Preconditions in this unit are meant for analysis only, not for run-time -- checking, so that the expected exceptions are raised. This is enforced by -- setting the corresponding assertion policy to Ignore. pragma Assertion_Policy (Pre => Ignore); with Ada.Characters.Latin_1; package Ada.Strings.Maps is pragma Pure; -- In accordance with Ada 2005 AI-362 -------------------------------- -- Character Set Declarations -- -------------------------------- type Character_Set is private; pragma Preelaborable_Initialization (Character_Set); -- Representation for a set of character values: Null_Set : constant Character_Set; --------------------------- -- Constructors for Sets -- --------------------------- type Character_Range is record Low : Character; High : Character; end record; -- Represents Character range Low .. High type Character_Ranges is array (Positive range <>) of Character_Range; function To_Set (Ranges : Character_Ranges) return Character_Set with Post => (if Ranges'Length = 0 then To_Set'Result = Null_Set) and then (for all Char in Character => (if Is_In (Char, To_Set'Result) then (for some Span of Ranges => Char in Span.Low .. Span.High))) and then (for all Span of Ranges => (for all Char in Span.Low .. Span.High => Is_In (Char, To_Set'Result))); function To_Set (Span : Character_Range) return Character_Set with Post => (if Span.High < Span.Low then To_Set'Result = Null_Set) and then (for all Char in Character => (if Is_In (Char, To_Set'Result) then Char in Span.Low .. Span.High)) and then (for all Char in Span.Low .. Span.High => Is_In (Char, To_Set'Result)); function To_Ranges (Set : Character_Set) return Character_Ranges with Post => (if Set = Null_Set then To_Ranges'Result'Length = 0) and then (for all Char in Character => (if Is_In (Char, Set) then (for some Span of To_Ranges'Result => Char in Span.Low .. Span.High))) and then (for all Span of To_Ranges'Result => (for all Char in Span.Low .. Span.High => Is_In (Char, Set))); ---------------------------------- -- Operations on Character Sets -- ---------------------------------- function "=" (Left, Right : Character_Set) return Boolean with Post => "="'Result = (for all Char in Character => (Is_In (Char, Left) = Is_In (Char, Right))); function "not" (Right : Character_Set) return Character_Set with Post => (for all Char in Character => (Is_In (Char, "not"'Result) = not Is_In (Char, Right))); function "and" (Left, Right : Character_Set) return Character_Set with Post => (for all Char in Character => (Is_In (Char, "and"'Result) = (Is_In (Char, Left) and Is_In (Char, Right)))); function "or" (Left, Right : Character_Set) return Character_Set with Post => (for all Char in Character => (Is_In (Char, "or"'Result) = (Is_In (Char, Left) or Is_In (Char, Right)))); function "xor" (Left, Right : Character_Set) return Character_Set with Post => (for all Char in Character => (Is_In (Char, "xor"'Result) = (Is_In (Char, Left) xor Is_In (Char, Right)))); function "-" (Left, Right : Character_Set) return Character_Set with Post => (for all Char in Character => (Is_In (Char, "-"'Result) = (Is_In (Char, Left) and not Is_In (Char, Right)))); function Is_In (Element : Character; Set : Character_Set) return Boolean; function Is_Subset (Elements : Character_Set; Set : Character_Set) return Boolean with Post => Is_Subset'Result = (for all Char in Character => (if Is_In (Char, Elements) then Is_In (Char, Set))); function "<=" (Left : Character_Set; Right : Character_Set) return Boolean renames Is_Subset; subtype Character_Sequence is String; -- Alternative representation for a set of character values function To_Set (Sequence : Character_Sequence) return Character_Set with Post => (if Sequence'Length = 0 then To_Set'Result = Null_Set) and then (for all Char in Character => (if Is_In (Char, To_Set'Result) then (for some X of Sequence => Char = X))) and then (for all Char of Sequence => Is_In (Char, To_Set'Result)); function To_Set (Singleton : Character) return Character_Set with Post => Is_In (Singleton, To_Set'Result) and then (for all Char in Character => (if Char /= Singleton then not Is_In (Char, To_Set'Result))); function To_Sequence (Set : Character_Set) return Character_Sequence with Post => (if Set = Null_Set then To_Sequence'Result'Length = 0) and then (for all Char in Character => (if Is_In (Char, Set) then (for some X of To_Sequence'Result => Char = X))) and then (for all Char of To_Sequence'Result => Is_In (Char, Set)) and then (for all J in To_Sequence'Result'Range => (for all K in To_Sequence'Result'Range => (if J /= K then To_Sequence'Result (J) /= To_Sequence'Result (K)))); ------------------------------------ -- Character Mapping Declarations -- ------------------------------------ type Character_Mapping is private; pragma Preelaborable_Initialization (Character_Mapping); -- Representation for a character to character mapping: function Value (Map : Character_Mapping; Element : Character) return Character; Identity : constant Character_Mapping; ---------------------------- -- Operations on Mappings -- ---------------------------- function To_Mapping (From, To : Character_Sequence) return Character_Mapping with Pre => From'Length = To'Length and then (for all J in From'Range => (for all K in From'Range => (if J /= K then From (J) /= From (K)))), Post => (if From = To then To_Mapping'Result = Identity) and then (for all Char in Character => ((for all J in From'Range => (if From (J) = Char then Value (To_Mapping'Result, Char) = To (J - From'First + To'First))) and then (if (for all X of From => Char /= X) then Value (To_Mapping'Result, Char) = Char))); function To_Domain (Map : Character_Mapping) return Character_Sequence with Post => (if Map = Identity then To_Domain'Result'Length = 0) and then To_Domain'Result'First = 1 and then (for all Char in Character => (if (for all X of To_Domain'Result => X /= Char) then Value (Map, Char) = Char)) and then (for all Char of To_Domain'Result => Value (Map, Char) /= Char); function To_Range (Map : Character_Mapping) return Character_Sequence with Post => To_Range'Result'First = 1 and then To_Range'Result'Last = To_Domain (Map)'Last and then (for all J in To_Range'Result'Range => To_Range'Result (J) = Value (Map, To_Domain (Map) (J))); type Character_Mapping_Function is access function (From : Character) return Character; private pragma Inline (Is_In); pragma Inline (Value); type Character_Set_Internal is array (Character) of Boolean; pragma Pack (Character_Set_Internal); type Character_Set is new Character_Set_Internal; -- Note: the reason for this level of derivation is to make sure -- that the predefined logical operations on this type remain -- accessible. The operations on Character_Set are overridden by -- the defined operations in the spec, but the operations defined -- on Character_Set_Internal remain visible. Null_Set : constant Character_Set := (others => False); type Character_Mapping is array (Character) of Character; package L renames Ada.Characters.Latin_1; Identity : constant Character_Mapping := (L.NUL & -- NUL 0 L.SOH & -- SOH 1 L.STX & -- STX 2 L.ETX & -- ETX 3 L.EOT & -- EOT 4 L.ENQ & -- ENQ 5 L.ACK & -- ACK 6 L.BEL & -- BEL 7 L.BS & -- BS 8 L.HT & -- HT 9 L.LF & -- LF 10 L.VT & -- VT 11 L.FF & -- FF 12 L.CR & -- CR 13 L.SO & -- SO 14 L.SI & -- SI 15 L.DLE & -- DLE 16 L.DC1 & -- DC1 17 L.DC2 & -- DC2 18 L.DC3 & -- DC3 19 L.DC4 & -- DC4 20 L.NAK & -- NAK 21 L.SYN & -- SYN 22 L.ETB & -- ETB 23 L.CAN & -- CAN 24 L.EM & -- EM 25 L.SUB & -- SUB 26 L.ESC & -- ESC 27 L.FS & -- FS 28 L.GS & -- GS 29 L.RS & -- RS 30 L.US & -- US 31 L.Space & -- ' ' 32 L.Exclamation & -- '!' 33 L.Quotation & -- '"' 34 L.Number_Sign & -- '#' 35 L.Dollar_Sign & -- '$' 36 L.Percent_Sign & -- '%' 37 L.Ampersand & -- '&' 38 L.Apostrophe & -- ''' 39 L.Left_Parenthesis & -- '(' 40 L.Right_Parenthesis & -- ')' 41 L.Asterisk & -- '*' 42 L.Plus_Sign & -- '+' 43 L.Comma & -- ',' 44 L.Hyphen & -- '-' 45 L.Full_Stop & -- '.' 46 L.Solidus & -- '/' 47 '0' & -- '0' 48 '1' & -- '1' 49 '2' & -- '2' 50 '3' & -- '3' 51 '4' & -- '4' 52 '5' & -- '5' 53 '6' & -- '6' 54 '7' & -- '7' 55 '8' & -- '8' 56 '9' & -- '9' 57 L.Colon & -- ':' 58 L.Semicolon & -- ';' 59 L.Less_Than_Sign & -- '<' 60 L.Equals_Sign & -- '=' 61 L.Greater_Than_Sign & -- '>' 62 L.Question & -- '?' 63 L.Commercial_At & -- '@' 64 'A' & -- 'A' 65 'B' & -- 'B' 66 'C' & -- 'C' 67 'D' & -- 'D' 68 'E' & -- 'E' 69 'F' & -- 'F' 70 'G' & -- 'G' 71 'H' & -- 'H' 72 'I' & -- 'I' 73 'J' & -- 'J' 74 'K' & -- 'K' 75 'L' & -- 'L' 76 'M' & -- 'M' 77 'N' & -- 'N' 78 'O' & -- 'O' 79 'P' & -- 'P' 80 'Q' & -- 'Q' 81 'R' & -- 'R' 82 'S' & -- 'S' 83 'T' & -- 'T' 84 'U' & -- 'U' 85 'V' & -- 'V' 86 'W' & -- 'W' 87 'X' & -- 'X' 88 'Y' & -- 'Y' 89 'Z' & -- 'Z' 90 L.Left_Square_Bracket & -- '[' 91 L.Reverse_Solidus & -- '\' 92 L.Right_Square_Bracket & -- ']' 93 L.Circumflex & -- '^' 94 L.Low_Line & -- '_' 95 L.Grave & -- '`' 96 L.LC_A & -- 'a' 97 L.LC_B & -- 'b' 98 L.LC_C & -- 'c' 99 L.LC_D & -- 'd' 100 L.LC_E & -- 'e' 101 L.LC_F & -- 'f' 102 L.LC_G & -- 'g' 103 L.LC_H & -- 'h' 104 L.LC_I & -- 'i' 105 L.LC_J & -- 'j' 106 L.LC_K & -- 'k' 107 L.LC_L & -- 'l' 108 L.LC_M & -- 'm' 109 L.LC_N & -- 'n' 110 L.LC_O & -- 'o' 111 L.LC_P & -- 'p' 112 L.LC_Q & -- 'q' 113 L.LC_R & -- 'r' 114 L.LC_S & -- 's' 115 L.LC_T & -- 't' 116 L.LC_U & -- 'u' 117 L.LC_V & -- 'v' 118 L.LC_W & -- 'w' 119 L.LC_X & -- 'x' 120 L.LC_Y & -- 'y' 121 L.LC_Z & -- 'z' 122 L.Left_Curly_Bracket & -- '{' 123 L.Vertical_Line & -- '|' 124 L.Right_Curly_Bracket & -- '}' 125 L.Tilde & -- '~' 126 L.DEL & -- DEL 127 L.Reserved_128 & -- Reserved_128 128 L.Reserved_129 & -- Reserved_129 129 L.BPH & -- BPH 130 L.NBH & -- NBH 131 L.Reserved_132 & -- Reserved_132 132 L.NEL & -- NEL 133 L.SSA & -- SSA 134 L.ESA & -- ESA 135 L.HTS & -- HTS 136 L.HTJ & -- HTJ 137 L.VTS & -- VTS 138 L.PLD & -- PLD 139 L.PLU & -- PLU 140 L.RI & -- RI 141 L.SS2 & -- SS2 142 L.SS3 & -- SS3 143 L.DCS & -- DCS 144 L.PU1 & -- PU1 145 L.PU2 & -- PU2 146 L.STS & -- STS 147 L.CCH & -- CCH 148 L.MW & -- MW 149 L.SPA & -- SPA 150 L.EPA & -- EPA 151 L.SOS & -- SOS 152 L.Reserved_153 & -- Reserved_153 153 L.SCI & -- SCI 154 L.CSI & -- CSI 155 L.ST & -- ST 156 L.OSC & -- OSC 157 L.PM & -- PM 158 L.APC & -- APC 159 L.No_Break_Space & -- No_Break_Space 160 L.Inverted_Exclamation & -- Inverted_Exclamation 161 L.Cent_Sign & -- Cent_Sign 162 L.Pound_Sign & -- Pound_Sign 163 L.Currency_Sign & -- Currency_Sign 164 L.Yen_Sign & -- Yen_Sign 165 L.Broken_Bar & -- Broken_Bar 166 L.Section_Sign & -- Section_Sign 167 L.Diaeresis & -- Diaeresis 168 L.Copyright_Sign & -- Copyright_Sign 169 L.Feminine_Ordinal_Indicator & -- Feminine_Ordinal_Indicator 170 L.Left_Angle_Quotation & -- Left_Angle_Quotation 171 L.Not_Sign & -- Not_Sign 172 L.Soft_Hyphen & -- Soft_Hyphen 173 L.Registered_Trade_Mark_Sign & -- Registered_Trade_Mark_Sign 174 L.Macron & -- Macron 175 L.Degree_Sign & -- Degree_Sign 176 L.Plus_Minus_Sign & -- Plus_Minus_Sign 177 L.Superscript_Two & -- Superscript_Two 178 L.Superscript_Three & -- Superscript_Three 179 L.Acute & -- Acute 180 L.Micro_Sign & -- Micro_Sign 181 L.Pilcrow_Sign & -- Pilcrow_Sign 182 L.Middle_Dot & -- Middle_Dot 183 L.Cedilla & -- Cedilla 184 L.Superscript_One & -- Superscript_One 185 L.Masculine_Ordinal_Indicator & -- Masculine_Ordinal_Indicator 186 L.Right_Angle_Quotation & -- Right_Angle_Quotation 187 L.Fraction_One_Quarter & -- Fraction_One_Quarter 188 L.Fraction_One_Half & -- Fraction_One_Half 189 L.Fraction_Three_Quarters & -- Fraction_Three_Quarters 190 L.Inverted_Question & -- Inverted_Question 191 L.UC_A_Grave & -- UC_A_Grave 192 L.UC_A_Acute & -- UC_A_Acute 193 L.UC_A_Circumflex & -- UC_A_Circumflex 194 L.UC_A_Tilde & -- UC_A_Tilde 195 L.UC_A_Diaeresis & -- UC_A_Diaeresis 196 L.UC_A_Ring & -- UC_A_Ring 197 L.UC_AE_Diphthong & -- UC_AE_Diphthong 198 L.UC_C_Cedilla & -- UC_C_Cedilla 199 L.UC_E_Grave & -- UC_E_Grave 200 L.UC_E_Acute & -- UC_E_Acute 201 L.UC_E_Circumflex & -- UC_E_Circumflex 202 L.UC_E_Diaeresis & -- UC_E_Diaeresis 203 L.UC_I_Grave & -- UC_I_Grave 204 L.UC_I_Acute & -- UC_I_Acute 205 L.UC_I_Circumflex & -- UC_I_Circumflex 206 L.UC_I_Diaeresis & -- UC_I_Diaeresis 207 L.UC_Icelandic_Eth & -- UC_Icelandic_Eth 208 L.UC_N_Tilde & -- UC_N_Tilde 209 L.UC_O_Grave & -- UC_O_Grave 210 L.UC_O_Acute & -- UC_O_Acute 211 L.UC_O_Circumflex & -- UC_O_Circumflex 212 L.UC_O_Tilde & -- UC_O_Tilde 213 L.UC_O_Diaeresis & -- UC_O_Diaeresis 214 L.Multiplication_Sign & -- Multiplication_Sign 215 L.UC_O_Oblique_Stroke & -- UC_O_Oblique_Stroke 216 L.UC_U_Grave & -- UC_U_Grave 217 L.UC_U_Acute & -- UC_U_Acute 218 L.UC_U_Circumflex & -- UC_U_Circumflex 219 L.UC_U_Diaeresis & -- UC_U_Diaeresis 220 L.UC_Y_Acute & -- UC_Y_Acute 221 L.UC_Icelandic_Thorn & -- UC_Icelandic_Thorn 222 L.LC_German_Sharp_S & -- LC_German_Sharp_S 223 L.LC_A_Grave & -- LC_A_Grave 224 L.LC_A_Acute & -- LC_A_Acute 225 L.LC_A_Circumflex & -- LC_A_Circumflex 226 L.LC_A_Tilde & -- LC_A_Tilde 227 L.LC_A_Diaeresis & -- LC_A_Diaeresis 228 L.LC_A_Ring & -- LC_A_Ring 229 L.LC_AE_Diphthong & -- LC_AE_Diphthong 230 L.LC_C_Cedilla & -- LC_C_Cedilla 231 L.LC_E_Grave & -- LC_E_Grave 232 L.LC_E_Acute & -- LC_E_Acute 233 L.LC_E_Circumflex & -- LC_E_Circumflex 234 L.LC_E_Diaeresis & -- LC_E_Diaeresis 235 L.LC_I_Grave & -- LC_I_Grave 236 L.LC_I_Acute & -- LC_I_Acute 237 L.LC_I_Circumflex & -- LC_I_Circumflex 238 L.LC_I_Diaeresis & -- LC_I_Diaeresis 239 L.LC_Icelandic_Eth & -- LC_Icelandic_Eth 240 L.LC_N_Tilde & -- LC_N_Tilde 241 L.LC_O_Grave & -- LC_O_Grave 242 L.LC_O_Acute & -- LC_O_Acute 243 L.LC_O_Circumflex & -- LC_O_Circumflex 244 L.LC_O_Tilde & -- LC_O_Tilde 245 L.LC_O_Diaeresis & -- LC_O_Diaeresis 246 L.Division_Sign & -- Division_Sign 247 L.LC_O_Oblique_Stroke & -- LC_O_Oblique_Stroke 248 L.LC_U_Grave & -- LC_U_Grave 249 L.LC_U_Acute & -- LC_U_Acute 250 L.LC_U_Circumflex & -- LC_U_Circumflex 251 L.LC_U_Diaeresis & -- LC_U_Diaeresis 252 L.LC_Y_Acute & -- LC_Y_Acute 253 L.LC_Icelandic_Thorn & -- LC_Icelandic_Thorn 254 L.LC_Y_Diaeresis); -- LC_Y_Diaeresis 255 end Ada.Strings.Maps;
----------------------------------------------------------------------- -- asf-views-nodes -- Facelet node tree representation -- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with EL.Contexts.Default; with ASF.Components.Core; with ASF.Contexts.Writer; with Ada.Unchecked_Deallocation; with Ada.Exceptions; with Util.Log.Loggers; package body ASF.Views.Nodes is use EL.Expressions; procedure Free is new Ada.Unchecked_Deallocation (Tag_Node'Class, Tag_Node_Access); procedure Free is new Ada.Unchecked_Deallocation (Tag_Attribute_Array, Tag_Attribute_Array_Access); procedure Free is new Ada.Unchecked_Deallocation (Tag_Content, Tag_Content_Access); procedure Free is new Ada.Unchecked_Deallocation (EL.Expressions.Expression'Class, EL.Expressions.Expression_Access); use Util.Log; -- The logger Log : constant Loggers.Logger := Loggers.Create ("ASF.Views.Nodes"); -- ------------------------------ -- Attribute of a node. -- ------------------------------ -- ------------------------------ -- Report an error message for the attribute. -- ------------------------------ procedure Error (Attribute : in Tag_Attribute; Message : in String; Param1 : in String; Param2 : in String := "") is begin if Attribute.Tag /= null then Attribute.Tag.Error (Message, Param1, Param2); else Log.Error (Message, Param1, Param2); end if; end Error; -- ------------------------------ -- Compare the attribute name. -- ------------------------------ function "=" (Left : in Tag_Attribute; Right : in String) return Boolean is begin return Left.Name = Right; end "="; function "=" (Left, Right : in Tag_Attribute) return Boolean is begin return Left.Name = Right.Name; end "="; -- ------------------------------ -- Get the attribute name. -- ------------------------------ function Get_Name (Attribute : Tag_Attribute) return String is begin return To_String (Attribute.Name); end Get_Name; -- ------------------------------ -- Returns True if the attribute is static (not an EL expression). -- ------------------------------ function Is_Static (Attribute : Tag_Attribute) return Boolean is begin return Attribute.Binding = null; end Is_Static; -- ------------------------------ -- Get the attribute value. If the attribute is an EL expression -- evaluate that expression in the context of the given UI component. -- ------------------------------ function Get_Value (Attribute : Tag_Attribute; UI : UIComponent'Class) return EL.Objects.Object is procedure Handle_Exception (E : in Ada.Exceptions.Exception_Occurrence); procedure Handle_Exception (E : in Ada.Exceptions.Exception_Occurrence) is begin Error (Attribute, "Evaluation error: {0}", Ada.Exceptions.Exception_Message (E)); end Handle_Exception; begin if Attribute.Binding /= null then declare Ctx : constant EL.Contexts.ELContext_Access := UI.Get_Context.Get_ELContext; Context : EL.Contexts.Default.Guarded_Context (Handle_Exception'Access, Ctx); begin return Attribute.Binding.Get_Value (Context); end; else return EL.Objects.To_Object (Attribute.Value); end if; end Get_Value; -- ------------------------------ -- Get the attribute value. If the attribute is an EL expression -- evaluate that expression in the context of the given UI component. -- ------------------------------ function Get_Value (Attribute : Tag_Attribute; Context : Faces_Context'Class) return EL.Objects.Object is procedure Handle_Exception (E : in Ada.Exceptions.Exception_Occurrence); procedure Handle_Exception (E : in Ada.Exceptions.Exception_Occurrence) is begin Error (Attribute, "Evaluation error: {0}", Ada.Exceptions.Exception_Message (E)); end Handle_Exception; begin if Attribute.Binding /= null then declare Ctx : constant EL.Contexts.ELContext_Access := Context.Get_ELContext; Context : EL.Contexts.Default.Guarded_Context (Handle_Exception'Access, Ctx); begin return Attribute.Binding.Get_Value (Context); end; else return EL.Objects.To_Object (Attribute.Value); end if; end Get_Value; function Get_Value (Attribute : Tag_Attribute; Context : Facelet_Context'Class) return EL.Objects.Object is procedure Handle_Exception (E : in Ada.Exceptions.Exception_Occurrence); procedure Handle_Exception (E : in Ada.Exceptions.Exception_Occurrence) is begin Error (Attribute, "Evaluation error: {0}", Ada.Exceptions.Exception_Message (E)); end Handle_Exception; begin if Attribute.Binding /= null then declare Ctx : constant EL.Contexts.ELContext_Access := Context.Get_ELContext; Context : EL.Contexts.Default.Guarded_Context (Handle_Exception'Access, Ctx); begin return Attribute.Binding.Get_Value (Context); end; else return EL.Objects.To_Object (Attribute.Value); end if; end Get_Value; -- ------------------------------ -- Get the value from the attribute. If the attribute is null or evaluates to -- a NULL object, returns the default value. Convert the value into a string. -- ------------------------------ function Get_Value (Attribute : in Tag_Attribute_Access; Context : in Facelet_Context'Class; Default : in String) return String is begin if Attribute = null then return Default; else declare Value : constant EL.Objects.Object := Get_Value (Attribute.all, Context); begin if EL.Objects.Is_Null (Value) then return Default; else return EL.Objects.To_String (Value); end if; end; end if; end Get_Value; -- ------------------------------ -- Get the EL expression associated with the given tag attribute. -- ------------------------------ function Get_Expression (Attribute : in Tag_Attribute) return EL.Expressions.Expression is begin if Attribute.Binding /= null then return EL.Expressions.Expression (Attribute.Binding.all); else return EL.Expressions.Create_Expression (EL.Objects.To_Object (Attribute.Value)); end if; end Get_Expression; function Get_Value_Expression (Attribute : Tag_Attribute) return EL.Expressions.Value_Expression is begin if Attribute.Binding /= null then return EL.Expressions.Create_Expression (Attribute.Binding.all); else return EL.Expressions.Create_ValueExpression (EL.Objects.To_Object (Attribute.Value)); end if; end Get_Value_Expression; function Get_Method_Expression (Attribute : Tag_Attribute) return EL.Expressions.Method_Expression is begin if Attribute.Binding /= null then return EL.Expressions.Create_Expression (Attribute.Binding.all); else Error (Attribute, "Invalid method expression", ""); raise Constraint_Error with "Invalid method expression"; end if; end Get_Method_Expression; -- ------------------------------ -- Reduce the expression by eliminating known variables and computing -- constant expressions. The result expression is either another -- expression or a computed constant value. -- ------------------------------ function Reduce_Expression (Attribute : Tag_Attribute; Context : Facelet_Context'Class) return EL.Expressions.Expression is E : constant EL.Expressions.Expression := EL.Expressions.Expression (Attribute.Binding.all); begin return E.Reduce_Expression (Context.Get_ELContext.all); end Reduce_Expression; -- ------------------------------ -- Find the tag attribute having the given name. -- Returns an access to the attribute cell within the array or null -- if the no attribute matches the name. -- ------------------------------ function Find_Attribute (Attributes : Tag_Attribute_Array_Access; Name : String) return Tag_Attribute_Access is begin for I in Attributes'Range loop declare Attr : constant Tag_Attribute_Access := Attributes (I)'Access; begin if Attr.Name = Name then return Attr; end if; end; end loop; return null; end Find_Attribute; -- ------------------------------ -- XHTML node -- ------------------------------ -- ------------------------------ -- Get the line information where the tag node is defined. -- ------------------------------ function Get_Line_Info (Node : Tag_Node) return Line_Info is begin return Node.Line; end Get_Line_Info; -- ------------------------------ -- Get the line information as a string. -- ------------------------------ function Get_Line_Info (Node : Tag_Node) return String is L : constant String := Natural'Image (Node.Line.Line); C : constant String := Natural'Image (Node.Line.Column); begin if Node.Line.File = null then return "?:" & L (L'First + 1 .. L'Last) & ':' & C (C'First + 1 .. C'Last); else return Node.Line.File.Path & ':' & L (L'First + 1 .. L'Last) & ':' & C (C'First + 1 .. C'Last); end if; end Get_Line_Info; -- ------------------------------ -- Get the relative path name of the XHTML file in which this tag is defined. -- ------------------------------ function Get_File_Name (Node : in Tag_Node) return String is File : constant File_Info_Access := Node.Line.File; begin return File.Path (File.Relative_Pos .. File.Path'Last); end Get_File_Name; -- ------------------------------ -- Get the node attribute with the given name. -- Returns null if the node does not have such attribute. -- ------------------------------ function Get_Attribute (Node : Tag_Node; Name : String) return Tag_Attribute_Access is begin if Node.Attributes = null then return null; end if; return Find_Attribute (Node.Attributes, Name); end Get_Attribute; -- ------------------------------ -- Initialize the node -- ------------------------------ procedure Initialize (Node : in Tag_Node_Access; Binding : in Binding_Type; Line : in Line_Info; Parent : in Tag_Node_Access; Attributes : in Tag_Attribute_Array_Access) is begin Node.Factory := Binding.Component; Node.Line := Line; Node.Parent := Parent; Node.Attributes := Attributes; if Node.Attributes /= null then for I in Attributes.all'Range loop Attributes (I).Tag := Node; end loop; end if; Append_Tag (Parent, Node); end Initialize; -- ------------------------------ -- Append a child tag node. -- ------------------------------ procedure Append_Tag (Node : in Tag_Node_Access; Child : in Tag_Node_Access) is begin if Node.First_Child = null then Node.First_Child := Child; else Node.Last_Child.Next := Child; end if; Node.Last_Child := Child; Child.Parent := Node; Child.Next := null; end Append_Tag; -- ------------------------------ -- Freeze the tag node tree and perform any initialization steps -- necessary to build the components efficiently. After this call -- the tag node tree should not be modified and it represents a read-only -- tree. -- ------------------------------ procedure Freeze (Node : access Tag_Node) is begin null; end Freeze; -- ------------------------------ -- Delete the node and its children freeing the memory as necessary -- ------------------------------ procedure Delete (Node : access Tag_Node) is Child : Tag_Node_Access := Node.First_Child; Next : Tag_Node_Access; begin while Child /= null loop Next := Child.Next; Child.Delete; Free (Child); Child := Next; end loop; if Node.Attributes /= null then for I in Node.Attributes'Range loop declare Expr : EL.Expressions.Expression_Access := Node.Attributes (I).Binding; begin Free (Expr); end; end loop; Free (Node.Attributes); end if; end Delete; procedure Destroy (Node : in out Tag_Node_Access) is begin Node.Delete; Free (Node); end Destroy; -- ------------------------------ -- Report an error message -- ------------------------------ procedure Error (Node : in Tag_Node'Class; Message : in String; Param1 : in String := ""; Param2 : in String := "") is L : constant String := Node.Get_Line_Info; begin Log.Error (L & ":" & Message, Param1, Param2); end Error; -- ------------------------------ -- Build the component attributes from the facelet tag node and the facelet context. -- ------------------------------ procedure Build_Attributes (UI : in out UIComponent'Class; Node : in Tag_Node'Class; Context : in out Facelet_Context'Class) is procedure Process_Attribute (Attr : in Tag_Attribute_Access); procedure Process_Attribute (Attr : in Tag_Attribute_Access) is begin if Attr.Binding /= null then -- Reduce the expression by eliminating variables which are defined in -- the Facelet context. We can obtain another expression or a constant value. declare Ctx : constant EL.Contexts.ELContext_Access := Context.Get_ELContext; Expr : constant EL.Expressions.Expression := EL.Expressions.Expression (Attr.Binding.all).Reduce_Expression (Ctx.all); begin if Expr.Is_Constant then UI.Set_Attribute (Def => Attr, Value => Expr.Get_Value (Ctx.all)); else UI.Set_Attribute (Def => Attr, Value => Expr); end if; end; end if; end Process_Attribute; -- Iterate over the attributes to resolve some value expressions. procedure Iterate_Attributes is new ASF.Views.Nodes.Iterate_Attributes (Process_Attribute); begin Iterate_Attributes (Node); end Build_Attributes; -- ------------------------------ -- Build the component tree from the tag node and attach it as -- the last child of the given parent. Calls recursively the -- method to create children. -- ------------------------------ procedure Build_Components (Node : access Tag_Node; Parent : in UIComponent_Access; Context : in out Facelet_Context'Class) is UI : constant UIComponent_Access := Node.Factory.all; begin Append (Parent, UI, Node); Build_Attributes (UI.all, Node.all, Context); UI.Initialize (UI.Get_Context.all); Node.Build_Children (UI, Context); end Build_Components; procedure Build_Children (Node : access Tag_Node; Parent : in UIComponent_Access; Context : in out Facelet_Context'Class) is Child : Tag_Node_Access; begin Child := Node.First_Child; while Child /= null loop Child.Build_Components (Parent, Context); Child := Child.Next; end loop; end Build_Children; -- ------------------------------ -- Iterate over the attributes defined on the node and -- execute the <b>Process</b> procedure. -- ------------------------------ procedure Iterate_Attributes (Node : in Tag_Node'Class) is begin for I in Node.Attributes'Range loop declare Attr : constant Tag_Attribute_Access := Node.Attributes (I)'Access; begin Process (Attr); end; end loop; end Iterate_Attributes; -- ------------------------------ -- Freeze the tag node tree. -- Count the number of Tag_Content represented by this node. -- ------------------------------ overriding procedure Freeze (Node : access Text_Tag_Node) is Content : access constant Tag_Content := Node.Content'Access; Count : Natural := 0; begin loop Content := Content.Next; Count := Count + 1; exit when Content = null; end loop; Node.Count := Count; end Freeze; overriding procedure Build_Components (Node : access Text_Tag_Node; Parent : in UIComponent_Access; Context : in out Facelet_Context'Class) is UI : constant ASF.Components.Core.UIText_Access := ASF.Components.Core.Create_UIText (Node.all'Access); Expr_Table : Expression_Access_Array_Access := null; Ctx : constant EL.Contexts.ELContext_Access := Context.Get_ELContext; Content : access constant Tag_Content := Node.Content'Access; Pos : Natural := 1; begin Append (Parent, UI.all'Access, Node); loop if not Content.Expr.Is_Null then -- Reduce the expression by eliminating variables which are defined in -- the Facelet context. We can obtain another expression or a constant value. declare Expr : constant EL.Expressions.Expression := Content.Expr.Reduce_Expression (Ctx.all); begin if Expr /= Content.Expr then if Expr_Table = null then Expr_Table := new Expression_Access_Array (1 .. Node.Count); UI.Set_Expression_Table (Expr_Table); end if; Expr_Table (Pos) := new EL.Expressions.Expression '(Expr); end if; end; end if; Content := Content.Next; Pos := Pos + 1; exit when Content = null; end loop; end Build_Components; -- ------------------------------ -- Delete the node and its children freeing the memory as necessary -- ------------------------------ procedure Delete (Node : access Text_Tag_Node) is Content : Tag_Content_Access := Node.Content.Next; begin while Content /= null loop declare Next : constant Tag_Content_Access := Content.Next; begin Free (Content); Content := Next; end; end loop; Node.Content.Next := null; Node.Last := null; end Delete; -- ------------------------------ -- Encode the content represented by this text node. -- The expressions are evaluated if necessary. -- ------------------------------ procedure Encode_All (Node : in Text_Tag_Node; Expr : in Expression_Access_Array_Access; Context : in Faces_Context'Class) is Writer : constant ASF.Contexts.Writer.Response_Writer_Access := Context.Get_Response_Writer; Content : access constant Tag_Content := Node.Content'Access; Pos : Natural := 1; begin loop Writer.Write (Content.Text); begin if Expr /= null and then Expr (Pos) /= null then declare Value : constant EL.Objects.Object := Expr (Pos).Get_Value (Context.Get_ELContext.all); begin if not EL.Objects.Is_Null (Value) then Writer.Write_Text (Value); end if; end; else declare Value : constant EL.Objects.Object := Content.Expr.Get_Value (Context.Get_ELContext.all); begin if not EL.Objects.Is_Null (Value) then Writer.Write_Text (Value); end if; end; end if; exception when E : others => Node.Error ("Evaluation error: {0}", Ada.Exceptions.Exception_Message (E)); end; Content := Content.Next; Pos := Pos + 1; exit when Content = null; end loop; end Encode_All; function First (Node : in Tag_Node_Access) return Cursor is Result : Cursor; begin Result.Node := Node.First_Child; return Result; end First; function Has_Element (C : Cursor) return Boolean is begin return C.Node /= null; end Has_Element; function Element (Position : Cursor) return Tag_Node_Access is begin return Position.Node; end Element; procedure Next (Position : in out Cursor) is begin Position.Node := Position.Node.Next; end Next; -- Create a tag node -- Create the text Tag function Create_Component_Node (Binding : in Binding_Type; Line : in Line_Info; Parent : in Tag_Node_Access; Attributes : in Tag_Attribute_Array_Access) return Tag_Node_Access is Node : constant Tag_Node_Access := new Tag_Node; begin Initialize (Node.all'Access, Binding, Line, Parent, Attributes); return Node.all'Access; end Create_Component_Node; end ASF.Views.Nodes;
-- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ string pool management -- -- |___/_|\_\_|_|____| by: Timm Felden -- -- -- pragma Ada_2012; with Ada.Unchecked_Conversion; with Ada.Unchecked_Deallocation; with Ada.Text_IO; with Interfaces; with Skill.Errors; with Skill.Field_Types.Builtin.String_Type_P; package body Skill.String_Pools is -- note: input is now owned by the pool function Create (Input : Skill.Streams.Reader.Input_Stream) return Pool is use type Skill.Streams.Reader.Input_Stream; This : Pool := new Pool_T' (Input => Input, New_Strings => A1.Empty_Set, String_Positions => A2.Empty_Vector, Id_Map => A3.Empty_Vector, Mutex => <>); Null_Position : Position; use Interfaces; begin --null translation trick This.String_Positions.Append (Null_Position); This.Id_Map.Append (null); return This; exception when E : others => raise Skill.Errors.Skill_Error; end Create; procedure Free (This : Skill.Types.String_Access) is procedure Delete is new Ada.Unchecked_Deallocation (String, Skill.Types.String_Access); D : Skill.Types.String_Access := This; begin if null /= D then Delete (D); end if; end Free; procedure Free (This : access Pool_T) is type P is access all Pool_T; procedure Delete is new Ada.Unchecked_Deallocation (Pool_T, P); D : P := P (This); use type Skill.Streams.Reader.Input_Stream; begin if null /= This.Input then This.Input.Close; end if; -- not true, because some strings are global constants -- This.Id_Map.Foreach (Free'Access); This.Id_Map.Free; This.String_Positions.Free; Delete (D); end Free; function Size (This : access Pool_T) return Integer is begin return Integer (This.String_Positions.Length) + Integer (This.New_Strings.Length); end Size; procedure AddPosition (This : access Pool_T; Pos : Types.v64; Len : Types.i32) is RPos : Position; begin RPos.AbsoluteOffset := Pos; RPos.Length := Len; This.String_Positions.Append (RPos); This.Id_Map.Append (null); end AddPosition; -- should be synchronized now function Read_Result (This : access Pool_T; Index : Types.v64) return Types.String_Access is Off : Position := This.String_Positions.Element (Natural (Index)); Input : Skill.Streams.Reader.Input_Stream := This.Input; Last : Types.v64 := Input.Position; use type Skill.Streams.Reader.Input_Stream; function Convert is new Ada.Unchecked_Conversion (Types.i8, Character); Result : Skill.Types.String_Access; begin Input.Jump (Off.AbsoluteOffset); -- range shifted by 1 to allow for empty ranges Result := new String (2 .. Positive (Off.Length + 1)); for P in Result'Range loop Result (P) := Convert (Input.I8); end loop; -- unify with new strings declare Cursor : A1.Cursor; Inserted : Boolean; begin This.New_Strings.Insert (Result, Cursor, Inserted); if not Inserted then Free (Result); Result := A1.Element (Cursor); end if; end; Input.Jump (Last); This.Id_Map.Replace_Element (Natural (Index), Result); return Result; end Read_Result; function Get (This : access Pool_T; Index : Types.v64) return Skill.Types.String_Access is Result : Skill.Types.String_Access; begin if Index <= 0 then return null; end if; Result := This.Id_Map.Element (Natural (Index)); if null /= Result then return Result; end if; -- we have to load the string from disk -- @note this block has to be synchronized in order to enable parallel -- decoding of field data -- @note this is correct, because string pool is the only one who can do -- parallel operations on input! This.Mutex.Lock; Result := Read_Result (This, Index); This.Mutex.Unlock; return Result; exception when E : others => raise Skill.Errors.Skill_Error with InvalidPoolIndexException (Natural (Index), Integer (This.String_Positions.Length), "string", E); end Get; procedure Add (This : access Pool_T; S : Types.String_Access) is begin if null /= S then This.New_Strings.Include (S); end if; end Add; function Add (This : access Pool_T; S : String) return Types.String_Access is Cursor : A1.Cursor; Inserted : Boolean; Str : Types.String_Access := new String'(S); begin This.New_Strings.Insert (Str, Cursor, Inserted); if Inserted then return Str; else Free (Str); return A1.Element (Cursor); end if; end Add; procedure Prepare_And_Write (This : access Pool_T; Output : Skill.Streams.Writer.Output_Stream; Serialization_IDs : Skill.Field_Types.Builtin.String_Type_P.ID_Map) is S : Types.String_Access; Count : Types.v64; use type Types.v64; use type Skill.Field_Types.Builtin.String_Type_P.ID_Map; begin -- ensure all strings are present for I in 1 .. Types.v64 (This.String_Positions.Length - 1) loop S := This.Get (I); end loop; -- create inverse map for I in 1 .. Types.Skill_ID_T (This.Id_Map.Length - 1) loop Serialization_IDs.Insert (Key => This.Id_Map.Element (I), New_Item => I); end loop; -- instert new strings to the map; -- this is the place where duplications with lazy strings will be detected -- and eliminated for S of This.New_Strings loop if not Serialization_IDs.Contains (S) then Serialization_IDs.Insert (S, This.Id_Map.Length); This.Id_Map.Append (S); end if; end loop; Count := Types.v64 (This.Id_Map.Length - 1); Output.V64 (Count); Output.Begin_Block_Map (4 * Count); declare Off : Types.i32 := 0; -- map offsets Offsets : Streams.Writer.Sub_Stream := Output.Map (4 * Count); procedure Put (S : Types.String_Access) is begin -- first ID is mapped to null if null = S then return; end if; Off := Off + S.all'Size / 8; Output.Put_Plain_String (S); Offsets.I32 (Off); end Put; begin This.Id_Map.Foreach (Put'Access); Output.End_Block_Map; end; end Prepare_And_Write; procedure Prepare_And_Append (This : access Pool_T; Output : Skill.Streams.Writer.Output_Stream; Serialization_IDs : Skill.Field_Types.Builtin.String_Type_P.ID_Map) is S : Types.String_Access; Count : Types.v64; use type Types.v64; use type Skill.Field_Types.Builtin.String_Type_P.ID_Map; Todo : A3.Vector := A3.Empty_Vector; begin -- ensure all strings are present for I in 1 .. Types.v64 (This.String_Positions.Length - 1) loop S := This.Get (I); end loop; -- create inverse map for I in 1 .. Types.Skill_ID_T (This.Id_Map.Length - 1) loop Serialization_IDs.Include (Key => This.Id_Map.Element (I), New_Item => I); end loop; -- instert new strings to the map; -- this is the place where duplications with lazy strings will be detected -- and eliminated; -- this is also the place, where new instances are appended to the output -- file for S of This.New_Strings loop if not Serialization_IDs.Contains (S) then Serialization_IDs.Include (S, This.Id_Map.Length); This.Id_Map.Append (S); Todo.Append (S); end if; end loop; Count := Types.v64 (Todo.Length); Output.V64 (Count); if 0 /= Count then Output.Begin_Block_Map (4 * Count); declare Off : Types.i32 := 0; -- map offsets Offsets : Streams.Writer.Sub_Stream := Output.Map (4 * Count); procedure Put (S : Types.String_Access) is begin -- first ID is mapped to null if null = S then return; end if; Off := Off + S.all'Size / 8; Output.Put_Plain_String (S); Offsets.I32 (Off); end Put; begin Todo.Foreach (Put'Access); Output.End_Block_Map; end; end if; Todo.Free; end Prepare_And_Append; end Skill.String_Pools;
-- This spec has been automatically generated from STM32F429x.svd pragma Ada_2012; with System; -- STM32F427xx package STM32_SVD is pragma Preelaborate; pragma No_Elaboration_Code_All; -------------------- -- Base addresses -- -------------------- RNG_Base : constant System.Address := System'To_Address (16#50060800#); DCMI_Base : constant System.Address := System'To_Address (16#50050000#); FMC_Base : constant System.Address := System'To_Address (16#A0000000#); DBG_Base : constant System.Address := System'To_Address (16#E0042000#); DMA2_Base : constant System.Address := System'To_Address (16#40026400#); DMA1_Base : constant System.Address := System'To_Address (16#40026000#); RCC_Base : constant System.Address := System'To_Address (16#40023800#); GPIOK_Base : constant System.Address := System'To_Address (16#40022800#); GPIOJ_Base : constant System.Address := System'To_Address (16#40022400#); GPIOI_Base : constant System.Address := System'To_Address (16#40022000#); GPIOH_Base : constant System.Address := System'To_Address (16#40021C00#); GPIOG_Base : constant System.Address := System'To_Address (16#40021800#); GPIOF_Base : constant System.Address := System'To_Address (16#40021400#); GPIOE_Base : constant System.Address := System'To_Address (16#40021000#); GPIOD_Base : constant System.Address := System'To_Address (16#40020C00#); GPIOC_Base : constant System.Address := System'To_Address (16#40020800#); GPIOB_Base : constant System.Address := System'To_Address (16#40020400#); GPIOA_Base : constant System.Address := System'To_Address (16#40020000#); SYSCFG_Base : constant System.Address := System'To_Address (16#40013800#); SPI1_Base : constant System.Address := System'To_Address (16#40013000#); SPI2_Base : constant System.Address := System'To_Address (16#40003800#); SPI3_Base : constant System.Address := System'To_Address (16#40003C00#); I2S2ext_Base : constant System.Address := System'To_Address (16#40003400#); I2S3ext_Base : constant System.Address := System'To_Address (16#40004000#); SPI4_Base : constant System.Address := System'To_Address (16#40013400#); SPI5_Base : constant System.Address := System'To_Address (16#40015000#); SPI6_Base : constant System.Address := System'To_Address (16#40015400#); SDIO_Base : constant System.Address := System'To_Address (16#40012C00#); ADC1_Base : constant System.Address := System'To_Address (16#40012000#); ADC2_Base : constant System.Address := System'To_Address (16#40012100#); ADC3_Base : constant System.Address := System'To_Address (16#40012200#); USART6_Base : constant System.Address := System'To_Address (16#40011400#); USART1_Base : constant System.Address := System'To_Address (16#40011000#); USART2_Base : constant System.Address := System'To_Address (16#40004400#); USART3_Base : constant System.Address := System'To_Address (16#40004800#); UART7_Base : constant System.Address := System'To_Address (16#40007800#); UART8_Base : constant System.Address := System'To_Address (16#40007C00#); DAC_Base : constant System.Address := System'To_Address (16#40007400#); PWR_Base : constant System.Address := System'To_Address (16#40007000#); I2C3_Base : constant System.Address := System'To_Address (16#40005C00#); I2C2_Base : constant System.Address := System'To_Address (16#40005800#); I2C1_Base : constant System.Address := System'To_Address (16#40005400#); IWDG_Base : constant System.Address := System'To_Address (16#40003000#); WWDG_Base : constant System.Address := System'To_Address (16#40002C00#); RTC_Base : constant System.Address := System'To_Address (16#40002800#); UART4_Base : constant System.Address := System'To_Address (16#40004C00#); UART5_Base : constant System.Address := System'To_Address (16#40005000#); C_ADC_Base : constant System.Address := System'To_Address (16#40012300#); TIM1_Base : constant System.Address := System'To_Address (16#40010000#); TIM8_Base : constant System.Address := System'To_Address (16#40010400#); TIM2_Base : constant System.Address := System'To_Address (16#40000000#); TIM3_Base : constant System.Address := System'To_Address (16#40000400#); TIM4_Base : constant System.Address := System'To_Address (16#40000800#); TIM5_Base : constant System.Address := System'To_Address (16#40000C00#); TIM9_Base : constant System.Address := System'To_Address (16#40014000#); TIM12_Base : constant System.Address := System'To_Address (16#40001800#); TIM10_Base : constant System.Address := System'To_Address (16#40014400#); TIM13_Base : constant System.Address := System'To_Address (16#40001C00#); TIM14_Base : constant System.Address := System'To_Address (16#40002000#); TIM11_Base : constant System.Address := System'To_Address (16#40014800#); TIM6_Base : constant System.Address := System'To_Address (16#40001000#); TIM7_Base : constant System.Address := System'To_Address (16#40001400#); Ethernet_MAC_Base : constant System.Address := System'To_Address (16#40028000#); Ethernet_MMC_Base : constant System.Address := System'To_Address (16#40028100#); Ethernet_PTP_Base : constant System.Address := System'To_Address (16#40028700#); Ethernet_DMA_Base : constant System.Address := System'To_Address (16#40029000#); CRC_Base : constant System.Address := System'To_Address (16#40023000#); OTG_FS_GLOBAL_Base : constant System.Address := System'To_Address (16#50000000#); OTG_FS_HOST_Base : constant System.Address := System'To_Address (16#50000400#); OTG_FS_DEVICE_Base : constant System.Address := System'To_Address (16#50000800#); OTG_FS_PWRCLK_Base : constant System.Address := System'To_Address (16#50000E00#); CAN1_Base : constant System.Address := System'To_Address (16#40006400#); CAN2_Base : constant System.Address := System'To_Address (16#40006800#); NVIC_Base : constant System.Address := System'To_Address (16#E000E000#); FLASH_Base : constant System.Address := System'To_Address (16#40023C00#); EXTI_Base : constant System.Address := System'To_Address (16#40013C00#); OTG_HS_GLOBAL_Base : constant System.Address := System'To_Address (16#40040000#); OTG_HS_HOST_Base : constant System.Address := System'To_Address (16#40040400#); OTG_HS_DEVICE_Base : constant System.Address := System'To_Address (16#40040800#); OTG_HS_PWRCLK_Base : constant System.Address := System'To_Address (16#40040E00#); LTDC_Base : constant System.Address := System'To_Address (16#40016800#); SAI_Base : constant System.Address := System'To_Address (16#40015800#); DMA2D_Base : constant System.Address := System'To_Address (16#4002B000#); end STM32_SVD;
-- Copyright 2014-2015 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with System; package Pck is type Packed_Array is array (Natural range <>) of Boolean; pragma Pack (Packed_Array); function Make (H, L : Natural) return Packed_Array; procedure Do_Nothing (A : System.Address); end Pck;
package body Task_Implementations is task body Gyroscope_Reader is -- Timing Constraints Next_Period : Ada.Real_Time.Time; Start_Point : Ada.Real_Time.Time; Offset : constant Ada.Real_Time.Time_Span := Ada.Real_Time.Milliseconds(0); Period : constant Ada.Real_Time.Time_Span := Ada.Real_Time.Milliseconds(20); -- Worst-Case Computation Time Analysis Execution_Start : Ada.Real_Time.Time; Execution_End : Ada.Real_Time.Time; Total_Computation_Time : Ada.Real_Time.Time_Span; Total_Computation_Time_Limit: Ada.Real_Time.Time_Span := Ada.Real_Time.Milliseconds(5); Worst_Case_Computation_Time : Ada.Real_Time.Time_Span := Ada.Real_Time.Milliseconds(0); -- Task Specific Variable Declarations Velocity : Float; --Exception variables Velocity_Max : Float := 6.0; Velocity_Min : Float := -6.0; Recoveryblock_Count : Integer := 0; begin Motor_Setup.Calibrate_Motors_If_Required; Epoch.Get_Start_Time(Start_Point); -- Define next time to run Next_Period := Start_Point + Offset; loop begin -- Wait for new period delay until Next_Period; -- START OF EXECUTION Execution_Start := Ada.Real_Time.Clock; Meassure_Velocity.Retrieve_Velocity(Velocity); Velocity := To_Radians(Velocity); Gyroscope_SR.Set(Velocity); -- Define next time to run Next_Period := Next_Period + Period; -- END OF EXECUTION Execution_End := Ada.Real_Time.Clock; -- Calculation of Total Computation Time Total_Computation_Time := Execution_End - Execution_Start; -- Set a new worst-case if current execution time is the largest if Total_Computation_Time > Worst_Case_Computation_Time then Worst_Case_Computation_Time := Total_Computation_Time; end if; Ada.Text_IO.Put_Line("A" & Duration'Image(To_Duration(Worst_Case_Computation_Time))); -- Acceptance Test Acceptance_Test(Velocity_Max, Velocity_Min, Velocity, Total_Computation_Time, Total_Computation_Time_Limit, Recoveryblock_Count); exception when Value_Exceed_Max => Recoveryblock_Count := Recoveryblock_Count + 1; Velocity := 3.0; Gyroscope_SR.Set(Velocity); Acceptance_Test(Velocity_Max, Velocity_Min, Velocity, Total_Computation_Time, Total_Computation_Time_Limit, Recoveryblock_Count); when Value_Exceed_Min => Recoveryblock_Count := Recoveryblock_Count + 1; Velocity := -3.0; Gyroscope_SR.Set(Velocity); Acceptance_Test(Velocity_Max, Velocity_Min, Velocity, Total_Computation_Time, Total_Computation_Time_Limit, Recoveryblock_Count); when Excecution_Time_Overun => ada.Text_IO.Put_Line("Gyroscope read: Execution time error"); end; end loop; end Gyroscope_Reader; task body Accelerometer_Reader is -- Timing Constraints Offset : constant Ada.Real_Time.Time_Span := Ada.Real_Time.Milliseconds(0); Period : constant Ada.Real_Time.Time_Span := Ada.Real_Time.Milliseconds(20); Next_Period : Ada.Real_Time.Time; Start_Point : Ada.Real_Time.Time; -- I/O Jitter Constraints Of Accelorometer Next_Reading : Ada.Real_Time.Time; Read_Period : Ada.Real_Time.Time_Span := Ada.Real_Time.Microseconds(100); -- Worst-Case Computation Time Analysis Execution_Start : Ada.Real_Time.Time; Execution_End : Ada.Real_Time.Time; Total_Computation_Time : Ada.Real_Time.Time_Span; Total_Computation_Time_Limit: Ada.Real_Time.Time_Span := Ada.Real_Time.Milliseconds(5); Worst_Case_Computation_Time : Ada.Real_Time.Time_Span := Ada.Real_Time.Milliseconds(0); -- Task Specific Variable Declarations Angle : Float; -- Summation Of Meassured Coordinates Sum_Accelerometer_Xvalues : Float := 0.0; Sum_Accelerometer_Yvalues : Float := 0.0; -- Average Meassured Value For Each Coordinate Avg_Accelerometer_Xvalue : Float := 0.0; Avg_Accelerometer_Yvalue : Float := 0.0; -- New Meassurement For Each Coordinate Acceleration_X : Float; Acceleration_Y : Float; -- Current Number Of Meassurements And Maximum Number Of Meassurements Count_Accelerometer_Reads : Natural := 0; Max_Accelerometer_Reads : Natural := 5; -- Indicates When Meassuring Is Done According To The Max Counts Done : Boolean; -- Exception variables Angle_Max : Float := 6.0; Angle_Min : Float := -6.0; Recoveryblock_Count : Integer := 0; begin Motor_Setup.Calibrate_Motors_If_Required; Epoch.Get_Start_Time(Start_Point); -- Define next time to run Next_Period := Start_Point + Offset; loop begin -- Wait for new period delay until Next_Period; Execution_Start := Ada.Real_Time.Clock; -- START OF EXECUTION Done := False; -- Define next time to read from sensor (jitter) Next_Reading := Next_Period; -- Loop over number of meassurements needed to find the average loop delay until Next_Reading; -- Count is zero when number of readings is equal to the value of max count Count_Accelerometer_Reads := (Count_Accelerometer_Reads + 1) mod Max_Accelerometer_Reads; -- Read from sensor Meassure_Acceleration.Retrieve_Acceleration(Acceleration_X, Acceleration_Y); -- Adde reading to the sum Sum_Accelerometer_Xvalues := Sum_Accelerometer_Xvalues + Acceleration_X; Sum_Accelerometer_Yvalues := Sum_Accelerometer_Yvalues + Acceleration_Y; -- Check when number of readings is sufficient if Count_Accelerometer_Reads = 0 then Done := True; -- Calculate the average values Avg_Accelerometer_Xvalue := Sum_Accelerometer_Xvalues / Float(Max_Accelerometer_Reads); Avg_Accelerometer_Yvalue := Sum_Accelerometer_Yvalues / Float(Max_Accelerometer_Reads); -- Calculate the angle Angle := Find_Angle(Avg_Accelerometer_Xvalue, Avg_Accelerometer_Yvalue); -- Store the angle in a shared protected object Accelerometer_SR.Set(Angle); -- Reset Sum_Accelerometer_Xvalues := 0.0; Sum_Accelerometer_Yvalues := 0.0; end if; -- Exit when we have found an average sensor value exit when Done; -- Define the next time to run (Period T) Next_Reading := Next_Reading + Read_Period; end loop; Next_Period := Next_Period + Period; -- END OF EXECUTION Execution_End := Ada.Real_Time.Clock; -- Calculation of Total Computation Time Total_Computation_Time := Execution_End - Execution_Start; -- Set a new worst-case if current execution time is the largest if Total_Computation_Time > Worst_Case_Computation_Time then Worst_Case_Computation_Time := Total_Computation_Time; end if; Ada.Text_IO.Put_Line("B" & Duration'Image(To_Duration(Worst_Case_Computation_Time))); -- Acceptance Test Acceptance_Test(Angle_Max, Angle_Min, Angle, Total_Computation_Time, Total_Computation_Time_Limit, Recoveryblock_Count); exception when Value_Exceed_Max => Recoveryblock_Count := Recoveryblock_Count + 1; Angle := 0.01; Accelerometer_SR.Set(Angle); Acceptance_Test(Angle_Max, Angle_Min, Angle, Total_Computation_Time, Total_Computation_Time_Limit, Recoveryblock_Count); when Value_Exceed_Min => Recoveryblock_Count := Recoveryblock_Count + 1; Angle := -0.01; Accelerometer_SR.Set(Angle); Acceptance_Test(Angle_Max, Angle_Min, Angle, Total_Computation_Time, Total_Computation_Time_Limit, Recoveryblock_Count); when Excecution_Time_Overun => Ada.Text_IO.Put_Line("Accelerometer read: Execution time error"); end; end loop; end Accelerometer_Reader; task body Cascade_Controller is -- Timing Constraints Offset : constant Ada.Real_Time.Time_Span := Ada.Real_Time.Milliseconds(0); Period : constant Ada.Real_Time.Time_Span := Ada.Real_Time.Milliseconds(20); Next_Period : Ada.Real_Time.Time; Start_Point : Ada.Real_Time.Time; -- Worst-Case Computation Time Analysis Execution_Start : Ada.Real_Time.Time; Execution_End : Ada.Real_Time.Time; Total_Computation_Time : Ada.Real_Time.Time_Span; Total_Computation_Time_Limit: Ada.Real_Time.Time_Span := Ada.Real_Time.Milliseconds(5); Worst_Case_Computation_Time : Ada.Real_Time.Time_Span := Ada.Real_Time.Milliseconds(0); -- Exception Detection Variables Actuator_Value_Max : Float := 2000.0; Actuator_Value_Min : Float := 1000.0; Recoveryblock_Count : Integer := 0; -- Task Specific Variable Declarations Current_Angle : Float; Current_Velocity : Float; Actuator_Value : RPM; Motor_To_Run : Motor_Direction; -- PID Variables Position_Reference : Constant Float := 0.0; Velocity_Reference : Float; Torque_Reference : Float; Position_Error : Float; Velocity_Error : Float; K_PP : Constant Float := 1.0; K_PV : Constant Float := 10.0; begin Motor_Setup.Calibrate_Motors_If_Required; Epoch.Get_Start_Time(Start_Point); -- Define next time to run Next_Period := Start_Point + Offset; loop begin delay until Next_Period; -- Wait for new period -- START OF EXECUTION Execution_Start := Ada.Real_Time.Clock; -- Get current angle from accelerometer Gyroscope_SR.Get(Current_Velocity); Accelerometer_SR.Get(Current_Angle); Position_Error := Position_Reference - Current_Angle; Position_Controller(K_PP, Position_Error, Velocity_Reference); -- Get current angle from gyroscope Velocity_Error := Velocity_Reference - Current_Velocity; Velocity_Controller(K_PV, Velocity_Error, Torque_Reference); Map_To_RPM(Torque_Reference, Actuator_Value); -- Decide which motor to be activated if Torque_Reference > 0.0 then Motor_To_Run := Right; else Motor_To_Run := Left; end if; -- Set RPM value to protected object Motor_AW.Set(Actuator_Value, Motor_To_Run); -- Define next time to run Next_Period := Next_Period + Period; -- END OF EXECUTION Execution_End := Ada.Real_Time.Clock; -- Calculation of Total Computation Time Total_Computation_Time := Execution_End - Execution_Start; -- Set a new worst-case if current execution time is the largest if Total_Computation_Time > Worst_Case_Computation_Time then Worst_Case_Computation_Time := Total_Computation_Time; end if; Ada.Text_IO.Put_Line("C" & Duration'Image(To_Duration(Worst_Case_Computation_Time))); -- Acceptance Test Acceptance_Test(Actuator_Value_Max, Actuator_Value_Min, Float(Actuator_Value), Total_Computation_Time, Total_Computation_Time_Limit, Recoveryblock_Count); exception when Value_Exceed_Max => Recoveryblock_Count := Recoveryblock_Count + 1; Actuator_Value := 2000; Motor_AW.Set(Actuator_Value, Motor_To_Run); Acceptance_Test(Actuator_Value_Max, Actuator_Value_Min, Float(Actuator_Value), Total_Computation_Time, Total_Computation_Time_Limit, Recoveryblock_Count); when Value_Exceed_Min => Recoveryblock_Count := Recoveryblock_Count + 1; Actuator_Value := 1000; Motor_AW.Set(Actuator_Value, Motor_To_Run); Acceptance_Test(Actuator_Value_Max, Actuator_Value_Min, Float(Actuator_Value), Total_Computation_Time, Total_Computation_Time_Limit, Recoveryblock_Count); when Excecution_Time_Overun => Ada.Text_IO.Put_Line("Cascade controller: Execution time error"); end; end loop; end Cascade_Controller; task body Actuator_Writer is -- Timing Constraints Offset : constant Ada.Real_Time.Time_Span := Ada.Real_Time.Milliseconds(0); Period : constant Ada.Real_Time.Time_Span := Ada.Real_Time.Milliseconds(20); Next_Period : Ada.Real_Time.Time; Start_Point : Ada.Real_Time.Time; -- We do not wish to write to the motor to early Min_Start_Time : Ada.Real_Time.Time_Span := Ada.Real_Time.Milliseconds(15); -- Worst-Case Computation Time Analysis Execution_Start : Ada.Real_Time.Time; Execution_End : Ada.Real_Time.Time; Total_Computation_Time : Ada.Real_Time.Time_Span; Worst_Case_Computation_Time : Ada.Real_Time.Time_Span := Ada.Real_Time.Milliseconds(0); -- Task Specific Variable Declarations Actuator_Value : RPM; Motor_To_Run : Motor_Direction; begin Motor_Setup.Calibrate_Motors_If_Required; Epoch.Get_Start_Time(Start_Point); -- Define next time to run Next_Period := Start_Point + Offset; loop -- Wait for new period delay until Next_Period + Min_Start_Time; -- START OF EXECUTION Execution_Start := Ada.Real_Time.Clock; Motor_AW.Get(Actuator_Value, Motor_To_Run); if Motor_To_Run = Right then Write(3,Actuator_Value); Set_Analog_Period_Us(20000); else Write(28,Actuator_Value); Set_Analog_Period_Us(20000); end if; Next_Period := Next_Period + Period; -- END OF EXECUTION Execution_End := Ada.Real_Time.Clock; -- Calculation of Total Computation Time Total_Computation_Time := Execution_End - Execution_Start; -- Set a new worst-case if current execution time is the largest if Total_Computation_Time > Worst_Case_Computation_Time then Worst_Case_Computation_Time := Total_Computation_Time; end if; Ada.Text_IO.Put_Line("D" & Duration'Image(To_Duration(Worst_Case_Computation_Time))); end loop; end Actuator_Writer; end Task_Implementations;
with Tkmrpc.Types; with Tkmrpc.Operations.Ike; package Tkmrpc.Response.Ike.Esa_Reset is Data_Size : constant := 0; Padding_Size : constant := Response.Body_Size - Data_Size; subtype Padding_Range is Natural range 1 .. Padding_Size; subtype Padding_Type is Types.Byte_Sequence (Padding_Range); type Response_Type is record Header : Response.Header_Type; Padding : Padding_Type; end record; for Response_Type use record Header at 0 range 0 .. (Response.Header_Size * 8) - 1; Padding at Response.Header_Size + Data_Size range 0 .. (Padding_Size * 8) - 1; end record; for Response_Type'Size use Response.Response_Size * 8; Null_Response : constant Response_Type := Response_Type' (Header => Response.Header_Type'(Operation => Operations.Ike.Esa_Reset, Result => Results.Invalid_Operation, Request_Id => 0), Padding => Padding_Type'(others => 0)); end Tkmrpc.Response.Ike.Esa_Reset;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- A D A . R E A L _ T I M E . D E L A Y S -- -- -- -- B o d y -- -- -- -- Copyright (C) 2001-2010, AdaCore -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNARL was developed by the GNARL team at Florida State University. -- -- Extensive contributions were provided by Ada Core Technologies, Inc. -- -- -- ------------------------------------------------------------------------------ with System.Task_Primitives.Operations; -- Used for Timed_Delay -- Self package body Ada.Real_Time.Delays is package STPO renames System.Task_Primitives.Operations; ----------------- -- Delay_Until -- ----------------- procedure Delay_Until (T : Time) is begin -- pragma Detect_Blocking is mandatory in this run time, so that -- Program_Error must be raised if this delay (potentially blocking -- operation) is called from a protected operation. if STPO.Self.Common.Protected_Action_Nesting > 0 then raise Program_Error; else STPO.Delay_Until (STPO.Time (T)); end if; end Delay_Until; ----------------- -- To_Duration -- ----------------- -- This function is not supposed to be used by the Ravenscar run time and -- it is not supposed to be with'ed by the user either (because it is an -- internal GNAT unit). It is kept here (returning a junk value) just for -- sharing the same package specification with the regular run time. function To_Duration (T : Time) return Duration is pragma Unreferenced (T); begin return 0.0; end To_Duration; end Ada.Real_Time.Delays;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Tools Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2010, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ package Parser_Generator is procedure Generate_Parser_Code; procedure Generate_Parser_Tables; end Parser_Generator;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . W C H _ W T S -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2021, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with System.WCh_Con; use System.WCh_Con; with System.WCh_Cnv; use System.WCh_Cnv; package body System.WCh_WtS is ----------------------- -- Local Subprograms -- ----------------------- procedure Store_UTF_32_Character (U : UTF_32_Code; S : out String; P : in out Integer; EM : WC_Encoding_Method); -- Stores the string representation of the wide or wide wide character -- whose code is given as U, starting at S (P + 1). P is incremented to -- point to the last character stored. Raises CE if character cannot be -- stored using the given encoding method. ---------------------------- -- Store_UTF_32_Character -- ---------------------------- procedure Store_UTF_32_Character (U : UTF_32_Code; S : out String; P : in out Integer; EM : WC_Encoding_Method) is procedure Out_Char (C : Character); pragma Inline (Out_Char); -- Procedure to increment P and store C at S (P) procedure Store_Chars is new UTF_32_To_Char_Sequence (Out_Char); -------------- -- Out_Char -- -------------- procedure Out_Char (C : Character) is begin P := P + 1; S (P) := C; end Out_Char; begin Store_Chars (U, EM); end Store_UTF_32_Character; --------------------------- -- Wide_String_To_String -- --------------------------- function Wide_String_To_String (S : Wide_String; EM : WC_Encoding_Method) return String is Max_Chars : constant Natural := WC_Longest_Sequences (EM); Result : String (S'First .. S'First + Max_Chars * S'Length); Result_Idx : Natural; begin Result_Idx := Result'First - 1; for S_Idx in S'Range loop Store_UTF_32_Character (U => Wide_Character'Pos (S (S_Idx)), S => Result, P => Result_Idx, EM => EM); end loop; return Result (Result'First .. Result_Idx); end Wide_String_To_String; -------------------------------- -- Wide_Wide_String_To_String -- -------------------------------- function Wide_Wide_String_To_String (S : Wide_Wide_String; EM : WC_Encoding_Method) return String is Max_Chars : constant Natural := WC_Longest_Sequences (EM); Result : String (S'First .. S'First + Max_Chars * S'Length); Result_Idx : Natural; begin Result_Idx := Result'First - 1; for S_Idx in S'Range loop Store_UTF_32_Character (U => Wide_Wide_Character'Pos (S (S_Idx)), S => Result, P => Result_Idx, EM => EM); end loop; return Result (Result'First .. Result_Idx); end Wide_Wide_String_To_String; end System.WCh_WtS;
-- This spec has been automatically generated from STM32WL5x_CM4.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.PKA is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR_MODE_Field is HAL.UInt6; -- control register type CR_Register is record -- PKA enable. EN : Boolean := False; -- start the operation START : Boolean := False; -- unspecified Reserved_2_7 : HAL.UInt6 := 16#0#; -- PKA operation code MODE : CR_MODE_Field := 16#0#; -- unspecified Reserved_14_16 : HAL.UInt3 := 16#0#; -- PROCENDIE PROCENDIE : Boolean := False; -- unspecified Reserved_18_18 : HAL.Bit := 16#0#; -- RAM error interrupt enable RAMERRIE : Boolean := False; -- Address error interrupt enable ADDRERRIE : Boolean := False; -- unspecified Reserved_21_31 : HAL.UInt11 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CR_Register use record EN at 0 range 0 .. 0; START at 0 range 1 .. 1; Reserved_2_7 at 0 range 2 .. 7; MODE at 0 range 8 .. 13; Reserved_14_16 at 0 range 14 .. 16; PROCENDIE at 0 range 17 .. 17; Reserved_18_18 at 0 range 18 .. 18; RAMERRIE at 0 range 19 .. 19; ADDRERRIE at 0 range 20 .. 20; Reserved_21_31 at 0 range 21 .. 31; end record; -- status register type SR_Register is record -- unspecified Reserved_0_15 : HAL.UInt16; -- Read-only. PKA operation is in progressThis bit is set to 1 whenever -- START bit in the PKA_CR is set. It is automatically cleared when the -- computation is complete, meaning that PKA RAM can be safely accessed -- and a new operation can be started. BUSY : Boolean; -- Read-only. PKA End of Operation flag PROCENDF : Boolean; -- unspecified Reserved_18_18 : HAL.Bit; -- Read-only. PKA RAM error flag RAMERRF : Boolean; -- Read-only. Address error flag ADDRERRF : Boolean; -- unspecified Reserved_21_31 : HAL.UInt11; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for SR_Register use record Reserved_0_15 at 0 range 0 .. 15; BUSY at 0 range 16 .. 16; PROCENDF at 0 range 17 .. 17; Reserved_18_18 at 0 range 18 .. 18; RAMERRF at 0 range 19 .. 19; ADDRERRF at 0 range 20 .. 20; Reserved_21_31 at 0 range 21 .. 31; end record; -- clear flag register type CLRFR_Register is record -- unspecified Reserved_0_16 : HAL.UInt17 := 16#0#; -- Write-only. Clear PKA End of Operation flag PROCENDFC : Boolean := False; -- unspecified Reserved_18_18 : HAL.Bit := 16#0#; -- Write-only. Clear PKA RAM error flag RAMERRFC : Boolean := False; -- Write-only. Clear Address error flag ADDRERRFC : Boolean := False; -- unspecified Reserved_21_31 : HAL.UInt11 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CLRFR_Register use record Reserved_0_16 at 0 range 0 .. 16; PROCENDFC at 0 range 17 .. 17; Reserved_18_18 at 0 range 18 .. 18; RAMERRFC at 0 range 19 .. 19; ADDRERRFC at 0 range 20 .. 20; Reserved_21_31 at 0 range 21 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- Public key accelerator type PKA_Peripheral is record -- control register CR : aliased CR_Register; -- status register SR : aliased SR_Register; -- clear flag register CLRFR : aliased CLRFR_Register; end record with Volatile; for PKA_Peripheral use record CR at 16#0# range 0 .. 31; SR at 16#4# range 0 .. 31; CLRFR at 16#8# range 0 .. 31; end record; -- Public key accelerator PKA_Periph : aliased PKA_Peripheral with Import, Address => PKA_Base; end STM32_SVD.PKA;
-- FILE: oedipus-complex_text_io.ads LICENSE: MIT © 2021 Mae Morella with Oedipus, Ada.Text_IO; use Oedipus, Ada.Text_IO; package Oedipus.Complex_Text_IO is -- Overloads the Put function, for printing Complex numbers. Same argument -- scheme as Ada.Float_Text_IO. Default_Aft : Field := 1; Default_Exp : Field := 0; Default_Fore : Field := 0; procedure Put (Item : in Complex; Fore : in Field := Default_Fore; Aft : in Field := Default_Aft; Exp : in Field := Default_Exp); procedure Get (Item : out Complex); end Oedipus.Complex_Text_IO;
with Ada.Real_Time; with Ada.Finalization; with ACO.Messages; with ACO.Configuration; with ACO.Events; with ACO.Drivers; private with Ada.Synchronous_Task_Control; private with ACO.Messages.Buffer; package ACO.CANopen is type Handler_Base is abstract new Ada.Finalization.Limited_Controlled with record Events : ACO.Events.Handler_Event_Manager; end record; type Handler (Driver : not null access ACO.Drivers.Driver'Class) is new Handler_Base with private; procedure Start (This : in out Handler); procedure Put (This : in out Handler; Msg : in ACO.Messages.Message); procedure Periodic_Actions (This : in out Handler; T_Now : in Ada.Real_Time.Time); function Current_Time (This : Handler) return Ada.Real_Time.Time; task type Periodic_Task (This : not null access Handler; Period_Ms : Positive) with Priority => ACO.Configuration.Periodic_Task_Priority; private type Handler (Driver : not null access ACO.Drivers.Driver'Class) is new Handler_Base with record Messages : ACO.Messages.Buffer.Protected_Queue (Ceiling => ACO.Configuration.Messages_Buffer_Ceiling); Suspension : Ada.Synchronous_Task_Control.Suspension_Object; end record; end ACO.CANopen;
with impact.d3.Shape.convex; with impact.d3.Dispatcher; with impact.d3.collision.Broadphase; with impact.d3.collision.Configuration; with impact.d3.Object; with ada.containers.Vectors; with impact.d3.collision.overlapped_pair_Callback.cached; with impact.d3.collision.Proxy; with impact.d3.manifold_Point; with impact.d3.Shape; package impact.d3.Space -- -- CollisionWorld is interface and container for the collision detection -- -- -- Bullet Documentation -- -- Introduction -- Bullet Collision Detection & Physics SDK -- -- Bullet is a Collision Detection and Rigid Body Dynamics Library. -- -- Installation -- -- Step 1: Download -- You can download the Bullet Physics Library from the Google Code repository: http://code.google.com/p/bullet/downloads/list -- -- Step 2: Building -- Bullet main build system for all platforms is cmake, you can download http://www.cmake.org -- cmake can autogenerate projectfiles for Microsoft Visual Studio, Apple Xcode, KDevelop and Unix Makefiles. -- The easiest is to run the CMake cmake-gui graphical user interface and choose the options and generate projectfiles. -- You can also use cmake in the command-line. Here are some examples for various platforms: -- cmake . -G "Visual Studio 9 2008" -- cmake . -G Xcode -- cmake . -G "Unix Makefiles" -- Although cmake is recommended, you can also use autotools for UNIX: ./autogen.sh ./configure to create a Makefile and then run make. -- -- Step 3: Testing demos -- Try to run and experiment with BasicDemo executable as a starting point. -- Bullet can be used in several ways, as Full Rigid Body simulation, as Collision Detector Library or Low Level / Snippets like the GJK Closest Point calculation. -- The Dependencies can be seen in this documentation under Directories -- -- Step 4: Integrating in your application, full Rigid Body and Soft Body simulation -- Check out BasicDemo how to create a impact.d3.Space.dynamic, impact.d3.Object.rigid and impact.d3.Shape, Stepping the simulation and synchronizing your graphics object transform. -- Check out SoftDemo how to use soft body dynamics, using btSoftRigidDynamicsWorld. -- -- Step 5 : Integrate the Collision Detection Library (without Dynamics and other Extras) -- Bullet Collision Detection can also be used without the Dynamics/Extras. -- Check out impact.d3.Space and impact.d3.Object, and the CollisionInterfaceDemo. -- -- Step 6 : Use Snippets like the GJK Closest Point calculation. -- Bullet has been designed in a modular way keeping dependencies to a minimum. The ConvexHullDistance demo demonstrates direct use of impact.d3.collision.Detector.discrete.gjk_pair. -- is use Math; type Item is tagged private; type View is access all Item'Class; --- Constants -- DISABLE_DBVT_COMPOUNDSHAPE_RAYCAST_ACCELERATION : constant Boolean := False; --- Containers -- -- type impact.d3.Object_view is access all impact.d3.Object.item'Class; -- -- package impact.d3.Object_Vectors is new ada.containers.Vectors (Positive, impact.d3.Object_view); -- subtype impact.d3.Object_Vector is impact.d3.Object_Vectors.Vector; package real_Vectors is new ada.containers.Vectors (Positive, math.Real); subtype real_Vector is real_Vectors.Vector; use type math.Vector_3; package vector_3_Vectors is new ada.containers.Vectors (Positive, math.Vector_3); subtype vector_3_Vector is vector_3_Vectors.Vector; --- Forge -- -- package Forge -- is -- -- function to_impact.d3.Space (dispatcher : access impact.d3.Dispatcher.item'Class; -- broadphasePairCache : access impact.d3.collision.Broadphase.item'Class; -- collisionConfiguration : access impact.d3.collision.Configuration.item'Class) return Item'Class; -- -- -- -- This constructor doesn't own the dispatcher and paircache/broadphase -- -- -- procedure define (Self : out Item; dispatcher : access impact.d3.Dispatcher.item'Class; -- broadphasePairCache : access impact.d3.collision.Broadphase.item'Class; -- collisionConfiguration : access impact.d3.collision.Configuration.item'Class); -- end Forge; procedure destroy (Self : in out Item); --- Attributes -- procedure setBroadphase (Self : in out Item; pairCache : access impact.d3.collision.Broadphase.item'Class); function getBroadphase (Self : in Item) return access impact.d3.collision.Broadphase.item'Class; -- void setBroadphase(impact.d3.collision.Broadphase* pairCache) -- { -- m_broadphasePairCache = pairCache; -- } -- impact.d3.collision.Broadphase* getBroadphase() -- { -- return m_broadphasePairCache; -- } function getPairCache (Self : in Item) return access impact.d3.collision.overlapped_pair_Callback.cached.item'Class; -- impact.d3.collision.overlapped_pair_Callback.cached* getPairCache() -- { -- return m_broadphasePairCache->getOverlappingPairCache(); -- } -- function getDispatcher (Self : in Item) return access impact.d3.Dispatcher.item'Class; -- impact.d3.Dispatcher* getDispatcher() -- { -- return m_dispatcher1; -- } -- procedure updateSingleAabb (Self : in out Item; colObj : access impact.d3.Object.item'Class); procedure updateAabbs (Self : in out Item); -- LocalShapeInfo gives extra information for complex shapes -- Currently, only impact.d3.Shape.concave.triangle_mesh is available, so it just contains triangleIndex and subpart -- type LocalShapeInfo is record m_shapePart, m_triangleIndex : Integer; end record; type LocalRayResult is record m_collisionObject : access impact.d3.Object.item'Class; m_localShapeInfo : access LocalShapeInfo; m_hitNormalLocal : math.Vector_3; m_hitFraction : math.Real; end record; function to_LocalRayResult (collisionObject : access impact.d3.Object.item'Class; localShapeInfo : access impact.d3.Space.LocalShapeInfo; hitNormalLocal : in math.Vector_3; hitFraction : in math.Real) return LocalRayResult; -- struct LocalRayResult -- { -- LocalRayResult(impact.d3.Object* collisionObject, -- LocalShapeInfo* localShapeInfo, -- const impact.d3.Vector& hitNormalLocal, -- impact.d3.Scalar hitFraction) -- :m_collisionObject(collisionObject), -- m_localShapeInfo(localShapeInfo), -- m_hitNormalLocal(hitNormalLocal), -- m_hitFraction(hitFraction) -- { -- } -- }; -- RayResultCallback is used to report new raycast results -- type RayResultCallback is abstract tagged record m_closestHitFraction : math.Real := 1.0; m_collisionObject : access impact.d3.Object.item'Class; m_collisionFilterGroup : impact.d3.collision.Proxy.CollisionFilterGroups := impact.d3.collision.Proxy.DefaultFilter; m_collisionFilterMask : impact.d3.collision.Proxy.CollisionFilterGroups := impact.d3.collision.Proxy.AllFilter; m_flags : Flags := 0; -- @BP Mod - Custom flags, currently used to enable backface culling on tri-meshes, see impact.d3.triangle_Callback.raycast end record; type RayResultCallback_view is access all RayResultCallback'Class; procedure destruct (Self : in out RayResultCallback) is null; function hasHit (Self : in RayResultCallback) return Boolean; -- bool hasHit() const -- { -- return (m_collisionObject != 0); -- } function needsCollision (Self : in RayResultCallback; proxy0 : access impact.d3.collision.Proxy.item'Class) return Boolean; -- virtual bool needsCollision(impact.d3.collision.Proxy* proxy0) const -- { -- bool collides = (proxy0->m_collisionFilterGroup & m_collisionFilterMask) != 0; -- collides = collides && (m_collisionFilterGroup & proxy0->m_collisionFilterMask); -- return collides; -- } function addSingleResult (Self : access RayResultCallback; rayResult : access LocalRayResult; normalInWorldSpace : in Boolean ) return math.Real is abstract; type ClosestRayResultCallback is new RayResultCallback with record m_rayFromWorld, -- used to calculate hitPointWorld from hitFraction m_rayToWorld, m_hitNormalWorld, m_hitPointWorld : math.Vector_3; end record; function to_ClosestRayResultCallback (rayFromWorld, rayToWorld : in math.Vector_3) return ClosestRayResultCallback; -- ClosestRayResultCallback(const impact.d3.Vector& rayFromWorld,const impact.d3.Vector& rayToWorld) -- :m_rayFromWorld(rayFromWorld), -- m_rayToWorld(rayToWorld) -- { -- } overriding function addSingleResult (Self : access ClosestRayResultCallback; rayResult : access LocalRayResult; normalInWorldSpace : in Boolean ) return math.Real; -- virtual impact.d3.Scalar addSingleResult(LocalRayResult& rayResult,bool normalInWorldSpace) -- { -- //caller already does the filter on the m_closestHitFraction -- btAssert(rayResult.m_hitFraction <= m_closestHitFraction); -- -- m_closestHitFraction = rayResult.m_hitFraction; -- m_collisionObject = rayResult.m_collisionObject; -- if (normalInWorldSpace) -- { -- m_hitNormalWorld = rayResult.m_hitNormalLocal; -- } else -- { -- ///need to transform normal into worldspace -- m_hitNormalWorld = m_collisionObject->getWorldTransform().getBasis()*rayResult.m_hitNormalLocal; -- } -- m_hitPointWorld.setInterpolate3(m_rayFromWorld,m_rayToWorld,rayResult.m_hitFraction); -- return rayResult.m_hitFraction; -- } type AllHitsRayResultCallback is new RayResultCallback with record m_collisionObjects : impact.d3.Object.Vector; m_rayFromWorld, -- used to calculate hitPointWorld from hitFraction m_rayToWorld : math.Vector_3; m_hitNormalWorld : vector_3_Vector; m_hitPointWorld : vector_3_Vector; m_hitFractions : real_Vector; end record; function to_AllHitsRayResultCallback (rayFromWorld, rayToWorld : in math.Vector_3) return AllHitsRayResultCallback; -- AllHitsRayResultCallback(const impact.d3.Vector& rayFromWorld,const impact.d3.Vector& rayToWorld) -- :m_rayFromWorld(rayFromWorld), -- m_rayToWorld(rayToWorld) -- { -- } overriding function addSingleResult (Self : access AllHitsRayResultCallback; rayResult : access LocalRayResult; normalInWorldSpace : in Boolean ) return math.Real; -- virtual impact.d3.Scalar addSingleResult(LocalRayResult& rayResult,bool normalInWorldSpace) -- { -- m_collisionObject = rayResult.m_collisionObject; -- m_collisionObjects.push_back(rayResult.m_collisionObject); -- impact.d3.Vector hitNormalWorld; -- if (normalInWorldSpace) -- { -- hitNormalWorld = rayResult.m_hitNormalLocal; -- } else -- { -- ///need to transform normal into worldspace -- hitNormalWorld = m_collisionObject->getWorldTransform().getBasis()*rayResult.m_hitNormalLocal; -- } -- m_hitNormalWorld.push_back(hitNormalWorld); -- impact.d3.Vector hitPointWorld; -- hitPointWorld.setInterpolate3(m_rayFromWorld,m_rayToWorld,rayResult.m_hitFraction); -- m_hitPointWorld.push_back(hitPointWorld); -- m_hitFractions.push_back(rayResult.m_hitFraction); -- return m_closestHitFraction; -- } type LocalConvexResult is record m_hitCollisionObject : access impact.d3.Object.item; m_localShapeInfo : access LocalShapeInfo; m_hitNormalLocal, m_hitPointLocal : math.Vector_3; m_hitFraction : math.Real; end record; function to_LocalConvexResult (hitCollisionObject : access impact.d3.Object.item; localShapeInfo : access impact.d3.Space.LocalShapeInfo; hitNormalLocal, hitPointLocal : in math.Vector_3; hitFraction : in math.Real) return LocalConvexResult; -- LocalConvexResult(impact.d3.Object* hitCollisionObject, -- LocalShapeInfo* localShapeInfo, -- const impact.d3.Vector& hitNormalLocal, -- const impact.d3.Vector& hitPointLocal, -- impact.d3.Scalar hitFraction -- ) -- :m_hitCollisionObject(hitCollisionObject), -- m_localShapeInfo(localShapeInfo), -- m_hitNormalLocal(hitNormalLocal), -- m_hitPointLocal(hitPointLocal), -- m_hitFraction(hitFraction) -- { -- } -- ConvexResultCallback is used to report new raycast results -- type ConvexResultCallback is abstract tagged record m_closestHitFraction : math.Real := 1.0; m_collisionFilterGroup : impact.d3.collision.Proxy.CollisionFilterGroups := impact.d3.collision.Proxy.DefaultFilter; m_collisionFilterMask : impact.d3.collision.Proxy.CollisionFilterGroups := impact.d3.collision.Proxy.AllFilter; end record; procedure destruct (Self : in out ConvexResultCallback) is null; function hasHit (Self : in ConvexResultCallback) return Boolean; -- bool hasHit() const -- { -- return (m_closestHitFraction < impact.d3.Scalar(1.)); -- } function needsCollision (Self : in ConvexResultCallback; proxy0 : access impact.d3.collision.Proxy.item'Class) return Boolean; -- virtual bool needsCollision(impact.d3.collision.Proxy* proxy0) const -- { -- bool collides = (proxy0->m_collisionFilterGroup & m_collisionFilterMask) != 0; -- collides = collides && (m_collisionFilterGroup & proxy0->m_collisionFilterMask); -- return collides; -- } function addSingleResult (Self : access ConvexResultCallback; convexResult : access LocalConvexResult; normalInWorldSpace : in Boolean ) return math.Real is abstract; type ClosestConvexResultCallback is new ConvexResultCallback with record m_convexFromWorld, -- used to calculate hitPointWorld from hitFraction m_convexToWorld, m_hitNormalWorld, m_hitPointWorld : math.Vector_3; m_hitCollisionObject : access impact.d3.Object.item; end record; package Forge is function to_Space (dispatcher : access impact.d3.Dispatcher.item'Class; broadphasePairCache : access impact.d3.collision.Broadphase.item'Class; collisionConfiguration : access impact.d3.collision.Configuration.item'Class) return Item'Class; -- -- This constructor doesn't own the dispatcher and paircache/broadphase procedure define (Self : out Item; dispatcher : access impact.d3.Dispatcher.item'Class; broadphasePairCache : access impact.d3.collision.Broadphase.item'Class; collisionConfiguration : access impact.d3.collision.Configuration.item'Class); function to_ClosestConvexResultCallback (convexFromWorld, convexToWorld : in math.Vector_3) return ClosestConvexResultCallback; -- ClosestConvexResultCallback(const impact.d3.Vector& convexFromWorld,const impact.d3.Vector& convexToWorld) -- :m_convexFromWorld(convexFromWorld), -- m_convexToWorld(convexToWorld), -- m_hitCollisionObject(0) -- { -- } end Forge; overriding function addSingleResult (Self : access ClosestConvexResultCallback; convexResult : access LocalConvexResult; normalInWorldSpace : in Boolean ) return math.Real; -- virtual impact.d3.Scalar addSingleResult(LocalConvexResult& convexResult,bool normalInWorldSpace) -- { -- //caller already does the filter on the m_closestHitFraction -- btAssert(convexResult.m_hitFraction <= m_closestHitFraction); -- -- m_closestHitFraction = convexResult.m_hitFraction; -- m_hitCollisionObject = convexResult.m_hitCollisionObject; -- if (normalInWorldSpace) -- { -- m_hitNormalWorld = convexResult.m_hitNormalLocal; -- } else -- { -- ///need to transform normal into worldspace -- m_hitNormalWorld = m_hitCollisionObject->getWorldTransform().getBasis()*convexResult.m_hitNormalLocal; -- } -- m_hitPointWorld = convexResult.m_hitPointLocal; -- return convexResult.m_hitFraction; -- } -- ContactResultCallback is used to report contact points -- type ContactResultCallback is abstract tagged record m_collisionFilterGroup : impact.d3.collision.Proxy.CollisionFilterGroups := impact.d3.collision.Proxy.DefaultFilter; m_collisionFilterMask : impact.d3.collision.Proxy.CollisionFilterGroups := impact.d3.collision.Proxy.AllFilter; end record; procedure destruct (Self : in out ContactResultCallback) is null; function needsCollision (Self : in ContactResultCallback; proxy0 : access impact.d3.collision.Proxy.item) return Boolean; -- virtual bool needsCollision(impact.d3.collision.Proxy* proxy0) const -- { -- bool collides = (proxy0->m_collisionFilterGroup & m_collisionFilterMask) != 0; -- collides = collides && (m_collisionFilterGroup & proxy0->m_collisionFilterMask); -- return collides; -- } function addSingleResult (Self : access ContactResultCallback; cp : access impact.d3.manifold_Point.item; colObj0 : in impact.d3.Object.item'Class; partId0 : in Integer; index0 : in Integer; colObj1 : in impact.d3.Object.item'Class; partId1 : in Integer; index1 : in Integer) return math.Real is abstract; function getNumCollisionObjects (Self : in Item) return Natural; -- int getNumCollisionObjects() const -- { -- return int(m_collisionObjects.size()); -- } -- rayTest performs a raycast on all objects in the impact.d3.Space, and calls the resultCallback -- This allows for several queries: first hit, all hits, any hit, dependent on the value returned by the callback. -- procedure rayTest (Self : access Item; rayFromWorld, rayToWorld : in math.Vector_3; resultCallback : access RayResultCallback'Class); -- convexTest performs a swept convex cast on all objects in the impact.d3.Space, and calls the resultCallback -- This allows for several queries: first hit, all hits, any hit, dependent on the value return by the callback. -- procedure convexSweepTest (Self : in Item; castShape : in impact.d3.Shape.convex.item'Class; From, To : in math.Transform_3d; resultCallback : access ConvexResultCallback'Class; allowedCcdPenetration : in math.Real := 0.0); -- contactTest performs a discrete collision test between colObj against all objects in the impact.d3.Space, and calls the resultCallback. -- it reports one or more contact points for every overlapping object (including the one with deepest penetration) -- procedure contactTest (Self : in Item; colObj : in impact.d3.Object.item'Class; resultCallback : access ContactResultCallback 'Class); -- contactPairTest performs a discrete collision test between two collision objects and calls the resultCallback if overlap if detected. -- it reports one or more contact points (including the one with deepest penetration) -- procedure contactPairTest (Self : in Item; colObjA, colObjB : in impact.d3.Object.item'Class; resultCallback : access ContactResultCallback 'Class); -- rayTestSingle performs a raycast call and calls the resultCallback. It is used internally by rayTest. -- In a future implementation, we consider moving the ray test as a virtual method in impact.d3.Shape. -- This allows more customization. -- procedure rayTestSingle (rayFromTrans, rayToTrans : access math.Transform_3d; collisionObject : access impact.d3.Object.item'Class; collisionShape : access impact.d3.Shape.item'Class; colObjWorldTransform : access math.Transform_3d; resultCallback : access RayResultCallback'Class); -- objectQuerySingle performs a collision detection query and calls the resultCallback. It is used internally by rayTest. -- procedure objectQuerySingle (castShape : in impact.d3.Shape.convex.item'Class; rayFromTrans, rayToTrans : in math.Transform_3d; collisionObject : access impact.d3.Object.item'Class; collisionShape : in impact.d3.Shape.item'Class; colObjWorldTransform : in math.Transform_3d; resultCallback : access ConvexResultCallback'Class; allowedPenetration : in math.Real); procedure addCollisionObject (Self : in out Item; collisionObject : access impact.d3.Object.item'Class; collisionFilterGroup : impact.d3.collision.Proxy.CollisionFilterGroups := impact.d3.collision.Proxy.DefaultFilter; collisionFilterMask : impact.d3.collision.Proxy.CollisionFilterGroups := impact.d3.collision.Proxy.AllFilter); function getCollisionObjectArray (Self : access Item) return access impact.d3.Object.Vector; -- impact.d3.ObjectArray& getCollisionObjectArray() -- { -- return m_collisionObjects; -- } procedure removeCollisionObject (Self : in out Item; collisionObject : access impact.d3.Object.item'Class); procedure performDiscreteCollisionDetection (Self : in out Item); function getDispatchInfo (Self : access Item) return access impact.d3.Dispatcher.DispatcherInfo; -- impact.d3.DispatcherInfo& getDispatchInfo() -- { -- return m_dispatchInfo; -- } function getForceUpdateAllAabbs (Self : in Item) return Boolean; -- bool getForceUpdateAllAabbs() const -- { -- return m_forceUpdateAllAabbs; -- } procedure setForceUpdateAllAabbs (Self : in out Item; forceUpdateAllAabbs : in Boolean); -- void setForceUpdateAllAabbs( bool forceUpdateAllAabbs) -- { -- m_forceUpdateAllAabbs = forceUpdateAllAabbs; -- } --- 'Protected' functions -- function get_m_collisionObjects (Self : access Item) return access impact.d3.Object.Vector; private type Item is tagged record m_collisionObjects : aliased impact.d3.Object.Vector; m_dispatcher1 : access impact.d3.Dispatcher.item'Class; m_dispatchInfo : aliased impact.d3.Dispatcher.DispatcherInfo; -- btStackAlloc* m_stackAlloc; m_broadphasePairCache : access impact.d3.collision.Broadphase.item'Class; -- m_forceUpdateAllAabbs can be set to false as an optimization to only update active object AABBs -- it is true by default, because it is error-prone (setting the position of static objects wouldn't update their AABB) -- m_forceUpdateAllAabbs : Boolean; end record; end impact.d3.Space;
-- Copyright 2021 Jeff Foley. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. local url = require("url") name = "Searx" type = "scrape" function start() set_rate_limit(4) math.randomseed(os.time()) end function vertical(ctx, domain) -- Qualified best Searx instances local instances = { "https://anon.sx", "https://searx.info", "https://searx.ru", "https://searx.run", "https://searx.sk", "https://xeek.com", } -- Randomly choose one instance for scraping local host = instances[math.random(1, 6)] .. "/search" for i=1,15 do local query = "site:" .. domain .. " -www" local params = { ['q']=query, ['pageno']=i, ['category_general']="1", ['time_range']="None", ['language']="en-US", } local ok = scrape(ctx, { ['url']=host, method="POST", data=url.build_query_string(params), headers={['Content-Type']="application/x-www-form-urlencoded"}, }) if not ok then break end end end
----------------------------------------------------------------------- -- servlet-servlets -- Servlet.Core -- Copyright (C) 2010, 2011, 2012, 2013, 2015, 2017, 2018, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with System.Address_Image; with Ada.Unchecked_Deallocation; with Servlet.Filters; with Servlet.Streams; with Servlet.Requests.Tools; with Servlet.Routes.Servlets; with EL.Objects; with EL.Contexts.Default; with GNAT.Traceback.Symbolic; with Util.Strings; with Util.Strings.Maps; with Util.Files; with Util.Log.Loggers; -- The <b>Servlet.Core</b> package implements a subset of the -- Java Servlet Specification adapted for the Ada language. -- -- The rationale for this implementation is to provide a set of -- interfaces and ways of developing a Web application which -- benefit from the architecture expertise defined in Java applications. -- -- The <b>Servlet.Core</b>, <b>Servlet.Requests</b>, <b>Servlet.Responses</b> -- and <b>Servlet.Sessions</b> packages are independent of the web server -- which will be used (such as <b>AWS</b>, <b>Apache</b> or <b>Lighthttpd</b>). -- package body Servlet.Core is -- The logger Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("Servlet.Core"); No_Time : constant Ada.Calendar.Time := Ada.Calendar.Time_Of (Year => 1901, Month => 1, Day => 1); -- ------------------------------ -- Get the filter name. -- ------------------------------ function Get_Filter_Name (Config : in Filter_Config) return String is begin return To_String (Config.Name); end Get_Filter_Name; -- ------------------------------ -- Returns a String containing the value of the named context-wide initialization -- parameter, or the default value if the parameter does not exist. -- -- The filter parameter name is automatically prefixed by the filter name followed by '.'. -- ------------------------------ function Get_Init_Parameter (Config : in Filter_Config; Name : in String; Default : in String := "") return String is begin return Config.Context.all.Get_Init_Parameter (To_String (Config.Name) & "." & Name, Default); end Get_Init_Parameter; function Get_Init_Parameter (Config : in Filter_Config; Name : in String; Default : in String := "") return Ada.Strings.Unbounded.Unbounded_String is begin return Config.Context.all.Get_Init_Parameter (To_String (Config.Name) & "." & Name, Default); end Get_Init_Parameter; -- ------------------------------ -- Get the servlet context associated with the filter config. -- ------------------------------ function Get_Servlet_Context (Config : in Filter_Config) return Servlet_Registry_Access is begin return Config.Context; end Get_Servlet_Context; -- ------------------------------ -- Get the servlet name. -- ------------------------------ function Get_Name (Server : in Servlet) return String is begin return To_String (Server.Name); end Get_Name; -- ------------------------------ -- Get the servlet context associated with this servlet. -- ------------------------------ function Get_Servlet_Context (Server : in Servlet) return Servlet_Registry_Access is begin return Server.Context; end Get_Servlet_Context; -- ------------------------------ -- Called by the servlet container to indicate to a servlet that the servlet -- is being placed into service. -- ------------------------------ procedure Initialize (Server : in out Servlet; Context : in Servlet_Registry'Class) is begin null; end Initialize; -- ------------------------------ -- Receives standard HTTP requests from the public service method and dispatches -- them to the Do_XXX methods defined in this class. This method is an HTTP-specific -- version of the Servlet.service(Request, Response) method. There's no need -- to override this method. -- ------------------------------ procedure Service (Server : in Servlet; Request : in out Requests.Request'Class; Response : in out Responses.Response'Class) is Method : constant String := Request.Get_Method; begin if Method = "GET" then declare Last_Mod : constant Ada.Calendar.Time := Servlet'Class (Server).Get_Last_Modified (Request); pragma Unreferenced (Last_Mod); begin Servlet'Class (Server).Do_Get (Request, Response); end; elsif Method = "POST" then Servlet'Class (Server).Do_Post (Request, Response); elsif Method = "PUT" then Servlet'Class (Server).Do_Put (Request, Response); elsif Method = "DELETE" then Servlet'Class (Server).Do_Delete (Request, Response); elsif Method = "HEAD" then Servlet'Class (Server).Do_Head (Request, Response); elsif Method = "OPTIONS" then Servlet'Class (Server).Do_Options (Request, Response); elsif Method = "TRACE" then Servlet'Class (Server).Do_Trace (Request, Response); elsif Method = "PATCH" then Servlet'Class (Server).Do_Patch (Request, Response); else Response.Send_Error (Responses.SC_NOT_IMPLEMENTED); end if; end Service; -- ------------------------------ -- Returns the time the Request object was last modified, in milliseconds since -- midnight January 1, 1970 GMT. If the time is unknown, this method returns -- a negative number (the default). -- -- Servlets that support HTTP GET requests and can quickly determine their -- last modification time should override this method. This makes browser and -- proxy caches work more effectively, reducing the load on server and network -- resources. -- ------------------------------ function Get_Last_Modified (Server : in Servlet; Request : in Requests.Request'Class) return Ada.Calendar.Time is pragma Unreferenced (Server, Request); begin return No_Time; end Get_Last_Modified; -- ------------------------------ -- Called by the server (via the service method) to allow a servlet to handle -- a GET request. -- -- Overriding this method to support a GET request also automatically supports -- an HTTP HEAD request. A HEAD request is a GET request that returns no body -- in the response, only the request header fields. -- -- When overriding this method, read the request data, write the response headers, -- get the response's writer or output stream object, and finally, write the -- response data. It's best to include content type and encoding. -- When using a PrintWriter object to return the response, set the content type -- before accessing the PrintWriter object. -- -- The servlet container must write the headers before committing the response, -- because in HTTP the headers must be sent before the response body. -- -- Where possible, set the Content-Length header (with the -- Response.Set_Content_Length method), to allow the servlet container -- to use a persistent connection to return its response to the client, -- improving performance. The content length is automatically set if the entire -- response fits inside the response buffer. -- -- When using HTTP 1.1 chunked encoding (which means that the response has a -- Transfer-Encoding header), do not set the Content-Length header. -- -- The GET method should be safe, that is, without any side effects for which -- users are held responsible. For example, most form queries have no side effects. -- If a client request is intended to change stored data, the request should use -- some other HTTP method. -- -- The GET method should also be idempotent, meaning that it can be safely repeated. -- Sometimes making a method safe also makes it idempotent. For example, repeating -- queries is both safe and idempotent, but buying a product online or modifying -- data is neither safe nor idempotent. -- -- If the request is incorrectly formatted, Do_Get returns an HTTP "Bad Request" -- ------------------------------ procedure Do_Get (Server : in Servlet; Request : in out Requests.Request'Class; Response : in out Responses.Response'Class) is pragma Unreferenced (Server, Request); begin Response.Send_Error (Responses.SC_METHOD_NOT_ALLOWED); end Do_Get; -- ------------------------------ -- Receives an HTTP HEAD request from the protected service method and handles -- the request. The client sends a HEAD request when it wants to see only the -- headers of a response, such as Content-Type or Content-Length. The HTTP HEAD -- method counts the output bytes in the response to set the Content-Length header -- accurately. -- -- If you override this method, you can avoid computing the response body and just -- set the response headers directly to improve performance. Make sure that the -- Do_Head method you write is both safe and idempotent (that is, protects itself -- from being called multiple times for one HTTP HEAD request). -- -- If the HTTP HEAD request is incorrectly formatted, doHead returns an HTTP -- "Bad Request" message. -- ------------------------------ procedure Do_Head (Server : in Servlet; Request : in out Requests.Request'Class; Response : in out Responses.Response'Class) is pragma Unreferenced (Server, Request); begin null; end Do_Head; -- ------------------------------ -- Called by the server (via the service method) to allow a servlet to handle -- a POST request. The HTTP POST method allows the client to send data of unlimited -- length to the Web server a single time and is useful when posting information -- such as credit card numbers. -- -- When overriding this method, read the request data, write the response headers, -- get the response's writer or output stream object, and finally, write the -- response data. It's best to include content type and encoding. When using -- a PrintWriter object to return the response, set the content type before -- accessing the PrintWriter object. -- -- The servlet container must write the headers before committing the response, -- because in HTTP the headers must be sent before the response body. -- -- Where possible, set the Content-Length header (with the -- Response.Set_Content_Length method), to allow the servlet container to use -- a persistent connection to return its response to the client, improving -- performance. The content length is automatically set if the entire response -- fits inside the response buffer. -- -- When using HTTP 1.1 chunked encoding (which means that the response has a -- Transfer-Encoding header), do not set the Content-Length header. -- -- This method does not need to be either safe or idempotent. Operations -- requested through POST can have side effects for which the user can be held -- accountable, for example, updating stored data or buying items online. -- -- If the HTTP POST request is incorrectly formatted, doPost returns -- an HTTP "Bad Request" message. -- ------------------------------ procedure Do_Post (Server : in Servlet; Request : in out Requests.Request'Class; Response : in out Responses.Response'Class) is pragma Unreferenced (Server, Request); begin Response.Send_Error (Responses.SC_METHOD_NOT_ALLOWED); end Do_Post; -- ------------------------------ -- Called by the server (via the service method) to allow a servlet to handle -- a PUT request. The PUT operation allows a client to place a file on the server -- and is similar to sending a file by FTP. -- -- When overriding this method, leave intact any content headers sent with -- the request (including Content-Length, Content-Type, Content-Transfer-Encoding, -- Content-Encoding, Content-Base, Content-Language, Content-Location, -- Content-MD5, and Content-Range). If your method cannot handle a content -- header, it must issue an error message (HTTP 501 - Not Implemented) and -- discard the request. For more information on HTTP 1.1, see RFC 2616 . -- -- This method does not need to be either safe or idempotent. Operations that -- Do_Put performs can have side effects for which the user can be held accountable. -- When using this method, it may be useful to save a copy of the affected URL -- in temporary storage. -- -- If the HTTP PUT request is incorrectly formatted, Do_Put returns -- an HTTP "Bad Request" message. -- ------------------------------ procedure Do_Put (Server : in Servlet; Request : in out Requests.Request'Class; Response : in out Responses.Response'Class) is pragma Unreferenced (Server, Request); begin Response.Send_Error (Responses.SC_METHOD_NOT_ALLOWED); end Do_Put; -- ------------------------------ -- Called by the server (via the service method) to allow a servlet to handle -- a DELETE request. The DELETE operation allows a client to remove a document -- or Web page from the server. -- -- This method does not need to be either safe or idempotent. Operations requested -- through DELETE can have side effects for which users can be held accountable. -- When using this method, it may be useful to save a copy of the affected URL in -- temporary storage. -- -- If the HTTP DELETE request is incorrectly formatted, Do_Delete returns an HTTP -- "Bad Request" message. -- ------------------------------ procedure Do_Delete (Server : in Servlet; Request : in out Requests.Request'Class; Response : in out Responses.Response'Class) is pragma Unreferenced (Server, Request); begin Response.Send_Error (Responses.SC_METHOD_NOT_ALLOWED); end Do_Delete; -- ------------------------------ -- Called by the server (via the service method) to allow a servlet to handle a -- OPTIONS request. The OPTIONS request determines which HTTP methods the server -- supports and returns an appropriate header. For example, if a servlet overrides -- Do_Get, this method returns the following header: -- -- Allow: GET, HEAD, TRACE, OPTIONS -- -- There's no need to override this method unless the servlet implements new -- HTTP methods, beyond those implemented by HTTP 1.1. -- ------------------------------ procedure Do_Options (Server : in Servlet; Request : in out Requests.Request'Class; Response : in out Responses.Response'Class) is pragma Unreferenced (Server, Request); begin Response.Send_Error (Responses.SC_METHOD_NOT_ALLOWED); end Do_Options; -- ------------------------------ -- Called by the server (via the service method) to allow a servlet to handle -- a TRACE request. A TRACE returns the headers sent with the TRACE request to -- the client, so that they can be used in debugging. There's no need to override -- this method. -- ------------------------------ procedure Do_Trace (Server : in Servlet; Request : in out Requests.Request'Class; Response : in out Responses.Response'Class) is pragma Unreferenced (Server, Request); begin Response.Send_Error (Responses.SC_METHOD_NOT_ALLOWED); end Do_Trace; -- ------------------------------ -- Called by the server (via the service method) to allow a servlet to handle -- a PATCH request (RFC 5789). -- ------------------------------ procedure Do_Patch (Server : in Servlet; Request : in out Requests.Request'Class; Response : in out Responses.Response'Class) is pragma Unreferenced (Server, Request); begin Response.Send_Error (Responses.SC_METHOD_NOT_ALLOWED); end Do_Patch; -- ------------------------------ -- Forwards a request from a servlet to another resource -- (servlet, or HTML file) on the server. This method allows one servlet to do -- preliminary processing of a request and another resource to generate the response. -- -- For a Request_Dispatcher obtained via Get_Request_Dispatcher(), -- the ServletRequest object has its path elements and parameters adjusted -- to match the path of the target resource. -- -- forward should be called before the response has been committed to the -- client (before response body output has been flushed). If the response -- already has been committed, this method throws an IllegalStateException. -- Uncommitted output in the response buffer is automatically cleared before -- the forward. -- -- The request and response parameters must be either the same objects as were -- passed to the calling servlet's service method or be subclasses of the -- RequestWrapper or ResponseWrapper classes that wrap them. -- ------------------------------ procedure Forward (Dispatcher : in Request_Dispatcher; Request : in out Requests.Request'Class; Response : in out Responses.Response'Class) is begin if Dispatcher.Servlet = null then Response.Send_Error (Responses.SC_NOT_FOUND); elsif Dispatcher.Filters = null then Requests.Tools.Set_Context (Request, Response'Unchecked_Access, Dispatcher.Context'Unrestricted_Access); Dispatcher.Servlet.Service (Request, Response); else -- If we have some filters, create the filter chain -- and invoke the first filter. declare Chain : Filter_Chain; begin Requests.Tools.Set_Context (Request, Response'Unchecked_Access, Dispatcher.Context'Unrestricted_Access); Chain.Filters := Dispatcher.Filters.all'Access; Chain.Servlet := Dispatcher.Servlet; Chain.Filter_Pos := Chain.Filters'Last; Do_Filter (Chain => Chain, Request => Request, Response => Response); end; end if; end Forward; -- ------------------------------ -- Includes the content of a resource (servlet, or, HTML file) in the response. -- In essence, this method enables programmatic server-side includes. -- -- The Response object has its path elements and parameters remain -- unchanged from the caller's. The included servlet cannot change the response -- status code or set headers; any attempt to make a change is ignored. -- -- The request and response parameters must be either the same objects as were -- passed to the calling servlet's service method or be subclasses of the -- RequestWrapper or ResponseWrapper classes that wrap them. -- ------------------------------ procedure Include (Dispatcher : in Request_Dispatcher; Request : in out Requests.Request'Class; Response : in out Responses.Response'Class) is begin if Dispatcher.Servlet = null then Response.Send_Error (Responses.SC_NOT_FOUND); else Dispatcher.Servlet.Service (Request, Response); end if; end Include; -- ------------------------------ -- Returns the servlet that will be called when forwarding the request. -- ------------------------------ function Get_Servlet (Dispatcher : in Request_Dispatcher) return Servlet_Access is begin return Dispatcher.Servlet; end Get_Servlet; -- ------------------------------ -- Returns a Request_Dispatcher object that acts as a wrapper for the resource -- located at the given path. A Request_Dispatcher object can be used to forward -- a request to the resource or to include the resource in a response. -- The resource can be dynamic or static. -- ------------------------------ function Get_Request_Dispatcher (Context : in Servlet_Registry; Path : in String) return Request_Dispatcher is use type Filters.Filter_List_Access; begin return R : Request_Dispatcher do Context.Routes.Find_Route (Path, R.Context); if not Routes.Is_Null (R.Context) then declare use Routes.Servlets; Route : constant Routes.Route_Type_Accessor := Routes.Get_Route (R.Context); begin if Route in Routes.Servlets.Servlet_Route_Type'Class then declare Servlet_Route : constant access Routes.Servlets.Servlet_Route_Type'Class := Routes.Servlets.Servlet_Route_Type'Class (Route.Element.all)'Access; Proxy : Routes.Servlets.Proxy_Route_Type_Access; begin if Servlet_Route.Filters /= null then R.Filters := Servlet_Route.Filters.all'Access; end if; if Servlet_Route.all in Routes.Servlets.Proxy_Route_Type'Class then Proxy := Proxy_Route_Type'Class (Servlet_Route.all)'Access; Routes.Change_Route (R.Context, Proxy.Route); R.Servlet := Servlet_Route_Type'Class (Proxy.Route.Value.Element.all).Servlet; else R.Servlet := Servlet_Route.Servlet; end if; end; end if; end; end if; R.Pos := Routes.Get_Path_Pos (R.Context); end return; end Get_Request_Dispatcher; -- ------------------------------ -- Returns a Request_Dispatcher object that acts as a wrapper for the named servlet. -- -- Servlets may be given names via server administration or via a web application -- deployment descriptor. A servlet instance can determine its name using -- ServletConfig.getServletName(). -- ------------------------------ function Get_Name_Dispatcher (Context : in Servlet_Registry; Name : in String) return Request_Dispatcher is Pos : constant Servlet_Maps.Cursor := Context.Servlets.Find (Name); begin if not Servlet_Maps.Has_Element (Pos) then raise Servlet_Error with "No servlet " & Name; end if; return R : Request_Dispatcher do R.Servlet := Servlet_Maps.Element (Pos); end return; end Get_Name_Dispatcher; -- ------------------------------ -- Returns the context path of the web application. -- The context path is the portion of the request URI that is used to select the context -- of the request. The context path always comes first in a request URI. The path starts -- with a "/" character but does not end with a "/" character. For servlets in the default -- (root) context, this method returns "". -- ------------------------------ function Get_Context_Path (Context : in Servlet_Registry) return String is begin return To_String (Context.Context_Path); end Get_Context_Path; -- ------------------------------ -- Returns a String containing the value of the named context-wide initialization -- parameter, or null if the parameter does not exist. -- -- This method can make available configuration information useful to an entire -- "web application". For example, it can provide a webmaster's email address -- or the name of a system that holds critical data. -- ------------------------------ function Get_Init_Parameter (Context : in Servlet_Registry; Name : in String; Default : in String := "") return String is begin return Context.Config.Get (Name, Default); end Get_Init_Parameter; function Get_Init_Parameter (Context : in Servlet_Registry; Name : in String; Default : in String := "") return Ada.Strings.Unbounded.Unbounded_String is begin if Context.Config.Exists (Name) then return Context.Config.Get (Name); else return Ada.Strings.Unbounded.To_Unbounded_String (Default); end if; end Get_Init_Parameter; -- ------------------------------ -- Set the init parameter identified by <b>Name</b> to the value <b>Value</b>. -- ------------------------------ procedure Set_Init_Parameter (Context : in out Servlet_Registry; Name : in String; Value : in String) is begin Log.Debug ("Set {0}={1}", Name, Value); Context.Config.Set (Name, Value); end Set_Init_Parameter; -- ------------------------------ -- Set the init parameters by copying the properties defined in <b>Params</b>. -- Existing parameters will be overriding by the new values. -- ------------------------------ procedure Set_Init_Parameters (Context : in out Servlet_Registry; Params : in Util.Properties.Manager'Class) is begin Context.Config.Copy (Params); end Set_Init_Parameters; -- ------------------------------ -- Get access to the init parameters. -- ------------------------------ procedure Get_Init_Parameters (Context : in Servlet_Registry; Process : not null access procedure (Params : in Util.Properties.Manager'Class)) is begin Process (Context.Config); end Get_Init_Parameters; -- ------------------------------ -- Returns the absolute path of the resource identified by the given relative path. -- The resource is searched in a list of directories configured by the application. -- The path must begin with a "/" and is interpreted as relative to the current -- context root. -- -- This method allows the servlet container to make a resource available to -- servlets from any source. -- -- This method returns an empty string if the resource could not be localized. -- ------------------------------ function Get_Resource (Context : in Servlet_Registry; Path : in String) return String is Paths : constant String := Context.Get_Init_Parameter ("view.dir"); Result : constant String := Util.Files.Find_File_Path (Name => Path, Paths => Paths); begin if Result = Path then return ""; else return Result; end if; end Get_Resource; -- ------------------------------ -- Registers the given servlet instance with this ServletContext under -- the given servletName. -- -- If this ServletContext already contains a preliminary -- ServletRegistration for a servlet with the given servletName, -- it will be completed (by assigning the class name of the given -- servlet instance to it) and returned. -- ------------------------------ procedure Add_Servlet (Registry : in out Servlet_Registry; Name : in String; Server : in Servlet_Access) is begin Log.Info ("Add servlet '{0}'", Name); if Server.Context /= null then Log.Error ("Servlet '{0}' already registered in a servlet registry", Server.Get_Name); raise Servlet_Error; end if; Server.Name := To_Unbounded_String (Name); Server.Context := Registry'Unchecked_Access; Servlet_Maps.Include (Registry.Servlets, Name, Server); end Add_Servlet; -- ------------------------------ -- Registers the given filter instance with this Servlet context. -- ------------------------------ procedure Add_Filter (Registry : in out Servlet_Registry; Name : in String; Filter : in Filter_Access) is begin Log.Info ("Add servlet filter '{0}'", Name); Filter_Maps.Include (Registry.Filters, Name, Filter.all'Unchecked_Access); end Add_Filter; -- ------------------------------ -- Causes the next filter in the chain to be invoked, or if the calling -- filter is the last filter in the chain, causes the resource at the end -- of the chain to be invoked. -- ------------------------------ procedure Do_Filter (Chain : in out Filter_Chain; Request : in out Requests.Request'Class; Response : in out Responses.Response'Class) is begin if Chain.Filter_Pos = 0 then Chain.Servlet.Service (Request, Response); else declare Filter : constant Filters.Filter_Access := Chain.Filters (Chain.Filter_Pos); begin Chain.Filter_Pos := Chain.Filter_Pos - 1; Filter.Do_Filter (Request, Response, Chain); end; end if; end Do_Filter; -- ------------------------------ -- Get the servlet context associated with the filter chain. -- ------------------------------ function Get_Servlet_Context (Chain : in Filter_Chain) return Servlet_Registry_Access is begin return Chain.Servlet.Context; end Get_Servlet_Context; function Match_Pattern (Pattern : in String; URI : in String) return Boolean; function Match_Pattern (Pattern : in String; URI : in String) return Boolean is Pos : Natural := Pattern'First; Last : Natural; begin -- *.html, /home/*.html -> True -- /home/*.html, /home/users/:id ->False -- /home/*.html, /home/users/:id/view.html -> True -- /home/*.html, /home/index.html -> True -- /home/*, /home/users/:id -> True -- /home/*, /home/admin/*.html -> True loop if Pattern (Pos) = '*' then if Pos = Pattern'Last then return True; end if; Pos := Pos + 1; if Pattern (Pos) /= '.' then return False; end if; Last := Util.Strings.Rindex (URI, '.'); if Last = 0 then return False; end if; if Pattern (Pos .. Pattern'Last) = URI (Last .. URI'Last) then return True; else return False; end if; elsif Pos > URI'Last then return False; elsif Pattern (Pos) /= URI (Pos) then return False; end if; Pos := Pos + 1; if Pos > Pattern'Last then if Pos > URI'Last then return True; else return False; end if; end if; end loop; end Match_Pattern; -- ------------------------------ -- Install the servlet filters after all the mappings have been registered. -- ------------------------------ procedure Install_Filters (Registry : in out Servlet_Registry) is procedure Process (URI : in String; Route : in Routes.Route_Type_Accessor); procedure Make_Route; procedure Initialize_Filter (Key : in String; Filter : in Filter_Access); procedure Initialize_Servlet (Pos : in Servlet_Maps.Cursor); procedure Process (URI : in String; Route : in Routes.Route_Type_Accessor) is Iter : Util.Strings.Vectors.Cursor := Registry.Filter_Patterns.First; Servlet_Route : access Routes.Servlets.Servlet_Route_Type'Class; begin if not (Route in Routes.Servlets.Servlet_Route_Type'Class) then return; end if; Servlet_Route := Routes.Servlets.Servlet_Route_Type'Class (Route.Element.all)'Access; while Util.Strings.Vectors.Has_Element (Iter) loop declare Pattern : constant String := Util.Strings.Vectors.Element (Iter); Filter : Filter_List_Access; begin if Match_Pattern (Pattern, URI) then Filter := Registry.Filter_Rules.Element (Pattern); for I in Filter'Range loop Routes.Servlets.Append_Filter (Servlet_Route.all, Filter (I).all'Access); end loop; end if; end; Util.Strings.Vectors.Next (Iter); end loop; end Process; -- ------------------------------ -- Setup a route for each filter mapping so that we can configure the filter -- for the filter mapping route. -- ------------------------------ procedure Make_Route is Context : aliased EL.Contexts.Default.Default_Context; Iter : Util.Strings.Vectors.Cursor := Registry.Filter_Patterns.First; begin while Util.Strings.Vectors.Has_Element (Iter) loop declare use Routes.Servlets; procedure Insert (Ref : in out Routes.Route_Type_Ref); Pattern : constant String := Util.Strings.Vectors.Element (Iter); Route : Routes.Route_Context_Type; procedure Insert (Ref : in out Routes.Route_Type_Ref) is Proxy : Routes.Servlets.Proxy_Route_Type_Access; begin if Ref.Is_Null then Proxy := new Routes.Servlets.Proxy_Route_Type; Proxy.Route := Route.Get_Route; -- If the route is also a proxy, get the real route pointed to by the proxy. if Proxy.Route.Value in Proxy_Route_Type'Class then Proxy.Route := Proxy_Route_Type'Class (Proxy.Route.Value.Element.all).Route; end if; Ref := Routes.Route_Type_Refs.Create (Proxy.all'Access); end if; end Insert; begin Registry.Routes.Find_Route (Pattern, Route); if not Route.Is_Null then Registry.Routes.Add_Route (Pattern, Context, Insert'Access); end if; end; Util.Strings.Vectors.Next (Iter); end loop; end Make_Route; Config : Filter_Config; procedure Initialize_Filter (Key : in String; Filter : in Filter_Access) is begin Config.Name := To_Unbounded_String (Key); Filter.Initialize (Config); end Initialize_Filter; procedure Initialize_Servlet (Pos : in Servlet_Maps.Cursor) is Servlet : constant Servlet_Access := Servlet_Maps.Element (Pos); begin Servlet.Initialize (Registry); end Initialize_Servlet; Iter : Filter_Maps.Cursor := Registry.Filters.First; begin Config.Context := Registry'Unchecked_Access; while Filter_Maps.Has_Element (Iter) loop Filter_Maps.Query_Element (Position => Iter, Process => Initialize_Filter'Access); Filter_Maps.Next (Iter); end loop; Registry.Servlets.Iterate (Process => Initialize_Servlet'Access); Make_Route; Registry.Routes.Iterate (Process'Access); end Install_Filters; -- ------------------------------ -- Dump the routes and filter configuration in the log with the given log level. -- ------------------------------ procedure Dump_Routes (Registry : in out Servlet_Registry; Level : in Util.Log.Level_Type) is use type Filters.Filter_List_Access; use type Filters.Filter_Access; function Get_Servlet_Name (Servlet : in Servlet_Access) return String; function Get_Filter_Names (List : in Filters.Filter_List_Access) return String; procedure Print_Route (URI : in String; Route : in Routes.Route_Type_Accessor); procedure Collect_Servlet (Pos : in Servlet_Maps.Cursor); procedure Collect_Filter (Pos : in Filter_Maps.Cursor); Maps : Util.Strings.Maps.Map; function Get_Servlet_Name (Servlet : in Servlet_Access) return String is begin if Servlet = null then return "null"; else declare N : constant String := System.Address_Image (Servlet.all'Address); begin if Maps.Contains (N) then return Maps.Element (N); else return " ? at " & N; end if; end; end if; end Get_Servlet_Name; function Get_Filter_Names (List : in Filters.Filter_List_Access) return String is Result : Ada.Strings.Unbounded.Unbounded_String; begin for I in List'Range loop if Length (Result) > 0 then Append (Result, ", "); end if; if List (I) = null then Append (Result, "null"); else declare N : constant String := System.Address_Image (List (I).all'Address); begin if Maps.Contains (N) then Append (Result, Maps.Element (N)); else Append (Result, " ? at " & N); end if; end; end if; end loop; return To_String (Result); end Get_Filter_Names; procedure Print_Route (URI : in String; Route : in Routes.Route_Type_Accessor) is Servlet_Route : access Routes.Servlets.Servlet_Route_Type'Class; begin if not (Route in Routes.Servlets.Servlet_Route_Type'Class) then Log.Print (Level, "Route {0} to {1}", URI, System.Address_Image (Route.Element.all'Address)); else Servlet_Route := Routes.Servlets.Servlet_Route_Type'Class (Route.Element.all)'Access; if Servlet_Route.Filters /= null then Log.Print (Level, "Route {0} to {1} with filters {2}", URI, Get_Servlet_Name (Servlet_Route.Get_Servlet), Get_Filter_Names (Servlet_Route.Filters)); else Log.Print (Level, "Route {0} to {1}", URI, Get_Servlet_Name (Servlet_Route.Get_Servlet)); end if; end if; end Print_Route; procedure Collect_Servlet (Pos : in Servlet_Maps.Cursor) is Key : constant String := Servlet_Maps.Key (Pos); Servlet : constant Servlet_Access := Servlet_Maps.Element (Pos); begin Maps.Include (System.Address_Image (Servlet.all'Address), Key); end Collect_Servlet; procedure Collect_Filter (Pos : in Filter_Maps.Cursor) is Key : constant String := Filter_Maps.Key (Pos); Filter : constant Filter_Access := Filter_Maps.Element (Pos); begin Maps.Include (System.Address_Image (Filter.all'Address), Key); end Collect_Filter; begin Registry.Servlets.Iterate (Collect_Servlet'Access); Registry.Filters.Iterate (Collect_Filter'Access); Registry.Routes.Iterate (Print_Route'Access); end Dump_Routes; -- ------------------------------ -- Start the application. -- ------------------------------ procedure Start (Registry : in out Servlet_Registry) is begin Registry.Status := Started; Install_Filters (Registry); end Start; -- ------------------------------ -- Get the application status. -- ------------------------------ function Get_Status (Registry : in Servlet_Registry) return Status_Type is begin return Registry.Status; end Get_Status; -- ------------------------------ -- Disable the application. -- ------------------------------ procedure Disable (Registry : in out Servlet_Registry) is begin case Registry.Status is when Ready => Registry.Status := Disabled; when Started => Registry.Status := Suspended; when Disabled | Suspended | Stopped => null; end case; end Disable; -- ------------------------------ -- Enable the application. -- ------------------------------ procedure Enable (Registry : in out Servlet_Registry) is begin case Registry.Status is when Disabled => Registry.Status := Ready; when Suspended => Registry.Status := Started; when Ready | Started | Stopped => null; end case; end Enable; -- ------------------------------ -- Stop the application. -- ------------------------------ procedure Stop (Registry : in out Servlet_Registry) is begin case Registry.Status is when Ready | Disabled | Stopped => null; when Started | Suspended => Registry.Status := Stopped; end case; end Stop; procedure Free is new Ada.Unchecked_Deallocation (Object => Filters.Filter_List, Name => Filter_List_Access); -- ------------------------------ -- Add a filter mapping with the given pattern -- If the URL pattern is already mapped to a different servlet, -- no updates will be performed. -- ------------------------------ procedure Add_Filter_Mapping (Registry : in out Servlet_Registry; Pattern : in String; Name : in String) is procedure Append (Key : in String; List : in out Filter_List_Access); Pos : constant Filter_Maps.Cursor := Registry.Filters.Find (Name); Rule : constant Filter_List_Maps.Cursor := Registry.Filter_Rules.Find (Pattern); -- ------------------------------ -- Append the filter in the filter list. -- ------------------------------ procedure Append (Key : in String; List : in out Filter_List_Access) is pragma Unreferenced (Key); use Filters; Filter : constant Filters.Filter_Access := Filter_Maps.Element (Pos).all'Access; New_List : Filter_List_Access; begin -- Check that the filter is not already executed. for I in List'Range loop if List (I) = Filter then return; end if; end loop; New_List := new Filters.Filter_List (1 .. List'Last + 1); New_List.all (2 .. New_List'Last) := List.all; New_List (New_List'First) := Filter; Free (List); List := New_List; end Append; List : Filter_List_Access; begin Log.Info ("Add filter mapping {0} -> {1}", Pattern, Name); if not Filter_Maps.Has_Element (Pos) then Log.Error ("No servlet filter {0}", Name); raise Servlet_Error with "No servlet filter " & Name; end if; if not Filter_List_Maps.Has_Element (Rule) then Registry.Filter_Patterns.Append (Pattern); List := new Filters.Filter_List (1 .. 1); List (List'First) := Filter_Maps.Element (Pos).all'Access; Registry.Filter_Rules.Insert (Pattern, List); else Registry.Filter_Rules.Update_Element (Rule, Append'Access); end if; end Add_Filter_Mapping; -- ------------------------------ -- Add a servlet mapping with the given pattern -- If the URL pattern is already mapped to a different servlet, -- no updates will be performed. -- ------------------------------ procedure Add_Mapping (Registry : in out Servlet_Registry; Pattern : in String; Name : in String) is Pos : constant Servlet_Maps.Cursor := Registry.Servlets.Find (Name); begin if not Servlet_Maps.Has_Element (Pos) then Log.Error ("No servlet {0}", Name); raise Servlet_Error with "No servlet " & Name; end if; Log.Info ("Add servlet mapping {0} -> {1}", Pattern, Name); Registry.Add_Mapping (Pattern, Servlet_Maps.Element (Pos)); end Add_Mapping; -- ------------------------------ -- Add a servlet mapping with the given pattern -- If the URL pattern is already mapped to a different servlet, -- no updates will be performed. -- ------------------------------ procedure Add_Mapping (Registry : in out Servlet_Registry; Pattern : in String; Server : in Servlet_Access) is procedure Insert (Route : in out Routes.Route_Type_Ref); procedure Insert (Route : in out Routes.Route_Type_Ref) is To : Routes.Servlets.Servlet_Route_Type_Access; begin if Route.Is_Null then To := new Routes.Servlets.Servlet_Route_Type; To.Servlet := Server; Route := Routes.Route_Type_Refs.Create (To.all'Access); else Log.Warn ("Mapping {0} already defined", Pattern); end if; end Insert; Context : aliased EL.Contexts.Default.Default_Context; begin if Pattern'Length = 0 or Server = null then return; end if; Registry.Routes.Add_Route (Pattern, Context, Insert'Access); end Add_Mapping; -- ------------------------------ -- Add a route associated with the given path pattern. The pattern is split into components. -- Some path components can be a fixed string (/home) and others can be variable. -- When a path component is variable, the value can be retrieved from the route context. -- Once the route path is created, the <tt>Process</tt> procedure is called with the route -- reference. -- ------------------------------ procedure Add_Route (Registry : in out Servlet_Registry; Pattern : in String; ELContext : in EL.Contexts.ELContext'Class; Process : not null access procedure (Route : in out Routes.Route_Type_Ref)) is begin Registry.Routes.Add_Route (Pattern, ELContext, Process); end Add_Route; -- ------------------------------ -- Set the error page that will be used if a servlet returns an error. -- ------------------------------ procedure Set_Error_Page (Server : in out Servlet_Registry; Error : in Integer; Page : in String) is begin Log.Info ("Using page {0} for http error {1}", Page, Integer'Image (Error)); Server.Error_Pages.Include (Error, Page); end Set_Error_Page; function Hash (N : Integer) return Ada.Containers.Hash_Type is begin return Ada.Containers.Hash_Type (N); end Hash; -- ------------------------------ -- Send the error page content defined by the response status. -- ------------------------------ procedure Send_Error_Page (Server : in Servlet_Registry; Request : in out Requests.Request'Class; Response : in out Responses.Response'Class) is URI : constant String := Request.Get_Request_URI; Status : constant Natural := Response.Get_Status; Pos : constant Error_Maps.Cursor := Server.Error_Pages.Find (Status); begin Request.Set_Attribute ("servlet.error.status_code", EL.Objects.To_Object (Integer (Status))); Request.Set_Attribute ("servlet.error.request_uri", EL.Objects.To_Object (URI)); if Error_Maps.Has_Element (Pos) then declare Page : constant String := Error_Maps.Element (Pos); Dispatcher : constant Request_Dispatcher := Server.Get_Request_Dispatcher (Page); begin Forward (Dispatcher, Request, Response); return; exception when others => null; end; end if; Response.Set_Content_Type ("text/html"); declare Output : Streams.Print_Stream := Response.Get_Output_Stream; Value : EL.Objects.Object; begin Output.Write ("<html><head><title>Server error</title>" & "<style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;" & "background-color:#525D76;font-size:22px;} " & "H2 {font-family:Tahoma,Arial,sans-serif;color:white;" & "background-color:#525D76;font-size:16px;} " & "H3 {font-family:Tahoma,Arial,sans-serif;color:white;" & " background-color:#525D76;font-size:14px;} " & "BODY {font-family:Tahoma,Arial,sans-serif;color:black;" & "background-color:white;} " & "B {font-family:Tahoma,Arial,sans-serif;color:white;" & "background-color:#525D76;} " & "P {font-family:Tahoma,Arial,sans-serif;background:white;" & "color:black;font-size:12px;}A {color : black;}" & "table {width:100%;} table td:first-child {width:20%}" & "table th {text-align:left;color:white;background-color:#525D76;}" & "A.name {color : black;}HR {color : #525D76;}--></style><body>" & "<h1>HTTP error "); Output.Write (Status); Output.Write ("</h1><hr size='1' noshade='noshade'></hr><table>"); Output.Write ("<tr><td>Error</td><td>"); Output.Write (Status); Output.Write ("</td></tr><tr><td>Page</td><td>"); Output.Write (URI); Output.Write ("</td></tr>"); Value := Request.Get_Attribute ("servlet.error.message"); if not EL.Objects.Is_Null (Value) then Output.Write ("<tr><td>Message:</td><td>"); Output.Write (Value); Output.Write ("</td></tr>"); end if; Value := Request.Get_Attribute ("servlet.error.exception_type"); if not EL.Objects.Is_Null (Value) then Output.Write ("<tr><td>Exception:</td><td>"); Output.Write (Value); Output.Write ("</td></tr>"); end if; Value := Request.Get_Attribute ("servlet.error.exception"); if not EL.Objects.Is_Null (Value) then Output.Write ("<tr><td>Traceback:</td><td><pre>"); Output.Write (Value); Output.Write ("</pre></td></tr>"); end if; Output.Write ("<tr><td colspan='2'>"); Output.Write (Requests.Tools.To_String (Req => Request, Html => True, Print_Headers => True, Print_Attributes => True)); Output.Write ("<td></tr></table></body>"); end; end Send_Error_Page; -- ------------------------------ -- Report an error when an exception occurred while processing the request. -- ------------------------------ procedure Error (Registry : in Servlet_Registry; Request : in out Requests.Request'Class; Response : in out Responses.Response'Class; Ex : in Ada.Exceptions.Exception_Occurrence) is use GNAT.Traceback.Symbolic; use Ada.Exceptions; Name : constant String := Exception_Name (Ex); Message : constant String := Exception_Message (Ex); Has_Traceback : constant Boolean := True; begin Request.Set_Attribute ("servlet.error.exception_type", EL.Objects.To_Object (Name)); Request.Set_Attribute ("servlet.error.message", EL.Objects.To_Object (Message)); if Has_Traceback then Request.Set_Attribute ("servlet.error.exception", EL.Objects.To_Object (Symbolic_Traceback (Ex))); end if; Response.Set_Status (Responses.SC_INTERNAL_SERVER_ERROR); Registry.Send_Error_Page (Request, Response); end Error; -- ------------------------------ -- Register the application represented by <b>Registry</b> under the base URI defined -- by <b>URI</b>. This is called by the Web container when the application is registered. -- The default implementation keeps track of the base URI to implement the context path -- operation. -- ------------------------------ procedure Register_Application (Registry : in out Servlet_Registry; URI : in String) is begin Registry.Context_Path := To_Unbounded_String (URI); end Register_Application; -- ------------------------------ -- Finalize the servlet registry releasing the internal mappings. -- ------------------------------ overriding procedure Finalize (Registry : in out Servlet_Registry) is begin -- Release the filter mapping lists that have been allocated. while not Registry.Filter_Rules.Is_Empty loop declare Pos : Filter_List_Maps.Cursor := Registry.Filter_Rules.First; Filter : Filter_List_Access := Filter_List_Maps.Element (Pos).all'Access; begin Free (Filter); Registry.Filter_Rules.Delete (Pos); end; end loop; Sessions.Factory.Session_Factory (Registry).Finalize; end Finalize; end Servlet.Core;
with Ada.Unchecked_Deallocation; with System.Address_To_Named_Access_Conversions; with System.Storage_Pools.Overlaps; package body System.Initialization is pragma Suppress (All_Checks); type Object_Access is access all Object; for Object_Access'Storage_Pool use Storage_Pools.Overlaps.Pool.all; procedure Free is new Ada.Unchecked_Deallocation (Object, Object_Access); package OA_Conv is new Address_To_Named_Access_Conversions (Object, Object_Access); -- implementation function New_Object (Storage : not null access Object_Storage) return Object_Pointer is type Storage_Access is access all Object_Storage; -- local type for Storage_Access'Storage_Size use 0; package SA_Conv is new Address_To_Named_Access_Conversions ( Object_Storage, Storage_Access); begin if Object'Has_Access_Values or else Object'Has_Tagged_Values or else Object'Size > Standard'Word_Size * 8 -- large object then Storage_Pools.Overlaps.Set_Address ( SA_Conv.To_Address (Storage_Access (Storage))); return Object_Pointer (Object_Access'(new Object)); else declare Item : Object; -- default initialized pragma Unmodified (Item); Result : constant Object_Pointer := Object_Pointer ( OA_Conv.To_Pointer ( SA_Conv.To_Address (Storage_Access (Storage)))); begin Result.all := Item; return Result; end; end if; end New_Object; function New_Object ( Storage : not null access Object_Storage; Value : Object) return Object_Pointer is type Storage_Access is access all Object_Storage; -- local type for Storage_Access'Storage_Size use 0; package SA_Conv is new Address_To_Named_Access_Conversions ( Object_Storage, Storage_Access); begin if Object'Has_Access_Values or else Object'Has_Tagged_Values then Storage_Pools.Overlaps.Set_Address ( SA_Conv.To_Address (Storage_Access (Storage))); return Object_Pointer (Object_Access'(new Object'(Value))); else declare Result : constant Object_Pointer := Object_Pointer ( OA_Conv.To_Pointer ( SA_Conv.To_Address (Storage_Access (Storage)))); begin Result.all := Value; return Result; end; end if; end New_Object; procedure Delete_Object (Storage : not null access Object_Storage) is type Storage_Access is access all Object_Storage; -- local type for Storage_Access'Storage_Size use 0; package SA_Conv is new Address_To_Named_Access_Conversions ( Object_Storage, Storage_Access); begin if Object'Has_Access_Values or else Object'Has_Tagged_Values then declare A : constant Address := SA_Conv.To_Address (Storage_Access (Storage)); X : Object_Access := OA_Conv.To_Pointer (A); begin Storage_Pools.Overlaps.Set_Address (A); Free (X); end; end if; end Delete_Object; end System.Initialization;
-- C94001C.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making -- this public release, the Government intends to confer upon all -- recipients unlimited rights equal to those held by the Government. -- These rights include rights to use, duplicate, release or disclose the -- released technical data and computer software in whole or in part, in -- any manner and for any purpose whatsoever, and to have or permit others -- to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. --* -- CHECK THAT A UNIT WITH INDIRECT DEPENDENT TASKS CREATED BY OBJECT -- DECLARATIONS IS NOT TERMINATED UNTIL ALL INDIRECT DEPENDENT TASKS -- BECOME TERMINATED. -- SUBTESTS ARE: -- (A, B) A BLOCK CONTAINING A SIMPLE TASK OBJECT, IN A BLOCK. -- (C, D) A FUNCTION CONTAINING AN ARRAY OF TASK OBJECT, IN A -- FUNCTION. -- (E, F) A TASK CONTAINING AN ARRAY OF RECORD OF TASK OBJECT, -- IN A TASK BODY. -- CASES (B, D, F) EXIT BY RAISING AN EXCEPTION. -- THIS TEST CONTAINS SHARED VARIABLES AND RACE CONDITIONS. -- TBN 8/25/86 -- PWN 01/31/95 REMOVED PRAGMA PRIORITY FOR ADA 9X. with Impdef; WITH REPORT; USE REPORT; WITH SYSTEM; USE SYSTEM; PROCEDURE C94001C IS MY_EXCEPTION : EXCEPTION; GLOBAL : INTEGER; TASK TYPE TT IS ENTRY E (I : INTEGER); END TT; TASK BODY TT IS LOCAL : INTEGER; BEGIN ACCEPT E (I : INTEGER) DO LOCAL := I; END E; DELAY 30.0 * Impdef.One_Second; -- SINCE THE PARENT UNIT HAS HIGHER PRIORITY -- AT THIS POINT, IT WILL RECEIVE CONTROL AND -- TERMINATE IF THE ERROR IS PRESENT. GLOBAL := LOCAL; END TT; BEGIN TEST ("C94001C", "CHECK THAT A UNIT WITH INDIRECT DEPENDENT " & "TASKS CREATED BY OBJECT DECLARATIONS IS NOT " & "TERMINATED UNTIL ALL INDIRECT DEPENDENT TASKS " & "BECOME TERMINATED"); -------------------------------------------------- GLOBAL := IDENT_INT (0); BEGIN -- (A) DECLARE T : TT; BEGIN T.E (IDENT_INT(1)); END; END; -- (A) IF GLOBAL /= 1 THEN FAILED ("DEPENDENT TASK NOT TERMINATED BEFORE " & "BLOCK EXIT - 1"); END IF; -------------------------------------------------- BEGIN -- (B) GLOBAL := IDENT_INT (0); BEGIN DECLARE T : TT; BEGIN T.E (IDENT_INT(2)); RAISE MY_EXCEPTION; END; END; FAILED ("MY_EXCEPTION WAS NOT RAISED - 2"); EXCEPTION WHEN MY_EXCEPTION => IF GLOBAL /= 2 THEN FAILED ("DEPENDENT TASK NOT TERMINATED BEFORE " & "BLOCK EXIT - 2"); END IF; WHEN OTHERS => FAILED ("UNEXPECTED EXCEPTION - 2"); END; -- (B) -------------------------------------------------- GLOBAL := IDENT_INT (0); DECLARE -- (C) OBJ_INT : INTEGER; FUNCTION F1 RETURN INTEGER IS I : INTEGER; FUNCTION F2 RETURN INTEGER IS A : ARRAY (1..1) OF TT; BEGIN A(1).E (IDENT_INT(3)); RETURN 0; END F2; BEGIN I := F2; RETURN (0); END F1; BEGIN -- (C) OBJ_INT := F1; IF GLOBAL /= 3 THEN FAILED ("DEPENDENT TASK NOT TERMINATED BEFORE " & "FUNCTION EXIT - 3"); END IF; END; -- (C) -------------------------------------------------- DECLARE -- (D) OBJ_INT : INTEGER; FUNCTION F1 RETURN INTEGER IS I : INTEGER; FUNCTION F2 RETURN INTEGER IS A : ARRAY (1..1) OF TT; BEGIN A(1).E (IDENT_INT(4)); IF EQUAL (3, 3) THEN RAISE MY_EXCEPTION; END IF; RETURN 0; END F2; BEGIN I := F2; RETURN (0); END F1; BEGIN -- (D) GLOBAL := IDENT_INT (0); OBJ_INT := F1; FAILED ("MY_EXCEPTION WAS NOT RAISED - 4"); EXCEPTION WHEN MY_EXCEPTION => IF GLOBAL /= 4 THEN FAILED ("DEPENDENT TASK NOT TERMINATED BEFORE " & "FUNCTION EXIT - 4"); END IF; WHEN OTHERS => FAILED ("UNEXPECTED EXCEPTION - 4"); END; -- (D) -------------------------------------------------- GLOBAL := IDENT_INT (0); DECLARE -- (E) DELAY_COUNT : INTEGER := 0; TASK OUT_TSK; TASK BODY OUT_TSK IS TASK TSK IS ENTRY ENT; END TSK; TASK BODY TSK IS TYPE RT IS RECORD T : TT; END RECORD; AR : ARRAY (1..1) OF RT; BEGIN AR(1).T.E (IDENT_INT(5)); END TSK; BEGIN NULL; END OUT_TSK; BEGIN -- (E) WHILE NOT(OUT_TSK'TERMINATED) AND DELAY_COUNT < 60 LOOP DELAY 1.0 * Impdef.One_Second; DELAY_COUNT := DELAY_COUNT + 1; END LOOP; IF DELAY_COUNT = 60 THEN FAILED ("OUT_TSK HAS NOT TERMINATED - 5"); ELSIF GLOBAL /= 5 THEN FAILED ("DEPENDENT TASK NOT TERMINATED BEFORE " & "BLOCK EXIT - 5"); END IF; END; -- (E) -------------------------------------------------- GLOBAL := IDENT_INT (0); DECLARE DELAY_COUNT : INTEGER := 0; TASK OUT_TSK; TASK BODY OUT_TSK IS TASK TSK IS ENTRY ENT; END TSK; TASK BODY TSK IS TYPE RT IS RECORD T : TT; END RECORD; AR : ARRAY (1..1) OF RT; BEGIN AR(1).T.E (IDENT_INT(6)); RAISE MY_EXCEPTION; END TSK; BEGIN RAISE MY_EXCEPTION; END OUT_TSK; BEGIN WHILE NOT(OUT_TSK'TERMINATED) AND DELAY_COUNT < 60 LOOP DELAY 1.0 * Impdef.One_Second; DELAY_COUNT := DELAY_COUNT + 1; END LOOP; IF DELAY_COUNT = 60 THEN FAILED ("OUT_TSK HAS NOT TERMINATED - 6"); ELSIF GLOBAL /= 6 THEN FAILED ("DEPENDENT TASK NOT TERMINATED BEFORE " & "BLOCK EXIT - 6"); END IF; END; RESULT; END C94001C;
-- Copyright 2008-2014 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. package body Pck is type Empty is record Month : Integer; Year : Integer; end record; function Create return Wrap is begin return (E => new Empty'(Month => 8, Year => 1974)); end Create; end Pck;
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib.Values; with System; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstelement_h; with System; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h; with glib; package GStreamer.GST_Low_Level.gstreamer_0_10_gst_tag_gsttagmux_h is -- unsupported macro: GST_TYPE_TAG_MUX (gst_tag_mux_get_type()) -- arg-macro: function GST_TAG_MUX (obj) -- return G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_TAG_MUX,GstTagMux); -- arg-macro: function GST_TAG_MUX_CLASS (klass) -- return G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_TAG_MUX,GstTagMuxClass); -- arg-macro: function GST_IS_TAG_MUX (obj) -- return G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TAG_MUX); -- arg-macro: function GST_IS_TAG_MUX_CLASS (klass) -- return G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TAG_MUX); -- GStreamer tag muxer base class -- * Copyright (C) 2006 Christophe Fergeau <teuf@gnome.org> -- * Copyright (C) 2006,2011 Tim-Philipp Müller <tim centricular net> -- * Copyright (C) 2009 Pioneers of the Inevitable <songbird@songbirdnest.com> -- * -- * This library is free software; you can redistribute it and/or -- * modify it under the terms of the GNU Library General Public -- * License as published by the Free Software Foundation; either -- * version 2 of the License, or (at your option) any later version. -- * -- * This library is distributed in the hope that it will be useful, -- * but WITHOUT ANY WARRANTY; without even the implied warranty of -- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- * Library General Public License for more details. -- * -- * You should have received a copy of the GNU Library General Public -- * License along with this library; if not, write to the -- * Free Software Foundation, Inc., 59 Temple Place - Suite 330, -- * Boston, MA 02111-1307, USA. -- type GstTagMux; type u_GstTagMux_u_gst_reserved_array is array (0 .. 3) of System.Address; --subtype GstTagMux is u_GstTagMux; -- gst/tag/gsttagmux.h:40 type GstTagMuxClass; type u_GstTagMuxClass_u_gst_reserved_array is array (0 .. 3) of System.Address; --subtype GstTagMuxClass is u_GstTagMuxClass; -- gst/tag/gsttagmux.h:41 -- skipped empty struct u_GstTagMuxPrivate -- skipped empty struct GstTagMuxPrivate --* -- * GstTagMux: -- * @element: parent element -- * -- * Opaque #GstTagMux structure. -- * -- * Since: 0.10.36 -- type GstTagMux is record element : aliased GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstelement_h.GstElement; -- gst/tag/gsttagmux.h:53 priv : System.Address; -- gst/tag/gsttagmux.h:56 u_gst_reserved : u_GstTagMux_u_gst_reserved_array; -- gst/tag/gsttagmux.h:58 end record; pragma Convention (C_Pass_By_Copy, GstTagMux); -- gst/tag/gsttagmux.h:52 --< private > --* -- * GstTagMuxClass: -- * @parent_class: the parent class. -- * @render_start_tag: create a tag buffer to add to the beginning of the -- * input stream given a tag list, or NULL -- * @render_end_tag: create a tag buffer to add to the end of the -- * input stream given a tag list, or NULL -- * -- * The #GstTagMuxClass structure. Subclasses need to override at least one -- * of the two render vfuncs. -- * -- * Since: 0.10.36 -- type GstTagMuxClass is record parent_class : aliased GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstelement_h.GstElementClass; -- gst/tag/gsttagmux.h:75 render_start_tag : access function (arg1 : access GstTagMux; arg2 : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h.GstTagList) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h.GstBuffer; -- gst/tag/gsttagmux.h:78 render_end_tag : access function (arg1 : access GstTagMux; arg2 : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h.GstTagList) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h.GstBuffer; -- gst/tag/gsttagmux.h:79 u_gst_reserved : u_GstTagMuxClass_u_gst_reserved_array; -- gst/tag/gsttagmux.h:82 end record; pragma Convention (C_Pass_By_Copy, GstTagMuxClass); -- gst/tag/gsttagmux.h:74 -- vfuncs --< private > function gst_tag_mux_get_type return GLIB.GType; -- gst/tag/gsttagmux.h:85 pragma Import (C, gst_tag_mux_get_type, "gst_tag_mux_get_type"); end GStreamer.GST_Low_Level.gstreamer_0_10_gst_tag_gsttagmux_h;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . T A S K _ A T T R I B U T E S -- -- -- -- S p e c -- -- -- -- Copyright (C) 2014-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. -- -- -- ------------------------------------------------------------------------------ with Ada.Task_Identification; generic type Attribute is private; Initial_Value : Attribute; package Ada.Task_Attributes is -- Note that this package will use an efficient implementation with no -- locks and no extra dynamic memory allocation if Attribute is the size -- of either Integer or System.Address, and Initial_Value is 0 (null for -- an access type). -- Other types and initial values are supported, but will require -- the use of locking and a level of indirection (meaning extra dynamic -- memory allocation). -- The maximum number of task attributes supported by this implementation -- is determined by the constant System.Parameters.Max_Attribute_Count. -- If you exceed this number, Storage_Error will be raised during the -- elaboration of the instantiation of this package. type Attribute_Handle is access all Attribute; function Value (T : Ada.Task_Identification.Task_Id := Ada.Task_Identification.Current_Task) return Attribute; -- Return the value of the corresponding attribute of T. Tasking_Error -- is raised if T is terminated and Program_Error will be raised if T -- is Null_Task_Id. function Reference (T : Ada.Task_Identification.Task_Id := Ada.Task_Identification.Current_Task) return Attribute_Handle; -- Return an access value that designates the corresponding attribute of -- T. Tasking_Error is raised if T is terminated and Program_Error will be -- raised if T is Null_Task_Id. procedure Set_Value (Val : Attribute; T : Ada.Task_Identification.Task_Id := Ada.Task_Identification.Current_Task); -- Finalize the old value of the attribute of T and assign Val to that -- attribute. Tasking_Error is raised if T is terminated and Program_Error -- will be raised if T is Null_Task_Id. procedure Reinitialize (T : Ada.Task_Identification.Task_Id := Ada.Task_Identification.Current_Task); -- Same as Set_Value (Initial_Value, T). Tasking_Error is raised if T is -- terminated and Program_Error will be raised if T is Null_Task_Id. private pragma Inline (Value); pragma Inline (Reference); pragma Inline (Set_Value); pragma Inline (Reinitialize); end Ada.Task_Attributes;
-- The Beer-Ware License (revision 42) -- -- Jacob Sparre Andersen <jacob@jacob-sparre.dk> wrote this. As long as you -- retain this notice you can do whatever you want with this stuff. If we meet -- some day, and you think this stuff is worth it, you can buy me a beer in -- return. -- -- Jacob Sparre Andersen private with Sound.ALSA; package Sound.Mono is type Line_Type is private; type Frame is range -(2 ** 15) .. (2 ** 15) - 1; for Frame'Size use 16; type Frame_Array is array (Integer range <>) of aliased Frame; pragma Convention (C, Frame_Array); procedure Open (Line : in out Line_Type; Mode : in Line_Mode; Resolution : in out Sample_Frequency; Buffer_Size : in out Duration; Period : in out Duration); function Is_Open (Line : in Line_Type) return Boolean; procedure Close (Line : in out Line_Type); procedure Read (Line : in Line_Type; Item : out Frame_Array; Last : out Natural); procedure Write (Line : in Line_Type; Item : in Frame_Array; Last : out Natural); private type Line_Type is new Sound.ALSA.snd_pcm_t_ptr; end Sound.Mono;
with Ada.Text_IO; use Ada.Text_IO; procedure Adventofcode.Day_17.Main is begin Put_Line ("Day-17"); end Adventofcode.Day_17.Main;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- M A T H _ L I B -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2009, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- 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 body is specifically for using an Ada interface to C math.h to get -- the computation engine. Many special cases are handled locally to avoid -- unnecessary calls. This is not a "strict" implementation, but takes full -- advantage of the C functions, e.g. in providing interface to hardware -- provided versions of the elementary functions. -- A known weakness is that on the x86, all computation is done in Double, -- which means that a lot of accuracy is lost for the Long_Long_Float case. -- Uses functions sqrt, exp, log, pow, sin, asin, cos, acos, tan, atan, -- sinh, cosh, tanh from C library via math.h -- This is an adaptation of Ada.Numerics.Generic_Elementary_Functions that -- provides a compatible body for the DEC Math_Lib package. with Ada.Numerics.Aux; use type Ada.Numerics.Aux.Double; with Ada.Numerics; use Ada.Numerics; package body Math_Lib is Log_Two : constant := 0.69314_71805_59945_30941_72321_21458_17656_80755; Two_Pi : constant Real'Base := 2.0 * Pi; Half_Pi : constant Real'Base := Pi / 2.0; Fourth_Pi : constant Real'Base := Pi / 4.0; Epsilon : constant Real'Base := Real'Base'Epsilon; IEpsilon : constant Real'Base := 1.0 / Epsilon; subtype Double is Aux.Double; DEpsilon : constant Double := Double (Epsilon); DIEpsilon : constant Double := Double (IEpsilon); ----------------------- -- Local Subprograms -- ----------------------- function Arctan (Y : Real; A : Real := 1.0) return Real; function Arctan (Y : Real; A : Real := 1.0; Cycle : Real) return Real; function Exact_Remainder (A : Real; Y : Real) return Real; -- Computes exact remainder of A divided by Y function Half_Log_Epsilon return Real; -- Function to provide constant: 0.5 * Log (Epsilon) function Local_Atan (Y : Real; A : Real := 1.0) return Real; -- Common code for arc tangent after cycle reduction function Log_Inverse_Epsilon return Real; -- Function to provide constant: Log (1.0 / Epsilon) function Square_Root_Epsilon return Real; -- Function to provide constant: Sqrt (Epsilon) ---------- -- "**" -- ---------- function "**" (A1, A2 : Real) return Real is begin if A1 = 0.0 and then A2 = 0.0 then raise Argument_Error; elsif A1 < 0.0 then raise Argument_Error; elsif A2 = 0.0 then return 1.0; elsif A1 = 0.0 then if A2 < 0.0 then raise Constraint_Error; else return 0.0; end if; elsif A1 = 1.0 then return 1.0; elsif A2 = 1.0 then return A1; else begin if A2 = 2.0 then return A1 * A1; else return Real (Aux.pow (Double (A1), Double (A2))); end if; exception when others => raise Constraint_Error; end; end if; end "**"; ------------ -- Arccos -- ------------ -- Natural cycle function Arccos (A : Real) return Real is Temp : Real'Base; begin if abs A > 1.0 then raise Argument_Error; elsif abs A < Square_Root_Epsilon then return Pi / 2.0 - A; elsif A = 1.0 then return 0.0; elsif A = -1.0 then return Pi; end if; Temp := Real (Aux.acos (Double (A))); if Temp < 0.0 then Temp := Pi + Temp; end if; return Temp; end Arccos; -- Arbitrary cycle function Arccos (A, Cycle : Real) return Real is Temp : Real'Base; begin if Cycle <= 0.0 then raise Argument_Error; elsif abs A > 1.0 then raise Argument_Error; elsif abs A < Square_Root_Epsilon then return Cycle / 4.0; elsif A = 1.0 then return 0.0; elsif A = -1.0 then return Cycle / 2.0; end if; Temp := Arctan (Sqrt (1.0 - A * A) / A, 1.0, Cycle); if Temp < 0.0 then Temp := Cycle / 2.0 + Temp; end if; return Temp; end Arccos; ------------- -- Arccosh -- ------------- function Arccosh (A : Real) return Real is begin -- Return Log (A - Sqrt (A * A - 1.0)); double valued, -- only positive value returned -- What is this comment ??? if A < 1.0 then raise Argument_Error; elsif A < 1.0 + Square_Root_Epsilon then return A - 1.0; elsif abs A > 1.0 / Square_Root_Epsilon then return Log (A) + Log_Two; else return Log (A + Sqrt (A * A - 1.0)); end if; end Arccosh; ------------ -- Arccot -- ------------ -- Natural cycle function Arccot (A : Real; Y : Real := 1.0) return Real is begin -- Just reverse arguments return Arctan (Y, A); end Arccot; -- Arbitrary cycle function Arccot (A : Real; Y : Real := 1.0; Cycle : Real) return Real is begin -- Just reverse arguments return Arctan (Y, A, Cycle); end Arccot; ------------- -- Arccoth -- ------------- function Arccoth (A : Real) return Real is begin if abs A = 1.0 then raise Constraint_Error; elsif abs A < 1.0 then raise Argument_Error; elsif abs A > 1.0 / Epsilon then return 0.0; else return 0.5 * Log ((1.0 + A) / (A - 1.0)); end if; end Arccoth; ------------ -- Arcsin -- ------------ -- Natural cycle function Arcsin (A : Real) return Real is begin if abs A > 1.0 then raise Argument_Error; elsif abs A < Square_Root_Epsilon then return A; elsif A = 1.0 then return Pi / 2.0; elsif A = -1.0 then return -Pi / 2.0; end if; return Real (Aux.asin (Double (A))); end Arcsin; -- Arbitrary cycle function Arcsin (A, Cycle : Real) return Real is begin if Cycle <= 0.0 then raise Argument_Error; elsif abs A > 1.0 then raise Argument_Error; elsif A = 0.0 then return A; elsif A = 1.0 then return Cycle / 4.0; elsif A = -1.0 then return -Cycle / 4.0; end if; return Arctan (A / Sqrt (1.0 - A * A), 1.0, Cycle); end Arcsin; ------------- -- Arcsinh -- ------------- function Arcsinh (A : Real) return Real is begin if abs A < Square_Root_Epsilon then return A; elsif A > 1.0 / Square_Root_Epsilon then return Log (A) + Log_Two; elsif A < -1.0 / Square_Root_Epsilon then return -(Log (-A) + Log_Two); elsif A < 0.0 then return -Log (abs A + Sqrt (A * A + 1.0)); else return Log (A + Sqrt (A * A + 1.0)); end if; end Arcsinh; ------------ -- Arctan -- ------------ -- Natural cycle function Arctan (Y : Real; A : Real := 1.0) return Real is begin if A = 0.0 and then Y = 0.0 then raise Argument_Error; elsif Y = 0.0 then if A > 0.0 then return 0.0; else -- A < 0.0 return Pi; end if; elsif A = 0.0 then if Y > 0.0 then return Half_Pi; else -- Y < 0.0 return -Half_Pi; end if; else return Local_Atan (Y, A); end if; end Arctan; -- Arbitrary cycle function Arctan (Y : Real; A : Real := 1.0; Cycle : Real) return Real is begin if Cycle <= 0.0 then raise Argument_Error; elsif A = 0.0 and then Y = 0.0 then raise Argument_Error; elsif Y = 0.0 then if A > 0.0 then return 0.0; else -- A < 0.0 return Cycle / 2.0; end if; elsif A = 0.0 then if Y > 0.0 then return Cycle / 4.0; else -- Y < 0.0 return -Cycle / 4.0; end if; else return Local_Atan (Y, A) * Cycle / Two_Pi; end if; end Arctan; ------------- -- Arctanh -- ------------- function Arctanh (A : Real) return Real is begin if abs A = 1.0 then raise Constraint_Error; elsif abs A > 1.0 then raise Argument_Error; elsif abs A < Square_Root_Epsilon then return A; else return 0.5 * Log ((1.0 + A) / (1.0 - A)); end if; end Arctanh; --------- -- Cos -- --------- -- Natural cycle function Cos (A : Real) return Real is begin if A = 0.0 then return 1.0; elsif abs A < Square_Root_Epsilon then return 1.0; end if; return Real (Aux.Cos (Double (A))); end Cos; -- Arbitrary cycle function Cos (A, Cycle : Real) return Real is T : Real'Base; begin if Cycle <= 0.0 then raise Argument_Error; elsif A = 0.0 then return 1.0; end if; T := Exact_Remainder (abs (A), Cycle) / Cycle; if T = 0.25 or else T = 0.75 or else T = -0.25 or else T = -0.75 then return 0.0; elsif T = 0.5 or T = -0.5 then return -1.0; end if; return Real (Aux.Cos (Double (T * Two_Pi))); end Cos; ---------- -- Cosh -- ---------- function Cosh (A : Real) return Real is begin if abs A < Square_Root_Epsilon then return 1.0; elsif abs A > Log_Inverse_Epsilon then return Exp ((abs A) - Log_Two); end if; return Real (Aux.cosh (Double (A))); exception when others => raise Constraint_Error; end Cosh; --------- -- Cot -- --------- -- Natural cycle function Cot (A : Real) return Real is begin if A = 0.0 then raise Constraint_Error; elsif abs A < Square_Root_Epsilon then return 1.0 / A; end if; return Real (1.0 / Real'Base (Aux.tan (Double (A)))); end Cot; -- Arbitrary cycle function Cot (A, Cycle : Real) return Real is T : Real'Base; begin if Cycle <= 0.0 then raise Argument_Error; elsif A = 0.0 then raise Constraint_Error; elsif abs A < Square_Root_Epsilon then return 1.0 / A; end if; T := Exact_Remainder (A, Cycle) / Cycle; if T = 0.0 or T = 0.5 or T = -0.5 then raise Constraint_Error; else return Cos (T * Two_Pi) / Sin (T * Two_Pi); end if; end Cot; ---------- -- Coth -- ---------- function Coth (A : Real) return Real is begin if A = 0.0 then raise Constraint_Error; elsif A < Half_Log_Epsilon then return -1.0; elsif A > -Half_Log_Epsilon then return 1.0; elsif abs A < Square_Root_Epsilon then return 1.0 / A; end if; return Real (1.0 / Real'Base (Aux.tanh (Double (A)))); end Coth; --------------------- -- Exact_Remainder -- --------------------- function Exact_Remainder (A : Real; Y : Real) return Real is Denominator : Real'Base := abs A; Divisor : Real'Base := abs Y; Reducer : Real'Base; Sign : Real'Base := 1.0; begin if Y = 0.0 then raise Constraint_Error; elsif A = 0.0 then return 0.0; elsif A = Y then return 0.0; elsif Denominator < Divisor then return A; end if; while Denominator >= Divisor loop -- Put divisors mantissa with denominators exponent to make reducer Reducer := Divisor; begin while Reducer * 1_048_576.0 < Denominator loop Reducer := Reducer * 1_048_576.0; end loop; exception when others => null; end; begin while Reducer * 1_024.0 < Denominator loop Reducer := Reducer * 1_024.0; end loop; exception when others => null; end; begin while Reducer * 2.0 < Denominator loop Reducer := Reducer * 2.0; end loop; exception when others => null; end; Denominator := Denominator - Reducer; end loop; if A < 0.0 then return -Denominator; else return Denominator; end if; end Exact_Remainder; --------- -- Exp -- --------- function Exp (A : Real) return Real is Result : Real'Base; begin if A = 0.0 then return 1.0; else Result := Real (Aux.Exp (Double (A))); -- The check here catches the case of Exp returning IEEE infinity if Result > Real'Last then raise Constraint_Error; else return Result; end if; end if; end Exp; ---------------------- -- Half_Log_Epsilon -- ---------------------- -- Cannot precompute this constant, because this is required to be a -- pure package, which allows no state. A pity, but no way around it! function Half_Log_Epsilon return Real is begin return Real (0.5 * Real'Base (Aux.Log (DEpsilon))); end Half_Log_Epsilon; ---------------- -- Local_Atan -- ---------------- function Local_Atan (Y : Real; A : Real := 1.0) return Real is Z : Real'Base; Raw_Atan : Real'Base; begin if abs Y > abs A then Z := abs (A / Y); else Z := abs (Y / A); end if; if Z < Square_Root_Epsilon then Raw_Atan := Z; elsif Z = 1.0 then Raw_Atan := Pi / 4.0; elsif Z < Square_Root_Epsilon then Raw_Atan := Z; else Raw_Atan := Real'Base (Aux.Atan (Double (Z))); end if; if abs Y > abs A then Raw_Atan := Half_Pi - Raw_Atan; end if; if A > 0.0 then if Y > 0.0 then return Raw_Atan; else -- Y < 0.0 return -Raw_Atan; end if; else -- A < 0.0 if Y > 0.0 then return Pi - Raw_Atan; else -- Y < 0.0 return -(Pi - Raw_Atan); end if; end if; end Local_Atan; --------- -- Log -- --------- -- Natural base function Log (A : Real) return Real is begin if A < 0.0 then raise Argument_Error; elsif A = 0.0 then raise Constraint_Error; elsif A = 1.0 then return 0.0; end if; return Real (Aux.Log (Double (A))); end Log; -- Arbitrary base function Log (A, Base : Real) return Real is begin if A < 0.0 then raise Argument_Error; elsif Base <= 0.0 or else Base = 1.0 then raise Argument_Error; elsif A = 0.0 then raise Constraint_Error; elsif A = 1.0 then return 0.0; end if; return Real (Aux.Log (Double (A)) / Aux.Log (Double (Base))); end Log; ------------------------- -- Log_Inverse_Epsilon -- ------------------------- -- Cannot precompute this constant, because this is required to be a -- pure package, which allows no state. A pity, but no way around it! function Log_Inverse_Epsilon return Real is begin return Real (Aux.Log (DIEpsilon)); end Log_Inverse_Epsilon; --------- -- Sin -- --------- -- Natural cycle function Sin (A : Real) return Real is begin if abs A < Square_Root_Epsilon then return A; end if; return Real (Aux.Sin (Double (A))); end Sin; -- Arbitrary cycle function Sin (A, Cycle : Real) return Real is T : Real'Base; begin if Cycle <= 0.0 then raise Argument_Error; elsif A = 0.0 then return A; end if; T := Exact_Remainder (A, Cycle) / Cycle; if T = 0.0 or T = 0.5 or T = -0.5 then return 0.0; elsif T = 0.25 or T = -0.75 then return 1.0; elsif T = -0.25 or T = 0.75 then return -1.0; end if; return Real (Aux.Sin (Double (T * Two_Pi))); end Sin; ---------- -- Sinh -- ---------- function Sinh (A : Real) return Real is begin if abs A < Square_Root_Epsilon then return A; elsif A > Log_Inverse_Epsilon then return Exp (A - Log_Two); elsif A < -Log_Inverse_Epsilon then return -Exp ((-A) - Log_Two); end if; return Real (Aux.Sinh (Double (A))); exception when others => raise Constraint_Error; end Sinh; ------------------------- -- Square_Root_Epsilon -- ------------------------- -- Cannot precompute this constant, because this is required to be a -- pure package, which allows no state. A pity, but no way around it! function Square_Root_Epsilon return Real is begin return Real (Aux.Sqrt (DEpsilon)); end Square_Root_Epsilon; ---------- -- Sqrt -- ---------- function Sqrt (A : Real) return Real is begin if A < 0.0 then raise Argument_Error; -- Special case Sqrt (0.0) to preserve possible minus sign per IEEE elsif A = 0.0 then return A; -- Sqrt (1.0) must be exact for good complex accuracy elsif A = 1.0 then return 1.0; end if; return Real (Aux.Sqrt (Double (A))); end Sqrt; --------- -- Tan -- --------- -- Natural cycle function Tan (A : Real) return Real is begin if abs A < Square_Root_Epsilon then return A; elsif abs A = Pi / 2.0 then raise Constraint_Error; end if; return Real (Aux.tan (Double (A))); end Tan; -- Arbitrary cycle function Tan (A, Cycle : Real) return Real is T : Real'Base; begin if Cycle <= 0.0 then raise Argument_Error; elsif A = 0.0 then return A; end if; T := Exact_Remainder (A, Cycle) / Cycle; if T = 0.25 or else T = 0.75 or else T = -0.25 or else T = -0.75 then raise Constraint_Error; else return Sin (T * Two_Pi) / Cos (T * Two_Pi); end if; end Tan; ---------- -- Tanh -- ---------- function Tanh (A : Real) return Real is begin if A < Half_Log_Epsilon then return -1.0; elsif A > -Half_Log_Epsilon then return 1.0; elsif abs A < Square_Root_Epsilon then return A; end if; return Real (Aux.tanh (Double (A))); end Tanh; ---------------------------- -- DEC-Specific functions -- ---------------------------- function LOG10 (A : REAL) return REAL is begin return Log (A, 10.0); end LOG10; function LOG2 (A : REAL) return REAL is begin return Log (A, 2.0); end LOG2; function ASIN (A : REAL) return REAL renames Arcsin; function ACOS (A : REAL) return REAL renames Arccos; function ATAN (A : REAL) return REAL is begin return Arctan (A, 1.0); end ATAN; function ATAN2 (A1, A2 : REAL) return REAL renames Arctan; function SIND (A : REAL) return REAL is begin return Sin (A, 360.0); end SIND; function COSD (A : REAL) return REAL is begin return Cos (A, 360.0); end COSD; function TAND (A : REAL) return REAL is begin return Tan (A, 360.0); end TAND; function ASIND (A : REAL) return REAL is begin return Arcsin (A, 360.0); end ASIND; function ACOSD (A : REAL) return REAL is begin return Arccos (A, 360.0); end ACOSD; function Arctan (A : REAL) return REAL is begin return Arctan (A, 1.0, 360.0); end Arctan; function ATAND (A : REAL) return REAL is begin return Arctan (A, 1.0, 360.0); end ATAND; function ATAN2D (A1, A2 : REAL) return REAL is begin return Arctan (A1, A2, 360.0); end ATAN2D; end Math_Lib;
-- Copyright (c) 2016 onox <denkpadje@gmail.com> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. with JSON.Types; with JSON.Streams; generic with package Types is new JSON.Types (<>); Check_Duplicate_Keys : Boolean := False; -- If enabled, raise a Constraint_Error when an object contains -- duplicate keys. Parsing a JSON text will be slower if enabled. package JSON.Parsers with SPARK_Mode => On is pragma Preelaborate; function Parse (Stream : aliased in out Streams.Stream'Class; Allocator : aliased in out Types.Memory_Allocator) return Types.JSON_Value; Parse_Error : exception; end JSON.Parsers;
pragma Ada_95; with System; package ada_modulemain is pragma Warnings (Off); procedure ada_moduleinit; pragma Export (C, ada_moduleinit, "ada_moduleinit"); procedure ada_modulefinal; pragma Export (C, ada_modulefinal, "ada_modulefinal"); type Version_32 is mod 2 ** 32; u00001 : constant Version_32 := 16#0a12e1a3#; pragma Export (C, u00001, "ada_moduleB"); u00002 : constant Version_32 := 16#dc6c5ee8#; pragma Export (C, u00002, "ada_moduleS"); -- BEGIN ELABORATION ORDER -- ada%s -- interfaces%s -- system%s -- system.case_util%s -- system.case_util%b -- system.htable%s -- system.img_int%s -- system.img_int%b -- system.parameters%s -- system.parameters%b -- system.crtl%s -- interfaces.c_streams%s -- interfaces.c_streams%b -- system.standard_library%s -- system.exceptions_debug%s -- system.exceptions_debug%b -- system.storage_elements%s -- system.storage_elements%b -- system.stack_checking%s -- system.stack_checking%b -- system.string_hash%s -- system.string_hash%b -- system.htable%b -- system.strings%s -- system.strings%b -- system.os_lib%s -- system.traceback_entries%s -- system.traceback_entries%b -- ada.exceptions%s -- system.soft_links%s -- system.unsigned_types%s -- system.val_llu%s -- system.val_util%s -- system.val_util%b -- system.val_llu%b -- system.wch_con%s -- system.wch_con%b -- system.wch_cnv%s -- system.wch_jis%s -- system.wch_jis%b -- system.wch_cnv%b -- system.wch_stw%s -- system.wch_stw%b -- ada.exceptions.last_chance_handler%s -- ada.exceptions.last_chance_handler%b -- system.exception_table%s -- system.exception_table%b -- ada.io_exceptions%s -- ada.tags%s -- ada.streams%s -- ada.streams%b -- interfaces.c%s -- system.exceptions%s -- system.exceptions%b -- system.exceptions.machine%s -- system.file_control_block%s -- system.file_io%s -- system.finalization_root%s -- system.finalization_root%b -- ada.finalization%s -- ada.finalization%b -- system.memory%s -- system.memory%b -- system.standard_library%b -- system.secondary_stack%s -- system.file_io%b -- interfaces.c%b -- ada.tags%b -- system.soft_links%b -- system.os_lib%b -- system.secondary_stack%b -- system.traceback%s -- ada.exceptions%b -- system.traceback%b -- ada.text_io%s -- ada.text_io%b -- ada_module%s -- ada_module%b -- END ELABORATION ORDER end ada_modulemain;
-- -- Copyright (C) 2015-2016 secunet Security Networks AG -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- with HW.GFX.GMA.Registers; with HW.Debug; with GNAT.Source_Info; package body HW.GFX.GMA.PCH.HDMI is PCH_HDMI_ENABLE : constant := 1 * 2 ** 31; PCH_HDMI_COLOR_FORMAT_8BPC : constant := 0 * 2 ** 26; PCH_HDMI_COLOR_FORMAT_12BPC : constant := 3 * 2 ** 26; PCH_HDMI_COLOR_FORMAT_MASK : constant := 7 * 2 ** 26; PCH_HDMI_SDVO_ENCODING_SDVO : constant := 0 * 2 ** 10; PCH_HDMI_SDVO_ENCODING_HDMI : constant := 2 * 2 ** 10; PCH_HDMI_SDVO_ENCODING_MASK : constant := 3 * 2 ** 10; PCH_HDMI_VSYNC_ACTIVE_HIGH : constant := 1 * 2 ** 4; PCH_HDMI_HSYNC_ACTIVE_HIGH : constant := 1 * 2 ** 3; PCH_HDMI_PORT_DETECT : constant := 1 * 2 ** 2; PCH_HDMI_MASK : constant Word32 := PCH_TRANSCODER_SELECT_MASK or PCH_HDMI_ENABLE or PCH_HDMI_COLOR_FORMAT_MASK or PCH_HDMI_SDVO_ENCODING_MASK or PCH_HDMI_HSYNC_ACTIVE_HIGH or PCH_HDMI_VSYNC_ACTIVE_HIGH; type PCH_HDMI_Array is array (PCH_HDMI_Port) of Registers.Registers_Index; PCH_HDMI : constant PCH_HDMI_Array := PCH_HDMI_Array' (PCH_HDMI_B => Registers.PCH_HDMIB, PCH_HDMI_C => Registers.PCH_HDMIC, PCH_HDMI_D => Registers.PCH_HDMID); ---------------------------------------------------------------------------- procedure On (Port_Cfg : Port_Config; FDI_Port : FDI_Port_Type) is Polarity : constant Word32 := (if Port_Cfg.Mode.H_Sync_Active_High then PCH_HDMI_HSYNC_ACTIVE_HIGH else 0) or (if Port_Cfg.Mode.V_Sync_Active_High then PCH_HDMI_VSYNC_ACTIVE_HIGH else 0); begin pragma Debug (Debug.Put_Line (GNAT.Source_Info.Enclosing_Entity)); -- registers are just sufficient for setup with DVI adaptor Registers.Unset_And_Set_Mask (Register => PCH_HDMI (Port_Cfg.PCH_Port), Mask_Unset => PCH_HDMI_MASK, Mask_Set => PCH_HDMI_ENABLE or PCH_TRANSCODER_SELECT (FDI_Port) or PCH_HDMI_SDVO_ENCODING_HDMI or Polarity); end On; ---------------------------------------------------------------------------- procedure Off (Port : PCH_HDMI_Port) is begin pragma Debug (Debug.Put_Line (GNAT.Source_Info.Enclosing_Entity)); Registers.Unset_And_Set_Mask (Register => PCH_HDMI (Port), Mask_Unset => PCH_HDMI_MASK, Mask_Set => PCH_HDMI_HSYNC_ACTIVE_HIGH or PCH_HDMI_VSYNC_ACTIVE_HIGH); end Off; procedure All_Off is begin pragma Debug (Debug.Put_Line (GNAT.Source_Info.Enclosing_Entity)); for Port in PCH_HDMI_Port loop Off (Port); end loop; end All_Off; end HW.GFX.GMA.PCH.HDMI;
----------------------------------------------------------------------- -- AWA.Events.Models -- AWA.Events.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-body.xhtml -- Ada Generator: https://ada-gen.googlecode.com/svn/trunk Revision 1095 ----------------------------------------------------------------------- -- Copyright (C) 2013 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Ada.Unchecked_Deallocation; with Util.Beans.Objects.Time; package body AWA.Events.Models is use type ADO.Objects.Object_Record_Access; use type ADO.Objects.Object_Ref; use type ADO.Objects.Object_Record; function Message_Type_Key (Id : in ADO.Identifier) return ADO.Objects.Object_Key is Result : ADO.Objects.Object_Key (Of_Type => ADO.Objects.KEY_INTEGER, Of_Class => MESSAGE_TYPE_DEF'Access); begin ADO.Objects.Set_Value (Result, Id); return Result; end Message_Type_Key; function Message_Type_Key (Id : in String) return ADO.Objects.Object_Key is Result : ADO.Objects.Object_Key (Of_Type => ADO.Objects.KEY_INTEGER, Of_Class => MESSAGE_TYPE_DEF'Access); begin ADO.Objects.Set_Value (Result, Id); return Result; end Message_Type_Key; function "=" (Left, Right : Message_Type_Ref'Class) return Boolean is begin return ADO.Objects.Object_Ref'Class (Left) = ADO.Objects.Object_Ref'Class (Right); end "="; procedure Set_Field (Object : in out Message_Type_Ref'Class; Impl : out Message_Type_Access) is Result : ADO.Objects.Object_Record_Access; begin Object.Prepare_Modify (Result); Impl := Message_Type_Impl (Result.all)'Access; end Set_Field; -- Internal method to allocate the Object_Record instance procedure Allocate (Object : in out Message_Type_Ref) is Impl : Message_Type_Access; begin Impl := new Message_Type_Impl; ADO.Objects.Set_Object (Object, Impl.all'Access); end Allocate; -- ---------------------------------------- -- Data object: Message_Type -- ---------------------------------------- procedure Set_Id (Object : in out Message_Type_Ref; Value : in ADO.Identifier) is Impl : Message_Type_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Key_Value (Impl.all, 1, Value); end Set_Id; function Get_Id (Object : in Message_Type_Ref) return ADO.Identifier is Impl : constant Message_Type_Access := Message_Type_Impl (Object.Get_Object.all)'Access; begin return Impl.Get_Key_Value; end Get_Id; procedure Set_Name (Object : in out Message_Type_Ref; Value : in String) is Impl : Message_Type_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_String (Impl.all, 2, Impl.Name, Value); end Set_Name; procedure Set_Name (Object : in out Message_Type_Ref; Value : in Ada.Strings.Unbounded.Unbounded_String) is Impl : Message_Type_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Unbounded_String (Impl.all, 2, Impl.Name, Value); end Set_Name; function Get_Name (Object : in Message_Type_Ref) return String is begin return Ada.Strings.Unbounded.To_String (Object.Get_Name); end Get_Name; function Get_Name (Object : in Message_Type_Ref) return Ada.Strings.Unbounded.Unbounded_String is Impl : constant Message_Type_Access := Message_Type_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Name; end Get_Name; -- Copy of the object. procedure Copy (Object : in Message_Type_Ref; Into : in out Message_Type_Ref) is Result : Message_Type_Ref; begin if not Object.Is_Null then declare Impl : constant Message_Type_Access := Message_Type_Impl (Object.Get_Load_Object.all)'Access; Copy : constant Message_Type_Access := new Message_Type_Impl; begin ADO.Objects.Set_Object (Result, Copy.all'Access); Copy.Copy (Impl.all); Copy.Name := Impl.Name; end; end if; Into := Result; end Copy; procedure Find (Object : in out Message_Type_Ref; Session : in out ADO.Sessions.Session'Class; Query : in ADO.SQL.Query'Class; Found : out Boolean) is Impl : constant Message_Type_Access := new Message_Type_Impl; begin Impl.Find (Session, Query, Found); if Found then ADO.Objects.Set_Object (Object, Impl.all'Access); else ADO.Objects.Set_Object (Object, null); Destroy (Impl); end if; end Find; procedure Load (Object : in out Message_Type_Ref; Session : in out ADO.Sessions.Session'Class; Id : in ADO.Identifier) is Impl : constant Message_Type_Access := new Message_Type_Impl; Found : Boolean; Query : ADO.SQL.Query; begin Query.Bind_Param (Position => 1, Value => Id); Query.Set_Filter ("id = ?"); Impl.Find (Session, Query, Found); if not Found then Destroy (Impl); raise ADO.Objects.NOT_FOUND; end if; ADO.Objects.Set_Object (Object, Impl.all'Access); end Load; procedure Load (Object : in out Message_Type_Ref; Session : in out ADO.Sessions.Session'Class; Id : in ADO.Identifier; Found : out Boolean) is Impl : constant Message_Type_Access := new Message_Type_Impl; Query : ADO.SQL.Query; begin Query.Bind_Param (Position => 1, Value => Id); Query.Set_Filter ("id = ?"); Impl.Find (Session, Query, Found); if not Found then Destroy (Impl); else ADO.Objects.Set_Object (Object, Impl.all'Access); end if; end Load; procedure Save (Object : in out Message_Type_Ref; Session : in out ADO.Sessions.Master_Session'Class) is Impl : ADO.Objects.Object_Record_Access := Object.Get_Object; begin if Impl = null then Impl := new Message_Type_Impl; ADO.Objects.Set_Object (Object, Impl); end if; if not ADO.Objects.Is_Created (Impl.all) then Impl.Create (Session); else Impl.Save (Session); end if; end Save; procedure Delete (Object : in out Message_Type_Ref; Session : in out ADO.Sessions.Master_Session'Class) is Impl : constant ADO.Objects.Object_Record_Access := Object.Get_Object; begin if Impl /= null then Impl.Delete (Session); end if; end Delete; -- -------------------- -- Free the object -- -------------------- procedure Destroy (Object : access Message_Type_Impl) is type Message_Type_Impl_Ptr is access all Message_Type_Impl; procedure Unchecked_Free is new Ada.Unchecked_Deallocation (Message_Type_Impl, Message_Type_Impl_Ptr); pragma Warnings (Off, "*redundant conversion*"); Ptr : Message_Type_Impl_Ptr := Message_Type_Impl (Object.all)'Access; pragma Warnings (On, "*redundant conversion*"); begin Unchecked_Free (Ptr); end Destroy; procedure Find (Object : in out Message_Type_Impl; Session : in out ADO.Sessions.Session'Class; Query : in ADO.SQL.Query'Class; Found : out Boolean) is Stmt : ADO.Statements.Query_Statement := Session.Create_Statement (Query, MESSAGE_TYPE_DEF'Access); begin Stmt.Execute; if Stmt.Has_Elements then Object.Load (Stmt, Session); Stmt.Next; Found := not Stmt.Has_Elements; else Found := False; end if; end Find; overriding procedure Load (Object : in out Message_Type_Impl; Session : in out ADO.Sessions.Session'Class) is Found : Boolean; Query : ADO.SQL.Query; Id : constant ADO.Identifier := Object.Get_Key_Value; begin Query.Bind_Param (Position => 1, Value => Id); Query.Set_Filter ("id = ?"); Object.Find (Session, Query, Found); if not Found then raise ADO.Objects.NOT_FOUND; end if; end Load; procedure Save (Object : in out Message_Type_Impl; Session : in out ADO.Sessions.Master_Session'Class) is Stmt : ADO.Statements.Update_Statement := Session.Create_Statement (MESSAGE_TYPE_DEF'Access); begin if Object.Is_Modified (1) then Stmt.Save_Field (Name => COL_0_1_NAME, -- id Value => Object.Get_Key); Object.Clear_Modified (1); end if; if Object.Is_Modified (2) then Stmt.Save_Field (Name => COL_1_1_NAME, -- name Value => Object.Name); Object.Clear_Modified (2); end if; if Stmt.Has_Save_Fields then Stmt.Set_Filter (Filter => "id = ?"); Stmt.Add_Param (Value => Object.Get_Key); declare Result : Integer; begin Stmt.Execute (Result); if Result /= 1 then if Result /= 0 then raise ADO.Objects.UPDATE_ERROR; end if; end if; end; end if; end Save; procedure Create (Object : in out Message_Type_Impl; Session : in out ADO.Sessions.Master_Session'Class) is Query : ADO.Statements.Insert_Statement := Session.Create_Statement (MESSAGE_TYPE_DEF'Access); Result : Integer; begin Session.Allocate (Id => Object); Query.Save_Field (Name => COL_0_1_NAME, -- id Value => Object.Get_Key); Query.Save_Field (Name => COL_1_1_NAME, -- name Value => Object.Name); Query.Execute (Result); if Result /= 1 then raise ADO.Objects.INSERT_ERROR; end if; ADO.Objects.Set_Created (Object); end Create; procedure Delete (Object : in out Message_Type_Impl; Session : in out ADO.Sessions.Master_Session'Class) is Stmt : ADO.Statements.Delete_Statement := Session.Create_Statement (MESSAGE_TYPE_DEF'Access); begin Stmt.Set_Filter (Filter => "id = ?"); Stmt.Add_Param (Value => Object.Get_Key); Stmt.Execute; end Delete; function Get_Value (From : in Message_Type_Ref; Name : in String) return Util.Beans.Objects.Object is Obj : constant ADO.Objects.Object_Record_Access := From.Get_Load_Object; Impl : access Message_Type_Impl; begin if Obj = null then return Util.Beans.Objects.Null_Object; end if; Impl := Message_Type_Impl (Obj.all)'Access; if Name = "id" then return ADO.Objects.To_Object (Impl.Get_Key); elsif Name = "name" then return Util.Beans.Objects.To_Object (Impl.Name); end if; return Util.Beans.Objects.Null_Object; end Get_Value; procedure List (Object : in out Message_Type_Vector; Session : in out ADO.Sessions.Session'Class; Query : in ADO.SQL.Query'Class) is Stmt : ADO.Statements.Query_Statement := Session.Create_Statement (Query, MESSAGE_TYPE_DEF'Access); begin Stmt.Execute; Message_Type_Vectors.Clear (Object); while Stmt.Has_Elements loop declare Item : Message_Type_Ref; Impl : constant Message_Type_Access := new Message_Type_Impl; begin Impl.Load (Stmt, Session); ADO.Objects.Set_Object (Item, Impl.all'Access); Object.Append (Item); end; Stmt.Next; end loop; end List; -- ------------------------------ -- Load the object from current iterator position -- ------------------------------ procedure Load (Object : in out Message_Type_Impl; Stmt : in out ADO.Statements.Query_Statement'Class; Session : in out ADO.Sessions.Session'Class) is pragma Unreferenced (Session); begin Object.Set_Key_Value (Stmt.Get_Identifier (0)); Object.Name := Stmt.Get_Unbounded_String (1); ADO.Objects.Set_Created (Object); end Load; function Queue_Key (Id : in ADO.Identifier) return ADO.Objects.Object_Key is Result : ADO.Objects.Object_Key (Of_Type => ADO.Objects.KEY_INTEGER, Of_Class => QUEUE_DEF'Access); begin ADO.Objects.Set_Value (Result, Id); return Result; end Queue_Key; function Queue_Key (Id : in String) return ADO.Objects.Object_Key is Result : ADO.Objects.Object_Key (Of_Type => ADO.Objects.KEY_INTEGER, Of_Class => QUEUE_DEF'Access); begin ADO.Objects.Set_Value (Result, Id); return Result; end Queue_Key; function "=" (Left, Right : Queue_Ref'Class) return Boolean is begin return ADO.Objects.Object_Ref'Class (Left) = ADO.Objects.Object_Ref'Class (Right); end "="; procedure Set_Field (Object : in out Queue_Ref'Class; Impl : out Queue_Access) is Result : ADO.Objects.Object_Record_Access; begin Object.Prepare_Modify (Result); Impl := Queue_Impl (Result.all)'Access; end Set_Field; -- Internal method to allocate the Object_Record instance procedure Allocate (Object : in out Queue_Ref) is Impl : Queue_Access; begin Impl := new Queue_Impl; Impl.Server_Id := 0; ADO.Objects.Set_Object (Object, Impl.all'Access); end Allocate; -- ---------------------------------------- -- Data object: Queue -- ---------------------------------------- procedure Set_Id (Object : in out Queue_Ref; Value : in ADO.Identifier) is Impl : Queue_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Key_Value (Impl.all, 1, Value); end Set_Id; function Get_Id (Object : in Queue_Ref) return ADO.Identifier is Impl : constant Queue_Access := Queue_Impl (Object.Get_Object.all)'Access; begin return Impl.Get_Key_Value; end Get_Id; procedure Set_Server_Id (Object : in out Queue_Ref; Value : in Integer) is Impl : Queue_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Integer (Impl.all, 2, Impl.Server_Id, Value); end Set_Server_Id; function Get_Server_Id (Object : in Queue_Ref) return Integer is Impl : constant Queue_Access := Queue_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Server_Id; end Get_Server_Id; procedure Set_Name (Object : in out Queue_Ref; Value : in String) is Impl : Queue_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_String (Impl.all, 3, Impl.Name, Value); end Set_Name; procedure Set_Name (Object : in out Queue_Ref; Value : in Ada.Strings.Unbounded.Unbounded_String) is Impl : Queue_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Unbounded_String (Impl.all, 3, Impl.Name, Value); end Set_Name; function Get_Name (Object : in Queue_Ref) return String is begin return Ada.Strings.Unbounded.To_String (Object.Get_Name); end Get_Name; function Get_Name (Object : in Queue_Ref) return Ada.Strings.Unbounded.Unbounded_String is Impl : constant Queue_Access := Queue_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Name; end Get_Name; -- Copy of the object. procedure Copy (Object : in Queue_Ref; Into : in out Queue_Ref) is Result : Queue_Ref; begin if not Object.Is_Null then declare Impl : constant Queue_Access := Queue_Impl (Object.Get_Load_Object.all)'Access; Copy : constant Queue_Access := new Queue_Impl; begin ADO.Objects.Set_Object (Result, Copy.all'Access); Copy.Copy (Impl.all); Copy.Server_Id := Impl.Server_Id; Copy.Name := Impl.Name; end; end if; Into := Result; end Copy; procedure Find (Object : in out Queue_Ref; Session : in out ADO.Sessions.Session'Class; Query : in ADO.SQL.Query'Class; Found : out Boolean) is Impl : constant Queue_Access := new Queue_Impl; begin Impl.Find (Session, Query, Found); if Found then ADO.Objects.Set_Object (Object, Impl.all'Access); else ADO.Objects.Set_Object (Object, null); Destroy (Impl); end if; end Find; procedure Load (Object : in out Queue_Ref; Session : in out ADO.Sessions.Session'Class; Id : in ADO.Identifier) is Impl : constant Queue_Access := new Queue_Impl; Found : Boolean; Query : ADO.SQL.Query; begin Query.Bind_Param (Position => 1, Value => Id); Query.Set_Filter ("id = ?"); Impl.Find (Session, Query, Found); if not Found then Destroy (Impl); raise ADO.Objects.NOT_FOUND; end if; ADO.Objects.Set_Object (Object, Impl.all'Access); end Load; procedure Load (Object : in out Queue_Ref; Session : in out ADO.Sessions.Session'Class; Id : in ADO.Identifier; Found : out Boolean) is Impl : constant Queue_Access := new Queue_Impl; Query : ADO.SQL.Query; begin Query.Bind_Param (Position => 1, Value => Id); Query.Set_Filter ("id = ?"); Impl.Find (Session, Query, Found); if not Found then Destroy (Impl); else ADO.Objects.Set_Object (Object, Impl.all'Access); end if; end Load; procedure Save (Object : in out Queue_Ref; Session : in out ADO.Sessions.Master_Session'Class) is Impl : ADO.Objects.Object_Record_Access := Object.Get_Object; begin if Impl = null then Impl := new Queue_Impl; ADO.Objects.Set_Object (Object, Impl); end if; if not ADO.Objects.Is_Created (Impl.all) then Impl.Create (Session); else Impl.Save (Session); end if; end Save; procedure Delete (Object : in out Queue_Ref; Session : in out ADO.Sessions.Master_Session'Class) is Impl : constant ADO.Objects.Object_Record_Access := Object.Get_Object; begin if Impl /= null then Impl.Delete (Session); end if; end Delete; -- -------------------- -- Free the object -- -------------------- procedure Destroy (Object : access Queue_Impl) is type Queue_Impl_Ptr is access all Queue_Impl; procedure Unchecked_Free is new Ada.Unchecked_Deallocation (Queue_Impl, Queue_Impl_Ptr); pragma Warnings (Off, "*redundant conversion*"); Ptr : Queue_Impl_Ptr := Queue_Impl (Object.all)'Access; pragma Warnings (On, "*redundant conversion*"); begin Unchecked_Free (Ptr); end Destroy; procedure Find (Object : in out Queue_Impl; Session : in out ADO.Sessions.Session'Class; Query : in ADO.SQL.Query'Class; Found : out Boolean) is Stmt : ADO.Statements.Query_Statement := Session.Create_Statement (Query, QUEUE_DEF'Access); begin Stmt.Execute; if Stmt.Has_Elements then Object.Load (Stmt, Session); Stmt.Next; Found := not Stmt.Has_Elements; else Found := False; end if; end Find; overriding procedure Load (Object : in out Queue_Impl; Session : in out ADO.Sessions.Session'Class) is Found : Boolean; Query : ADO.SQL.Query; Id : constant ADO.Identifier := Object.Get_Key_Value; begin Query.Bind_Param (Position => 1, Value => Id); Query.Set_Filter ("id = ?"); Object.Find (Session, Query, Found); if not Found then raise ADO.Objects.NOT_FOUND; end if; end Load; procedure Save (Object : in out Queue_Impl; Session : in out ADO.Sessions.Master_Session'Class) is Stmt : ADO.Statements.Update_Statement := Session.Create_Statement (QUEUE_DEF'Access); begin if Object.Is_Modified (1) then Stmt.Save_Field (Name => COL_0_2_NAME, -- id Value => Object.Get_Key); Object.Clear_Modified (1); end if; if Object.Is_Modified (2) then Stmt.Save_Field (Name => COL_1_2_NAME, -- server_id Value => Object.Server_Id); Object.Clear_Modified (2); end if; if Object.Is_Modified (3) then Stmt.Save_Field (Name => COL_2_2_NAME, -- name Value => Object.Name); Object.Clear_Modified (3); end if; if Stmt.Has_Save_Fields then Stmt.Set_Filter (Filter => "id = ?"); Stmt.Add_Param (Value => Object.Get_Key); declare Result : Integer; begin Stmt.Execute (Result); if Result /= 1 then if Result /= 0 then raise ADO.Objects.UPDATE_ERROR; end if; end if; end; end if; end Save; procedure Create (Object : in out Queue_Impl; Session : in out ADO.Sessions.Master_Session'Class) is Query : ADO.Statements.Insert_Statement := Session.Create_Statement (QUEUE_DEF'Access); Result : Integer; begin Session.Allocate (Id => Object); Query.Save_Field (Name => COL_0_2_NAME, -- id Value => Object.Get_Key); Query.Save_Field (Name => COL_1_2_NAME, -- server_id Value => Object.Server_Id); Query.Save_Field (Name => COL_2_2_NAME, -- name Value => Object.Name); Query.Execute (Result); if Result /= 1 then raise ADO.Objects.INSERT_ERROR; end if; ADO.Objects.Set_Created (Object); end Create; procedure Delete (Object : in out Queue_Impl; Session : in out ADO.Sessions.Master_Session'Class) is Stmt : ADO.Statements.Delete_Statement := Session.Create_Statement (QUEUE_DEF'Access); begin Stmt.Set_Filter (Filter => "id = ?"); Stmt.Add_Param (Value => Object.Get_Key); Stmt.Execute; end Delete; function Get_Value (From : in Queue_Ref; Name : in String) return Util.Beans.Objects.Object is Obj : constant ADO.Objects.Object_Record_Access := From.Get_Load_Object; Impl : access Queue_Impl; begin if Obj = null then return Util.Beans.Objects.Null_Object; end if; Impl := Queue_Impl (Obj.all)'Access; if Name = "id" then return ADO.Objects.To_Object (Impl.Get_Key); elsif Name = "server_id" then return Util.Beans.Objects.To_Object (Long_Long_Integer (Impl.Server_Id)); elsif Name = "name" then return Util.Beans.Objects.To_Object (Impl.Name); end if; return Util.Beans.Objects.Null_Object; end Get_Value; -- ------------------------------ -- Load the object from current iterator position -- ------------------------------ procedure Load (Object : in out Queue_Impl; Stmt : in out ADO.Statements.Query_Statement'Class; Session : in out ADO.Sessions.Session'Class) is pragma Unreferenced (Session); begin Object.Set_Key_Value (Stmt.Get_Identifier (0)); Object.Server_Id := Stmt.Get_Integer (1); Object.Name := Stmt.Get_Unbounded_String (2); ADO.Objects.Set_Created (Object); end Load; function Message_Key (Id : in ADO.Identifier) return ADO.Objects.Object_Key is Result : ADO.Objects.Object_Key (Of_Type => ADO.Objects.KEY_INTEGER, Of_Class => MESSAGE_DEF'Access); begin ADO.Objects.Set_Value (Result, Id); return Result; end Message_Key; function Message_Key (Id : in String) return ADO.Objects.Object_Key is Result : ADO.Objects.Object_Key (Of_Type => ADO.Objects.KEY_INTEGER, Of_Class => MESSAGE_DEF'Access); begin ADO.Objects.Set_Value (Result, Id); return Result; end Message_Key; function "=" (Left, Right : Message_Ref'Class) return Boolean is begin return ADO.Objects.Object_Ref'Class (Left) = ADO.Objects.Object_Ref'Class (Right); end "="; procedure Set_Field (Object : in out Message_Ref'Class; Impl : out Message_Access) is Result : ADO.Objects.Object_Record_Access; begin Object.Prepare_Modify (Result); Impl := Message_Impl (Result.all)'Access; end Set_Field; -- Internal method to allocate the Object_Record instance procedure Allocate (Object : in out Message_Ref) is Impl : Message_Access; begin Impl := new Message_Impl; Impl.Create_Date := ADO.DEFAULT_TIME; Impl.Priority := 0; Impl.Count := 0; Impl.Server_Id := 0; Impl.Task_Id := 0; Impl.Status := AWA.Events.Models.Message_Status_Type'First; Impl.Processing_Date.Is_Null := True; Impl.Version := 0; Impl.Entity_Id := ADO.NO_IDENTIFIER; Impl.Entity_Type := 0; Impl.Finish_Date.Is_Null := True; ADO.Objects.Set_Object (Object, Impl.all'Access); end Allocate; -- ---------------------------------------- -- Data object: Message -- ---------------------------------------- procedure Set_Id (Object : in out Message_Ref; Value : in ADO.Identifier) is Impl : Message_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Key_Value (Impl.all, 1, Value); end Set_Id; function Get_Id (Object : in Message_Ref) return ADO.Identifier is Impl : constant Message_Access := Message_Impl (Object.Get_Object.all)'Access; begin return Impl.Get_Key_Value; end Get_Id; procedure Set_Create_Date (Object : in out Message_Ref; Value : in Ada.Calendar.Time) is Impl : Message_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Time (Impl.all, 2, Impl.Create_Date, Value); end Set_Create_Date; function Get_Create_Date (Object : in Message_Ref) return Ada.Calendar.Time is Impl : constant Message_Access := Message_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Create_Date; end Get_Create_Date; procedure Set_Priority (Object : in out Message_Ref; Value : in Integer) is Impl : Message_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Integer (Impl.all, 3, Impl.Priority, Value); end Set_Priority; function Get_Priority (Object : in Message_Ref) return Integer is Impl : constant Message_Access := Message_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Priority; end Get_Priority; procedure Set_Count (Object : in out Message_Ref; Value : in Integer) is Impl : Message_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Integer (Impl.all, 4, Impl.Count, Value); end Set_Count; function Get_Count (Object : in Message_Ref) return Integer is Impl : constant Message_Access := Message_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Count; end Get_Count; procedure Set_Parameters (Object : in out Message_Ref; Value : in String) is Impl : Message_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_String (Impl.all, 5, Impl.Parameters, Value); end Set_Parameters; procedure Set_Parameters (Object : in out Message_Ref; Value : in Ada.Strings.Unbounded.Unbounded_String) is Impl : Message_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Unbounded_String (Impl.all, 5, Impl.Parameters, Value); end Set_Parameters; function Get_Parameters (Object : in Message_Ref) return String is begin return Ada.Strings.Unbounded.To_String (Object.Get_Parameters); end Get_Parameters; function Get_Parameters (Object : in Message_Ref) return Ada.Strings.Unbounded.Unbounded_String is Impl : constant Message_Access := Message_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Parameters; end Get_Parameters; procedure Set_Server_Id (Object : in out Message_Ref; Value : in Integer) is Impl : Message_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Integer (Impl.all, 6, Impl.Server_Id, Value); end Set_Server_Id; function Get_Server_Id (Object : in Message_Ref) return Integer is Impl : constant Message_Access := Message_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Server_Id; end Get_Server_Id; procedure Set_Task_Id (Object : in out Message_Ref; Value : in Integer) is Impl : Message_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Integer (Impl.all, 7, Impl.Task_Id, Value); end Set_Task_Id; function Get_Task_Id (Object : in Message_Ref) return Integer is Impl : constant Message_Access := Message_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Task_Id; end Get_Task_Id; procedure Set_Status (Object : in out Message_Ref; Value : in AWA.Events.Models.Message_Status_Type) is procedure Set_Field_Enum is new ADO.Objects.Set_Field_Operation (Message_Status_Type); Impl : Message_Access; begin Set_Field (Object, Impl); Set_Field_Enum (Impl.all, 8, Impl.Status, Value); end Set_Status; function Get_Status (Object : in Message_Ref) return AWA.Events.Models.Message_Status_Type is Impl : constant Message_Access := Message_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Status; end Get_Status; procedure Set_Processing_Date (Object : in out Message_Ref; Value : in ADO.Nullable_Time) is Impl : Message_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Time (Impl.all, 9, Impl.Processing_Date, Value); end Set_Processing_Date; function Get_Processing_Date (Object : in Message_Ref) return ADO.Nullable_Time is Impl : constant Message_Access := Message_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Processing_Date; end Get_Processing_Date; function Get_Version (Object : in Message_Ref) return Integer is Impl : constant Message_Access := Message_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Version; end Get_Version; procedure Set_Entity_Id (Object : in out Message_Ref; Value : in ADO.Identifier) is Impl : Message_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Identifier (Impl.all, 11, Impl.Entity_Id, Value); end Set_Entity_Id; function Get_Entity_Id (Object : in Message_Ref) return ADO.Identifier is Impl : constant Message_Access := Message_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Entity_Id; end Get_Entity_Id; procedure Set_Entity_Type (Object : in out Message_Ref; Value : in ADO.Entity_Type) is Impl : Message_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Entity_Type (Impl.all, 12, Impl.Entity_Type, Value); end Set_Entity_Type; function Get_Entity_Type (Object : in Message_Ref) return ADO.Entity_Type is Impl : constant Message_Access := Message_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Entity_Type; end Get_Entity_Type; procedure Set_Finish_Date (Object : in out Message_Ref; Value : in ADO.Nullable_Time) is Impl : Message_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Time (Impl.all, 13, Impl.Finish_Date, Value); end Set_Finish_Date; function Get_Finish_Date (Object : in Message_Ref) return ADO.Nullable_Time is Impl : constant Message_Access := Message_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Finish_Date; end Get_Finish_Date; procedure Set_Queue (Object : in out Message_Ref; Value : in AWA.Events.Models.Queue_Ref'Class) is Impl : Message_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Object (Impl.all, 14, Impl.Queue, Value); end Set_Queue; function Get_Queue (Object : in Message_Ref) return AWA.Events.Models.Queue_Ref'Class is Impl : constant Message_Access := Message_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Queue; end Get_Queue; procedure Set_Message_Type (Object : in out Message_Ref; Value : in AWA.Events.Models.Message_Type_Ref'Class) is Impl : Message_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Object (Impl.all, 15, Impl.Message_Type, Value); end Set_Message_Type; function Get_Message_Type (Object : in Message_Ref) return AWA.Events.Models.Message_Type_Ref'Class is Impl : constant Message_Access := Message_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Message_Type; end Get_Message_Type; procedure Set_User (Object : in out Message_Ref; Value : in AWA.Users.Models.User_Ref'Class) is Impl : Message_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Object (Impl.all, 16, Impl.User, Value); end Set_User; function Get_User (Object : in Message_Ref) return AWA.Users.Models.User_Ref'Class is Impl : constant Message_Access := Message_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.User; end Get_User; procedure Set_Session (Object : in out Message_Ref; Value : in AWA.Users.Models.Session_Ref'Class) is Impl : Message_Access; begin Set_Field (Object, Impl); ADO.Objects.Set_Field_Object (Impl.all, 17, Impl.Session, Value); end Set_Session; function Get_Session (Object : in Message_Ref) return AWA.Users.Models.Session_Ref'Class is Impl : constant Message_Access := Message_Impl (Object.Get_Load_Object.all)'Access; begin return Impl.Session; end Get_Session; -- Copy of the object. procedure Copy (Object : in Message_Ref; Into : in out Message_Ref) is Result : Message_Ref; begin if not Object.Is_Null then declare Impl : constant Message_Access := Message_Impl (Object.Get_Load_Object.all)'Access; Copy : constant Message_Access := new Message_Impl; begin ADO.Objects.Set_Object (Result, Copy.all'Access); Copy.Copy (Impl.all); Copy.Create_Date := Impl.Create_Date; Copy.Priority := Impl.Priority; Copy.Count := Impl.Count; Copy.Parameters := Impl.Parameters; Copy.Server_Id := Impl.Server_Id; Copy.Task_Id := Impl.Task_Id; Copy.Status := Impl.Status; Copy.Processing_Date := Impl.Processing_Date; Copy.Version := Impl.Version; Copy.Entity_Id := Impl.Entity_Id; Copy.Entity_Type := Impl.Entity_Type; Copy.Finish_Date := Impl.Finish_Date; Copy.Queue := Impl.Queue; Copy.Message_Type := Impl.Message_Type; Copy.User := Impl.User; Copy.Session := Impl.Session; end; end if; Into := Result; end Copy; procedure Find (Object : in out Message_Ref; Session : in out ADO.Sessions.Session'Class; Query : in ADO.SQL.Query'Class; Found : out Boolean) is Impl : constant Message_Access := new Message_Impl; begin Impl.Find (Session, Query, Found); if Found then ADO.Objects.Set_Object (Object, Impl.all'Access); else ADO.Objects.Set_Object (Object, null); Destroy (Impl); end if; end Find; procedure Load (Object : in out Message_Ref; Session : in out ADO.Sessions.Session'Class; Id : in ADO.Identifier) is Impl : constant Message_Access := new Message_Impl; Found : Boolean; Query : ADO.SQL.Query; begin Query.Bind_Param (Position => 1, Value => Id); Query.Set_Filter ("id = ?"); Impl.Find (Session, Query, Found); if not Found then Destroy (Impl); raise ADO.Objects.NOT_FOUND; end if; ADO.Objects.Set_Object (Object, Impl.all'Access); end Load; procedure Load (Object : in out Message_Ref; Session : in out ADO.Sessions.Session'Class; Id : in ADO.Identifier; Found : out Boolean) is Impl : constant Message_Access := new Message_Impl; Query : ADO.SQL.Query; begin Query.Bind_Param (Position => 1, Value => Id); Query.Set_Filter ("id = ?"); Impl.Find (Session, Query, Found); if not Found then Destroy (Impl); else ADO.Objects.Set_Object (Object, Impl.all'Access); end if; end Load; procedure Save (Object : in out Message_Ref; Session : in out ADO.Sessions.Master_Session'Class) is Impl : ADO.Objects.Object_Record_Access := Object.Get_Object; begin if Impl = null then Impl := new Message_Impl; ADO.Objects.Set_Object (Object, Impl); end if; if not ADO.Objects.Is_Created (Impl.all) then Impl.Create (Session); else Impl.Save (Session); end if; end Save; procedure Delete (Object : in out Message_Ref; Session : in out ADO.Sessions.Master_Session'Class) is Impl : constant ADO.Objects.Object_Record_Access := Object.Get_Object; begin if Impl /= null then Impl.Delete (Session); end if; end Delete; -- -------------------- -- Free the object -- -------------------- procedure Destroy (Object : access Message_Impl) is type Message_Impl_Ptr is access all Message_Impl; procedure Unchecked_Free is new Ada.Unchecked_Deallocation (Message_Impl, Message_Impl_Ptr); pragma Warnings (Off, "*redundant conversion*"); Ptr : Message_Impl_Ptr := Message_Impl (Object.all)'Access; pragma Warnings (On, "*redundant conversion*"); begin Unchecked_Free (Ptr); end Destroy; procedure Find (Object : in out Message_Impl; Session : in out ADO.Sessions.Session'Class; Query : in ADO.SQL.Query'Class; Found : out Boolean) is Stmt : ADO.Statements.Query_Statement := Session.Create_Statement (Query, MESSAGE_DEF'Access); begin Stmt.Execute; if Stmt.Has_Elements then Object.Load (Stmt, Session); Stmt.Next; Found := not Stmt.Has_Elements; else Found := False; end if; end Find; overriding procedure Load (Object : in out Message_Impl; Session : in out ADO.Sessions.Session'Class) is Found : Boolean; Query : ADO.SQL.Query; Id : constant ADO.Identifier := Object.Get_Key_Value; begin Query.Bind_Param (Position => 1, Value => Id); Query.Set_Filter ("id = ?"); Object.Find (Session, Query, Found); if not Found then raise ADO.Objects.NOT_FOUND; end if; end Load; procedure Save (Object : in out Message_Impl; Session : in out ADO.Sessions.Master_Session'Class) is Stmt : ADO.Statements.Update_Statement := Session.Create_Statement (MESSAGE_DEF'Access); begin if Object.Is_Modified (1) then Stmt.Save_Field (Name => COL_0_3_NAME, -- id Value => Object.Get_Key); Object.Clear_Modified (1); end if; if Object.Is_Modified (2) then Stmt.Save_Field (Name => COL_1_3_NAME, -- create_date Value => Object.Create_Date); Object.Clear_Modified (2); end if; if Object.Is_Modified (3) then Stmt.Save_Field (Name => COL_2_3_NAME, -- priority Value => Object.Priority); Object.Clear_Modified (3); end if; if Object.Is_Modified (4) then Stmt.Save_Field (Name => COL_3_3_NAME, -- count Value => Object.Count); Object.Clear_Modified (4); end if; if Object.Is_Modified (5) then Stmt.Save_Field (Name => COL_4_3_NAME, -- parameters Value => Object.Parameters); Object.Clear_Modified (5); end if; if Object.Is_Modified (6) then Stmt.Save_Field (Name => COL_5_3_NAME, -- server_id Value => Object.Server_Id); Object.Clear_Modified (6); end if; if Object.Is_Modified (7) then Stmt.Save_Field (Name => COL_6_3_NAME, -- task_id Value => Object.Task_Id); Object.Clear_Modified (7); end if; if Object.Is_Modified (8) then Stmt.Save_Field (Name => COL_7_3_NAME, -- status Value => Integer (Message_Status_Type'Pos (Object.Status))); Object.Clear_Modified (8); end if; if Object.Is_Modified (9) then Stmt.Save_Field (Name => COL_8_3_NAME, -- processing_date Value => Object.Processing_Date); Object.Clear_Modified (9); end if; if Object.Is_Modified (11) then Stmt.Save_Field (Name => COL_10_3_NAME, -- entity_id Value => Object.Entity_Id); Object.Clear_Modified (11); end if; if Object.Is_Modified (12) then Stmt.Save_Field (Name => COL_11_3_NAME, -- entity_type Value => Object.Entity_Type); Object.Clear_Modified (12); end if; if Object.Is_Modified (13) then Stmt.Save_Field (Name => COL_12_3_NAME, -- finish_date Value => Object.Finish_Date); Object.Clear_Modified (13); end if; if Object.Is_Modified (14) then Stmt.Save_Field (Name => COL_13_3_NAME, -- queue_id Value => Object.Queue); Object.Clear_Modified (14); end if; if Object.Is_Modified (15) then Stmt.Save_Field (Name => COL_14_3_NAME, -- message_type_id Value => Object.Message_Type); Object.Clear_Modified (15); end if; if Object.Is_Modified (16) then Stmt.Save_Field (Name => COL_15_3_NAME, -- user_id Value => Object.User); Object.Clear_Modified (16); end if; if Object.Is_Modified (17) then Stmt.Save_Field (Name => COL_16_3_NAME, -- session_id Value => Object.Session); Object.Clear_Modified (17); end if; if Stmt.Has_Save_Fields then Object.Version := Object.Version + 1; Stmt.Save_Field (Name => "version", Value => Object.Version); Stmt.Set_Filter (Filter => "id = ? and version = ?"); Stmt.Add_Param (Value => Object.Get_Key); Stmt.Add_Param (Value => Object.Version - 1); declare Result : Integer; begin Stmt.Execute (Result); if Result /= 1 then if Result /= 0 then raise ADO.Objects.UPDATE_ERROR; else raise ADO.Objects.LAZY_LOCK; end if; end if; end; end if; end Save; procedure Create (Object : in out Message_Impl; Session : in out ADO.Sessions.Master_Session'Class) is Query : ADO.Statements.Insert_Statement := Session.Create_Statement (MESSAGE_DEF'Access); Result : Integer; begin Object.Version := 1; Session.Allocate (Id => Object); Query.Save_Field (Name => COL_0_3_NAME, -- id Value => Object.Get_Key); Query.Save_Field (Name => COL_1_3_NAME, -- create_date Value => Object.Create_Date); Query.Save_Field (Name => COL_2_3_NAME, -- priority Value => Object.Priority); Query.Save_Field (Name => COL_3_3_NAME, -- count Value => Object.Count); Query.Save_Field (Name => COL_4_3_NAME, -- parameters Value => Object.Parameters); Query.Save_Field (Name => COL_5_3_NAME, -- server_id Value => Object.Server_Id); Query.Save_Field (Name => COL_6_3_NAME, -- task_id Value => Object.Task_Id); Query.Save_Field (Name => COL_7_3_NAME, -- status Value => Integer (Message_Status_Type'Pos (Object.Status))); Query.Save_Field (Name => COL_8_3_NAME, -- processing_date Value => Object.Processing_Date); Query.Save_Field (Name => COL_9_3_NAME, -- version Value => Object.Version); Query.Save_Field (Name => COL_10_3_NAME, -- entity_id Value => Object.Entity_Id); Query.Save_Field (Name => COL_11_3_NAME, -- entity_type Value => Object.Entity_Type); Query.Save_Field (Name => COL_12_3_NAME, -- finish_date Value => Object.Finish_Date); Query.Save_Field (Name => COL_13_3_NAME, -- queue_id Value => Object.Queue); Query.Save_Field (Name => COL_14_3_NAME, -- message_type_id Value => Object.Message_Type); Query.Save_Field (Name => COL_15_3_NAME, -- user_id Value => Object.User); Query.Save_Field (Name => COL_16_3_NAME, -- session_id Value => Object.Session); Query.Execute (Result); if Result /= 1 then raise ADO.Objects.INSERT_ERROR; end if; ADO.Objects.Set_Created (Object); end Create; procedure Delete (Object : in out Message_Impl; Session : in out ADO.Sessions.Master_Session'Class) is Stmt : ADO.Statements.Delete_Statement := Session.Create_Statement (MESSAGE_DEF'Access); begin Stmt.Set_Filter (Filter => "id = ?"); Stmt.Add_Param (Value => Object.Get_Key); Stmt.Execute; end Delete; function Get_Value (From : in Message_Ref; Name : in String) return Util.Beans.Objects.Object is Obj : constant ADO.Objects.Object_Record_Access := From.Get_Load_Object; Impl : access Message_Impl; begin if Obj = null then return Util.Beans.Objects.Null_Object; end if; Impl := Message_Impl (Obj.all)'Access; if Name = "id" then return ADO.Objects.To_Object (Impl.Get_Key); elsif Name = "create_date" then return Util.Beans.Objects.Time.To_Object (Impl.Create_Date); elsif Name = "priority" then return Util.Beans.Objects.To_Object (Long_Long_Integer (Impl.Priority)); elsif Name = "count" then return Util.Beans.Objects.To_Object (Long_Long_Integer (Impl.Count)); elsif Name = "parameters" then return Util.Beans.Objects.To_Object (Impl.Parameters); elsif Name = "server_id" then return Util.Beans.Objects.To_Object (Long_Long_Integer (Impl.Server_Id)); elsif Name = "task_id" then return Util.Beans.Objects.To_Object (Long_Long_Integer (Impl.Task_Id)); elsif Name = "status" then return Message_Status_Type_Objects.To_Object (Impl.Status); elsif Name = "processing_date" then if Impl.Processing_Date.Is_Null then return Util.Beans.Objects.Null_Object; else return Util.Beans.Objects.Time.To_Object (Impl.Processing_Date.Value); end if; elsif Name = "entity_id" then return Util.Beans.Objects.To_Object (Long_Long_Integer (Impl.Entity_Id)); elsif Name = "entity_type" then return Util.Beans.Objects.To_Object (Long_Long_Integer (Impl.Entity_Type)); elsif Name = "finish_date" then if Impl.Finish_Date.Is_Null then return Util.Beans.Objects.Null_Object; else return Util.Beans.Objects.Time.To_Object (Impl.Finish_Date.Value); end if; end if; return Util.Beans.Objects.Null_Object; end Get_Value; procedure List (Object : in out Message_Vector; Session : in out ADO.Sessions.Session'Class; Query : in ADO.SQL.Query'Class) is Stmt : ADO.Statements.Query_Statement := Session.Create_Statement (Query, MESSAGE_DEF'Access); begin Stmt.Execute; Message_Vectors.Clear (Object); while Stmt.Has_Elements loop declare Item : Message_Ref; Impl : constant Message_Access := new Message_Impl; begin Impl.Load (Stmt, Session); ADO.Objects.Set_Object (Item, Impl.all'Access); Object.Append (Item); end; Stmt.Next; end loop; end List; -- ------------------------------ -- Load the object from current iterator position -- ------------------------------ procedure Load (Object : in out Message_Impl; Stmt : in out ADO.Statements.Query_Statement'Class; Session : in out ADO.Sessions.Session'Class) is begin Object.Set_Key_Value (Stmt.Get_Identifier (0)); Object.Create_Date := Stmt.Get_Time (1); Object.Priority := Stmt.Get_Integer (2); Object.Count := Stmt.Get_Integer (3); Object.Parameters := Stmt.Get_Unbounded_String (4); Object.Server_Id := Stmt.Get_Integer (5); Object.Task_Id := Stmt.Get_Integer (6); Object.Status := Message_Status_Type'Val (Stmt.Get_Integer (7)); Object.Processing_Date := Stmt.Get_Time (8); Object.Entity_Id := Stmt.Get_Identifier (10); Object.Entity_Type := ADO.Entity_Type (Stmt.Get_Integer (11)); Object.Finish_Date := Stmt.Get_Time (12); if not Stmt.Is_Null (13) then Object.Queue.Set_Key_Value (Stmt.Get_Identifier (13), Session); end if; if not Stmt.Is_Null (14) then Object.Message_Type.Set_Key_Value (Stmt.Get_Identifier (14), Session); end if; if not Stmt.Is_Null (15) then Object.User.Set_Key_Value (Stmt.Get_Identifier (15), Session); end if; if not Stmt.Is_Null (16) then Object.Session.Set_Key_Value (Stmt.Get_Identifier (16), Session); end if; Object.Version := Stmt.Get_Integer (9); ADO.Objects.Set_Created (Object); end Load; end AWA.Events.Models;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . D I R E C T _ I O -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2016, 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.IO_Exceptions; with System.Direct_IO; with Interfaces.C_Streams; generic type Element_Type is private; package Ada.Direct_IO is pragma Compile_Time_Warning (Element_Type'Has_Access_Values, "Element_Type for Direct_IO instance has access values"); pragma Compile_Time_Warning (Element_Type'Has_Tagged_Values, "Element_Type for Direct_IO instance has tagged values"); type File_Type is limited private; type File_Mode is (In_File, Inout_File, Out_File); -- The following representation clause allows the use of unchecked -- conversion for rapid translation between the File_Mode type -- used in this package and System.File_IO. for File_Mode use (In_File => 0, -- System.File_IO.File_Mode'Pos (In_File) Inout_File => 1, -- System.File_IO.File_Mode'Pos (Inout_File); Out_File => 2); -- System.File_IO.File_Mode'Pos (Out_File) type Count is range 0 .. System.Direct_IO.Count'Last; subtype Positive_Count is Count range 1 .. Count'Last; --------------------- -- File Management -- --------------------- procedure Create (File : in out File_Type; Mode : File_Mode := Inout_File; Name : String := ""; Form : String := ""); procedure Open (File : in out File_Type; Mode : File_Mode; Name : String; Form : String := ""); procedure Close (File : in out File_Type); procedure Delete (File : in out File_Type); procedure Reset (File : in out File_Type; Mode : File_Mode); procedure Reset (File : in out File_Type); function Mode (File : File_Type) return File_Mode; function Name (File : File_Type) return String; function Form (File : File_Type) return String; function Is_Open (File : File_Type) return Boolean; procedure Flush (File : File_Type); --------------------------------- -- Input and Output Operations -- --------------------------------- procedure Read (File : File_Type; Item : out Element_Type; From : Positive_Count); procedure Read (File : File_Type; Item : out Element_Type); procedure Write (File : File_Type; Item : Element_Type; To : Positive_Count); procedure Write (File : File_Type; Item : Element_Type); procedure Set_Index (File : File_Type; To : Positive_Count); function Index (File : File_Type) return Positive_Count; function Size (File : File_Type) return Count; function End_Of_File (File : File_Type) return Boolean; ---------------- -- Exceptions -- ---------------- Status_Error : exception renames IO_Exceptions.Status_Error; Mode_Error : exception renames IO_Exceptions.Mode_Error; Name_Error : exception renames IO_Exceptions.Name_Error; Use_Error : exception renames IO_Exceptions.Use_Error; Device_Error : exception renames IO_Exceptions.Device_Error; End_Error : exception renames IO_Exceptions.End_Error; Data_Error : exception renames IO_Exceptions.Data_Error; private -- The following procedures have a File_Type formal of mode IN OUT because -- they may close the original file. The Close operation may raise an -- exception, but in that case we want any assignment to the formal to -- be effective anyway, so it must be passed by reference (or the caller -- will be left with a dangling pointer). pragma Export_Procedure (Internal => Close, External => "", Mechanism => Reference); pragma Export_Procedure (Internal => Delete, External => "", Mechanism => Reference); pragma Export_Procedure (Internal => Reset, External => "", Parameter_Types => (File_Type), Mechanism => Reference); pragma Export_Procedure (Internal => Reset, External => "", Parameter_Types => (File_Type, File_Mode), Mechanism => (File => Reference)); type File_Type is new System.Direct_IO.File_Type; Bytes : constant Interfaces.C_Streams.size_t := Interfaces.C_Streams.size_t'Max (1, Element_Type'Max_Size_In_Storage_Elements); -- Size of an element in storage units. The Max operation here is to ensure -- that we allocate a single byte for zero-sized elements. It's a bit weird -- to instantiate Direct_IO with zero sized elements, but it is legal and -- this adjustment ensures that we don't get anomalous behavior. pragma Inline (Close); pragma Inline (Create); pragma Inline (Delete); pragma Inline (End_Of_File); pragma Inline (Form); pragma Inline (Index); pragma Inline (Is_Open); pragma Inline (Mode); pragma Inline (Name); pragma Inline (Open); pragma Inline (Read); pragma Inline (Reset); pragma Inline (Set_Index); pragma Inline (Size); pragma Inline (Write); end Ada.Direct_IO;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S E M _ A U X -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2010, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. 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. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Package containing utility procedures used throughout the compiler, -- and also by ASIS so dependencies are limited to ASIS included packages. -- Historical note. Many of the routines here were originally in Einfo, but -- Einfo is supposed to be a relatively low level package dealing with the -- content of entities in the tree, so this package is used for routines that -- require more than minimal semantic knowledge. with Alloc; use Alloc; with Table; with Types; use Types; package Sem_Aux is -------------------------------- -- Obsolescent Warnings Table -- -------------------------------- -- This table records entities for which a pragma Obsolescent with a -- message argument has been processed. type OWT_Record is record Ent : Entity_Id; -- The entity to which the pragma applies Msg : String_Id; -- The string containing the message end record; package Obsolescent_Warnings is new Table.Table ( Table_Component_Type => OWT_Record, Table_Index_Type => Int, Table_Low_Bound => 0, Table_Initial => Alloc.Obsolescent_Warnings_Initial, Table_Increment => Alloc.Obsolescent_Warnings_Increment, Table_Name => "Obsolescent_Warnings"); procedure Initialize; -- Called at the start of compilation of each new main source file to -- initialize the allocation of the Obsolescent_Warnings table. Note that -- Initialize must not be called if Tree_Read is used. procedure Tree_Read; -- Initializes Obsolescent_Warnings table from current tree file using the -- relevant Table.Tree_Read routine. procedure Tree_Write; -- Writes out Obsolescent_Warnings table to current tree file using the -- relevant Table.Tree_Write routine. ----------------- -- Subprograms -- ----------------- function Ancestor_Subtype (Typ : Entity_Id) return Entity_Id; -- The argument Id is a type or subtype entity. If the argument is a -- subtype then it returns the subtype or type from which the subtype was -- obtained, otherwise it returns Empty. function Available_View (Typ : Entity_Id) return Entity_Id; -- Typ is typically a type that has the With_Type flag set. Returns the -- non-limited view of the type, if available, otherwise the type itself. -- For class-wide types, there is no direct link in the tree, so we have -- to retrieve the class-wide type of the non-limited view of the Etype. -- Returns the argument unchanged if it is not one of these cases. function Constant_Value (Ent : Entity_Id) return Node_Id; -- Id is a variable, constant, named integer, or named real entity. This -- call obtains the initialization expression for the entity. Will return -- Empty for for a deferred constant whose full view is not available or -- in some other cases of internal entities, which cannot be treated as -- constants from the point of view of constant folding. Empty is also -- returned for variables with no initialization expression. function Enclosing_Dynamic_Scope (Ent : Entity_Id) return Entity_Id; -- For any entity, Ent, returns the closest dynamic scope in which the -- entity is declared or Standard_Standard for library-level entities function First_Discriminant (Typ : Entity_Id) return Entity_Id; -- Typ is a type with discriminants. The discriminants are the first -- entities declared in the type, so normally this is equivalent to -- First_Entity. The exception arises for tagged types, where the tag -- itself is prepended to the front of the entity chain, so the -- First_Discriminant function steps past the tag if it is present. function First_Stored_Discriminant (Typ : Entity_Id) return Entity_Id; -- Typ is a type with discriminants. Gives the first discriminant stored -- in an object of this type. In many cases, these are the same as the -- normal visible discriminants for the type, but in the case of renamed -- discriminants, this is not always the case. -- -- For tagged types, and untagged types which are root types or derived -- types but which do not rename discriminants in their root type, the -- stored discriminants are the same as the actual discriminants of the -- type, and hence this function is the same as First_Discriminant. -- -- For derived non-tagged types that rename discriminants in the root type -- this is the first of the discriminants that occur in the root type. To -- be precise, in this case stored discriminants are entities attached to -- the entity chain of the derived type which are a copy of the -- discriminants of the root type. Furthermore their Is_Completely_Hidden -- flag is set since although they are actually stored in the object, they -- are not in the set of discriminants that is visible in the type. -- -- For derived untagged types, the set of stored discriminants are the real -- discriminants from Gigi's standpoint, i.e. those that will be stored in -- actual objects of the type. function First_Subtype (Typ : Entity_Id) return Entity_Id; -- Applies to all types and subtypes. For types, yields the first subtype -- of the type. For subtypes, yields the first subtype of the base type of -- the subtype. function First_Tag_Component (Typ : Entity_Id) return Entity_Id; -- Typ must be a tagged record type. This function returns the Entity for -- the first _Tag field in the record type. function Is_By_Copy_Type (Ent : Entity_Id) return Boolean; -- Ent is any entity. Returns True if Ent is a type entity where the type -- is required to be passed by copy, as defined in (RM 6.2(3)). function Is_By_Reference_Type (Ent : Entity_Id) return Boolean; -- Ent is any entity. Returns True if Ent is a type entity where the type -- is required to be passed by reference, as defined in (RM 6.2(4-9)). function Is_Derived_Type (Ent : Entity_Id) return Boolean; -- Determines if the given entity Ent is a derived type. Result is always -- false if argument is not a type. function Is_Generic_Formal (E : Entity_Id) return Boolean; -- Determine whether E is a generic formal parameter. In particular this is -- used to set the visibility of generic formals of a generic package -- declared with a box or with partial parametrization. function Is_Indefinite_Subtype (Ent : Entity_Id) return Boolean; -- Ent is any entity. Determines if given entity is an unconstrained array -- type or subtype, a discriminated record type or subtype with no initial -- discriminant values or a class wide type or subtype and returns True if -- so. False for other type entities, or any entities that are not types. function Is_Immutably_Limited_Type (Ent : Entity_Id) return Boolean; -- Ent is any entity. True for a type that is "inherently" limited (i.e. -- cannot become nonlimited). From the Ada 2005 RM-7.5(8.1/2), "a type with -- a part that is of a task, protected, or explicitly limited record type". -- These are the types that are defined as return-by-reference types in Ada -- 95 (see RM95-6.5(11-16)). In Ada 2005, these are the types that require -- build-in-place for function calls. Note that build-in-place is allowed -- for other types, too. This is also used for identifying pure procedures -- whose calls should not be eliminated (RM 10.2.1(18/2)). function Is_Limited_Type (Ent : Entity_Id) return Boolean; -- Ent is any entity. Returns true if Ent is a limited type (limited -- private type, limited interface type, task type, protected type, -- composite containing a limited component, or a subtype of any of -- these types). function Nearest_Ancestor (Typ : Entity_Id) return Entity_Id; -- Given a subtype Typ, this function finds out the nearest ancestor from -- which constraints and predicates are inherited. There is no simple link -- for doing this, consider: -- -- subtype R is Integer range 1 .. 10; -- type T is new R; -- -- In this case the nearest ancestor is R, but the Etype of T'Base will -- point to R'Base, so we have to go rummaging in the declarations to get -- this information. It is used for making sure we freeze this before we -- freeze Typ, and also for retrieving inherited predicate information. -- For the case of base types or first subtypes, there is no useful entity -- to return, so Empty is returned. -- -- Note: this is similar to Ancestor_Subtype except that it also deals -- with the case of derived types. function Nearest_Dynamic_Scope (Ent : Entity_Id) return Entity_Id; -- This is similar to Enclosing_Dynamic_Scope except that if Ent is itself -- a dynamic scope, then it is returned. Otherwise the result is the same -- as that returned by Enclosing_Dynamic_Scope. function Next_Tag_Component (Tag : Entity_Id) return Entity_Id; -- Tag must be an entity representing a _Tag field of a tagged record. -- The result returned is the next _Tag field in this record, or Empty -- if this is the last such field. function Number_Discriminants (Typ : Entity_Id) return Pos; -- Typ is a type with discriminants, yields number of discriminants in type function Ultimate_Alias (Prim : Entity_Id) return Entity_Id; pragma Inline (Ultimate_Alias); -- Return the last entity in the chain of aliased entities of Prim. If Prim -- has no alias return Prim. end Sem_Aux;
with Ada.Text_IO; procedure Goodbye_World is begin Ada.Text_IO.Put("Goodbye, World!"); end Goodbye_World;
with Ada.Text_IO; with Ada.Command_Line; use Ada.Command_Line; procedure SleepSort is task type PrintTask (num : Integer); task body PrintTask is begin delay Duration (num) / 100.0; Ada.Text_IO.Put(num'Img); end PrintTask; type TaskAcc is access PrintTask; TaskList : array (1 .. Argument_Count) of TaskAcc; begin for i in TaskList'Range loop TaskList(i) := new PrintTask(Integer'Value(Argument(i))); end loop; end SleepSort;
--PRÁCTICA 3: CÉSAR BORAO MORATINOS (Handlers.ads) with Ada.Calendar; with Lower_Layer_UDP; package Handlers is package LLU renames Lower_Layer_UDP; procedure Client_Handler (From: in LLU.End_Point_Type; To: in LLU.End_Point_Type; P_Buffer: access LLU.Buffer_Type); procedure Server_Handler (From: in LLU.End_Point_Type; To: in LLU.End_Point_Type; P_Buffer: access LLU.Buffer_Type); end Handlers;
-- Abstract : -- -- See spec. -- -- Copyright (C) 2002 - 2005, 2008 - 2015, 2017 - 2020 Free Software Foundation, Inc. -- -- This file is part of the WisiToken package. -- -- The WisiToken package is free software; you can redistribute it -- and/or modify it under terms of the GNU General Public License as -- published by the Free Software Foundation; either version 3, or -- (at your option) any later version. This library is distributed in -- the hope that it will be useful, but WITHOUT ANY WARRANTY; without -- even the implied warranty of MERCHAN- TABILITY or FITNESS FOR A -- PARTICULAR PURPOSE. -- -- As a special exception under Section 7 of GPL version 3, you are granted -- additional permissions described in the GCC Runtime Library Exception, -- version 3.1, as published by the Free Software Foundation. pragma License (Modified_GPL); with Ada.Containers; with Ada.Text_IO; with SAL.Gen_Definite_Doubly_Linked_Lists_Sorted; package body WisiToken.Generate.LR.LALR_Generate is type Item_ID is record State : Unknown_State_Index := Unknown_State; LHS : Token_ID := Invalid_Token_ID; RHS : Productions.RHS_Arrays.Extended_Index := Productions.RHS_Arrays.No_Index; Dot : Token_ID_Arrays.Extended_Index := Token_ID_Arrays.No_Index; end record; function Image (Item : in Item_ID) return String is ("(" & Item.State'Image & ", " & Trimmed_Image ((Item.LHS, Item.RHS)) & ")"); function Compare (Left, Right : in Item_ID) return SAL.Compare_Result is (if Left.State < Right.State then SAL.Less elsif Left.State > Right.State then SAL.Greater elsif Left.LHS < Right.LHS then SAL.Less elsif Left.LHS > Right.LHS then SAL.Greater elsif Left.RHS < Right.RHS then SAL.Less elsif Left.RHS > Right.RHS then SAL.Greater elsif Left.Dot < Right.Dot then SAL.Less elsif Left.Dot > Right.Dot then SAL.Greater else SAL.Equal); package Item_ID_Lists is new SAL.Gen_Definite_Doubly_Linked_Lists_Sorted (Item_ID, Compare); type Item_Map is record From : Item_ID; To : Item_ID_Lists.List; end record; function Compare (Left, Right : in Item_Map) return SAL.Compare_Result is (Compare (Left.From, Right.From)); package Propagation_Lists is new SAL.Gen_Definite_Doubly_Linked_Lists_Sorted (Item_Map, Compare); function Item_Ref (Kernels : in out LR1_Items.Item_Set_List; ID : in Item_ID) return LR1_Items.Item_Lists.Variable_Reference_Type is (LR1_Items.Item_Lists.Variable_Ref (LR1_Items.Find (Prod => (ID.LHS, ID.RHS), Dot => ID.Dot, Set => Kernels (ID.State)))); function Propagate_Lookahead (Descriptor : in WisiToken.Descriptor) return Token_ID_Set_Access is begin return new Token_ID_Set'(LR1_Items.To_Lookahead (Descriptor.Last_Lookahead, Descriptor)); end Propagate_Lookahead; function Null_Lookahead (Descriptor : in WisiToken.Descriptor) return Token_ID_Set_Access is begin return new Token_ID_Set'(Descriptor.First_Terminal .. Descriptor.Last_Lookahead => False); end Null_Lookahead; ---------- -- Debug output procedure Put (Propagations : in Propagation_Lists.List) is use Item_ID_Lists; begin for Map of Propagations loop Ada.Text_IO.Put_Line ("From " & Image (Map.From)); for ID of Map.To loop Ada.Text_IO.Put_Line ("To " & Image (ID)); end loop; end loop; end Put; ---------- -- Generate utils function LALR_Goto_Transitions (Kernel : in LR1_Items.Item_Set; Symbol : in Token_ID; First_Nonterm_Set : in Token_Array_Token_Set; Grammar : in WisiToken.Productions.Prod_Arrays.Vector; Descriptor : in WisiToken.Descriptor) return LR1_Items.Item_Set is use Token_ID_Arrays; use LR1_Items; use LR1_Items.Item_Lists; Goto_Set : Item_Set; begin for Item of Kernel.Set loop if Item.Dot /= No_Index then declare Dot : constant Token_ID_Arrays.Cursor := Productions.Constant_Ref_RHS (Grammar, Item.Prod).Tokens.To_Cursor (Item.Dot); Dot_ID : constant Token_ID := Element (Dot); Next_Dot : constant Token_ID_Arrays.Cursor := Next (Dot); begin -- If Symbol = EOF_Token, this is the start symbol accept -- production; don't need a kernel with dot after EOF. if (Dot_ID = Symbol and Symbol /= Descriptor.EOI_ID) and then not Has_Element (Find (Item, Goto_Set)) then Goto_Set.Set.Insert ((Prod => Item.Prod, Dot => To_Index (Next_Dot), Lookaheads => new Token_ID_Set'(Item.Lookaheads.all))); if Trace_Generate_Table > Detail then Ada.Text_IO.Put_Line ("LALR_Goto_Transitions 1 " & Image (Symbol, Descriptor)); Put (Grammar, Descriptor, Goto_Set); end if; end if; if Dot_ID in Descriptor.First_Nonterminal .. Descriptor.Last_Nonterminal and then First_Nonterm_Set (Dot_ID, Symbol) then -- Find the production(s) that create Dot_ID with first token Symbol -- and put them in. for Prod of Grammar loop for RHS_2_I in Prod.RHSs.First_Index .. Prod.RHSs.Last_Index loop declare P_ID : constant Production_ID := (Prod.LHS, RHS_2_I); Tokens : Token_ID_Arrays.Vector renames Prod.RHSs (RHS_2_I).Tokens; Dot_2 : constant Token_ID_Arrays.Cursor := Tokens.First; Next_Dot_2 : constant Token_ID_Arrays.Cursor := Next (Dot_2); begin if (Dot_ID = Prod.LHS or First_Nonterm_Set (Dot_ID, Prod.LHS)) and (Has_Element (Dot_2) and then Element (Dot_2) = Symbol) then if not Has_Element (Find (P_ID, To_Index (Next_Dot_2), Goto_Set)) then Goto_Set.Set.Insert ((Prod => P_ID, Dot => To_Index (Next_Dot_2), Lookaheads => Null_Lookahead (Descriptor))); -- else already in goto set end if; end if; end; end loop; end loop; if Trace_Generate_Table > Detail then Ada.Text_IO.Put_Line ("LALR_Goto_Transitions 2 " & Image (Symbol, Descriptor)); Put (Grammar, Descriptor, Goto_Set); end if; end if; end; end if; -- item.dot /= null end loop; return Goto_Set; end LALR_Goto_Transitions; function LALR_Kernels (Grammar : in WisiToken.Productions.Prod_Arrays.Vector; First_Nonterm_Set : in Token_Array_Token_Set; Descriptor : in WisiToken.Descriptor) return LR1_Items.Item_Set_List is use all type Ada.Containers.Count_Type; use LR1_Items; First_State_Index : constant State_Index := 0; Kernels : LR1_Items.Item_Set_List; Kernel_Tree : LR1_Items.Item_Set_Trees.Tree; -- for fast find States_To_Check : State_Index_Queues.Queue; Checking_State : State_Index; begin Kernels.Set_First_Last (First_State_Index, First_State_Index - 1); Add (Grammar, (Set => Item_Lists.To_List ((Prod => (Grammar.First_Index, 0), Dot => Grammar (Grammar.First_Index).RHSs (0).Tokens.First_Index, Lookaheads => Null_Lookahead (Descriptor))), Goto_List => <>, Dot_IDs => <>, State => First_State_Index), Kernels, Kernel_Tree, Descriptor, Include_Lookaheads => False); States_To_Check.Put (First_State_Index); loop exit when States_To_Check.Is_Empty; Checking_State := States_To_Check.Get; if Trace_Generate_Table > Detail then Ada.Text_IO.Put ("Checking "); Put (Grammar, Descriptor, Kernels (Checking_State)); end if; for Symbol in Descriptor.First_Terminal .. Descriptor.Last_Nonterminal loop -- LALR_Goto_Transitions does _not_ ignore Symbol if it is not in -- Item_Set.Dot_IDs, so we can't iterate on that here as we do in -- LR1_Generate. declare New_Item_Set : Item_Set := LALR_Goto_Transitions (Kernels (Checking_State), Symbol, First_Nonterm_Set, Grammar, Descriptor); Found_State : Unknown_State_Index; begin if New_Item_Set.Set.Length > 0 then Found_State := Find (New_Item_Set, Kernel_Tree, Match_Lookaheads => False); if Found_State = Unknown_State then New_Item_Set.State := Kernels.Last_Index + 1; States_To_Check.Put (New_Item_Set.State); Add (Grammar, New_Item_Set, Kernels, Kernel_Tree, Descriptor, Include_Lookaheads => False); if Trace_Generate_Table > Detail then Ada.Text_IO.Put_Line (" adding state" & Unknown_State_Index'Image (Kernels.Last_Index)); Ada.Text_IO.Put_Line (" state" & Unknown_State_Index'Image (Checking_State) & " adding goto on " & Image (Symbol, Descriptor) & " to state" & Unknown_State_Index'Image (Kernels.Last_Index)); end if; Kernels (Checking_State).Goto_List.Insert ((Symbol, Kernels.Last_Index)); else -- If there's not already a goto entry between these two sets, create one. if not Is_In ((Symbol, Found_State), Kernels (Checking_State).Goto_List) then if Trace_Generate_Table > Detail then Ada.Text_IO.Put_Line (" state" & Unknown_State_Index'Image (Checking_State) & " adding goto on " & Image (Symbol, Descriptor) & " to state" & Unknown_State_Index'Image (Found_State)); end if; Kernels (Checking_State).Goto_List.Insert ((Symbol, Found_State)); end if; end if; end if; end; end loop; end loop; if Trace_Generate_Table > Detail then Ada.Text_IO.New_Line; end if; return Kernels; end LALR_Kernels; -- Add a propagation entry (if it doesn't already exist) from From in -- From_Set to To_Item. procedure Add_Propagation (From_Item : in LR1_Items.Item; From_State : in State_Index; To_Item : in LR1_Items.Item_Lists.Cursor; To_State : in State_Index; Propagations : in out Propagation_Lists.List) is use Propagation_Lists; use LR1_Items; use LR1_Items.Item_Lists; use Item_ID_Lists; To_Item_Ref : constant LR1_Items.Item_Lists.Constant_Reference_Type := Constant_Ref (To_Item); From_ID : constant Item_ID := (From_State, From_Item.Prod.LHS, From_Item.Prod.RHS, From_Item.Dot); To_ID : constant Item_ID := (To_State, To_Item_Ref.Prod.LHS, To_Item_Ref.Prod.RHS, To_Item_Ref.Dot); From_Match : constant Propagation_Lists.Cursor := Propagations.Find ((From_ID, Item_ID_Lists.Empty_List)); begin if not Has_Element (From_Match) then Propagations.Insert ((From_ID, To_List (To_ID))); else declare To_Match : constant Item_ID_Lists.Cursor := Constant_Ref (From_Match).To.Find (To_ID); begin if not Has_Element (To_Match) then Variable_Ref (From_Match).To.Insert (To_ID); end if; end; end if; end Add_Propagation; -- Calculate the lookaheads from Closure_Item for Source_Item. -- Source_Item must be one of the kernel items in Source_Set. -- Closure_Item must be an item in the lookahead closure of Source_Item for #. -- -- Spontaneous lookaheads are put in Source_Item.Lookahead, -- propagated lookaheads in Propagations. -- -- Set Used_Tokens = True for all tokens in lookaheads. procedure Generate_Lookahead_Info (Source_Item : in LR1_Items.Item; Source_Set : in LR1_Items.Item_Set; Closure_Item : in LR1_Items.Item; Propagations : in out Propagation_Lists.List; Descriptor : in WisiToken.Descriptor; Grammar : in WisiToken.Productions.Prod_Arrays.Vector; Kernels : in out LR1_Items.Item_Set_List) is use LR1_Items; use LR1_Items.Item_Lists; use Token_ID_Arrays; Spontaneous_Count : Integer := 0; begin if Trace_Generate_Table > Outline then Ada.Text_IO.Put_Line (" closure_item: "); LR1_Items.Put (Grammar, Descriptor, Closure_Item); Ada.Text_IO.New_Line; end if; if Closure_Item.Dot = No_Index then return; end if; declare Dot : constant Token_ID_Arrays.Cursor := Productions.Constant_Ref_RHS (Grammar, Closure_Item.Prod).Tokens.To_Cursor (Closure_Item.Dot); ID : constant Token_ID := Element (Dot); Next_Dot : constant Token_ID_Arrays.Cursor := Next (Dot); Goto_State : constant Unknown_State_Index := LR1_Items.Goto_State (Source_Set, ID); begin if Goto_State /= Unknown_State then declare To_Item : constant Item_Lists.Cursor := LR1_Items.Find (Closure_Item.Prod, To_Index (Next_Dot), Kernels (Goto_State)); begin if Closure_Item.Lookaheads (Descriptor.Last_Lookahead) then Add_Propagation (From_Item => Source_Item, From_State => Source_Set.State, To_Item => To_Item, To_State => Goto_State, Propagations => Propagations); end if; if Trace_Generate_Table > Outline then Spontaneous_Count := Spontaneous_Count + 1; Ada.Text_IO.Put_Line (" spontaneous: " & Lookahead_Image (Closure_Item.Lookaheads.all, Descriptor)); end if; LR1_Items.Include (Variable_Ref (To_Item), Closure_Item.Lookaheads.all, Descriptor); end; end if; end; end Generate_Lookahead_Info; procedure Propagate_Lookaheads (Propagations : in Propagation_Lists.List; Kernels : in out LR1_Items.Item_Set_List; Descriptor : in WisiToken.Descriptor) is -- In Propagations, update all To lookaheads from From lookaheads, -- recursively. More_To_Check : Boolean := True; Added_One : Boolean; begin while More_To_Check loop More_To_Check := False; for Map of Propagations loop for ID of Map.To loop LR1_Items.Include (Item_Ref (Kernels, ID), Item_Ref (Kernels, Map.From).Lookaheads.all, Added_One, Descriptor); More_To_Check := More_To_Check or Added_One; end loop; end loop; end loop; end Propagate_Lookaheads; -- Calculate the LALR(1) lookaheads for Grammar. -- Kernels should be the sets of LR(0) kernels on input, and will -- become the set of LALR(1) kernels on output. procedure Fill_In_Lookaheads (Grammar : in WisiToken.Productions.Prod_Arrays.Vector; Has_Empty_Production : in Token_ID_Set; First_Terminal_Sequence : in Token_Sequence_Arrays.Vector; Kernels : in out LR1_Items.Item_Set_List; Descriptor : in WisiToken.Descriptor) is Closure : LR1_Items.Item_Set; Propagations : Propagation_Lists.List; begin for Kernel of Kernels loop if Trace_Generate_Table > Outline then Ada.Text_IO.Put ("Adding lookaheads for "); LR1_Items.Put (Grammar, Descriptor, Kernel); end if; for Kernel_Item of Kernel.Set loop Closure := LR1_Items.Closure ((Set => LR1_Items.Item_Lists.To_List ((Prod => Kernel_Item.Prod, Dot => Kernel_Item.Dot, Lookaheads => Propagate_Lookahead (Descriptor))), Goto_List => <>, Dot_IDs => <>, State => <>), Has_Empty_Production, First_Terminal_Sequence, Grammar, Descriptor); for Closure_Item of Closure.Set loop Generate_Lookahead_Info (Kernel_Item, Kernel, Closure_Item, Propagations, Descriptor, Grammar, Kernels); end loop; end loop; end loop; if Trace_Generate_Table > Outline then Ada.Text_IO.New_Line; Ada.Text_IO.Put_Line ("Propagations:"); Put (Propagations); Ada.Text_IO.New_Line; end if; Propagate_Lookaheads (Propagations, Kernels, Descriptor); end Fill_In_Lookaheads; -- Add actions for all Kernels to Table. procedure Add_Actions (Kernels : in LR1_Items.Item_Set_List; Grammar : in WisiToken.Productions.Prod_Arrays.Vector; Has_Empty_Production : in Token_ID_Set; First_Nonterm_Set : in Token_Array_Token_Set; First_Terminal_Sequence : in Token_Sequence_Arrays.Vector; Conflict_Counts : out Conflict_Count_Lists.List; Conflicts : out Conflict_Lists.List; Table : in out Parse_Table; Descriptor : in WisiToken.Descriptor) is Closure : LR1_Items.Item_Set; begin for Kernel of Kernels loop -- IMPROVEME: there are three "closure" computations that could -- probably be refactored to save computation; in -- LALR_Goto_Transitions, Fill_In_Lookaheads, and here. Closure := LR1_Items.Closure (Kernel, Has_Empty_Production, First_Terminal_Sequence, Grammar, Descriptor); Add_Actions (Closure, Table, Grammar, Has_Empty_Production, First_Nonterm_Set, Conflict_Counts, Conflicts, Descriptor); end loop; if Trace_Generate_Table > Detail then Ada.Text_IO.New_Line; end if; end Add_Actions; function Generate (Grammar : in out WisiToken.Productions.Prod_Arrays.Vector; Descriptor : in WisiToken.Descriptor; Known_Conflicts : in Conflict_Lists.List := Conflict_Lists.Empty_List; McKenzie_Param : in McKenzie_Param_Type := Default_McKenzie_Param; Parse_Table_File_Name : in String := ""; Include_Extra : in Boolean := False; Ignore_Conflicts : in Boolean := False; Partial_Recursion : in Boolean := True) return Parse_Table_Ptr is use all type Ada.Containers.Count_Type; Ignore_Unused_Tokens : constant Boolean := WisiToken.Trace_Generate_Table > Detail; Ignore_Unknown_Conflicts : constant Boolean := Ignore_Conflicts or WisiToken.Trace_Generate_Table > Detail; Unused_Tokens : constant Boolean := WisiToken.Generate.Check_Unused_Tokens (Descriptor, Grammar); Table : Parse_Table_Ptr; Nullable : constant Token_Array_Production_ID := WisiToken.Generate.Nullable (Grammar); Has_Empty_Production : constant Token_ID_Set := WisiToken.Generate.Has_Empty_Production (Nullable); Recursions : constant WisiToken.Generate.Recursions := (if Partial_Recursion then WisiToken.Generate.Compute_Partial_Recursion (Grammar, Descriptor) else WisiToken.Generate.Compute_Full_Recursion (Grammar, Descriptor)); Minimal_Terminal_Sequences : constant Minimal_Sequence_Array := Compute_Minimal_Terminal_Sequences (Descriptor, Grammar); Minimal_Terminal_First : constant Token_Array_Token_ID := Compute_Minimal_Terminal_First (Descriptor, Minimal_Terminal_Sequences); First_Nonterm_Set : constant Token_Array_Token_Set := WisiToken.Generate.First (Grammar, Has_Empty_Production, Descriptor.First_Terminal); First_Terminal_Sequence : constant Token_Sequence_Arrays.Vector := WisiToken.Generate.To_Terminal_Sequence_Array (First_Nonterm_Set, Descriptor); Kernels : LR1_Items.Item_Set_List := LALR_Kernels (Grammar, First_Nonterm_Set, Descriptor); Conflict_Counts : Conflict_Count_Lists.List; Unknown_Conflicts : Conflict_Lists.List; Known_Conflicts_Edit : Conflict_Lists.List := Known_Conflicts; begin WisiToken.Generate.Error := False; -- necessary in unit tests; some previous test might have encountered an error. if Trace_Generate_Table + Trace_Generate_Minimal_Complete > Outline then Ada.Text_IO.New_Line; Ada.Text_IO.Put_Line ("LALR_Generate"); end if; Fill_In_Lookaheads (Grammar, Has_Empty_Production, First_Terminal_Sequence, Kernels, Descriptor); if Unused_Tokens then WisiToken.Generate.Error := not Ignore_Unused_Tokens; Ada.Text_IO.New_Line; end if; if Trace_Generate_Table > Detail then Ada.Text_IO.New_Line; Ada.Text_IO.Put_Line ("LR(1) Kernels:"); LR1_Items.Put (Grammar, Descriptor, Kernels, Show_Lookaheads => True); end if; Table := new Parse_Table (State_First => Kernels.First_Index, State_Last => Kernels.Last_Index, First_Terminal => Descriptor.First_Terminal, Last_Terminal => Descriptor.Last_Terminal, First_Nonterminal => Descriptor.First_Nonterminal, Last_Nonterminal => Descriptor.Last_Nonterminal); if McKenzie_Param = Default_McKenzie_Param then -- Descriminants in Default are wrong Table.McKenzie_Param := (First_Terminal => Descriptor.First_Terminal, Last_Terminal => Descriptor.Last_Terminal, First_Nonterminal => Descriptor.First_Nonterminal, Last_Nonterminal => Descriptor.Last_Nonterminal, Insert => (others => 0), Delete => (others => 0), Push_Back => (others => 0), Undo_Reduce => (others => 0), Minimal_Complete_Cost_Delta => Default_McKenzie_Param.Minimal_Complete_Cost_Delta, Fast_Forward => Default_McKenzie_Param.Fast_Forward, Matching_Begin => Default_McKenzie_Param.Matching_Begin, Ignore_Check_Fail => Default_McKenzie_Param.Ignore_Check_Fail, Task_Count => Default_McKenzie_Param.Task_Count, Check_Limit => Default_McKenzie_Param.Check_Limit, Check_Delta_Limit => Default_McKenzie_Param.Check_Delta_Limit, Enqueue_Limit => Default_McKenzie_Param.Enqueue_Limit); else Table.McKenzie_Param := McKenzie_Param; end if; Add_Actions (Kernels, Grammar, Has_Empty_Production, First_Nonterm_Set, First_Terminal_Sequence, Conflict_Counts, Unknown_Conflicts, Table.all, Descriptor); for State in Table.States'Range loop if Trace_Generate_Minimal_Complete > Extra then Ada.Text_IO.Put_Line ("Set_Minimal_Complete_Actions:" & State_Index'Image (State)); end if; WisiToken.Generate.LR.Set_Minimal_Complete_Actions (Table.States (State), Kernels (State), Descriptor, Grammar, Nullable, Minimal_Terminal_Sequences, Minimal_Terminal_First); end loop; if Parse_Table_File_Name /= "" then WisiToken.Generate.LR.Put_Parse_Table (Table, Parse_Table_File_Name, "LALR", Grammar, Recursions, Kernels, Conflict_Counts, Descriptor, Include_Extra); end if; Delete_Known (Unknown_Conflicts, Known_Conflicts_Edit); if Unknown_Conflicts.Length > 0 then Ada.Text_IO.Put_Line (Ada.Text_IO.Current_Error, "unknown conflicts:"); Put (Unknown_Conflicts, Ada.Text_IO.Current_Error, Descriptor); Ada.Text_IO.New_Line (Ada.Text_IO.Current_Error); WisiToken.Generate.Error := WisiToken.Generate.Error or not Ignore_Unknown_Conflicts; end if; if Known_Conflicts_Edit.Length > 0 then Ada.Text_IO.Put_Line (Ada.Text_IO.Current_Error, "excess known conflicts:"); Put (Known_Conflicts_Edit, Ada.Text_IO.Current_Error, Descriptor); Ada.Text_IO.New_Line (Ada.Text_IO.Current_Error); WisiToken.Generate.Error := WisiToken.Generate.Error or not Ignore_Unknown_Conflicts; end if; return Table; end Generate; end WisiToken.Generate.LR.LALR_Generate;
-- { dg-do compile } with System.Pool_Global; package Storage is x1: System.Pool_Global.Unbounded_No_Reclaim_Pool; type T1 is access integer; for T1'Storage_Pool use (x1); -- { dg-error "must be a variable" } type T2 is access Integer; for T2'Storage_Pool use x1; end Storage;
-- see OpenUxAS\src\Communications\AddressedAttributedMessage.h package UxAS.Comms.Data.Addressed.Attributed is Type_Name : constant String := "AddressedAttributedMessage"; Minimum_Delimited_Address_Attribute_Message_String_Length : constant := 11; Address_Attributes_Delimiter : constant String := Addressed.Address_Attributes_Delimiter; -- re-export Field_Delimiter : constant String := UxAS.Comms.Data.Addressed.Field_Delimiter; -- re-export type Addressed_Attributed_Message is new Addressed_Message with private; type Addressed_Attributed_Message_Ref is access all Addressed_Attributed_Message; type Any_Addressed_Attributed_Message is access all Addressed_Attributed_Message'Class; -- bool -- setAddressAttributesAndPayload -- (const std::string address, -- const std::string contentType, -- const std::string descriptor, -- const std::string sourceGroup, -- const std::string sourceEntityId, -- const std::string sourceServiceId, -- const std::string payload) procedure Set_Address_Attributes_And_Payload (This : in out Addressed_Attributed_Message; Address : String; Content_Type : String; Descriptor : String; Source_Group : String; -- TODO: can be empty??? Source_Entity_Id : String; Source_Service_Id : String; Payload : String; Result : out Boolean) with Pre'Class => Address'Length in 1 .. Address_Max_Length and then Is_Valid_Address (Address) and then Content_Type'Length in 1 .. Content_Type_Max_Length and then Descriptor'Length in 1 .. Descriptor_Max_Length and then Source_Group'Length <= Source_Group_Max_Length and then Source_Entity_Id'Length in 1 .. Source_Entity_Id_Max_Length and then Source_Service_Id'Length in 1 .. Source_Service_Id_Max_Length; -- bool -- updateSourceAttributes(const std::string sourceGroup, const std::string sourceEntityId, const std::string sourceServiceId) procedure Update_Source_Attributes (This : in out Addressed_Attributed_Message; Source_Group : String; Source_Entity_Id : String; Source_Service_Id : String; Result : out Boolean) with Pre'Class => Source_Group'Length <= Source_Group_Max_Length and then Source_Entity_Id'Length in 1 .. Source_Entity_Id_Max_Length and then Source_Service_Id'Length in 1 .. Source_Service_Id_Max_Length; procedure Update_Address (This : in out Addressed_Attributed_Message; Address : String; Result : out Boolean) with Pre'Class => Address'Length in 1 .. Address_Max_Length; procedure Set_Address_Attributes_And_Payload_From_Delimited_String (This : in out Addressed_Attributed_Message; Delimited_String : String; Result : out Boolean) with Pre'Class => Delimited_String'Length >= Minimum_Delimited_Address_Attribute_Message_String_Length; -- Message address, attributes and payload combined into a single, delimited string. -- virtual -- const std::string& -- getString() const overriding function Content_String (This : Addressed_Attributed_Message) return String; -- Ownership transfer accessor for message attributes. -- std::unique_ptr<MessageAttributes> -- getMessageAttributesOwnership() function Message_Attributes_Ownership (This : Addressed_Attributed_Message) return Message_Attributes_Ref; -- Note: In Ada, this routine makes no change, it just return the current pointer -- Read-only accessor for message attributes. -- const std::unique_ptr<MessageAttributes>& -- getMessageAttributesReference() function Message_Attributes_Reference (This : Addressed_Attributed_Message) return Message_Attributes_View; private type Addressed_Attributed_Message is new Addressed_Message with record -- std::unique_ptr<MessageAttributes> m_messageAttributes; Attributes : Message_Attributes_Ref; -- TODO: indirection for sake of ownership and read-only view? end record; -- bool -- parseAddressedAttributedMessageStringAndSetFields(const std::string delimitedString) procedure Parse_Addressed_Attributed_Message_String_And_Set_Fields (This : in out Addressed_Attributed_Message; Delimited_String : String; Result : out Boolean) with Pre'Class => Delimited_String'Length >= Minimum_Delimited_Address_Attribute_Message_String_Length; end UxAS.Comms.Data.Addressed.Attributed;
procedure Puzzle_18 is begin null; end Puzzle_18;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This file is generated, don't edit it. ------------------------------------------------------------------------------ with AMF.Generic_Collections; package AMF.UMLDI.UML_Object_Diagrams.Collections is pragma Preelaborate; package UMLDI_UML_Object_Diagram_Collections is new AMF.Generic_Collections (UMLDI_UML_Object_Diagram, UMLDI_UML_Object_Diagram_Access); type Set_Of_UMLDI_UML_Object_Diagram is new UMLDI_UML_Object_Diagram_Collections.Set with null record; Empty_Set_Of_UMLDI_UML_Object_Diagram : constant Set_Of_UMLDI_UML_Object_Diagram; type Ordered_Set_Of_UMLDI_UML_Object_Diagram is new UMLDI_UML_Object_Diagram_Collections.Ordered_Set with null record; Empty_Ordered_Set_Of_UMLDI_UML_Object_Diagram : constant Ordered_Set_Of_UMLDI_UML_Object_Diagram; type Bag_Of_UMLDI_UML_Object_Diagram is new UMLDI_UML_Object_Diagram_Collections.Bag with null record; Empty_Bag_Of_UMLDI_UML_Object_Diagram : constant Bag_Of_UMLDI_UML_Object_Diagram; type Sequence_Of_UMLDI_UML_Object_Diagram is new UMLDI_UML_Object_Diagram_Collections.Sequence with null record; Empty_Sequence_Of_UMLDI_UML_Object_Diagram : constant Sequence_Of_UMLDI_UML_Object_Diagram; private Empty_Set_Of_UMLDI_UML_Object_Diagram : constant Set_Of_UMLDI_UML_Object_Diagram := (UMLDI_UML_Object_Diagram_Collections.Set with null record); Empty_Ordered_Set_Of_UMLDI_UML_Object_Diagram : constant Ordered_Set_Of_UMLDI_UML_Object_Diagram := (UMLDI_UML_Object_Diagram_Collections.Ordered_Set with null record); Empty_Bag_Of_UMLDI_UML_Object_Diagram : constant Bag_Of_UMLDI_UML_Object_Diagram := (UMLDI_UML_Object_Diagram_Collections.Bag with null record); Empty_Sequence_Of_UMLDI_UML_Object_Diagram : constant Sequence_Of_UMLDI_UML_Object_Diagram := (UMLDI_UML_Object_Diagram_Collections.Sequence with null record); end AMF.UMLDI.UML_Object_Diagrams.Collections;
----------------------------------------------------------------------- -- asf-routes-servlets-faces -- faces request routing -- Copyright (C) 2015 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Ada.Strings.Unbounded; package ASF.Routes.Servlets.Faces is type Faces_Route_Type is new Servlet_Route_Type with record View : Ada.Strings.Unbounded.Unbounded_String; end record; type Faces_Route_Type_Access is access all Faces_Route_Type'Class; end ASF.Routes.Servlets.Faces;
package body iconv.Generic_Strings is use type Ada.Streams.Stream_Element_Offset; pragma Compile_Time_Error ( String_Type'Component_Size /= Character_Type'Size, "String_Type is not packed"); pragma Compile_Time_Error ( Character_Type'Size rem Ada.Streams.Stream_Element'Size /= 0, "String_Type could not be treated as Stream_Element_Array"); -- decoder function From ( From_Encoding : String; To_Encoding : String := Default_Encoding) return Decoder is begin return Result : Decoder do Do_Open (Converter (Result), To => To_Encoding, From => From_Encoding); end return; end From; procedure Decode ( Object : in Decoder; In_Item : in Ada.Streams.Stream_Element_Array; In_Last : out Ada.Streams.Stream_Element_Offset; Out_Item : out String_Type; Out_Last : out Natural; Finish : in Boolean; Status : out Subsequence_Status_Type) is CS_In_SE : constant Ada.Streams.Stream_Element_Count := Character_Type'Size / Ada.Streams.Stream_Element'Size; Out_Item_2 : Ada.Streams.Stream_Element_Array (1 .. Out_Item'Length * CS_In_SE); for Out_Item_2'Address use Out_Item'Address; Out_Last_2 : Ada.Streams.Stream_Element_Offset; begin Convert ( Object, In_Item, In_Last, Out_Item_2, Out_Last_2, Finish => Finish, Status => Status); pragma Assert (Out_Last_2 rem CS_In_SE = 0); Out_Last := Out_Item'First + Natural (Out_Last_2 / CS_In_SE) - 1; end Decode; procedure Decode ( Object : in Decoder; In_Item : in Ada.Streams.Stream_Element_Array; In_Last : out Ada.Streams.Stream_Element_Offset; Out_Item : out String_Type; Out_Last : out Natural; Status : out Continuing_Status_Type) is CS_In_SE : constant Ada.Streams.Stream_Element_Count := Character_Type'Size / Ada.Streams.Stream_Element'Size; Out_Item_2 : Ada.Streams.Stream_Element_Array (1 .. Out_Item'Length * CS_In_SE); for Out_Item_2'Address use Out_Item'Address; Out_Last_2 : Ada.Streams.Stream_Element_Offset; begin Convert ( Object, In_Item, In_Last, Out_Item_2, Out_Last_2, Status => Status); pragma Assert (Out_Last_2 rem CS_In_SE = 0); Out_Last := Out_Item'First + Natural (Out_Last_2 / CS_In_SE) - 1; end Decode; procedure Decode ( Object : in Decoder; Out_Item : out String_Type; Out_Last : out Natural; Finish : in True_Only; Status : out Finishing_Status_Type) is CS_In_SE : constant Ada.Streams.Stream_Element_Count := Character_Type'Size / Ada.Streams.Stream_Element'Size; Out_Item_2 : Ada.Streams.Stream_Element_Array (1 .. Out_Item'Length * CS_In_SE); for Out_Item_2'Address use Out_Item'Address; Out_Last_2 : Ada.Streams.Stream_Element_Offset; begin Convert ( Object, Out_Item_2, Out_Last_2, Finish => Finish, Status => Status); pragma Assert (Out_Last_2 rem CS_In_SE = 0); Out_Last := Out_Item'First + Natural (Out_Last_2 / CS_In_SE) - 1; end Decode; procedure Decode ( Object : in Decoder; In_Item : in Ada.Streams.Stream_Element_Array; In_Last : out Ada.Streams.Stream_Element_Offset; Out_Item : out String_Type; Out_Last : out Natural; Finish : in True_Only; Status : out Status_Type) is CS_In_SE : constant Ada.Streams.Stream_Element_Count := Character_Type'Size / Ada.Streams.Stream_Element'Size; Out_Item_2 : Ada.Streams.Stream_Element_Array (1 .. Out_Item'Length * CS_In_SE); for Out_Item_2'Address use Out_Item'Address; Out_Last_2 : Ada.Streams.Stream_Element_Offset; begin Convert ( Object, In_Item, In_Last, Out_Item_2, Out_Last_2, Finish => Finish, Status => Status); pragma Assert (Out_Last_2 rem CS_In_SE = 0); Out_Last := Out_Item'First + Natural (Out_Last_2 / CS_In_SE) - 1; end Decode; procedure Decode ( Object : in Decoder; In_Item : in Ada.Streams.Stream_Element_Array; In_Last : out Ada.Streams.Stream_Element_Offset; Out_Item : out String_Type; Out_Last : out Natural; Finish : in True_Only; Status : out Substituting_Status_Type) is CS_In_SE : constant Ada.Streams.Stream_Element_Count := Character_Type'Size / Ada.Streams.Stream_Element'Size; Out_Item_2 : Ada.Streams.Stream_Element_Array (1 .. Out_Item'Length * CS_In_SE); for Out_Item_2'Address use Out_Item'Address; Out_Last_2 : Ada.Streams.Stream_Element_Offset; begin Convert ( Object, In_Item, In_Last, Out_Item_2, Out_Last_2, Finish => Finish, Status => Status); pragma Assert (Out_Last_2 rem CS_In_SE = 0); Out_Last := Out_Item'First + Natural (Out_Last_2 / CS_In_SE) - 1; end Decode; function Decode (Object : Decoder; S : Ada.Streams.Stream_Element_Array) return String_Type is In_Last : Ada.Streams.Stream_Element_Offset := S'First - 1; Result : String_Type (1 .. Max_Length_Of_Single_Character * S'Length); Out_Last : Natural := 0; Status : Substituting_Status_Type; begin loop Decode ( Object, S (In_Last + 1 .. S'Last), In_Last, Result (Out_Last + 1 .. Result'Last), Out_Last, Finish => True, Status => Status); case Status is when Finished => exit; when Success => null; when Overflow => raise Constraint_Error; end case; end loop; return Result (Result'First .. Out_Last); end Decode; -- encoder function To ( To_Encoding : String; From_Encoding : String := Default_Encoding) return Encoder is begin return Result : Encoder do Do_Open (Converter (Result), To => To_Encoding, From => From_Encoding); end return; end To; procedure Encode ( Object : in Encoder; In_Item : in String_Type; In_Last : out Natural; Out_Item : out Ada.Streams.Stream_Element_Array; Out_Last : out Ada.Streams.Stream_Element_Offset; Finish : in Boolean; Status : out Subsequence_Status_Type) is CS_In_SE : constant Ada.Streams.Stream_Element_Count := Character_Type'Size / Ada.Streams.Stream_Element'Size; In_Item_2 : Ada.Streams.Stream_Element_Array (1 .. In_Item'Length * CS_In_SE); for In_Item_2'Address use In_Item'Address; In_Last_2 : Ada.Streams.Stream_Element_Offset; begin Convert ( Object, In_Item_2, In_Last_2, Out_Item, Out_Last, Finish => Finish, Status => Status); pragma Assert (In_Last_2 rem CS_In_SE = 0); In_Last := In_Item'First + Natural (In_Last_2 / CS_In_SE) - 1; end Encode; procedure Encode ( Object : in Encoder; In_Item : in String_Type; In_Last : out Natural; Out_Item : out Ada.Streams.Stream_Element_Array; Out_Last : out Ada.Streams.Stream_Element_Offset; Status : out Continuing_Status_Type) is CS_In_SE : constant Ada.Streams.Stream_Element_Count := Character_Type'Size / Ada.Streams.Stream_Element'Size; In_Item_2 : Ada.Streams.Stream_Element_Array (1 .. In_Item'Length * CS_In_SE); for In_Item_2'Address use In_Item'Address; In_Last_2 : Ada.Streams.Stream_Element_Offset; begin Convert ( Object, In_Item_2, In_Last_2, Out_Item, Out_Last, Status => Status); pragma Assert (In_Last_2 rem CS_In_SE = 0); In_Last := In_Item'First + Natural (In_Last_2 / CS_In_SE) - 1; end Encode; procedure Encode ( Object : in Encoder; In_Item : in String_Type; In_Last : out Natural; Out_Item : out Ada.Streams.Stream_Element_Array; Out_Last : out Ada.Streams.Stream_Element_Offset; Finish : in True_Only; Status : out Status_Type) is CS_In_SE : constant Ada.Streams.Stream_Element_Count := Character_Type'Size / Ada.Streams.Stream_Element'Size; In_Item_2 : Ada.Streams.Stream_Element_Array (1 .. In_Item'Length * CS_In_SE); for In_Item_2'Address use In_Item'Address; In_Last_2 : Ada.Streams.Stream_Element_Offset; begin Convert ( Object, In_Item_2, In_Last_2, Out_Item, Out_Last, Finish => Finish, Status => Status); pragma Assert (In_Last_2 rem CS_In_SE = 0); In_Last := In_Item'First + Natural (In_Last_2 / CS_In_SE) - 1; end Encode; procedure Encode ( Object : in Encoder; In_Item : in String_Type; In_Last : out Natural; Out_Item : out Ada.Streams.Stream_Element_Array; Out_Last : out Ada.Streams.Stream_Element_Offset; Finish : in True_Only; Status : out Substituting_Status_Type) is CS_In_SE : constant Ada.Streams.Stream_Element_Count := Character_Type'Size / Ada.Streams.Stream_Element'Size; In_Item_2 : Ada.Streams.Stream_Element_Array (1 .. In_Item'Length * CS_In_SE); for In_Item_2'Address use In_Item'Address; In_Last_2 : Ada.Streams.Stream_Element_Offset; begin Convert ( Object, In_Item_2, In_Last_2, Out_Item, Out_Last, Finish => Finish, Status => Status); pragma Assert (In_Last_2 rem CS_In_SE = 0); In_Last := In_Item'First + Natural (In_Last_2 / CS_In_SE) - 1; end Encode; function Encode (Object : Encoder; S : String_Type) return Ada.Streams.Stream_Element_Array is CS_In_SE : constant Ada.Streams.Stream_Element_Count := Character_Type'Size / Ada.Streams.Stream_Element'Size; In_Last : Natural := S'First - 1; Result : Ada.Streams.Stream_Element_Array ( 0 .. CS_In_SE * Max_Length_Of_Single_Character * S'Length - 1); Out_Last : Ada.Streams.Stream_Element_Offset := -1; Status : Substituting_Status_Type; begin loop Encode ( Object, S (In_Last + 1 .. S'Last), In_Last, Result (Out_Last + 1 .. Result'Last), Out_Last, Finish => True, Status => Status); case Status is when Finished => exit; when Success => null; when Overflow => raise Constraint_Error; end case; end loop; return Result (Result'First .. Out_Last); end Encode; end iconv.Generic_Strings;
-- Copyright 2008-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 System; package Pck is procedure Do_Nothing (A : System.Address); end Pck;
-- Copyright 2008-2019 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. package body Pck is procedure Call_Me (Str : String) is begin Length := Str'Length; if Length > 0 then First := Str (Str'First); Last := Str (Str'Last); end if; end Call_Me; end Pck;
-- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ top level package -- -- |___/_|\_\_|_|____| by: Timm Felden, Dennis Przytarski -- -- -- pragma Ada_2012; package Skill is pragma Pure; end Skill;