CombinedText
stringlengths
4
3.42M
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Extensions; package asm_generic_int_ll64_h is -- SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note -- * asm-generic/int-ll64.h -- * -- * Integer declarations for architectures which use "long long" -- * for 64-bit types. -- -- * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the -- * header files exported to user space -- subtype uu_s8 is signed_char; -- /usr/include/asm-generic/int-ll64.h:20 subtype uu_u8 is unsigned_char; -- /usr/include/asm-generic/int-ll64.h:21 subtype uu_s16 is short; -- /usr/include/asm-generic/int-ll64.h:23 subtype uu_u16 is unsigned_short; -- /usr/include/asm-generic/int-ll64.h:24 subtype uu_s32 is int; -- /usr/include/asm-generic/int-ll64.h:26 subtype uu_u32 is unsigned; -- /usr/include/asm-generic/int-ll64.h:27 subtype uu_s64 is Long_Long_Integer; -- /usr/include/asm-generic/int-ll64.h:30 subtype uu_u64 is Extensions.unsigned_long_long; -- /usr/include/asm-generic/int-ll64.h:31 end asm_generic_int_ll64_h;
-- This package was generated by the Ada_Drivers_Library project wizard script package ADL_Config is Architecture : constant String := "ARM"; -- From board definition Board : constant String := "NUCLEO_F446ZE"; -- From command line CPU_Core : constant String := "ARM Cortex-M4F"; -- From mcu definition Device_Family : constant String := "STM32F4"; -- From board definition Device_Name : constant String := "STM32F407VGTx"; -- From board definition Has_Ravenscar_Full_Runtime : constant String := "True"; -- From board definition Has_Ravenscar_SFP_Runtime : constant String := "True"; -- From board definition Has_ZFP_Runtime : constant String := "False"; -- From board definition High_Speed_External_Clock : constant := 8000000; -- From board definition Max_Mount_Name_Length : constant := 128; -- From default value Max_Mount_Points : constant := 2; -- From default value Max_Path_Length : constant := 1024; -- From default value Number_Of_Interrupts : constant := 0; -- From default value Runtime_Name : constant String := "ravenscar-sfp-stm32f4"; -- From default value Runtime_Name_Suffix : constant String := "stm32f4"; -- From board definition Runtime_Profile : constant String := "ravenscar-sfp"; -- From command line Use_Startup_Gen : constant Boolean := False; -- From command line Vendor : constant String := "STMicro"; -- From board definition end ADL_Config;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This file is generated, don't edit it. ------------------------------------------------------------------------------ with AMF.Generic_Collections; package AMF.UML.Message_Ends.Collections is pragma Preelaborate; package UML_Message_End_Collections is new AMF.Generic_Collections (UML_Message_End, UML_Message_End_Access); type Set_Of_UML_Message_End is new UML_Message_End_Collections.Set with null record; Empty_Set_Of_UML_Message_End : constant Set_Of_UML_Message_End; type Ordered_Set_Of_UML_Message_End is new UML_Message_End_Collections.Ordered_Set with null record; Empty_Ordered_Set_Of_UML_Message_End : constant Ordered_Set_Of_UML_Message_End; type Bag_Of_UML_Message_End is new UML_Message_End_Collections.Bag with null record; Empty_Bag_Of_UML_Message_End : constant Bag_Of_UML_Message_End; type Sequence_Of_UML_Message_End is new UML_Message_End_Collections.Sequence with null record; Empty_Sequence_Of_UML_Message_End : constant Sequence_Of_UML_Message_End; private Empty_Set_Of_UML_Message_End : constant Set_Of_UML_Message_End := (UML_Message_End_Collections.Set with null record); Empty_Ordered_Set_Of_UML_Message_End : constant Ordered_Set_Of_UML_Message_End := (UML_Message_End_Collections.Ordered_Set with null record); Empty_Bag_Of_UML_Message_End : constant Bag_Of_UML_Message_End := (UML_Message_End_Collections.Bag with null record); Empty_Sequence_Of_UML_Message_End : constant Sequence_Of_UML_Message_End := (UML_Message_End_Collections.Sequence with null record); end AMF.UML.Message_Ends.Collections;
-- Generated at 2017-03-27 17:51:45 +0000 by Natools.Static_Hash_Maps -- from src/natools-web-acl-maps.sx with Natools.Static_Maps.Web.ACL.Commands; function Natools.Static_Maps.Web.ACL.T return Boolean is begin for I in Map_1_Keys'Range loop if Natools.Static_Maps.Web.ACL.Commands.Hash (Map_1_Keys (I).all) /= I then return False; end if; end loop; return True; end Natools.Static_Maps.Web.ACL.T;
-- This spec has been automatically generated from STM32L4x1.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.NVIC is pragma Preelaborate; --------------- -- Registers -- --------------- subtype ICTR_INTLINESNUM_Field is HAL.UInt4; -- Interrupt Controller Type Register type ICTR_Register is record -- Read-only. Total number of interrupt lines in groups INTLINESNUM : ICTR_INTLINESNUM_Field; -- unspecified Reserved_4_31 : HAL.UInt28; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for ICTR_Register use record INTLINESNUM at 0 range 0 .. 3; Reserved_4_31 at 0 range 4 .. 31; end record; -- IPR_IPR_N array element subtype IPR_IPR_N_Element is HAL.UInt8; -- IPR_IPR_N array type IPR_IPR_N_Field_Array is array (0 .. 3) of IPR_IPR_N_Element with Component_Size => 8, Size => 32; -- Interrupt Priority Register type IPR_Register (As_Array : Boolean := False) is record case As_Array is when False => -- IPR_N as a value Val : HAL.UInt32; when True => -- IPR_N as an array Arr : IPR_IPR_N_Field_Array; end case; end record with Unchecked_Union, Size => 32, Volatile_Full_Access, Bit_Order => System.Low_Order_First; for IPR_Register use record Val at 0 range 0 .. 31; Arr at 0 range 0 .. 31; end record; subtype STIR_INTID_Field is HAL.UInt9; -- Software Triggered Interrupt Register type STIR_Register is record -- Write-only. interrupt to be triggered INTID : STIR_INTID_Field := 16#0#; -- unspecified Reserved_9_31 : HAL.UInt23 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for STIR_Register use record INTID at 0 range 0 .. 8; Reserved_9_31 at 0 range 9 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- Nested Vectored Interrupt Controller type NVIC_Peripheral is record -- Interrupt Controller Type Register ICTR : aliased ICTR_Register; -- Interrupt Set-Enable Register ISER0 : aliased HAL.UInt32; -- Interrupt Set-Enable Register ISER1 : aliased HAL.UInt32; -- Interrupt Set-Enable Register ISER2 : aliased HAL.UInt32; -- Interrupt Clear-Enable Register ICER0 : aliased HAL.UInt32; -- Interrupt Clear-Enable Register ICER1 : aliased HAL.UInt32; -- Interrupt Clear-Enable Register ICER2 : aliased HAL.UInt32; -- Interrupt Set-Pending Register ISPR0 : aliased HAL.UInt32; -- Interrupt Set-Pending Register ISPR1 : aliased HAL.UInt32; -- Interrupt Set-Pending Register ISPR2 : aliased HAL.UInt32; -- Interrupt Clear-Pending Register ICPR0 : aliased HAL.UInt32; -- Interrupt Clear-Pending Register ICPR1 : aliased HAL.UInt32; -- Interrupt Clear-Pending Register ICPR2 : aliased HAL.UInt32; -- Interrupt Active Bit Register IABR0 : aliased HAL.UInt32; -- Interrupt Active Bit Register IABR1 : aliased HAL.UInt32; -- Interrupt Active Bit Register IABR2 : aliased HAL.UInt32; -- Interrupt Priority Register IPR0 : aliased IPR_Register; -- Interrupt Priority Register IPR1 : aliased IPR_Register; -- Interrupt Priority Register IPR2 : aliased IPR_Register; -- Interrupt Priority Register IPR3 : aliased IPR_Register; -- Interrupt Priority Register IPR4 : aliased IPR_Register; -- Interrupt Priority Register IPR5 : aliased IPR_Register; -- Interrupt Priority Register IPR6 : aliased IPR_Register; -- Interrupt Priority Register IPR7 : aliased IPR_Register; -- Interrupt Priority Register IPR8 : aliased IPR_Register; -- Interrupt Priority Register IPR9 : aliased IPR_Register; -- Interrupt Priority Register IPR10 : aliased IPR_Register; -- Interrupt Priority Register IPR11 : aliased IPR_Register; -- Interrupt Priority Register IPR12 : aliased IPR_Register; -- Interrupt Priority Register IPR13 : aliased IPR_Register; -- Interrupt Priority Register IPR14 : aliased IPR_Register; -- Interrupt Priority Register IPR15 : aliased IPR_Register; -- Interrupt Priority Register IPR16 : aliased IPR_Register; -- Interrupt Priority Register IPR17 : aliased IPR_Register; -- Interrupt Priority Register IPR18 : aliased IPR_Register; -- Interrupt Priority Register IPR19 : aliased IPR_Register; -- Interrupt Priority Register IPR20 : aliased IPR_Register; -- Software Triggered Interrupt Register STIR : aliased STIR_Register; end record with Volatile; for NVIC_Peripheral use record ICTR at 16#4# range 0 .. 31; ISER0 at 16#100# range 0 .. 31; ISER1 at 16#104# range 0 .. 31; ISER2 at 16#108# range 0 .. 31; ICER0 at 16#180# range 0 .. 31; ICER1 at 16#184# range 0 .. 31; ICER2 at 16#188# range 0 .. 31; ISPR0 at 16#200# range 0 .. 31; ISPR1 at 16#204# range 0 .. 31; ISPR2 at 16#208# range 0 .. 31; ICPR0 at 16#280# range 0 .. 31; ICPR1 at 16#284# range 0 .. 31; ICPR2 at 16#288# range 0 .. 31; IABR0 at 16#300# range 0 .. 31; IABR1 at 16#304# range 0 .. 31; IABR2 at 16#308# range 0 .. 31; IPR0 at 16#400# range 0 .. 31; IPR1 at 16#404# range 0 .. 31; IPR2 at 16#408# range 0 .. 31; IPR3 at 16#40C# range 0 .. 31; IPR4 at 16#410# range 0 .. 31; IPR5 at 16#414# range 0 .. 31; IPR6 at 16#418# range 0 .. 31; IPR7 at 16#41C# range 0 .. 31; IPR8 at 16#420# range 0 .. 31; IPR9 at 16#424# range 0 .. 31; IPR10 at 16#428# range 0 .. 31; IPR11 at 16#42C# range 0 .. 31; IPR12 at 16#430# range 0 .. 31; IPR13 at 16#434# range 0 .. 31; IPR14 at 16#438# range 0 .. 31; IPR15 at 16#43C# range 0 .. 31; IPR16 at 16#440# range 0 .. 31; IPR17 at 16#444# range 0 .. 31; IPR18 at 16#448# range 0 .. 31; IPR19 at 16#44C# range 0 .. 31; IPR20 at 16#450# range 0 .. 31; STIR at 16#F00# range 0 .. 31; end record; -- Nested Vectored Interrupt Controller NVIC_Periph : aliased NVIC_Peripheral with Import, Address => System'To_Address (16#E000E000#); end STM32_SVD.NVIC;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . I M G _ I N T -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2019, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ package body System.Img_Int is procedure Set_Digits (T : Integer; S : in out String; P : in out Natural); -- Set digits of absolute value of T, which is zero or negative. We work -- with the negative of the value so that the largest negative number is -- not a special case. ------------------- -- Image_Integer -- ------------------- procedure Image_Integer (V : Integer; S : in out String; P : out Natural) is pragma Assert (S'First = 1); begin if V >= 0 then S (1) := ' '; P := 1; else P := 0; end if; Set_Image_Integer (V, S, P); end Image_Integer; ---------------- -- Set_Digits -- ---------------- procedure Set_Digits (T : Integer; S : in out String; P : in out Natural) is begin if T <= -10 then Set_Digits (T / 10, S, P); P := P + 1; S (P) := Character'Val (48 - (T rem 10)); else P := P + 1; S (P) := Character'Val (48 - T); end if; end Set_Digits; ----------------------- -- Set_Image_Integer -- ----------------------- procedure Set_Image_Integer (V : Integer; S : in out String; P : in out Natural) is begin if V >= 0 then Set_Digits (-V, S, P); else P := P + 1; S (P) := '-'; Set_Digits (V, S, P); end if; end Set_Image_Integer; end System.Img_Int;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- E X P _ S T R M -- -- -- -- S p e c -- -- -- -- $Revision$ -- -- -- Copyright (C) 1992-1999 Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, -- -- MA 02111-1307, USA. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Routines to build stream subprograms for composite types with Types; use Types; package Exp_Strm is function Build_Elementary_Input_Call (N : Node_Id) return Node_Id; -- Build call to Read attribute function for elementary type. Also used -- for Input attributes for elementary types with an appropriate extra -- assignment statement. N is the attribute reference node. function Build_Elementary_Write_Call (N : Node_Id) return Node_Id; -- Build call to Write attribute function for elementary type. Also used -- for Output attributes for elementary types (since the effect of the -- two attributes is identical for elementary types). N is the attribute -- reference node. function Build_Stream_Attr_Profile (Loc : Source_Ptr; Typ : Entity_Id; Nam : Name_Id) return List_Id; -- Builds the parameter profile for the stream attribute identified by -- the given name (which is the underscore version, e.g. Name_uWrite to -- identify the Write attribute). This is used for the tagged case to -- build the spec for the primitive operation. -- The following routines build procedures and functions for stream -- attributes applied to composite types. For each of these routines, -- Loc is used to provide the location for the constructed subprogram -- declaration. Typ is the base type to which the subprogram applies -- (i.e. the base type of the stream attribute prefix). The returned -- results are the declaration and name (entity) of the subprogram. procedure Build_Array_Input_Function (Loc : Source_Ptr; Typ : Entity_Id; Decl : out Node_Id; Fnam : out Entity_Id); -- Build function for Input attribute for array type procedure Build_Array_Output_Procedure (Loc : Source_Ptr; Typ : Entity_Id; Decl : out Node_Id; Pnam : out Entity_Id); -- Build procedure for Output attribute for array type procedure Build_Array_Read_Procedure (Nod : Node_Id; Typ : Entity_Id; Decl : out Node_Id; Pnam : out Entity_Id); -- Build procedure for Read attribute for array type. Nod provides the -- Sloc value for generated code. procedure Build_Array_Write_Procedure (Nod : Node_Id; Typ : Entity_Id; Decl : out Node_Id; Pnam : out Entity_Id); -- Build procedure for Write attribute for array type. Nod provides the -- Sloc value for generated code. procedure Build_Mutable_Record_Read_Procedure (Loc : Source_Ptr; Typ : Entity_Id; Decl : out Node_Id; Pnam : out Entity_Id); -- Build procedure to Read a record with default discriminants. -- Discriminants must be read explicitly (RM 13.13.2(9)) in the -- same manner as is done for 'Input. procedure Build_Mutable_Record_Write_Procedure (Loc : Source_Ptr; Typ : Entity_Id; Decl : out Node_Id; Pnam : out Entity_Id); -- Build procedure to write a record with default discriminants. -- Discriminants must be written explicitly (RM 13.13.2(9)) in -- the same manner as is done for 'Output. procedure Build_Record_Or_Elementary_Input_Function (Loc : Source_Ptr; Typ : Entity_Id; Decl : out Node_Id; Fnam : out Entity_Id); -- Build function for Input attribute for record type or for an -- elementary type (the latter is used only in the case where a -- user defined Read routine is defined, since in other cases, -- Input calls the appropriate runtime library routine directly. procedure Build_Record_Or_Elementary_Output_Procedure (Loc : Source_Ptr; Typ : Entity_Id; Decl : out Node_Id; Pnam : out Entity_Id); -- Build procedure for Output attribute for record type or for an -- elementary type (the latter is used only in the case where a -- user defined Write routine is defined, since in other cases, -- Output calls the appropriate runtime library routine directly. procedure Build_Record_Read_Procedure (Loc : Source_Ptr; Typ : Entity_Id; Decl : out Node_Id; Pnam : out Entity_Id); -- Build procedure for Read attribute for record type procedure Build_Record_Write_Procedure (Loc : Source_Ptr; Typ : Entity_Id; Decl : out Node_Id; Pnam : out Entity_Id); -- Build procedure for Write attribute for record type end Exp_Strm;
with SDL; with SDL.Log; with SDL.Timers; procedure Timers is function Ticks return String is (SDL.Timers.Milliseconds'Image (SDL.Timers.Ticks)); begin SDL.Log.Set (Category => SDL.Log.Application, Priority => SDL.Log.Debug); SDL.Log.Put_Debug ("Ticks: " & Ticks); SDL.Timers.Wait_Delay (200); SDL.Log.Put_Debug ("After Wait_Delay, ticks: " & Ticks); end Timers;
------------------------------------------------------------------------------ -- -- -- 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.CMOF.Behavioral_Features.Collections is pragma Preelaborate; package CMOF_Behavioral_Feature_Collections is new AMF.Generic_Collections (CMOF_Behavioral_Feature, CMOF_Behavioral_Feature_Access); type Set_Of_CMOF_Behavioral_Feature is new CMOF_Behavioral_Feature_Collections.Set with null record; Empty_Set_Of_CMOF_Behavioral_Feature : constant Set_Of_CMOF_Behavioral_Feature; type Ordered_Set_Of_CMOF_Behavioral_Feature is new CMOF_Behavioral_Feature_Collections.Ordered_Set with null record; Empty_Ordered_Set_Of_CMOF_Behavioral_Feature : constant Ordered_Set_Of_CMOF_Behavioral_Feature; type Bag_Of_CMOF_Behavioral_Feature is new CMOF_Behavioral_Feature_Collections.Bag with null record; Empty_Bag_Of_CMOF_Behavioral_Feature : constant Bag_Of_CMOF_Behavioral_Feature; type Sequence_Of_CMOF_Behavioral_Feature is new CMOF_Behavioral_Feature_Collections.Sequence with null record; Empty_Sequence_Of_CMOF_Behavioral_Feature : constant Sequence_Of_CMOF_Behavioral_Feature; private Empty_Set_Of_CMOF_Behavioral_Feature : constant Set_Of_CMOF_Behavioral_Feature := (CMOF_Behavioral_Feature_Collections.Set with null record); Empty_Ordered_Set_Of_CMOF_Behavioral_Feature : constant Ordered_Set_Of_CMOF_Behavioral_Feature := (CMOF_Behavioral_Feature_Collections.Ordered_Set with null record); Empty_Bag_Of_CMOF_Behavioral_Feature : constant Bag_Of_CMOF_Behavioral_Feature := (CMOF_Behavioral_Feature_Collections.Bag with null record); Empty_Sequence_Of_CMOF_Behavioral_Feature : constant Sequence_Of_CMOF_Behavioral_Feature := (CMOF_Behavioral_Feature_Collections.Sequence with null record); end AMF.CMOF.Behavioral_Features.Collections;
-- Copyright 2007, 2008 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with Pck; use Pck; procedure Foo is First : Character := 'a'; begin Procedure_Result := ' '; Same (First); -- STOP Next (First); end Foo;
-------------------------------------------------------------------------------------------------------------------- -- 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; private with SDL.C_Pointers; with SDL.Error; package body SDL.Video.Renderers.Makers is package C renames Interfaces.C; use type C.int; use type SDL.C_Pointers.Texture_Pointer; function Get_Internal_Window (Self : in SDL.Video.Windows.Window) return SDL.C_Pointers.Windows_Pointer with Convention => Ada, Import => True; function Get_Internal_Surface (Self : in SDL.Video.Surfaces.Surface) return SDL.Video.Surfaces.Internal_Surface_Pointer with Import => True, Convention => Ada; procedure Create (Rend : in out Renderer; Window : in out SDL.Video.Windows.Window; Driver : in Positive; Flags : in Renderer_Flags := Default_Renderer_Flags) is function SDL_Create_Renderer (W : in SDL.C_Pointers.Windows_Pointer; Index : in C.int; Flags : in Renderer_Flags) return SDL.C_Pointers.Renderer_Pointer with Import => True, Convention => C, External_Name => "SDL_CreateRenderer"; begin Rend.Internal := SDL_Create_Renderer (Get_Internal_Window (Window), C.int (Driver), Flags); end Create; procedure Create (Rend : in out Renderer; Window : in out SDL.Video.Windows.Window; Flags : in Renderer_Flags := Default_Renderer_Flags) is function SDL_Create_Renderer (W : in SDL.C_Pointers.Windows_Pointer; Index : in C.int; Flags : in Renderer_Flags) return SDL.C_Pointers.Renderer_Pointer with Import => True, Convention => C, External_Name => "SDL_CreateRenderer"; begin Rend.Internal := SDL_Create_Renderer (Get_Internal_Window (Window), -1, Flags); Rend.Owns := True; end Create; procedure Create (Rend : in out Renderer; Surface : in SDL.Video.Surfaces.Surface) is function SDL_Create_Software_Renderer (S : in SDL.Video.Surfaces.Internal_Surface_Pointer) return SDL.C_Pointers.Renderer_Pointer with Import => True, Convention => C, External_Name => "SDL_CreateSoftwareRenderer"; begin Rend.Internal := SDL_Create_Software_Renderer (Get_Internal_Surface (Surface)); Rend.Owns := True; end Create; end SDL.Video.Renderers.Makers;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of 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. -- -- -- ------------------------------------------------------------------------------ -- The file declares the main procedure for an alternative version of the -- demonstration. This one uses polling to recognize completion of the DMA -- transfer. with Last_Chance_Handler; pragma Unreferenced (Last_Chance_Handler); -- The "last chance handler" is an AdaCore-defined routine that is called when -- an exception is propagated. This specific version is an overriding of the -- predefined version. We need it in the executable, therefore it must be -- somewhere in the closure of the context clauses. with STM32.Board; use STM32.Board; with STM32.Device; use STM32.Device; with Ada.Real_Time; use Ada.Real_Time; with STM32.DMA; use STM32.DMA; with STM32.GPIO; use STM32.GPIO; with Peripherals; use Peripherals; procedure Demo_DMA_Polling is type Data is array (1 .. 100) of Integer; Source_Block : constant Data := (others => 42); Destination_Block : Data := (others => 0); Config : DMA_Stream_Configuration; Status : DMA_Error_Code; begin Initialize_LEDs; -- just to signal that we are indeed running... for K in 1 .. 3 loop All_LEDs_On; delay until Clock + Milliseconds (200); All_LEDs_Off; delay until Clock + Milliseconds (200); end loop; Enable_Clock (Controller); Config.Channel := Channel_0; Config.Direction := Memory_To_Memory; Config.Operation_Mode := Normal_Mode; -- non-circular Config.Priority := Priority_Medium; Config.Peripheral_Data_Format := Words; Config.Memory_Data_Format := Words; Config.Increment_Memory_Address := True; Configure (Controller, Stream, Config); -- note the controller is disabled by the call to Configure Start_Transfer (Controller, Stream, Source => Source_Block'Address, Destination => Destination_Block'Address, Data_Count => Data'Length); -- Integer is same size as Word Poll_For_Completion (Controller, Stream, Expected_Level => Full_Transfer, Timeout => Time_Span_Last, Result => Status); if Status /= DMA_No_Error then -- signal the problem loop Green_LED.Toggle; delay until Clock + Milliseconds (200); end loop; end if; if Source_Block = Destination_Block then Turn_On (Green_LED); else Turn_On (Red_LED); end if; loop null; end loop; end Demo_DMA_Polling;
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Unix; with Parameters; with HelperText; with File_Operations; with PortScan.Scan; with PortScan.Operations; with Ada.Characters.Latin_1; with Ada.Directories; with Ada.Exceptions; with Ada.Text_IO; package body Repository is package PM renames Parameters; package HT renames HelperText; package FOP renames File_Operations; package LAT renames Ada.Characters.Latin_1; package DIR renames Ada.Directories; package EX renames Ada.Exceptions; package TIO renames Ada.Text_IO; -------------------------------------------------------------------------------------------- -- signing_command -------------------------------------------------------------------------------------------- function signing_command return String is filename : constant String := get_file_prefix & "-signing_command"; begin return FOP.head_n1 (filename); end signing_command; -------------------------------------------------------------------------------------------- -- profile_fingerprint -------------------------------------------------------------------------------------------- function profile_fingerprint return String is filename : constant String := get_file_prefix & "-fingerprint"; begin return FOP.head_n1 (filename); end profile_fingerprint; -------------------------------------------------------------------------------------------- -- valid_signing_command -------------------------------------------------------------------------------------------- function valid_signing_command return Boolean is file_prefix : constant String := get_file_prefix; fingerprint : constant String := file_prefix & "fingerprint"; ext_command : constant String := file_prefix & "signing_command"; found_finger : constant Boolean := DIR.Exists (fingerprint); found_command : constant Boolean := DIR.Exists (ext_command); begin if found_finger and then found_command then if HT.IsBlank (FOP.head_n1 (fingerprint)) or else HT.IsBlank (FOP.head_n1 (ext_command)) then TIO.Put_Line ("At least one of the profile signing command files is blank"); TIO.Put_Line (sorry); return False; end if; return True; end if; if found_finger then TIO.Put_Line ("The profile fingerprint was found but not the signing command"); TIO.Put_Line (sorry); elsif found_command then TIO.Put_Line ("The profile signing command was found but not the fingerprint"); TIO.Put_Line (sorry); end if; return False; end valid_signing_command; -------------------------------------------------------------------------------------------- -- acceptable_RSA_signing_support -------------------------------------------------------------------------------------------- function acceptable_RSA_signing_support return Boolean is file_prefix : constant String := get_file_prefix; key_private : constant String := file_prefix & "private.key"; key_public : constant String := file_prefix & "public.key"; found_private : constant Boolean := DIR.Exists (key_private); found_public : constant Boolean := DIR.Exists (key_public); begin if not found_private and then not found_public then return True; end if; if found_public and then not found_private then TIO.Put_Line ("A public RSA key file has been found without a " & "corresponding private key file."); TIO.Put_Line (sorry); return True; end if; if found_private and then not found_public then TIO.Put_Line ("A private RSA key file has been found without a " & "corresponding public key file."); TIO.Put_Line (sorry); return True; end if; declare mode : constant String := file_permissions (key_private); begin if mode /= "400" then TIO.Put_Line ("The private RSA key file has insecure file permissions (" & mode & ")"); TIO.Put_Line ("Please change the file mode of " & key_private & " to 400 before continuing."); return False; end if; end; return True; end acceptable_RSA_signing_support; -------------------------------------------------------------------------------------------- -- set_raven_conf_with_RSA -------------------------------------------------------------------------------------------- function set_raven_conf_with_RSA return Boolean is file_prefix : constant String := get_file_prefix; key_private : constant String := file_prefix & "private.key"; key_public : constant String := file_prefix & "public.key"; found_private : constant Boolean := DIR.Exists (key_private); found_public : constant Boolean := DIR.Exists (key_public); begin return found_public and then found_private and then file_permissions (key_private) = "400"; end set_raven_conf_with_RSA; -------------------------------------------------------------------------------------------- -- get_file_prefix -------------------------------------------------------------------------------------------- function get_file_prefix return String is begin return PM.raven_confdir & "/" & HT.USS (PM.configuration.profile) & "-"; end get_file_prefix; -------------------------------------------------------------------------------------------- -- file_permissions -------------------------------------------------------------------------------------------- function file_permissions (full_path : String) return String is function OS_command return String; content : HT.Text; status : Integer; function OS_command return String is begin case platform_type is when dragonfly | freebsd | netbsd | openbsd | macos => return "/usr/bin/stat -f %Lp "; when linux | sunos => return "/usr/bin/stat -L --format=%a "; end case; end OS_command; command : constant String := HT.USS (PM.configuration.dir_sysroot) & OS_command & full_path; begin content := Unix.piped_command (command, status); if status /= 0 then return "000"; end if; return HT.first_line (HT.USS (content)); end file_permissions; -------------------------------------------------------------------------------------------- -- host_pkg8_conservative_upgrade_set -------------------------------------------------------------------------------------------- function host_pkg8_conservative_upgrade_set return Boolean is command : constant String := host_pkg8 & " config CONSERVATIVE_UPGRADE"; content : HT.Text; status : Integer; begin content := Unix.piped_command (command, status); return (HT.first_line (HT.USS (content)) = "yes"); end host_pkg8_conservative_upgrade_set; -------------------------------------------------------------------------------------------- -- get_repos_dir -------------------------------------------------------------------------------------------- function get_repos_dir return String is command : String := host_pkg8 & " config repos_dir"; status : Integer; markers : HT.Line_Markers; repdirs : String := HT.USS (Unix.piped_command (command, status)); default : constant String := host_localbase & "/etc/pkg/repos"; begin if status /= 0 then -- command failed, use default return default; end if; HT.initialize_markers (repdirs, markers); loop exit when not HT.next_line_present (repdirs, markers); declare line : constant String := HT.extract_line (repdirs, markers); begin if line /= "/etc/pkg" then return line; end if; end; end loop; -- fallback, use default return default; end get_repos_dir; -------------------------------------------------------------------------------------------- -- write_pkg_repos_configuration_file -------------------------------------------------------------------------------------------- function write_pkg_repos_configuration_file return Boolean is repdir : constant String := get_repos_dir; target : constant String := repdir & "/00_raven.conf"; pkgdir : constant String := HT.USS (PM.configuration.dir_packages); pubkey : constant String := get_file_prefix & "-public.key"; keydir : constant String := PM.raven_confdir & "/keys"; tstdir : constant String := keydir & "/trusted"; autgen : constant String := "# Automatically generated." & LAT.LF; fpfile : constant String := tstdir & "/fingerprint." & HT.USS (PM.configuration.profile); handle : TIO.File_Type; vscmd : Boolean := False; begin if DIR.Exists (target) then DIR.Delete_File (target); elsif not DIR.Exists (repdir) then DIR.Create_Path (repdir); end if; TIO.Create (File => handle, Mode => TIO.Out_File, Name => target); TIO.Put_Line (handle, autgen); TIO.Put_Line (handle, "Raven: {"); TIO.Put_Line (handle, " url : file://" & pkgdir & ","); TIO.Put_Line (handle, " priority : 0,"); TIO.Put_Line (handle, " enabled : yes,"); if valid_signing_command then vscmd := True; TIO.Put_Line (handle, " signature_type : FINGERPRINTS,"); TIO.Put_Line (handle, " fingerprints : " & keydir); elsif set_raven_conf_with_RSA then TIO.Put_Line (handle, " signature_type : PUBKEY,"); TIO.Put_Line (handle, " pubkey : " & LAT.Quotation & pubkey & LAT.Quotation); end if; TIO.Put_Line (handle, "}"); TIO.Close (handle); if vscmd then if DIR.Exists (fpfile) then DIR.Delete_File (fpfile); elsif not DIR.Exists (tstdir) then DIR.Create_Path (tstdir); end if; TIO.Create (File => handle, Mode => TIO.Out_File, Name => fpfile); TIO.Put_Line (handle, autgen); TIO.Put_Line (handle, "function : sha256"); TIO.Put_Line (handle, "fingerprint : " & profile_fingerprint); TIO.Close (handle); end if; return True; exception when others => TIO.Put_Line ("Error: failed to create " & target); if TIO.Is_Open (handle) then TIO.Close (handle); end if; return False; end write_pkg_repos_configuration_file; -------------------------------------------------------------------------------------------- -- rebuild_local_respository -------------------------------------------------------------------------------------------- procedure preclean_repository (repository : String) is begin if PortScan.Scan.scan_repository (repository) then PortScan.Operations.eliminate_obsolete_packages; end if; end preclean_repository; -------------------------------------------------------------------------------------------- -- rebuild_local_respository -------------------------------------------------------------------------------------------- procedure rebuild_local_respository (remove_invalid_packages : Boolean) is ------------------------------------------------------------ -- fully_scan_tree must be executed before this routine -- ------------------------------------------------------------ repo : constant String := HT.USS (PM.configuration.dir_repository); main : constant String := HT.USS (PM.configuration.dir_packages); xz_meta : constant String := main & "/meta.tzst"; xz_digest : constant String := main & "/digests.tzst"; xz_pkgsite : constant String := main & "/packagesite.tzst"; bs_error : constant String := "Rebuild Repository: Failed to bootstrap builder"; build_res : Boolean; begin if remove_invalid_packages then preclean_repository (repo); end if; if DIR.Exists (xz_meta) then DIR.Delete_File (xz_meta); end if; if DIR.Exists (xz_digest) then DIR.Delete_File (xz_digest); end if; if DIR.Exists (xz_pkgsite) then DIR.Delete_File (xz_pkgsite); end if; if valid_signing_command then build_res := build_repository (signing_command); elsif acceptable_RSA_signing_support then build_res := build_repository; else build_res := False; end if; if build_res then TIO.Put_Line ("Local repository successfully rebuilt."); else TIO.Put_Line ("Failed to rebuild repository."); end if; end rebuild_local_respository; -------------------------------------------------------------------------------------------- -- silent_exec -------------------------------------------------------------------------------------------- procedure silent_exec (command : String) is cmd_output : HT.Text; success : Boolean := Unix.piped_mute_command (command, cmd_output); begin if not success then raise bad_command with command & " => failed: " & HT.USS (cmd_output); end if; end silent_exec; -------------------------------------------------------------------------------------------- -- build_repository -------------------------------------------------------------------------------------------- function build_repository (sign_command : String := "") return Boolean is key_private : constant String := get_file_prefix & "private.key"; use_key : constant Boolean := DIR.Exists (key_private); use_cmd : constant Boolean := (sign_command /= ""); pkgdir : constant String := HT.USS (PM.configuration.dir_packages); command : constant String := host_pkg8 & " repo -q " & pkgdir; sc_cmd : constant String := command & " signing_command: " & sign_command; cmd_out : HT.Text; begin if use_key then TIO.Put_Line ("Rebuilding RSA-signed local repository ..."); silent_exec (command & " " & key_private); elsif use_cmd then TIO.Put_Line ("Rebuilding externally-signed local repository ..."); silent_exec (sc_cmd); else TIO.Put_Line ("Rebuilding local repository ..."); silent_exec (command); end if; return True; exception when quepaso : others => TIO.Put_Line (EX.Exception_Message (quepaso)); return False; end build_repository; end Repository;
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, Luke A. Guest -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the use of this software. -- -- Permission is granted to anyone to use this software for any purpose, -- including commercial applications, and to alter it and redistribute it -- freely, subject to the following restrictions: -- -- 1. The origin of this software must not be misrepresented; you must not -- claim that you wrote the original software. If you use this software -- in a product, an acknowledgment in the product documentation would be -- appreciated but is not required. -- -- 2. Altered source versions must be plainly marked as such, and must not be -- misrepresented as being the original software. -- -- 3. This notice may not be removed or altered from any source -- distribution. -------------------------------------------------------------------------------------------------------------------- with Interfaces.C; with Interfaces.C.Strings; with SDL.Error; package body SDL.Inputs.Joysticks is package C renames Interfaces.C; use type C.int; function Total return All_Devices is function SDL_Num_Joysticks return C.int with Import => True, Convention => C, External_Name => "SDL_NumJoysticks"; Result : C.int := SDL_Num_Joysticks; begin if Result < 0 then raise Joystick_Error with SDL.Error.Get; end if; return All_Devices (Result); end Total; function Name (Device : in Devices) return String is function SDL_Joystick_Name_For_Index (Device : in C.int) return C.Strings.chars_ptr with Import => True, Convention => C, External_Name => "SDL_JoystickNameForIndex"; begin return C.Strings.Value (SDL_Joystick_Name_For_Index (C.int (Device) - 1)); end Name; function GUID (Device : in Devices) return GUIDs is function SDL_Joystick_Get_Device_GUID (Device : in C.int) return GUIDs with Import => True, Convention => C, External_Name => "SDL_JoystickGetDeviceGUID"; begin return SDL_Joystick_Get_Device_GUID (C.int (Device) - 1); end GUID; function Image (GUID : in GUIDs) return String is procedure SDL_Joystick_Get_GUID_String (GUID : in GUIDs; Buffer : out C.char_array; Size : in C.int) with Import => True, Convention => C, External_Name => "SDL_JoystickGetGUIDString"; Data_Buffer : C.char_array (0 .. 127) := (others => C.nul); L : C.int := C.int (Data_Buffer'Length); begin SDL_Joystick_Get_GUID_String (GUID, Data_Buffer, L); return C.To_Ada (Data_Buffer); end Image; function Value (GUID : in String) return GUIDs is function SDL_Joystick_Get_GUID_From_String (Buffer : in C.char_array) return GUIDs with Import => True, Convention => C, External_Name => "SDL_JoystickGetGUIDFromString"; begin return SDL_Joystick_Get_GUID_From_String (C.To_C (GUID)); end Value; function "=" (Left, Right : in Joystick) return Boolean is use type SDL.C_Pointers.Joystick_Pointer; begin return Left.Internal = Right.Internal and then Left.Owns = Right.Owns; end "="; procedure Close (Self : in out Joystick) is procedure SDL_Joystick_Close (Stick : in SDL.C_Pointers.Joystick_Pointer) with Import => True, Convention => C, External_Name => "SDL_JoystickClose"; begin SDL_Joystick_Close (Self.Internal); -- Reinitialise the object so it's actually a Null_Joystick. Self.Internal := null; Self.Owns := True; end Close; function Axes (Self : in Joystick) return SDL.Events.Joysticks.Axes is function SDL_Joystick_Num_Axes (Stick : in SDL.C_Pointers.Joystick_Pointer) return C.int with Import => True, Convention => C, External_Name => "SDL_JoystickNumAxes"; Total : C.int := SDL_Joystick_Num_Axes (Self.Internal); begin if Total < 0 then raise Joystick_Error with SDL.Error.Get; end if; return SDL.Events.Joysticks.Axes (Total); end Axes; function Balls (Self : in Joystick) return SDL.Events.Joysticks.Balls is function SDL_Joystick_Num_Balls (Stick : in SDL.C_Pointers.Joystick_Pointer) return C.int with Import => True, Convention => C, External_Name => "SDL_JoystickNumBalls"; Total : C.int := SDL_Joystick_Num_Balls (Self.Internal); begin if Total < 0 then raise Joystick_Error with SDL.Error.Get; end if; return SDL.Events.Joysticks.Balls (Total); end Balls; function Buttons (Self : in Joystick) return SDL.Events.Joysticks.Buttons is function SDL_Joystick_Num_Buttons (Stick : in SDL.C_Pointers.Joystick_Pointer) return C.int with Import => True, Convention => C, External_Name => "SDL_JoystickNumButtons"; Total : C.int := SDL_Joystick_Num_Buttons (Self.Internal); begin if Total < 0 then raise Joystick_Error with SDL.Error.Get; end if; return SDL.Events.Joysticks.Buttons (Total); end Buttons; function Hats (Self : in Joystick) return SDL.Events.Joysticks.Hats is function SDL_Joystick_Num_Hats (Stick : in SDL.C_Pointers.Joystick_Pointer) return C.int with Import => True, Convention => C, External_Name => "SDL_JoystickNumHats"; Total : C.int := SDL_Joystick_Num_Hats (Self.Internal); begin if Total < 0 then raise Joystick_Error with SDL.Error.Get; end if; return SDL.Events.Joysticks.Hats (Total); end Hats; function Name (Self : in Joystick) return String is function SDL_Joystick_Name (Stick : in SDL.C_Pointers.Joystick_Pointer) return C.Strings.chars_ptr with Import => True, Convention => C, External_Name => "SDL_JoystickName"; begin return C.Strings.Value (SDL_Joystick_Name (Self.Internal)); end Name; function Is_Haptic (Self : in Joystick) return Boolean is function SDL_Joystick_Is_Haptic (Stick : in SDL.C_Pointers.Joystick_Pointer) return C.int with Import => True, Convention => C, External_Name => "SDL_JoystickIsHaptic"; Result : C.int := SDL_Joystick_Is_Haptic (Self.Internal); begin if Result < 0 then raise Joystick_Error with SDL.Error.Get; elsif Result = 1 then return True; end if; return False; end Is_Haptic; function Is_Attached (Self : in Joystick) return Boolean is function SDL_Joystick_Is_Attached (Stick : in SDL.C_Pointers.Joystick_Pointer) return SDL_Bool with Import => True, Convention => C, External_Name => "SDL_JoystickGetAttached"; begin return SDL_Joystick_Is_Attached (Self.Internal) = SDL_True; end Is_Attached; function GUID (Self : in Joystick) return GUIDs is function SDL_Joystick_Get_GUID (Stick : in SDL.C_Pointers.Joystick_Pointer) return GUIDs with Import => True, Convention => C, External_Name => "SDL_JoystickGetGUID"; begin return SDL_Joystick_Get_GUID (Self.Internal); end GUID; function Instance (Self : in Joystick) return Instances is function SDL_Joystick_Instance_ID (Stick : in SDL.C_Pointers.Joystick_Pointer) return C.int with Import => True, Convention => C, External_Name => "SDL_JoystickInstanceID"; Result : C.int := SDL_Joystick_Instance_ID (Self.Internal); begin if Result < Success then raise Joystick_Error with SDL.Error.Get; end if; return Instances (Result); end Instance; function Axis_Value (Self : in Joystick; Axis : in SDL.Events.Joysticks.Axes) return SDL.Events.Joysticks.Axes_Values is function SDL_Joystick_Get_Axis (Stick : in SDL.C_Pointers.Joystick_Pointer; Axis : in SDL.Events.Joysticks.Axes) return SDL.Events.Joysticks.Axes_Values with Import => True, Convention => C, External_Name => "SDL_JoystickGetAxis"; begin return SDL_Joystick_Get_Axis (Self.Internal, Axis); end Axis_Value; procedure Ball_Value (Self : in Joystick; Ball : in SDL.Events.Joysticks.Balls; Delta_X, Delta_Y : out SDL.Events.Joysticks.Ball_Values) is function SDL_Joystick_Get_Ball (Stick : in SDL.C_Pointers.Joystick_Pointer; Ball : in SDL.Events.Joysticks.Balls; Delta_X, Delta_Y : out SDL.Events.Joysticks.Ball_Values) return C.int with Import => True, Convention => C, External_Name => "SDL_JoystickGetBall"; Result : C.int := SDL_Joystick_Get_Ball (Self.Internal, Ball, Delta_X, Delta_Y); begin if Result < Success then raise Joystick_Error with SDL.Error.Get; end if; end Ball_Value; function Hat_Value (Self : in Joystick; Hat : in SDL.Events.Joysticks.Hats) return SDL.Events.Joysticks.Hat_Positions is function SDL_Joystick_Get_Hat (Stick : in SDL.C_Pointers.Joystick_Pointer; Ball : in SDL.Events.Joysticks.Hats) return SDL.Events.Joysticks.Hat_Positions with Import => True, Convention => C, External_Name => "SDL_JoystickGetHat"; begin return SDL_Joystick_Get_Hat (Self.Internal, Hat); end Hat_Value; function Is_Button_Pressed (Self : in Joystick; Button : in SDL.Events.Joysticks.Buttons) return SDL.Events.Button_State is function SDL_Joystick_Get_Button (Stick : in SDL.C_Pointers.Joystick_Pointer; Button : in SDL.Events.Joysticks.Buttons) return SDL.Events.Button_State with Import => True, Convention => C, External_Name => "SDL_JoystickGetButton"; begin return SDL_Joystick_Get_Button (Self.Internal, Button); end Is_Button_Pressed; end SDL.Inputs.Joysticks;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ADA.WIDE_WIDE_TEXT_IO.ENUMERATION_AUX -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2020, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package contains the routines for Ada.Wide_Wide_Text_IO.Enumeration_IO -- that are shared among separate instantiations. private package Ada.Wide_Wide_Text_IO.Enumeration_Aux is procedure Get_Enum_Lit (File : File_Type; Buf : out Wide_Wide_String; Buflen : out Natural); -- Reads an enumeration literal value from the file, folds to upper case, -- and stores the result in Buf, setting Buflen to the number of stored -- characters (Buf has a lower bound of 1). If more than Buflen characters -- are present in the literal, Data_Error is raised. procedure Scan_Enum_Lit (From : Wide_Wide_String; Start : out Natural; Stop : out Natural); -- Scans an enumeration literal at the start of From, skipping any leading -- spaces. Sets Start to the first character, Stop to the last character. -- Raises End_Error if no enumeration literal is found. procedure Put (File : File_Type; Item : Wide_Wide_String; Width : Field; Set : Type_Set); -- Outputs the enumeration literal image stored in Item to the given File, -- using the given Width and Set parameters (Item is always in upper case). procedure Puts (To : out Wide_Wide_String; Item : Wide_Wide_String; Set : Type_Set); -- Stores the enumeration literal image stored in Item to the string To, -- padding with trailing spaces if necessary to fill To. Set is used to end Ada.Wide_Wide_Text_IO.Enumeration_Aux;
with ada.text_io; use ada.text_io; With ada.integer_text_io; use ada.integer_text_io; with Ada,Ada.Numerics.Discrete_Random; use Ada,Ada.Numerics; with Ada.Unchecked_Deallocation; package body tools is procedure Free is new ada.Unchecked_Deallocation (Object => card, Name => cardPTR); function makeEmptyDeck (d:deck ) return deck is temp: deck; begin -- Make deck with no cards temp.first := new card; temp.first := NULL; return temp; end makeEmptyDeck; -- ------------------------------------------- function makeDeck (d:deck ) return deck is temp : deck; begin -- Nested loops to load deck with each combo of value/suits temp.first := NULL; for i in cardValue'Range loop for j in cardSuit'Range loop temp.first := new card'(val => i, suit => j, next =>temp.first); end loop; end loop; return temp; end makeDeck; -- ------------------------------------------- procedure showDeck ( d: in deck ) is temp: deck; begin temp.first := d.first; -- Traverses deck, printing val and suit for eachg while ( temp.first /= NULL ) loop put( " |"); put(cardValue'Image(temp.first.Val )); Put ( "|"); suit_IO.put(temp.first.Suit); Put ( "| "); new_line; temp.first := temp.first.next; end loop; new_line; end showDeck; -- ----------------------------------------- procedure drawToHand (hand : in out deck; drawDeck: in out deck; discardDeck: in out deck) is -- Takes top card of drawDeck and puts it on the top of hand temp:cardPTR; begin --Check for empty deck, if empty, shuffle in discard into deck if (drawDeck.first = NULL) then shuffle(drawDeck,discardDeck); end if; temp := hand.first; -- if hand was empty if temp = NULL then hand.first := drawDeck.first; drawDeck.first := drawDeck.first.next; hand.first.next := NULL; else while not (temp.next = NULL) loop temp := temp.next; end loop; temp.next := drawDeck.first; drawDeck.first := drawDeck.first.next; temp.next.next := NULL; end if; -- Put card at end of hand end drawToHand; -- ------------------------------------------------------ procedure shuffle( draw: in out deck; discard: in out deck) is Temp1: cardPTR; Temp2: cardPTR; Temp3: CardValue; Temp4: CardSuit; counter, num1, num2: Integer; count : Integer := 0; outercount : Integer := 0; cardTotal : integer :=0; SUBTYPE RandomRange IS Positive RANGE 1..52; PACKAGE Random_52 IS NEW Ada.Numerics.Discrete_Random (Result_Subtype => RandomRange); G: Random_52.Generator; BEGIN -- ada.text_io.put("ShuffleCalled"); -- if draw.first /= NULL then -- makes sure draw is not null -- temp1 := draw.first; -- loop -- exit when Temp1.next =NULL; -- traverses the list to get to the last node -- Temp1 := Temp1.next; -- end loop; -- end if; -- temp1 is last card of drawDeck temp1 := discard.first; while temp1 /= NULL loop temp1 := temp1.next; end loop; -- ada.text_io.put("Loop 1"); -- temp1 points to last card of discard if (draw.first /= NULL) then Temp1.next := draw.first; draw.first := NULL; -- puts all cards in the discard deck end if; -- ada.text_io.put("if 1"); -- draw.first := NULL; -- ============================ temp1 := discard.first; while temp1 /= NULL loop cardTotal := cardTotal +1; temp1 := temp1.next; end loop; -- ada.text_io.put("Loop 2"); -- ============================ Temp1 := discard.first; Temp2 := discard.first; counter := 0; -- loop -- outer loop Random_52.Reset (Gen => G); loop num1 := Random_52.Random(Gen => G); -- gets two random numbers num2 := Random_52.Random(Gen => G); num1 := (num1+1) rem (cardTotal+1); num2 := (num2+1) rem (cardTotal+1); -- ada.integer_text_io.put(num1); -- new_line; -- ada.integer_text_io.put(num2); -- new_line; delay Duration(0.00001); -- Random_52.Reset (Gen => G); -- if (num1 <= cardTotal) and (num2 <= cardTotal) then -- exit; -- end if; -- end loop; if (num1 /= num2) then -- compare the numbers to make sure they are not the same if (Temp1 /= NULL) then -- checks to make sure Temp1 is not null if (count/= num1) then Temp1 := Temp1.next; end if; end if; If (Temp2 /= NULL) then -- checks to make sure Temp2 is not null If (count /= num2) then Temp2 := Temp2.next; end if; end if; count := count +1; If (Temp1 /= NULL) then -- If Temp1 does not equal NULL Temp3 holds Temp1's value and Temp4 holds Temp1's suit Temp3 := Temp1.val; Temp4 := Temp1.suit; end if; if (Temp2 /= NULL and Temp1 /= NULL) then -- if Temp1 and Temp2 are not null then Temp1.val := Temp2.val; -- the values and suits from Temp1 and Temp2 are switched Temp1.suit := Temp2.suit; Temp2.val := Temp3; Temp2.suit := Temp4; end if; end if; exit when counter = 52; counter := counter+1; -- increments counter to insure loop will be exited from end loop; draw.first := discard.first; discard.first := NULL; end shuffle; ---------------------------------------------- -- function getScore(hand : in deck ) return integer is temp : deck := hand; Num : Integer:=0; Total : Integer := 0; aCount : Integer:= 0; begin loop exit when temp.first = NULL; if temp.first.val = '1' then Num := 10; end if; if temp.first.val = '2' then Num := 2; end if; if temp.first.val = '3' then Num := 3; end if; if temp.first.val = '4' then Num := 4; end if; if temp.first.val = '5' then Num := 5; end if; if temp.first.val = '6' then Num := 6; end if; if temp.first.val = '7' then Num := 7; end if; if temp.first.val = '8' then Num := 8; end if; if temp.first.val = '9' then Num := 9; end if; if temp.first.val = 'J' then Num := 10; end if; if temp.first.val = 'Q' then Num := 10; end if; if temp.first.val = 'K' then Num := 10; end if; if temp.first.val = 'A' then num :=11; aCount := aCount + 1; -- Add up all the A's and put them in at the end; end if; Total := Total +Num; temp.first := temp.first.next; end loop; -- add in A's at the end loop exit when aCount = 0; if ((total >21) and (aCount>0)) then total := total - 10; -- aCount := aCount - 1; end if; -- if (total > 10) and (aCount>0) then -- total := total + 1; aCount := aCount - 1; end loop; return Total; end GetScore; -- --------------------------- function checkBust(total : in integer) return boolean is begin if (total > 21) then return True; else return False; end if; end checkBust; -- -------------------------------- procedure discardHand(Hand: in out deck;discard: in out deck) is temp: cardPTR; begin temp := hand.first; Loop exit when temp = NULL; hand.first := hand.first.next; temp.next := discard.first; discard.first := temp; temp:= hand.first; -- drawToHand(discard,hand,discard); -- Draws cards from the hand, into the discard; end loop; end discardHand; -- --------------------------------- procedure display (Hand : in deck) is temp : deck; Value : Character; -- count : Integer; begin -- =========================== -- TOP OF EACH CARD -- =========================== temp := Hand; loop exit when temp.first = NULL; if temp.first.val = '1' then Value := 'T'; end if; if temp.first.val = '2' then Value := '2'; end if; if temp.first.val = '3' then Value := '3'; end if; if temp.first.val = '4' then Value := '4'; end if; if temp.first.val = '5' then Value := '5'; end if; if temp.first.val = '6' then Value := '6'; end if; if temp.first.val = '7' then Value := '7'; end if; if temp.first.val = '8' then Value := '8'; end if; if temp.first.val = '9' then Value := '9'; end if; if temp.first.val = 'J' then Value := 'J'; end if; if temp.first.val = 'Q' then Value := 'Q'; end if; if temp.first.val = 'K' then Value := 'K'; end if; if temp.first.val = 'A' then Value := 'A'; end if; Put(".------."); temp.first := temp.first.next; end loop; temp := Hand; -- ========================== -- LINE 2 OF EACH CARD -- ========================== new_line; loop exit when temp.first = NULL; if temp.first.val = '1' then Value := 'T'; end if; if temp.first.val = '2' then Value := '2'; end if; if temp.first.val = '3' then Value := '3'; end if; if temp.first.val = '4' then Value := '4'; end if; if temp.first.val = '5' then Value := '5'; end if; if temp.first.val = '6' then Value := '6'; end if; if temp.first.val = '7' then Value := '7'; end if; if temp.first.val = '8' then Value := '8'; end if; if temp.first.val = '9' then Value := '9'; end if; if temp.first.val = 'J' then Value := 'J'; end if; if temp.first.val = 'Q' then Value := 'Q'; end if; if temp.first.val = 'K' then Value := 'K'; end if; if temp.first.val = 'A' then Value := 'A'; end if; if temp.first.suit = C then Put("|"); Put(Value); Put(" _ "); Put("|"); elsif temp.first.suit = H then Put("|"); Put(Value); Put("_ _ "); Put("|"); elsif temp.first.suit = D then Put("|"); Put(Value); Put(" /\ "); Put("|"); elsif temp.first.suit = S then Put("|"); Put(Value); Put(" . "); Put("|"); end if; temp.first := temp.first.next; end loop; temp := Hand; new_line; -- ================================= -- LINE 3 OF EACH CARD -- ================================ loop exit when temp.first = NULL; if temp.first.val = '1' then Value := 'T'; end if; if temp.first.val = '2' then Value := '2'; end if; if temp.first.val = '3' then Value := '3'; end if; if temp.first.val = '4' then Value := '4'; end if; if temp.first.val = '5' then Value := '5'; end if; if temp.first.val = '6' then Value := '6'; end if; if temp.first.val = '7' then Value := '7'; end if; if temp.first.val = '8' then Value := '8'; end if; if temp.first.val = '9' then Value := '9'; end if; if temp.first.val = 'J' then Value := 'J'; end if; if temp.first.val = 'Q' then Value := 'Q'; end if; if temp.first.val = 'K' then Value := 'K'; end if; if temp.first.val = 'A' then Value := 'A'; end if; if temp.first.suit = C then Put("|"); Put(" ("); Put(" "); Put(")"); Put(" "); Put("|"); elsif temp.first.suit = H then Put("|"); Put("("); Put(" "); Put("\"); Put("/"); Put(" )"); Put("|"); elsif temp.first.suit = D then Put("| / \ |"); elsif temp.first.suit = S then Put("| / \ |"); end if; temp.first := temp.first.next; end loop; temp := Hand; new_line; -- =================================== -- LINE 4 -- =================================== loop exit when temp.first = NULL; if temp.first.val = '1' then Value := 'T'; end if; if temp.first.val = '2' then Value := '2'; end if; if temp.first.val = '3' then Value := '3'; end if; if temp.first.val = '4' then Value := '4'; end if; if temp.first.val = '5' then Value := '5'; end if; if temp.first.val = '6' then Value := '6'; end if; if temp.first.val = '7' then Value := '7'; end if; if temp.first.val = '8' then Value := '8'; end if; if temp.first.val = '9' then Value := '9'; end if; if temp.first.val = 'J' then Value := 'J'; end if; if temp.first.val = 'Q' then Value := 'Q'; end if; if temp.first.val = 'K' then Value := 'K'; end if; if temp.first.val = 'A' then Value := 'A'; end if; if temp.first.suit = C then Put("|"); Put("("); Put("_"); Put("x"); Put("_"); Put(") "); Put("|"); elsif temp.first.suit = H then Put("| \ / |"); elsif temp.first.suit = D then Put("| \ / |"); elsif temp.first.suit = S then Put("|(_,_) |"); end if; temp.first := temp.first.next; end loop; temp := Hand; new_line; -- ================================== -- LINE 5 -- ================================== loop exit when temp.first = NULL; if temp.first.val = '1' then Value := 'T'; end if; if temp.first.val = '2' then Value := '2'; end if; if temp.first.val = '3' then Value := '3'; end if; if temp.first.val = '4' then Value := '4'; end if; if temp.first.val = '5' then Value := '5'; end if; if temp.first.val = '6' then Value := '6'; end if; if temp.first.val = '7' then Value := '7'; end if; if temp.first.val = '8' then Value := '8'; end if; if temp.first.val = '9' then Value := '9'; end if; if temp.first.val = 'J' then Value := 'J'; end if; if temp.first.val = 'Q' then Value := 'Q'; end if; if temp.first.val = 'K' then Value := 'K'; end if; if temp.first.val = 'A' then Value := 'A'; end if; if temp.first.suit = C then Put("| "); Put("Y"); Put(" "); Put(Value); Put("|"); elsif temp.first.suit = H then Put("| \/ "); Put(Value); Put("|"); elsif temp.first.suit = D then Put("| \/ "); Put(Value); Put("|"); elsif temp.first.suit = S then Put("| I "); Put(Value); Put("|"); end if; temp.first := temp.first.next; end loop; temp := Hand; -- ================================ -- Bottom of card -- ================================ new_line; loop exit when temp.first = NULL; Put(".------."); temp.first := temp.first.next; end loop; -- ================================== -- -- ================================== new_line; end display; -- ---------------------------------- end tools;
with Ada.Containers.Doubly_Linked_Lists; use Ada.Containers; procedure Doubly_Linked_List is package DL_List_Pkg is new Doubly_Linked_Lists (Integer); use DL_List_Pkg; DL_List : List; begin DL_List.Append (1); DL_List.Append (2); DL_List.Append (3); end Doubly_Linked_List;
with SiFive.UART; use SiFive.UART; with System; use System; with SiFive.SPI; use SiFive.SPI; with SiFive.PWM; use SiFive.PWM; with SiFive.GPIO; use SiFive.GPIO; package SiFive.Device is -- GPIO0 -- GPIO0 : aliased GPIO_Controller (268828672); P00 : aliased GPIO_Point (GPIO0'Access, 0); P01 : aliased GPIO_Point (GPIO0'Access, 1); P02 : aliased GPIO_Point (GPIO0'Access, 2); P03 : aliased GPIO_Point (GPIO0'Access, 3); P04 : aliased GPIO_Point (GPIO0'Access, 4); P05 : aliased GPIO_Point (GPIO0'Access, 5); P06 : aliased GPIO_Point (GPIO0'Access, 6); P07 : aliased GPIO_Point (GPIO0'Access, 7); P08 : aliased GPIO_Point (GPIO0'Access, 8); P09 : aliased GPIO_Point (GPIO0'Access, 9); P010 : aliased GPIO_Point (GPIO0'Access, 10); P011 : aliased GPIO_Point (GPIO0'Access, 11); P012 : aliased GPIO_Point (GPIO0'Access, 12); P013 : aliased GPIO_Point (GPIO0'Access, 13); P014 : aliased GPIO_Point (GPIO0'Access, 14); P015 : aliased GPIO_Point (GPIO0'Access, 15); -- QSPI0 -- QSPI0 : aliased SPI_Controller (268697600); -- QSPI1 -- QSPI1 : aliased SPI_Controller (268701696); -- QSPI2 -- QSPI2 : aliased SPI_Controller (268763136); -- PWM0 -- PWM0_Internal : aliased SiFive.PWM.Internal_PWM with Import, Address => System'To_Address (268566528); PWM0 : aliased SiFive.PWM.PWM_Device (PWM0_Internal'Access); -- PWM1 -- PWM1_Internal : aliased SiFive.PWM.Internal_PWM with Import, Address => System'To_Address (268570624); PWM1 : aliased SiFive.PWM.PWM_Device (PWM1_Internal'Access); -- UART0 -- UART0 : aliased SiFive.UART.UART_Device (268500992); -- UART1 -- UART1 : aliased SiFive.UART.UART_Device (268505088); end SiFive.Device;
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Defining_Identifiers; with Program.Elements.Known_Discriminant_Parts; with Program.Elements.Aspect_Specifications; with Program.Elements.Expressions; with Program.Elements.Task_Definitions; with Program.Elements.Task_Type_Declarations; with Program.Element_Visitors; package Program.Nodes.Task_Type_Declarations is pragma Preelaborate; type Task_Type_Declaration is new Program.Nodes.Node and Program.Elements.Task_Type_Declarations.Task_Type_Declaration and Program.Elements.Task_Type_Declarations.Task_Type_Declaration_Text with private; function Create (Task_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Type_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Name : not null Program.Elements.Defining_Identifiers .Defining_Identifier_Access; Discriminant_Part : Program.Elements.Known_Discriminant_Parts .Known_Discriminant_Part_Access; With_Token : Program.Lexical_Elements.Lexical_Element_Access; Aspects : Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; Is_Token : not null Program.Lexical_Elements .Lexical_Element_Access; New_Token : Program.Lexical_Elements.Lexical_Element_Access; Progenitors : Program.Elements.Expressions.Expression_Vector_Access; With_Token_2 : Program.Lexical_Elements.Lexical_Element_Access; Definition : not null Program.Elements.Task_Definitions .Task_Definition_Access; Semicolon_Token : not null Program.Lexical_Elements .Lexical_Element_Access) return Task_Type_Declaration; type Implicit_Task_Type_Declaration is new Program.Nodes.Node and Program.Elements.Task_Type_Declarations.Task_Type_Declaration with private; function Create (Name : not null Program.Elements.Defining_Identifiers .Defining_Identifier_Access; Discriminant_Part : Program.Elements.Known_Discriminant_Parts .Known_Discriminant_Part_Access; Aspects : Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; Progenitors : Program.Elements.Expressions .Expression_Vector_Access; Definition : not null Program.Elements.Task_Definitions .Task_Definition_Access; Is_Part_Of_Implicit : Boolean := False; Is_Part_Of_Inherited : Boolean := False; Is_Part_Of_Instance : Boolean := False) return Implicit_Task_Type_Declaration with Pre => Is_Part_Of_Implicit or Is_Part_Of_Inherited or Is_Part_Of_Instance; private type Base_Task_Type_Declaration is abstract new Program.Nodes.Node and Program.Elements.Task_Type_Declarations.Task_Type_Declaration with record Name : not null Program.Elements.Defining_Identifiers .Defining_Identifier_Access; Discriminant_Part : Program.Elements.Known_Discriminant_Parts .Known_Discriminant_Part_Access; Aspects : Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; Progenitors : Program.Elements.Expressions .Expression_Vector_Access; Definition : not null Program.Elements.Task_Definitions .Task_Definition_Access; end record; procedure Initialize (Self : aliased in out Base_Task_Type_Declaration'Class); overriding procedure Visit (Self : not null access Base_Task_Type_Declaration; Visitor : in out Program.Element_Visitors.Element_Visitor'Class); overriding function Name (Self : Base_Task_Type_Declaration) return not null Program.Elements.Defining_Identifiers .Defining_Identifier_Access; overriding function Discriminant_Part (Self : Base_Task_Type_Declaration) return Program.Elements.Known_Discriminant_Parts .Known_Discriminant_Part_Access; overriding function Aspects (Self : Base_Task_Type_Declaration) return Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; overriding function Progenitors (Self : Base_Task_Type_Declaration) return Program.Elements.Expressions.Expression_Vector_Access; overriding function Definition (Self : Base_Task_Type_Declaration) return not null Program.Elements.Task_Definitions.Task_Definition_Access; overriding function Is_Task_Type_Declaration_Element (Self : Base_Task_Type_Declaration) return Boolean; overriding function Is_Declaration_Element (Self : Base_Task_Type_Declaration) return Boolean; type Task_Type_Declaration is new Base_Task_Type_Declaration and Program.Elements.Task_Type_Declarations.Task_Type_Declaration_Text with record Task_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Type_Token : not null Program.Lexical_Elements .Lexical_Element_Access; With_Token : Program.Lexical_Elements.Lexical_Element_Access; Is_Token : not null Program.Lexical_Elements .Lexical_Element_Access; New_Token : Program.Lexical_Elements.Lexical_Element_Access; With_Token_2 : Program.Lexical_Elements.Lexical_Element_Access; Semicolon_Token : not null Program.Lexical_Elements .Lexical_Element_Access; end record; overriding function To_Task_Type_Declaration_Text (Self : aliased in out Task_Type_Declaration) return Program.Elements.Task_Type_Declarations .Task_Type_Declaration_Text_Access; overriding function Task_Token (Self : Task_Type_Declaration) return not null Program.Lexical_Elements.Lexical_Element_Access; overriding function Type_Token (Self : Task_Type_Declaration) return not null Program.Lexical_Elements.Lexical_Element_Access; overriding function With_Token (Self : Task_Type_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Is_Token (Self : Task_Type_Declaration) return not null Program.Lexical_Elements.Lexical_Element_Access; overriding function New_Token (Self : Task_Type_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function With_Token_2 (Self : Task_Type_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Semicolon_Token (Self : Task_Type_Declaration) return not null Program.Lexical_Elements.Lexical_Element_Access; type Implicit_Task_Type_Declaration is new Base_Task_Type_Declaration with record Is_Part_Of_Implicit : Boolean; Is_Part_Of_Inherited : Boolean; Is_Part_Of_Instance : Boolean; end record; overriding function To_Task_Type_Declaration_Text (Self : aliased in out Implicit_Task_Type_Declaration) return Program.Elements.Task_Type_Declarations .Task_Type_Declaration_Text_Access; overriding function Is_Part_Of_Implicit (Self : Implicit_Task_Type_Declaration) return Boolean; overriding function Is_Part_Of_Inherited (Self : Implicit_Task_Type_Declaration) return Boolean; overriding function Is_Part_Of_Instance (Self : Implicit_Task_Type_Declaration) return Boolean; end Program.Nodes.Task_Type_Declarations;
----------------------------------------------------------------------- -- Ada Labs -- -- -- -- Copyright (C) 2008-2009, AdaCore -- -- -- -- Labs 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. You should have received -- -- a copy of the GNU General Public License along with this program; -- -- if not, write to the Free Software Foundation, Inc., 59 Temple -- -- Place - Suite 330, Boston, MA 02111-1307, USA. -- ----------------------------------------------------------------------- with Display; use Display; with Display.Basic; use Display.Basic; package Solar_System is -- define type Bodies_Enum as an enumeration of Sun, Earth, Moon, Satellite type Bodies_Enum_T is (Sun, Earth, Moon, Satellite, Comet, Black_Hole, Asteroid_1, Asteroid_2); type Bodies_Array_T is private; procedure Init_Body (B : Bodies_Enum_T; Bodies : in out Bodies_Array_T; Radius : Float; Color : RGBA_T; Distance : Float; Angle : Float; Speed : Float; Turns_Around : Bodies_Enum_T; Visible : Boolean := True); procedure Move_All (Bodies : in out Bodies_Array_T); private -- define a type Body_Type to store every information about a body -- X, Y, Distance, Speed, Angle, Radius, Color type Body_Type is record X : Float := 0.0; Y : Float := 0.0; Distance : Float; Speed : Float; Angle : Float; Radius : Float; Color : RGBA_T; Visible : Boolean := True; Turns_Around : Bodies_Enum_T; end record; -- define type Bodies_Array as an array of Body_Type indexed by bodies enumeration type Bodies_Array_T is array (Bodies_Enum_T) of Body_Type; procedure Move (Body_To_Move : in out Body_Type; Bodies : Bodies_Array_T); end Solar_System;
-- -- Copyright 2018 The wookey project team <wookey@ssi.gouv.fr> -- - Ryad Benadjila -- - Arnauld Michelizza -- - Mathieu Renard -- - Philippe Thierry -- - Philippe Trebuchet -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. -- -- with m4.systick; package body soc.dwt with spark_mode => on is ----------------------------------------------------- -- SPARK ghost functions and procedures ----------------------------------------------------- function init_is_done return boolean is begin return init_done; end init_is_done; function check_32bits_overflow return boolean is begin return (init_done and then dwt_loops < unsigned_64(unsigned_32'Last)); end; -------------------------------------------------- -- The Data Watchpoint and Trace unit (DWT) -- -- (Cf. ARMv7-M Arch. Ref. Manual, C1.8, p.779) -- -------------------------------------------------- procedure reset_timer is begin DEMCR.TRCENA := true; LAR := LAR_ENABLE_WRITE_KEY; DWT_CYCCNT := 0; -- reset the counter DWT_CONTROL.CYCCNTENA := false; end reset_timer; procedure start_timer is begin DWT_CONTROL.CYCCNTENA := true; -- enable the counter end start_timer; procedure stop_timer is begin DWT_CONTROL.CYCCNTENA := false; -- stop the counter end stop_timer; procedure ovf_manage --with -- Refined_Post => (dwt_loops = dwt_loops'Old -- or dwt_loops = (dwt_loops'Old + 1)) is dwt : unsigned_32; begin dwt := DWT_CYCCNT; if dwt < last_dwt then dwt_loops := dwt_loops + 1; end if; last_dwt := dwt; end ovf_manage; procedure init is begin last_dwt := 0; dwt_loops := 0; reset_timer; start_timer; init_done := true; end init; procedure get_cycles_32 (cycles : out unsigned_32) is begin cycles := DWT_CYCCNT; -- can't return volatile (SPARK RM 7.1.3(12)) end get_cycles_32; procedure get_cycles (cycles : out unsigned_64) is cyccnt : unsigned_64; begin cyccnt := unsigned_64 (DWT_CYCCNT); cycles := dwt_loops * 16#1_0000_0000# + cyccnt; end get_cycles; procedure get_microseconds (micros : out unsigned_64) is cycles : unsigned_64; begin get_cycles(cycles); micros := cycles / (m4.systick.MAIN_CLOCK_FREQUENCY / 1000_000); end get_microseconds; procedure get_milliseconds (milli : out unsigned_64) is cycles : unsigned_64; begin get_cycles(cycles); milli := cycles / (m4.systick.MAIN_CLOCK_FREQUENCY / 1000); end get_milliseconds; end soc.dwt;
private with Qweyboard; private with Qweyboard.Emulation; private with Configuration; private with Logging; package Input_Backend is task Input is entry Ready_Wait; end Input; private use Logging; use Qweyboard; end Input_Backend;
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- A D A . S T R I N G S . W I D E _ H A S H -- -- -- -- B o d y -- -- -- -- Copyright (C) 2004-2005, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- -- apply solely to the contents of the part following the private keyword. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- 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. -- -- -- -- This unit was originally developed by Matthew J Heaney. -- ------------------------------------------------------------------------------ -- Note: source of this algorithm: GNAT.HTable.Hash (g-htable.adb) function Ada.Strings.Wide_Hash (Key : Wide_String) return Containers.Hash_Type is use Ada.Containers; function Rotate_Left (Value : Hash_Type; Amount : Natural) return Hash_Type; pragma Import (Intrinsic, Rotate_Left); Tmp : Hash_Type; begin Tmp := 0; for J in Key'Range loop Tmp := Rotate_Left (Tmp, 3) + Wide_Character'Pos (Key (J)); end loop; return Tmp; end Ada.Strings.Wide_Hash;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- V A L I D S W -- -- -- -- B o d y -- -- -- -- Copyright (C) 2001-2020, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING3. If not, go to -- -- http://www.gnu.org/licenses for a complete copy of the license. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Opt; use Opt; with Output; use Output; package body Validsw is ---------------------------------- -- Reset_Validity_Check_Options -- ---------------------------------- procedure Reset_Validity_Check_Options is begin Validity_Check_Components := False; Validity_Check_Copies := False; Validity_Check_Default := False; Validity_Check_Floating_Point := False; Validity_Check_In_Out_Params := False; Validity_Check_In_Params := False; Validity_Check_Operands := False; Validity_Check_Parameters := False; Validity_Check_Returns := False; Validity_Check_Subscripts := False; Validity_Check_Tests := False; end Reset_Validity_Check_Options; --------------------------------- -- Save_Validity_Check_Options -- --------------------------------- procedure Save_Validity_Check_Options (Options : out Validity_Check_Options) is P : Natural := 0; procedure Add (C : Character; S : Boolean); -- Add given character C to string if switch S is true procedure Add (C : Character; S : Boolean) is begin if S then P := P + 1; Options (P) := C; end if; end Add; -- Start of processing for Save_Validity_Check_Options begin for K in Options'Range loop Options (K) := ' '; end loop; Add ('e', Validity_Check_Components); Add ('c', Validity_Check_Copies); Add ('d', Validity_Check_Default); Add ('f', Validity_Check_Floating_Point); Add ('i', Validity_Check_In_Params); Add ('m', Validity_Check_In_Out_Params); Add ('o', Validity_Check_Operands); Add ('p', Validity_Check_Parameters); Add ('r', Validity_Check_Returns); Add ('s', Validity_Check_Subscripts); Add ('t', Validity_Check_Tests); end Save_Validity_Check_Options; ---------------------------------------- -- Set_Default_Validity_Check_Options -- ---------------------------------------- procedure Set_Default_Validity_Check_Options is begin Reset_Validity_Check_Options; Set_Validity_Check_Options ("d"); end Set_Default_Validity_Check_Options; -------------------------------- -- Set_Validity_Check_Options -- -------------------------------- -- Version used when no error checking is required procedure Set_Validity_Check_Options (Options : String) is OK : Boolean; EC : Natural; pragma Warnings (Off, OK); pragma Warnings (Off, EC); begin Set_Validity_Check_Options (Options, OK, EC); end Set_Validity_Check_Options; -- Normal version with error checking procedure Set_Validity_Check_Options (Options : String; OK : out Boolean; Err_Col : out Natural) is J : Natural; C : Character; begin J := Options'First; while J <= Options'Last loop C := Options (J); J := J + 1; -- Turn on validity checking (gets turned off by Vn) Validity_Checks_On := True; case C is when 'c' => Validity_Check_Copies := True; when 'd' => Validity_Check_Default := True; when 'e' => Validity_Check_Components := True; when 'f' => Validity_Check_Floating_Point := True; when 'i' => Validity_Check_In_Params := True; when 'm' => Validity_Check_In_Out_Params := True; when 'o' => Validity_Check_Operands := True; when 'p' => Validity_Check_Parameters := True; when 'r' => Validity_Check_Returns := True; when 's' => Validity_Check_Subscripts := True; when 't' => Validity_Check_Tests := True; when 'C' => Validity_Check_Copies := False; when 'D' => Validity_Check_Default := False; when 'E' => Validity_Check_Components := False; when 'F' => Validity_Check_Floating_Point := False; when 'I' => Validity_Check_In_Params := False; when 'M' => Validity_Check_In_Out_Params := False; when 'O' => Validity_Check_Operands := False; when 'P' => Validity_Check_Parameters := False; when 'R' => Validity_Check_Returns := False; when 'S' => Validity_Check_Subscripts := False; when 'T' => Validity_Check_Tests := False; when 'a' => Validity_Check_Components := True; Validity_Check_Copies := True; Validity_Check_Default := True; Validity_Check_Floating_Point := True; Validity_Check_In_Out_Params := True; Validity_Check_In_Params := True; Validity_Check_Operands := True; Validity_Check_Parameters := True; Validity_Check_Returns := True; Validity_Check_Subscripts := True; Validity_Check_Tests := True; when 'n' => Validity_Check_Components := False; Validity_Check_Copies := False; Validity_Check_Default := False; Validity_Check_Floating_Point := False; Validity_Check_In_Out_Params := False; Validity_Check_In_Params := False; Validity_Check_Operands := False; Validity_Check_Parameters := False; Validity_Check_Returns := False; Validity_Check_Subscripts := False; Validity_Check_Tests := False; Validity_Checks_On := False; when ' ' => null; when others => if Ignore_Unrecognized_VWY_Switches then Write_Line ("unrecognized switch -gnatV" & C & " ignored"); else OK := False; Err_Col := J - 1; return; end if; end case; end loop; OK := True; Err_Col := Options'Last + 1; end Set_Validity_Check_Options; end Validsw;
with Text_IO,ada.Text_IO; use Text_IO,ada.Text_IO; procedure Adadocker is begin Put_line("******************************"); New_Line(2); Put_line("Ada running inside docker."); New_Line(2); Put_line("******************************"); end Adadocker;
with Interfaces.C, System; use type System.Address; package body FLTK.Widgets.Buttons.Light.Round is procedure round_button_set_draw_hook (W, D : in System.Address); pragma Import (C, round_button_set_draw_hook, "round_button_set_draw_hook"); pragma Inline (round_button_set_draw_hook); procedure round_button_set_handle_hook (W, H : in System.Address); pragma Import (C, round_button_set_handle_hook, "round_button_set_handle_hook"); pragma Inline (round_button_set_handle_hook); function new_fl_round_button (X, Y, W, H : in Interfaces.C.int; Text : in Interfaces.C.char_array) return System.Address; pragma Import (C, new_fl_round_button, "new_fl_round_button"); pragma Inline (new_fl_round_button); procedure free_fl_round_button (B : in System.Address); pragma Import (C, free_fl_round_button, "free_fl_round_button"); pragma Inline (free_fl_round_button); procedure fl_round_button_draw (W : in System.Address); pragma Import (C, fl_round_button_draw, "fl_round_button_draw"); pragma Inline (fl_round_button_draw); function fl_round_button_handle (W : in System.Address; E : in Interfaces.C.int) return Interfaces.C.int; pragma Import (C, fl_round_button_handle, "fl_round_button_handle"); pragma Inline (fl_round_button_handle); procedure Finalize (This : in out Round_Button) is begin if This.Void_Ptr /= System.Null_Address and then This in Round_Button'Class then free_fl_round_button (This.Void_Ptr); This.Void_Ptr := System.Null_Address; end if; Finalize (Light_Button (This)); end Finalize; package body Forge is function Create (X, Y, W, H : in Integer; Text : in String) return Round_Button is begin return This : Round_Button do This.Void_Ptr := new_fl_round_button (Interfaces.C.int (X), Interfaces.C.int (Y), Interfaces.C.int (W), Interfaces.C.int (H), Interfaces.C.To_C (Text)); fl_widget_set_user_data (This.Void_Ptr, Widget_Convert.To_Address (This'Unchecked_Access)); round_button_set_draw_hook (This.Void_Ptr, Draw_Hook'Address); round_button_set_handle_hook (This.Void_Ptr, Handle_Hook'Address); end return; end Create; end Forge; procedure Draw (This : in out Round_Button) is begin fl_round_button_draw (This.Void_Ptr); end Draw; function Handle (This : in out Round_Button; Event : in Event_Kind) return Event_Outcome is begin return Event_Outcome'Val (fl_round_button_handle (This.Void_Ptr, Event_Kind'Pos (Event))); end Handle; end FLTK.Widgets.Buttons.Light.Round;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This file is generated, don't edit it. ------------------------------------------------------------------------------ with AMF.Generic_Collections; package AMF.Utp.Data_Partitions.Collections is pragma Preelaborate; package Utp_Data_Partition_Collections is new AMF.Generic_Collections (Utp_Data_Partition, Utp_Data_Partition_Access); type Set_Of_Utp_Data_Partition is new Utp_Data_Partition_Collections.Set with null record; Empty_Set_Of_Utp_Data_Partition : constant Set_Of_Utp_Data_Partition; type Ordered_Set_Of_Utp_Data_Partition is new Utp_Data_Partition_Collections.Ordered_Set with null record; Empty_Ordered_Set_Of_Utp_Data_Partition : constant Ordered_Set_Of_Utp_Data_Partition; type Bag_Of_Utp_Data_Partition is new Utp_Data_Partition_Collections.Bag with null record; Empty_Bag_Of_Utp_Data_Partition : constant Bag_Of_Utp_Data_Partition; type Sequence_Of_Utp_Data_Partition is new Utp_Data_Partition_Collections.Sequence with null record; Empty_Sequence_Of_Utp_Data_Partition : constant Sequence_Of_Utp_Data_Partition; private Empty_Set_Of_Utp_Data_Partition : constant Set_Of_Utp_Data_Partition := (Utp_Data_Partition_Collections.Set with null record); Empty_Ordered_Set_Of_Utp_Data_Partition : constant Ordered_Set_Of_Utp_Data_Partition := (Utp_Data_Partition_Collections.Ordered_Set with null record); Empty_Bag_Of_Utp_Data_Partition : constant Bag_Of_Utp_Data_Partition := (Utp_Data_Partition_Collections.Bag with null record); Empty_Sequence_Of_Utp_Data_Partition : constant Sequence_Of_Utp_Data_Partition := (Utp_Data_Partition_Collections.Sequence with null record); end AMF.Utp.Data_Partitions.Collections;
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with Ada.Command_Line; with Ada.Containers.Indefinite_Vectors; with Ada.Directories; use Ada.Directories; with Ada.Exceptions; use Ada.Exceptions; with Ada.Text_IO; with Specs; procedure Generate is Proc : Specs.Processor; package Spec_Vectors is new Ada.Containers.Indefinite_Vectors (Positive, String); Spec_Paths : Spec_Vectors.Vector; package Path_Sorting is new Spec_Vectors.Generic_Sorting; Source_Folder : constant String := "src/gl/specs"; Target_Folder : constant String := "src/gl/generated"; Interface_Folder : constant String := "src/gl/interface"; procedure Process_File (Directory_Entry : in Directory_Entry_Type) is Path : constant String := Full_Name (Directory_Entry); begin Ada.Text_IO.Put_Line ("Processing " & Path & " ..."); Spec_Paths.Append (Path); Ada.Text_IO.Put_Line ("Done processing " & Path & " ."); end Process_File; begin Search (Source_Folder, "*.spec", (Ordinary_File => True, others => False), Process_File'Access); Path_Sorting.Sort (Spec_Paths); for Path of Spec_Paths loop Specs.Parse_File (Proc, Path); end loop; Create_Path (Target_Folder); declare use type Specs.Spec; Cur : Specs.Spec := Specs.First (Proc); begin while Cur /= Specs.No_Spec loop Specs.Write_API (Proc, Cur, Target_Folder); Cur := Specs.Next (Proc, Cur); end loop; end; Specs.Write_Init (Proc, Target_Folder); Specs.Write_Wrapper_Table (Proc, Target_Folder, Interface_Folder); exception when Error : Specs.Parsing_Error => Ada.Text_IO.Put_Line (Exception_Message (Error)); Ada.Command_Line.Set_Exit_Status (Ada.Command_Line.Failure); end Generate;
package addr2_p is type Block is array (1 .. 9) of Integer; procedure Process (Blk : Block); B1 : constant Block := Block'((1,2,3,4,5, others => 0)); B2 : constant Block := (1,2,3,4,5, others => 0); end;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 4 6 -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2019, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Handling of packed arrays with Component_Size = 46 package System.Pack_46 is pragma Preelaborate; Bits : constant := 46; type Bits_46 is mod 2 ** Bits; for Bits_46'Size use Bits; -- In all subprograms below, Rev_SSO is set True if the array has the -- non-default scalar storage order. function Get_46 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_46 with Inline; -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is extracted and returned. procedure Set_46 (Arr : System.Address; N : Natural; E : Bits_46; 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. function GetU_46 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_46 with Inline; -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is extracted and returned. This version -- is used when Arr may represent an unaligned address. procedure SetU_46 (Arr : System.Address; N : Natural; E : Bits_46; 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. This version -- is used when Arr may represent an unaligned address end System.Pack_46;
No-one has translated the durapub example into Ada yet. Be the first to create durapub in Ada and get one free Internet! If you're the author of the Ada binding, this is a great way to get people to use 0MQ in Ada. To submit a new translation email it to zeromq-dev@lists.zeromq.org. Please: * Stick to identical functionality and naming used in examples so that readers can easily compare languages. * You MUST place your name as author in the examples so readers can contact you. * You MUST state in the email that you license your code under the MIT/X11 license. Subscribe to this list at http://lists.zeromq.org/mailman/listinfo/zeromq-dev.
<?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>Stream2Mem_64u_8u_s</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>in_V_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.V.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</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_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>out.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <direction>1</direction> <if_type>4</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>out_V3</name> <fileName></fileName> <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>61</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_4"> <Value> <Obj> <type>1</type> <id>4</id> <name>tmp_3</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>12</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_5"> <Value> <Obj> <type>0</type> <id>5</id> <name>tmp_3_read</name> <fileName></fileName> <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> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>24</item> <item>25</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>6</id> <name>out_V3_read</name> <fileName></fileName> <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>61</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>27</item> <item>28</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>8</id> <name>tmp_3_cast_cast</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>62</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>29</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>9</id> <name>out_V3_cast</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>62</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>30</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>10</id> <name>sum</name> <fileName></fileName> <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>62</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>31</item> <item>32</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>11</id> <name>sum_cast</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>33</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>12</id> <name>out_V_addr</name> <fileName></fileName> <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> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>34</item> <item>35</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>16</id> <name>tmp_V</name> <fileName>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</fileName> <fileDirectory>/home/jf2715/BNN-PYNQ/bnn/src/network/output/hls-syn</fileDirectory> <lineNumber>155</lineNumber> <contextFuncName>Stream2Mem&amp;lt;64, 8&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="11" tracking_level="0" version="0"> <first>/home/jf2715/BNN-PYNQ/bnn/src/network/output/hls-syn</first> <second class_id="12" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="13" tracking_level="0" version="0"> <first class_id="14" tracking_level="0" version="0"> <first>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</first> <second>Stream2Mem&amp;lt;64, 8&amp;gt;</second> </first> <second>155</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>37</item> <item>38</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>17</id> <name>out_V_addr_req</name> <fileName>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</fileName> <fileDirectory>/home/jf2715/BNN-PYNQ/bnn/src/network/output/hls-syn</fileDirectory> <lineNumber>156</lineNumber> <contextFuncName>Stream2Mem&amp;lt;64, 8&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/jf2715/BNN-PYNQ/bnn/src/network/output/hls-syn</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</first> <second>Stream2Mem&amp;lt;64, 8&amp;gt;</second> </first> <second>156</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>40</item> <item>41</item> <item>43</item> </oprand_edges> <opcode>writereq</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>18</id> <name></name> <fileName>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</fileName> <fileDirectory>/home/jf2715/BNN-PYNQ/bnn/src/network/output/hls-syn</fileDirectory> <lineNumber>156</lineNumber> <contextFuncName>Stream2Mem&amp;lt;64, 8&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/jf2715/BNN-PYNQ/bnn/src/network/output/hls-syn</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</first> <second>Stream2Mem&amp;lt;64, 8&amp;gt;</second> </first> <second>156</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>5</count> <item_version>0</item_version> <item>45</item> <item>46</item> <item>47</item> <item>49</item> <item>114</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>19</id> <name>out_V_addr_resp</name> <fileName>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</fileName> <fileDirectory>/home/jf2715/BNN-PYNQ/bnn/src/network/output/hls-syn</fileDirectory> <lineNumber>156</lineNumber> <contextFuncName>Stream2Mem&amp;lt;64, 8&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/jf2715/BNN-PYNQ/bnn/src/network/output/hls-syn</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</first> <second>Stream2Mem&amp;lt;64, 8&amp;gt;</second> </first> <second>156</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>51</item> <item>52</item> <item>113</item> </oprand_edges> <opcode>writeresp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>21</id> <name></name> <fileName>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</fileName> <fileDirectory>/home/jf2715/BNN-PYNQ/bnn/src/network/output/hls-syn</fileDirectory> <lineNumber>158</lineNumber> <contextFuncName>Stream2Mem&amp;lt;64, 8&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/jf2715/BNN-PYNQ/bnn/src/network/output/hls-syn</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/jf2715/BNN-PYNQ/bnn/src//library/finn-hlslib/dma.h</first> <second>Stream2Mem&amp;lt;64, 8&amp;gt;</second> </first> <second>158</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>2</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_17"> <Value> <Obj> <type>2</type> <id>42</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_18"> <Value> <Obj> <type>2</type> <id>48</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>255</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="_19"> <Obj> <type>3</type> <id>22</id> <name>Stream2Mem&lt;64u, 8u&gt;</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>12</count> <item_version>0</item_version> <item>5</item> <item>6</item> <item>8</item> <item>9</item> <item>10</item> <item>11</item> <item>12</item> <item>16</item> <item>17</item> <item>18</item> <item>19</item> <item>21</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>18</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_20"> <id>25</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>5</sink_obj> </item> <item class_id_reference="20" object_id="_21"> <id>28</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>6</sink_obj> </item> <item class_id_reference="20" object_id="_22"> <id>29</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_23"> <id>30</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_24"> <id>31</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_25"> <id>32</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_26"> <id>33</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_27"> <id>34</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_28"> <id>35</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_29"> <id>38</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_30"> <id>41</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_31"> <id>43</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_32"> <id>46</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_33"> <id>47</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_34"> <id>49</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_35"> <id>52</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_36"> <id>113</id> <edge_type>4</edge_type> <source_obj>18</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_37"> <id>114</id> <edge_type>4</edge_type> <source_obj>17</source_obj> <sink_obj>18</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="_38"> <mId>1</mId> <mTag>Stream2Mem&lt;64u, 8u&gt;</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>22</item> </basic_blocks> <mII>1</mII> <mDepth>8</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>7</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="-1"></fsm> <res class_id="-1"></res> <node_label_latency class_id="26" tracking_level="0" version="0"> <count>12</count> <item_version>0</item_version> <item class_id="27" tracking_level="0" version="0"> <first>5</first> <second class_id="28" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>6</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>8</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>9</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>10</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>11</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>12</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>17</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>18</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>3</first> <second>4</second> </second> </item> <item> <first>21</first> <second> <first>7</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="29" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="30" tracking_level="0" version="0"> <first>22</first> <second class_id="31" tracking_level="0" version="0"> <first>0</first> <second>7</second> </second> </item> </bblk_ent_exit> <regions class_id="32" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="33" tracking_level="1" version="0" object_id="_39"> <region_name>Stream2Mem&lt;64u, 8u&gt;</region_name> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>22</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>8</pipe_depth> </item> </regions> <dp_fu_nodes class_id="34" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes> <dp_fu_nodes_expression class_id="35" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="36" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>0</count> <item_version>0</item_version> </dp_reg_nodes> <dp_regname_nodes> <count>0</count> <item_version>0</item_version> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="37" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_port_io_nodes> <port2core class_id="38" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
-- Abstract : -- -- Run an Emacs LR text_rep parser as a standalone executable, for debugging. -- -- See gen_emacs_wisi_*_parse.ads for the Emacs background process. -- -- Copyright (C) 2018, 2019 Free Software Foundation, Inc. -- -- This program 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 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 -- distributed with this program; see file COPYING. If not, write to -- the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, -- MA 02110-1335, USA. pragma License (GPL); with WisiToken.Parse.LR.Parser; with WisiToken.Syntax_Trees; with Wisi; generic type Parse_Data_Type is new Wisi.Parse_Data_Type with private; Descriptor : in WisiToken.Descriptor; Language_Fixes : in WisiToken.Parse.LR.Parser.Language_Fixes_Access; Language_Matching_Begin_Tokens : in WisiToken.Parse.LR.Parser.Language_Matching_Begin_Tokens_Access; Language_String_ID_Set : in WisiToken.Parse.LR.Parser.Language_String_ID_Set_Access; Text_Rep_File_Name : in String; with procedure Create_Parser (Parser : out WisiToken.Parse.LR.Parser.Parser; Language_Fixes : in WisiToken.Parse.LR.Parser.Language_Fixes_Access; Language_Matching_Begin_Tokens : in WisiToken.Parse.LR.Parser.Language_Matching_Begin_Tokens_Access; Language_String_ID_Set : in WisiToken.Parse.LR.Parser.Language_String_ID_Set_Access; Trace : not null access WisiToken.Trace'Class; User_Data : in WisiToken.Syntax_Trees.User_Data_Access; Text_Rep_File_Name : in String); procedure Gen_Run_Wisi_LR_Text_Rep_Parse;
-- Copyright 2004-2020 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with System; procedure Fixed_Points is ------------ -- Test 1 -- ------------ -- Fixed point subtypes type Base_Fixed_Point_Type is delta 1.0 / 16.0 range (System.Min_Int / 2) * 1.0 / 16.0 .. (System.Max_Int / 2) * 1.0 / 16.0; subtype Fixed_Point_Subtype is Base_Fixed_Point_Type range -50.0 .. 50.0; type New_Fixed_Point_Type is new Base_Fixed_Point_Type range -50.0 .. 50.0; Base_Object : Base_Fixed_Point_Type := -50.0; Subtype_Object : Fixed_Point_Subtype := -50.0; New_Type_Object : New_Fixed_Point_Type := -50.0; ------------ -- Test 2 -- ------------ -- Overprecise delta Overprecise_Delta : constant := 0.135791357913579; -- delta whose significant figures cannot be stored into a long. type Overprecise_Fixed_Point is delta Overprecise_Delta range 0.0 .. 200.0; for Overprecise_Fixed_Point'Small use Overprecise_Delta; Overprecise_Object : Overprecise_Fixed_Point := Overprecise_Fixed_Point'Small; begin Base_Object := 1.0/16.0; -- Set breakpoint here Subtype_Object := 1.0/16.0; New_Type_Object := 1.0/16.0; Overprecise_Object := Overprecise_Fixed_Point'Small * 2; end Fixed_Points;
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Nodes.Generic_Vectors; with Program.Elements.Formal_Package_Associations; package Program.Nodes.Formal_Package_Association_Vectors is new Program.Nodes.Generic_Vectors (Program.Elements.Formal_Package_Associations .Formal_Package_Association_Vector); pragma Preelaborate (Program.Nodes.Formal_Package_Association_Vectors);
-- MIT License -- Copyright (c) 2021 Stephen Merrony -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -- copies of the Software, and to permit persons to whom the Software is -- furnished to do so, subject to the following conditions: -- The above copyright notice and this permission notice shall be included in all -- copies or substantial portions of the Software. -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -- SOFTWARE. package Processor.Nova_Mem_Ref_P is procedure Do_Nova_Mem_Ref (I : in Decoded_Instr_T; CPU : in out CPU_T); end Processor.Nova_Mem_Ref_P;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ADA.STRINGS.TEXT_OUTPUT.BASIC_FILES -- -- -- -- B o d y -- -- -- -- Copyright (C) 2020, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Ada.Strings.Text_Output.Utils; use Ada.Strings.Text_Output.Utils; package body Ada.Strings.Text_Output.Basic_Files is use type OS.File_Descriptor; function Create_From_FD (FD : OS.File_Descriptor; Indent_Amount : Natural; Chunk_Length : Positive) return File; -- Create a file from an OS file descriptor function Create_From_FD (FD : OS.File_Descriptor; Indent_Amount : Natural; Chunk_Length : Positive) return File is begin if FD = OS.Invalid_FD then raise Program_Error with OS.Errno_Message; end if; return Result : File (Chunk_Length) do Result.Indent_Amount := Indent_Amount; Result.Cur_Chunk := Result.Initial_Chunk'Unchecked_Access; Result.FD := FD; end return; end Create_From_FD; function Create_File (Name : String; Indent_Amount : Natural := Default_Indent_Amount; Chunk_Length : Positive := Default_Chunk_Length) return File is begin return Create_From_FD (OS.Create_File (Name, Fmode => OS.Text), Indent_Amount, Chunk_Length); end Create_File; function Create_New_File (Name : String; Indent_Amount : Natural := Default_Indent_Amount; Chunk_Length : Positive := Default_Chunk_Length) return File is begin return Create_From_FD (OS.Create_New_File (Name, Fmode => OS.Text), Indent_Amount, Chunk_Length); end Create_New_File; procedure Close (S : in out File'Class) is Status : Boolean; begin Flush (S); if S.FD not in OS.Standout | OS.Standerr then -- Don't close these OS.Close (S.FD, Status); if not Status then raise Program_Error with OS.Errno_Message; end if; end if; end Close; overriding procedure Full_Method (S : in out File) renames Flush_Method; overriding procedure Flush_Method (S : in out File) is pragma Assert (S.Cur_Chunk = S.Initial_Chunk'Unchecked_Access); Res : constant Integer := OS.Write (S.FD, S.Cur_Chunk.Chars'Address, S.Last); begin if Res /= S.Last then raise Program_Error with OS.Errno_Message; end if; S.Last := 0; end Flush_Method; The_Stdout : aliased File := Create_From_FD (OS.Standout, Indent_Amount => Default_Indent_Amount, Chunk_Length => Default_Chunk_Length); The_Stderr : aliased File := Create_From_FD (OS.Standerr, Indent_Amount => Default_Indent_Amount, Chunk_Length => Default_Chunk_Length); function Standard_Output return Sink_Access is (The_Stdout'Access); function Standard_Error return Sink_Access is (The_Stderr'Access); end Ada.Strings.Text_Output.Basic_Files;
-- Copyright 2019 Simon Symeonidis (psyomn) -- -- 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 AUnit.Assertions; use AUnit.Assertions; with Common_Utils; use Common_Utils; with Ada.Strings.Maps; with Ada.Strings.Fixed; package body Common_Utils_Test is procedure Test_Integer_To_Trimmed_String (T : in out Test) is pragma Unreferenced (T); Actual : constant String := Integer_To_Trimmed_String (123); Expected : constant String := "123"; Result : constant Boolean := Actual = Expected; begin Assert (Result, "expected: " & Expected & " actual: " & Actual); end Test_Integer_To_Trimmed_String; procedure Test_Header_String (T : in out Test) is pragma Unreferenced (T); Field : constant String := "Server"; Value : constant String := "ash"; Actual : constant String := Header_String (Field, Value); Expected : constant String := "Server: ash"; Result : constant Boolean := Actual = Expected; begin Assert (Result, "expected: " & Expected & ", actual: " & Actual); end Test_Header_String; procedure Test_Header_String_Integer (T : in out Test) is pragma Unreferenced (T); Field : constant String := "Processor"; Value : constant Integer := 6502; Actual : constant String := Header_String (Field, Value); Expected : constant String := "Processor: 6502"; Result : constant Boolean := Actual = Expected; begin Assert (Result, "expected header: " & Expected & ", actual: " & Actual); end Test_Header_String_Integer; procedure Test_Empty_String (T : in out Test) is pragma Unreferenced (T); S : String := "notempty"; Count : Integer := 0; begin for I in Positive range S'First .. S'Last loop if S (I) = Character'Val (0) then Count := Count + 1; end if; end loop; Assert (Count = 0, "should not have null chars"); Empty_String (S); for I in Positive range S'First .. S'Last loop if S (I) = Character'Val (0) then Count := Count + 1; end if; end loop; Assert (Count = S'Length, "should be all null chars"); end Test_Empty_String; procedure Test_Empty_String_Range (T : in out Test) is pragma Unreferenced (T); use Ada.Strings.Maps; use Ada.Strings.Fixed; type Test_Case is record Data : String (1 .. 9); First : Positive; Last : Positive; end record; type Tca is array (Positive range <>) of Test_Case; Null_Map : constant Character_Mapping := To_Mapping (From => " ", To => "" & Character'Val (0)); Tc1 : constant Test_Case := (Translate ("hello ", Null_Map), 5, 5); Tc2 : constant Test_Case := (Translate (" hello", Null_Map), 1, 5); Tc3 : constant Test_Case := (Translate (" hello ", Null_Map), 1, 3); Tcs : constant Tca := (Tc1, Tc2, Tc3); F, L : Positive := 1; begin for I in Positive range Tcs'First .. Tcs'Last loop Empty_String_Range (S => Tcs (I).Data, First => F, Last => L); Assert (Tcs (I).First = F and Tcs (I).Last = L, "expected first,last:" & Tcs (I).First'Image & "," & Tcs (I).Last'Image & " " & "got first,last:" & F'Image & "," & F'Image & " " & "with data: ." & Tcs (I).Data & "."); end loop; end Test_Empty_String_Range; procedure Test_Concat_Null_String (T : in out Test) is pragma Unreferenced (T); Buff1, Buff2 : String (1 .. 1024) := (others => Character'Val (0)); Expected : constant String := "hellolle"; begin Buff1 (1 .. 4) := "hell"; Buff2 (1 .. 4) := "olle"; declare Actual : constant String := Concat_Null_Strings (Buff1, Buff2); begin Assert (Actual = Expected, "actual: " & Actual & " expected: " & Expected); end; end Test_Concat_Null_String; end Common_Utils_Test;
package body Input_Backend is type Key_Array is array (Positive range <>) of Softkey; procedure Chord (Keys : Key_Array) is begin for Key of Keys loop Qweyboard.Softboard.Handle ((Key, Qweyboard.Key_Press)); end loop; for Key of reverse Keys loop Qweyboard.Softboard.Handle ((Key, Qweyboard.Key_Release)); end loop; end; function Single (Key : Softkey) return Key_Array is A : Key_Array (1..1) := (others => Key); begin return A; end; task body Input is begin accept Ready_Wait; -- This is not something input backends should generally do, but we -- do it here to ensure the "test" works, regardless of user settings. Qweyboard.Softboard.Configure ((0.2, others => <>)); -- Begin pressing keys! Chord (Single (RI)); delay 0.3; Chord ((LJ, LN, MA, RN, RT)); delay 0.3; Chord ((LT, LO)); delay 0.3; Chord ((LT, MY, RP, RF)); delay 0.3; Chord ((LO, RN)); delay 0.3; Chord (Single (MA)); delay 0.3; Chord ((LC, LF)); delay 0.3; Chord ((LJ, LN, LE, MY, NOSP)); delay 0.3; Chord ((LJ, LP, LO, MA, RR, RJ, RT, NOSP)); delay 0.3; Chord ((LC, RO, RN)); delay 0.3; Chord ((LS, LT, MA, RN, RT, NOSP)); delay 0.3; Chord ((LL, MY, NOSP)); Qweyboard.Softboard.Shut_Down; end Input; end Input_Backend;
-- 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/>. with Pck; use Pck; procedure P is A : Action; begin A := Get_Action; if A = Archive then Archive; end if; end P;
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- - - - - - - - - - - - - - - - -- -- Read copyright and license at the end of this file -- ------------------------------------------------------------------------------ -- Purpose: -- Subsystem for applying repository functionality package Gela.Repository is pragma Pure (Gela.Repository); end Gela.Repository; ------------------------------------------------------------------------------ -- Copyright (c) 2006, Andry Ogorodnik -- 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. -- -- 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. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -- Copyright (c) 2006-2013, Maxim Reznik -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributions of source code must retain the above copyright notice, -- this list of conditions and the following disclaimer. -- * Redistributions in binary form must reproduce the above copyright -- notice, this list of conditions and the following disclaimer in the -- documentation and/or other materials provided with the distribution. -- * Neither the name of the Maxim Reznik, IE nor the names of its -- contributors may be used to endorse or promote products derived from -- this software without specific prior written permission. -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -- POSSIBILITY OF SUCH DAMAGE. ------------------------------------------------------------------------------
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- P A R . C H 7 -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2014, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. 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. -- -- -- ------------------------------------------------------------------------------ pragma Style_Checks (All_Checks); -- Turn off subprogram body ordering check. Subprograms are in order -- by RM section rather than alphabetical separate (Par) package body Ch7 is --------------------------------------------- -- 7.1 Package (also 8.5.3, 10.1.3, 12.3) -- --------------------------------------------- -- This routine scans out a package declaration, package body, or a -- renaming declaration or generic instantiation starting with PACKAGE -- PACKAGE_DECLARATION ::= -- PACKAGE_SPECIFICATION; -- PACKAGE_SPECIFICATION ::= -- package DEFINING_PROGRAM_UNIT_NAME -- [ASPECT_SPECIFICATIONS] -- is -- {BASIC_DECLARATIVE_ITEM} -- [private -- {BASIC_DECLARATIVE_ITEM}] -- end [[PARENT_UNIT_NAME .] IDENTIFIER] -- PACKAGE_BODY ::= -- package body DEFINING_PROGRAM_UNIT_NAME -- [ASPECT_SPECIFICATIONS] -- is -- DECLARATIVE_PART -- [begin -- HANDLED_SEQUENCE_OF_STATEMENTS] -- end [[PARENT_UNIT_NAME .] IDENTIFIER] -- PACKAGE_RENAMING_DECLARATION ::= -- package DEFINING_IDENTIFIER renames package_NAME -- [ASPECT_SPECIFICATIONS]; -- PACKAGE_BODY_STUB ::= -- package body DEFINING_IDENTIFIER is separate -- [ASPECT_SPECIFICATIONS]; -- PACKAGE_INSTANTIATION ::= -- package DEFINING_PROGRAM_UNIT_NAME is -- new generic_package_NAME [GENERIC_ACTUAL_PART] -- [ASPECT_SPECIFICATIONS]; -- The value in Pf_Flags indicates which of these possible declarations -- is acceptable to the caller: -- Pf_Flags.Spcn Set if specification OK -- Pf_Flags.Decl Set if declaration OK -- Pf_Flags.Gins Set if generic instantiation OK -- Pf_Flags.Pbod Set if proper body OK -- Pf_Flags.Rnam Set if renaming declaration OK -- Pf_Flags.Stub Set if body stub OK -- If an inappropriate form is encountered, it is scanned out but an error -- message indicating that it is appearing in an inappropriate context is -- issued. The only possible settings for Pf_Flags are those defined as -- constants in package Par. -- Note: in all contexts where a package specification is required, there -- is a terminating semicolon. This semicolon is scanned out in the case -- where Pf_Flags is set to Pf_Spcn, even though it is not strictly part -- of the package specification (it's just too much trouble, and really -- quite unnecessary, to deal with scanning out an END where the semicolon -- after the END is not considered to be part of the END. -- The caller has checked that the initial token is PACKAGE -- Error recovery: cannot raise Error_Resync function P_Package (Pf_Flags : Pf_Rec) return Node_Id is Package_Node : Node_Id; Specification_Node : Node_Id; Name_Node : Node_Id; Package_Sloc : Source_Ptr; Aspect_Sloc : Source_Ptr := No_Location; -- Save location of WITH for scanned aspects. Left set to No_Location -- if no aspects scanned before the IS keyword. Is_Sloc : Source_Ptr; -- Save location of IS token for package declaration Dummy_Node : constant Node_Id := New_Node (N_Package_Specification, Token_Ptr); -- Dummy node to attach aspect specifications to until we properly -- figure out where they eventually belong. Body_Is_Hidden_In_SPARK : Boolean; Private_Part_Is_Hidden_In_SPARK : Boolean; Hidden_Region_Start : Source_Ptr; begin Push_Scope_Stack; Scope.Table (Scope.Last).Etyp := E_Name; Scope.Table (Scope.Last).Ecol := Start_Column; Scope.Table (Scope.Last).Lreq := False; Package_Sloc := Token_Ptr; Scan; -- past PACKAGE if Token = Tok_Type then Error_Msg_SC -- CODEFIX ("TYPE not allowed here"); Scan; -- past TYPE end if; -- Case of package body. Note that we demand a package body if that -- is the only possibility (even if the BODY keyword is not present) if Token = Tok_Body or else Pf_Flags = Pf_Pbod_Pexp then if not Pf_Flags.Pbod then Error_Msg_SC ("package body cannot appear here!"); end if; T_Body; Scope.Table (Scope.Last).Sloc := Token_Ptr; Name_Node := P_Defining_Program_Unit_Name; Scope.Table (Scope.Last).Labl := Name_Node; if Aspect_Specifications_Present then Aspect_Sloc := Token_Ptr; P_Aspect_Specifications (Dummy_Node, Semicolon => False); end if; TF_Is; if Separate_Present then if not Pf_Flags.Stub then Error_Msg_SC ("body stub cannot appear here!"); end if; Scan; -- past SEPARATE Package_Node := New_Node (N_Package_Body_Stub, Package_Sloc); Set_Defining_Identifier (Package_Node, Name_Node); if Has_Aspects (Dummy_Node) then Error_Msg ("aspect specifications must come after SEPARATE", Aspect_Sloc); end if; P_Aspect_Specifications (Package_Node, Semicolon => False); TF_Semicolon; Pop_Scope_Stack; else Package_Node := New_Node (N_Package_Body, Package_Sloc); Set_Defining_Unit_Name (Package_Node, Name_Node); -- Move the aspect specifications to the body node if Has_Aspects (Dummy_Node) then Move_Aspects (From => Dummy_Node, To => Package_Node); end if; -- In SPARK, a HIDE directive can be placed at the beginning of a -- package implementation, thus hiding the package body from SPARK -- tool-set. No violation of the SPARK restriction should be -- issued on nodes in a hidden part, which is obtained by marking -- such hidden parts. if Token = Tok_SPARK_Hide then Body_Is_Hidden_In_SPARK := True; Hidden_Region_Start := Token_Ptr; Scan; -- past HIDE directive else Body_Is_Hidden_In_SPARK := False; end if; Parse_Decls_Begin_End (Package_Node); if Body_Is_Hidden_In_SPARK then Set_Hidden_Part_In_SPARK (Hidden_Region_Start, Token_Ptr); end if; end if; -- Cases other than Package_Body else Scope.Table (Scope.Last).Sloc := Token_Ptr; Name_Node := P_Defining_Program_Unit_Name; Scope.Table (Scope.Last).Labl := Name_Node; -- Case of renaming declaration Check_Misspelling_Of (Tok_Renames); if Token = Tok_Renames then if not Pf_Flags.Rnam then Error_Msg_SC ("renaming declaration cannot appear here!"); end if; Scan; -- past RENAMES; Package_Node := New_Node (N_Package_Renaming_Declaration, Package_Sloc); Set_Defining_Unit_Name (Package_Node, Name_Node); Set_Name (Package_Node, P_Qualified_Simple_Name); No_Constraint; P_Aspect_Specifications (Package_Node, Semicolon => False); TF_Semicolon; Pop_Scope_Stack; -- Generic package instantiation or package declaration else if Aspect_Specifications_Present then Aspect_Sloc := Token_Ptr; P_Aspect_Specifications (Dummy_Node, Semicolon => False); end if; Is_Sloc := Token_Ptr; TF_Is; -- Case of generic instantiation if Token = Tok_New then if not Pf_Flags.Gins then Error_Msg_SC ("generic instantiation cannot appear here!"); end if; if Aspect_Sloc /= No_Location then Error_Msg ("misplaced aspects for package instantiation", Aspect_Sloc); end if; Scan; -- past NEW Package_Node := New_Node (N_Package_Instantiation, Package_Sloc); Set_Defining_Unit_Name (Package_Node, Name_Node); Set_Name (Package_Node, P_Qualified_Simple_Name); Set_Generic_Associations (Package_Node, P_Generic_Actual_Part_Opt); if Aspect_Sloc /= No_Location and then not Aspect_Specifications_Present then Error_Msg_SC ("info: aspect specifications belong here??"); Move_Aspects (From => Dummy_Node, To => Package_Node); end if; P_Aspect_Specifications (Package_Node); Pop_Scope_Stack; -- Case of package declaration or package specification else Specification_Node := New_Node (N_Package_Specification, Package_Sloc); Set_Defining_Unit_Name (Specification_Node, Name_Node); Set_Visible_Declarations (Specification_Node, P_Basic_Declarative_Items); if Token = Tok_Private then Error_Msg_Col := Scope.Table (Scope.Last).Ecol; if RM_Column_Check then if Token_Is_At_Start_Of_Line and then Start_Column /= Error_Msg_Col then Error_Msg_SC ("(style) PRIVATE in wrong column, should be@"); end if; end if; Scan; -- past PRIVATE if Token = Tok_SPARK_Hide then Private_Part_Is_Hidden_In_SPARK := True; Hidden_Region_Start := Token_Ptr; Scan; -- past HIDE directive else Private_Part_Is_Hidden_In_SPARK := False; end if; Set_Private_Declarations (Specification_Node, P_Basic_Declarative_Items); -- In SPARK, a HIDE directive can be placed at the beginning -- of a private part, thus hiding all declarations in the -- private part from SPARK tool-set. No violation of the -- SPARK restriction should be issued on nodes in a hidden -- part, which is obtained by marking such hidden parts. if Private_Part_Is_Hidden_In_SPARK then Set_Hidden_Part_In_SPARK (Hidden_Region_Start, Token_Ptr); end if; -- Deal gracefully with multiple PRIVATE parts while Token = Tok_Private loop Error_Msg_SC ("only one private part allowed per package"); Scan; -- past PRIVATE Append_List (P_Basic_Declarative_Items, Private_Declarations (Specification_Node)); end loop; end if; if Pf_Flags = Pf_Spcn then Package_Node := Specification_Node; else Package_Node := New_Node (N_Package_Declaration, Package_Sloc); Set_Specification (Package_Node, Specification_Node); end if; if Token = Tok_Begin then Error_Msg_SC ("begin block not allowed in package spec"); Scan; -- past BEGIN Discard_Junk_List (P_Sequence_Of_Statements (SS_None)); end if; End_Statements (Specification_Node, Empty, Is_Sloc); Move_Aspects (From => Dummy_Node, To => Package_Node); end if; end if; end if; return Package_Node; end P_Package; ------------------------------ -- 7.1 Package Declaration -- ------------------------------ -- Parsed by P_Package (7.1) -------------------------------- -- 7.1 Package Specification -- -------------------------------- -- Parsed by P_Package (7.1) ----------------------- -- 7.1 Package Body -- ----------------------- -- Parsed by P_Package (7.1) ----------------------------------- -- 7.3 Private Type Declaration -- ----------------------------------- -- Parsed by P_Type_Declaration (3.2.1) ---------------------------------------- -- 7.3 Private Extension Declaration -- ---------------------------------------- -- Parsed by P_Type_Declaration (3.2.1) end Ch7;
with Ada.Finalization; package BT is type Balanced_Ternary is private; -- conversions function To_Balanced_Ternary (Num : Integer) return Balanced_Ternary; function To_Balanced_Ternary (Str : String) return Balanced_Ternary; function To_Integer (Num : Balanced_Ternary) return Integer; function To_string (Num : Balanced_Ternary) return String; -- Arithmetics -- unary minus function "-" (Left : in Balanced_Ternary) return Balanced_Ternary; -- subtraction function "-" (Left, Right : in Balanced_Ternary) return Balanced_Ternary; -- addition function "+" (Left, Right : in Balanced_Ternary) return Balanced_Ternary; -- multiplication function "*" (Left, Right : in Balanced_Ternary) return Balanced_Ternary; private -- a balanced ternary number is a unconstrained array of (1,0,-1) -- dinamically allocated, least significant trit leftmost type Trit is range -1..1; type Trit_Array is array (Positive range <>) of Trit; pragma Pack(Trit_Array); type Trit_Access is access Trit_Array; type Balanced_Ternary is new Ada.Finalization.Controlled with record Ref : Trit_access; end record; procedure Initialize (Object : in out Balanced_Ternary); procedure Adjust (Object : in out Balanced_Ternary); procedure Finalize (Object : in out Balanced_Ternary); end BT;
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; private package CUPS.bits_sockaddr_h is -- Definition of struct sockaddr_* common members and sizes, generic version. -- Copyright (C) 1995-2016 Free Software Foundation, Inc. -- This file is part of the GNU C Library. -- The GNU C Library is free software; you can redistribute it and/or -- modify it under the terms of the GNU Lesser General Public -- License as published by the Free Software Foundation; either -- version 2.1 of the License, or (at your option) any later version. -- The GNU C Library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- Lesser General Public License for more details. -- You should have received a copy of the GNU Lesser General Public -- License along with the GNU C Library; if not, see -- <http://www.gnu.org/licenses/>. -- * Never include this file directly; use <sys/socket.h> instead. -- -- POSIX.1g specifies this type name for the `sa_family' member. subtype sa_family_t is unsigned_short; -- bits/sockaddr.h:28 -- This macro is used to declare the initial common members -- of the data types used for socket addresses, `struct sockaddr', -- `struct sockaddr_in', `struct sockaddr_un', etc. -- Size of struct sockaddr_storage. end CUPS.bits_sockaddr_h;
pragma License (Unrestricted); -- Ada 2005 with Ada.Iterator_Interfaces; private with Ada.Containers.Copy_On_Write; private with Ada.Containers.Hash_Tables; private with Ada.Finalization; private with Ada.Streams; generic type Element_Type (<>) is private; with function Hash (Element : Element_Type) return Hash_Type; with function Equivalent_Elements (Left, Right : Element_Type) return Boolean; with function "=" (Left, Right : Element_Type) return Boolean is <>; package Ada.Containers.Indefinite_Hashed_Sets is pragma Preelaborate; pragma Remote_Types; type Set is tagged private with Constant_Indexing => Constant_Reference, Default_Iterator => Iterate, Iterator_Element => Element_Type; pragma Preelaborable_Initialization (Set); type Cursor is private; pragma Preelaborable_Initialization (Cursor); -- modified -- Empty_Set : constant Set; function Empty_Set return Set; No_Element : constant Cursor; function Has_Element (Position : Cursor) return Boolean; package Set_Iterator_Interfaces is new Iterator_Interfaces (Cursor, Has_Element); overriding function "=" (Left, Right : Set) return Boolean; function Equivalent_Sets (Left, Right : Set) return Boolean; function To_Set (New_Item : Element_Type) return Set; -- diff (Generic_Array_To_Set) -- -- -- -- function Capacity (Container : Set) return Count_Type; procedure Reserve_Capacity ( Container : in out Set; Capacity : Count_Type); function Length (Container : Set) return Count_Type; function Is_Empty (Container : Set) return Boolean; procedure Clear (Container : in out Set); function Element (Position : Cursor) return Element_Type; procedure Replace_Element ( Container : in out Set; Position : Cursor; New_Item : Element_Type); procedure Query_Element ( Position : Cursor; Process : not null access procedure (Element : Element_Type)); type Constant_Reference_Type ( Element : not null access constant Element_Type) is private with Implicit_Dereference => Element; function Constant_Reference (Container : aliased Set; Position : Cursor) return Constant_Reference_Type; procedure Assign (Target : in out Set; Source : Set); function Copy (Source : Set; Capacity : Count_Type := 0) return Set; procedure Move (Target : in out Set; Source : in out Set); procedure Insert ( Container : in out Set; New_Item : Element_Type; Position : out Cursor; Inserted : out Boolean); procedure Insert ( Container : in out Set; New_Item : Element_Type); procedure Include (Container : in out Set; New_Item : Element_Type); procedure Replace (Container : in out Set; New_Item : Element_Type); procedure Exclude (Container : in out Set; Item : Element_Type); procedure Delete (Container : in out Set; Item : Element_Type); procedure Delete (Container : in out Set; Position : in out Cursor); procedure Union (Target : in out Set; Source : Set); function Union (Left, Right : Set) return Set; function "or" (Left, Right : Set) return Set renames Union; procedure Intersection (Target : in out Set; Source : Set); function Intersection (Left, Right : Set) return Set; function "and" (Left, Right : Set) return Set renames Intersection; procedure Difference (Target : in out Set; Source : Set); function Difference (Left, Right : Set) return Set; function "-" (Left, Right : Set) return Set renames Difference; procedure Symmetric_Difference (Target : in out Set; Source : Set); function Symmetric_Difference (Left, Right : Set) return Set; function "xor" (Left, Right : Set) return Set renames Symmetric_Difference; function Overlap (Left, Right : Set) return Boolean; function Is_Subset (Subset : Set; Of_Set : Set) return Boolean; function First (Container : Set) return Cursor; function Next (Position : Cursor) return Cursor; procedure Next (Position : in out Cursor); function Find (Container : Set; Item : Element_Type) return Cursor; function Contains (Container : Set; Item : Element_Type) return Boolean; function Equivalent_Elements (Left, Right : Cursor) return Boolean; function Equivalent_Elements (Left : Cursor; Right : Element_Type) return Boolean; -- function Equivalent_Elements (Left : Element_Type; Right : Cursor) -- return Boolean; -- modified procedure Iterate ( Container : Set'Class; -- not primitive Process : not null access procedure (Position : Cursor)); -- modified function Iterate (Container : Set'Class) -- not primitive return Set_Iterator_Interfaces.Forward_Iterator'Class; generic type Key_Type (<>) is private; with function Key (Element : Element_Type) return Key_Type; with function Hash (Key : Key_Type) return Hash_Type; with function Equivalent_Keys (Left, Right : Key_Type) return Boolean; package Generic_Keys is function Key (Position : Cursor) return Key_Type; function Element (Container : Set; Key : Key_Type) return Element_Type; procedure Replace ( Container : in out Set; Key : Key_Type; New_Item : Element_Type); procedure Exclude (Container : in out Set; Key : Key_Type); procedure Delete (Container : in out Set; Key : Key_Type); function Find (Container : Set; Key : Key_Type) return Cursor; function Contains (Container : Set; Key : Key_Type) return Boolean; procedure Update_Element_Preserving_Key ( Container : in out Set; Position : Cursor; Process : not null access procedure ( Element : in out Element_Type)); type Reference_Type ( Element : not null access Element_Type) is private with Implicit_Dereference => Element; function Reference_Preserving_Key ( Container : aliased in out Set; Position : Cursor) return Reference_Type; function Constant_Reference (Container : aliased Set; Key : Key_Type) return Constant_Reference_Type; function Reference_Preserving_Key ( Container : aliased in out Set; Key : Key_Type) return Reference_Type; private type Reference_Type ( Element : not null access Element_Type) is null record; -- dummy 'Read and 'Write procedure Missing_Read ( Stream : access Streams.Root_Stream_Type'Class; Item : out Reference_Type) with Import, Convention => Ada, External_Name => "__drake_program_error"; procedure Missing_Write ( Stream : access Streams.Root_Stream_Type'Class; Item : Reference_Type) with Import, Convention => Ada, External_Name => "__drake_program_error"; for Reference_Type'Read use Missing_Read; for Reference_Type'Write use Missing_Write; end Generic_Keys; -- diff (Equivalents) -- -- -- -- -- private type Element_Access is access Element_Type; type Node is limited record Super : aliased Hash_Tables.Node; Element : Element_Access; end record; -- place Super at first whether Element_Type is controlled-type for Node use record Super at 0 range 0 .. Hash_Tables.Node_Size - 1; end record; type Data is limited record Super : aliased Copy_On_Write.Data; Table : Hash_Tables.Table_Access := null; Length : Count_Type := 0; end record; type Data_Access is access Data; type Set is new Finalization.Controlled with record Super : aliased Copy_On_Write.Container; -- diff end record; overriding procedure Adjust (Object : in out Set); overriding procedure Finalize (Object : in out Set) renames Clear; type Cursor is access Node; type Constant_Reference_Type ( Element : not null access constant Element_Type) is null record; type Set_Access is access constant Set; for Set_Access'Storage_Size use 0; type Set_Iterator is new Set_Iterator_Interfaces.Forward_Iterator with record First : Cursor; end record; overriding function First (Object : Set_Iterator) return Cursor; overriding function Next (Object : Set_Iterator; Position : Cursor) return Cursor; package Streaming is procedure Read ( Stream : not null access Streams.Root_Stream_Type'Class; Item : out Set); procedure Write ( Stream : not null access Streams.Root_Stream_Type'Class; Item : Set); procedure Missing_Read ( Stream : access Streams.Root_Stream_Type'Class; Item : out Cursor) with Import, Convention => Ada, External_Name => "__drake_program_error"; procedure Missing_Write ( Stream : access Streams.Root_Stream_Type'Class; Item : Cursor) with Import, Convention => Ada, External_Name => "__drake_program_error"; procedure Missing_Read ( Stream : access Streams.Root_Stream_Type'Class; Item : out Constant_Reference_Type) with Import, Convention => Ada, External_Name => "__drake_program_error"; procedure Missing_Write ( Stream : access Streams.Root_Stream_Type'Class; Item : Constant_Reference_Type) with Import, Convention => Ada, External_Name => "__drake_program_error"; end Streaming; for Set'Read use Streaming.Read; for Set'Write use Streaming.Write; for Cursor'Read use Streaming.Missing_Read; for Cursor'Write use Streaming.Missing_Write; for Constant_Reference_Type'Read use Streaming.Missing_Read; for Constant_Reference_Type'Write use Streaming.Missing_Write; No_Element : constant Cursor := null; end Ada.Containers.Indefinite_Hashed_Sets;
package Afficher_Un_Entier is -- Afficher l'entier N sur la sortie standard. -- Cette procédure s'appuie sur Ada.Integer_Text_IO.Put mais permet d'avoir -- une procédure avec un seul paramètre. procedure Afficher (N: in Integer); end Afficher_Un_Entier;
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>relu_3</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>data_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>14</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>120</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>res_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>13</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>120</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>15</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_3"> <Value> <Obj> <type>0</type> <id>3</id> <name></name> <fileName>firmware/nnet_utils/nnet_activation.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>76</lineNumber> <contextFuncName>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second class_id="11" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>firmware/nnet_utils/nnet_activation.h</first> <second>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</second> </first> <second>76</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>23</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="_4"> <Value> <Obj> <type>0</type> <id>5</id> <name>ii</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ii</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>25</item> <item>26</item> <item>27</item> <item>28</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="_5"> <Value> <Obj> <type>0</type> <id>6</id> <name>tmp</name> <fileName>firmware/nnet_utils/nnet_activation.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>76</lineNumber> <contextFuncName>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_activation.h</first> <second>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</second> </first> <second>76</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>29</item> <item>31</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.48</m_delay> <m_topoIndex>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>8</id> <name>ii_1</name> <fileName>firmware/nnet_utils/nnet_activation.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>76</lineNumber> <contextFuncName>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_activation.h</first> <second>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</second> </first> <second>76</second> </item> </second> </item> </inlineStackInfo> <originalName>ii</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>32</item> <item>34</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.87</m_delay> <m_topoIndex>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>9</id> <name></name> <fileName>firmware/nnet_utils/nnet_activation.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>76</lineNumber> <contextFuncName>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_activation.h</first> <second>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</second> </first> <second>76</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>35</item> <item>36</item> <item>37</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="_8"> <Value> <Obj> <type>0</type> <id>11</id> <name>tmp_s</name> <fileName>firmware/nnet_utils/nnet_activation.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_activation.h</first> <second>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</second> </first> <second>80</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>38</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="_9"> <Value> <Obj> <type>0</type> <id>12</id> <name>data_V_addr</name> <fileName>firmware/nnet_utils/nnet_activation.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_activation.h</first> <second>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>39</item> <item>41</item> <item>42</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>7</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>13</id> <name>datareg_V</name> <fileName>firmware/nnet_utils/nnet_activation.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_activation.h</first> <second>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</second> </first> <second>80</second> </item> </second> </item> </inlineStackInfo> <originalName>datareg.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>43</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>14</id> <name>tmp_14</name> <fileName>firmware/nnet_utils/nnet_activation.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>80</lineNumber> <contextFuncName>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_activation.h</first> <second>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</second> </first> <second>80</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>44</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>10</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>15</id> <name>tmp_4</name> <fileName>firmware/nnet_utils/nnet_activation.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_activation.h</first> <second>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</second> </first> <second>81</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>45</item> <item>47</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.20</m_delay> <m_topoIndex>11</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>16</id> <name>res_V_addr</name> <fileName>firmware/nnet_utils/nnet_activation.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_activation.h</first> <second>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</second> </first> <second>81</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>48</item> <item>49</item> <item>50</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>13</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>17</id> <name>datareg_V_1</name> <fileName>firmware/nnet_utils/nnet_activation.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_activation.h</first> <second>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</second> </first> <second>81</second> </item> </second> </item> </inlineStackInfo> <originalName>datareg.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>51</item> <item>52</item> <item>54</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.69</m_delay> <m_topoIndex>12</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>18</id> <name></name> <fileName>firmware/nnet_utils/nnet_activation.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>81</lineNumber> <contextFuncName>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_activation.h</first> <second>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</second> </first> <second>81</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>55</item> <item>56</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>14</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>19</id> <name></name> <fileName>firmware/nnet_utils/nnet_activation.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>76</lineNumber> <contextFuncName>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_activation.h</first> <second>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</second> </first> <second>76</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>57</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>15</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>21</id> <name></name> <fileName>firmware/nnet_utils/nnet_activation.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>84</lineNumber> <contextFuncName>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_activation.h</first> <second>relu&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, relu_config13&amp;gt;</second> </first> <second>84</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>9</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_18"> <Value> <Obj> <type>2</type> <id>24</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="_19"> <Value> <Obj> <type>2</type> <id>30</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>120</content> </item> <item class_id_reference="16" object_id="_20"> <Value> <Obj> <type>2</type> <id>33</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>1</content> </item> <item class_id_reference="16" object_id="_21"> <Value> <Obj> <type>2</type> <id>40</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_22"> <Value> <Obj> <type>2</type> <id>46</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>0</content> </item> <item class_id_reference="16" object_id="_23"> <Value> <Obj> <type>2</type> <id>53</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> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_24"> <Obj> <type>3</type> <id>4</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>3</item> </node_objs> </item> <item class_id_reference="18" object_id="_25"> <Obj> <type>3</type> <id>10</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>5</item> <item>6</item> <item>8</item> <item>9</item> </node_objs> </item> <item class_id_reference="18" object_id="_26"> <Obj> <type>3</type> <id>20</id> <name>_ZgtILi14ELi2ELb1EL9ap_q_mode0EL9ap_o_mode0ELi0EEbRK13ap_fixed_baseIXT_EXT0_EXT1_EXT2_EXT3_EXT4_EEi.exit</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>9</count> <item_version>0</item_version> <item>11</item> <item>12</item> <item>13</item> <item>14</item> <item>15</item> <item>16</item> <item>17</item> <item>18</item> <item>19</item> </node_objs> </item> <item class_id_reference="18" object_id="_27"> <Obj> <type>3</type> <id>22</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>21</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>33</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_28"> <id>23</id> <edge_type>2</edge_type> <source_obj>10</source_obj> <sink_obj>3</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_29"> <id>25</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>5</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_30"> <id>26</id> <edge_type>2</edge_type> <source_obj>4</source_obj> <sink_obj>5</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_31"> <id>27</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>5</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_32"> <id>28</id> <edge_type>2</edge_type> <source_obj>20</source_obj> <sink_obj>5</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_33"> <id>29</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>6</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_34"> <id>31</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>6</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_35"> <id>32</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>8</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_36"> <id>34</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>8</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_37"> <id>35</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>9</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_38"> <id>36</id> <edge_type>2</edge_type> <source_obj>20</source_obj> <sink_obj>9</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_39"> <id>37</id> <edge_type>2</edge_type> <source_obj>22</source_obj> <sink_obj>9</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_40"> <id>38</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>11</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_41"> <id>39</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>12</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_42"> <id>41</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>12</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_43"> <id>42</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>12</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_44"> <id>43</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>13</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_45"> <id>44</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>14</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_46"> <id>45</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_47"> <id>47</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_48"> <id>48</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_49"> <id>49</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_50"> <id>50</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_51"> <id>51</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_52"> <id>52</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_53"> <id>54</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_54"> <id>55</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_55"> <id>56</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_56"> <id>57</id> <edge_type>2</edge_type> <source_obj>10</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_57"> <id>64</id> <edge_type>2</edge_type> <source_obj>4</source_obj> <sink_obj>10</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_58"> <id>65</id> <edge_type>2</edge_type> <source_obj>10</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_59"> <id>66</id> <edge_type>2</edge_type> <source_obj>10</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_60"> <id>67</id> <edge_type>2</edge_type> <source_obj>20</source_obj> <sink_obj>10</sink_obj> <is_back_edge>1</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_61"> <mId>1</mId> <mTag>relu.3</mTag> <mType>0</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>4</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>481</mMinLatency> <mMaxLatency>481</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_62"> <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>4</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_63"> <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>10</item> <item>20</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>120</mMinTripCount> <mMaxTripCount>120</mMaxTripCount> <mMinLatency>480</mMinLatency> <mMaxLatency>480</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_64"> <mId>4</mId> <mTag>Return</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>22</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_65"> <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="_66"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_67"> <id>3</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_68"> <id>2</id> <operations> <count>9</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_69"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_70"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_71"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_72"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_73"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_74"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_75"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_76"> <id>13</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_77"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_78"> <id>3</id> <operations> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_79"> <id>13</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_80"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_81"> <id>4</id> <operations> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_82"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_83"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_84"> <id>5</id> <operations> <count>3</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_85"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_86"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_87"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>5</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_88"> <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="_89"> <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>6</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_90"> <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="_91"> <inState>4</inState> <outState>5</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_92"> <inState>5</inState> <outState>2</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="-1"></res> <node_label_latency class_id="37" tracking_level="0" version="0"> <count>15</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>3</first> <second class_id="39" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>5</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>6</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>8</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>9</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>11</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>12</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>13</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>14</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>15</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>16</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>18</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>21</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>4</count> <item_version>0</item_version> <item class_id="41" tracking_level="0" version="0"> <first>4</first> <second class_id="42" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>10</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>20</first> <second> <first>1</first> <second>4</second> </second> </item> <item> <first>22</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>11</count> <item_version>0</item_version> <item class_id="45" tracking_level="0" version="0"> <first>20</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>27</first> <second> <count>2</count> <item_version>0</item_version> <item>13</item> <item>13</item> </second> </item> <item> <first>33</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>40</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>50</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>57</first> <second> <count>1</count> <item_version>0</item_version> <item>6</item> </second> </item> <item> <first>63</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>69</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>74</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>78</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>83</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="47" tracking_level="0" version="0"> <count>9</count> <item_version>0</item_version> <item class_id="48" tracking_level="0" version="0"> <first>data_V_addr_gep_fu_20</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>datareg_V_1_fu_83</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>ii_1_fu_63</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>ii_phi_fu_50</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>res_V_addr_gep_fu_33</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>tmp_14_fu_74</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>tmp_4_fu_78</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>tmp_fu_57</first> <second> <count>1</count> <item_version>0</item_version> <item>6</item> </second> </item> <item> <first>tmp_s_fu_69</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="49" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="50" tracking_level="0" version="0"> <first class_id="51" tracking_level="0" version="0"> <first>data_V</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>13</item> <item>13</item> </second> </item> <item> <first> <first>res_V</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> </dp_mem_port_nodes> <dp_reg_nodes> <count>7</count> <item_version>0</item_version> <item> <first>46</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>93</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>98</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>103</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>108</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>113</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>118</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>7</count> <item_version>0</item_version> <item> <first>data_V_addr_reg_103</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>datareg_V_1_reg_118</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>datareg_V_reg_108</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>ii_1_reg_93</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>ii_reg_46</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>tmp_14_reg_113</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>tmp_s_reg_98</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>1</count> <item_version>0</item_version> <item> <first>46</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>1</count> <item_version>0</item_version> <item> <first>ii_reg_46</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="52" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="53" tracking_level="0" version="0"> <first>data_V(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>load</first> <second> <count>2</count> <item_version>0</item_version> <item>13</item> <item>13</item> </second> </item> </second> </item> <item> <first>res_V(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>store</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="54" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="55" tracking_level="0" version="0"> <first>1</first> <second>RAM</second> </item> <item> <first>2</first> <second>RAM</second> </item> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- G N A T . S T R I N G S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1995-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. -- -- -- ------------------------------------------------------------------------------ -- Common String access types and related subprograms -- See file s-string.ads for full documentation of the interface with System.Strings; package GNAT.Strings renames System.Strings;
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- -- -- A 4 G . Q U E R I E S -- -- -- -- S p e c -- -- -- -- Copyright (c) 1995-2006, Free Software Foundation, Inc. -- -- -- -- ASIS-for-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 -- -- Software Foundation; either version 2, or (at your option) any later -- -- version. ASIS-for-GNAT is distributed in the hope that it will be use- -- -- ful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- -- -- CHANTABILITY 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 ASIS-for-GNAT; see file -- -- COPYING. If not, write to the Free Software Foundation, 51 Franklin -- -- Street, Fifth Floor, Boston, MA 02110-1301, USA. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ASIS-for-GNAT was originally developed by the ASIS-for-GNAT team at the -- -- Software Engineering Laboratory of the Swiss Federal Institute of -- -- Technology (LGL-EPFL) in Lausanne, Switzerland, in cooperation with the -- -- Scientific Research Computer Center of Moscow State University (SRCC -- -- MSU), Russia, with funding partially provided by grants from the Swiss -- -- National Science Foundation and the Swiss Academy of Engineering -- -- Sciences. ASIS-for-GNAT is now maintained by AdaCore -- -- (http://www.adaccore.com). -- -- -- -- The original version of this component has been developed by Jean-Charles-- -- Marteau (Jean-Charles.Marteau@ensimag.imag.fr) and Serge Reboul -- -- (Serge.Reboul@ensimag.imag.fr), ENSIMAG High School Graduates (Computer -- -- sciences) Grenoble, France in Sema Group Grenoble, France. Now this -- -- component is maintained by the ASIS team -- -- -- ------------------------------------------------------------------------------ with Asis; use Asis; ---------------------------------------------------------- -- The goal of this package is, when we have an element -- -- to let us have ALL the possible queries for that -- -- element that return its children. -- ---------------------------------------------------------- package A4G.Queries is -- There is 3 kinds of queries in Asis : type Query_Kinds is (Bug, -- just for the discriminant default expression Single_Element_Query, -- Queries taking an element and returning an element. Element_List_Query, -- Queries taking an element and returning a list of elements. Element_List_Query_With_Boolean -- Queries taking an element and a boolean and returning a list -- of elements. ); type A_Single_Element_Query is access function (Elem : Asis.Element) return Asis.Element; type A_Element_List_Query is access function (Elem : Asis.Element) return Asis.Element_List; type A_Element_List_Query_With_Boolean is access function (Elem : Asis.Element; Bool : Boolean) return Asis.Element_List; -- Discriminant record that can access any type of query. type Func_Elem (Query_Kind : Query_Kinds := Bug) is record case Query_Kind is when Bug => null; when Single_Element_Query => Func_Simple : A_Single_Element_Query; when Element_List_Query => Func_List : A_Element_List_Query; when Element_List_Query_With_Boolean => Func_List_Boolean : A_Element_List_Query_With_Boolean; Bool : Boolean; end case; end record; type Query_Array is array (Positive range <>) of Func_Elem; -- an empty array, when the element is a terminal No_Query : Query_Array (1 .. 0); ---------------------------------------------------- -- This function returns a Query_Array containing -- -- all the existing queries for that element. -- -- If an element has no children, No_Query is -- -- returned. -- ---------------------------------------------------- function Appropriate_Queries (Element : Asis.Element) return Query_Array; end A4G.Queries;
-- Ada regular expression library -- (c) Kristian Klomsten Skordal 2020 <kristian.skordal@wafflemail.net> -- Report bugs and issues on <https://github.com/skordal/ada-regex> package Regex.Utilities is pragma Pure; end Regex.Utilities;
-- package Gauss_Quadrature_61 -- -- Package provides a 61 pt. Gauss-Kronrod quadrature rule. Tables are -- good to about 30 significant figures. -- A 30-point Gaussian rule is used for error estimate.(From Quadpack.) -- -- To estimate the idefinite integral of a function F(X) in an interval -- (X_Starting, X_Final), use the following fragment: -- -- Find_Gauss_Nodes (X_Starting, X_Final, X_gauss); -- -- for I in Gauss_Index_61 loop -- F_val(I) := F (X_gauss(I)); -- end loop; -- -- Evaluate the function at the 61 callocation points just once. -- -- Get_Integral (F_val, X_Starting, X_Final, Area, Rough_Error); -- -- The array X_gauss(I) is the set of points X that the -- function F is evaluated at. The function is multiplied by -- the Gauss_Weights associated with each of these points, and -- result is summed to give the area under the curve in the -- interval defined above. -- -- Rough_Error is usually wrong by orders of magnitude. But -- it's usually larger than the actual error. Works best when -- error is near machine epsilon. -- generic type Real is digits <>; with function Sqrt(X : Real) return Real is <>; package Gauss_Quadrature_61 is type Gauss_Index_61 is range -30 .. 30; type Gauss_Values is array (Gauss_Index_61) of Real; -- These are the 61 callocation points, the X axis points at -- which the function is evaluated. They are calculated by -- the following routine: procedure Find_Gauss_Nodes (X_Starting : in Real; X_Final : in Real; X_gauss : out Gauss_Values); type Function_Values is array(Gauss_Index_61) of Real; -- Fill array F_val of this type with values function F: -- -- for I in Gauss_Index_61 loop -- F_val(I) := F (X_gauss(I)); -- end loop; procedure Get_Integral (F_val : in Function_Values; X_Starting : in Real; X_Final : in Real; Area : out Real; Rough_Error : out Real); procedure Gauss_61_Coeff_Test; end Gauss_Quadrature_61;
-- C35508G.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making -- this public release, the Government intends to confer upon all -- recipients unlimited rights equal to those held by the Government. -- These rights include rights to use, duplicate, release or disclose the -- released technical data and computer software in whole or in part, in -- any manner and for any purpose whatsoever, and to have or permit others -- to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. --* -- OBJECTIVE: -- CHECK THAT 'PRED' AND 'SUCC' YIELD THE CORRECT RESULTS WHEN THE -- PREFIX IS A BOOLEAN TYPE. -- HISTORY: -- RJW 03/19/86 CREATED ORIGINAL TEST. -- DHH 10/19/87 SHORTENED LINES CONTAINING MORE THAN 72 CHARACTERS. WITH REPORT; USE REPORT; PROCEDURE C35508G IS BEGIN TEST ("C35508G", "CHECK THAT 'PRED' AND 'SUCC' YIELD THE " & "CORRECT RESULTS WHEN THE PREFIX IS A " & "BOOLEAN TYPE" ); BEGIN IF BOOLEAN'PRED (IDENT_BOOL(TRUE)) /= FALSE THEN FAILED ( "INCORRECT VALUE FOR PRED OF TRUE" ); END IF; IF BOOLEAN'SUCC (IDENT_BOOL(FALSE)) /= TRUE THEN FAILED ( "INCORRECT VALUE FOR SUCC OF FALSE" ); END IF; END; DECLARE TYPE NEWBOOL IS NEW BOOLEAN; BEGIN IF NEWBOOL'PRED (TRUE) /= FALSE THEN FAILED ( "INCORRECT VALUE FOR NEWBOOL'PRED OF TRUE" ); END IF; IF NEWBOOL'SUCC (FALSE) /= TRUE THEN FAILED ( "INCORRECT VALUE FOR NEWBOOL'SUCC OF FALSE" ); END IF; END; DECLARE SUBTYPE SBOOL IS BOOLEAN RANGE IDENT_BOOL(TRUE) .. IDENT_BOOL(TRUE); BEGIN BEGIN IF SBOOL'PRED (IDENT_BOOL(TRUE)) /= FALSE THEN FAILED ( "INCORRECT VALUE FOR SBOOL'PRED " & "OF TRUE" ); END IF; END; BEGIN IF SBOOL'PRED (IDENT_BOOL(SBOOL'BASE'FIRST)) = TRUE THEN FAILED("'PRED('FIRST) WRAPPED AROUNT TO TRUE"); END IF; FAILED ( "NO EXCEPTION RAISED FOR " & "'PRED (SBOOL'BASE'FIRST)" ); EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ( "WRONG EXCEPTION RAISED FOR " & "'PRED (SBOOL'BASE'FIRST)" ); END; BEGIN IF SBOOL'SUCC (IDENT_BOOL(SBOOL'BASE'LAST)) = FALSE THEN FAILED("'SUCC('LAST) WRAPPED AROUNT TO FALSE"); END IF; FAILED ( "NO EXCEPTION RAISED FOR " & "'SUCC (SBOOL'BASE'LAST)" ); EXCEPTION WHEN CONSTRAINT_ERROR => NULL; WHEN OTHERS => FAILED ( "WRONG EXCEPTION RAISED FOR " & "'SUCC (SBOOL'BASE'LAST)" ); END; END; RESULT; END C35508G;
with Tables; procedure Table_Test is My_Table : Tables.Table; begin ... -- insert stuff in table Sort (My_Table); -- use default sorting Sort (My_Table, Psionic, 5, True); -- use psionic sorting by 5th column in reverse order Sort (It => My_Table, Reverse_Ordering => True); -- use default sorting in reverse order ... -- other stuff end Table_Test;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 4 1 -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2014, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with System.Storage_Elements; with System.Unsigned_Types; package body System.Pack_41 is subtype Bit_Order is System.Bit_Order; Reverse_Bit_Order : constant Bit_Order := Bit_Order'Val (1 - Bit_Order'Pos (System.Default_Bit_Order)); subtype Ofs is System.Storage_Elements.Storage_Offset; subtype Uns is System.Unsigned_Types.Unsigned; subtype N07 is System.Unsigned_Types.Unsigned range 0 .. 7; use type System.Storage_Elements.Storage_Offset; use type System.Unsigned_Types.Unsigned; type Cluster is record E0, E1, E2, E3, E4, E5, E6, E7 : Bits_41; end record; for Cluster use record E0 at 0 range 0 * Bits .. 0 * Bits + Bits - 1; E1 at 0 range 1 * Bits .. 1 * Bits + Bits - 1; E2 at 0 range 2 * Bits .. 2 * Bits + Bits - 1; E3 at 0 range 3 * Bits .. 3 * Bits + Bits - 1; E4 at 0 range 4 * Bits .. 4 * Bits + Bits - 1; E5 at 0 range 5 * Bits .. 5 * Bits + Bits - 1; E6 at 0 range 6 * Bits .. 6 * Bits + Bits - 1; E7 at 0 range 7 * Bits .. 7 * Bits + Bits - 1; end record; for Cluster'Size use Bits * 8; for Cluster'Alignment use Integer'Min (Standard'Maximum_Alignment, 1 + 1 * Boolean'Pos (Bits mod 2 = 0) + 2 * Boolean'Pos (Bits mod 4 = 0)); -- Use maximum possible alignment, given the bit field size, since this -- will result in the most efficient code possible for the field. type Cluster_Ref is access Cluster; type Rev_Cluster is new Cluster with Bit_Order => Reverse_Bit_Order, Scalar_Storage_Order => Reverse_Bit_Order; type Rev_Cluster_Ref is access Rev_Cluster; ------------ -- Get_41 -- ------------ function Get_41 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_41 is A : constant System.Address := Arr + Bits * Ofs (Uns (N) / 8); C : Cluster_Ref with Address => A'Address, Import; RC : Rev_Cluster_Ref with Address => A'Address, Import; begin if Rev_SSO then case N07 (Uns (N) mod 8) is when 0 => return RC.E0; when 1 => return RC.E1; when 2 => return RC.E2; when 3 => return RC.E3; when 4 => return RC.E4; when 5 => return RC.E5; when 6 => return RC.E6; when 7 => return RC.E7; end case; else case N07 (Uns (N) mod 8) is when 0 => return C.E0; when 1 => return C.E1; when 2 => return C.E2; when 3 => return C.E3; when 4 => return C.E4; when 5 => return C.E5; when 6 => return C.E6; when 7 => return C.E7; end case; end if; end Get_41; ------------ -- Set_41 -- ------------ procedure Set_41 (Arr : System.Address; N : Natural; E : Bits_41; Rev_SSO : Boolean) is A : constant System.Address := Arr + Bits * Ofs (Uns (N) / 8); C : Cluster_Ref with Address => A'Address, Import; RC : Rev_Cluster_Ref with Address => A'Address, Import; begin if Rev_SSO then case N07 (Uns (N) mod 8) is when 0 => RC.E0 := E; when 1 => RC.E1 := E; when 2 => RC.E2 := E; when 3 => RC.E3 := E; when 4 => RC.E4 := E; when 5 => RC.E5 := E; when 6 => RC.E6 := E; when 7 => RC.E7 := E; end case; else case N07 (Uns (N) mod 8) is when 0 => C.E0 := E; when 1 => C.E1 := E; when 2 => C.E2 := E; when 3 => C.E3 := E; when 4 => C.E4 := E; when 5 => C.E5 := E; when 6 => C.E6 := E; when 7 => C.E7 := E; end case; end if; end Set_41; end System.Pack_41;
-- { dg-do run } -- { dg-options "-gnatws" } with Misaligned_Param_Pkg; procedure Misaligned_Param is procedure Channel_Eth (Status : out Integer; Kind : out Integer); pragma Import (External, Channel_Eth); pragma Import_Valued_Procedure (Channel_Eth, "channel_eth", (Integer, Integer), (VALUE, REFERENCE)); type Channel is record B : Boolean; Kind : Integer; end record; pragma Pack (Channel); MyChan : Channel; Status : Integer; begin MyChan.Kind := 0; Channel_Eth (Status => Status, Kind => MyChan.Kind); if Mychan.Kind = 0 then raise Program_Error; end if; end;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of STMicroelectronics nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- -- -- -- This file is based on: -- -- -- -- @file stm32f4xx_hal_dac.h and stm32f4xx_hal_dac_ex.h -- -- @author MCD Application Team -- -- @version V1.3.1 -- -- @date 25-March-2015 -- -- @brief Header file of DAC HAL module. -- -- -- -- COPYRIGHT(c) 2014 STMicroelectronics -- ------------------------------------------------------------------------------ -- This file provides interfaces for the digital-to-analog converters on the -- STM32F4 (ARM Cortex M4F) microcontrollers from ST Microelectronics. with System; use System; private with STM32_SVD.DAC; package STM32.DAC is end STM32.DAC;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- G N A T . U T F _ 3 2 -- -- -- -- B o d y -- -- -- -- Copyright (C) 2005-2019, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package does not require a body, since it is a package renaming. We -- provide a dummy file containing a No_Body pragma so that previous versions -- of the body (which did exist) will not interfere. pragma No_Body;
-- REPBODY.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. --* -- -- HISTORY: -- DCB 04/27/80 -- JRK 6/10/80 -- JRK 11/12/80 -- JRK 8/6/81 -- JRK 10/27/82 -- JRK 6/1/84 -- JRK 11/18/85 ADDED PRAGMA ELABORATE. -- PWB 07/29/87 ADDED STATUS ACTION_REQUIRED AND -- PROCEDURE SPECIAL_ACTION. -- TBN 08/20/87 ADDED FUNCTION LEGAL_FILE_NAME. -- BCB 05/17/90 MODIFIED TO ALLOW OUTPUT TO DIRECT_IO FILE. -- ADDED TIME-STAMP. -- LDC 05/17/90 REMOVED OUTPUT TO DIRECT_IO FILE. -- WMC 08/11/92 UPDATED ACVC VERSION STRING TO "9X BASIC". -- DTN 07/05/92 UPDATED ACVC VERSION STRING TO -- "ACVC 2.0 JULY 6 1993 DRAFT". -- WMC 01/24/94 MODIFIED LEGAL_FILE_NAME TO ALLOW FIVE POSSIBLE -- FILE NAMES (INCREASED RANGE OF TYPE FILE_NUM TO 1..5). -- WMC 11/06/94 UPDATED ACVC VERSION STRING TO -- "ACVC 2.0 NOVEMBER 6 1994 DRAFT". -- DTN 12/04/94 UPDATED ACVC VERSION STRING TO -- "ACVC 2.0". -- KAS 06/19/95 ADDED FUNCTION IDENT_WIDE_CHAR. -- KAS 06/19/95 ADDED FUNCTION IDENT_WIDE_STR. -- DTN 11/21/95 UPDATED ACVC VERSION STRING TO -- "ACVC 2.0.1". -- DTN 12/14/95 UPDATED ACVC VERSION STRING TO -- "ACVC 2.1". -- EDS 12/17/97 UPDATED ACVC VERSION STRING TO -- "2.2". -- RLB 3/16/00 UPDATED ACATS VERSION STRING TO "2.3". -- CHANGED VARIOUS STRINGS TO READ "ACATS". -- RLB 3/22/01 UPDATED ACATS VERSION STRING TO "2.4". -- RLB 3/29/01 UPDATED ACATS VERSION STRING TO "2.5". WITH TEXT_IO, CALENDAR; USE TEXT_IO, CALENDAR; PRAGMA ELABORATE (TEXT_IO, CALENDAR); PACKAGE BODY REPORT IS TYPE STATUS IS (PASS, FAIL, DOES_NOT_APPLY, ACTION_REQUIRED, UNKNOWN); TYPE TIME_INTEGER IS RANGE 0 .. 86_400; TEST_STATUS : STATUS := FAIL; MAX_NAME_LEN : CONSTANT := 15; -- MAXIMUM TEST NAME LENGTH. TEST_NAME : STRING (1..MAX_NAME_LEN); NO_NAME : CONSTANT STRING (1..7) := "NO_NAME"; TEST_NAME_LEN : INTEGER RANGE 0..MAX_NAME_LEN := 0; ACATS_VERSION : CONSTANT STRING := "2.5"; -- VERSION OF ACATS BEING RUN (X.XX). PROCEDURE PUT_MSG (MSG : STRING) IS -- WRITE MESSAGE. LONG MESSAGES ARE FOLDED (AND INDENTED). MAX_LEN : CONSTANT INTEGER RANGE 50..150 := 72; -- MAXIMUM -- OUTPUT LINE LENGTH. INDENT : CONSTANT INTEGER := TEST_NAME_LEN + 9; -- AMOUNT TO -- INDENT CONTINUATION LINES. I : INTEGER := 0; -- CURRENT INDENTATION. M : INTEGER := MSG'FIRST; -- START OF MESSAGE SLICE. N : INTEGER; -- END OF MESSAGE SLICE. BEGIN LOOP IF I + (MSG'LAST-M+1) > MAX_LEN THEN N := M + (MAX_LEN-I) - 1; IF MSG (N) /= ' ' THEN WHILE N >= M AND THEN MSG (N+1) /= ' ' LOOP N := N - 1; END LOOP; IF N < M THEN N := M + (MAX_LEN-I) - 1; END IF; END IF; ELSE N := MSG'LAST; END IF; SET_COL (STANDARD_OUTPUT, TEXT_IO.COUNT (I+1)); PUT_LINE (STANDARD_OUTPUT, MSG (M..N)); I := INDENT; M := N + 1; WHILE M <= MSG'LAST AND THEN MSG (M) = ' ' LOOP M := M + 1; END LOOP; EXIT WHEN M > MSG'LAST; END LOOP; END PUT_MSG; FUNCTION TIME_STAMP RETURN STRING IS TIME_NOW : CALENDAR.TIME; YEAR, MONTH, DAY, HOUR, MINUTE, SECOND : TIME_INTEGER := 1; FUNCTION CONVERT (NUMBER : TIME_INTEGER) RETURN STRING IS STR : STRING (1..2) := (OTHERS => '0'); DEC_DIGIT : CONSTANT STRING := "0123456789"; NUM : TIME_INTEGER := NUMBER; BEGIN IF NUM = 0 THEN RETURN STR; ELSE NUM := NUM MOD 100; STR (2) := DEC_DIGIT (INTEGER (NUM MOD 10 + 1)); NUM := NUM / 10; STR (1) := DEC_DIGIT (INTEGER (NUM + 1)); RETURN STR; END IF; END CONVERT; BEGIN TIME_NOW := CALENDAR.CLOCK; SPLIT (TIME_NOW, YEAR_NUMBER (YEAR), MONTH_NUMBER (MONTH), DAY_NUMBER (DAY), DAY_DURATION (SECOND)); HOUR := SECOND / 3600; SECOND := SECOND MOD 3600; MINUTE := SECOND / 60; SECOND := SECOND MOD 60; RETURN (CONVERT (TIME_INTEGER (YEAR)) & "-" & CONVERT (TIME_INTEGER (MONTH)) & "-" & CONVERT (TIME_INTEGER (DAY)) & " " & CONVERT (TIME_INTEGER (HOUR)) & ":" & CONVERT (TIME_INTEGER (MINUTE)) & ":" & CONVERT (TIME_INTEGER (SECOND))); END TIME_STAMP; PROCEDURE TEST (NAME : STRING; DESCR : STRING) IS BEGIN TEST_STATUS := PASS; IF NAME'LENGTH <= MAX_NAME_LEN THEN TEST_NAME_LEN := NAME'LENGTH; ELSE TEST_NAME_LEN := MAX_NAME_LEN; END IF; TEST_NAME (1..TEST_NAME_LEN) := NAME (NAME'FIRST .. NAME'FIRST+TEST_NAME_LEN-1); PUT_MSG (""); PUT_MSG (",.,. " & TEST_NAME (1..TEST_NAME_LEN) & " " & "ACATS " & ACATS_VERSION & " " & TIME_STAMP); PUT_MSG ("---- " & TEST_NAME (1..TEST_NAME_LEN) & " " & DESCR & "."); END TEST; PROCEDURE COMMENT (DESCR : STRING) IS BEGIN PUT_MSG (" - " & TEST_NAME (1..TEST_NAME_LEN) & " " & DESCR & "."); END COMMENT; PROCEDURE FAILED (DESCR : STRING) IS BEGIN TEST_STATUS := FAIL; PUT_MSG (" * " & TEST_NAME (1..TEST_NAME_LEN) & " " & DESCR & "."); END FAILED; PROCEDURE NOT_APPLICABLE (DESCR : STRING) IS BEGIN IF TEST_STATUS = PASS OR TEST_STATUS = ACTION_REQUIRED THEN TEST_STATUS := DOES_NOT_APPLY; END IF; PUT_MSG (" + " & TEST_NAME (1..TEST_NAME_LEN) & " " & DESCR & "."); END NOT_APPLICABLE; PROCEDURE SPECIAL_ACTION (DESCR : STRING) IS BEGIN IF TEST_STATUS = PASS THEN TEST_STATUS := ACTION_REQUIRED; END IF; PUT_MSG (" ! " & TEST_NAME (1..TEST_NAME_LEN) & " " & DESCR & "."); END SPECIAL_ACTION; PROCEDURE RESULT IS BEGIN CASE TEST_STATUS IS WHEN PASS => PUT_MSG ("==== " & TEST_NAME (1..TEST_NAME_LEN) & " PASSED ============================."); WHEN DOES_NOT_APPLY => PUT_MSG ("++++ " & TEST_NAME (1..TEST_NAME_LEN) & " NOT-APPLICABLE ++++++++++++++++++++."); WHEN ACTION_REQUIRED => PUT_MSG ("!!!! " & TEST_NAME (1..TEST_NAME_LEN) & " TENTATIVELY PASSED !!!!!!!!!!!!!!!!."); PUT_MSG ("!!!! " & (1..TEST_NAME_LEN => ' ') & " SEE '!' COMMENTS FOR SPECIAL NOTES!!"); WHEN OTHERS => PUT_MSG ("**** " & TEST_NAME (1..TEST_NAME_LEN) & " FAILED ****************************."); END CASE; TEST_STATUS := FAIL; TEST_NAME_LEN := NO_NAME'LENGTH; TEST_NAME (1..TEST_NAME_LEN) := NO_NAME; END RESULT; FUNCTION IDENT_INT (X : INTEGER) RETURN INTEGER IS BEGIN IF EQUAL (X, X) THEN -- ALWAYS EQUAL. RETURN X; -- ALWAYS EXECUTED. END IF; RETURN 0; -- NEVER EXECUTED. END IDENT_INT; FUNCTION IDENT_CHAR (X : CHARACTER) RETURN CHARACTER IS BEGIN IF EQUAL (CHARACTER'POS(X), CHARACTER'POS(X)) THEN -- ALWAYS -- EQUAL. RETURN X; -- ALWAYS EXECUTED. END IF; RETURN '0'; -- NEVER EXECUTED. END IDENT_CHAR; FUNCTION IDENT_WIDE_CHAR (X : WIDE_CHARACTER) RETURN WIDE_CHARACTER IS BEGIN IF EQUAL (WIDE_CHARACTER'POS(X), WIDE_CHARACTER'POS(X)) THEN -- ALWAYS EQUAL. RETURN X; -- ALWAYS EXECUTED. END IF; RETURN '0'; -- NEVER EXECUTED. END IDENT_WIDE_CHAR; FUNCTION IDENT_BOOL (X : BOOLEAN) RETURN BOOLEAN IS BEGIN IF EQUAL (BOOLEAN'POS(X), BOOLEAN'POS(X)) THEN -- ALWAYS -- EQUAL. RETURN X; -- ALWAYS EXECUTED. END IF; RETURN FALSE; -- NEVER EXECUTED. END IDENT_BOOL; FUNCTION IDENT_STR (X : STRING) RETURN STRING IS BEGIN IF EQUAL (X'LENGTH, X'LENGTH) THEN -- ALWAYS EQUAL. RETURN X; -- ALWAYS EXECUTED. END IF; RETURN ""; -- NEVER EXECUTED. END IDENT_STR; FUNCTION IDENT_WIDE_STR (X : WIDE_STRING) RETURN WIDE_STRING IS BEGIN IF EQUAL (X'LENGTH, X'LENGTH) THEN -- ALWAYS EQUAL. RETURN X; -- ALWAYS EXECUTED. END IF; RETURN ""; -- NEVER EXECUTED. END IDENT_WIDE_STR; FUNCTION EQUAL (X, Y : INTEGER) RETURN BOOLEAN IS REC_LIMIT : CONSTANT INTEGER RANGE 1..100 := 3; -- RECURSION -- LIMIT. Z : BOOLEAN; -- RESULT. BEGIN IF X < 0 THEN IF Y < 0 THEN Z := EQUAL (-X, -Y); ELSE Z := FALSE; END IF; ELSIF X > REC_LIMIT THEN Z := EQUAL (REC_LIMIT, Y-X+REC_LIMIT); ELSIF X > 0 THEN Z := EQUAL (X-1, Y-1); ELSE Z := Y = 0; END IF; RETURN Z; EXCEPTION WHEN OTHERS => RETURN X = Y; END EQUAL; FUNCTION LEGAL_FILE_NAME (X : FILE_NUM := 1; NAM : STRING := "") RETURN STRING IS SUFFIX : STRING (2..6); BEGIN IF NAM = "" THEN SUFFIX := TEST_NAME(3..7); ELSE SUFFIX := NAM(3..7); END IF; CASE X IS WHEN 1 => RETURN ('X' & SUFFIX); WHEN 2 => RETURN ('Y' & SUFFIX); WHEN 3 => RETURN ('Z' & SUFFIX); WHEN 4 => RETURN ('V' & SUFFIX); WHEN 5 => RETURN ('W' & SUFFIX); END CASE; END LEGAL_FILE_NAME; BEGIN TEST_NAME_LEN := NO_NAME'LENGTH; TEST_NAME (1..TEST_NAME_LEN) := NO_NAME; END REPORT;
-- 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 Pck; use Pck; procedure Foo is begin if Is_First then Increment; end if; end Foo;
-- Abstract : -- -- see spec -- -- Copyright (C) 2013, 2014, 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 the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 3, or -- (at your option) any later version. The WisiToken package is -- distributed in the hope that it will be useful, but WITHOUT ANY -- WARRANTY; without even the implied warranty of MERCHANTABILITY or -- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- License for more details. You should have received a copy of the -- GNU General Public License distributed with the WisiToken package; -- see file GPL.txt. If not, write to the Free Software Foundation, -- 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -- -- As a special exception, if other files instantiate generics from -- this unit, or you link this unit with other files to produce an -- executable, this unit does not by itself cause the resulting -- executable to be covered by the GNU General Public License. This -- exception does not however invalidate any other reasons why the -- executable file might be covered by the GNU Public License. pragma License (Modified_GPL); package body WisiToken.Wisi_Ada is use WisiToken.Productions; function Only (Item : in Token_ID) return WisiToken.Token_ID_Arrays.Vector is begin return Result : WisiToken.Token_ID_Arrays.Vector do Result.Append (Item); end return; end Only; function "&" (Left : in Token_ID; Right : in Token_ID) return WisiToken.Token_ID_Arrays.Vector is begin return Result : WisiToken.Token_ID_Arrays.Vector do Result.Append (Left); Result.Append (Right); end return; end "&"; function "+" (Tokens : in Token_ID_Arrays.Vector; Action : in Syntax_Trees.Semantic_Action) return Right_Hand_Side is begin return (Tokens, Recursion => <>, Action => Action, Check => null); end "+"; function "+" (Tokens : in Token_ID; Action : in Syntax_Trees.Semantic_Action) return Right_Hand_Side is begin return (Only (Tokens), Recursion => <>, Action => Action, Check => null); end "+"; function "+" (Action : in Syntax_Trees.Semantic_Action) return Right_Hand_Side is begin return (Tokens => <>, Recursion => <>, Action => Action, Check => null); end "+"; function Only (Item : in WisiToken.Productions.Right_Hand_Side) return WisiToken.Productions.RHS_Arrays.Vector is begin return Result : WisiToken.Productions.RHS_Arrays.Vector do Result.Append (Item); end return; end Only; function "or" (Left : in WisiToken.Productions.Instance; Right : in WisiToken.Productions.Right_Hand_Side) return WisiToken.Productions.Instance is begin return Result : WisiToken.Productions.Instance := Left do Result.RHSs.Append (Right); end return; end "or"; function "<=" (LHS : in Token_ID; RHSs : in WisiToken.Productions.RHS_Arrays.Vector) return Instance is begin return (LHS, RHSs); end "<="; function Only (Subject : in Instance) return Prod_Arrays.Vector is begin return Result : Prod_Arrays.Vector do Result.Set_First_Last (Subject.LHS, Subject.LHS); Result (Subject.LHS) := Subject; end return; end Only; function Merge (Left, Right : in Instance) return Instance is Index : Integer := Left.RHSs.Last_Index + 1; begin return Result : Instance := Left do Result.RHSs.Set_First_Last (Result.RHSs.First_Index, Left.RHSs.Last_Index + Integer (Right.RHSs.Length)); for RHS of Right.RHSs loop Result.RHSs (Index) := RHS; Index := Index + 1; end loop; end return; end Merge; function "and" (Left : in Instance; Right : in Instance) return Prod_Arrays.Vector is begin return Result : Prod_Arrays.Vector do Result.Set_First_Last (Token_ID'Min (Left.LHS, Right.LHS), Token_ID'Max (Left.LHS, Right.LHS)); if Left.LHS = Right.LHS then Result (Left.LHS) := Merge (Left, Right); else Result (Left.LHS) := Left; Result (Right.LHS) := Right; end if; end return; end "and"; function "and" (Left : in Prod_Arrays.Vector; Right : in Instance) return Prod_Arrays.Vector is begin return Result : Prod_Arrays.Vector := Left do if Right.LHS < Result.First_Index then Result.Set_First_Last (Right.LHS, Result.Last_Index); elsif Right.LHS > Result.Last_Index then Result.Set_First_Last (Result.First_Index, Right.LHS); end if; if Result (Right.LHS).LHS = Invalid_Token_ID then Result (Right.LHS) := Right; else Result (Right.LHS) := Merge (Result (Right.LHS), Right); end if; end return; end "and"; function "and" (Left : in Prod_Arrays.Vector; Right : in Prod_Arrays.Vector) return Prod_Arrays.Vector is begin return Result : Prod_Arrays.Vector := Left do if Right.First_Index < Result.First_Index then Result.Set_First_Last (Right.First_Index, Result.Last_Index); elsif Right.First_Index > Result.Last_Index then Result.Set_First_Last (Result.First_Index, Right.First_Index); end if; if Right.Last_Index < Result.First_Index then Result.Set_First_Last (Right.Last_Index, Result.Last_Index); elsif Right.Last_Index > Result.Last_Index then Result.Set_First_Last (Result.First_Index, Right.Last_Index); end if; for P of Right loop if Result (P.LHS).LHS = Invalid_Token_ID then Result (P.LHS) := P; else Result (P.LHS) := Merge (Result (P.LHS), P); end if; end loop; end return; end "and"; end WisiToken.Wisi_Ada;
-- -- Copyright (C) 2022 Jeremy Grosser <jeremy@synack.me> -- -- SPDX-License-Identifier: BSD-3-Clause -- with CRC; package body SGP30 is package CRC_8 is new CRC (Word => HAL.UInt8, Word_Array => HAL.UInt8_Array); function Verify_Checksum (Data : UInt8_Array) return Boolean is -- Every third byte is the CRC-8 of the preceding two bytes. I : Positive := Data'First; begin while I <= Data'Last loop if CRC_8.Calculate (Data (I .. I + 1), Initial => 16#FF#) /= Data (I + 2) then return False; end if; I := I + 3; end loop; return True; end Verify_Checksum; function To_I2C_Data (X : UInt16) return I2C_Data is (I2C_Data'(UInt8 (Shift_Right (X, 8)), UInt8 (X and 16#FF#))); procedure Soft_Reset (This : in out Device) is begin This.Port.Master_Transmit (Addr => 16#00#, Data => I2C_Data'(1 => 16#06#), Status => This.Bus_Status); if This.Bus_Status /= Ok then This.Status := I2C_Error; end if; This.Delays.Delay_Milliseconds (10); end Soft_Reset; function Read_48 (This : in out Device; Reg : UInt16) return UInt48 is Data : I2C_Data (1 .. 9); begin This.Port.Master_Transmit (Addr => This.Addr, Data => To_I2C_Data (Reg), Status => This.Bus_Status); if This.Bus_Status /= Ok then This.Status := I2C_Error; return 0; end if; This.Port.Master_Receive (Addr => This.Addr, Data => Data, Status => This.Bus_Status); if This.Bus_Status /= Ok then This.Status := I2C_Error; return 0; end if; if Verify_Checksum (Data) then return UInt48 (Shift_Left (UInt64 (Data (1)), 40) or Shift_Left (UInt64 (Data (2)), 32) or Shift_Left (UInt64 (Data (4)), 24) or Shift_Left (UInt64 (Data (5)), 16) or Shift_Left (UInt64 (Data (7)), 8) or Shift_Left (UInt64 (Data (8)), 0)); else This.Status := Checksum_Error; return 0; end if; end Read_48; function Read_32 (This : in out Device; Reg : UInt16) return UInt32 is Data : I2C_Data (1 .. 6); begin This.Port.Master_Transmit (Addr => This.Addr, Data => To_I2C_Data (Reg), Status => This.Bus_Status); if This.Bus_Status /= Ok then This.Status := I2C_Error; return 0; end if; This.Delays.Delay_Milliseconds (12); This.Port.Master_Receive (Addr => This.Addr, Data => Data, Status => This.Bus_Status); if This.Bus_Status /= Ok then This.Status := I2C_Error; return 0; end if; if Verify_Checksum (Data) then return Shift_Left (UInt32 (Data (1)), 24) or Shift_Left (UInt32 (Data (2)), 16) or Shift_Left (UInt32 (Data (4)), 8) or Shift_Left (UInt32 (Data (5)), 0); else This.Status := Checksum_Error; return 0; end if; end Read_32; function Read_16 (This : in out Device; Reg : UInt16) return UInt16 is Data : I2C_Data (1 .. 3); begin This.Port.Master_Transmit (Addr => This.Addr, Data => To_I2C_Data (Reg), Status => This.Bus_Status); if This.Bus_Status /= Ok then This.Status := I2C_Error; return 0; end if; This.Delays.Delay_Milliseconds (10); This.Port.Master_Receive (Addr => This.Addr, Data => Data, Status => This.Bus_Status); if This.Bus_Status /= Ok then This.Status := I2C_Error; return 0; end if; if Verify_Checksum (Data) then return Shift_Left (UInt16 (Data (1)), 8) or Shift_Left (UInt16 (Data (2)), 0); else This.Status := Checksum_Error; return 0; end if; end Read_16; procedure Write_32 (This : in out Device; Reg : UInt16; Value : UInt32) is Data : I2C_Data (1 .. 6); begin Data (1) := UInt8 (Shift_Right (Value, 24) and 16#FF#); Data (2) := UInt8 (Shift_Right (Value, 16) and 16#FF#); Data (3) := CRC_8.Calculate (Data (1 .. 2), Initial => 16#FF#); Data (4) := UInt8 (Shift_Right (Value, 8) and 16#FF#); Data (5) := UInt8 (Shift_Right (Value, 0) and 16#FF#); Data (6) := CRC_8.Calculate (Data (4 .. 5), Initial => 16#FF#); This.Port.Master_Transmit (Addr => This.Addr, Data => To_I2C_Data (Reg), Status => This.Bus_Status); if This.Bus_Status /= Ok then This.Status := I2C_Error; end if; This.Delays.Delay_Milliseconds (10); This.Port.Master_Transmit (Addr => This.Addr, Data => Data, Status => This.Bus_Status); if This.Bus_Status /= Ok then This.Status := I2C_Error; end if; end Write_32; procedure Write_16 (This : in out Device; Reg : UInt16; Value : UInt16) is Data : I2C_Data (1 .. 3); begin Data (1) := UInt8 (Shift_Right (Value, 8) and 16#FF#); Data (2) := UInt8 (Shift_Right (Value, 0) and 16#FF#); Data (3) := CRC_8.Calculate (Data (1 .. 2), Initial => 16#FF#); This.Port.Master_Transmit (Addr => This.Addr, Data => To_I2C_Data (Reg), Status => This.Bus_Status); if This.Bus_Status /= Ok then This.Status := I2C_Error; end if; This.Delays.Delay_Milliseconds (10); This.Port.Master_Transmit (Addr => This.Addr, Data => Data, Status => This.Bus_Status); if This.Bus_Status /= Ok then This.Status := I2C_Error; end if; end Write_16; procedure Write_Command (This : in out Device; Reg : UInt16) is Data : I2C_Data (1 .. 2); begin Data (1) := UInt8 (Shift_Right (Reg, 8)); Data (2) := UInt8 (Reg and 16#FF#); This.Port.Master_Transmit (Addr => This.Addr, Data => Data, Status => This.Bus_Status); if This.Bus_Status /= Ok then This.Status := I2C_Error; end if; This.Delays.Delay_Milliseconds (10); end Write_Command; procedure Init_Air_Quality (This : in out Device) is begin This.Write_Command (16#2003#); end Init_Air_Quality; procedure Measure_Air_Quality (This : in out Device; eCO2 : out Natural; TVOC : out Natural) is X : UInt32; begin X := This.Read_32 (16#2008#); eCO2 := Natural (Shift_Right (X, 16)); TVOC := Natural (X and 16#FFFF#); end Measure_Air_Quality; function Get_Baseline (This : in out Device) return UInt32 is (This.Read_32 (16#2015#)); procedure Set_Baseline (This : in out Device; Baseline : UInt32) is begin This.Write_32 (16#201E#, Baseline); end Set_Baseline; procedure Set_Humidity (This : in out Device; Humidity : UInt16) is begin This.Write_16 (16#2061#, Humidity); end Set_Humidity; function Measure_Test (This : in out Device) return UInt16 is (This.Read_16 (16#2032#)); function Get_Feature_Set_Version (This : in out Device) return UInt16 is (This.Read_16 (16#202F#)); function Measure_Raw_Signals (This : in out Device) return UInt32 is (This.Read_32 (16#2050#)); function Get_Serial_Id (This : in out Device) return UInt48 is (This.Read_48 (16#3682#)); function Has_Error (This : Device) return Boolean is (This.Status /= Ok); procedure Clear_Error (This : in out Device) is begin This.Bus_Status := Ok; This.Status := Ok; end Clear_Error; begin CRC_8.Poly := 16#31#; end SGP30;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- M L I B . F I L -- -- -- -- S p e c -- -- -- -- Copyright (C) 2001-2007, 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. 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. -- -- -- ------------------------------------------------------------------------------ -- This package provides a set of routines to deal with file extensions package MLib.Fil is function Ext_To (Filename : String; New_Ext : String := "") return String; -- Return Filename with the extension changed to New_Ext function Append_To (Filename : String; Ext : String) return String; -- Return Filename with the extension Ext function Get_Ext (Filename : String) return String; -- Return extension of filename function Is_Archive (Filename : String) return Boolean; -- Test if filename is an archive function Is_C (Filename : String) return Boolean; -- Test if Filename is a C file function Is_Obj (Filename : String) return Boolean; -- Test if Filename is an object file end MLib.Fil;
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="11"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>adders_io</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>in1</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>in1</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>in2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>in2</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>in_out1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>in_out1</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>2</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_4"> <Value> <Obj> <type>0</type> <id>8</id> <name>in2_read</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>in2</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>20</item> <item>21</item> </oprand_edges> <opcode>read</opcode> </item> <item class_id_reference="9" object_id="_5"> <Value> <Obj> <type>0</type> <id>9</id> <name>in1_read</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>in1</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>23</item> <item>24</item> </oprand_edges> <opcode>read</opcode> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>13</id> <name>in_out1_read</name> <fileName>adders_io.c</fileName> <fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab2</fileDirectory> <lineNumber>50</lineNumber> <contextFuncName>adders_io</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="11" tracking_level="0" version="0"> <first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/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>adders_io.c</first> <second>adders_io</second> </first> <second>50</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>26</item> <item>27</item> </oprand_edges> <opcode>read</opcode> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>14</id> <name>tmp1</name> <fileName>adders_io.c</fileName> <fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab2</fileDirectory> <lineNumber>50</lineNumber> <contextFuncName>adders_io</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>adders_io.c</first> <second>adders_io</second> </first> <second>50</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>28</item> <item>29</item> </oprand_edges> <opcode>add</opcode> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>15</id> <name>tmp_1</name> <fileName>adders_io.c</fileName> <fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab2</fileDirectory> <lineNumber>50</lineNumber> <contextFuncName>adders_io</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>adders_io.c</first> <second>adders_io</second> </first> <second>50</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>30</item> <item>31</item> </oprand_edges> <opcode>add</opcode> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>16</id> <name></name> <fileName>adders_io.c</fileName> <fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab2</fileDirectory> <lineNumber>50</lineNumber> <contextFuncName>adders_io</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>adders_io.c</first> <second>adders_io</second> </first> <second>50</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>33</item> <item>34</item> <item>35</item> <item>83</item> </oprand_edges> <opcode>write</opcode> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>17</id> <name></name> <fileName>adders_io.c</fileName> <fileDirectory>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab2</fileDirectory> <lineNumber>53</lineNumber> <contextFuncName>adders_io</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>d:/opt/source/Vivado/Vivado_HLS_Tutorial/Interface_Synthesis/lab2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>adders_io.c</first> <second>adders_io</second> </first> <second>53</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> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </consts> <blocks class_id="16" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="17" tracking_level="1" version="0" object_id="_11"> <Obj> <type>3</type> <id>18</id> <name>adders_io</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>7</count> <item_version>0</item_version> <item>8</item> <item>9</item> <item>13</item> <item>14</item> <item>15</item> <item>16</item> <item>17</item> </node_objs> </item> </blocks> <edges class_id="18" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="19" tracking_level="1" version="0" object_id="_12"> <id>21</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="19" object_id="_13"> <id>24</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="19" object_id="_14"> <id>27</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="19" object_id="_15"> <id>28</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="19" object_id="_16"> <id>29</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="19" object_id="_17"> <id>30</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="19" object_id="_18"> <id>31</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="19" object_id="_19"> <id>34</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="19" object_id="_20"> <id>35</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="19" object_id="_21"> <id>83</id> <edge_type>4</edge_type> <source_obj>13</source_obj> <sink_obj>16</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="20" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="21" tracking_level="1" version="0" object_id="_22"> <mId>1</mId> <mTag>adders_io</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>18</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>1</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="-1"></fsm> <res class_id="24" tracking_level="1" version="0" object_id="_23"> <dp_component_resource class_id="25" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_component_resource> <dp_expression_resource> <count>0</count> <item_version>0</item_version> </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>0</count> <item_version>0</item_version> </dp_multiplexer_resource> <dp_register_resource> <count>0</count> <item_version>0</item_version> </dp_register_resource> <dp_component_map class_id="26" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_component_map> <dp_expression_map> <count>0</count> <item_version>0</item_version> </dp_expression_map> <dp_fifo_map> <count>0</count> <item_version>0</item_version> </dp_fifo_map> <dp_memory_map> <count>0</count> <item_version>0</item_version> </dp_memory_map> </res> <node_label_latency class_id="27" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="28" tracking_level="0" version="0"> <first>8</first> <second class_id="29" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>9</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>13</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>14</first> <second> <first>0</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>17</first> <second> <first>1</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="30" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="31" tracking_level="0" version="0"> <first>18</first> <second class_id="32" tracking_level="0" version="0"> <first>0</first> <second>1</second> </second> </item> </bblk_ent_exit> <regions class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </regions> <dp_fu_nodes class_id="34" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes> <dp_fu_nodes_expression class_id="35" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="36" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>0</count> <item_version>0</item_version> </dp_reg_nodes> <dp_regname_nodes> <count>0</count> <item_version>0</item_version> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="37" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_port_io_nodes> <port2core class_id="38" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
-- MIT License -- Copyright (c) 2021 Stephen Merrony -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -- copies of the Software, and to permit persons to whom the Software is -- furnished to do so, subject to the following conditions: -- The above copyright notice and this permission notice shall be included in all -- copies or substantial portions of the Software. -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -- SOFTWARE. package Processor.Eagle_FPU_P is procedure Do_Eagle_FPU (I : in Decoded_Instr_T; CPU : in out CPU_T); end Processor.Eagle_FPU_P;
<?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>cordic</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>theta_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>12</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>s_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>s.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>12</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>c_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>c.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>12</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>31</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_4"> <Value> <Obj> <type>0</type> <id>8</id> <name>theta_V_read</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>8</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</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>cordic.cpp</first> <second>cordic</second> </first> <second>8</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>46</item> <item>47</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_5"> <Value> <Obj> <type>0</type> <id>9</id> <name>tmp</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>20</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>20</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_reg_242</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>49</item> <item>50</item> <item>52</item> </oprand_edges> <opcode>bitselect</opcode> <m_Display>0</m_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="_6"> <Value> <Obj> <type>0</type> <id>10</id> <name>_ln18</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>53</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.76</m_delay> <m_topoIndex>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>12</id> <name>factor_0</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>r.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>55</item> <item>56</item> <item>57</item> <item>58</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>13</id> <name>p_Val2_4</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>current_sin.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>60</item> <item>61</item> <item>62</item> <item>63</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>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>14</id> <name>p_Val2_2</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>current_cos.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>65</item> <item>66</item> <item>67</item> <item>68</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>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>15</id> <name>j_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>70</item> <item>71</item> <item>72</item> <item>73</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>7</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>16</id> <name>icmp_ln18</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>icmp_ln18_fu_128_p2</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>74</item> <item>76</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>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>18</id> <name>j</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName>j</originalName> <rtlName>j_fu_134_p2</rtlName> <coreName/> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>77</item> <item>79</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>9</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>19</id> <name>_ln18</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>80</item> <item>81</item> <item>82</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>10</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>22</id> <name>sext_ln1116</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>23</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>23</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>sext_ln1116_fu_140_p1</rtlName> <coreName/> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>83</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>11</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>23</id> <name>sub_ln1118</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>23</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>23</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>sub_ln1118_fu_144_p2</rtlName> <coreName/> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>85</item> <item>86</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.54</m_delay> <m_topoIndex>12</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>24</id> <name>r_V</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>23</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>23</second> </item> </second> </item> </inlineStackInfo> <originalName>r.V</originalName> <rtlName>r_V_fu_150_p3</rtlName> <coreName/> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>87</item> <item>88</item> <item>89</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.69</m_delay> <m_topoIndex>13</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>25</id> <name>sext_ln1116_1</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>23</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>23</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>22</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>90</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>14</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>26</id> <name>sext_ln1118</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>23</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>23</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>sext_ln1118_fu_161_p1</rtlName> <coreName/> </Obj> <bitwidth>22</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>91</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>15</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>27</id> <name>r_V_5</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>23</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>23</second> </item> </second> </item> </inlineStackInfo> <originalName>r.V</originalName> <rtlName>cordic_mul_mul_13bkb_U1</rtlName> <coreName/> </Obj> <bitwidth>22</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>92</item> <item>93</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>6.38</m_delay> <m_topoIndex>16</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>28</id> <name>cos_shift_V</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>23</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>23</second> </item> </second> </item> </inlineStackInfo> <originalName>cos_shift.V</originalName> <rtlName>cos_shift_V_reg_256</rtlName> <coreName/> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>95</item> <item>96</item> <item>98</item> <item>100</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>17</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>29</id> <name>sext_ln1116_2</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>24</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>24</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>sext_ln1116_2_fu_174_p1</rtlName> <coreName/> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>101</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>18</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>30</id> <name>sub_ln1118_1</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>24</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>24</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>sub_ln1118_1_fu_178_p2</rtlName> <coreName/> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>102</item> <item>103</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.54</m_delay> <m_topoIndex>19</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>31</id> <name>r_V_2</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>24</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>24</second> </item> </second> </item> </inlineStackInfo> <originalName>r.V</originalName> <rtlName>r_V_2_fu_184_p3</rtlName> <coreName/> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>104</item> <item>105</item> <item>106</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.69</m_delay> <m_topoIndex>20</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>32</id> <name>sext_ln1116_3</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>24</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>24</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>22</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>107</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>21</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>33</id> <name>r_V_6</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>24</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>24</second> </item> </second> </item> </inlineStackInfo> <originalName>r.V</originalName> <rtlName>cordic_mul_mul_13bkb_U2</rtlName> <coreName/> </Obj> <bitwidth>22</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>108</item> <item>109</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>6.38</m_delay> <m_topoIndex>22</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>34</id> <name>sin_shift_V</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>24</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>24</second> </item> </second> </item> </inlineStackInfo> <originalName>sin_shift.V</originalName> <rtlName>sin_shift_V_reg_261</rtlName> <coreName/> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>110</item> <item>111</item> <item>112</item> <item>113</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>23</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>35</id> <name>current_cos_V</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>42</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>42</second> </item> </second> </item> </inlineStackInfo> <originalName>current_cos.V</originalName> <rtlName>current_cos_V_fu_218_p2</rtlName> <coreName/> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>114</item> <item>115</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.54</m_delay> <m_topoIndex>29</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>36</id> <name>current_sin_V</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>43</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>43</second> </item> </second> </item> </inlineStackInfo> <originalName>current_sin.V</originalName> <rtlName>current_sin_V_fu_223_p2</rtlName> <coreName/> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>116</item> <item>117</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.54</m_delay> <m_topoIndex>30</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>37</id> <name>trunc_ln</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>48</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>48</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>trunc_ln_fu_204_p4</rtlName> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>119</item> <item>120</item> <item>122</item> <item>123</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="_30"> <Value> <Obj> <type>0</type> <id>38</id> <name>r_V_7</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>48</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>48</second> </item> </second> </item> </inlineStackInfo> <originalName>r.V</originalName> <rtlName>r_V_7_fu_214_p1</rtlName> <coreName/> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>124</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>25</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>39</id> <name>_ln18</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>18</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>18</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>125</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>31</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>41</id> <name>s_V_write_ln52</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>52</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>52</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>127</item> <item>128</item> <item>129</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>26</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>42</id> <name>c_V_write_ln52</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>52</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>52</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>130</item> <item>131</item> <item>132</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>27</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>43</id> <name>_ln53</name> <fileName>cordic.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>53</lineNumber> <contextFuncName>cordic</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\user-pc\Desktop\msoc\self_paced\cordic_pp4fpga</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>cordic.cpp</first> <second>cordic</second> </first> <second>53</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> <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> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>11</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_35"> <Value> <Obj> <type>2</type> <id>51</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>11</content> </item> <item class_id_reference="16" object_id="_36"> <Value> <Obj> <type>2</type> <id>54</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>12</bitwidth> </Value> <const_type>0</const_type> <content>1024</content> </item> <item class_id_reference="16" object_id="_37"> <Value> <Obj> <type>2</type> <id>59</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>12</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_38"> <Value> <Obj> <type>2</type> <id>64</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>12</bitwidth> </Value> <const_type>0</const_type> <content>621</content> </item> <item class_id_reference="16" object_id="_39"> <Value> <Obj> <type>2</type> <id>69</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="_40"> <Value> <Obj> <type>2</type> <id>75</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>32</content> </item> <item class_id_reference="16" object_id="_41"> <Value> <Obj> <type>2</type> <id>78</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="_42"> <Value> <Obj> <type>2</type> <id>84</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>13</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_43"> <Value> <Obj> <type>2</type> <id>97</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>10</content> </item> <item class_id_reference="16" object_id="_44"> <Value> <Obj> <type>2</type> <id>99</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>21</content> </item> <item class_id_reference="16" object_id="_45"> <Value> <Obj> <type>2</type> <id>121</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_46"> <Obj> <type>3</type> <id>11</id> <name>ap_fixed_base.exit404</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>3</count> <item_version>0</item_version> <item>8</item> <item>9</item> <item>10</item> </node_objs> </item> <item class_id_reference="18" object_id="_47"> <Obj> <type>3</type> <id>20</id> <name/> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>7</count> <item_version>0</item_version> <item>12</item> <item>13</item> <item>14</item> <item>15</item> <item>16</item> <item>18</item> <item>19</item> </node_objs> </item> <item class_id_reference="18" object_id="_48"> <Obj> <type>3</type> <id>40</id> <name>_ZltILi12ELi2ELb1EL9ap_q_mode5EL9ap_o_mode3ELi0EEbRK13ap_fixed_baseIXT_EXT0_EXT1_EXT2_EXT3_EXT4_EEi.exit</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>18</count> <item_version>0</item_version> <item>22</item> <item>23</item> <item>24</item> <item>25</item> <item>26</item> <item>27</item> <item>28</item> <item>29</item> <item>30</item> <item>31</item> <item>32</item> <item>33</item> <item>34</item> <item>35</item> <item>36</item> <item>37</item> <item>38</item> <item>39</item> </node_objs> </item> <item class_id_reference="18" object_id="_49"> <Obj> <type>3</type> <id>44</id> <name/> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>3</count> <item_version>0</item_version> <item>41</item> <item>42</item> <item>43</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>69</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_50"> <id>47</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>8</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_51"> <id>50</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>9</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_52"> <id>52</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>9</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_53"> <id>53</id> <edge_type>2</edge_type> <source_obj>20</source_obj> <sink_obj>10</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_54"> <id>55</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>12</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_55"> <id>56</id> <edge_type>2</edge_type> <source_obj>11</source_obj> <sink_obj>12</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_56"> <id>57</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>12</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_57"> <id>58</id> <edge_type>2</edge_type> <source_obj>40</source_obj> <sink_obj>12</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_58"> <id>60</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>13</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_59"> <id>61</id> <edge_type>2</edge_type> <source_obj>11</source_obj> <sink_obj>13</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_60"> <id>62</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>13</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_61"> <id>63</id> <edge_type>2</edge_type> <source_obj>40</source_obj> <sink_obj>13</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_62"> <id>65</id> <edge_type>1</edge_type> <source_obj>64</source_obj> <sink_obj>14</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_63"> <id>66</id> <edge_type>2</edge_type> <source_obj>11</source_obj> <sink_obj>14</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_64"> <id>67</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>14</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_65"> <id>68</id> <edge_type>2</edge_type> <source_obj>40</source_obj> <sink_obj>14</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_66"> <id>70</id> <edge_type>1</edge_type> <source_obj>69</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_67"> <id>71</id> <edge_type>2</edge_type> <source_obj>11</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_68"> <id>72</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>15</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_69"> <id>73</id> <edge_type>2</edge_type> <source_obj>40</source_obj> <sink_obj>15</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_70"> <id>74</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_71"> <id>76</id> <edge_type>1</edge_type> <source_obj>75</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_72"> <id>77</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_73"> <id>79</id> <edge_type>1</edge_type> <source_obj>78</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_74"> <id>80</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_75"> <id>81</id> <edge_type>2</edge_type> <source_obj>40</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_76"> <id>82</id> <edge_type>2</edge_type> <source_obj>44</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_77"> <id>83</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_78"> <id>85</id> <edge_type>1</edge_type> <source_obj>84</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_79"> <id>86</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_80"> <id>87</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_81"> <id>88</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_82"> <id>89</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_83"> <id>90</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_84"> <id>91</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_85"> <id>92</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_86"> <id>93</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_87"> <id>96</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_88"> <id>98</id> <edge_type>1</edge_type> <source_obj>97</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_89"> <id>100</id> <edge_type>1</edge_type> <source_obj>99</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_90"> <id>101</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_91"> <id>102</id> <edge_type>1</edge_type> <source_obj>84</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_92"> <id>103</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_93"> <id>104</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_94"> <id>105</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_95"> <id>106</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_96"> <id>107</id> <edge_type>1</edge_type> <source_obj>31</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_97"> <id>108</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_98"> <id>109</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_99"> <id>111</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_100"> <id>112</id> <edge_type>1</edge_type> <source_obj>97</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_101"> <id>113</id> <edge_type>1</edge_type> <source_obj>99</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_102"> <id>114</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_103"> <id>115</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_104"> <id>116</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_105"> <id>117</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_106"> <id>120</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_107"> <id>122</id> <edge_type>1</edge_type> <source_obj>121</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_108"> <id>123</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_109"> <id>124</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="_110"> <id>125</id> <edge_type>2</edge_type> <source_obj>20</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_111"> <id>128</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_112"> <id>129</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_113"> <id>131</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_114"> <id>132</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_115"> <id>156</id> <edge_type>2</edge_type> <source_obj>11</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_116"> <id>157</id> <edge_type>2</edge_type> <source_obj>20</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_117"> <id>158</id> <edge_type>2</edge_type> <source_obj>20</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_118"> <id>159</id> <edge_type>2</edge_type> <source_obj>40</source_obj> <sink_obj>20</sink_obj> <is_back_edge>1</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_119"> <mId>1</mId> <mTag>cordic</mTag> <mType>0</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>4</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>65</mMinLatency> <mMaxLatency>65</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_120"> <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>11</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="_121"> <mId>3</mId> <mTag>L1</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>20</item> <item>40</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>32</mMinTripCount> <mMaxTripCount>32</mMaxTripCount> <mMinLatency>64</mMinLatency> <mMaxLatency>64</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_122"> <mId>4</mId> <mTag>Return</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>44</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="_123"> <states class_id="25" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_124"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_125"> <id>4</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_126"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_127"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_128"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_129"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_130"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_131"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_132"> <id>2</id> <operations> <count>26</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_133"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_134"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_135"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_136"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_137"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_138"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_139"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_140"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_141"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_142"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_143"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_144"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_145"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_146"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_147"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_148"> <id>29</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_149"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_150"> <id>31</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_151"> <id>32</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_152"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_153"> <id>34</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_154"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_155"> <id>38</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_156"> <id>41</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_157"> <id>42</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_158"> <id>43</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_159"> <id>3</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_160"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_161"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_162"> <id>36</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_163"> <id>39</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_164"> <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="_165"> <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>16</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_166"> <inState>3</inState> <outState>2</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="36" tracking_level="1" version="0" object_id="_167"> <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>8</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>current_cos_V_fu_218_p2 ( - ) </first> <second class_id="39" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="40" tracking_level="0" version="0"> <first>(0P0)</first> <second>12</second> </item> <item> <first>(1P1)</first> <second>12</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>12</second> </item> </second> </item> <item> <first>current_sin_V_fu_223_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>12</second> </item> <item> <first>(1P1)</first> <second>12</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>12</second> </item> </second> </item> <item> <first>icmp_ln18_fu_128_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>7</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>11</second> </item> </second> </item> <item> <first>j_fu_134_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>r_V_2_fu_184_p3 ( select ) </first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>13</second> </item> <item> <first>(2P2)</first> <second>13</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>13</second> </item> </second> </item> <item> <first>r_V_fu_150_p3 ( select ) </first> <second> <count>5</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>13</second> </item> <item> <first>(2P2)</first> <second>13</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>13</second> </item> </second> </item> <item> <first>sub_ln1118_1_fu_178_p2 ( - ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>13</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>17</second> </item> </second> </item> <item> <first>sub_ln1118_fu_144_p2 ( - ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>13</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>17</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>5</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>4</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>4</second> </item> <item> <first>LUT</first> <second>21</second> </item> </second> </item> <item> <first>factor_0_reg_72</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>12</second> </item> <item> <first>(2Count)</first> <second>24</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>j_0_reg_109</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>p_Val2_2_reg_96</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>12</second> </item> <item> <first>(2Count)</first> <second>24</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>p_Val2_4_reg_83</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>12</second> </item> <item> <first>(2Count)</first> <second>24</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> </dp_multiplexer_resource> <dp_register_resource> <count>10</count> <item_version>0</item_version> <item> <first>ap_CS_fsm</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>3</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>3</second> </item> </second> </item> <item> <first>cos_shift_V_reg_256</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>12</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>12</second> </item> </second> </item> <item> <first>factor_0_reg_72</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>12</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>12</second> </item> </second> </item> <item> <first>j_0_reg_109</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>j_reg_251</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>p_Val2_2_reg_96</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>12</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>12</second> </item> </second> </item> <item> <first>p_Val2_4_reg_83</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>12</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>12</second> </item> </second> </item> <item> <first>r_V_7_reg_266</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>12</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>12</second> </item> </second> </item> <item> <first>sin_shift_V_reg_261</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>12</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>12</second> </item> </second> </item> <item> <first>tmp_reg_242</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> </dp_register_resource> <dp_dsp_resource> <count>2</count> <item_version>0</item_version> <item> <first>cordic_mul_mul_13bkb_U1</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>DSP48E</first> <second>1</second> </item> </second> </item> <item> <first>cordic_mul_mul_13bkb_U2</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>DSP48E</first> <second>1</second> </item> </second> </item> </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>8</count> <item_version>0</item_version> <item class_id="42" tracking_level="0" version="0"> <first>current_cos_V_fu_218_p2 ( - ) </first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>current_sin_V_fu_223_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>icmp_ln18_fu_128_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>j_fu_134_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>r_V_2_fu_184_p3 ( select ) </first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>r_V_fu_150_p3 ( select ) </first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>sub_ln1118_1_fu_178_p2 ( - ) </first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>sub_ln1118_fu_144_p2 ( - ) </first> <second> <count>1</count> <item_version>0</item_version> <item>23</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>31</count> <item_version>0</item_version> <item class_id="44" tracking_level="0" version="0"> <first>8</first> <second class_id="45" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>9</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>10</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>12</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>13</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>14</first> <second> <first>1</first> <second>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>18</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>23</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>24</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>31</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>32</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>34</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>35</first> <second> <first>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>1</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>42</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>43</first> <second> <first>1</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="46" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="47" tracking_level="0" version="0"> <first>11</first> <second class_id="48" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>40</first> <second> <first>1</first> <second>2</second> </second> </item> <item> <first>44</first> <second> <first>1</first> <second>1</second> </second> </item> </bblk_ent_exit> <regions class_id="49" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </regions> <dp_fu_nodes class_id="50" tracking_level="0" version="0"> <count>27</count> <item_version>0</item_version> <item class_id="51" tracking_level="0" version="0"> <first>52</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>58</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>65</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>76</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>87</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>100</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>113</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>120</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>128</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>134</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>140</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>144</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>150</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>157</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>161</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>165</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>174</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>178</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>184</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>191</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>195</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>204</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>214</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>218</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>223</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>228</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>235</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="53" tracking_level="0" version="0"> <count>24</count> <item_version>0</item_version> <item class_id="54" tracking_level="0" version="0"> <first>cos_shift_V_fu_165</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>current_cos_V_fu_218</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>current_sin_V_fu_223</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>factor_0_phi_fu_76</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>icmp_ln18_fu_128</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>j_0_phi_fu_113</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>j_fu_134</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>p_Val2_2_phi_fu_100</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>p_Val2_4_phi_fu_87</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>r_V_2_fu_184</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>r_V_5_fu_228</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>r_V_6_fu_235</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>r_V_7_fu_214</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>r_V_fu_150</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>sext_ln1116_1_fu_157</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>sext_ln1116_2_fu_174</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>sext_ln1116_3_fu_191</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>sext_ln1116_fu_140</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>sext_ln1118_fu_161</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>sin_shift_V_fu_195</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>sub_ln1118_1_fu_178</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>sub_ln1118_fu_144</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>tmp_fu_120</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>trunc_ln_fu_204</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>3</count> <item_version>0</item_version> <item> <first>theta_V_read_read_fu_52</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>write_ln52_write_fu_58</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>write_ln52_write_fu_65</first> <second> <count>1</count> <item_version>0</item_version> <item>42</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="55" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>11</count> <item_version>0</item_version> <item> <first>72</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>83</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>96</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>109</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>242</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>251</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>256</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>261</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>266</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>271</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>276</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>11</count> <item_version>0</item_version> <item> <first>cos_shift_V_reg_256</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>current_cos_V_reg_271</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>current_sin_V_reg_276</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>factor_0_reg_72</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>j_0_reg_109</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>j_reg_251</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>p_Val2_2_reg_96</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>p_Val2_4_reg_83</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>r_V_7_reg_266</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>sin_shift_V_reg_261</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>tmp_reg_242</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>4</count> <item_version>0</item_version> <item> <first>72</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>83</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>96</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>109</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>4</count> <item_version>0</item_version> <item> <first>factor_0_reg_72</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>j_0_reg_109</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>p_Val2_2_reg_96</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>p_Val2_4_reg_83</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="56" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="57" tracking_level="0" version="0"> <first>c_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>write</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> </second> </item> <item> <first>s_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>write</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> </second> </item> <item> <first>theta_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="58" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
-- The Village of Vampire by YT, このソースコードはNYSLです with Crypto.MD5; package body Tabula.Users is pragma Compile_Time_Error ( Password_Digest'Length /= Crypto.MD5.Fingerprint'Length, "length of MD5 /= 16"); pragma Compile_Time_Error ( Password_Digest_Image'Length /= Crypto.MD5.Message_Digest'Length, "image length of MD5 /= 32"); function Valid_Id_String (Id : String) return Boolean is begin if Id'Length = 0 then return False; end if; for I in Id'Range loop case Id (I) is when 'A'..'Z' | 'a'..'z' | '0'..'9' | '_' | '-' => null; when others => return False; end case; end loop; return True; end Valid_Id_String; function Digest (Password : String) return Password_Digest is begin return Result : Password_Digest do declare MD5 : Crypto.MD5.Context := Crypto.MD5.Initial; begin Crypto.MD5.Update (MD5, Password); Crypto.MD5.Final (MD5, Crypto.MD5.Fingerprint (Result)); end; end return; end Digest; function Image (Digest : Password_Digest) return Password_Digest_Image is begin return Crypto.MD5.Image (Crypto.MD5.Fingerprint (Digest)); end Image; function Value (Image : Password_Digest_Image) return Password_Digest is begin return Password_Digest (Crypto.MD5.Value (Image)); end Value; end Tabula.Users;
with Text_IO; procedure Hello_World is begin Text_IO.Put_Line("Hello, World!"); end Hello_World;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ package body WM8994 is WM8994_CHIPID_ADDR : constant := 16#00#; Output_Enabled : Boolean := False; Input_Enabled : Boolean := False; pragma Unreferenced (Input_Enabled); --------------- -- I2C_Write -- --------------- procedure I2C_Write (This : in out WM8994_Device; Reg : UInt16; Value : UInt16) is Status : I2C_Status with Unreferenced; Data : I2C_Data (1 .. 2); Check : UInt16 with Unreferenced; begin -- Device is MSB first Data (1) := UInt8 (Shift_Right (Value and 16#FF00#, 8)); Data (2) := UInt8 (Value and 16#FF#); This.Port.Mem_Write (Addr => This.I2C_Addr, Mem_Addr => Reg, Mem_Addr_Size => Memory_Size_16b, Data => Data, Status => Status); if Reg /= 0 then Check := I2C_Read (This, Reg); end if; end I2C_Write; -------------- -- I2C_Read -- -------------- function I2C_Read (This : in out WM8994_Device; Reg : UInt16) return UInt16 is Status : I2C_Status; Data : I2C_Data (1 .. 2); Ret : UInt16; begin This.Port.Mem_Read (Addr => This.I2C_Addr, Mem_Addr => Reg, Mem_Addr_Size => Memory_Size_16b, Data => Data, Status => Status); Ret := Shift_Left (UInt16 (Data (1)), 8) or UInt16 (Data (2)); return Ret; end I2C_Read; ---------- -- Init -- ---------- procedure Init (This : in out WM8994_Device; Input : Input_Device; Output : Output_Device; Volume : UInt8; Frequency : Audio_Frequency) is Power_Mgnt_Reg_1 : UInt16 := 0; begin -- WM8994 Errata work-arounds I2C_Write (This, 16#102#, 16#0003#); I2C_Write (This, 16#817#, 16#0000#); I2C_Write (This, 16#102#, 16#0000#); -- Enable VMID soft restart, Start-up Bias current enabled I2C_Write (This, 16#39#, 16#006C#); -- Enable BIAS generator, Enable VMID I2C_Write (This, 16#01#, 16#0003#); This.Time.Delay_Milliseconds (50); Output_Enabled := Output /= No_Output; Input_Enabled := Input /= No_Input; This.Set_Output_Mode (Output); case Input is when No_Input => null; when Microphone => -- Enable AIF1ADC2 (Left), Enable AIF1ADC2 (Right) -- Enable DMICDAT2 (Left), Enable DMICDAT2 (Right) -- Enable Left ADC, Enable Right ADC I2C_Write (This, 16#04#, 16#0C30#); -- Enable AIF1 DRC2 Signal Detect & DRC in AIF1ADC2 Left/Right -- Timeslot 1 I2C_Write (This, 16#450#, 16#00DB#); -- Disable IN1L, IN1R, IN2L, IN2R, Enable Thermal sensor & -- shutdown I2C_Write (This, 16#02#, 16#6000#); -- Enable the DMIC2(Left) to AIF1 Timeslot 1 (Left) mixer path I2C_Write (This, 16#608#, 16#0002#); -- Enable the DMIC2(Right) to AIF1 Timeslot 1 (Right) mixer path I2C_Write (This, 16#609#, 16#0002#); -- GPIO1 pin configuration GP1_DIR = output, GP1_FN = AIF1 DRC2 -- signal detect I2C_Write (This, 16#700#, 16#000E#); when Input_Line => -- Enable AIF1ADC1 (Left), Enable AIF1ADC1 (Right) -- Enable Left ADC, Enable Right ADC I2C_Write (This, 16#04#, 16#0303#); -- Enable AIF1 DRC1 Signal Detect & DRC in AIF1ADC1 Left/Right -- Timeslot 0 I2C_Write (This, 16#440#, 16#00DB#); -- Enable IN1L and IN1R, Disable IN2L and IN2R, Enable Thermal -- sensor & shutdown I2C_Write (This, 16#02#, 16#6350#); -- Enable the ADCL(Left) to AIF1 Timeslot 0 (Left) mixer path I2C_Write (This, 16#606#, 16#0002#); -- Enable the ADCR(Right) to AIF1 Timeslot 0 (Right) mixer path I2C_Write (This, 16#607#, 16#0002#); -- GPIO1 pin configuration GP1_DIR = output, GP1_FN = AIF1 DRC1 -- signal detect I2C_Write (This, 16#700#, 16#000D#); end case; This.Set_Frequency (Frequency); -- AIF1 Word Length = 16-bits, AIF1 Format = I2S (Default Register -- Value) I2C_Write (This, 16#300#, 16#4010#); -- slave mode I2C_Write (This, 16#302#, 16#0000#); -- Enable the DSP processing clock for AIF1, Enable the core clock I2C_Write (This, 16#208#, 16#000A#); -- Enable AIF1 Clock, AIF1 Clock Source = MCLK1 pin I2C_Write (This, 16#200#, 16#0001#); if Output /= No_Output then -- Analog Output Configuration -- Enable SPKRVOL PGA, Enable SPKMIXR, Enable SPKLVOL PGA, Enable -- SPKMIXL I2C_Write (This, 16#03#, 16#0300#); -- Left Speaker Mixer Volume = 0dB I2C_Write (This, 16#22#, 16#0000#); -- Speaker output mode = Class D, Right Speaker Mixer Volume = 0dB -- ((16#23#, 16#0100#) = class AB) I2C_Write (This, 16#23#, 16#0000#); -- Unmute DAC2 (Left) to Left Speaker Mixer (SPKMIXL) path, -- Unmute DAC2 (Right) to Right Speaker Mixer (SPKMIXR) path I2C_Write (This, 16#36#, 16#0300#); -- Enable bias generator, Enable VMID, Enable SPKOUTL, Enable SPKOUTR I2C_Write (This, 16#01#, 16#3003#); -- Headphone/Speaker Enable -- Enable Class W, Class W Envelope Tracking = AIF1 Timeslot 0 I2C_Write (This, 16#51#, 16#0001#); -- Enable bias generator, Enable VMID, Enable HPOUT1 (Left) and -- Enable HPOUT1 (Right) input stages idem for Speaker Power_Mgnt_Reg_1 := Power_Mgnt_Reg_1 or 16#0303# or 16#3003#; I2C_Write (This, 16#01#, Power_Mgnt_Reg_1); -- Enable HPOUT1 (Left) and HPOUT1 (Right) intermediate stages I2C_Write (This, 16#60#, 16#0022#); -- Enable Charge Pump I2C_Write (This, 16#4C#, 16#9F25#); -- Add Delay This.Time.Delay_Milliseconds (15); -- Select DAC1 (Left) to Left Headphone Output PGA (HPOUT1LVOL) path I2C_Write (This, 16#2D#, 16#0001#); -- Select DAC1 (Right) to Right Headphone Output PGA (HPOUT1RVOL) -- path. I2C_Write (This, 16#2E#, 16#0001#); -- Enable Left Output Mixer (MIXOUTL), Enable Right Output Mixer -- (MIXOUTR) idem for SPKOUTL and SPKOUTR. I2C_Write (This, 16#03#, 16#0030# or 16#0300#); -- Enable DC Servo and trigger start-up mode on left and right -- channels. I2C_Write (This, 16#54#, 16#0033#); -- Add Delay This.Time.Delay_Milliseconds (250); -- Enable HPOUT1 (Left) and HPOUT1 (Right) intermediate and output -- stages. Remove clamps. I2C_Write (This, 16#60#, 16#00EE#); -- Unmutes -- Unmute DAC 1 (Left) I2C_Write (This, 16#610#, 16#00C0#); -- Unmute DAC 1 (Right) I2C_Write (This, 16#611#, 16#00C0#); -- Unmute the AIF1 Timeslot 0 DAC path I2C_Write (This, 16#420#, 16#0000#); -- Unmute DAC 2 (Left) I2C_Write (This, 16#612#, 16#00C0#); -- Unmute DAC 2 (Right) I2C_Write (This, 16#613#, 16#00C0#); -- Unmute the AIF1 Timeslot 1 DAC2 path I2C_Write (This, 16#422#, 16#0000#); -- Volume Control This.Set_Volume (Volume); end if; if Input /= No_Input then if Input = Microphone then -- Enable Microphone bias 1 generator, Enable VMID Power_Mgnt_Reg_1 := Power_Mgnt_Reg_1 or 16#0013#; I2C_Write (This, 16#01#, Power_Mgnt_Reg_1); -- ADC oversample enable I2C_Write (This, 16#620#, 16#0002#); -- AIF ADC2 HPF enable, HPF cut = voice mode 1 fc=127Hz at fs=8kHz I2C_Write (This, 16#411#, 16#3800#); elsif Input = Input_Line then -- Enable normal bias generator, Enable VMID Power_Mgnt_Reg_1 := Power_Mgnt_Reg_1 or 16#0003#; I2C_Write (This, 16#01#, Power_Mgnt_Reg_1); -- Disable mute on IN1L, IN1L Volume = +0dB I2C_Write (This, 16#18#, 16#000B#); -- Disable mute on IN1R, IN1R Volume = +0dB I2C_Write (This, 16#1A#, 16#000B#); -- Disable mute on IN1L_TO_MIXINL, Gain = +0dB I2C_Write (This, 16#29#, 16#0025#); -- Disable mute on IN1R_TO_MIXINL, Gain = +0dB I2C_Write (This, 16#2A#, 16#0025#); -- IN1LN_TO_IN1L, IN1LP_TO_VMID, IN1RN_TO_IN1R, IN1RP_TO_VMID I2C_Write (This, 16#28#, 16#0011#); -- AIF ADC1 HPF enable, HPF cut = hifi mode fc=4Hz at fs=48kHz I2C_Write (This, 16#410#, 16#1800#); end if; -- Volume Control This.Set_Volume (Volume); end if; end Init; ------------- -- Read_ID -- ------------- function Read_ID (This : in out WM8994_Device) return UInt16 is begin return This.I2C_Read (WM8994_CHIPID_ADDR); end Read_ID; ---------- -- Play -- ---------- procedure Play (This : in out WM8994_Device) is begin This.Set_Mute (Mute_Off); end Play; ----------- -- Pause -- ----------- procedure Pause (This : in out WM8994_Device) is begin -- Pause the audio playing This.Set_Mute (Mute_On); -- CODEC in powersave mode I2C_Write (This, 16#02#, 16#01#); end Pause; ------------ -- Resume -- ------------ procedure Resume (This : in out WM8994_Device) is begin This.Set_Mute (Mute_Off); end Resume; ---------- -- Stop -- ---------- procedure Stop (This : in out WM8994_Device; Cmd : Stop_Mode) is begin if Output_Enabled then -- Mute the output first This.Set_Mute (Mute_On); if Cmd = Stop_Power_Down_Sw then return; end if; Output_Enabled := False; -- Mute the AIF1 Timeslot 0 DAC1 path I2C_Write (This, 16#420#, 16#0200#); -- Mute the AIF1 Timeslot 1 DAC2 path I2C_Write (This, 16#422#, 16#0200#); -- Disable DAC1L_TO_HPOUT1L I2C_Write (This, 16#2D#, 16#0000#); -- Disable DAC1R_TO_HPOUT1R I2C_Write (This, 16#2E#, 16#0000#); -- Disable DAC1 and DAC2 I2C_Write (This, 16#05#, 16#0000#); -- Reset Codec by writing in 0x0000 address register I2C_Write (This, 16#0000#, 16#0000#); end if; end Stop; ---------------- -- Set_Volume -- ---------------- procedure Set_Volume (This : in out WM8994_Device; Volume : Volume_Level) is -- Actual Volume in range 0 .. 16#3F# Converted_Volume : constant UInt16 := (if Volume = 100 then 63 else UInt16 (Volume) * 63 / 100); begin if Volume = 0 then -- Mute the codec This.Set_Mute (Mute_On); else This.Set_Mute (Mute_Off); -- Left Headphone Volume I2C_Write (This, 16#1C#, Converted_Volume or 16#140#); -- Right Headphone volume I2C_Write (This, 16#1D#, Converted_Volume or 16#140#); -- Left Speaker volume I2C_Write (This, 16#26#, Converted_Volume or 16#140#); -- Right Speaker volume I2C_Write (This, 16#27#, Converted_Volume or 16#140#); end if; end Set_Volume; -------------- -- Set_Mute -- -------------- procedure Set_Mute (This : in out WM8994_Device; Cmd : Mute) is begin if Output_Enabled then case Cmd is when Mute_On => -- Soft Mute the AIF1 Timeslot 0 DAC1 path L&R I2C_Write (This, 16#420#, 16#0200#); -- Soft Mute the AIF1 Timeslot 1 DAC2 path L&R I2C_Write (This, 16#422#, 16#0200#); when Mute_Off => -- Unmute the AIF1 Timeslot 0 DAC1 path L&R I2C_Write (This, 16#420#, 16#0000#); -- Unmute the AIF1 Timeslot 1 DAC2 path L&R I2C_Write (This, 16#422#, 16#0000#); end case; end if; end Set_Mute; --------------------- -- Set_Output_Mode -- --------------------- procedure Set_Output_Mode (This : in out WM8994_Device; Device : Output_Device) is begin case Device is when No_Output => -- Disable DAC1 (left), DAC1 (Right) I2C_Write (This, 16#05#, 16#0000#); -- Mute the AIF1 Timeslot 0 DAC1 path I2C_Write (This, 16#420#, 16#0200#); -- Mute the AIF1 Timeslot 1 DAC2 path I2C_Write (This, 16#422#, 16#0200#); when Speaker => -- Enable DAC1 (left), DAC1 (Right) I2C_Write (This, 16#05#, 16#0C0C#); -- Enable the AIF1 Timeslot 0 (Left) to DAC1 (left) mixer path I2C_Write (This, 16#601#, 16#0000#); -- Enable the AIF1 Timeslot 0 (Right) to DAC 1 (Right) mixer path I2C_Write (This, 16#602#, 16#0000#); -- Disable the AIF1 Timeslot 1 (Left) to DAC 2 (Left) mixer path I2C_Write (This, 16#604#, 16#0002#); -- Disable the AIF1 Timeslot 1 (Right) to DAC 2 (Right) mixer path I2C_Write (This, 16#605#, 16#0002#); when Headphone | Auto => -- Disable DAC1 (left), DAC1 (Right) -- Enable DAC2 (left), DAC2 (Right) I2C_Write (This, 16#05#, 16#0303#); -- Enable the AIF1 Timeslot 0 (Left) to DAC1 (left) mixer path I2C_Write (This, 16#601#, 16#0001#); -- Enable the AIF1 Timeslot 0 (Right) to DAC 1 (Right) mixer path I2C_Write (This, 16#602#, 16#0001#); -- Disable the AIF1 Timeslot 1 (Left) to DAC 2 (Left) mixer path I2C_Write (This, 16#604#, 16#0000#); -- Disable the AIF1 Timeslot 1 (Right) to DAC 2 (Right) mixer path I2C_Write (This, 16#605#, 16#0000#); when Both => -- Enable DAC1 (left), DAC1 (Right) -- Enable DAC2 (left), DAC2 (Right) I2C_Write (This, 16#05#, 16#0303# or 16#0C0C#); -- Enable the AIF1 Timeslot 0 (Left) to DAC1 (left) mixer path I2C_Write (This, 16#601#, 16#0001#); -- Enable the AIF1 Timeslot 0 (Right) to DAC 1 (Right) mixer path I2C_Write (This, 16#602#, 16#0001#); -- Enable the AIF1 Timeslot 1 (Left) to DAC 2 (Left) mixer path I2C_Write (This, 16#604#, 16#0002#); -- Enable the AIF1 Timeslot 1 (Right) to DAC 2 (Right) mixer path I2C_Write (This, 16#605#, 16#0002#); end case; end Set_Output_Mode; ------------------- -- Set_Frequency -- ------------------- procedure Set_Frequency (This : in out WM8994_Device; Freq : Audio_Frequency) is begin case Freq is when Audio_Freq_8kHz => -- AIF1 Sample Rate = 8 (kHz), ratio=256 I2C_Write (This, 16#210#, 16#0003#); when Audio_Freq_16kHz => -- AIF1 Sample Rate = 16 (kHz), ratio=256 I2C_Write (This, 16#210#, 16#0033#); when Audio_Freq_48kHz => -- AIF1 Sample Rate = 48 (kHz), ratio=256 I2C_Write (This, 16#210#, 16#0083#); when Audio_Freq_96kHz => -- AIF1 Sample Rate = 96 (kHz), ratio=256 I2C_Write (This, 16#210#, 16#00A3#); when Audio_Freq_11kHz => -- AIF1 Sample Rate = 11.025 (kHz), ratio=256 I2C_Write (This, 16#210#, 16#0013#); when Audio_Freq_22kHz => -- AIF1 Sample Rate = 22.050 (kHz), ratio=256 I2C_Write (This, 16#210#, 16#0043#); when Audio_Freq_44kHz => -- AIF1 Sample Rate = 44.1 (kHz), ratio=256 I2C_Write (This, 16#210#, 16#0073#); end case; end Set_Frequency; ----------- -- Reset -- ----------- procedure Reset (This : in out WM8994_Device) is begin I2C_Write (This, 16#0000#, 16#0000#); Output_Enabled := False; Input_Enabled := False; end Reset; end WM8994;
-- This spec has been automatically generated from msp430g2553.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; -- Special Function package MSP430_SVD.SPECIAL_FUNCTION is pragma Preelaborate; --------------- -- Registers -- --------------- -- Interrupt Enable 1 type IE1_Register is record -- Watchdog Interrupt Enable WDTIE : MSP430_SVD.Bit := 16#0#; -- Osc. Fault Interrupt Enable OFIE : MSP430_SVD.Bit := 16#0#; -- unspecified Reserved_2_3 : MSP430_SVD.UInt2 := 16#0#; -- NMI Interrupt Enable NMIIE : MSP430_SVD.Bit := 16#0#; -- Flash Access Violation Interrupt Enable ACCVIE : MSP430_SVD.Bit := 16#0#; -- unspecified Reserved_6_7 : MSP430_SVD.UInt2 := 16#0#; end record with Volatile_Full_Access, Object_Size => 8, Bit_Order => System.Low_Order_First; for IE1_Register use record WDTIE at 0 range 0 .. 0; OFIE at 0 range 1 .. 1; Reserved_2_3 at 0 range 2 .. 3; NMIIE at 0 range 4 .. 4; ACCVIE at 0 range 5 .. 5; Reserved_6_7 at 0 range 6 .. 7; end record; -- Interrupt Enable 2 type IE2_Register is record -- UCA0RXIE UCA0RXIE : MSP430_SVD.Bit := 16#0#; -- UCA0TXIE UCA0TXIE : MSP430_SVD.Bit := 16#0#; -- UCB0RXIE UCB0RXIE : MSP430_SVD.Bit := 16#0#; -- UCB0TXIE UCB0TXIE : MSP430_SVD.Bit := 16#0#; -- unspecified Reserved_4_7 : MSP430_SVD.UInt4 := 16#0#; end record with Volatile_Full_Access, Object_Size => 8, Bit_Order => System.Low_Order_First; for IE2_Register use record UCA0RXIE at 0 range 0 .. 0; UCA0TXIE at 0 range 1 .. 1; UCB0RXIE at 0 range 2 .. 2; UCB0TXIE at 0 range 3 .. 3; Reserved_4_7 at 0 range 4 .. 7; end record; -- Interrupt Flag 1 type IFG1_Register is record -- Watchdog Interrupt Flag WDTIFG : MSP430_SVD.Bit := 16#0#; -- Osc. Fault Interrupt Flag OFIFG : MSP430_SVD.Bit := 16#0#; -- Power On Interrupt Flag PORIFG : MSP430_SVD.Bit := 16#0#; -- Reset Interrupt Flag RSTIFG : MSP430_SVD.Bit := 16#0#; -- NMI Interrupt Flag NMIIFG : MSP430_SVD.Bit := 16#0#; -- unspecified Reserved_5_7 : MSP430_SVD.UInt3 := 16#0#; end record with Volatile_Full_Access, Object_Size => 8, Bit_Order => System.Low_Order_First; for IFG1_Register use record WDTIFG at 0 range 0 .. 0; OFIFG at 0 range 1 .. 1; PORIFG at 0 range 2 .. 2; RSTIFG at 0 range 3 .. 3; NMIIFG at 0 range 4 .. 4; Reserved_5_7 at 0 range 5 .. 7; end record; -- Interrupt Flag 2 type IFG2_Register is record -- UCA0RXIFG UCA0RXIFG : MSP430_SVD.Bit := 16#0#; -- UCA0TXIFG UCA0TXIFG : MSP430_SVD.Bit := 16#0#; -- UCB0RXIFG UCB0RXIFG : MSP430_SVD.Bit := 16#0#; -- UCB0TXIFG UCB0TXIFG : MSP430_SVD.Bit := 16#0#; -- unspecified Reserved_4_7 : MSP430_SVD.UInt4 := 16#0#; end record with Volatile_Full_Access, Object_Size => 8, Bit_Order => System.Low_Order_First; for IFG2_Register use record UCA0RXIFG at 0 range 0 .. 0; UCA0TXIFG at 0 range 1 .. 1; UCB0RXIFG at 0 range 2 .. 2; UCB0TXIFG at 0 range 3 .. 3; Reserved_4_7 at 0 range 4 .. 7; end record; ----------------- -- Peripherals -- ----------------- -- Special Function type SPECIAL_FUNCTION_Peripheral is record -- Interrupt Enable 1 IE1 : aliased IE1_Register; -- Interrupt Enable 2 IE2 : aliased IE2_Register; -- Interrupt Flag 1 IFG1 : aliased IFG1_Register; -- Interrupt Flag 2 IFG2 : aliased IFG2_Register; end record with Volatile; for SPECIAL_FUNCTION_Peripheral use record IE1 at 16#0# range 0 .. 7; IE2 at 16#1# range 0 .. 7; IFG1 at 16#2# range 0 .. 7; IFG2 at 16#3# range 0 .. 7; end record; -- Special Function SPECIAL_FUNCTION_Periph : aliased SPECIAL_FUNCTION_Peripheral with Import, Address => SPECIAL_FUNCTION_Base; end MSP430_SVD.SPECIAL_FUNCTION;
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_xc_misc_get_version_reply_t is -- Item -- type Item is record response_type : aliased Interfaces.Unsigned_8; pad0 : aliased Interfaces.Unsigned_8; sequence : aliased Interfaces.Unsigned_16; length : aliased Interfaces.Unsigned_32; server_major_version : aliased Interfaces.Unsigned_16; server_minor_version : aliased Interfaces.Unsigned_16; end record; -- Item_Array -- type Item_Array is array (Interfaces.C .size_t range <>) of aliased xcb.xcb_xc_misc_get_version_reply_t .Item; -- Pointer -- package C_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_xc_misc_get_version_reply_t.Item, Element_Array => xcb.xcb_xc_misc_get_version_reply_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_xc_misc_get_version_reply_t .Pointer; -- Pointer_Pointer -- package C_Pointer_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_xc_misc_get_version_reply_t.Pointer, Element_Array => xcb.xcb_xc_misc_get_version_reply_t.Pointer_Array, Default_Terminator => null); subtype Pointer_Pointer is C_Pointer_Pointers.Pointer; end xcb.xcb_xc_misc_get_version_reply_t;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ with AMF.Elements; with AMF.Holders.Elements; package body AMF.Internals.Holders.CMOF_Holders is --------------- -- To_Holder -- --------------- function To_Holder (Item : AMF.CMOF.Associations.CMOF_Association_Access) return League.Holders.Holder is begin return AMF.Holders.Elements.To_Holder (AMF.Elements.Element_Access (Item)); end To_Holder; --------------- -- To_Holder -- --------------- function To_Holder (Item : AMF.CMOF.Classes.CMOF_Class_Access) return League.Holders.Holder is begin return AMF.Holders.Elements.To_Holder (AMF.Elements.Element_Access (Item)); end To_Holder; --------------- -- To_Holder -- --------------- function To_Holder (Item : AMF.CMOF.Constraints.CMOF_Constraint_Access) return League.Holders.Holder is begin return AMF.Holders.Elements.To_Holder (AMF.Elements.Element_Access (Item)); end To_Holder; --------------- -- To_Holder -- --------------- function To_Holder (Item : AMF.CMOF.Data_Types.CMOF_Data_Type_Access) return League.Holders.Holder is begin return AMF.Holders.Elements.To_Holder (AMF.Elements.Element_Access (Item)); end To_Holder; --------------- -- To_Holder -- --------------- function To_Holder (Item : AMF.CMOF.Elements.CMOF_Element_Access) return League.Holders.Holder is begin return AMF.Holders.Elements.To_Holder (AMF.Elements.Element_Access (Item)); end To_Holder; --------------- -- To_Holder -- --------------- function To_Holder (Item : AMF.CMOF.Enumerations.CMOF_Enumeration_Access) return League.Holders.Holder is begin return AMF.Holders.Elements.To_Holder (AMF.Elements.Element_Access (Item)); end To_Holder; --------------- -- To_Holder -- --------------- function To_Holder (Item : AMF.CMOF.Namespaces.CMOF_Namespace_Access) return League.Holders.Holder is begin return AMF.Holders.Elements.To_Holder (AMF.Elements.Element_Access (Item)); end To_Holder; --------------- -- To_Holder -- --------------- function To_Holder (Item : AMF.CMOF.Operations.CMOF_Operation_Access) return League.Holders.Holder is begin return AMF.Holders.Elements.To_Holder (AMF.Elements.Element_Access (Item)); end To_Holder; --------------- -- To_Holder -- --------------- function To_Holder (Item : AMF.CMOF.Packageable_Elements.CMOF_Packageable_Element_Access) return League.Holders.Holder is begin return AMF.Holders.Elements.To_Holder (AMF.Elements.Element_Access (Item)); end To_Holder; --------------- -- To_Holder -- --------------- function To_Holder (Item : AMF.CMOF.Packages.CMOF_Package_Access) return League.Holders.Holder is begin return AMF.Holders.Elements.To_Holder (AMF.Elements.Element_Access (Item)); end To_Holder; --------------- -- To_Holder -- --------------- function To_Holder (Item : AMF.CMOF.Properties.CMOF_Property_Access) return League.Holders.Holder is begin return AMF.Holders.Elements.To_Holder (AMF.Elements.Element_Access (Item)); end To_Holder; --------------- -- To_Holder -- --------------- function To_Holder (Item : AMF.CMOF.Types.CMOF_Type_Access) return League.Holders.Holder is begin return AMF.Holders.Elements.To_Holder (AMF.Elements.Element_Access (Item)); end To_Holder; --------------- -- To_Holder -- --------------- function To_Holder (Item : AMF.CMOF.Value_Specifications.CMOF_Value_Specification_Access) return League.Holders.Holder is begin return AMF.Holders.Elements.To_Holder (AMF.Elements.Element_Access (Item)); end To_Holder; end AMF.Internals.Holders.CMOF_Holders;
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ADA.STRINGS.LESS_CASE_INSENSITIVE -- -- -- -- B o d y -- -- -- -- Copyright (C) 2004-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/>. -- -- -- -- This unit was originally developed by Matthew J Heaney. -- ------------------------------------------------------------------------------ with Ada.Characters.Handling; use Ada.Characters.Handling; function Ada.Strings.Less_Case_Insensitive (Left, Right : String) return Boolean is LI : Integer := Left'First; RI : Integer := Right'First; LC, RC : Character; begin if LI > Left'Last then return RI <= Right'Last; end if; if RI > Right'Last then return False; end if; loop LC := To_Lower (Left (LI)); RC := To_Lower (Right (RI)); if LC < RC then return True; end if; if LC > RC then return False; end if; if LI = Left'Last then return RI < Right'Last; end if; if RI = Right'Last then return False; end if; LI := LI + 1; RI := RI + 1; end loop; end Ada.Strings.Less_Case_Insensitive;
-------------------------------------------------------------------------------------------------------------------- -- 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 Interfaces.C.Strings; with System; package body SDL.Images.Versions is package C renames Interfaces.C; procedure Linked_With (Info : in out SDL.Versions.Version) is function IMG_Linked_Version return access SDL.Versions.Version with Import => True, Convention => C, External_Name => "IMG_Linked_Version"; Data : access SDL.Versions.Version := IMG_Linked_Version; begin Info := Data.all; end Linked_With; end SDL.Images.Versions;
with OpenAL_Info; procedure OpenAL_Info_Main is begin OpenAL_Info.Run; end OpenAL_Info_Main;
with Ada.Text_IO; procedure Hello_World is begin Ada.Text_IO.Put_Line ("Hello World"); end Hello_World;
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="14"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>hls_target</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>hw_input_V_value_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>hw_input.V.value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>hw_input_V_last_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>hw_input.V.last.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>hw_output_V_value_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>hw_output.V.value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_4"> <Value> <Obj> <type>1</type> <id>4</id> <name>hw_output_V_last_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>hw_output.V.last.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>11</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_5"> <Value> <Obj> <type>0</type> <id>11</id> <name>p_hw_input_stencil_st</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/sharpen</fileDirectory> <lineNumber>52</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/sharpen</first> <second class_id="11" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>52</second> </item> </second> </item> </inlineStackInfo> <originalName>_hw_input_stencil_stream.V.value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>288</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>41</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>15</id> <name>p_hw_input_stencil_st_3</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>288</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>42</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>19</id> <name>p_hw_input_stencil_st_4</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>288</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>43</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>23</id> <name>p_delayed_input_stenc</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/sharpen</fileDirectory> <lineNumber>82</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>82</second> </item> </second> </item> </inlineStackInfo> <originalName>_delayed_input_stencil_stream.V.value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>44</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>27</id> <name>p_mul_stencil_stream_s</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/sharpen</fileDirectory> <lineNumber>172</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>172</second> </item> </second> </item> </inlineStackInfo> <originalName>_mul_stencil_stream.V.value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>45</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>33</id> <name></name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/sharpen</fileDirectory> <lineNumber>56</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>56</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>47</item> <item>48</item> <item>49</item> <item>50</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>34</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>6</count> <item_version>0</item_version> <item>52</item> <item>53</item> <item>54</item> <item>55</item> <item>329</item> <item>330</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>35</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>5</count> <item_version>0</item_version> <item>57</item> <item>58</item> <item>59</item> <item>327</item> <item>331</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>36</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>61</item> <item>62</item> <item>63</item> <item>328</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>37</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>8</count> <item_version>0</item_version> <item>65</item> <item>66</item> <item>67</item> <item>68</item> <item>69</item> <item>325</item> <item>326</item> <item>332</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>38</id> <name></name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/sharpen</fileDirectory> <lineNumber>307</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_32_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>307</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_16"> <Value> <Obj> <type>2</type> <id>40</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_17"> <Value> <Obj> <type>2</type> <id>46</id> <name>linebuffer_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:linebuffer.1&gt;</content> </item> <item class_id_reference="16" object_id="_18"> <Value> <Obj> <type>2</type> <id>51</id> <name>Loop_1_proc</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:Loop_1_proc&gt;</content> </item> <item class_id_reference="16" object_id="_19"> <Value> <Obj> <type>2</type> <id>56</id> <name>Loop_2_proc</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:Loop_2_proc&gt;</content> </item> <item class_id_reference="16" object_id="_20"> <Value> <Obj> <type>2</type> <id>60</id> <name>Loop_3_proc</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:Loop_3_proc&gt;</content> </item> <item class_id_reference="16" object_id="_21"> <Value> <Obj> <type>2</type> <id>64</id> <name>Loop_4_proc</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:Loop_4_proc&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="_22"> <Obj> <type>3</type> <id>39</id> <name>hls_target</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>11</count> <item_version>0</item_version> <item>11</item> <item>15</item> <item>19</item> <item>23</item> <item>27</item> <item>33</item> <item>34</item> <item>35</item> <item>36</item> <item>37</item> <item>38</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>32</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_23"> <id>41</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_24"> <id>42</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="20" object_id="_25"> <id>43</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_26"> <id>44</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_27"> <id>45</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_28"> <id>47</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_29"> <id>48</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_30"> <id>49</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_31"> <id>50</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_32"> <id>52</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_33"> <id>53</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_34"> <id>54</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_35"> <id>55</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_36"> <id>57</id> <edge_type>1</edge_type> <source_obj>56</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_37"> <id>58</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_38"> <id>59</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_39"> <id>61</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_40"> <id>62</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_41"> <id>63</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_42"> <id>65</id> <edge_type>1</edge_type> <source_obj>64</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_43"> <id>66</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_44"> <id>67</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_45"> <id>68</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_46"> <id>69</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_47"> <id>325</id> <edge_type>4</edge_type> <source_obj>36</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_48"> <id>326</id> <edge_type>4</edge_type> <source_obj>35</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_49"> <id>327</id> <edge_type>4</edge_type> <source_obj>34</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_50"> <id>328</id> <edge_type>4</edge_type> <source_obj>34</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_51"> <id>329</id> <edge_type>4</edge_type> <source_obj>33</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_52"> <id>330</id> <edge_type>4</edge_type> <source_obj>33</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_53"> <id>331</id> <edge_type>4</edge_type> <source_obj>34</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_54"> <id>332</id> <edge_type>4</edge_type> <source_obj>35</source_obj> <sink_obj>37</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_55"> <mId>1</mId> <mTag>hls_target</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>39</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>2077921</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>1</mIsDfPipe> <mDfPipe class_id="23" tracking_level="1" version="0" object_id="_56"> <port_list class_id="24" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port_list> <process_list class_id="25" tracking_level="0" version="0"> <count>5</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_57"> <type>0</type> <name>linebuffer_1_U0</name> <ssdmobj_id>33</ssdmobj_id> <pins class_id="27" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_58"> <port class_id="29" tracking_level="1" version="0" object_id="_59"> <name>in_axi_stream_V_value_V</name> <dir>3</dir> <type>0</type> </port> <inst class_id="30" tracking_level="1" version="0" object_id="_60"> <type>0</type> <name>linebuffer_1_U0</name> <ssdmobj_id>33</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_61"> <port class_id_reference="29" object_id="_62"> <name>in_axi_stream_V_last_V</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_60"></inst> </item> <item class_id_reference="28" object_id="_63"> <port class_id_reference="29" object_id="_64"> <name>out_stream_V_value_V</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_60"></inst> </item> </pins> </item> <item class_id_reference="26" object_id="_65"> <type>0</type> <name>Loop_1_proc_U0</name> <ssdmobj_id>34</ssdmobj_id> <pins> <count>3</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_66"> <port class_id_reference="29" object_id="_67"> <name>p_hw_input_stencil_stream_V_value_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_68"> <type>0</type> <name>Loop_1_proc_U0</name> <ssdmobj_id>34</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_69"> <port class_id_reference="29" object_id="_70"> <name>p_hw_input_stencil_stream_to_delayed_input_V_value_V</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_68"></inst> </item> <item class_id_reference="28" object_id="_71"> <port class_id_reference="29" object_id="_72"> <name>p_hw_input_stencil_stream_to_mul_V_value_V</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_68"></inst> </item> </pins> </item> <item class_id_reference="26" object_id="_73"> <type>0</type> <name>Loop_2_proc_U0</name> <ssdmobj_id>35</ssdmobj_id> <pins> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_74"> <port class_id_reference="29" object_id="_75"> <name>p_hw_input_stencil_stream_to_delayed_input_V_value_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_76"> <type>0</type> <name>Loop_2_proc_U0</name> <ssdmobj_id>35</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_77"> <port class_id_reference="29" object_id="_78"> <name>p_delayed_input_stencil_stream_V_value_V</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_76"></inst> </item> </pins> </item> <item class_id_reference="26" object_id="_79"> <type>0</type> <name>Loop_3_proc_U0</name> <ssdmobj_id>36</ssdmobj_id> <pins> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_80"> <port class_id_reference="29" object_id="_81"> <name>p_hw_input_stencil_stream_to_mul_V_value_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_82"> <type>0</type> <name>Loop_3_proc_U0</name> <ssdmobj_id>36</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_83"> <port class_id_reference="29" object_id="_84"> <name>p_mul_stencil_stream_V_value_V</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_82"></inst> </item> </pins> </item> <item class_id_reference="26" object_id="_85"> <type>0</type> <name>Loop_4_proc_U0</name> <ssdmobj_id>37</ssdmobj_id> <pins> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_86"> <port class_id_reference="29" object_id="_87"> <name>hw_output_V_value_V</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id="_88"> <type>0</type> <name>Loop_4_proc_U0</name> <ssdmobj_id>37</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_89"> <port class_id_reference="29" object_id="_90"> <name>hw_output_V_last_V</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_88"></inst> </item> <item class_id_reference="28" object_id="_91"> <port class_id_reference="29" object_id="_92"> <name>p_mul_stencil_stream_V_value_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_88"></inst> </item> <item class_id_reference="28" object_id="_93"> <port class_id_reference="29" object_id="_94"> <name>p_delayed_input_stencil_stream_V_value_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_88"></inst> </item> </pins> </item> </process_list> <channel_list class_id="31" tracking_level="0" version="0"> <count>5</count> <item_version>0</item_version> <item class_id="32" tracking_level="1" version="0" object_id="_95"> <type>1</type> <name>p_hw_input_stencil_st</name> <ssdmobj_id>11</ssdmobj_id> <ctype>0</ctype> <depth>1</depth> <bitwidth>288</bitwidth> <source class_id_reference="28" object_id="_96"> <port class_id_reference="29" object_id="_97"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_60"></inst> </source> <sink class_id_reference="28" object_id="_98"> <port class_id_reference="29" object_id="_99"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_68"></inst> </sink> </item> <item class_id_reference="32" object_id="_100"> <type>1</type> <name>p_hw_input_stencil_st_3</name> <ssdmobj_id>15</ssdmobj_id> <ctype>0</ctype> <depth>1</depth> <bitwidth>288</bitwidth> <source class_id_reference="28" object_id="_101"> <port class_id_reference="29" object_id="_102"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_68"></inst> </source> <sink class_id_reference="28" object_id="_103"> <port class_id_reference="29" object_id="_104"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_76"></inst> </sink> </item> <item class_id_reference="32" object_id="_105"> <type>1</type> <name>p_hw_input_stencil_st_4</name> <ssdmobj_id>19</ssdmobj_id> <ctype>0</ctype> <depth>1</depth> <bitwidth>288</bitwidth> <source class_id_reference="28" object_id="_106"> <port class_id_reference="29" object_id="_107"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_68"></inst> </source> <sink class_id_reference="28" object_id="_108"> <port class_id_reference="29" object_id="_109"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_82"></inst> </sink> </item> <item class_id_reference="32" object_id="_110"> <type>1</type> <name>p_delayed_input_stenc</name> <ssdmobj_id>23</ssdmobj_id> <ctype>0</ctype> <depth>1</depth> <bitwidth>32</bitwidth> <source class_id_reference="28" object_id="_111"> <port class_id_reference="29" object_id="_112"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_76"></inst> </source> <sink class_id_reference="28" object_id="_113"> <port class_id_reference="29" object_id="_114"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_88"></inst> </sink> </item> <item class_id_reference="32" object_id="_115"> <type>1</type> <name>p_mul_stencil_stream_s</name> <ssdmobj_id>27</ssdmobj_id> <ctype>0</ctype> <depth>1</depth> <bitwidth>32</bitwidth> <source class_id_reference="28" object_id="_116"> <port class_id_reference="29" object_id="_117"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_82"></inst> </source> <sink class_id_reference="28" object_id="_118"> <port class_id_reference="29" object_id="_119"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_88"></inst> </sink> </item> </channel_list> <net_list class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </net_list> </mDfPipe> </item> </cdfg_regions> <fsm class_id="-1"></fsm> <res class_id="-1"></res> <node_label_latency class_id="36" tracking_level="0" version="0"> <count>11</count> <item_version>0</item_version> <item class_id="37" tracking_level="0" version="0"> <first>11</first> <second class_id="38" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>15</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>23</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>0</first> <second>1</second> </second> </item> <item> <first>34</first> <second> <first>2</first> <second>1</second> </second> </item> <item> <first>35</first> <second> <first>4</first> <second>1</second> </second> </item> <item> <first>36</first> <second> <first>4</first> <second>1</second> </second> </item> <item> <first>37</first> <second> <first>6</first> <second>1</second> </second> </item> <item> <first>38</first> <second> <first>7</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="39" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="40" tracking_level="0" version="0"> <first>39</first> <second class_id="41" tracking_level="0" version="0"> <first>0</first> <second>7</second> </second> </item> </bblk_ent_exit> <regions class_id="42" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="43" tracking_level="1" version="0" object_id="_120"> <region_name>hls_target</region_name> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>39</item> </basic_blocks> <nodes> <count>34</count> <item_version>0</item_version> <item>5</item> <item>6</item> <item>7</item> <item>8</item> <item>9</item> <item>10</item> <item>11</item> <item>12</item> <item>13</item> <item>14</item> <item>15</item> <item>16</item> <item>17</item> <item>18</item> <item>19</item> <item>20</item> <item>21</item> <item>22</item> <item>23</item> <item>24</item> <item>25</item> <item>26</item> <item>27</item> <item>28</item> <item>29</item> <item>30</item> <item>31</item> <item>32</item> <item>33</item> <item>34</item> <item>35</item> <item>36</item> <item>37</item> <item>38</item> </nodes> <anchor_node>-1</anchor_node> <region_type>16</region_type> <interval>0</interval> <pipe_depth>0</pipe_depth> </item> </regions> <dp_fu_nodes class_id="44" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes> <dp_fu_nodes_expression class_id="45" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="46" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>0</count> <item_version>0</item_version> </dp_reg_nodes> <dp_regname_nodes> <count>0</count> <item_version>0</item_version> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="47" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_port_io_nodes> <port2core class_id="48" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
----------------------------------------------------------------------- -- util-beans-basic-ranges -- Range of values with helper for list iteration -- Copyright (C) 2011 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- package body Util.Beans.Basic.Ranges is -- ------------------------------ -- Create a range definition. -- ------------------------------ function Create (First, Last : in T) return Range_Bean is Result : Range_Bean; begin Result.First := First; Result.Last := Last; Result.Current := First; return Result; end Create; -- ------------------------------ -- Get the range lower bound. -- ------------------------------ function Get_First (From : in Range_Bean) return T is begin return From.First; end Get_First; -- ------------------------------ -- Get the range upper bound. -- ------------------------------ function Get_Last (From : in Range_Bean) return T is begin return From.Last; end Get_Last; -- ------------------------------ -- Get the current value within the first/last bounds. -- ------------------------------ function Get_Current (From : in Range_Bean) return T is begin return From.Current; end Get_Current; -- ------------------------------ -- Get the value identified by the name. -- If the name cannot be found, the method should return the Null object. -- ------------------------------ overriding function Get_Value (From : in Range_Bean; Name : in String) return Util.Beans.Objects.Object is begin if Name = "first" then return To_Object (From.First); elsif Name = "last" then return To_Object (From.Last); elsif Name = "value" then return To_Object (From.Current); else return Util.Beans.Objects.Null_Object; end if; end Get_Value; -- ------------------------------ -- Get the number of elements in the list. -- ------------------------------ overriding function Get_Count (From : in Range_Bean) return Natural is begin if From.Last < From.First then return 0; else return Natural (T'Pos (From.Last) - T'Pos (From.First)) + 1; end if; end Get_Count; -- ------------------------------ -- Set the current row index. Valid row indexes start at 1. -- ------------------------------ overriding procedure Set_Row_Index (From : in out Range_Bean; Index : in Natural) is begin From.Current := T'Val (T'Pos (From.First) + Index - 1); end Set_Row_Index; -- ------------------------------ -- Get the element at the current row index. -- ------------------------------ overriding function Get_Row (From : in Range_Bean) return Util.Beans.Objects.Object is begin return To_Object (From.Current); end Get_Row; end Util.Beans.Basic.Ranges;
-- { dg-do run } with Ada.Tags; use Ada.Tags; with Ada.Text_IO; use Ada.Text_IO; procedure aggr3 is package Pkg is type Element is interface; type Event is tagged record V1 : Natural; V2 : Natural; end record; function Create return Event; type D_Event is new Event and Element with null record; function Create return D_Event; end; package body Pkg is function Create return Event is Obj : Event; begin Obj.V1 := 0; return Obj; end; function Create return D_Event is begin return (Event'(Create) with null record); end; end; use Pkg; procedure CW_Test (Obj : Element'Class) is S : Constant String := Expanded_Name (Obj'Tag); begin null; end; begin CW_Test (Create); end;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- XML Processor -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ package body Matreshka.DOM_Notations is ---------------- -- Enter_Node -- ---------------- overriding procedure Enter_Node (Self : not null access Notation_Node; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control) is begin Visitor.Enter_Notation (XML.DOM.Notations.DOM_Notation_Access (Self), Control); end Enter_Node; ------------------- -- Get_Node_Name -- ------------------- overriding function Get_Node_Name (Self : not null access constant Notation_Node) return League.Strings.Universal_String is pragma Unreferenced (Self); begin raise Program_Error; return League.Strings.Empty_Universal_String; end Get_Node_Name; ------------------- -- Get_Node_Type -- ------------------- overriding function Get_Node_Type (Self : not null access constant Notation_Node) return XML.DOM.Node_Type is pragma Unreferenced (Self); begin return XML.DOM.Notation_Node; end Get_Node_Type; ---------------- -- Leave_Node -- ---------------- overriding procedure Leave_Node (Self : not null access Notation_Node; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control) is begin Visitor.Leave_Notation (XML.DOM.Notations.DOM_Notation_Access (Self), Control); end Leave_Node; ---------------- -- Visit_Node -- ---------------- overriding procedure Visit_Node (Self : not null access Notation_Node; Iterator : in out XML.DOM.Visitors.Abstract_Iterator'Class; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control) is begin Iterator.Visit_Notation (Visitor, XML.DOM.Notations.DOM_Notation_Access (Self), Control); end Visit_Node; end Matreshka.DOM_Notations;
with Ada.Text_IO; use Ada.Text_IO; procedure Test is X: Integer; procedure P is X: Character; begin Put(X); end; begin P; end;
-- Copyright (c) 2021 Devin Hill -- zlib License -- see LICENSE for details. with GBA.Memory; use GBA.Memory; with GBA.Memory.IO_Registers; package GBA.DMA is type Dest_Address_Adjustment is ( Increment , Decrement , Fixed , Increment_And_Reset ); for Dest_Address_Adjustment use ( Increment => 0 , Decrement => 1 , Fixed => 2 , Increment_And_Reset => 3 ); type Source_Address_Adjustment is ( Increment , Decrement , Fixed ); for Source_Address_Adjustment use ( Increment => 0 , Decrement => 1 , Fixed => 2 ); type Unit_Size is ( Half_Word -- 16 bits , Word -- 32 bits ); for Unit_Size use ( Half_Word => 0 , Word => 1 ); type Timing_Mode is ( Start_Immediately , Start_At_VBlank , Start_At_HBlank ); for Timing_Mode use ( Start_Immediately => 0 , Start_At_VBlank => 1 , Start_At_HBlank => 2 ); type Transfer_Count_Type is mod 2**15; type Transfer_Info is record Transfer_Count : Transfer_Count_Type; Dest_Adjustment : Dest_Address_Adjustment; Source_Adjustment : Source_Address_Adjustment; Repeat : Boolean; Copy_Unit_Size : Unit_Size; Timing : Timing_Mode; Enable_Interrupt : Boolean; Enabled : Boolean; end record with Size => 32; for Transfer_Info use record Transfer_Count at 0 range 16#00# .. 16#0F#; Dest_Adjustment at 0 range 16#15# .. 16#16#; Source_Adjustment at 0 range 16#17# .. 16#18#; Repeat at 0 range 16#19# .. 16#19#; Copy_Unit_Size at 0 range 16#1A# .. 16#1A#; Timing at 0 range 16#1C# .. 16#1D#; Enable_Interrupt at 0 range 16#1E# .. 16#1E#; Enabled at 0 range 16#1F# .. 16#1F#; end record; type Channel_Info is limited record Source : Address with Volatile; Dest : Address with Volatile; DMA_Info : Transfer_Info with Volatile; end record with Size => 96; for Channel_Info use record Source at 0 range 0 .. 31; Dest at 4 range 0 .. 31; DMA_Info at 8 range 0 .. 31; end record; type Channel_ID is range 0 .. 3; -- Basic access to structured DMA info -- use GBA.Memory.IO_Registers; Channel_Addresses : constant array (Channel_ID) of Address := ( 0 => DMA0SAD , 1 => DMA1SAD , 2 => DMA2SAD , 3 => DMA3SAD ); DMA_Channel_0 : Channel_Info with Import, Address => Channel_Addresses (0); DMA_Channel_1 : Channel_Info with Import, Address => Channel_Addresses (1); DMA_Channel_2 : Channel_Info with Import, Address => Channel_Addresses (2); DMA_Channel_3 : Channel_Info with Import, Address => Channel_Addresses (3); Channel_Array_View : array (Channel_ID) of Channel_Info with Import, Address => DMA0SAD; -- Most basic DMA interface routines -- procedure Setup_DMA_Transfer ( Channel : Channel_ID; Source, Dest : Address; Info : Transfer_Info ) with Inline_Always; function Is_Transfer_Ongoing ( Channel : Channel_ID ) return Boolean with Inline_Always; procedure Stop_Ongoing_Transfer ( Channel : Channel_ID ) with Inline_Always; end GBA.DMA;
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Iterator_Interfaces; with Program.Compilation_Units; package Program.Compilation_Unit_Vectors is pragma Pure; type Compilation_Unit_Vector is limited interface; -- Vector of Compilation_Units type Compilation_Unit_Vector_Access is access constant Compilation_Unit_Vector'Class with Storage_Size => 0; not overriding function Get_Length (Self : Compilation_Unit_Vector) return Positive is abstract; -- Number of elements in the vector. Not null vector has at least one item. function Length (Self : access Compilation_Unit_Vector'Class) return Natural is (if Self = null then 0 else Self.Get_Length); -- Return number of elements in the vector function Is_Empty (Self : access Compilation_Unit_Vector'Class) return Boolean is (Self = null); -- Check if the vector is empty not overriding function Element (Self : Compilation_Unit_Vector; Index : Positive) return not null Program.Compilation_Units.Compilation_Unit_Access is abstract; -- Return an element of the vector not overriding function Find_Unit (Self : Compilation_Unit_Vector; Name : Text) return Program.Compilation_Units.Compilation_Unit_Access is abstract; -- Returns the compilation_unit with the name, contained in the library. -- -- A null is returned if no such compilation_unit exists. function Find (Self : access Compilation_Unit_Vector'Class; Name : Text) return Program.Compilation_Units.Compilation_Unit_Access is (if Self.Is_Empty then null else Self.Find_Unit (Name)); -- Returns the compilation_unit with the name, contained in the library. -- -- A null is returned if no such compilation_unit exists. type Compilation_Unit_Cursor is record Unit : Program.Compilation_Units.Compilation_Unit_Access; -- An element of the vector for given cursor Index : Natural; -- Position in the vector, starting from one Is_Last : Boolean; -- Set if the cursor points to the last Compilation_Unit in the list end record; function Has_Element (Self : Compilation_Unit_Cursor) return Boolean is (Self.Unit.Assigned); -- Check if the cursor points an element package Iterators is new Ada.Iterator_Interfaces (Compilation_Unit_Cursor, Has_Element); type Iterator is new Iterators.Reversible_Iterator with private; overriding function First (Self : Iterator) return Program.Compilation_Unit_Vectors.Compilation_Unit_Cursor; overriding function Next (Self : Iterator; Cursor : Program.Compilation_Unit_Vectors.Compilation_Unit_Cursor) return Program.Compilation_Unit_Vectors.Compilation_Unit_Cursor; overriding function Last (Self : Iterator) return Program.Compilation_Unit_Vectors.Compilation_Unit_Cursor; overriding function Previous (Self : Iterator; Cursor : Program.Compilation_Unit_Vectors.Compilation_Unit_Cursor) return Program.Compilation_Unit_Vectors.Compilation_Unit_Cursor; type Compilation_Unit_Checker is access function (Self : Program.Compilation_Units.Compilation_Unit'Class) return Boolean; function Each_Unit (Self : access Compilation_Unit_Vector'Class; When_Unit : Compilation_Unit_Checker := null) return Iterator; -- Return an iterator to enumerate elements in the Vector which satisfy -- given condition, if provided or all element otherwise private type Iterator is new Iterators.Reversible_Iterator with record Vector : access constant Compilation_Unit_Vector'Class; Condition : Compilation_Unit_Checker; end record; end Program.Compilation_Unit_Vectors;
----------------------------------------------------------------------- -- awa-applications-factory -- Factory for AWA Applications -- Copyright (C) 2011, 2012 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with ASF.Applications.Main; with Security.Policies; package AWA.Applications.Factory is -- ------------------------------ -- Application factory to setup the permission manager. -- ------------------------------ type Application_Factory is new ASF.Applications.Main.Application_Factory with private; -- Create the security manager. The security manager is created during -- the initialization phase of the application. This implementation -- creates a <b>AWA.Permissions.Services.Permission_Manager</b> object. overriding function Create_Security_Manager (App : in Application_Factory) return Security.Policies.Policy_Manager_Access; -- Set the application instance that will be used when creating the permission manager. procedure Set_Application (Factory : in out ASF.Applications.Main.Application_Factory'Class; App : in Application_Access); private type Application_Factory is new ASF.Applications.Main.Application_Factory with record App : Application_Access := null; end record; end AWA.Applications.Factory;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ package body Bit_Fields is type Convert_8 (As_Array : Boolean := False) is record case As_Array is when False => Value : UInt8; when True => Bits : Bit_Field (0 .. 7); end case; end record with Unchecked_Union, Size => 8; for Convert_8 use record Value at 0 range 0 .. 7; Bits at 0 range 0 .. 7; end record; type Convert_16 (As_Array : Boolean := False) is record case As_Array is when False => Value : UInt16; when True => Bits : Bit_Field (0 .. 15); end case; end record with Unchecked_Union, Size => 16; for Convert_16 use record Value at 0 range 0 .. 15; Bits at 0 range 0 .. 15; end record; type Convert_32 (As_Array : Boolean := False) is record case As_Array is when False => Value : UInt32; when True => Bits : Bit_Field (0 .. 31); end case; end record with Unchecked_Union, Size => 32; for Convert_32 use record Value at 0 range 0 .. 31; Bits at 0 range 0 .. 31; end record; ------------- -- To_Word -- ------------- function To_Word (Bits : Bit_Field) return UInt32 is Tmp : Convert_32; begin Tmp.Bits := Bits; return Tmp.Value; end To_Word; -------------- -- To_UInt16 -- -------------- function To_UInt16 (Bits : Bit_Field) return UInt16 is Tmp : Convert_16; begin Tmp.Bits := Bits; return Tmp.Value; end To_UInt16; ------------- -- To_UInt8 -- ------------- function To_UInt8 (Bits : Bit_Field) return UInt8 is Tmp : Convert_8; begin Tmp.Bits := Bits; return Tmp.Value; end To_UInt8; ------------------ -- To_Bit_Field -- ------------------ function To_Bit_Field (Value : UInt32) return Bit_Field is Tmp : Convert_32; begin Tmp.Value := Value; return Tmp.Bits; end To_Bit_Field; ------------------ -- To_Bit_Field -- ------------------ function To_Bit_Field (Value : UInt16) return Bit_Field is Tmp : Convert_16; begin Tmp.Value := Value; return Tmp.Bits; end To_Bit_Field; ------------------ -- To_Bit_Field -- ------------------ function To_Bit_Field (Value : UInt8) return Bit_Field is Tmp : Convert_8; begin Tmp.Value := Value; return Tmp.Bits; end To_Bit_Field; end Bit_Fields;
with Ada.Streams.Stream_IO; use Ada; package Fakedsp.Data_Streams.Wave is type Wave_Source is limited new Data_Source with private; type Wave_Source_Access is access Wave_Source; function Open (Filename : String) return Wave_Source_Access; procedure Read (Src : in out Wave_Source; Sample : out Sample_Type; End_Of_Stream : out Boolean; Channel : Channel_Index := Channel_Index'First); procedure Read (Src : in out Wave_Source; Sample : out float; End_Of_Stream : out Boolean; Channel : Channel_Index := Channel_Index'First); function Sampling_Frequency (Src : Wave_Source) return Frequency_Hz; function Max_Channel (Src : Wave_Source) return Channel_Index; procedure Close (src : in out Wave_Source); type Wave_Destination is limited new Data_Destination with private; type Wave_Destination_Access is access Wave_Destination; function Open (Filename : String; Sampling : Frequency_Hz; Last_Channel : Channel_Index := 1) return Wave_Destination_Access; procedure Write (Dst : Wave_Destination; Sample : Sample_Type; Channel : Channel_Index := Channel_Index'First); procedure Write (Dst : Wave_Destination; Sample : Float; Channel : Channel_Index := Channel_Index'First); procedure Close (Dst : in out Wave_Destination); function Max_Channel (Src : Wave_Destination) return Channel_Index; Bad_Format : exception; Unimplemented_Format: exception; private type Wave_Source is limited new Data_Source with record File : Streams.Stream_IO.File_Type; Top_Channel : Channel_Index; Frequency : Frequency_Hz; end record; function Sampling_Frequency (Src : Wave_Source) return Frequency_Hz is (Src.Frequency); function Max_Channel (Src : Wave_Source) return Channel_Index is (Src.Top_Channel); type Wave_Destination is limited new Data_Destination with record File : Streams.Stream_IO.File_Type; Top_Channel : Channel_Index; Frequency : Frequency_Hz; end record; function Max_Channel (Src : Wave_Destination) return Channel_Index is (Src.Top_Channel); end Fakedsp.Data_Streams.Wave;
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Person_Sorted_List; use Person_Sorted_List; with Person_Handling; use Person_Handling; procedure Lab5B is Test_List: List_Type; Test_Person1: Person; Test_Person2: Person; Test_Person3: Person; begin Get(Test_Person1); Insert(Test_List, Test_Person1); Get(Test_Person2); Insert(Test_List, Test_Person2); Get(Test_Person3); Insert(Test_List, Test_Person3); New_Line; New_Line; Put(Test_List); New_Line; New_Line; Remove(Test_List, Test_Person3); Put("Tog bort sista personen:"); New_Line; New_Line; Put(Test_List); New_Line; New_Line; Put("Find - person inmatad som nr 2:"); New_Line; Put(Find(Test_List, Test_Person2)); New_Line; New_Line; Put("Längd av listan: "); New_Line; Put(Length(Test_List)); end Lab5B;
Src : String := "Rosetta Stone"; Dest : String := Src(1..7); -- Assigns "Rosetta" to Dest Dest2 : String := Src(9..13); -- Assigns "Stone" to Dest2
-- Copyright 2011-2017 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with Pck; use Pck; procedure Foo is type BA is access all Boolean; type BAs is array (1 .. 1) of BA; type Blob is record Val : Integer; Bees : BAs; end record; My_Blob : Blob := (Val => 1, Bees => (1 => null)); begin Do_Nothing (My_Blob'Address); -- STOP end Foo;
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Declarations; with Program.Lexical_Elements; with Program.Elements.Defining_Identifiers; with Program.Elements.Definitions; with Program.Elements.Formal_Type_Definitions; with Program.Elements.Aspect_Specifications; package Program.Elements.Formal_Type_Declarations is pragma Pure (Program.Elements.Formal_Type_Declarations); type Formal_Type_Declaration is limited interface and Program.Elements.Declarations.Declaration; type Formal_Type_Declaration_Access is access all Formal_Type_Declaration'Class with Storage_Size => 0; not overriding function Name (Self : Formal_Type_Declaration) return not null Program.Elements.Defining_Identifiers .Defining_Identifier_Access is abstract; not overriding function Discriminant_Part (Self : Formal_Type_Declaration) return Program.Elements.Definitions.Definition_Access is abstract; not overriding function Definition (Self : Formal_Type_Declaration) return not null Program.Elements.Formal_Type_Definitions .Formal_Type_Definition_Access is abstract; not overriding function Aspects (Self : Formal_Type_Declaration) return Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access is abstract; type Formal_Type_Declaration_Text is limited interface; type Formal_Type_Declaration_Text_Access is access all Formal_Type_Declaration_Text'Class with Storage_Size => 0; not overriding function To_Formal_Type_Declaration_Text (Self : aliased in out Formal_Type_Declaration) return Formal_Type_Declaration_Text_Access is abstract; not overriding function Type_Token (Self : Formal_Type_Declaration_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Is_Token (Self : Formal_Type_Declaration_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function With_Token (Self : Formal_Type_Declaration_Text) return Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Semicolon_Token (Self : Formal_Type_Declaration_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; end Program.Elements.Formal_Type_Declarations;
-- Copyright 2017 Jeff Foley. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. local json = require("json") name = "ZETAlytics" type = "api" function start() setratelimit(5) end function vertical(ctx, domain) if (api == nil or api.key == "") then return end local resp local vurl = buildurl(domain) -- Check if the response data is in the graph database if (api.ttl ~= nil and api.ttl > 0) then resp = obtain_response(vurl, api.ttl) end if (resp == nil or resp == "") then local err resp, err = request({ url=vurl, headers={['Content-Type']="application/json"}, }) if (err ~= nil and err ~= "") then return end if (api.ttl ~= nil and api.ttl > 0) then cache_response(vurl, resp) end end local d = json.decode(resp) if (d == nil or #(d.results) == 0) then return end for i, r in pairs(d.results) do sendnames(ctx, r.qname) end end function buildurl(domain) return "https://zonecruncher.com/api/v1/subdomains?q=" .. domain .. "&token=" .. api.key end function sendnames(ctx, content) local names = find(content, subdomainre) if names == nil then return end for i, v in pairs(names) do newname(ctx, v) end end
------------------------------------------------------------------------------ -- -- -- SPARK LIBRARY COMPONENTS -- -- -- -- S P A R K . F L O A T _ A R I T H M E T I C _ L E M M A S -- -- -- -- S p e c -- -- -- -- Copyright (C) 2017, AdaCore -- -- -- -- SPARK 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. SPARK 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/>. -- -- -- ------------------------------------------------------------------------------ pragma SPARK_Mode; with SPARK.Floating_Point_Arithmetic_Lemmas; pragma Elaborate_All (SPARK.Floating_Point_Arithmetic_Lemmas); package SPARK.Float_Arithmetic_Lemmas is new SPARK.Floating_Point_Arithmetic_Lemmas (Float, 2.0**63);
with Ada.Unchecked_Deallocation; package body BT is procedure Free is new Ada.Unchecked_Deallocation (Trit_Array, Trit_Access); -- Conversions -- String to BT function To_Balanced_Ternary (Str: String) return Balanced_Ternary is J : Positive := 1; Tmp : Trit_Access; begin Tmp := new Trit_Array (1..Str'Last); for I in reverse Str'Range loop case Str(I) is when '+' => Tmp (J) := 1; when '-' => Tmp (J) := -1; when '0' => Tmp (J) := 0; when others => raise Constraint_Error; end case; J := J + 1; end loop; return (Ada.Finalization.Controlled with Ref => Tmp); end To_Balanced_Ternary; -- Integer to BT function To_Balanced_Ternary (Num: Integer) return Balanced_Ternary is K : Integer := 0; D : Integer; Value : Integer := Num; Tmp : Trit_Array(1..19); -- 19 trits is enough to contain -- a 32 bits signed integer begin loop D := (Value mod 3**(K+1))/3**K; if D = 2 then D := -1; end if; Value := Value - D*3**K; K := K + 1; Tmp(K) := Trit(D); exit when Value = 0; end loop; return (Ada.Finalization.Controlled with Ref => new Trit_Array'(Tmp(1..K))); end To_Balanced_Ternary; -- BT to Integer -- -- If the BT number is too large Ada will raise CONSTRAINT ERROR function To_Integer (Num : Balanced_Ternary) return Integer is Value : Integer := 0; Pos : Integer := 1; begin for I in Num.Ref.all'Range loop Value := Value + Integer(Num.Ref(I)) * Pos; Pos := Pos * 3; end loop; return Value; end To_Integer; -- BT to String -- function To_String (Num : Balanced_Ternary) return String is I : constant Integer := Num.Ref.all'Last; Result : String (1..I); begin for J in Result'Range loop case Num.Ref(I-J+1) is when 0 => Result(J) := '0'; when -1 => Result(J) := '-'; when 1 => Result(J) := '+'; end case; end loop; return Result; end To_String; -- unary minus -- function "-" (Left : in Balanced_Ternary) return Balanced_Ternary is Result : constant Balanced_Ternary := Left; begin for I in Result.Ref.all'Range loop Result.Ref(I) := - Result.Ref(I); end loop; return Result; end "-"; -- addition -- Carry : Trit; function Add (Left, Right : in Trit) return Trit is begin if Left /= Right then Carry := 0; return Left + Right; else Carry := Left; return -Right; end if; end Add; pragma Inline (Add); function "+" (Left, Right : in Trit_Array) return Balanced_Ternary is Max_Size : constant Integer := Integer'Max(Left'Last, Right'Last); Tmp_Left, Tmp_Right : Trit_Array(1..Max_Size) := (others => 0); Result : Trit_Array(1..Max_Size+1) := (others => 0); begin Tmp_Left (1..Left'Last) := Left; Tmp_Right(1..Right'Last) := Right; for I in Tmp_Left'Range loop Result(I) := Add (Result(I), Tmp_Left(I)); Result(I+1) := Carry; Result(I) := Add(Result(I), Tmp_Right(I)); Result(I+1) := Add(Result(I+1), Carry); end loop; -- remove trailing zeros for I in reverse Result'Range loop if Result(I) /= 0 then return (Ada.Finalization.Controlled with Ref => new Trit_Array'(Result(1..I))); end if; end loop; return (Ada.Finalization.Controlled with Ref => new Trit_Array'(1 => 0)); end "+"; function "+" (Left, Right : in Balanced_Ternary) return Balanced_Ternary is begin return Left.Ref.all + Right.Ref.all; end "+"; -- Subtraction function "-" (Left, Right : in Balanced_Ternary) return Balanced_Ternary is begin return Left + (-Right); end "-"; -- multiplication function "*" (Left, Right : in Balanced_Ternary) return Balanced_Ternary is A, B : Trit_Access; Result : Balanced_Ternary; begin if Left.Ref.all'Length > Right.Ref.all'Length then A := Right.Ref; B := Left.Ref; else B := Right.Ref; A := Left.Ref; end if; for I in A.all'Range loop if A(I) /= 0 then declare Tmp_Result : Trit_Array (1..I+B.all'Length-1) := (others => 0); begin for J in B.all'Range loop Tmp_Result(I+J-1) := B(J) * A(I); end loop; Result := Result.Ref.all + Tmp_Result; end; end if; end loop; return Result; end "*"; procedure Adjust (Object : in out Balanced_Ternary) is begin Object.Ref := new Trit_Array'(Object.Ref.all); end Adjust; procedure Finalize (Object : in out Balanced_Ternary) is begin Free (Object.Ref); end Finalize; procedure Initialize (Object : in out Balanced_Ternary) is begin Object.Ref := new Trit_Array'(1 => 0); end Initialize; end BT;
----------------------------------------------------------------------- -- awa-wikis-parsers -- Wiki parser -- Copyright (C) 2011, 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.Wide_Wide_Unbounded; with AWA.Wikis.Documents; -- The <b>AWA.Wikis.Parsers</b> package implements a parser for several well known wiki formats. -- The parser works with the <b>Document_Reader</b> interface type which defines several -- procedures that are called by the parser when the wiki text is scanned. package AWA.Wikis.Parsers is pragma Preelaborate; -- Defines the possible wiki syntax supported by the parser. type Wiki_Syntax_Type is ( -- Google wiki syntax http://code.google.com/p/support/wiki/WikiSyntax SYNTAX_GOOGLE, -- Creole wiki syntax http://www.wikicreole.org/wiki/Creole1.0 SYNTAX_CREOLE, -- Dotclear syntax http://dotclear.org/documentation/2.0/usage/syntaxes SYNTAX_DOTCLEAR, -- PhpBB syntax http://wiki.phpbb.com/Help:Formatting SYNTAX_PHPBB, -- MediaWiki syntax http://www.mediawiki.org/wiki/Help:Formatting SYNTAX_MEDIA_WIKI, -- A mix of the above SYNTAX_MIX); -- Parse the wiki text contained in <b>Text</b> according to the wiki syntax -- specified in <b>Syntax</b> and invoke the document reader procedures defined -- by <b>into</b>. procedure Parse (Into : in AWA.Wikis.Documents.Document_Reader_Access; Text : in Wide_Wide_String; Syntax : in Wiki_Syntax_Type := SYNTAX_MIX); private HT : constant Wide_Wide_Character := Wide_Wide_Character'Val (16#09#); LF : constant Wide_Wide_Character := Wide_Wide_Character'Val (16#0A#); CR : constant Wide_Wide_Character := Wide_Wide_Character'Val (16#0D#); type Input is interface; type Input_Access is access all Input'Class; procedure Read_Char (From : in out Input; Token : out Wide_Wide_Character; Eof : out Boolean) is abstract; type Parser is limited record Pending : Wide_Wide_Character; Has_Pending : Boolean; Document : AWA.Wikis.Documents.Document_Reader_Access; Format : AWA.Wikis.Documents.Format_Map; Text : Ada.Strings.Wide_Wide_Unbounded.Unbounded_Wide_Wide_String; Empty_Line : Boolean := True; Is_Eof : Boolean := False; In_Paragraph : Boolean := False; Need_Paragraph : Boolean := True; Link_Double_Bracket : Boolean := False; Is_Dotclear : Boolean := False; Header_Offset : Integer := 0; Quote_Level : Natural := 0; Escape_Char : Wide_Wide_Character; List_Level : Natural := 0; Reader : Input_Access := null; end record; type Parser_Handler is access procedure (P : in out Parser; Token : in Wide_Wide_Character); type Parser_Table is array (0 .. 127) of Parser_Handler; type Parser_Table_Access is access Parser_Table; end AWA.Wikis.Parsers;
-- Copyright 2008, 2009, 2010, 2011 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. package Pck is First : Character := ASCII.NUL; Last : Character := ASCII.NUL; Length : Integer := 0; procedure Call_Me (Str : String); end Pck;
-- Copyright 2017-2020 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with Pck; use Pck; procedure Foo is begin P (null); -- BREAK end Foo;
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstelement_h; with glib; with glib.Values; with System; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstmessage_h; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h; package GStreamer.GST_Low_Level.gstreamer_0_10_gst_pbutils_missing_plugins_h is -- GStreamer base utils library missing plugins support -- * Copyright (C) 2006 Tim-Philipp Müller <tim centricular net> -- * -- * 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. -- -- * functions to create missing-plugin messages, for use by plugins primarily -- function gst_missing_uri_source_message_new (element : access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstelement_h.GstElement; protocol : access GLIB.gchar) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstmessage_h.GstMessage; -- gst/pbutils/missing-plugins.h:32 pragma Import (C, gst_missing_uri_source_message_new, "gst_missing_uri_source_message_new"); function gst_missing_uri_sink_message_new (element : access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstelement_h.GstElement; protocol : access GLIB.gchar) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstmessage_h.GstMessage; -- gst/pbutils/missing-plugins.h:35 pragma Import (C, gst_missing_uri_sink_message_new, "gst_missing_uri_sink_message_new"); function gst_missing_element_message_new (element : access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstelement_h.GstElement; factory_name : access GLIB.gchar) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstmessage_h.GstMessage; -- gst/pbutils/missing-plugins.h:38 pragma Import (C, gst_missing_element_message_new, "gst_missing_element_message_new"); function gst_missing_decoder_message_new (element : access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstelement_h.GstElement; decode_caps : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h.GstCaps) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstmessage_h.GstMessage; -- gst/pbutils/missing-plugins.h:41 pragma Import (C, gst_missing_decoder_message_new, "gst_missing_decoder_message_new"); function gst_missing_encoder_message_new (element : access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstelement_h.GstElement; encode_caps : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h.GstCaps) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstmessage_h.GstMessage; -- gst/pbutils/missing-plugins.h:44 pragma Import (C, gst_missing_encoder_message_new, "gst_missing_encoder_message_new"); -- * functions for use by applications when dealing with missing-plugin messages -- function gst_missing_plugin_message_get_installer_detail (msg : access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstmessage_h.GstMessage) return access GLIB.gchar; -- gst/pbutils/missing-plugins.h:51 pragma Import (C, gst_missing_plugin_message_get_installer_detail, "gst_missing_plugin_message_get_installer_detail"); function gst_missing_plugin_message_get_description (msg : access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstmessage_h.GstMessage) return access GLIB.gchar; -- gst/pbutils/missing-plugins.h:53 pragma Import (C, gst_missing_plugin_message_get_description, "gst_missing_plugin_message_get_description"); function gst_is_missing_plugin_message (msg : access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstmessage_h.GstMessage) return GLIB.gboolean; -- gst/pbutils/missing-plugins.h:55 pragma Import (C, gst_is_missing_plugin_message, "gst_is_missing_plugin_message"); -- * functions for use by applications that know exactly what plugins they are -- * missing and want to request them directly rather than just react to -- * missing-plugin messages posted by elements such as playbin or decodebin -- function gst_missing_uri_source_installer_detail_new (protocol : access GLIB.gchar) return access GLIB.gchar; -- gst/pbutils/missing-plugins.h:64 pragma Import (C, gst_missing_uri_source_installer_detail_new, "gst_missing_uri_source_installer_detail_new"); function gst_missing_uri_sink_installer_detail_new (protocol : access GLIB.gchar) return access GLIB.gchar; -- gst/pbutils/missing-plugins.h:66 pragma Import (C, gst_missing_uri_sink_installer_detail_new, "gst_missing_uri_sink_installer_detail_new"); function gst_missing_element_installer_detail_new (factory_name : access GLIB.gchar) return access GLIB.gchar; -- gst/pbutils/missing-plugins.h:68 pragma Import (C, gst_missing_element_installer_detail_new, "gst_missing_element_installer_detail_new"); function gst_missing_decoder_installer_detail_new (decode_caps : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h.GstCaps) return access GLIB.gchar; -- gst/pbutils/missing-plugins.h:70 pragma Import (C, gst_missing_decoder_installer_detail_new, "gst_missing_decoder_installer_detail_new"); function gst_missing_encoder_installer_detail_new (encode_caps : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h.GstCaps) return access GLIB.gchar; -- gst/pbutils/missing-plugins.h:72 pragma Import (C, gst_missing_encoder_installer_detail_new, "gst_missing_encoder_installer_detail_new"); end GStreamer.GST_Low_Level.gstreamer_0_10_gst_pbutils_missing_plugins_h;
<?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>erode_0_0_2160_3840_0_3_3_1_1_11</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>imgHelper1_4101</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName>FIFO_SRL</coreName> <coreId>3581614080</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <direction>0</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>imgHelper2_4102</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>8</bitwidth> </Value> <direction>1</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>p_src_rows</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName>FIFO_SRL</coreName> <coreId>97</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_4"> <Value> <Obj> <type>1</type> <id>4</id> <name>p_src_cols</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName>FIFO_SRL</coreName> <coreId>113</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</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>6</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_5"> <Value> <Obj> <type>0</type> <id>11</id> <name>p_src_rows_read</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_erosion.hpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>344</lineNumber> <contextFuncName>erode&amp;lt;0, 0, 2160, 3840, 0, 3, 3, 1, 1&amp;gt;</contextFuncName> <contextNormFuncName>erode_0_0_2160_3840_0_3_3_1_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</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>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_erosion.hpp</first> <second>erode&amp;lt;0, 0, 2160, 3840, 0, 3, 3, 1, 1&amp;gt;</second> </first> <second>344</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>19</item> <item>20</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.36</m_delay> <m_topoIndex>1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>12</id> <name>p_src_cols_read</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_erosion.hpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>345</lineNumber> <contextFuncName>erode&amp;lt;0, 0, 2160, 3840, 0, 3, 3, 1, 1&amp;gt;</contextFuncName> <contextNormFuncName>erode_0_0_2160_3840_0_3_3_1_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_erosion.hpp</first> <second>erode&amp;lt;0, 0, 2160, 3840, 0, 3, 3, 1, 1&amp;gt;</second> </first> <second>345</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control>auto</control> <opType>fifo</opType> <implIndex>srl</implIndex> <coreName>FIFO_SRL</coreName> <coreId>81</coreId> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>21</item> <item>22</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.36</m_delay> <m_topoIndex>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>13</id> <name>trunc_ln344</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_erosion.hpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>344</lineNumber> <contextFuncName>erode&amp;lt;0, 0, 2160, 3840, 0, 3, 3, 1, 1&amp;gt;</contextFuncName> <contextNormFuncName>erode_0_0_2160_3840_0_3_3_1_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_erosion.hpp</first> <second>erode&amp;lt;0, 0, 2160, 3840, 0, 3, 3, 1, 1&amp;gt;</second> </first> <second>344</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>trunc_ln344_fu_52_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <coreId>132</coreId> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>23</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>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>14</id> <name>trunc_ln345</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_erosion.hpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>345</lineNumber> <contextFuncName>erode&amp;lt;0, 0, 2160, 3840, 0, 3, 3, 1, 1&amp;gt;</contextFuncName> <contextNormFuncName>erode_0_0_2160_3840_0_3_3_1_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_erosion.hpp</first> <second>erode&amp;lt;0, 0, 2160, 3840, 0, 3, 3, 1, 1&amp;gt;</second> </first> <second>345</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>trunc_ln345_fu_57_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <coreId>129</coreId> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>24</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>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>15</id> <name>_ln365</name> <fileName>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_erosion.hpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>365</lineNumber> <contextFuncName>erode&amp;lt;0, 0, 2160, 3840, 0, 3, 3, 1, 1&amp;gt;</contextFuncName> <contextNormFuncName>erode_0_0_2160_3840_0_3_3_1_1_s</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/willychiang/Desktop/PYNQ-HelloWorld/boards/ip/vitis_lib/vision/L1/include/imgproc/xf_erosion.hpp</first> <second>erode&amp;lt;0, 0, 2160, 3840, 0, 3, 3, 1, 1&amp;gt;</second> </first> <second>365</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_xferode_2160_3840_1_0_1_0_3841_3_3_s_fu_42</rtlName> <control/> <opType/> <implIndex/> <coreName/> <coreId>129</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>5</count> <item_version>0</item_version> <item>26</item> <item>27</item> <item>28</item> <item>29</item> <item>30</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>16</id> <name>_ln0</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>1702127986</coreId> </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>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_11"> <Value> <Obj> <type>2</type> <id>25</id> <name>xferode_2160_3840_1_0_1_0_3841_3_3_s</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>145</coreId> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:xferode&lt;2160, 3840, 1, 0, 1, 0, 3841, 3, 3&gt;&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="_12"> <Obj> <type>3</type> <id>17</id> <name>erode&lt;0, 0, 2160, 3840, 0, 3, 3, 1, 1&gt;11</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <coreId>1768189039</coreId> </Obj> <node_objs> <count>6</count> <item_version>0</item_version> <item>11</item> <item>12</item> <item>13</item> <item>14</item> <item>15</item> <item>16</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="_13"> <id>20</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>11</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_14"> <id>22</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>12</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_15"> <id>23</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>13</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_16"> <id>24</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>14</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_17"> <id>26</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_18"> <id>27</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_19"> <id>28</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_20"> <id>29</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_21"> <id>30</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_22"> <mId>1</mId> <mTag>erode&lt;0, 0, 2160, 3840, 0, 3, 3, 1, 1&gt;11</mTag> <mNormTag>erode_0_0_2160_3840_0_3_3_1_1_11</mNormTag> <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>17</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>13</mMinLatency> <mMaxLatency>8319373</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_23"> <states class_id="25" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_24"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>5</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_25"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_26"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_27"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_28"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_29"> <id>15</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_30"> <id>2</id> <operations> <count>8</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_31"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_32"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_33"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_34"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_35"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_36"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_37"> <id>15</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_38"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_39"> <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> </transitions> </fsm> <res class_id="34" tracking_level="1" version="0" object_id="_40"> <dp_component_resource class_id="35" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="36" tracking_level="0" version="0"> <first>grp_xferode_2160_3840_1_0_1_0_3841_3_3_s_fu_42 (xferode_2160_3840_1_0_1_0_3841_3_3_s)</first> <second class_id="37" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>BRAM</first> <second>6</second> </item> <item> <first>FF</first> <second>611</second> </item> <item> <first>LUT</first> <second>819</second> </item> </second> </item> </dp_component_resource> <dp_expression_resource> <count>1</count> <item_version>0</item_version> <item> <first>ap_block_state1 ( or ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>1</second> </item> </second> </item> </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>6</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>3</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>3</second> </item> <item> <first>LUT</first> <second>13</second> </item> </second> </item> <item> <first>ap_done</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>imgHelper1_4101_read</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>imgHelper2_4102_write</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>p_src_cols_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>p_src_rows_blk_n</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> </dp_multiplexer_resource> <dp_register_resource> <count>5</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>2</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>2</second> </item> </second> </item> <item> <first>ap_done_reg</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>grp_xferode_2160_3840_1_0_1_0_3841_3_3_s_fu_42_ap_start_reg</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>trunc_ln344_reg_62</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>16</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>16</second> </item> </second> </item> <item> <first>trunc_ln345_reg_67</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>16</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>16</second> </item> </second> </item> </dp_register_resource> <dp_dsp_resource> <count>1</count> <item_version>0</item_version> <item> <first>grp_xferode_2160_3840_1_0_1_0_3841_3_3_s_fu_42</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> </dp_dsp_resource> <dp_component_map class_id="39" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="40" tracking_level="0" version="0"> <first>grp_xferode_2160_3840_1_0_1_0_3841_3_3_s_fu_42 (xferode_2160_3840_1_0_1_0_3841_3_3_s)</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> </dp_component_map> <dp_expression_map> <count>0</count> <item_version>0</item_version> </dp_expression_map> <dp_fifo_map> <count>0</count> <item_version>0</item_version> </dp_fifo_map> <dp_memory_map> <count>0</count> <item_version>0</item_version> </dp_memory_map> </res> <node_label_latency class_id="41" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="42" tracking_level="0" version="0"> <first>11</first> <second class_id="43" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>12</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>13</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>14</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>15</first> <second> <first>0</first> <second>1</second> </second> </item> <item> <first>16</first> <second> <first>1</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="44" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="45" tracking_level="0" version="0"> <first>17</first> <second class_id="46" tracking_level="0" version="0"> <first>0</first> <second>1</second> </second> </item> </bblk_ent_exit> <regions class_id="47" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </regions> <dp_fu_nodes class_id="48" tracking_level="0" version="0"> <count>5</count> <item_version>0</item_version> <item class_id="49" tracking_level="0" version="0"> <first>30</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>36</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>42</first> <second> <count>2</count> <item_version>0</item_version> <item>15</item> <item>15</item> </second> </item> <item> <first>52</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>57</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="51" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="52" tracking_level="0" version="0"> <first>trunc_ln344_fu_52</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>trunc_ln345_fu_57</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>1</count> <item_version>0</item_version> <item> <first>grp_xferode_2160_3840_1_0_1_0_3841_3_3_s_fu_42</first> <second> <count>2</count> <item_version>0</item_version> <item>15</item> <item>15</item> </second> </item> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>2</count> <item_version>0</item_version> <item> <first>p_src_cols_read_read_fu_36</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>p_src_rows_read_read_fu_30</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="53" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>2</count> <item_version>0</item_version> <item> <first>62</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>67</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>2</count> <item_version>0</item_version> <item> <first>trunc_ln344_reg_62</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>trunc_ln345_reg_67</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="54" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="55" tracking_level="0" version="0"> <first>imgHelper1_4101</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> </second> </item> <item> <first>imgHelper2_4102</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>call</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> </second> </item> <item> <first>p_src_cols</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> </second> </item> <item> <first>p_src_rows</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core> <count>4</count> <item_version>0</item_version> <item> <first>1</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>2</first> <second> <first>1151</first> <second>10</second> </second> </item> <item> <first>3</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>4</first> <second> <first>1150</first> <second>10</second> </second> </item> </port2core> <node2core> <count>3</count> <item_version>0</item_version> <item> <first>11</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>12</first> <second> <first>1150</first> <second>10</second> </second> </item> <item> <first>15</first> <second> <first>-1</first> <second>-1</second> </second> </item> </node2core> </syndb> </boost_serialization>
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Tools Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2014, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- Abstract_Test is base tagged type to implement tests. ------------------------------------------------------------------------------ package Configure.Abstract_Tests is type Abstract_Test is abstract tagged limited private; not overriding function Name (Self : Abstract_Test) return String is abstract; -- Returns name of the test to be used in reports. not overriding function Help (Self : Abstract_Test) return Unbounded_String_Vector is abstract; -- Returns help information for test. not overriding procedure Execute (Self : in out Abstract_Test; Arguments : in out Unbounded_String_Vector) is abstract; -- Executes test's actions. All used arguments must be removed from -- Arguments. procedure Report_Check (Self : in out Abstract_Test'Class; Message : String); -- Outputs check message. procedure Report_Status (Self : Abstract_Test'Class; Message : String); -- Outputs check status message. procedure Report_Log (Self : Abstract_Test'Class; Message : String); -- Outputs log message. private type Abstract_Test is abstract tagged limited record Test_Log_Prefix : Ada.Strings.Unbounded.Unbounded_String; end record; end Configure.Abstract_Tests;
package Giza.Hershey_Fonts.Gothicger is Font : constant Giza.Font.Ref_Const; private Glyph_0 : aliased constant Glyph := (Number_Of_Vectors => 0, Width => 16, Height => 0, Y_Offset => 0, X_Offset => -8, Vects => (others => (Raise_Pen))); Glyph_1 : aliased constant Glyph := (Number_Of_Vectors => 30, Width => 12, Height => 21, Y_Offset => -12, X_Offset => -6, Vects => (Raise_Pen, (0, -12), (-1, -11), (-3, -10), (-1, -9), (0, 2), Raise_Pen, (0, -9), (1, -10), (0, -11), (-1, -10), (0, -9), (0, 2), Raise_Pen, (0, -12), (1, -11), (3, -10), (1, -9), (0, 2), Raise_Pen, (0, 6), (-2, 8), (0, 9), (2, 8), (0, 6), Raise_Pen, (0, 7), (-1, 8), (1, 8), (0, 7))); Glyph_2 : aliased constant Glyph := (Number_Of_Vectors => 22, Width => 18, Height => 7, Y_Offset => -12, X_Offset => -9, Vects => (Raise_Pen, (-4, -12), (-5, -11), (-5, -5), Raise_Pen, (-4, -11), (-5, -5), Raise_Pen, (-4, -12), (-3, -11), (-5, -5), Raise_Pen, (5, -12), (4, -11), (4, -5), Raise_Pen, (5, -11), (4, -5), Raise_Pen, (5, -12), (6, -11), (4, -5))); Glyph_3 : aliased constant Glyph := (Number_Of_Vectors => 12, Width => 21, Height => 32, Y_Offset => -16, X_Offset => -10, Vects => (Raise_Pen, (1, -16), (-6, 16), Raise_Pen, (7, -16), (0, 16), Raise_Pen, (-6, -3), (8, -3), Raise_Pen, (-7, 3), (7, 3))); Glyph_4 : aliased constant Glyph := (Number_Of_Vectors => 60, Width => 20, Height => 29, Y_Offset => -16, X_Offset => -10, Vects => (Raise_Pen, (-2, -16), (-2, 13), Raise_Pen, (2, -16), (2, 13), Raise_Pen, (2, -12), (4, -11), (5, -9), (5, -7), (7, -8), (6, -10), (5, -11), (2, -12), (-2, -12), (-5, -11), (-7, -9), (-7, -6), (-6, -4), (-3, -2), (3, 0), (5, 1), (6, 3), (6, 6), (5, 8), Raise_Pen, (6, -8), (5, -10), Raise_Pen, (-6, -6), (-5, -4), (-3, -3), (3, -1), (5, 0), (6, 2), Raise_Pen, (-5, 7), (-6, 5), Raise_Pen, (-5, -11), (-6, -9), (-6, -7), (-5, -5), (-3, -4), (3, -2), (6, 0), (7, 2), (7, 5), (6, 7), (5, 8), (2, 9), (-2, 9), (-5, 8), (-6, 7), (-7, 5), (-5, 4), (-5, 6), (-4, 8), (-2, 9))); Glyph_5 : aliased constant Glyph := (Number_Of_Vectors => 32, Width => 24, Height => 21, Y_Offset => -12, X_Offset => -12, Vects => (Raise_Pen, (9, -12), (-9, 9), Raise_Pen, (-4, -12), (-2, -10), (-2, -8), (-3, -6), (-5, -5), (-7, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-4, -12), (-2, -11), (1, -10), (4, -10), (7, -11), (9, -12), Raise_Pen, (5, 2), (3, 3), (2, 5), (2, 7), (4, 9), (6, 9), (8, 8), (9, 6), (9, 4), (7, 2), (5, 2))); Glyph_6 : aliased constant Glyph := (Number_Of_Vectors => 62, Width => 26, Height => 21, Y_Offset => -12, X_Offset => -13, Vects => (Raise_Pen, (7, -4), (8, -3), (9, -3), (10, -4), Raise_Pen, (6, -3), (7, -2), (9, -2), Raise_Pen, (6, -2), (7, -1), (8, -1), (9, -2), (10, -4), Raise_Pen, (7, -4), (1, 2), Raise_Pen, (0, 3), (-6, 9), (-10, 4), (-4, -2), Raise_Pen, (-3, -3), (1, -7), (-3, -12), (-8, -6), (-2, 0), (2, 6), (4, 8), (6, 9), (8, 9), (9, 8), (10, 6), Raise_Pen, (-6, 8), (-9, 4), Raise_Pen, (0, -7), (-3, -11), Raise_Pen, (-7, -6), (-2, -1), (2, 5), (4, 7), (6, 8), (9, 8), Raise_Pen, (-5, 8), (-9, 3), Raise_Pen, (0, -6), (-4, -11), Raise_Pen, (-7, -7), (-1, -1), (3, 5), (4, 6), (6, 7), (9, 7), (10, 6))); Glyph_7 : aliased constant Glyph := (Number_Of_Vectors => 11, Width => 9, Height => 7, Y_Offset => -12, X_Offset => -4, Vects => (Raise_Pen, (1, -12), (0, -11), (0, -5), Raise_Pen, (1, -11), (0, -5), Raise_Pen, (1, -12), (2, -11), (0, -5))); Glyph_8 : aliased constant Glyph := (Number_Of_Vectors => 27, Width => 14, Height => 32, Y_Offset => -16, X_Offset => -7, Vects => (Raise_Pen, (3, -16), (1, -14), (-1, -11), (-3, -7), (-4, -2), (-4, 2), (-3, 7), (-1, 11), (1, 14), (3, 16), Raise_Pen, (-1, -10), (-2, -7), (-3, -3), (-3, 3), (-2, 7), (-1, 10), Raise_Pen, (1, -14), (0, -12), (-1, -9), (-2, -3), (-2, 3), (-1, 9), (0, 12), (1, 14))); Glyph_9 : aliased constant Glyph := (Number_Of_Vectors => 27, Width => 14, Height => 32, Y_Offset => -16, X_Offset => -7, Vects => (Raise_Pen, (-3, -16), (-1, -14), (1, -11), (3, -7), (4, -2), (4, 2), (3, 7), (1, 11), (-1, 14), (-3, 16), Raise_Pen, (1, -10), (2, -7), (3, -3), (3, 3), (2, 7), (1, 10), Raise_Pen, (-1, -14), (0, -12), (1, -9), (2, -3), (2, 3), (1, 9), (0, 12), (-1, 14))); Glyph_10 : aliased constant Glyph := (Number_Of_Vectors => 39, Width => 16, Height => 12, Y_Offset => -12, X_Offset => -8, Vects => (Raise_Pen, (0, -12), (-1, -11), (1, -1), (0, 0), Raise_Pen, (0, -12), (0, 0), Raise_Pen, (0, -12), (1, -11), (-1, -1), (0, 0), Raise_Pen, (-5, -9), (-4, -9), (4, -3), (5, -3), Raise_Pen, (-5, -9), (5, -3), Raise_Pen, (-5, -9), (-5, -8), (5, -4), (5, -3), Raise_Pen, (5, -9), (4, -9), (-4, -3), (-5, -3), Raise_Pen, (5, -9), (-5, -3), Raise_Pen, (5, -9), (5, -8), (-5, -4), (-5, -3))); Glyph_11 : aliased constant Glyph := (Number_Of_Vectors => 16, Width => 25, Height => 17, Y_Offset => -9, X_Offset => -12, Vects => (Raise_Pen, (0, -9), (0, 8), (1, 8), Raise_Pen, (0, -9), (1, -9), (1, 8), Raise_Pen, (-8, -1), (9, -1), (9, 0), Raise_Pen, (-8, -1), (-8, 0), (9, 0))); Glyph_12 : aliased constant Glyph := (Number_Of_Vectors => 14, Width => 12, Height => 7, Y_Offset => 6, X_Offset => -6, Vects => (Raise_Pen, (0, 12), (0, 10), (-2, 8), (0, 6), (1, 8), (1, 10), (0, 12), (-2, 13), Raise_Pen, (0, 7), (-1, 8), (0, 9), (0, 7))); Glyph_13 : aliased constant Glyph := (Number_Of_Vectors => 3, Width => 26, Height => 0, Y_Offset => 0, X_Offset => -13, Vects => (Raise_Pen, (-9, 0), (9, 0))); Glyph_14 : aliased constant Glyph := (Number_Of_Vectors => 11, Width => 12, Height => 3, Y_Offset => 6, X_Offset => -6, Vects => (Raise_Pen, (0, 6), (-2, 8), (0, 9), (2, 8), (0, 6), Raise_Pen, (0, 7), (-1, 8), (1, 8), (0, 7))); Glyph_15 : aliased constant Glyph := (Number_Of_Vectors => 8, Width => 23, Height => 32, Y_Offset => -16, X_Offset => -11, Vects => (Raise_Pen, (9, -16), (-9, 16), (-8, 16), Raise_Pen, (9, -16), (10, -16), (-8, 16))); Glyph_16 : aliased constant Glyph := (Number_Of_Vectors => 42, Width => 20, Height => 21, Y_Offset => -12, X_Offset => -10, Vects => (Raise_Pen, (-6, -10), (-6, 6), (-8, 7), Raise_Pen, (-5, -9), (-5, 6), (-2, 8), Raise_Pen, (-4, -10), (-4, 6), (-2, 7), (-1, 8), Raise_Pen, (-6, -10), (-4, -10), (1, -11), (3, -12), Raise_Pen, (1, -11), (2, -10), (4, -9), (4, 7), Raise_Pen, (2, -11), (5, -9), (5, 6), Raise_Pen, (3, -12), (4, -11), (6, -10), (8, -10), (6, -9), (6, 7), Raise_Pen, (-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7))); Glyph_17 : aliased constant Glyph := (Number_Of_Vectors => 27, Width => 20, Height => 21, Y_Offset => -12, X_Offset => -10, Vects => (Raise_Pen, (-3, -10), (-2, -9), (-1, -7), (-1, 6), (-3, 7), Raise_Pen, (-1, -9), (-2, -10), (-1, -11), (0, -9), (0, 7), (2, 8), Raise_Pen, (-3, -10), (0, -12), (1, -10), (1, 6), (3, 7), (4, 7), Raise_Pen, (-3, 7), (-2, 7), (0, 8), (1, 9), (2, 8), (4, 7))); Glyph_18 : aliased constant Glyph := (Number_Of_Vectors => 48, Width => 20, Height => 21, Y_Offset => -12, X_Offset => -10, Vects => (Raise_Pen, (-6, -10), (-4, -10), (-2, -11), (-1, -12), (1, -11), (4, -10), (6, -10), Raise_Pen, (-2, -10), (0, -11), Raise_Pen, (-6, -10), (-4, -9), (-2, -9), (0, -10), (1, -11), Raise_Pen, (4, -10), (4, -2), Raise_Pen, (5, -9), (5, -3), Raise_Pen, (6, -10), (6, -2), (-1, -2), (-4, -1), (-6, 1), (-7, 4), (-7, 9), Raise_Pen, (-7, 9), (-3, 7), (1, 6), (4, 6), (8, 7), Raise_Pen, (-4, 8), (-1, 7), (4, 7), (7, 8), Raise_Pen, (-7, 9), (-2, 8), (3, 8), (6, 9), (8, 7))); Glyph_19 : aliased constant Glyph := (Number_Of_Vectors => 57, Width => 20, Height => 21, Y_Offset => -12, X_Offset => -10, Vects => (Raise_Pen, (-6, -10), (-5, -10), (-3, -11), (-2, -12), (0, -11), (4, -10), (6, -10), Raise_Pen, (-3, -10), (-1, -11), Raise_Pen, (-6, -10), (-4, -9), (-2, -9), (0, -11), Raise_Pen, (4, -10), (4, -3), Raise_Pen, (5, -9), (5, -4), Raise_Pen, (6, -10), (6, -3), (4, -3), (1, -2), (-1, -1), Raise_Pen, (-1, -2), (1, -1), (4, 0), (6, 0), (6, 7), Raise_Pen, (5, 1), (5, 6), Raise_Pen, (4, 0), (4, 7), Raise_Pen, (-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8), Raise_Pen, (-3, 7), (-1, 8), Raise_Pen, (-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7))); Glyph_20 : aliased constant Glyph := (Number_Of_Vectors => 41, Width => 20, Height => 21, Y_Offset => -12, X_Offset => -10, Vects => (Raise_Pen, (3, -12), (-7, -2), (-7, 3), (2, 3), Raise_Pen, (4, 3), (8, 3), (9, 4), (9, 2), (8, 3), Raise_Pen, (-6, -2), (-6, 2), Raise_Pen, (-5, -4), (-5, 3), Raise_Pen, (2, -11), (2, 6), (0, 7), Raise_Pen, (3, -8), (4, -10), (3, -11), (3, 7), (5, 8), Raise_Pen, (3, -12), (5, -10), (4, -8), (4, 6), (6, 7), (7, 7), Raise_Pen, (0, 7), (1, 7), (3, 8), (4, 9), (5, 8), (7, 7))); Glyph_21 : aliased constant Glyph := (Number_Of_Vectors => 53, Width => 20, Height => 21, Y_Offset => -12, X_Offset => -10, Vects => (Raise_Pen, (-6, -12), (-6, -3), Raise_Pen, (-6, -12), (6, -12), Raise_Pen, (-5, -11), (4, -11), Raise_Pen, (-6, -10), (3, -10), (5, -11), (6, -12), Raise_Pen, (4, -6), (3, -5), (1, -4), (-3, -3), (-6, -3), Raise_Pen, (1, -4), (2, -4), (4, -3), (4, 7), Raise_Pen, (3, -5), (5, -4), (5, 6), Raise_Pen, (4, -6), (5, -5), (7, -4), (8, -4), (6, -3), (6, 7), Raise_Pen, (-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8), Raise_Pen, (-3, 7), (-1, 8), Raise_Pen, (-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7))); Glyph_22 : aliased constant Glyph := (Number_Of_Vectors => 59, Width => 20, Height => 21, Y_Offset => -12, X_Offset => -10, Vects => (Raise_Pen, (-6, -10), (-6, 6), (-8, 7), Raise_Pen, (-5, -9), (-5, 6), (-2, 8), Raise_Pen, (-4, -10), (-4, 6), (-2, 7), (-1, 8), Raise_Pen, (-6, -10), (-4, -10), (0, -11), (2, -12), (3, -11), (5, -10), (6, -10), Raise_Pen, (1, -11), (3, -10), Raise_Pen, (0, -11), (2, -9), (4, -9), (6, -10), Raise_Pen, (-4, -2), (-3, -2), (1, -3), (3, -4), (4, -5), Raise_Pen, (1, -3), (2, -3), (4, -2), (4, 7), Raise_Pen, (3, -4), (5, -2), (5, 6), Raise_Pen, (4, -5), (5, -4), (7, -3), (8, -3), (6, -2), (6, 7), Raise_Pen, (-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7))); Glyph_23 : aliased constant Glyph := (Number_Of_Vectors => 38, Width => 20, Height => 21, Y_Offset => -12, X_Offset => -10, Vects => (Raise_Pen, (-7, -10), (-5, -12), (-2, -11), (3, -11), (8, -12), Raise_Pen, (-6, -11), (-3, -10), (2, -10), (5, -11), Raise_Pen, (-7, -10), (-3, -9), (0, -9), (4, -10), (8, -12), Raise_Pen, (8, -12), (7, -10), (5, -7), (1, -3), (-1, 0), (-2, 3), (-2, 6), (-1, 9), Raise_Pen, (0, -1), (-1, 2), (-1, 5), (0, 8), Raise_Pen, (3, -5), (1, -2), (0, 1), (0, 4), (1, 7), (-1, 9))); Glyph_24 : aliased constant Glyph := (Number_Of_Vectors => 71, Width => 20, Height => 21, Y_Offset => -12, X_Offset => -10, Vects => (Raise_Pen, (-6, -9), (-6, -3), Raise_Pen, (-5, -8), (-5, -4), Raise_Pen, (-4, -9), (-4, -3), Raise_Pen, (-6, -9), (-4, -9), (1, -10), (3, -11), (4, -12), Raise_Pen, (1, -10), (2, -10), (4, -9), (4, -3), Raise_Pen, (3, -11), (5, -10), (5, -4), Raise_Pen, (4, -12), (5, -11), (7, -10), (8, -10), (6, -9), (6, -3), Raise_Pen, (-6, -3), (-4, -3), (4, 0), (6, 0), Raise_Pen, (6, -3), (4, -3), (-4, 0), (-6, 0), Raise_Pen, (-6, 0), (-6, 6), (-8, 7), Raise_Pen, (-5, 1), (-5, 6), (-2, 8), Raise_Pen, (-4, 0), (-4, 6), (-2, 7), (-1, 8), Raise_Pen, (4, 0), (4, 7), Raise_Pen, (5, 1), (5, 6), Raise_Pen, (6, 0), (6, 7), Raise_Pen, (-8, 7), (-6, 7), (-4, 8), (-3, 9), (-1, 8), (4, 7), (6, 7))); Glyph_25 : aliased constant Glyph := (Number_Of_Vectors => 60, Width => 20, Height => 21, Y_Offset => -12, X_Offset => -10, Vects => (Raise_Pen, (-6, -10), (-6, -1), (-8, 0), Raise_Pen, (-5, -9), (-5, 0), (-3, 1), Raise_Pen, (-4, -10), (-4, -1), (-2, 0), (-1, 0), Raise_Pen, (-6, -10), (-4, -10), (1, -11), (3, -12), Raise_Pen, (1, -11), (2, -10), (4, -9), (4, 7), Raise_Pen, (2, -11), (5, -9), (5, 6), Raise_Pen, (3, -12), (4, -11), (6, -10), (8, -10), (6, -9), (6, 7), Raise_Pen, (-8, 0), (-7, 0), (-5, 1), (-4, 2), (-3, 1), (-1, 0), (3, -1), (4, -1), Raise_Pen, (-7, 7), (-5, 6), (-3, 6), (-1, 7), (0, 8), Raise_Pen, (-3, 7), (-1, 8), Raise_Pen, (-7, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (4, 7), (6, 7))); Glyph_26 : aliased constant Glyph := (Number_Of_Vectors => 22, Width => 12, Height => 14, Y_Offset => -5, X_Offset => -6, Vects => (Raise_Pen, (0, -5), (-2, -3), (0, -2), (2, -3), (0, -5), Raise_Pen, (0, -4), (-1, -3), (1, -3), (0, -4), Raise_Pen, (0, 6), (-2, 8), (0, 9), (2, 8), (0, 6), Raise_Pen, (0, 7), (-1, 8), (1, 8), (0, 7))); Glyph_27 : aliased constant Glyph := (Number_Of_Vectors => 25, Width => 12, Height => 18, Y_Offset => -5, X_Offset => -6, Vects => (Raise_Pen, (0, -5), (-2, -3), (0, -2), (2, -3), (0, -5), Raise_Pen, (0, -4), (-1, -3), (1, -3), (0, -4), Raise_Pen, (0, 12), (0, 10), (-2, 8), (0, 6), (1, 8), (1, 10), (0, 12), (-2, 13), Raise_Pen, (0, 7), (-1, 8), (0, 9), (0, 7))); Glyph_28 : aliased constant Glyph := (Number_Of_Vectors => 4, Width => 24, Height => 18, Y_Offset => -9, X_Offset => -12, Vects => (Raise_Pen, (8, -9), (-8, 0), (8, 9))); Glyph_29 : aliased constant Glyph := (Number_Of_Vectors => 16, Width => 25, Height => 9, Y_Offset => -5, X_Offset => -12, Vects => (Raise_Pen, (-8, -5), (9, -5), (9, -4), Raise_Pen, (-8, -5), (-8, -4), (9, -4), Raise_Pen, (-8, 3), (9, 3), (9, 4), Raise_Pen, (-8, 3), (-8, 4), (9, 4))); Glyph_30 : aliased constant Glyph := (Number_Of_Vectors => 4, Width => 24, Height => 18, Y_Offset => -9, X_Offset => -12, Vects => (Raise_Pen, (-8, -9), (8, 0), (-8, 9))); Glyph_31 : aliased constant Glyph := (Number_Of_Vectors => 51, Width => 18, Height => 21, Y_Offset => -12, X_Offset => -9, Vects => (Raise_Pen, (-6, -8), (-5, -10), (-4, -11), (-1, -12), (1, -12), (4, -11), (5, -10), (6, -8), (6, -6), (5, -4), (3, -2), (1, -1), Raise_Pen, (-5, -8), (-4, -10), Raise_Pen, (4, -10), (5, -9), (5, -5), (4, -4), Raise_Pen, (-6, -8), (-4, -7), (-4, -9), (-3, -11), (-1, -12), Raise_Pen, (1, -12), (3, -11), (4, -9), (4, -5), (3, -3), (1, -1), Raise_Pen, (0, -1), (0, 2), (1, -1), (-1, -1), (0, 2), Raise_Pen, (0, 6), (-2, 8), (0, 9), (2, 8), (0, 6), Raise_Pen, (0, 7), (-1, 8), (1, 8), (0, 7))); Glyph_32 : aliased constant Glyph := (Number_Of_Vectors => 56, Width => 27, Height => 21, Y_Offset => -12, X_Offset => -13, Vects => (Raise_Pen, (5, -4), (4, -6), (2, -7), (-1, -7), (-3, -6), (-4, -5), (-5, -2), (-5, 1), (-4, 3), (-2, 4), (1, 4), (3, 3), (4, 1), Raise_Pen, (-1, -7), (-3, -5), (-4, -2), (-4, 1), (-3, 3), (-2, 4), Raise_Pen, (5, -7), (4, 1), (4, 3), (6, 4), (8, 4), (10, 2), (11, -1), (11, -3), (10, -6), (9, -8), (7, -10), (5, -11), (2, -12), (-1, -12), (-4, -11), (-6, -10), (-8, -8), (-9, -6), (-10, -3), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (8, 6), Raise_Pen, (6, -7), (5, 1), (5, 3), (6, 4))); Glyph_33 : aliased constant Glyph := (Number_Of_Vectors => 62, Width => 24, Height => 21, Y_Offset => -12, X_Offset => -12, Vects => (Raise_Pen, (-9, -10), (-8, -9), (-9, -8), (-10, -9), (-9, -11), (-7, -12), (-5, -12), (-3, -11), (-2, -10), (-1, -7), (-1, -3), (-2, 0), (-4, 2), (-6, 3), (-9, 4), Raise_Pen, (-3, -10), (-2, -7), (-2, -2), (-3, 0), Raise_Pen, (-5, -12), (-4, -11), (-3, -8), (-3, -2), (-4, 1), (-6, 3), Raise_Pen, (-6, 4), (-3, 7), Raise_Pen, (-7, 4), (-3, 8), Raise_Pen, (-9, 4), (-4, 9), (3, 4), Raise_Pen, (10, -11), (9, -10), (10, -10), (10, -11), (9, -12), (7, -12), (5, -11), (4, -10), (3, -8), (3, 7), (5, 9), (9, 5), Raise_Pen, (5, -10), (4, -8), (4, 6), (6, 8), Raise_Pen, (7, -12), (6, -11), (5, -8), (5, 5), (7, 7))); Glyph_34 : aliased constant Glyph := (Number_Of_Vectors => 101, Width => 26, Height => 21, Y_Offset => -12, X_Offset => -13, Vects => (Raise_Pen, (-11, -1), (-11, 0), (-10, 1), (-8, 1), (-6, 0), (-6, -3), (-7, -5), (-9, -8), (-9, -10), (-7, -12), Raise_Pen, (-7, -3), (-9, -7), Raise_Pen, (-8, 1), (-7, 0), (-7, -2), (-9, -5), (-10, -7), (-10, -9), (-9, -11), (-7, -12), (-4, -12), (-2, -11), (-1, -10), (0, -8), (0, 0), (-1, 3), (-3, 5), Raise_Pen, (-2, -10), (-1, -8), (-1, 2), Raise_Pen, (-4, -12), (-3, -11), (-2, -8), (-2, 3), (-3, 5), Raise_Pen, (0, -9), (1, -11), (3, -12), (5, -12), (7, -11), (8, -10), (9, -8), (10, -7), Raise_Pen, (7, -10), (8, -8), Raise_Pen, (5, -12), (6, -11), (7, -8), (8, -7), (10, -7), Raise_Pen, (10, -7), (0, -2), Raise_Pen, (7, -5), (9, -3), (10, 0), (10, 3), (9, 6), (7, 8), (4, 9), (1, 9), (-2, 8), (-8, 5), (-9, 5), (-10, 6), Raise_Pen, (6, -4), (7, -4), (9, -2), Raise_Pen, (4, -4), (7, -3), (9, -1), (10, 1), Raise_Pen, (2, 8), (0, 8), (-6, 5), (-7, 5), Raise_Pen, (8, 7), (6, 8), (3, 8), (0, 7), (-4, 5), (-7, 4), (-9, 4), (-10, 6), (-10, 8), (-9, 9), (-8, 8), (-9, 7))); Glyph_35 : aliased constant Glyph := (Number_Of_Vectors => 79, Width => 24, Height => 21, Y_Offset => -12, X_Offset => -12, Vects => (Raise_Pen, (0, -10), (-2, -12), (-4, -12), (-6, -11), (-8, -8), (-9, -4), (-9, 0), (-8, 4), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (9, 5), Raise_Pen, (-6, -10), (-7, -8), (-8, -5), (-8, 0), (-7, 4), (-5, 7), (-2, 8), Raise_Pen, (-4, -12), (-5, -11), (-6, -9), (-7, -5), (-7, -1), (-6, 3), (-5, 5), (-3, 7), (0, 8), (3, 8), (6, 7), (9, 5), Raise_Pen, (3, -12), (0, -10), (-1, -9), (-2, -7), (-2, -6), (-1, -4), (2, -2), (3, 0), (3, 2), Raise_Pen, (-1, -7), (-1, -6), (3, -2), (3, -1), Raise_Pen, (-1, -9), (-1, -8), (0, -6), (3, -4), (4, -2), (4, 0), (3, 2), (1, 3), (0, 3), (-2, 2), (-3, 0), Raise_Pen, (3, -12), (4, -11), (6, -10), (8, -10), Raise_Pen, (3, -11), (4, -10), (5, -10), Raise_Pen, (2, -11), (4, -9), (6, -9), (8, -10), (9, -11))); Glyph_36 : aliased constant Glyph := (Number_Of_Vectors => 79, Width => 26, Height => 21, Y_Offset => -12, X_Offset => -13, Vects => (Raise_Pen, (-10, -6), (-10, -7), (-9, -9), (-7, -11), (-4, -12), (0, -12), (3, -11), (5, -10), (7, -8), (9, -5), (10, -1), (10, 3), (9, 6), (7, 8), (4, 9), (1, 9), (-2, 8), (-8, 5), (-9, 5), (-10, 6), Raise_Pen, (-7, -10), (-5, -11), (0, -11), (3, -10), (5, -9), (7, -7), (9, -4), Raise_Pen, (2, 8), (0, 8), (-6, 5), (-7, 5), Raise_Pen, (-10, -7), (-8, -9), (-5, -10), (0, -10), (3, -9), (5, -8), (7, -6), (9, -3), (10, 0), Raise_Pen, (8, 7), (6, 8), (3, 8), (0, 7), (-4, 5), (-7, 4), (-9, 4), (-10, 6), (-10, 8), (-9, 9), (-8, 8), (-9, 7), Raise_Pen, (-2, -10), (-5, -7), (-6, -5), (-6, -3), (-4, 1), (-4, 3), Raise_Pen, (-5, -4), (-5, -3), (-4, -1), (-4, 0), Raise_Pen, (-5, -7), (-5, -5), (-3, -1), (-3, 1), (-4, 3), (-5, 4), (-7, 4), (-8, 3), (-8, 2))); Glyph_37 : aliased constant Glyph := (Number_Of_Vectors => 95, Width => 24, Height => 21, Y_Offset => -12, X_Offset => -12, Vects => (Raise_Pen, (0, -10), (-2, -12), (-4, -12), (-6, -11), (-8, -8), (-9, -4), (-9, 0), (-8, 4), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (9, 5), Raise_Pen, (-6, -10), (-7, -8), (-8, -5), (-8, 0), (-7, 4), (-5, 7), (-2, 8), Raise_Pen, (-4, -12), (-5, -11), (-6, -9), (-7, -5), (-7, -1), (-6, 3), (-5, 5), (-3, 7), (0, 8), (3, 8), (6, 7), (9, 5), Raise_Pen, (3, -12), (0, -10), (-1, -9), (-2, -7), (-2, -6), (-1, -4), (2, -2), (3, 0), (3, 2), Raise_Pen, (-1, -7), (-1, -6), (3, -2), (3, -1), Raise_Pen, (-1, -9), (-1, -8), (0, -6), (3, -4), (4, -2), (4, 0), (3, 2), (1, 3), (0, 3), (-2, 2), (-3, 0), Raise_Pen, (3, -12), (4, -11), (6, -10), (8, -10), Raise_Pen, (3, -11), (4, -10), (5, -10), Raise_Pen, (2, -11), (4, -9), (6, -9), (8, -10), (9, -11), Raise_Pen, (3, -4), (7, -7), Raise_Pen, (7, -7), (8, -6), (10, -6), Raise_Pen, (6, -6), (7, -5), (8, -5), Raise_Pen, (5, -5), (6, -4), (8, -4), (10, -6))); Glyph_38 : aliased constant Glyph := (Number_Of_Vectors => 94, Width => 24, Height => 24, Y_Offset => -12, X_Offset => -12, Vects => (Raise_Pen, (-5, -4), (-7, -5), (-8, -7), (-8, -9), (-7, -11), (-4, -12), (-1, -12), (2, -11), (6, -9), Raise_Pen, (-7, -10), (-5, -11), (0, -11), (3, -10), Raise_Pen, (-8, -7), (-7, -9), (-5, -10), (0, -10), (6, -9), (8, -9), (9, -10), (9, -11), (8, -12), (7, -12), Raise_Pen, (1, -10), (0, -9), (-1, -7), (-1, -5), (0, -3), (4, 1), (5, 4), (5, 7), (4, 10), (3, 11), (1, 12), Raise_Pen, (2, -2), (5, 1), (6, 4), (6, 7), (5, 9), Raise_Pen, (-1, -5), (1, -3), (4, -1), (6, 1), (7, 4), (7, 7), (6, 9), (4, 11), (1, 12), (-3, 12), (-6, 11), (-7, 10), (-8, 8), (-8, 5), (-6, 2), (-6, 0), (-7, -1), Raise_Pen, (-6, 10), (-7, 9), (-7, 5), (-6, 3), Raise_Pen, (-3, 12), (-5, 11), (-6, 9), (-6, 5), (-5, 2), (-5, 0), (-6, -1), (-8, -1), (-9, 0), (-9, 1), Raise_Pen, (3, -2), (7, -6), Raise_Pen, (7, -6), (8, -5), (10, -5), Raise_Pen, (6, -5), (7, -4), (8, -4), Raise_Pen, (5, -4), (6, -3), (8, -3), (10, -5))); Glyph_39 : aliased constant Glyph := (Number_Of_Vectors => 99, Width => 26, Height => 21, Y_Offset => -12, X_Offset => -13, Vects => (Raise_Pen, (3, -8), (2, -10), (1, -11), (-1, -12), (-4, -12), (-7, -11), (-9, -8), (-10, -4), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (2, 9), (5, 8), (7, 7), (9, 5), (10, 2), (10, -1), (9, -4), (7, -6), Raise_Pen, (-7, -10), (-8, -8), (-9, -5), (-9, 0), (-8, 3), (-7, 5), Raise_Pen, (8, 5), (9, 3), (9, -1), (8, -4), (7, -5), Raise_Pen, (-4, -12), (-6, -11), (-7, -9), (-8, -5), (-8, 0), (-7, 4), (-6, 6), (-4, 8), Raise_Pen, (5, 8), (7, 6), (8, 3), (8, -1), (7, -3), (5, -5), Raise_Pen, (3, -12), (0, -10), (-2, -8), (-3, -6), (-3, -5), (-2, -3), (1, -1), (2, 1), (2, 3), Raise_Pen, (-2, -6), (-2, -5), (2, -1), (2, 0), Raise_Pen, (-2, -8), (-2, -7), (-1, -5), (2, -3), (3, -1), (3, 1), (2, 3), (0, 4), (-1, 4), (-3, 3), (-4, 1), Raise_Pen, (2, -3), (7, -6), (8, -8), Raise_Pen, (10, -12), (8, -8), Raise_Pen, (7, -11), (11, -9), Raise_Pen, (10, -12), (9, -11), (7, -11), (8, -10), (8, -8), (9, -9), (11, -9), (10, -10), (10, -12))); Glyph_40 : aliased constant Glyph := (Number_Of_Vectors => 92, Width => 25, Height => 25, Y_Offset => -12, X_Offset => -12, Vects => (Raise_Pen, (0, -12), (-2, -11), (-4, -9), (-5, -7), (-5, -5), (-4, -3), (-2, -1), (-1, 1), (-1, 3), Raise_Pen, (-4, -6), (-4, -5), (-1, -1), (-1, 0), Raise_Pen, (-4, -9), (-4, -7), (-3, -5), (-1, -3), (0, -1), (0, 1), (-1, 3), (-2, 4), (-4, 5), (-6, 5), (-8, 4), (-9, 3), (-10, 1), (-10, -1), (-9, -2), (-8, -1), (-9, 0), Raise_Pen, (0, -12), (2, -10), (4, -10), (6, -11), Raise_Pen, (-1, -11), (1, -10), Raise_Pen, (-2, -11), (-1, -10), (1, -9), (3, -9), (6, -11), Raise_Pen, (0, -2), (7, -7), Raise_Pen, (7, -7), (9, -4), (10, -1), (10, 2), (9, 5), (7, 7), (4, 8), (0, 9), Raise_Pen, (6, -6), (8, -4), (9, -1), (9, 3), (8, 5), Raise_Pen, (4, -5), (5, -5), (7, -3), (8, 0), (8, 4), (7, 6), (6, 7), (4, 8), Raise_Pen, (4, 8), (2, 8), (0, 7), (-2, 7), (-4, 8), (-5, 10), (-4, 12), (-2, 13), (0, 13), (2, 12), Raise_Pen, (1, 8), (-1, 8), Raise_Pen, (0, 9), (-2, 8), (-4, 8))); Glyph_41 : aliased constant Glyph := (Number_Of_Vectors => 83, Width => 25, Height => 24, Y_Offset => -12, X_Offset => -12, Vects => (Raise_Pen, (-2, -2), (-4, -2), (-6, -3), (-7, -4), (-8, -6), (-8, -8), (-7, -10), (-6, -11), (-3, -12), (-1, -12), (2, -11), (5, -8), (7, -7), Raise_Pen, (-6, -10), (-4, -11), (0, -11), (2, -10), (3, -9), Raise_Pen, (-8, -8), (-7, -9), (-5, -10), (-1, -10), (2, -9), (4, -8), (7, -7), (9, -7), (10, -8), (10, -10), (9, -11), (7, -11), Raise_Pen, (-8, 6), (-7, 7), (-8, 8), (-9, 7), (-9, 5), (-8, 4), (-6, 4), (-4, 5), (-2, 7), (0, 10), (2, 12), Raise_Pen, (-4, 6), (-3, 7), (-1, 10), (0, 11), Raise_Pen, (-6, 4), (-5, 5), (-4, 7), (-2, 10), (-1, 11), (1, 12), (4, 12), (6, 11), (7, 10), (8, 8), (8, 5), (7, 3), (5, 0), (4, -2), (4, -3), Raise_Pen, (7, 6), (7, 5), (4, 0), (4, -1), Raise_Pen, (6, 11), (7, 9), (7, 7), (6, 5), (4, 2), (3, 0), (3, -2), (5, -4), (7, -4), (8, -3), (8, -2))); Glyph_42 : aliased constant Glyph := (Number_Of_Vectors => 83, Width => 25, Height => 24, Y_Offset => -12, X_Offset => -12, Vects => (Raise_Pen, (-2, -2), (-4, -2), (-6, -3), (-7, -4), (-8, -6), (-8, -8), (-7, -10), (-6, -11), (-3, -12), (-1, -12), (2, -11), (5, -8), (7, -7), Raise_Pen, (-6, -10), (-4, -11), (0, -11), (2, -10), (3, -9), Raise_Pen, (-8, -8), (-7, -9), (-5, -10), (-1, -10), (2, -9), (4, -8), (7, -7), (9, -7), (10, -8), (10, -10), (9, -11), (7, -11), Raise_Pen, (-8, 6), (-7, 7), (-8, 8), (-9, 7), (-9, 5), (-8, 4), (-6, 4), (-4, 5), (-2, 7), (0, 10), (2, 12), Raise_Pen, (-4, 6), (-3, 7), (-1, 10), (0, 11), Raise_Pen, (-6, 4), (-5, 5), (-4, 7), (-2, 10), (-1, 11), (1, 12), (4, 12), (6, 11), (7, 10), (8, 8), (8, 5), (7, 3), (5, 0), (4, -2), (4, -3), Raise_Pen, (7, 6), (7, 5), (4, 0), (4, -1), Raise_Pen, (6, 11), (7, 9), (7, 7), (6, 5), (4, 2), (3, 0), (3, -2), (5, -4), (7, -4), (8, -3), (8, -2))); Glyph_43 : aliased constant Glyph := (Number_Of_Vectors => 81, Width => 26, Height => 21, Y_Offset => -12, X_Offset => -13, Vects => (Raise_Pen, (9, -7), (8, -9), (6, -11), (3, -12), (0, -12), (-3, -11), (-5, -9), (-6, -7), (-6, -4), (-5, -1), (-2, 5), (-2, 7), (-4, 9), Raise_Pen, (-5, -4), (-5, -3), (-2, 3), (-2, 4), Raise_Pen, (-4, -10), (-5, -8), (-5, -5), (-4, -3), (-2, 1), (-1, 4), (-1, 6), (-2, 8), (-4, 9), (-6, 9), (-8, 8), Raise_Pen, (-10, 4), (-8, 8), Raise_Pen, (-11, 7), (-7, 5), Raise_Pen, (-10, 4), (-10, 6), (-11, 7), (-9, 7), (-8, 8), (-8, 6), (-7, 5), (-9, 5), (-10, 4), Raise_Pen, (-4, -3), (-4, -5), (-3, -7), (-1, -8), (2, -8), (4, -7), (6, -5), (7, -5), Raise_Pen, (3, -7), (5, -5), Raise_Pen, (0, -8), (2, -7), (3, -6), (4, -4), Raise_Pen, (7, -5), (-2, -1), Raise_Pen, (3, -3), (7, 6), (8, 7), (9, 7), Raise_Pen, (2, -2), (6, 6), (8, 8), Raise_Pen, (1, -2), (5, 7), (7, 9), (10, 6))); Glyph_44 : aliased constant Glyph := (Number_Of_Vectors => 73, Width => 23, Height => 21, Y_Offset => -12, X_Offset => -11, Vects => (Raise_Pen, (8, 1), (7, 2), (4, 2), (3, 1), (3, -1), (4, -3), (6, -6), (7, -8), (7, -10), Raise_Pen, (4, -1), (4, -2), (7, -6), (7, -7), Raise_Pen, (5, 2), (4, 1), (4, 0), (5, -2), (7, -4), (8, -6), (8, -8), (7, -10), (6, -11), (3, -12), (-2, -12), (-5, -11), (-6, -10), (-7, -8), (-7, -6), (-6, -4), (-4, -1), (-3, 1), (-3, 2), (-4, 4), Raise_Pen, (-6, -7), (-6, -6), (-3, -1), (-3, 0), Raise_Pen, (-6, -10), (-6, -8), (-5, -6), (-3, -3), (-2, -1), (-2, 1), (-3, 3), (-5, 5), (-8, 7), Raise_Pen, (-5, 5), (-3, 5), (0, 7), (3, 8), (6, 8), (8, 7), Raise_Pen, (-4, 6), (-3, 6), (1, 8), (2, 8), Raise_Pen, (-8, 7), (-6, 6), (-5, 6), (-1, 8), (2, 9), (4, 9), (7, 8), (8, 7), (9, 5))); Glyph_45 : aliased constant Glyph := (Number_Of_Vectors => 128, Width => 32, Height => 21, Y_Offset => -12, X_Offset => -16, Vects => (Raise_Pen, (-13, -1), (-13, 0), (-12, 1), (-10, 1), (-8, 0), (-8, -3), (-9, -5), (-11, -8), (-11, -10), (-9, -12), Raise_Pen, (-9, -3), (-11, -7), Raise_Pen, (-10, 1), (-9, 0), (-9, -2), (-11, -5), (-12, -7), (-12, -9), (-11, -11), (-9, -12), (-7, -12), (-5, -11), (-3, -9), (-2, -6), (-2, 0), (-3, 3), (-4, 5), (-6, 7), (-9, 9), (-10, 8), (-11, 8), Raise_Pen, (-4, -9), (-3, -6), (-3, 0), (-4, 3), (-5, 5), Raise_Pen, (-8, 8), (-9, 7), (-10, 7), Raise_Pen, (-7, -12), (-5, -10), (-4, -7), (-4, 0), (-5, 4), (-6, 6), (-7, 7), (-8, 6), (-9, 6), (-12, 9), Raise_Pen, (-4, -11), (-2, -12), (0, -12), (2, -11), (4, -9), (5, -6), (5, 0), (4, 3), (3, 5), (1, 7), (-1, 9), (-2, 8), (-3, 8), Raise_Pen, (3, -9), (4, -6), (4, 0), (3, 4), Raise_Pen, (0, 8), (-1, 7), (-2, 7), Raise_Pen, (0, -12), (2, -10), (3, -7), (3, 1), (2, 5), (1, 7), (0, 6), (-1, 6), (-4, 9), Raise_Pen, (3, -10), (4, -11), (6, -12), (8, -12), (10, -11), (11, -10), (12, -8), (13, -7), Raise_Pen, (10, -10), (11, -8), Raise_Pen, (8, -12), (9, -11), (10, -8), (11, -7), (13, -7), Raise_Pen, (13, -7), (10, -5), (9, -4), (8, -1), (8, 2), (9, 6), (11, 9), (14, 6), Raise_Pen, (10, -4), (9, -2), (9, 2), (10, 5), (12, 8), Raise_Pen, (13, -7), (11, -5), (10, -3), (10, 1), (11, 5), (13, 7))); Glyph_46 : aliased constant Glyph := (Number_Of_Vectors => 96, Width => 28, Height => 21, Y_Offset => -12, X_Offset => -14, Vects => (Raise_Pen, (-11, -1), (-11, 0), (-10, 1), (-8, 1), (-6, 0), (-6, -3), (-7, -5), (-9, -8), (-9, -10), (-7, -12), Raise_Pen, (-7, -3), (-9, -7), Raise_Pen, (-8, 1), (-7, 0), (-7, -2), (-9, -5), (-10, -7), (-10, -9), (-9, -11), (-7, -12), (-4, -12), (-2, -11), (0, -9), (1, -6), (1, 0), (0, 3), (-1, 5), (-3, 7), (-6, 9), (-7, 8), (-9, 8), (-11, 9), Raise_Pen, (-1, -9), (0, -7), (0, 0), (-1, 3), (-2, 5), (-3, 6), Raise_Pen, (-5, 8), (-7, 7), (-9, 7), Raise_Pen, (-4, -12), (-2, -10), (-1, -7), (-1, 0), (-2, 4), (-4, 7), (-6, 6), (-8, 6), (-11, 9), Raise_Pen, (0, -10), (1, -11), (3, -12), (5, -12), (7, -11), (8, -10), (9, -8), (10, -7), Raise_Pen, (7, -10), (8, -8), Raise_Pen, (5, -12), (6, -11), (7, -8), (8, -7), (10, -7), Raise_Pen, (10, -7), (7, -5), (6, -4), (5, -1), (5, 2), (6, 6), (8, 9), (11, 6), Raise_Pen, (7, -4), (6, -2), (6, 2), (7, 5), (9, 8), Raise_Pen, (10, -7), (8, -5), (7, -3), (7, 1), (8, 5), (10, 7))); Glyph_47 : aliased constant Glyph := (Number_Of_Vectors => 72, Width => 28, Height => 21, Y_Offset => -12, X_Offset => -14, Vects => (Raise_Pen, (-2, -12), (-4, -11), (-6, -9), (-7, -7), (-7, -5), (-5, -1), (-5, 1), Raise_Pen, (-6, -6), (-6, -5), (-5, -3), (-5, -2), Raise_Pen, (-6, -9), (-6, -7), (-4, -3), (-4, -1), (-5, 1), (-6, 2), (-8, 2), (-9, 1), (-9, 0), Raise_Pen, (-2, -12), (-1, -11), (5, -9), (8, -7), (9, -5), (10, -2), (10, 1), (9, 4), (8, 6), (6, 8), (3, 9), (0, 9), (-3, 8), (-9, 5), (-10, 5), (-11, 6), Raise_Pen, (-2, -11), (-1, -10), (5, -8), (7, -7), (8, -6), Raise_Pen, (-2, -12), (-2, -10), (-1, -9), (5, -7), (7, -6), (9, -4), (10, -2), Raise_Pen, (1, 8), (-1, 8), (-7, 5), (-8, 5), Raise_Pen, (7, 7), (5, 8), (2, 8), (-1, 7), (-5, 5), (-8, 4), (-10, 4), (-11, 6), (-11, 8), (-10, 9), (-9, 8), (-10, 7))); Glyph_48 : aliased constant Glyph := (Number_Of_Vectors => 100, Width => 27, Height => 25, Y_Offset => -12, X_Offset => -13, Vects => (Raise_Pen, (-10, -1), (-10, 0), (-9, 1), (-7, 1), (-5, 0), (-5, -3), (-6, -5), (-8, -8), (-8, -10), (-6, -12), Raise_Pen, (-6, -3), (-8, -7), Raise_Pen, (-7, 1), (-6, 0), (-6, -2), (-8, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-3, -12), (-1, -11), (0, -10), (1, -8), (1, 3), Raise_Pen, (1, 5), (1, 10), (0, 12), (-2, 13), (-5, 13), (-6, 12), (-6, 10), (-5, 9), (-4, 10), (-5, 11), Raise_Pen, (-1, -10), (0, -8), (0, 10), (-1, 12), Raise_Pen, (-3, -12), (-2, -11), (-1, -8), (-1, 3), Raise_Pen, (-1, 5), (-1, 10), (-2, 12), (-3, 13), Raise_Pen, (1, -8), (6, -12), Raise_Pen, (6, -12), (8, -9), (9, -7), (10, -3), (10, 0), (9, 3), (7, 6), (4, 9), Raise_Pen, (5, -11), (8, -7), (9, -4), (9, -3), Raise_Pen, (4, -10), (6, -8), (8, -5), (9, -2), (9, 1), (8, 4), (7, 6), Raise_Pen, (5, 7), (3, 4), (1, 3), Raise_Pen, (-1, 3), (-3, 4), (-5, 6), Raise_Pen, (5, 8), (3, 5), (1, 4), (-2, 4), Raise_Pen, (4, 9), (2, 6), (1, 5), Raise_Pen, (-1, 5), (-3, 5), (-5, 6))); Glyph_49 : aliased constant Glyph := (Number_Of_Vectors => 88, Width => 28, Height => 21, Y_Offset => -12, X_Offset => -14, Vects => (Raise_Pen, (-2, -12), (-4, -11), (-6, -9), (-7, -7), (-7, -5), (-5, -1), (-5, 1), Raise_Pen, (-6, -6), (-6, -5), (-5, -3), (-5, -2), Raise_Pen, (-6, -9), (-6, -7), (-4, -3), (-4, -1), (-5, 1), (-6, 2), (-8, 2), (-9, 1), (-9, 0), Raise_Pen, (-2, -12), (-1, -11), (5, -9), (8, -7), (9, -5), (10, -2), (10, 1), (9, 4), (8, 6), Raise_Pen, (6, 8), (3, 9), (0, 9), (-3, 8), (-9, 5), (-10, 5), (-11, 6), Raise_Pen, (-2, -11), (-1, -10), (5, -8), (7, -7), (8, -6), Raise_Pen, (-2, -12), (-2, -10), (-1, -9), (5, -7), (7, -6), (9, -4), (10, -2), Raise_Pen, (1, 8), (-1, 8), (-7, 5), (-8, 5), Raise_Pen, (6, 8), (2, 8), (-1, 7), (-5, 5), (-8, 4), (-10, 4), (-11, 6), (-11, 8), (-10, 9), (-9, 8), (-10, 7), Raise_Pen, (2, 6), (4, 4), (6, 4), (10, 8), (11, 8), Raise_Pen, (5, 5), (6, 5), (9, 8), Raise_Pen, (3, 5), (4, 5), (8, 9), (10, 9), (12, 7))); Glyph_50 : aliased constant Glyph := (Number_Of_Vectors => 96, Width => 28, Height => 21, Y_Offset => -12, X_Offset => -14, Vects => (Raise_Pen, (-11, -1), (-11, 0), (-10, 1), (-8, 1), (-6, 0), (-6, -3), (-7, -5), (-9, -8), (-9, -10), (-7, -12), Raise_Pen, (-7, -3), (-9, -7), Raise_Pen, (-8, 1), (-7, 0), (-7, -2), (-9, -5), (-10, -7), (-10, -9), (-9, -11), (-7, -12), (-4, -12), (-2, -11), (-1, -10), (0, -8), (0, 4), (-1, 6), (-3, 8), (-5, 9), (-7, 9), (-9, 8), Raise_Pen, (-2, -10), (-1, -8), (-1, 4), (-2, 6), Raise_Pen, (-4, -12), (-3, -11), (-2, -8), (-2, 4), (-3, 7), (-5, 9), Raise_Pen, (-11, 4), (-9, 8), Raise_Pen, (-12, 7), (-8, 5), Raise_Pen, (-11, 4), (-11, 6), (-12, 7), (-10, 7), (-9, 8), (-9, 6), (-8, 5), (-10, 5), (-11, 4), Raise_Pen, (0, -9), (1, -11), (3, -12), (5, -12), (7, -11), (8, -10), (9, -8), (10, -7), Raise_Pen, (7, -10), (8, -8), Raise_Pen, (5, -12), (6, -11), (7, -8), (8, -7), (10, -7), Raise_Pen, (10, -7), (0, -2), Raise_Pen, (2, -3), (6, 7), (8, 9), (11, 6), Raise_Pen, (3, -3), (7, 6), (9, 8), Raise_Pen, (4, -4), (8, 6), (9, 7), (10, 7))); Glyph_51 : aliased constant Glyph := (Number_Of_Vectors => 83, Width => 27, Height => 21, Y_Offset => -12, X_Offset => -13, Vects => (Raise_Pen, (10, -10), (9, -11), (10, -12), (11, -11), (11, -9), (10, -7), (8, -7), (4, -9), (1, -10), (-3, -10), (-7, -9), (-9, -7), Raise_Pen, (7, -8), (4, -10), (1, -11), (-3, -11), (-6, -10), Raise_Pen, (11, -9), (10, -8), (8, -8), (4, -11), (1, -12), (-3, -12), (-6, -11), (-8, -9), (-9, -7), (-10, -4), (-10, 0), (-9, 3), (-8, 5), (-6, 7), (-4, 8), (-1, 9), (3, 9), (6, 8), (8, 7), (10, 5), (11, 2), (11, -1), (10, -3), (8, -4), (5, -4), (3, -3), (1, 0), (-1, 1), (-3, 1), Raise_Pen, (-6, 6), (-4, 7), (-1, 8), (3, 8), (7, 7), Raise_Pen, (-9, 3), (-7, 5), (-5, 6), (-2, 7), (3, 7), (7, 6), (9, 5), (10, 4), (11, 2), Raise_Pen, (6, -3), (5, -3), (1, 1), (0, 1), Raise_Pen, (11, -1), (9, -3), (7, -3), (5, -2), (3, 1), (1, 2), (-1, 2), (-3, 1), (-4, -1), (-4, -3), (-3, -5), (-1, -6))); Glyph_52 : aliased constant Glyph := (Number_Of_Vectors => 81, Width => 25, Height => 21, Y_Offset => -12, X_Offset => -12, Vects => (Raise_Pen, (-6, -4), (-8, -5), (-9, -7), (-9, -9), (-8, -11), (-5, -12), (0, -12), (3, -11), (7, -8), (9, -8), (10, -9), Raise_Pen, (-8, -10), (-6, -11), (0, -11), (3, -10), (6, -8), Raise_Pen, (-9, -7), (-8, -9), (-6, -10), (0, -10), (3, -9), (7, -7), (9, -7), (10, -9), (10, -11), (9, -12), (8, -11), (9, -10), Raise_Pen, (3, -9), (0, -6), (-1, -4), (-1, -2), (1, 2), (1, 4), Raise_Pen, (0, -3), (0, -2), (1, 0), (1, 1), Raise_Pen, (0, -6), (0, -4), (2, 0), (2, 2), (1, 4), (0, 5), (-2, 5), (-3, 4), (-3, 2), Raise_Pen, (-8, 7), (-7, 8), (-8, 9), (-9, 8), (-9, 6), (-8, 4), (-6, 4), (-3, 5), (1, 7), (4, 8), (7, 8), (9, 7), Raise_Pen, (-6, 5), (-5, 5), (1, 8), (3, 8), Raise_Pen, (-9, 6), (-8, 5), (-7, 5), (-5, 6), (-1, 8), (2, 9), (5, 9), (8, 8), (10, 6))); Glyph_53 : aliased constant Glyph := (Number_Of_Vectors => 45, Width => 22, Height => 21, Y_Offset => -12, X_Offset => -11, Vects => (Raise_Pen, (-8, -10), (-7, -10), (-6, -9), (-6, 5), (-8, 6), Raise_Pen, (-7, -11), (-5, -10), (-5, 6), (-2, 8), Raise_Pen, (-9, -9), (-6, -12), (-4, -10), (-4, 5), (-2, 7), (0, 7), Raise_Pen, (-8, 6), (-7, 6), (-5, 7), (-3, 9), (0, 7), (4, 4), Raise_Pen, (2, -10), (3, -10), (4, -9), (4, 7), (6, 9), (9, 6), Raise_Pen, (3, -11), (5, -10), (5, 7), (7, 8), Raise_Pen, (1, -9), (4, -12), (7, -10), (6, -9), (6, 6), (7, 7), (8, 7))); Glyph_54 : aliased constant Glyph := (Number_Of_Vectors => 100, Width => 28, Height => 21, Y_Offset => -12, X_Offset => -14, Vects => (Raise_Pen, (-11, -1), (-11, 0), (-10, 1), (-8, 1), (-6, 0), (-6, -3), (-7, -5), (-9, -8), (-9, -10), (-7, -12), Raise_Pen, (-7, -3), (-9, -7), Raise_Pen, (-8, 1), (-7, 0), (-7, -2), (-9, -5), (-10, -7), (-10, -9), (-9, -11), (-7, -12), (-4, -12), (-2, -11), (-1, -10), (0, -8), (0, 0), (-1, 3), (-3, 5), Raise_Pen, (-2, -10), (-1, -8), (-1, 2), Raise_Pen, (-4, -12), (-3, -11), (-2, -8), (-2, 3), (-3, 5), Raise_Pen, (0, -9), (1, -11), (3, -12), (5, -12), (7, -11), (9, -8), (10, -7), Raise_Pen, (7, -10), (8, -8), Raise_Pen, (5, -12), (6, -11), (7, -8), (8, -7), (10, -7), Raise_Pen, (8, -7), (6, -7), (5, -6), (5, -4), (6, -2), (9, 0), (10, 2), Raise_Pen, (6, -3), (9, -1), Raise_Pen, (5, -5), (6, -4), (9, -2), (10, 0), (10, 4), (9, 6), (7, 8), (5, 9), (1, 9), (-2, 8), (-8, 5), (-9, 5), (-10, 6), Raise_Pen, (2, 8), (0, 8), (-6, 5), (-7, 5), Raise_Pen, (8, 7), (6, 8), (3, 8), (0, 7), (-4, 5), (-7, 4), (-9, 4), (-10, 6), (-10, 8), (-9, 9), (-8, 8), (-9, 7))); Glyph_55 : aliased constant Glyph := (Number_Of_Vectors => 143, Width => 33, Height => 21, Y_Offset => -12, X_Offset => -16, Vects => (Raise_Pen, (-13, -1), (-13, 0), (-12, 1), (-10, 1), (-8, 0), (-8, -3), (-9, -5), (-11, -8), (-11, -10), (-9, -12), Raise_Pen, (-9, -3), (-11, -7), Raise_Pen, (-10, 1), (-9, 0), (-9, -2), (-11, -5), (-12, -7), (-12, -9), (-11, -11), (-9, -12), (-6, -12), (-4, -11), (-3, -10), (-2, -8), (-2, -4), (-3, -1), (-5, 2), (-7, 4), Raise_Pen, (-4, -10), (-3, -8), (-3, -3), (-4, 0), Raise_Pen, (-6, -12), (-5, -11), (-4, -8), (-4, -3), (-5, 1), (-7, 4), Raise_Pen, (-4, -11), (-2, -12), (1, -12), (3, -11), Raise_Pen, (5, -12), (2, -11), (1, -9), (1, -5), (2, -2), (4, 1), (5, 3), (5, 5), (4, 7), Raise_Pen, (2, -5), (2, -4), (5, 1), (5, 2), Raise_Pen, (5, -12), (3, -11), (2, -9), (2, -6), (3, -4), (5, -1), (6, 2), (6, 4), (5, 6), (3, 8), (1, 9), (-3, 9), (-5, 8), (-7, 6), (-9, 5), (-11, 5), (-12, 6), Raise_Pen, (-4, 8), (-7, 5), (-8, 5), Raise_Pen, (-1, 9), (-3, 8), (-6, 5), (-8, 4), (-11, 4), (-12, 6), (-12, 8), (-11, 9), (-10, 8), (-11, 7), Raise_Pen, (5, -12), (8, -12), (10, -11), (12, -8), (13, -7), Raise_Pen, (10, -10), (11, -8), Raise_Pen, (8, -12), (9, -11), (10, -8), (11, -7), (13, -7), Raise_Pen, (11, -7), (9, -7), (8, -6), (8, -4), (9, -2), (12, 0), (13, 2), Raise_Pen, (9, -3), (12, -1), Raise_Pen, (8, -5), (9, -4), (12, -2), (13, 0), (13, 5), (12, 7), (11, 8), (9, 9), (6, 9), (3, 8), Raise_Pen, (7, 8), (6, 8), (4, 7), Raise_Pen, (12, 7), (10, 8), (8, 8), (6, 7), (5, 6))); Glyph_56 : aliased constant Glyph := (Number_Of_Vectors => 86, Width => 24, Height => 21, Y_Offset => -12, X_Offset => -12, Vects => (Raise_Pen, (-7, -10), (-5, -10), (-3, -9), (-2, -8), (-1, -5), (-1, -3), Raise_Pen, (-1, -1), (-1, 3), (-2, 6), (-5, 9), (-7, 8), (-9, 9), Raise_Pen, (-4, 8), (-6, 7), (-7, 7), Raise_Pen, (-3, 7), (-4, 7), (-6, 6), (-9, 9), Raise_Pen, (-5, -11), (-2, -10), (-1, -9), (0, -6), (0, 3), (1, 5), (3, 7), (5, 8), Raise_Pen, (-9, -9), (-4, -12), (-2, -11), (0, -9), (1, -6), (1, -3), Raise_Pen, (1, -1), (1, 2), (2, 5), (3, 6), (5, 7), (7, 7), Raise_Pen, (-1, 3), (0, 6), (2, 8), (4, 9), (9, 6), Raise_Pen, (1, -6), (2, -9), (5, -12), (7, -11), (9, -12), Raise_Pen, (4, -11), (6, -10), (7, -10), Raise_Pen, (3, -10), (4, -10), (6, -9), (9, -12), Raise_Pen, (-7, 1), (-5, -3), (-1, -3), Raise_Pen, (1, -3), (5, -3), (7, -5), Raise_Pen, (-5, -2), (5, -2), Raise_Pen, (-7, 1), (-5, -1), (-1, -1), Raise_Pen, (1, -1), (5, -1), (7, -5))); Glyph_57 : aliased constant Glyph := (Number_Of_Vectors => 74, Width => 26, Height => 25, Y_Offset => -12, X_Offset => -13, Vects => (Raise_Pen, (-10, -1), (-10, 0), (-9, 1), (-7, 1), (-5, 0), (-5, -3), (-6, -5), (-8, -8), (-8, -10), (-6, -12), Raise_Pen, (-6, -3), (-8, -7), Raise_Pen, (-7, 1), (-6, 0), (-6, -2), (-8, -5), (-9, -7), (-9, -9), (-8, -11), (-6, -12), (-3, -12), (-1, -11), (0, -10), (1, -8), (1, -3), (0, 0), (-1, 2), (-1, 3), (1, 5), (2, 5), Raise_Pen, (-1, -10), (0, -8), (0, -2), (-1, 1), (-2, 3), (1, 6), Raise_Pen, (-3, -12), (-2, -11), (-1, -8), (-1, -2), (-2, 2), (-3, 4), (0, 7), (3, 4), Raise_Pen, (1, -8), (9, -12), Raise_Pen, (7, -11), (7, 8), (6, 11), Raise_Pen, (8, -11), (8, 6), (7, 9), Raise_Pen, (9, -12), (9, 4), (8, 8), (7, 10), (5, 12), (2, 13), (-2, 13), (-5, 12), (-7, 10), (-8, 8), (-7, 7), (-6, 8), (-7, 9))); Glyph_58 : aliased constant Glyph := (Number_Of_Vectors => 74, Width => 24, Height => 25, Y_Offset => -12, X_Offset => -12, Vects => (Raise_Pen, (-4, -9), (-3, -11), (-1, -12), (2, -12), (4, -11), (5, -10), (6, -8), (6, -5), (5, -3), (4, -2), (2, -1), Raise_Pen, (-1, -1), (-3, -2), (-4, -4), Raise_Pen, (4, -10), (5, -9), (5, -4), (4, -3), Raise_Pen, (2, -12), (3, -11), (4, -9), (4, -4), (3, -2), (2, -1), Raise_Pen, (-5, 3), (-4, 1), (-3, 0), (-1, -1), (2, -1), (5, 0), (7, 2), (8, 4), (8, 8), (7, 10), (5, 12), (2, 13), (-2, 13), (-4, 12), (-7, 8), (-8, 7), Raise_Pen, (6, 2), (7, 4), (7, 8), (6, 10), Raise_Pen, (2, -1), (5, 1), (6, 3), (6, 9), (5, 11), (4, 12), (2, 13), Raise_Pen, (-3, 12), (-4, 11), (-6, 8), (-7, 7), Raise_Pen, (0, 13), (-2, 12), (-3, 11), (-5, 8), (-6, 7), (-9, 7), (-10, 8), (-10, 10), (-9, 11), (-8, 11))); Glyph_59 : aliased constant Glyph := (Number_Of_Vectors => 12, Width => 14, Height => 32, Y_Offset => -16, X_Offset => -7, Vects => (Raise_Pen, (-3, -16), (-3, 16), Raise_Pen, (-2, -16), (-2, 16), Raise_Pen, (-3, -16), (4, -16), Raise_Pen, (-3, 16), (4, 16))); Glyph_60 : aliased constant Glyph := (Number_Of_Vectors => 3, Width => 14, Height => 24, Y_Offset => -12, X_Offset => -7, Vects => (Raise_Pen, (-7, -12), (7, 12))); Glyph_61 : aliased constant Glyph := (Number_Of_Vectors => 12, Width => 14, Height => 32, Y_Offset => -16, X_Offset => -7, Vects => (Raise_Pen, (2, -16), (2, 16), Raise_Pen, (3, -16), (3, 16), Raise_Pen, (-4, -16), (3, -16), Raise_Pen, (-4, 16), (3, 16))); Glyph_62 : aliased constant Glyph := (Number_Of_Vectors => 8, Width => 22, Height => 5, Y_Offset => -3, X_Offset => -11, Vects => (Raise_Pen, (-8, 2), (0, -3), (8, 2), Raise_Pen, (-8, 2), (0, -2), (8, 2))); Glyph_63 : aliased constant Glyph := (Number_Of_Vectors => 3, Width => 24, Height => 0, Y_Offset => 16, X_Offset => -12, Vects => (Raise_Pen, (-12, 16), (12, 16))); Glyph_64 : aliased constant Glyph := (Number_Of_Vectors => 7, Width => 12, Height => 6, Y_Offset => -12, X_Offset => -6, Vects => (Raise_Pen, (-2, -12), (3, -6), Raise_Pen, (-2, -12), (-3, -11), (3, -6))); Glyph_65 : aliased constant Glyph := (Number_Of_Vectors => 46, Width => 17, Height => 14, Y_Offset => -5, X_Offset => -8, Vects => (Raise_Pen, (2, -5), (-1, -4), (-3, -3), (-4, -2), (-5, 1), (-5, 4), (-4, 7), (-3, 9), (3, 6), Raise_Pen, (-4, 4), (-3, 7), (-2, 8), Raise_Pen, (-1, -4), (-3, -2), (-4, 1), (-4, 3), (-3, 6), (-1, 8), Raise_Pen, (0, -4), (1, -3), (3, -2), (3, 7), (5, 9), (8, 6), Raise_Pen, (1, -4), (4, -2), (4, 6), (6, 8), Raise_Pen, (2, -5), (3, -4), (5, -3), (6, -3), Raise_Pen, (5, -2), (6, -3), Raise_Pen, (5, -2), (5, 6), (6, 7), (7, 7))); Glyph_66 : aliased constant Glyph := (Number_Of_Vectors => 50, Width => 17, Height => 21, Y_Offset => -12, X_Offset => -8, Vects => (Raise_Pen, (-6, -10), (-5, -9), (-4, -7), Raise_Pen, (2, -12), (-1, -11), (-3, -9), (-4, -7), (-4, 6), (-5, 7), Raise_Pen, (-2, -9), (-3, -7), (-3, 6), (0, 8), Raise_Pen, (2, -12), (0, -11), (-1, -10), (-2, -7), (-2, 6), (0, 7), (1, 8), Raise_Pen, (-5, 7), (-4, 7), (-2, 8), (-1, 9), (2, 8), Raise_Pen, (-2, -2), (4, -5), (5, -3), (6, 0), (6, 3), (5, 6), (4, 7), (2, 8), Raise_Pen, (3, -4), (4, -3), (5, -1), Raise_Pen, (2, -4), (4, -2), (5, 1), (5, 3), (4, 6), (2, 8))); Glyph_67 : aliased constant Glyph := (Number_Of_Vectors => 27, Width => 13, Height => 14, Y_Offset => -5, X_Offset => -7, Vects => (Raise_Pen, (0, -4), (2, -2), (4, -3), (2, -5), (0, -4), (-3, -2), (-4, 0), (-4, 5), (-3, 7), (-1, 9), (3, 7), Raise_Pen, (1, -4), (3, -3), Raise_Pen, (-2, -2), (-3, 0), (-3, 5), (-2, 7), (-1, 8), Raise_Pen, (-1, -3), (-2, -1), (-2, 4), (-1, 6), (1, 8))); Glyph_68 : aliased constant Glyph := (Number_Of_Vectors => 47, Width => 17, Height => 21, Y_Offset => -12, X_Offset => -8, Vects => (Raise_Pen, (-1, -12), (-4, -9), (-4, -7), (-3, -6), (1, -4), (4, -2), (5, 0), (5, 3), (4, 6), (2, 8), Raise_Pen, (-3, -8), (-3, -7), (1, -5), (4, -3), (5, -2), Raise_Pen, (-3, -10), (-3, -9), (-2, -8), (3, -5), (5, -3), (6, 0), (6, 3), (5, 6), (2, 8), (-1, 9), Raise_Pen, (0, -4), (-4, -2), (-4, 6), (-5, 7), Raise_Pen, (-3, -2), (-3, 6), (0, 8), Raise_Pen, (-2, -3), (-2, 6), (0, 7), (1, 8), Raise_Pen, (-5, 7), (-4, 7), (-2, 8), (-1, 9))); Glyph_69 : aliased constant Glyph := (Number_Of_Vectors => 27, Width => 13, Height => 14, Y_Offset => -5, X_Offset => -7, Vects => (Raise_Pen, (-2, 3), (4, -1), (1, -5), (-3, -2), (-4, 0), (-4, 5), (-3, 7), (-1, 9), (3, 7), Raise_Pen, (3, -1), (0, -4), Raise_Pen, (-2, -2), (-3, 0), (-3, 5), (-2, 7), (-1, 8), Raise_Pen, (2, 0), (0, -3), (-1, -3), (-2, -1), (-2, 4), (-1, 6), (1, 8))); Glyph_70 : aliased constant Glyph := (Number_Of_Vectors => 49, Width => 13, Height => 26, Y_Offset => -12, X_Offset => -6, Vects => (Raise_Pen, (6, -12), (5, -11), (3, -11), (1, -12), (-1, -12), (-2, -10), (-2, -5), (-3, -3), (-4, -2), Raise_Pen, (4, -10), (2, -10), (0, -11), (-1, -11), Raise_Pen, (6, -12), (5, -10), (4, -9), (2, -9), (0, -10), (-1, -10), (-2, -9), Raise_Pen, (-2, -7), (-1, -5), (0, -4), (2, -3), (4, -3), (4, -2), Raise_Pen, (-4, -2), (-2, -2), Raise_Pen, (0, -2), (4, -2), Raise_Pen, (-2, -2), (-2, 2), (-1, 14), Raise_Pen, (1, -3), (-2, -3), (-1, -4), (-1, 9), Raise_Pen, (0, -2), (0, 2), (-1, 14))); Glyph_71 : aliased constant Glyph := (Number_Of_Vectors => 53, Width => 17, Height => 19, Y_Offset => -5, X_Offset => -8, Vects => (Raise_Pen, (2, -5), (-1, -4), (-3, -3), (-4, -2), (-5, 1), (-5, 4), (-4, 7), (-3, 9), (3, 6), Raise_Pen, (-4, 5), (-3, 7), (-2, 8), Raise_Pen, (-1, -4), (-3, -2), (-4, 1), (-4, 3), (-3, 6), (-1, 8), Raise_Pen, (0, -4), (1, -3), (3, -2), (3, 6), (4, 9), (4, 11), (3, 13), Raise_Pen, (1, -4), (4, -2), (4, 8), Raise_Pen, (2, -5), (3, -4), (5, -3), (6, -3), Raise_Pen, (5, -2), (6, -3), Raise_Pen, (5, -2), (5, 10), (4, 12), (3, 13), (1, 14), (-2, 14), (-4, 13), (-5, 12), (-5, 11), (-4, 11), (-4, 12))); Glyph_72 : aliased constant Glyph := (Number_Of_Vectors => 50, Width => 17, Height => 26, Y_Offset => -12, X_Offset => -8, Vects => (Raise_Pen, (-6, -10), (-5, -9), (-4, -7), Raise_Pen, (2, -12), (-1, -11), (-3, -9), (-4, -7), (-4, 6), (-5, 7), Raise_Pen, (-2, -9), (-3, -7), (-3, 7), (-2, 8), Raise_Pen, (2, -12), (0, -11), (-1, -10), (-2, -7), (-2, 6), (-1, 7), (0, 7), Raise_Pen, (-5, 7), (-3, 8), (-2, 9), (1, 6), Raise_Pen, (-2, -2), (4, -5), (5, -3), (6, 1), (6, 5), (5, 8), (4, 10), (2, 12), (-1, 14), Raise_Pen, (3, -4), (4, -3), (5, 0), Raise_Pen, (2, -4), (4, -1), (5, 2), (5, 5), (4, 9), (2, 12))); Glyph_73 : aliased constant Glyph := (Number_Of_Vectors => 39, Width => 10, Height => 21, Y_Offset => -12, X_Offset => -5, Vects => (Raise_Pen, (0, -12), (-1, -11), (-1, -10), (0, -9), (1, -10), (1, -11), (0, -12), Raise_Pen, (-1, -11), (1, -10), Raise_Pen, (-1, -10), (1, -11), Raise_Pen, (-3, -3), (-2, -3), (-1, -2), (-1, 7), (1, 9), (4, 6), Raise_Pen, (-2, -4), (0, -3), (0, 6), (2, 8), Raise_Pen, (-4, -2), (-1, -5), (0, -4), (2, -3), Raise_Pen, (1, -2), (2, -3), Raise_Pen, (1, -2), (1, 6), (2, 7), (3, 7))); Glyph_74 : aliased constant Glyph := (Number_Of_Vectors => 45, Width => 10, Height => 26, Y_Offset => -12, X_Offset => -5, Vects => (Raise_Pen, (0, -12), (-1, -11), (-1, -10), (0, -9), (1, -10), (1, -11), (0, -12), Raise_Pen, (-1, -11), (1, -10), Raise_Pen, (-1, -10), (1, -11), Raise_Pen, (-3, -3), (-2, -3), (-1, -2), (-1, 9), (-2, 12), (-3, 13), (-5, 14), Raise_Pen, (-2, -4), (0, -3), (0, 9), (-1, 11), Raise_Pen, (-4, -2), (-1, -5), (0, -4), (2, -3), Raise_Pen, (1, -2), (2, -3), Raise_Pen, (1, -2), (1, 9), (0, 11), (-2, 13), (-5, 14), Raise_Pen, (1, 9), (2, 11), (3, 12))); Glyph_75 : aliased constant Glyph := (Number_Of_Vectors => 63, Width => 14, Height => 21, Y_Offset => -12, X_Offset => -7, Vects => (Raise_Pen, (-4, -10), (-3, -9), (-2, -7), Raise_Pen, (3, -12), (1, -11), (-1, -9), (-2, -7), (-2, -5), (-3, -3), (-4, -2), Raise_Pen, (-2, -2), (-2, 6), (-3, 7), Raise_Pen, (0, -9), (-1, -7), (-1, -5), Raise_Pen, (-1, -3), (-2, -3), (-1, -5), (-1, 6), (1, 8), Raise_Pen, (3, -12), (1, -10), (0, -7), (0, -3), Raise_Pen, (0, -2), (0, 6), (1, 7), (2, 7), Raise_Pen, (-3, 7), (-1, 8), (0, 9), (3, 6), Raise_Pen, (0, -6), (4, -9), (5, -8), (5, -6), (3, -4), (1, -3), Raise_Pen, (3, -8), (4, -7), (4, -6), (3, -4), Raise_Pen, (0, -3), (5, -3), (5, -2), Raise_Pen, (-4, -2), (-2, -2), Raise_Pen, (0, -2), (5, -2))); Glyph_76 : aliased constant Glyph := (Number_Of_Vectors => 29, Width => 10, Height => 21, Y_Offset => -12, X_Offset => -5, Vects => (Raise_Pen, (-3, -10), (-2, -9), (-1, -7), Raise_Pen, (5, -12), (2, -11), (0, -9), (-1, -7), (-1, 6), (-2, 7), Raise_Pen, (1, -9), (0, -7), (0, 7), (2, 8), Raise_Pen, (5, -12), (3, -11), (2, -10), (1, -7), (1, 6), (2, 7), (3, 7), Raise_Pen, (-2, 7), (0, 8), (1, 9), (4, 6))); Glyph_77 : aliased constant Glyph := (Number_Of_Vectors => 74, Width => 26, Height => 14, Y_Offset => -5, X_Offset => -13, Vects => (Raise_Pen, (-11, -3), (-10, -3), (-9, -2), (-9, 6), (-10, 7), (-8, 9), Raise_Pen, (-10, -4), (-8, -2), (-8, 6), (-9, 7), (-8, 8), (-7, 7), (-8, 6), Raise_Pen, (-12, -2), (-9, -5), (-7, -3), (-7, 6), (-6, 7), (-8, 9), Raise_Pen, (-4, -4), (-2, -3), (-1, -1), (-1, 6), (-2, 7), (0, 9), Raise_Pen, (-2, -4), (-1, -3), (0, -1), (0, 6), (-1, 7), (0, 8), (1, 7), (0, 6), Raise_Pen, (-7, -2), (-4, -4), (-2, -5), (0, -4), (1, -2), (1, 6), (2, 7), (0, 9), Raise_Pen, (4, -4), (5, -3), (7, -2), (7, 7), (9, 9), (12, 6), Raise_Pen, (5, -4), (8, -2), (8, 6), (10, 8), Raise_Pen, (1, -2), (4, -4), (6, -5), (7, -4), (9, -3), (10, -3), Raise_Pen, (9, -2), (10, -3), Raise_Pen, (9, -2), (9, 6), (10, 7), (11, 7))); Glyph_78 : aliased constant Glyph := (Number_Of_Vectors => 49, Width => 18, Height => 14, Y_Offset => -5, X_Offset => -9, Vects => (Raise_Pen, (-7, -3), (-6, -3), (-5, -2), (-5, 6), (-6, 7), (-4, 9), Raise_Pen, (-6, -4), (-4, -2), (-4, 6), (-5, 7), (-4, 8), (-3, 7), (-4, 6), Raise_Pen, (-8, -2), (-5, -5), (-3, -3), (-3, 6), (-2, 7), (-4, 9), Raise_Pen, (0, -4), (1, -3), (3, -2), (3, 7), (5, 9), (8, 6), Raise_Pen, (1, -4), (4, -2), (4, 6), (6, 8), Raise_Pen, (-3, -2), (0, -4), (2, -5), (3, -4), (5, -3), (6, -3), Raise_Pen, (5, -2), (6, -3), Raise_Pen, (5, -2), (5, 6), (6, 7), (7, 7))); Glyph_79 : aliased constant Glyph := (Number_Of_Vectors => 41, Width => 17, Height => 14, Y_Offset => -5, X_Offset => -8, Vects => (Raise_Pen, (-4, -2), (-4, 6), (-5, 7), Raise_Pen, (-3, -2), (-3, 6), (0, 8), Raise_Pen, (-1, -3), (-2, -2), (-2, 6), (0, 7), (1, 8), Raise_Pen, (-5, 7), (-4, 7), (-2, 8), (-1, 9), (2, 8), Raise_Pen, (-4, -2), (-1, -3), (4, -5), (5, -3), (6, 0), (6, 3), (5, 6), (4, 7), (2, 8), Raise_Pen, (3, -4), (4, -3), (5, -1), Raise_Pen, (2, -4), (4, -2), (5, 1), (5, 3), (4, 6), (2, 8))); Glyph_80 : aliased constant Glyph := (Number_Of_Vectors => 57, Width => 17, Height => 22, Y_Offset => -8, X_Offset => -8, Vects => (Raise_Pen, (-3, -8), (-5, -6), (-5, -4), (-4, -1), (-4, 6), (-6, 8), Raise_Pen, (-4, 7), (-3, 14), Raise_Pen, (-4, -5), (-4, -4), (-3, -1), (-3, 9), Raise_Pen, (-4, -7), (-4, -6), (-3, -4), (-2, -1), (-2, 6), (-1, 6), (1, 7), (2, 8), Raise_Pen, (-2, 7), (-3, 14), Raise_Pen, (1, 8), (-1, 7), Raise_Pen, (2, 8), (0, 9), (-2, 7), Raise_Pen, (-4, 7), (-6, 8), Raise_Pen, (-2, -2), (4, -5), (5, -3), (6, 0), (6, 3), (5, 6), (4, 7), (2, 8), Raise_Pen, (3, -4), (4, -3), (5, -1), Raise_Pen, (2, -4), (4, -2), (5, 1), (5, 3), (4, 6), (2, 8))); Glyph_81 : aliased constant Glyph := (Number_Of_Vectors => 43, Width => 17, Height => 19, Y_Offset => -5, X_Offset => -8, Vects => (Raise_Pen, (2, -5), (-1, -4), (-3, -3), (-4, -2), (-5, 1), (-5, 4), (-4, 7), (-3, 9), (3, 6), Raise_Pen, (-4, 5), (-3, 7), (-2, 8), Raise_Pen, (-1, -4), (-3, -2), (-4, 1), (-4, 3), (-3, 6), (-1, 8), Raise_Pen, (0, -4), (1, -3), (3, -2), (3, 6), (4, 14), Raise_Pen, (1, -4), (4, -2), (4, 9), Raise_Pen, (2, -5), (3, -4), (5, -3), (6, -3), Raise_Pen, (5, -2), (6, -3), Raise_Pen, (5, -2), (5, 6), (4, 14))); Glyph_82 : aliased constant Glyph := (Number_Of_Vectors => 32, Width => 14, Height => 14, Y_Offset => -5, X_Offset => -7, Vects => (Raise_Pen, (-4, -3), (-3, -3), (-2, -2), (-2, 6), (-3, 7), Raise_Pen, (-3, -4), (-1, -2), (-1, 7), (1, 8), Raise_Pen, (-5, -2), (-2, -5), (0, -3), (0, 6), (1, 7), (2, 7), Raise_Pen, (-3, 7), (-1, 8), (0, 9), (3, 6), Raise_Pen, (2, -4), (3, -2), (5, -3), (4, -5), (0, -3), Raise_Pen, (3, -4), (4, -3))); Glyph_83 : aliased constant Glyph := (Number_Of_Vectors => 42, Width => 11, Height => 26, Y_Offset => -12, X_Offset => -6, Vects => (Raise_Pen, (6, -12), (5, -11), (3, -11), (1, -12), (-1, -12), (-2, -10), (-2, -5), (-3, -3), (-4, -2), Raise_Pen, (4, -10), (2, -10), (0, -11), (-1, -11), Raise_Pen, (6, -12), (5, -10), (4, -9), (2, -9), (0, -10), (-1, -10), (-2, -9), Raise_Pen, (-2, -7), (0, -2), Raise_Pen, (-2, -2), (-2, 2), (-1, 14), Raise_Pen, (-1, -3), (-2, -3), (-1, -4), (-1, 9), Raise_Pen, (0, -2), (0, 2), (-1, 14), Raise_Pen, (-4, -2), (-2, -2))); Glyph_84 : aliased constant Glyph := (Number_Of_Vectors => 37, Width => 12, Height => 18, Y_Offset => -9, X_Offset => -6, Vects => (Raise_Pen, (1, -9), (0, -6), (-1, -4), (-2, -3), (-4, -2), Raise_Pen, (1, -9), (1, -3), (4, -3), (4, -2), Raise_Pen, (-4, -2), (-1, -2), Raise_Pen, (1, -2), (4, -2), Raise_Pen, (-1, -2), (-1, 6), (-2, 7), Raise_Pen, (0, -3), (-1, -3), (0, -5), (0, 6), (2, 8), Raise_Pen, (1, -2), (1, 6), (2, 7), (3, 7), Raise_Pen, (-2, 7), (0, 8), (1, 9), (4, 6))); Glyph_85 : aliased constant Glyph := (Number_Of_Vectors => 47, Width => 18, Height => 14, Y_Offset => -5, X_Offset => -9, Vects => (Raise_Pen, (-7, -3), (-6, -3), (-5, -2), (-5, 6), (-6, 7), Raise_Pen, (-6, -4), (-4, -2), (-4, 6), (-2, 8), Raise_Pen, (-8, -2), (-5, -5), (-3, -3), (-3, 6), (-1, 7), (0, 8), Raise_Pen, (-6, 7), (-5, 7), (-3, 8), (-2, 9), (0, 8), (3, 6), Raise_Pen, (4, -5), (2, -3), (3, -2), (3, 7), (5, 9), (8, 6), Raise_Pen, (4, -2), (5, -3), (4, -4), (3, -3), (4, -2), (4, 6), (6, 8), Raise_Pen, (4, -5), (6, -3), (5, -2), (5, 6), (6, 7), (7, 7))); Glyph_86 : aliased constant Glyph := (Number_Of_Vectors => 47, Width => 17, Height => 16, Y_Offset => -7, X_Offset => -8, Vects => (Raise_Pen, (-3, -7), (-5, -5), (-5, -3), (-4, 0), (-4, 6), (-5, 7), Raise_Pen, (-4, -4), (-4, -3), (-3, 0), (-3, 6), (0, 8), Raise_Pen, (-4, -6), (-4, -5), (-3, -3), (-2, 0), (-2, 6), (0, 7), (1, 8), Raise_Pen, (-5, 7), (-4, 7), (-2, 8), (-1, 9), (2, 8), Raise_Pen, (-2, -2), (4, -5), (5, -3), (6, 0), (6, 3), (5, 6), (4, 7), (2, 8), Raise_Pen, (3, -4), (4, -3), (5, -1), Raise_Pen, (2, -4), (4, -2), (5, 1), (5, 3), (4, 6), (2, 8))); Glyph_87 : aliased constant Glyph := (Number_Of_Vectors => 72, Width => 25, Height => 16, Y_Offset => -7, X_Offset => -12, Vects => (Raise_Pen, (-7, -7), (-9, -5), (-9, -3), (-8, 0), (-8, 6), (-9, 7), (-7, 9), Raise_Pen, (-8, -4), (-8, -3), (-7, 0), (-7, 6), (-8, 7), (-7, 8), (-6, 7), (-7, 6), Raise_Pen, (-8, -6), (-8, -5), (-7, -3), (-6, 0), (-6, 6), (-5, 7), (-7, 9), Raise_Pen, (-3, -4), (-1, -3), (0, -1), (0, 6), (-1, 7), Raise_Pen, (-1, -4), (0, -3), (1, -1), (1, 6), (4, 8), Raise_Pen, (-6, -2), (-3, -4), (-1, -5), (1, -4), (2, -2), (2, 6), (4, 7), (5, 8), Raise_Pen, (-1, 7), (0, 7), (2, 8), (3, 9), (6, 8), Raise_Pen, (2, -2), (8, -5), (9, -3), (10, 0), (10, 2), (9, 6), (8, 7), (6, 8), Raise_Pen, (7, -4), (8, -3), (9, -1), Raise_Pen, (6, -4), (8, -2), (9, 1), (9, 3), (8, 6), (6, 8))); Glyph_88 : aliased constant Glyph := (Number_Of_Vectors => 44, Width => 15, Height => 19, Y_Offset => -5, X_Offset => -7, Vects => (Raise_Pen, (-3, -3), (-2, -3), (-1, -2), (-1, 6), (-2, 6), (-4, 7), (-5, 9), (-5, 11), (-4, 13), (-2, 14), (1, 14), (4, 13), (4, 12), (3, 12), (3, 13), Raise_Pen, (-2, -4), (0, -2), (0, 6), (3, 8), Raise_Pen, (-4, -2), (-1, -5), (1, -3), (1, 6), (3, 7), (4, 8), Raise_Pen, (6, 7), (2, 9), (1, 8), (-1, 7), (-3, 7), (-5, 9), Raise_Pen, (3, -4), (4, -2), (6, -3), (5, -5), (1, -3), Raise_Pen, (4, -4), (5, -3))); Glyph_89 : aliased constant Glyph := (Number_Of_Vectors => 47, Width => 17, Height => 21, Y_Offset => -7, X_Offset => -8, Vects => (Raise_Pen, (-3, -7), (-5, -5), (-5, -3), (-4, 0), (-4, 6), (-5, 7), Raise_Pen, (-4, -4), (-4, -3), (-3, 0), (-3, 7), (-1, 8), Raise_Pen, (-4, -6), (-4, -5), (-3, -3), (-2, 0), (-2, 6), (-1, 7), (0, 7), Raise_Pen, (-5, 7), (-3, 8), (-2, 9), (1, 6), Raise_Pen, (-2, -2), (4, -5), (5, -3), (6, 1), (6, 5), (5, 8), (4, 10), (2, 12), (-1, 14), Raise_Pen, (3, -4), (4, -3), (5, 0), Raise_Pen, (2, -4), (4, -1), (5, 2), (5, 5), (4, 9), (2, 12))); Glyph_90 : aliased constant Glyph := (Number_Of_Vectors => 43, Width => 14, Height => 19, Y_Offset => -5, X_Offset => -7, Vects => (Raise_Pen, (-4, -2), (1, -5), (3, -4), (4, -2), (4, 0), (3, 2), (-1, 4), Raise_Pen, (1, -4), (3, -3), Raise_Pen, (0, -4), (2, -3), (3, -1), (3, 0), (2, 2), (1, 3), Raise_Pen, (1, 3), (3, 5), (4, 7), (4, 11), (3, 13), (1, 14), (-1, 14), (-3, 13), (-4, 11), (-4, 9), (-3, 7), (-1, 6), (5, 4), Raise_Pen, (0, 4), (2, 5), (3, 7), Raise_Pen, (-1, 4), (2, 6), (3, 8), (3, 11), (2, 13), (1, 14))); Glyph_91 : aliased constant Glyph := (Number_Of_Vectors => 40, Width => 14, Height => 32, Y_Offset => -16, X_Offset => -7, Vects => (Raise_Pen, (2, -16), (0, -15), (-1, -14), (-2, -12), (-2, -10), (-1, -8), (0, -7), (1, -5), (1, -3), (-1, -1), Raise_Pen, (0, -15), (-1, -13), (-1, -11), (0, -9), (1, -8), (2, -6), (2, -4), (1, -2), (-3, 0), (1, 2), (2, 4), (2, 6), (1, 8), (0, 9), (-1, 11), (-1, 13), (0, 15), Raise_Pen, (-1, 1), (1, 3), (1, 5), (0, 7), (-1, 8), (-2, 10), (-2, 12), (-1, 14), (0, 15), (2, 16))); Glyph_92 : aliased constant Glyph := (Number_Of_Vectors => 3, Width => 8, Height => 32, Y_Offset => -16, X_Offset => -4, Vects => (Raise_Pen, (0, -16), (0, 16))); Glyph_93 : aliased constant Glyph := (Number_Of_Vectors => 40, Width => 14, Height => 32, Y_Offset => -16, X_Offset => -7, Vects => (Raise_Pen, (-2, -16), (0, -15), (1, -14), (2, -12), (2, -10), (1, -8), (0, -7), (-1, -5), (-1, -3), (1, -1), Raise_Pen, (0, -15), (1, -13), (1, -11), (0, -9), (-1, -8), (-2, -6), (-2, -4), (-1, -2), (3, 0), (-1, 2), (-2, 4), (-2, 6), (-1, 8), (0, 9), (1, 11), (1, 13), (0, 15), Raise_Pen, (1, 1), (-1, 3), (-1, 5), (0, 7), (1, 8), (2, 10), (2, 12), (1, 14), (0, 15), (-2, 16))); Glyph_94 : aliased constant Glyph := (Number_Of_Vectors => 24, Width => 24, Height => 6, Y_Offset => -3, X_Offset => -12, Vects => (Raise_Pen, (-9, 3), (-9, 1), (-8, -2), (-6, -3), (-4, -3), (-2, -2), (2, 1), (4, 2), (6, 2), (8, 1), (9, -1), Raise_Pen, (-9, 1), (-8, -1), (-6, -2), (-4, -2), (-2, -1), (2, 2), (4, 3), (6, 3), (8, 2), (9, -1), (9, -3))); Glyph_95 : aliased constant Glyph := (Number_Of_Vectors => 35, Width => 16, Height => 21, Y_Offset => -12, X_Offset => -8, Vects => (Raise_Pen, (-8, -12), (-8, 9), (-7, 9), (-7, -12), (-6, -12), (-6, 9), (-5, 9), (-5, -12), (-4, -12), (-4, 9), (-3, 9), (-3, -12), (-2, -12), (-2, 9), (-1, 9), (-1, -12), (0, -12), (0, 9), (1, 9), (1, -12), (2, -12), (2, 9), (3, 9), (3, -12), (4, -12), (4, 9), (5, 9), (5, -12), (6, -12), (6, 9), (7, 9), (7, -12), (8, -12), (8, 9))); Font_D : aliased constant Hershey_Font := (Number_Of_Glyphs => 96, Glyphs => ( Glyph_0'Access, Glyph_1'Access, Glyph_2'Access, Glyph_3'Access, Glyph_4'Access, Glyph_5'Access, Glyph_6'Access, Glyph_7'Access, Glyph_8'Access, Glyph_9'Access, Glyph_10'Access, Glyph_11'Access, Glyph_12'Access, Glyph_13'Access, Glyph_14'Access, Glyph_15'Access, Glyph_16'Access, Glyph_17'Access, Glyph_18'Access, Glyph_19'Access, Glyph_20'Access, Glyph_21'Access, Glyph_22'Access, Glyph_23'Access, Glyph_24'Access, Glyph_25'Access, Glyph_26'Access, Glyph_27'Access, Glyph_28'Access, Glyph_29'Access, Glyph_30'Access, Glyph_31'Access, Glyph_32'Access, Glyph_33'Access, Glyph_34'Access, Glyph_35'Access, Glyph_36'Access, Glyph_37'Access, Glyph_38'Access, Glyph_39'Access, Glyph_40'Access, Glyph_41'Access, Glyph_42'Access, Glyph_43'Access, Glyph_44'Access, Glyph_45'Access, Glyph_46'Access, Glyph_47'Access, Glyph_48'Access, Glyph_49'Access, Glyph_50'Access, Glyph_51'Access, Glyph_52'Access, Glyph_53'Access, Glyph_54'Access, Glyph_55'Access, Glyph_56'Access, Glyph_57'Access, Glyph_58'Access, Glyph_59'Access, Glyph_60'Access, Glyph_61'Access, Glyph_62'Access, Glyph_63'Access, Glyph_64'Access, Glyph_65'Access, Glyph_66'Access, Glyph_67'Access, Glyph_68'Access, Glyph_69'Access, Glyph_70'Access, Glyph_71'Access, Glyph_72'Access, Glyph_73'Access, Glyph_74'Access, Glyph_75'Access, Glyph_76'Access, Glyph_77'Access, Glyph_78'Access, Glyph_79'Access, Glyph_80'Access, Glyph_81'Access, Glyph_82'Access, Glyph_83'Access, Glyph_84'Access, Glyph_85'Access, Glyph_86'Access, Glyph_87'Access, Glyph_88'Access, Glyph_89'Access, Glyph_90'Access, Glyph_91'Access, Glyph_92'Access, Glyph_93'Access, Glyph_94'Access, Glyph_95'Access ), Y_Advance => 32); Font : constant Giza.Font.Ref_Const := Font_D'Access; end Giza.Hershey_Fonts.Gothicger;
-- ----------------------------------------------------------------- -- -- -- -- This 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 software 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 library; if not, write to the -- -- Free Software Foundation, Inc., 59 Temple Place - Suite 330, -- -- Boston, MA 02111-1307, USA. -- -- -- -- ----------------------------------------------------------------- -- -- ----------------------------------------------------------------- -- -- This is a translation, to the Ada programming language, of the -- -- original C test files written by Sam Lantinga - www.libsdl.org -- -- translation made by Antonio F. Vargas - www.adapower.net/~avargas -- -- ----------------------------------------------------------------- -- with System; with Interfaces.C.Strings; with Ada.Text_IO; use Ada.Text_IO; with Ada.Command_Line; with Ada.Characters.Handling; with Ada.Unchecked_Conversion; with GNAT.OS_Lib; with SDL.Timer; with SDL.Error; with SDL.Quit; with SDL.Types; use SDL.Types; with TestTimer_Sprogs; use TestTimer_Sprogs; procedure TestTimer is DEFAULT_RESOLUTION : constant := 1; package C renames Interfaces.C; use type C.int; package CS renames Interfaces.C.Strings; package CL renames Ada.Command_Line; package CH renames Ada.Characters.Handling; package T renames SDL.Timer; use type T.TimerID; package Er renames SDL.Error; package Int_IO is new Integer_IO (C.int); function To_Address is new Ada.Unchecked_Conversion (C.int, System.Address); desired : C.int; t1, t2, t3 : T.TimerID; Dummy_bool : SDL_bool; begin desired := 0; if(CL.Argument_Count >= 1) then if not CH.Is_Digit (CL.Argument (1) (1)) then Put_Line ("Usage: " & CL.Command_Name & " init_value"); GNAT.OS_Lib.OS_Exit (0); else declare use Int_IO; last : Positive; begin Get (CL.Argument (1), desired, last); end; end if; end if; -- Load the SDL library if SDL.Init (SDL.INIT_TIMER) < 0 then Put_Line ("Couldn't load SDL: " & Er.Get_Error); GNAT.OS_Lib.OS_Exit (1); end if; SDL.Quit.atexit (SDL.SDL_Quit'Access); -- Start the timer if desired = 0 then desired := DEFAULT_RESOLUTION; end if; T.SetTimer (Uint32 (desired), ticktock'Access); -- Wait 10 seconds Put_Line ("Wait 10 seconds"); T.SDL_Delay (10*1000); -- Stop the timer T.SetTimer (0, null); -- Print the results if ticks /= 0 then Put_Line ("Testing resolution: desired = " & C.int'Image (desired) & " ms, actual = " & Float'Image (Float(10 * 1000) / Float (ticks)) & " ms"); end if; -- Test multiple timers Put_Line ("Testing multiple timers..."); t1 := T.AddTimer (100, callback'Access, To_Address (1)); if t1 = T.Null_TimerID then Put_Line ("Could not create timer 1"); end if; t2 := T.AddTimer (50, callback'Access, To_Address (2)); if t2 = T.Null_TimerID then Put_Line ("Could not create timer 2"); end if; t3 := T.AddTimer (233, callback'Access, To_Address (3)); if t3 = T.Null_TimerID then Put_Line ("Could not create timer 3"); end if; -- Wait 10 seconds Put_Line ("Waiting 10 seconds"); T.SDL_Delay (10 * 1000); Put_Line ("Removing timer 1 and waiting 5 more seconds"); Dummy_bool := T.RemoveTimer (t1); T.SDL_Delay (5 * 1000); Dummy_bool := T.RemoveTimer (t2); Dummy_bool := T.RemoveTimer (t3); GNAT.OS_Lib.OS_Exit (0); end TestTimer;