hexsha
stringlengths
40
40
size
int64
3
1.05M
ext
stringclasses
163 values
lang
stringclasses
53 values
max_stars_repo_path
stringlengths
3
945
max_stars_repo_name
stringlengths
4
112
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
sequencelengths
1
10
max_stars_count
float64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
945
max_issues_repo_name
stringlengths
4
113
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
sequencelengths
1
10
max_issues_count
float64
1
116k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
945
max_forks_repo_name
stringlengths
4
113
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
sequencelengths
1
10
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
3
1.05M
avg_line_length
float64
1
966k
max_line_length
int64
1
977k
alphanum_fraction
float64
0
1
4d4df66373cf3c7d97e1da4d48341600eb71fb67
789
adb
Ada
gdb/testsuite/gdb.ada/int_deref/foo.adb
greyblue9/binutils-gdb
05377632b124fe7600eea7f4ee0e9a35d1b0cbdc
[ "BSD-3-Clause" ]
1
2020-10-14T03:24:35.000Z
2020-10-14T03:24:35.000Z
gdb/testsuite/gdb.ada/int_deref/foo.adb
greyblue9/binutils-gdb
05377632b124fe7600eea7f4ee0e9a35d1b0cbdc
[ "BSD-3-Clause" ]
null
null
null
gdb/testsuite/gdb.ada/int_deref/foo.adb
greyblue9/binutils-gdb
05377632b124fe7600eea7f4ee0e9a35d1b0cbdc
[ "BSD-3-Clause" ]
null
null
null
-- Copyright 2008-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; procedure Foo is begin Pck.Watch := Pck.Watch + 1; end Foo;
35.863636
73
0.731305
1d2bd3e742a4824841490916edbe2f5e0d9f3cc3
525
ads
Ada
tests/shipmodules-test_data-tests.ads
thindil/steamsky
d5d7fea622f7994c91017c4cd7ba5e188153556c
[ "TCL", "MIT" ]
80
2017-04-08T23:14:07.000Z
2022-02-10T22:30:51.000Z
tests/shipmodules-test_data-tests.ads
thindil/steamsky
d5d7fea622f7994c91017c4cd7ba5e188153556c
[ "TCL", "MIT" ]
89
2017-06-24T08:18:26.000Z
2021-11-12T04:37:36.000Z
tests/shipmodules-test_data-tests.ads
thindil/steamsky
d5d7fea622f7994c91017c4cd7ba5e188153556c
[ "TCL", "MIT" ]
9
2018-04-14T16:37:25.000Z
2020-03-21T14:33:49.000Z
-- This package has been generated automatically by GNATtest. -- Do not edit any part of it, see GNATtest documentation for more details. -- begin read only with Gnattest_Generated; package ShipModules.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.ShipModules.Test_Data .Test with null record; procedure Test_GetModuleType_51fe9c_525d49(Gnattest_T: in out Test); -- shipmodules.ads:115:4:GetModuleType:Test_GetModuleType end ShipModules.Test_Data.Tests; -- end read only
29.166667
78
0.782857
12ed81d6aae0bc3d5e9cc8b7662a589f1cb4d08c
4,512
adb
Ada
llvm-gcc-4.2-2.9/gcc/ada/s-addope.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
llvm-gcc-4.2-2.9/gcc/ada/s-addope.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-gcc-4.2-2.9/gcc/ada/s-addope.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . A D D R E S S _ O P E R A T I O N S -- -- -- -- B o d y -- -- -- -- Copyright (C) 2004 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 implementation dependent sections of this file. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Unchecked_Conversion; package body System.Address_Operations is type IA is mod 2 ** Address'Size; -- The type used to provide the actual desired operations function I is new Unchecked_Conversion (Address, IA); function A is new Unchecked_Conversion (IA, Address); -- The operations are implemented by unchecked conversion to type IA, -- followed by doing the intrinsic operation on the IA values, followed -- by converting the result back to type Address. ---------- -- AddA -- ---------- function AddA (Left, Right : Address) return Address is begin return A (I (Left) + I (Right)); end AddA; ---------- -- AndA -- ---------- function AndA (Left, Right : Address) return Address is begin return A (I (Left) and I (Right)); end AndA; ---------- -- DivA -- ---------- function DivA (Left, Right : Address) return Address is begin return A (I (Left) / I (Right)); end DivA; ---------- -- ModA -- ---------- function ModA (Left, Right : Address) return Address is begin return A (I (Left) mod I (Right)); end ModA; --------- -- MulA -- --------- function MulA (Left, Right : Address) return Address is begin return A (I (Left) * I (Right)); end MulA; --------- -- OrA -- --------- function OrA (Left, Right : Address) return Address is begin return A (I (Left) or I (Right)); end OrA; ---------- -- SubA -- ---------- function SubA (Left, Right : Address) return Address is begin return A (I (Left) - I (Right)); end SubA; end System.Address_Operations;
39.234783
78
0.477615
4d111caa130f41cddde5c56351267ed25563e8b6
38,394
adb
Ada
src/gen-model-projects.adb
Letractively/ada-gen
d06d03821057f9177f2350e32dd09e467df08612
[ "Apache-2.0" ]
null
null
null
src/gen-model-projects.adb
Letractively/ada-gen
d06d03821057f9177f2350e32dd09e467df08612
[ "Apache-2.0" ]
null
null
null
src/gen-model-projects.adb
Letractively/ada-gen
d06d03821057f9177f2350e32dd09e467df08612
[ "Apache-2.0" ]
null
null
null
----------------------------------------------------------------------- -- gen-model-projects -- Projects meta data -- Copyright (C) 2011, 2012, 2013, 2014 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- 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.IO_Exceptions; with Ada.Directories; with Ada.Strings.Fixed; with Ada.Strings.Maps; with Util.Files; with Util.Log.Loggers; with Util.Serialize.IO.XML; with Util.Serialize.Mappers.Record_Mapper; with Util.Streams.Buffered; with Util.Streams.Texts; with Util.Strings.Transforms; package body Gen.Model.Projects is Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("Gen.Model.Projects"); -- Find the Dynamo.xml path associated with the given GNAT project file or installed -- in the Dynamo installation path. -- ------------------------------ function Get_Dynamo_Path (Name : in String; Project_Path : in String; Install_Dir : in String) return String; -- ------------------------------ -- 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 Project_Definition; Name : in String) return Util.Beans.Objects.Object is begin if Name = "name" then return Util.Beans.Objects.To_Object (From.Name); elsif From.Props.Exists (Name) then return Util.Beans.Objects.To_Object (String '(From.Props.Get (Name))); else return Util.Beans.Objects.Null_Object; end if; end Get_Value; -- ------------------------------ -- Get the project name. -- ------------------------------ function Get_Project_Name (Project : in Project_Definition) return String is begin return To_String (Project.Name); end Get_Project_Name; To_GNAT_Mapping : Ada.Strings.Maps.Character_Mapping; -- ------------------------------ -- Get the GNAT project file name. The default is to use the Dynamo project -- name and add the <b>.gpr</b> extension. The <b>gnat_project</b> configuration -- property allows to override this default. -- ------------------------------ function Get_GNAT_Project_Name (Project : in Project_Definition) return String is Name : constant String := Project.Props.Get ("gnat_project", ""); begin if Name'Length = 0 then return Ada.Strings.Fixed.Translate (To_String (Project.Name), To_GNAT_Mapping) & ".gpr"; else return Name; end if; end Get_GNAT_Project_Name; -- ------------------------------ -- Get the directory path which holds application modules. -- This is controlled by the <b>modules_dir</b> configuration property. -- The default is <tt>plugins</tt>. -- ------------------------------ function Get_Module_Dir (Project : in Project_Definition) return String is begin return Project.Props.Get ("modules_dir", "plugins"); end Get_Module_Dir; -- ------------------------------ -- Find the Dynamo.xml path associated with the given GNAT project file or installed -- in the Dynamo installation path. -- ------------------------------ function Get_Dynamo_Path (Name : in String; Project_Path : in String; Install_Dir : in String) return String is begin -- Check in the directory which contains the project file. if Project_Path'Length /= 0 then declare Dir : constant String := Ada.Directories.Containing_Directory (Project_Path); Dynamo : constant String := Util.Files.Compose (Dir, "dynamo.xml"); begin Log.Debug ("Checking dynamo file {0}", Dynamo); if Ada.Directories.Exists (Dynamo) then return Dynamo; end if; end; end if; -- Look in the Dynamo installation directory. if Name'Length > 0 then declare Path : constant String := Util.Files.Compose (Install_Dir, Name); Dynamo : constant String := Util.Files.Compose (Path, "dynamo.xml"); begin Log.Debug ("Checking dynamo file {0}", Dynamo); if Ada.Directories.Exists (Dynamo) then return Dynamo; end if; end; else declare Name : constant String := Ada.Directories.Base_Name (Project_Path); Path : constant String := Util.Files.Compose (Install_Dir, Name); Dynamo : constant String := Util.Files.Compose (Path, "dynamo.xml"); begin Log.Debug ("Checking dynamo file {0}", Dynamo); if Ada.Directories.Exists (Dynamo) then return Dynamo; end if; end; end if; return ""; end Get_Dynamo_Path; -- ------------------------------ -- Find the dependency for the <b>Name</b> plugin. -- Returns a null dependency if the project does not depend on that plugin. -- ------------------------------ function Find_Dependency (From : in Project_Definition; Name : in String) return Project_Reference is Iter : Project_Vectors.Cursor := From.Dependencies.First; Result : Project_Reference; begin while Project_Vectors.Has_Element (Iter) loop Result := Project_Vectors.Element (Iter); if Result.Name = Name then return Result; end if; Project_Vectors.Next (Iter); end loop; return Project_Reference '(null, To_Unbounded_String (Name), NONE); end Find_Dependency; -- ------------------------------ -- Add a dependency to the plugin identified by <b>Name</b>. -- ------------------------------ procedure Add_Dependency (Into : in out Project_Definition; Name : in String; Kind : in Dependency_Type) is Depend : Project_Reference := Into.Find_Dependency (Name); begin Log.Debug ("Adding dependency {0}", Name); if Depend.Project = null then Depend.Project := Into.Find_Project_By_Name (Name); Depend.Kind := Kind; Into.Dependencies.Append (Depend); end if; end Add_Dependency; -- ------------------------------ -- Add a dependency to the plugin identified by <b>Project</b>. -- ------------------------------ procedure Add_Dependency (Into : in out Project_Definition; Project : in Project_Definition_Access; Kind : in Dependency_Type) is procedure Update (Ref : in out Project_Reference); procedure Update (Ref : in out Project_Reference) is begin Ref.Project := Project; end Update; Iter : Project_Vectors.Cursor := Into.Dependencies.First; Result : Project_Reference; begin Log.Debug ("Adding dependency {0}", Project.Name); while Project_Vectors.Has_Element (Iter) loop Result := Project_Vectors.Element (Iter); if Result.Name = Project.Name then Into.Dependencies.Update_Element (Iter, Update'Access); return; end if; Project_Vectors.Next (Iter); end loop; Result.Project := Project; Result.Kind := Kind; Result.Name := Project.Name; Into.Dependencies.Append (Result); end Add_Dependency; -- ------------------------------ -- Add the project in the global project list on the root project instance. -- ------------------------------ procedure Add_Project (Into : in out Project_Definition; Project : in Project_Definition_Access) is begin if Into.Root /= null then Root_Project_Definition'Class (Into.Root.all).Add_Project (Project); else Log.Error ("Project not added"); end if; end Add_Project; -- ------------------------------ -- Create a project definition instance to record a project with the dynamo XML file path. -- ------------------------------ procedure Create_Project (Into : in out Project_Definition; Name : in String; Path : in String; Project : out Project_Definition_Access) is begin Project := new Project_Definition; Project.Path := To_Unbounded_String (Path); Project.Name := To_Unbounded_String (Name); Log.Info ("Creating project {0} - {1}", Name, Path); Project_Definition'Class (Into).Add_Project (Project); end Create_Project; -- ------------------------------ -- Add the project <b>Name</b> as a module. -- ------------------------------ procedure Add_Module (Into : in out Project_Definition; Name : in String) is Project : Project_Reference := Find_Project (Into.Modules, Name); begin if Project.Name /= Null_Unbounded_String then Log.Debug ("Module {0} already present", Name); return; end if; Log.Debug ("Adding module {0}", Name); Project.Name := To_Unbounded_String (Name); Project.Project := Into.Find_Project (Name); if Project.Project /= null then Project.Name := Project.Project.Name; end if; Into.Modules.Append (Project); end Add_Module; -- ------------------------------ -- Add the project represented by <b>Project</b> if it is not already part of the modules. -- ------------------------------ procedure Add_Module (Into : in out Project_Definition; Project : in Project_Definition_Access) is procedure Update (Item : in out Project_Reference); procedure Update (Item : in out Project_Reference) is begin Item.Name := Project.Name; Item.Project := Project; end Update; Iter : Project_Vectors.Cursor := Into.Modules.First; P : Project_Reference; begin while Project_Vectors.Has_Element (Iter) loop P := Project_Vectors.Element (Iter); if P.Project = Project then return; end if; if P.Name = Project.Name then Project_Vectors.Update_Element (Into.Modules, Iter, Update'Access); return; end if; Project_Vectors.Next (Iter); end loop; if Project.Name = Into.Name then Log.Debug ("Ignoring recursive reference to {0}", Into.Name); return; end if; Log.Debug ("Adding module {0} in {1}-{2}", Project.Name, Into.Name & "-" & Into.Path); P.Project := Project; P.Name := Project.Name; Into.Modules.Append (P); end Add_Module; -- ------------------------------ -- Iterate over the project referenced in the list and execute the <b>Process</b> procedure. -- ------------------------------ procedure Iterate (List : in out Project_Vectors.Vector; Process : access procedure (Item : in out Project_Reference)) is Iter : Project_Vectors.Cursor := List.First; begin while Project_Vectors.Has_Element (Iter) loop Project_Vectors.Update_Element (List, Iter, Process); Project_Vectors.Next (Iter); end loop; end Iterate; -- ------------------------------ -- Find a project from the list -- ------------------------------ function Find_Project (List : in Project_Vectors.Vector; Name : in String) return Project_Reference is Iter : Project_Vectors.Cursor := List.First; begin while Project_Vectors.Has_Element (Iter) loop declare P : constant Project_Reference := Project_Vectors.Element (Iter); begin if P.Name = Name then return P; end if; if P.Project /= null and then P.Project.Path = Name then return P; end if; end; Project_Vectors.Next (Iter); end loop; Log.Debug ("Project {0} not read yet", Name); return Project_Reference '(null, Null_Unbounded_String, NONE); end Find_Project; -- ------------------------------ -- Find the project definition associated with the dynamo XML file <b>Path</b>. -- Returns null if there is no such project -- ------------------------------ function Find_Project (From : in Project_Definition; Path : in String) return Project_Definition_Access is begin return Find_Project (From.Modules, Path).Project; end Find_Project; -- ------------------------------ -- Find the project definition having the name <b>Name</b>. -- Returns null if there is no such project -- ------------------------------ function Find_Project_By_Name (From : in Project_Definition; Name : in String) return Project_Definition_Access is begin if From.Root /= null then return Root_Project_Definition'Class (From.Root.all).Find_Project_By_Name (Name); else return null; end if; end Find_Project_By_Name; -- ------------------------------ -- Add the project in the global project list on the root project instance. -- ------------------------------ overriding procedure Add_Project (Into : in out Root_Project_Definition; Project : in Project_Definition_Access) is Ref : Project_Reference; begin Project.Root := Into'Unchecked_Access; Ref.Project := Project; Ref.Name := Project.Name; Into.Projects.Append (Ref); end Add_Project; -- ------------------------------ -- Find the project definition having the name <b>Name</b>. -- Returns null if there is no such project -- ------------------------------ overriding function Find_Project_By_Name (From : in Root_Project_Definition; Name : in String) return Project_Definition_Access is Iter : Project_Vectors.Cursor := From.Projects.First; begin while Project_Vectors.Has_Element (Iter) loop declare P : constant Project_Reference := Project_Vectors.Element (Iter); begin if P.Name = Name then return P.Project; end if; end; Project_Vectors.Next (Iter); end loop; Log.Debug ("Project {0} not found", Name); return null; end Find_Project_By_Name; -- ------------------------------ -- Update the project references after a project is found and initialized. -- ------------------------------ procedure Update_References (Root : in out Root_Project_Definition; Project : in Project_Definition_Access) is procedure Update (Item : in out Project_Reference); procedure Update (Item : in out Project_Reference) is begin if Item.Name = Project.Name or Item.Name = Project.Path then if Item.Project = null then Item.Project := Project; elsif Item.Project /= Project then Log.Error ("Project {0} found in {1} and {2}", To_String (Item.Name), To_String (Item.Project.Path), To_String (Project.Path)); end if; elsif Item.Project /= null and then Item.Project.Path = Project.Path then Item.Name := Project.Name; end if; if Item.Project /= null and then not Item.Project.Recursing then Item.Project.Recursing := True; Iterate (Item.Project.Modules, Update'Access); Iterate (Item.Project.Dependencies, Update'Access); Item.Project.Recursing := False; end if; end Update; begin Root.Recursing := True; Iterate (Root.Projects, Update'Access); Root.Recursing := False; end Update_References; -- ------------------------------ -- Find the project definition associated with the dynamo XML file <b>Path</b>. -- Returns null if there is no such project -- ------------------------------ overriding function Find_Project (From : in Root_Project_Definition; Path : in String) return Project_Definition_Access is begin return Find_Project (From.Projects, Path).Project; end Find_Project; -- ------------------------------ -- Save the project description and parameters. -- ------------------------------ procedure Save (Project : in out Project_Definition; Path : in String) is use Util.Streams.Buffered; use Util.Streams; use Util.Beans.Objects; procedure Save_Dependency (Pos : in Project_Vectors.Cursor); procedure Save_Module (Pos : in Project_Vectors.Cursor); procedure Read_Property_Line (Line : in String); Output : Util.Serialize.IO.XML.Output_Stream; Prop_Output : Util.Streams.Texts.Print_Stream; procedure Save_Dependency (Pos : in Project_Vectors.Cursor) is Depend : constant Project_Reference := Project_Vectors.Element (Pos); begin if Depend.Kind = DIRECT then Output.Write_String (ASCII.LF & " "); Output.Start_Entity (Name => "depend"); Output.Write_Attribute (Name => "name", Value => To_Object (Depend.Name)); Output.End_Entity (Name => "depend"); end if; end Save_Dependency; procedure Save_Module (Pos : in Project_Vectors.Cursor) is Module : constant Project_Reference := Project_Vectors.Element (Pos); Name : constant String := To_String (Module.Name); begin if Name'Length > 0 then Output.Write_String (ASCII.LF & " "); Output.Start_Entity (Name => "module"); Output.Write_Attribute (Name => "name", Value => Util.Beans.Objects.To_Object (Name)); Output.End_Entity (Name => "module"); end if; end Save_Module; -- ------------------------------ -- Read the application property file to remove all the dynamo.* properties -- ------------------------------ procedure Read_Property_Line (Line : in String) is begin if Line'Length < 7 or else Line (Line'First .. Line'First + 6) /= "dynamo_" then Prop_Output.Write (Line); Prop_Output.Write (ASCII.LF); end if; end Read_Property_Line; Dir : constant String := Ada.Directories.Containing_Directory (Path); Name : constant String := Project.Get_Project_Name; Prop_Name : constant String := Name & ".properties"; Prop_Path : constant String := Ada.Directories.Compose (Dir, Prop_Name); begin Prop_Output.Initialize (Size => 100000); Output.Initialize (Size => 10000); -- Read the current project property file, ignoring the dynamo.* properties. begin Util.Files.Read_File (Prop_Path, Read_Property_Line'Access); exception when Ada.IO_Exceptions.Name_Error => null; end; -- Start building the new dynamo.xml content. -- At the same time, we append in the project property file the list of dynamo properties. Output.Start_Entity (Name => "project"); Output.Write_String (ASCII.LF & " "); Output.Write_Entity (Name => "name", Value => Util.Beans.Objects.To_Object (Name)); declare Names : constant Util.Properties.Name_Array := Project.Props.Get_Names; begin for I in Names'Range loop Output.Write_String (ASCII.LF & " "); Output.Start_Entity (Name => "property"); Output.Write_Attribute (Name => "name", Value => Util.Beans.Objects.To_Object (Names (I))); Output.Write_String (Value => Util.Strings.Transforms.Escape_Xml (To_String (Project.Props.Get (Names (I))))); Output.End_Entity (Name => "property"); Prop_Output.Write ("dynamo_"); Prop_Output.Write (Names (I)); Prop_Output.Write ("="); Prop_Output.Write (To_String (Project.Props.Get (Names (I)))); Prop_Output.Write (ASCII.LF); end loop; end; Project.Modules.Iterate (Save_Module'Access); Project.Dependencies.Iterate (Save_Dependency'Access); Output.Write_String (ASCII.LF & ""); Output.End_Entity (Name => "project"); Util.Files.Write_File (Content => Texts.To_String (Buffered_Stream (Output)), Path => Path); Util.Files.Write_File (Content => Texts.To_String (Buffered_Stream (Prop_Output)), Path => Prop_Path); end Save; -- ------------------------------ -- Read the XML project description into the project description. -- ------------------------------ procedure Read_Project (Project : in out Project_Definition) is type Project_Fields is (FIELD_PROJECT_NAME, FIELD_PROPERTY_NAME, FIELD_PROPERTY_VALUE, FIELD_MODULE_NAME, FIELD_DEPEND_NAME); type Project_Loader is record Name : Unbounded_String; end record; type Project_Loader_Access is access all Project_Loader; procedure Set_Member (Closure : in out Project_Loader; Field : in Project_Fields; Value : in Util.Beans.Objects.Object); -- ------------------------------ -- Called by the de-serialization when a given field is recognized. -- ------------------------------ procedure Set_Member (Closure : in out Project_Loader; Field : in Project_Fields; Value : in Util.Beans.Objects.Object) is begin case Field is when FIELD_PROJECT_NAME => Project.Name := Util.Beans.Objects.To_Unbounded_String (Value); when FIELD_MODULE_NAME => declare Name : constant String := Util.Beans.Objects.To_String (Value); begin Project.Add_Module (Name); end; when FIELD_DEPEND_NAME => if not Util.Beans.Objects.Is_Empty (Value) then Project.Add_Dependency (Util.Beans.Objects.To_String (Value), DIRECT); end if; when FIELD_PROPERTY_NAME => Closure.Name := Util.Beans.Objects.To_Unbounded_String (Value); when FIELD_PROPERTY_VALUE => Project.Props.Set (Closure.Name, Util.Beans.Objects.To_Unbounded_String (Value)); end case; end Set_Member; package Project_Mapper is new Util.Serialize.Mappers.Record_Mapper (Element_Type => Project_Loader, Element_Type_Access => Project_Loader_Access, Fields => Project_Fields, Set_Member => Set_Member); Path : constant String := To_String (Project.Path); Loader : aliased Project_Loader; Mapper : aliased Project_Mapper.Mapper; Reader : Util.Serialize.IO.XML.Parser; begin Log.Info ("Reading project file '{0}'", Path); if Path /= "" and then Ada.Directories.Exists (Path) then -- Create the mapping to load the XML project file. Mapper.Add_Mapping ("name", FIELD_PROJECT_NAME); Mapper.Add_Mapping ("property/@name", FIELD_PROPERTY_NAME); Mapper.Add_Mapping ("property", FIELD_PROPERTY_VALUE); Mapper.Add_Mapping ("module/@name", FIELD_MODULE_NAME); Mapper.Add_Mapping ("depend/@name", FIELD_DEPEND_NAME); Reader.Add_Mapping ("project", Mapper'Unchecked_Access); -- Set the context for Set_Member. Project_Mapper.Set_Context (Reader, Loader'Access); Project.Name := Null_Unbounded_String; -- Read the XML query file. Reader.Parse (Path); end if; if Length (Project.Name) = 0 then Log.Error ("Project file {0} does not contain the project name.", Path); elsif Project.Root /= null then Root_Project_Definition'Class (Project.Root.all). Update_References (Project'Unchecked_Access); end if; Log.Info ("Project {0} is {1}", To_String (Project.Path), To_String (Project.Name)); end Read_Project; -- ------------------------------ -- Scan and read the possible modules used by the application. Modules are stored in the -- <b>plugins</b> directory. Each module is stored in its own directory and has its own -- <b>dynamo.xml</b> file. -- ------------------------------ procedure Read_Modules (Project : in out Project_Definition) is use Ada.Directories; Dir_Filter : constant Filter_Type := (Directory => True, others => False); Module_Dir : constant String := Gen.Utils.Absolute_Path (Project.Get_Module_Dir); Ent : Directory_Entry_Type; Search : Search_Type; begin if not Exists (Module_Dir) then Log.Debug ("Project {0} has no module", Project.Name); return; end if; if Kind (Module_Dir) /= Directory then Log.Debug ("Project {0} has no module", Project.Name); return; end if; Log.Info ("Scanning project modules in {0}", Module_Dir); Start_Search (Search, Directory => Module_Dir, Pattern => "*", Filter => Dir_Filter); while More_Entries (Search) loop Get_Next_Entry (Search, Ent); declare Dir_Name : constant String := Simple_Name (Ent); Dir : constant String := Compose (Module_Dir, Dir_Name); File : constant String := Compose (Dir, "dynamo.xml"); begin if Dir_Name /= "." and then Dir_Name /= ".." and then Dir_Name /= ".svn" and then Exists (File) then declare P : Project_Definition_Access; begin P := Project.Find_Project (File); if P = null then Project.Create_Project (Path => File, Name => "", Project => P); Project.Dynamo_Files.Append (File); P.Read_Project; Project.Add_Dependency (P, DIRECT); end if; end; end if; end; end loop; exception when E : Ada.IO_Exceptions.Name_Error => Log.Info ("Exception: {0}", Util.Log.Loggers.Traceback (E)); end Read_Modules; -- ------------------------------ -- Read the XML project file. When <b>Recursive</b> is set, read the GNAT project -- files used by the main project and load all the <b>dynamo.xml</b> files defined -- by these project. -- ------------------------------ procedure Read_Project (Project : in out Root_Project_Definition; File : in String; Config : in Util.Properties.Manager'Class; Recursive : in Boolean := False) is procedure Collect_Dynamo_Files (List : in Gen.Utils.GNAT.Project_Info_Vectors.Vector; Result : out Gen.Utils.String_List.Vector); -- ------------------------------ -- Collect the <b>dynamo.xml</b> files used by the projects. -- Keep the list in the dependency order so that it can be used -- to build the database schema and take into account schema dependencies. -- ------------------------------ procedure Collect_Dynamo_Files (List : in Gen.Utils.GNAT.Project_Info_Vectors.Vector; Result : out Gen.Utils.String_List.Vector) is use Gen.Utils.GNAT; Iter : Gen.Utils.GNAT.Project_Info_Vectors.Cursor := List.First; Dir : constant String := To_String (Project.Install_Dir); begin while Gen.Utils.GNAT.Project_Info_Vectors.Has_Element (Iter) loop declare Info : constant Project_Info := Project_Info_Vectors.Element (Iter); Name : constant String := To_String (Info.Name); Dynamo : constant String := Get_Dynamo_Path (Name, To_String (Info.Path), Dir); Has_File : constant Boolean := Result.Contains (Dynamo); P : Model.Projects.Project_Definition_Access; begin Project_Info_Vectors.Next (Iter); -- Do not include the 'dynamo.xml' path if it is already in the list -- (this happens if a project uses several GNAT project files). -- We have to make sure that the 'dynamo.xml' stored in the current directory -- appears last in the list. if (not Has_File or else not Project_Info_Vectors.Has_Element (Iter)) -- Insert only if there is a file. and Dynamo'Length > 0 then Log.Debug ("Dynamo file {0} is used", Dynamo); if Has_File then Result.Delete (Result.Find_Index (Dynamo)); end if; Result.Append (Dynamo); -- Find the project associated with the dynamo.xml file. -- Create it and load the XML if necessary. P := Project.Find_Project (Dynamo); if P = null then Log.Debug ("Create dependency for {0} on {1}", Name, Dynamo); Project.Create_Project (Path => Dynamo, Name => Name, Project => P); P.Read_Project; Project.Add_Dependency (P, DIRECT); end if; end if; end; end loop; end Collect_Dynamo_Files; begin Project.Path := To_Unbounded_String (Gen.Utils.Absolute_Path (File)); Project.Root := null; Project.Add_Project (Project'Unchecked_Access); Project.Read_Project; -- When necessary, read the GNAT project files. We get a list of absolute GNAT path -- files that we can use to known the project dependencies with other modules. -- This is useful for database schema generation for example. if Recursive then -- Read GNAT project files. declare Name : constant String := Project.Get_GNAT_Project_Name; begin if not Ada.Directories.Exists (Name) then Log.Warn ("GNAT project file {0} does not exist.", Name); return; end if; Gen.Utils.GNAT.Initialize (Config); Gen.Utils.GNAT.Read_GNAT_Project_List (Name, Project.Project_Files); end; -- Mark the fact we did a recursive scan. Project.Recursive_Scan := True; -- Look for the projects that define the 'dynamo.xml' configuration. Collect_Dynamo_Files (Project.Project_Files, Project.Dynamo_Files); Project.Read_Modules; -- Last step, look for each project that was not yet found and try to load it -- from the Dynamo installation. declare Install_Dir : constant String := To_String (Project.Install_Dir); Pending : Project_Vectors.Vector; procedure Update (Item : in out Project_Reference); procedure Read_Dependencies (Def : in out Project_Definition'Class); -- ------------------------------ -- Read the dynamo project dependencies and find the associated dynamo.xml file. -- This is necessary for the plugins that don't have a GNAT project file associated. -- Such plugin don't contain any Ada code but they could provide either database files -- and web presentation pages (HTML, CSS, Javascript). -- ------------------------------ procedure Read_Dependencies (Def : in out Project_Definition'Class) is Iter : Project_Vectors.Cursor := Def.Dependencies.First; Result : Project_Reference; Found : Project_Reference; Dir : constant String := To_String (Project.Install_Dir); begin Log.Debug ("Read dependencies of {0}", Def.Name); while Project_Vectors.Has_Element (Iter) loop Result := Project_Vectors.Element (Iter); if Result.Project = null then Found := Find_Project (Pending, To_String (Result.Name)); if Found.Kind = NONE then Result.Project := Def.Find_Project_By_Name (To_String (Result.Name)); if Result.Project = null then Result.Project := new Project_Definition; Result.Project.Path := To_Unbounded_String (""); Result.Project.Name := Result.Name; Pending.Append (Result); end if; declare Path : constant String := To_String (Result.Project.Path); Dynamo : constant String := Get_Dynamo_Path (Result.Project.Get_Name, Path, Dir); Has_File : constant Boolean := Project.Dynamo_Files.Contains (Dynamo); begin Log.Info ("Project {0} depends on {1} found dynamo file {2}", Def.Get_Name, Result.Project.Get_Name, Dynamo); if Dynamo /= "" then if Path = "" then Result.Project.Path := To_Unbounded_String (Dynamo); end if; if not Has_File then Project.Dynamo_Files.Append (Dynamo); end if; end if; end; end if; end if; Project_Vectors.Next (Iter); end loop; end Read_Dependencies; procedure Update (Item : in out Project_Reference) is begin Log.Debug ("Checking project {0}", Item.Name); if Item.Project = null then Item.Project := Project.Find_Project_By_Name (To_String (Item.Name)); end if; if Item.Project = null then declare Name : constant String := To_String (Item.Name); Path : constant String := Util.Files.Compose (Install_Dir, Name); Dynamo : constant String := Util.Files.Compose (Path, "dynamo.xml"); begin Log.Debug ("Checking dynamo file {0}", Dynamo); if Ada.Directories.Exists (Dynamo) then if not Project.Dynamo_Files.Contains (Dynamo) then Project.Dynamo_Files.Append (Dynamo); end if; Item.Project := new Project_Definition; Item.Project.Path := To_Unbounded_String (Dynamo); Item.Project.Name := Item.Name; Pending.Append (Item); Log.Info ("Preparing to load {0} from {1}", Name, Dynamo); else Log.Info ("Project {0} not found in dynamo search path", Name); end if; end; end if; if Item.Project /= null and then not Item.Project.Recursive_Scan then Item.Project.Recursive_Scan := True; Iterate (Item.Project.Modules, Update'Access); end if; if Item.Project /= null and then not Item.Project.Depend_Scan then Item.Project.Depend_Scan := True; Read_Dependencies (Item.Project.all); end if; end Update; Iter : Project_Vectors.Cursor; begin Iterate (Project.Modules, Update'Access); for Pass in 1 .. 4 loop Iter := Project.Projects.First; Log.Info ("Checking {0} projects", Ada.Containers.Count_Type'Image (Project.Projects.Length)); Iterate (Project.Projects, Update'Access); exit when Pending.Is_Empty; while not Pending.Is_Empty loop Iter := Pending.First; Project.Projects.Append (Project_Vectors.Element (Iter)); Project_Vectors.Element (Iter).Project.Read_Project; Pending.Delete_First; end loop; end loop; end; end if; end Read_Project; begin To_GNAT_Mapping := Ada.Strings.Maps.To_Mapping (From => "-", To => "_"); end Gen.Model.Projects;
41.960656
99
0.548237
203d1c771ee31469b11395eb9aea0882d98df3d4
21,726
adb
Ada
Validation/pyFrame3DD-master/gcc-master/gcc/ada/uname.adb
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/uname.adb
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/uname.adb
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- U N A M E -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2020, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Atree; use Atree; with Casing; use Casing; with Einfo; use Einfo; with Hostparm; with Lib; use Lib; with Nlists; use Nlists; with Output; use Output; with Sinfo; use Sinfo; with Sinput; use Sinput; package body Uname is function Has_Prefix (X, Prefix : String) return Boolean; -- True if Prefix is at the beginning of X. For example, -- Has_Prefix("a-filename.ads", Prefix => "a-") is True. ------------------- -- Get_Body_Name -- ------------------- function Get_Body_Name (N : Unit_Name_Type) return Unit_Name_Type is begin Get_Name_String (N); pragma Assert (Name_Len > 2 and then Name_Buffer (Name_Len - 1) = '%' and then Name_Buffer (Name_Len) = 's'); Name_Buffer (Name_Len) := 'b'; return Name_Find; end Get_Body_Name; ----------------------------------- -- Get_External_Unit_Name_String -- ----------------------------------- procedure Get_External_Unit_Name_String (N : Unit_Name_Type) is Pcount : Natural; Newlen : Natural; begin -- Get unit name and eliminate trailing %s or %b Get_Name_String (N); Name_Len := Name_Len - 2; -- Find number of components Pcount := 0; for J in 1 .. Name_Len loop if Name_Buffer (J) = '.' then Pcount := Pcount + 1; end if; end loop; -- If simple name, nothing to do if Pcount = 0 then return; end if; -- If name has multiple components, replace dots by double underscore Newlen := Name_Len + Pcount; for J in reverse 1 .. Name_Len loop if Name_Buffer (J) = '.' then Name_Buffer (Newlen) := '_'; Name_Buffer (Newlen - 1) := '_'; Newlen := Newlen - 2; else Name_Buffer (Newlen) := Name_Buffer (J); Newlen := Newlen - 1; end if; end loop; Name_Len := Name_Len + Pcount; end Get_External_Unit_Name_String; -------------------------- -- Get_Parent_Body_Name -- -------------------------- function Get_Parent_Body_Name (N : Unit_Name_Type) return Unit_Name_Type is begin Get_Name_String (N); while Name_Buffer (Name_Len) /= '.' loop pragma Assert (Name_Len > 1); -- not a child or subunit name Name_Len := Name_Len - 1; end loop; Name_Buffer (Name_Len) := '%'; Name_Len := Name_Len + 1; Name_Buffer (Name_Len) := 'b'; return Name_Find; end Get_Parent_Body_Name; -------------------------- -- Get_Parent_Spec_Name -- -------------------------- function Get_Parent_Spec_Name (N : Unit_Name_Type) return Unit_Name_Type is begin Get_Name_String (N); while Name_Buffer (Name_Len) /= '.' loop if Name_Len = 1 then return No_Unit_Name; else Name_Len := Name_Len - 1; end if; end loop; Name_Buffer (Name_Len) := '%'; Name_Len := Name_Len + 1; Name_Buffer (Name_Len) := 's'; return Name_Find; end Get_Parent_Spec_Name; ------------------- -- Get_Spec_Name -- ------------------- function Get_Spec_Name (N : Unit_Name_Type) return Unit_Name_Type is begin Get_Name_String (N); pragma Assert (Name_Len > 2 and then Name_Buffer (Name_Len - 1) = '%' and then Name_Buffer (Name_Len) = 'b'); Name_Buffer (Name_Len) := 's'; return Name_Find; end Get_Spec_Name; ------------------- -- Get_Unit_Name -- ------------------- function Get_Unit_Name (N : Node_Id) return Unit_Name_Type is Unit_Name_Buffer : String (1 .. Hostparm.Max_Name_Length); -- Buffer used to build name of unit. Note that we cannot use the -- Name_Buffer in package Name_Table because we use it to read -- component names. Unit_Name_Length : Natural := 0; -- Length of name stored in Unit_Name_Buffer Node : Node_Id; -- Program unit node procedure Add_Char (C : Character); -- Add a single character to stored unit name procedure Add_Name (Name : Name_Id); -- Add the characters of a names table entry to stored unit name procedure Add_Node_Name (Node : Node_Id); -- Recursive procedure adds characters associated with Node function Get_Parent (Node : Node_Id) return Node_Id; -- Get parent compilation unit of a stub -------------- -- Add_Char -- -------------- procedure Add_Char (C : Character) is begin -- Should really check for max length exceeded here??? Unit_Name_Length := Unit_Name_Length + 1; Unit_Name_Buffer (Unit_Name_Length) := C; end Add_Char; -------------- -- Add_Name -- -------------- procedure Add_Name (Name : Name_Id) is begin Get_Name_String (Name); for J in 1 .. Name_Len loop Add_Char (Name_Buffer (J)); end loop; end Add_Name; ------------------- -- Add_Node_Name -- ------------------- procedure Add_Node_Name (Node : Node_Id) is Kind : constant Node_Kind := Nkind (Node); begin -- Just ignore an error node (someone else will give a message) if Node = Error then return; -- Otherwise see what kind of node we have else case Kind is when N_Defining_Identifier | N_Defining_Operator_Symbol | N_Identifier => -- Note: it is of course an error to have a defining -- operator symbol at this point, but this is not where -- the error is signalled, so we handle it nicely here. Add_Name (Chars (Node)); when N_Defining_Program_Unit_Name => Add_Node_Name (Name (Node)); Add_Char ('.'); Add_Node_Name (Defining_Identifier (Node)); when N_Expanded_Name | N_Selected_Component => Add_Node_Name (Prefix (Node)); Add_Char ('.'); Add_Node_Name (Selector_Name (Node)); when N_Package_Specification | N_Subprogram_Specification => Add_Node_Name (Defining_Unit_Name (Node)); when N_Generic_Declaration | N_Package_Declaration | N_Subprogram_Body | N_Subprogram_Declaration => Add_Node_Name (Specification (Node)); when N_Generic_Instantiation => Add_Node_Name (Defining_Unit_Name (Node)); when N_Package_Body => Add_Node_Name (Defining_Unit_Name (Node)); when N_Protected_Body | N_Task_Body => Add_Node_Name (Defining_Identifier (Node)); when N_Package_Renaming_Declaration => Add_Node_Name (Defining_Unit_Name (Node)); when N_Subprogram_Renaming_Declaration => Add_Node_Name (Specification (Node)); when N_Generic_Renaming_Declaration => Add_Node_Name (Defining_Unit_Name (Node)); when N_Subprogram_Body_Stub => Add_Node_Name (Get_Parent (Node)); Add_Char ('.'); Add_Node_Name (Specification (Node)); when N_Compilation_Unit => Add_Node_Name (Unit (Node)); when N_Package_Body_Stub | N_Protected_Body_Stub | N_Task_Body_Stub => Add_Node_Name (Get_Parent (Node)); Add_Char ('.'); Add_Node_Name (Defining_Identifier (Node)); when N_Subunit => Add_Node_Name (Name (Node)); Add_Char ('.'); Add_Node_Name (Proper_Body (Node)); when N_With_Clause => Add_Node_Name (Name (Node)); when N_Pragma => Add_Node_Name (Expression (First (Pragma_Argument_Associations (Node)))); -- Tasks and protected stuff appear only in an error context, -- but the error has been posted elsewhere, so we deal nicely -- with these error situations here, and produce a reasonable -- unit name using the defining identifier. when N_Protected_Type_Declaration | N_Single_Protected_Declaration | N_Single_Task_Declaration | N_Task_Type_Declaration => Add_Node_Name (Defining_Identifier (Node)); when others => raise Program_Error; end case; end if; end Add_Node_Name; ---------------- -- Get_Parent -- ---------------- function Get_Parent (Node : Node_Id) return Node_Id is N : Node_Id := Node; begin while Nkind (N) /= N_Compilation_Unit loop N := Parent (N); end loop; return N; end Get_Parent; -- Start of processing for Get_Unit_Name begin Node := N; -- If we have Defining_Identifier, find the associated unit node if Nkind (Node) = N_Defining_Identifier then Node := Declaration_Node (Node); -- If an expanded name, it is an already analyzed child unit, find -- unit node. elsif Nkind (Node) = N_Expanded_Name then Node := Declaration_Node (Entity (Node)); end if; if Nkind (Node) = N_Package_Specification or else Nkind (Node) in N_Subprogram_Specification then Node := Parent (Node); end if; -- Node points to the unit, so get its name and add proper suffix Add_Node_Name (Node); Add_Char ('%'); case Nkind (Node) is when N_Generic_Declaration | N_Generic_Instantiation | N_Generic_Renaming_Declaration | N_Package_Declaration | N_Package_Renaming_Declaration | N_Pragma | N_Protected_Type_Declaration | N_Single_Protected_Declaration | N_Single_Task_Declaration | N_Subprogram_Declaration | N_Subprogram_Renaming_Declaration | N_Task_Type_Declaration | N_With_Clause => Add_Char ('s'); when N_Body_Stub | N_Identifier | N_Package_Body | N_Protected_Body | N_Selected_Component | N_Subprogram_Body | N_Subunit | N_Task_Body => Add_Char ('b'); when others => raise Program_Error; end case; Name_Buffer (1 .. Unit_Name_Length) := Unit_Name_Buffer (1 .. Unit_Name_Length); Name_Len := Unit_Name_Length; return Name_Find; end Get_Unit_Name; -------------------------- -- Get_Unit_Name_String -- -------------------------- procedure Get_Unit_Name_String (N : Unit_Name_Type; Suffix : Boolean := True) is Unit_Is_Body : Boolean; begin Get_Decoded_Name_String (N); Unit_Is_Body := Name_Buffer (Name_Len) = 'b'; Set_Casing (Identifier_Casing (Source_Index (Main_Unit))); -- A special fudge, normally we don't have operator symbols present, -- since it is always an error to do so. However, if we do, at this -- stage it has the form: -- "and" -- and the %s or %b has already been eliminated so put 2 chars back if Name_Buffer (1) = '"' then Name_Len := Name_Len + 2; end if; -- Now adjust the %s or %b to (spec) or (body) if Suffix then if Unit_Is_Body then Name_Buffer (Name_Len - 1 .. Name_Len + 5) := " (body)"; else Name_Buffer (Name_Len - 1 .. Name_Len + 5) := " (spec)"; end if; end if; for J in 1 .. Name_Len loop if Name_Buffer (J) = '-' then Name_Buffer (J) := '.'; end if; end loop; -- Adjust Name_Len if Suffix then Name_Len := Name_Len + (7 - 2); else Name_Len := Name_Len - 2; end if; end Get_Unit_Name_String; ---------------- -- Has_Prefix -- ---------------- function Has_Prefix (X, Prefix : String) return Boolean is begin if X'Length >= Prefix'Length then declare Slice : String renames X (X'First .. X'First + Prefix'Length - 1); begin return Slice = Prefix; end; end if; return False; end Has_Prefix; ------------------ -- Is_Body_Name -- ------------------ function Is_Body_Name (N : Unit_Name_Type) return Boolean is begin Get_Name_String (N); return Name_Len > 2 and then Name_Buffer (Name_Len - 1) = '%' and then Name_Buffer (Name_Len) = 'b'; end Is_Body_Name; ------------------- -- Is_Child_Name -- ------------------- function Is_Child_Name (N : Unit_Name_Type) return Boolean is J : Natural; begin Get_Name_String (N); J := Name_Len; while Name_Buffer (J) /= '.' loop if J = 1 then return False; -- not a child or subunit name else J := J - 1; end if; end loop; return True; end Is_Child_Name; --------------------------- -- Is_Internal_Unit_Name -- --------------------------- function Is_Internal_Unit_Name (Name : String; Renamings_Included : Boolean := True) return Boolean is Gnat : constant String := "gnat"; begin if Name = Gnat then return True; end if; if Has_Prefix (Name, Prefix => Gnat & ".") then return True; end if; return Is_Predefined_Unit_Name (Name, Renamings_Included); end Is_Internal_Unit_Name; ----------------------------- -- Is_Predefined_Unit_Name -- ----------------------------- function Is_Predefined_Unit_Name (Name : String; Renamings_Included : Boolean := True) return Boolean is Ada : constant String := "ada"; Interfaces : constant String := "interfaces"; System : constant String := "system"; begin if Name = Ada or else Name = Interfaces or else Name = System then return True; end if; if Has_Prefix (Name, Prefix => Ada & ".") or else Has_Prefix (Name, Prefix => Interfaces & ".") or else Has_Prefix (Name, Prefix => System & ".") then return True; end if; if not Renamings_Included then return False; end if; -- The following are the predefined renamings return Name = "calendar" or else Name = "machine_code" or else Name = "unchecked_conversion" or else Name = "unchecked_deallocation" or else Name = "direct_io" or else Name = "io_exceptions" or else Name = "sequential_io" or else Name = "text_io"; end Is_Predefined_Unit_Name; ------------------ -- Is_Spec_Name -- ------------------ function Is_Spec_Name (N : Unit_Name_Type) return Boolean is begin Get_Name_String (N); return Name_Len > 2 and then Name_Buffer (Name_Len - 1) = '%' and then Name_Buffer (Name_Len) = 's'; end Is_Spec_Name; ----------------------- -- Name_To_Unit_Name -- ----------------------- function Name_To_Unit_Name (N : Name_Id) return Unit_Name_Type is begin Get_Name_String (N); Name_Buffer (Name_Len + 1) := '%'; Name_Buffer (Name_Len + 2) := 's'; Name_Len := Name_Len + 2; return Name_Find; end Name_To_Unit_Name; --------------- -- New_Child -- --------------- function New_Child (Old : Unit_Name_Type; Newp : Unit_Name_Type) return Unit_Name_Type is P : Natural; begin Get_Name_String (Old); declare Child : constant String := Name_Buffer (1 .. Name_Len); begin Get_Name_String (Newp); Name_Len := Name_Len - 2; P := Child'Last; while Child (P) /= '.' loop P := P - 1; end loop; while P <= Child'Last loop Name_Len := Name_Len + 1; Name_Buffer (Name_Len) := Child (P); P := P + 1; end loop; return Name_Find; end; end New_Child; -------------- -- Uname_Ge -- -------------- function Uname_Ge (Left, Right : Unit_Name_Type) return Boolean is begin return Left = Right or else Uname_Gt (Left, Right); end Uname_Ge; -------------- -- Uname_Gt -- -------------- function Uname_Gt (Left, Right : Unit_Name_Type) return Boolean is begin return Left /= Right and then not Uname_Lt (Left, Right); end Uname_Gt; -------------- -- Uname_Le -- -------------- function Uname_Le (Left, Right : Unit_Name_Type) return Boolean is begin return Left = Right or else Uname_Lt (Left, Right); end Uname_Le; -------------- -- Uname_Lt -- -------------- function Uname_Lt (Left, Right : Unit_Name_Type) return Boolean is Left_Name : String (1 .. Hostparm.Max_Name_Length); Left_Length : Natural; Right_Name : String renames Name_Buffer; Right_Length : Natural renames Name_Len; J : Natural; begin pragma Warnings (Off, Right_Length); -- Suppress warnings on Right_Length, used in pragma Assert if Left = Right then return False; end if; Get_Name_String (Left); Left_Name (1 .. Name_Len + 1) := Name_Buffer (1 .. Name_Len + 1); Left_Length := Name_Len; Get_Name_String (Right); J := 1; loop exit when Left_Name (J) = '%'; if Right_Name (J) = '%' then return False; -- left name is longer end if; pragma Assert (J <= Left_Length and then J <= Right_Length); if Left_Name (J) /= Right_Name (J) then return Left_Name (J) < Right_Name (J); -- parent names different end if; J := J + 1; end loop; -- Come here pointing to % in left name if Right_Name (J) /= '%' then return True; -- right name is longer end if; -- Here the parent names are the same and specs sort low. If neither is -- a spec, then we are comparing the same name and we want a result of -- False in any case. return Left_Name (J + 1) = 's'; end Uname_Lt; --------------------- -- Write_Unit_Name -- --------------------- procedure Write_Unit_Name (N : Unit_Name_Type) is begin Get_Unit_Name_String (N); Write_Str (Name_Buffer (1 .. Name_Len)); end Write_Unit_Name; end Uname;
29.201613
78
0.511461
59116e76475b03c08c970d3bffa74bf98800518b
12,233
adb
Ada
llvm-gcc-4.2-2.9/gcc/ada/xtreeprs.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
llvm-gcc-4.2-2.9/gcc/ada/xtreeprs.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-gcc-4.2-2.9/gcc/ada/xtreeprs.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT SYSTEM UTILITIES -- -- -- -- X T R E E P R S -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2005, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Program to construct the spec of the Treeprs package -- Input files: -- sinfo.ads Spec of Sinfo package -- treeprs.adt Template for Treeprs package -- Output files: -- treeprs.ads Spec of Treeprs package -- Note: this program assumes that sinfo.ads has passed the error checks which -- are carried out by the CSinfo utility so it does not duplicate these checks -- An optional argument allows the specification of an output file name to -- override the default treeprs.ads file name for the generated output file. with Ada.Command_Line; use Ada.Command_Line; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Strings.Unbounded.Text_IO; use Ada.Strings.Unbounded.Text_IO; with Ada.Text_IO; use Ada.Text_IO; with Ada.Streams.Stream_IO; use Ada.Streams.Stream_IO; with GNAT.Spitbol; use GNAT.Spitbol; with GNAT.Spitbol.Patterns; use GNAT.Spitbol.Patterns; with GNAT.Spitbol.Table_Boolean; use GNAT.Spitbol.Table_Boolean; with GNAT.Spitbol.Table_VString; use GNAT.Spitbol.Table_VString; procedure XTreeprs is package TB renames GNAT.Spitbol.Table_Boolean; package TV renames GNAT.Spitbol.Table_VString; Err : exception; -- Raised on fatal error A : VString := Nul; Ffield : VString := Nul; Field : VString := Nul; Fieldno : VString := Nul; Flagno : VString := Nul; Line : VString := Nul; Name : VString := Nul; Node : VString := Nul; Outstring : VString := Nul; Prefix : VString := Nul; S : VString := Nul; S1 : VString := Nul; Syn : VString := Nul; Synonym : VString := Nul; Term : VString := Nul; subtype Sfile is Ada.Streams.Stream_IO.File_Type; OutS : Sfile; -- Output file InS : Ada.Text_IO.File_Type; -- Read sinfo.ads InT : Ada.Text_IO.File_Type; -- Read treeprs.adt Special : TB.Table (20); -- Table of special fields. These fields are not included in the table -- constructed by Xtreeprs, since they are specially handled in treeprs. -- This means these field definitions are completely ignored. Names : array (1 .. 500) of VString; -- Table of names of synonyms Positions : array (1 .. 500) of Natural; -- Table of starting positions in Pchars string for synonyms Strings : TV.Table (300); -- Contribution of each synonym to Pchars string, indexed by name Count : Natural := 0; -- Number of synonyms processed so far Curpos : Natural := 1; -- Number of characters generated in Pchars string so far Lineno : Natural := 0; -- Line number in sinfo.ads Field_Base : constant := Character'Pos ('#'); -- Fields 1-5 are represented by the characters #$%&' (i.e. by five -- contiguous characters starting at # (16#23#)). Flag_Base : constant := Character'Pos ('('); -- Flags 1-18 are represented by the characters ()*+,-./0123456789 -- (i.e. by 18 contiguous characters starting at (16#28#)). Fieldch : Character; -- Field character, as per above tables Sp : aliased Natural; -- Space left on line for Pchars output wsp : Pattern := Span (' ' & ASCII.HT); Is_Temp : Pattern := BreakX ('T') * A & "T e m p l a t e"; Get_Node : Pattern := wsp & "-- N_" & Rest * Node; Tst_Punc : Pattern := Break (" ,."); Get_Syn : Pattern := Span (' ') & "-- " & Break (' ') * Synonym & " (" & Break (')') * Field; Brk_Min : Pattern := Break ('-') * Ffield; Is_Flag : Pattern := "Flag" & Rest * Flagno; Is_Field : Pattern := Rtab (1) & Len (1) * Fieldno; Is_Syn : Pattern := wsp & "N_" & Break (",)") * Syn & Len (1) * Term; Brk_Node : Pattern := Break (' ') * Node & ' '; Chop_SP : Pattern := Len (Sp'Unrestricted_Access) * S1; M : Match_Result; procedure Put_Line (F : Sfile; S : String); procedure Put_Line (F : Sfile; S : VString); -- Local version of Put_Line ensures Unix style line endings procedure Put_Line (F : Sfile; S : String) is begin String'Write (Stream (F), S); Character'Write (Stream (F), ASCII.LF); end Put_Line; procedure Put_Line (F : Sfile; S : VString) is begin Put_Line (F, To_String (S)); end Put_Line; -- Start of processing for XTreeprs begin Anchored_Mode := True; if Argument_Count > 0 then Create (OutS, Out_File, Argument (1)); else Create (OutS, Out_File, "treeprs.ads"); end if; Open (InS, In_File, "sinfo.ads"); Open (InT, In_File, "treeprs.adt"); -- Initialize special fields table Set (Special, "Analyzed", True); Set (Special, "Cannot_Be_Constant", True); Set (Special, "Chars", True); Set (Special, "Comes_From_Source", True); Set (Special, "Error_Posted", True); Set (Special, "Etype", True); Set (Special, "Has_No_Side_Effects", True); Set (Special, "Is_Controlling_Actual", True); Set (Special, "Is_Overloaded", True); Set (Special, "Is_Static_Expression", True); Set (Special, "Left_Opnd", True); Set (Special, "Must_Check_Expr", True); Set (Special, "No_Overflow_Expr", True); Set (Special, "Paren_Count", True); Set (Special, "Raises_Constraint_Error", True); Set (Special, "Right_Opnd", True); -- Read template header and generate new header loop Line := Get_Line (InT); -- Skip lines describing the template if Match (Line, "-- This file is a template") then loop Line := Get_Line (InT); exit when Line = ""; end loop; end if; exit when Match (Line, "package"); if Match (Line, Is_Temp, M) then Replace (M, A & " S p e c "); end if; Put_Line (OutS, Line); end loop; Put_Line (OutS, Line); -- Copy rest of comments up to template insert point to spec loop Line := Get_Line (InT); exit when Match (Line, "!!TEMPLATE INSERTION POINT"); Put_Line (OutS, Line); end loop; -- Here we are doing the actual insertions Put_Line (OutS, " Pchars : constant String :="); -- Loop through comments describing nodes, picking up fields loop Line := Get_Line (InS); Lineno := Lineno + 1; exit when Match (Line, " type Node_Kind"); if Match (Line, Get_Node) and then not Match (Node, Tst_Punc) then Outstring := Node & ' '; loop Line := Get_Line (InS); exit when Line = ""; if Match (Line, Get_Syn) and then not Match (Synonym, "plus") and then not Present (Special, Synonym) then -- Convert this field into the character used to -- represent the field according to the table: -- Field1 '#' -- Field2 '$' -- Field3 '%' -- Field4 '&' -- Field5 "'" -- Flag1 "(" -- Flag2 ")" -- Flag3 '*' -- Flag4 '+' -- Flag5 ',' -- Flag6 '-' -- Flag7 '.' -- Flag8 '/' -- Flag9 '0' -- Flag10 '1' -- Flag11 '2' -- Flag12 '3' -- Flag13 '4' -- Flag14 '5' -- Flag15 '6' -- Flag16 '7' -- Flag17 '8' -- Flag18 '9' if Match (Field, Brk_Min) then Field := Ffield; end if; if Match (Field, Is_Flag) then Fieldch := Char (Flag_Base - 1 + N (Flagno)); elsif Match (Field, Is_Field) then Fieldch := Char (Field_Base - 1 + N (Fieldno)); else Put_Line (Standard_Error, "*** Line " & Lineno & " has unrecognized field name " & Field); raise Err; end if; Append (Outstring, Fieldch & Synonym); end if; end loop; Set (Strings, Node, Outstring); end if; end loop; -- Loop through actual definitions of node kind enumeration literals loop loop Line := Get_Line (InS); Lineno := Lineno + 1; exit when Match (Line, Is_Syn); end loop; S := Get (Strings, Syn); Match (S, Brk_Node, ""); Count := Count + 1; Names (Count) := Syn; Positions (Count) := Curpos; Curpos := Curpos + Length (S); Put_Line (OutS, " -- " & Node); Prefix := V (" "); exit when Term = ")"; -- Loop to output the string literal for Pchars loop Sp := 79 - 4 - Length (Prefix); exit when Size (S) <= Sp; Match (S, Chop_SP, ""); Put_Line (OutS, Prefix & '"' & S1 & """ &"); Prefix := V (" "); end loop; Put_Line (OutS, Prefix & '"' & S & """ &"); end loop; Put_Line (OutS, " """";"); Put_Line (OutS, ""); Put_Line (OutS, " type Pchar_Pos_Array is array (Node_Kind) of Positive;"); Put_Line (OutS, " Pchar_Pos : constant Pchar_Pos_Array := Pchar_Pos_Array'("); -- Output lines for Pchar_Pos_Array values for M in 1 .. Count - 1 loop Name := Rpad ("N_" & Names (M), 40); Put_Line (OutS, " " & Name & " => " & Positions (M) & ','); end loop; Name := Rpad ("N_" & Names (Count), 40); Put_Line (OutS, " " & Name & " => " & Positions (Count) & ");"); Put_Line (OutS, ""); Put_Line (OutS, "end Treeprs;"); exception when Err => Put_Line (Standard_Error, "*** fatal error"); Set_Exit_Status (1); end XTreeprs;
33.792818
79
0.501431
2fd1ecefee7f78a2064ce3a425f16e7de3dbb27d
2,090
ads
Ada
arch/ARM/STM32/svd/stm32wl5x_cm4/stm32_svd-crc.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
2
2018-05-16T03:56:39.000Z
2019-07-31T13:53:56.000Z
arch/ARM/STM32/svd/stm32wl5x_cm4/stm32_svd-crc.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
null
null
null
arch/ARM/STM32/svd/stm32wl5x_cm4/stm32_svd-crc.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
null
null
null
-- This spec has been automatically generated from STM32WL5x_CM4.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.CRC is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR_POLYSIZE_Field is HAL.UInt2; subtype CR_REV_IN_Field is HAL.UInt2; -- Control register type CR_Register is record -- RESET bit RESET : Boolean := False; -- unspecified Reserved_1_2 : HAL.UInt2 := 16#0#; -- Polynomial size POLYSIZE : CR_POLYSIZE_Field := 16#0#; -- Reverse input data REV_IN : CR_REV_IN_Field := 16#0#; -- Reverse output data REV_OUT : Boolean := False; -- unspecified Reserved_8_31 : HAL.UInt24 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CR_Register use record RESET at 0 range 0 .. 0; Reserved_1_2 at 0 range 1 .. 2; POLYSIZE at 0 range 3 .. 4; REV_IN at 0 range 5 .. 6; REV_OUT at 0 range 7 .. 7; Reserved_8_31 at 0 range 8 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- Cyclic redundancy check calculation unit type CRC_Peripheral is record -- Data register DR : aliased HAL.UInt32; -- Independent data register IDR : aliased HAL.UInt32; -- Control register CR : aliased CR_Register; -- Initial CRC value INIT : aliased HAL.UInt32; -- polynomial POL : aliased HAL.UInt32; end record with Volatile; for CRC_Peripheral use record DR at 16#0# range 0 .. 31; IDR at 16#4# range 0 .. 31; CR at 16#8# range 0 .. 31; INIT at 16#10# range 0 .. 31; POL at 16#14# range 0 .. 31; end record; -- Cyclic redundancy check calculation unit CRC_Periph : aliased CRC_Peripheral with Import, Address => CRC_Base; end STM32_SVD.CRC;
26.455696
69
0.583254
06e1628e3ad20a83a7f670bb8f76134a70cb9fa5
9,304
ads
Ada
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_rtsp_gstrtsptransport_h.ads
persan/A-gst
7a39693d105617adea52680424c862a1a08f7368
[ "Apache-2.0" ]
1
2018-01-18T00:51:00.000Z
2018-01-18T00:51:00.000Z
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_rtsp_gstrtsptransport_h.ads
persan/A-gst
7a39693d105617adea52680424c862a1a08f7368
[ "Apache-2.0" ]
null
null
null
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_rtsp_gstrtsptransport_h.ads
persan/A-gst
7a39693d105617adea52680424c862a1a08f7368
[ "Apache-2.0" ]
null
null
null
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib; with glib.Values; with System; with System; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_rtsp_gstrtspdefs_h; package GStreamer.GST_Low_Level.gstreamer_0_10_gst_rtsp_gstrtsptransport_h is -- unsupported macro: GST_TYPE_RTSP_LOWER_TRANS (gst_rtsp_lower_trans_get_type()) -- GStreamer -- * Copyright (C) <2005,2006> Wim Taymans <[email protected]> -- * -- * 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. -- -- * Unless otherwise indicated, Source Code is licensed under MIT license. -- * See further explanation attached in License Statement (distributed in the file -- * LICENSE). -- * -- * 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. -- --* -- * GstRTSPTransMode: -- * @GST_RTSP_TRANS_UNKNOWN: invalid tansport mode -- * @GST_RTSP_TRANS_RTP: transfer RTP data -- * @GST_RTSP_TRANS_RDT: transfer RDT (RealMedia) data -- * -- * The transfer mode to use. -- type GstRTSPTransMode is (GST_RTSP_TRANS_UNKNOWN, GST_RTSP_TRANS_RTP, GST_RTSP_TRANS_RDT); pragma Convention (C, GstRTSPTransMode); -- gst/rtsp/gstrtsptransport.h:62 --* -- * GstRTSPProfile: -- * @GST_RTSP_PROFILE_UNKNOWN: invalid profile -- * @GST_RTSP_PROFILE_AVP: the Audio/Visual profile -- * @GST_RTSP_PROFILE_SAVP: the secure Audio/Visual profile -- * -- * The transfer profile to use. -- type GstRTSPProfile is (GST_RTSP_PROFILE_UNKNOWN, GST_RTSP_PROFILE_AVP, GST_RTSP_PROFILE_SAVP); pragma Convention (C, GstRTSPProfile); -- gst/rtsp/gstrtsptransport.h:76 --* -- * GstRTSPLowerTrans: -- * @GST_RTSP_LOWER_TRANS_UNKNOWN: invalid transport flag -- * @GST_RTSP_LOWER_TRANS_UDP: stream data over UDP -- * @GST_RTSP_LOWER_TRANS_UDP_MCAST: stream data over UDP multicast -- * @GST_RTSP_LOWER_TRANS_TCP: stream data over TCP -- * @GST_RTSP_LOWER_TRANS_HTTP: stream data tunneled over HTTP. Since: 0.10.23 -- * -- * The different transport methods. -- subtype GstRTSPLowerTrans is unsigned; GST_RTSP_LOWER_TRANS_UNKNOWN : constant GstRTSPLowerTrans := 0; GST_RTSP_LOWER_TRANS_UDP : constant GstRTSPLowerTrans := 1; GST_RTSP_LOWER_TRANS_UDP_MCAST : constant GstRTSPLowerTrans := 2; GST_RTSP_LOWER_TRANS_TCP : constant GstRTSPLowerTrans := 4; GST_RTSP_LOWER_TRANS_HTTP : constant GstRTSPLowerTrans := 16; -- gst/rtsp/gstrtsptransport.h:94 function gst_rtsp_lower_trans_get_type return GLIB.GType; -- gst/rtsp/gstrtsptransport.h:97 pragma Import (C, gst_rtsp_lower_trans_get_type, "gst_rtsp_lower_trans_get_type"); type GstRTSPRange; --subtype GstRTSPRange is u_GstRTSPRange; -- gst/rtsp/gstrtsptransport.h:99 type GstRTSPTransport; --subtype GstRTSPTransport is u_GstRTSPTransport; -- gst/rtsp/gstrtsptransport.h:100 --* -- * GstRTSPRange: -- * @min: minimum value of the range -- * @max: maximum value of the range -- * -- * A type to specify a range. -- type GstRTSPRange is record min : aliased GLIB.gint; -- gst/rtsp/gstrtsptransport.h:111 max : aliased GLIB.gint; -- gst/rtsp/gstrtsptransport.h:112 end record; pragma Convention (C_Pass_By_Copy, GstRTSPRange); -- gst/rtsp/gstrtsptransport.h:110 --* -- * GstRTSPTransport: -- * @trans: the transport mode -- * @profile: the tansport profile -- * @lower_transport: the lower transport -- * @destination: the destination ip/hostname -- * @source: the source ip/hostname -- * @layers: the number of layers -- * @mode_play: if play mode was selected -- * @mode_record: if record mode was selected -- * @append: is append mode was selected -- * @interleaved: the interleave range -- * @ttl: the time to live for multicast UDP -- * @port: the port pair for multicast sessions -- * @client_port: the client port pair for receiving data -- * @server_port: the server port pair for receiving data -- * @ssrc: the ssrc that the sender/receiver will use -- * -- * A structure holding the RTSP transport values. -- type GstRTSPTransport is record trans : aliased GstRTSPTransMode; -- gst/rtsp/gstrtsptransport.h:137 profile : aliased GstRTSPProfile; -- gst/rtsp/gstrtsptransport.h:138 lower_transport : aliased GstRTSPLowerTrans; -- gst/rtsp/gstrtsptransport.h:139 destination : access GLIB.gchar; -- gst/rtsp/gstrtsptransport.h:141 source : access GLIB.gchar; -- gst/rtsp/gstrtsptransport.h:142 layers : aliased GLIB.guint; -- gst/rtsp/gstrtsptransport.h:143 mode_play : aliased GLIB.gboolean; -- gst/rtsp/gstrtsptransport.h:144 mode_record : aliased GLIB.gboolean; -- gst/rtsp/gstrtsptransport.h:145 append : aliased GLIB.gboolean; -- gst/rtsp/gstrtsptransport.h:146 interleaved : aliased GstRTSPRange; -- gst/rtsp/gstrtsptransport.h:147 ttl : aliased GLIB.guint; -- gst/rtsp/gstrtsptransport.h:150 port : aliased GstRTSPRange; -- gst/rtsp/gstrtsptransport.h:153 client_port : aliased GstRTSPRange; -- gst/rtsp/gstrtsptransport.h:154 server_port : aliased GstRTSPRange; -- gst/rtsp/gstrtsptransport.h:155 ssrc : aliased GLIB.guint; -- gst/rtsp/gstrtsptransport.h:157 end record; pragma Convention (C_Pass_By_Copy, GstRTSPTransport); -- gst/rtsp/gstrtsptransport.h:136 -- multicast specific -- UDP specific -- RTP specific function gst_rtsp_transport_new (transport : System.Address) return GStreamer.GST_Low_Level.gstreamer_0_10_gst_rtsp_gstrtspdefs_h.GstRTSPResult; -- gst/rtsp/gstrtsptransport.h:161 pragma Import (C, gst_rtsp_transport_new, "gst_rtsp_transport_new"); function gst_rtsp_transport_init (transport : access GstRTSPTransport) return GStreamer.GST_Low_Level.gstreamer_0_10_gst_rtsp_gstrtspdefs_h.GstRTSPResult; -- gst/rtsp/gstrtsptransport.h:162 pragma Import (C, gst_rtsp_transport_init, "gst_rtsp_transport_init"); function gst_rtsp_transport_parse (str : access GLIB.gchar; transport : access GstRTSPTransport) return GStreamer.GST_Low_Level.gstreamer_0_10_gst_rtsp_gstrtspdefs_h.GstRTSPResult; -- gst/rtsp/gstrtsptransport.h:164 pragma Import (C, gst_rtsp_transport_parse, "gst_rtsp_transport_parse"); function gst_rtsp_transport_as_text (transport : access GstRTSPTransport) return access GLIB.gchar; -- gst/rtsp/gstrtsptransport.h:165 pragma Import (C, gst_rtsp_transport_as_text, "gst_rtsp_transport_as_text"); function gst_rtsp_transport_get_mime (trans : GstRTSPTransMode; mime : System.Address) return GStreamer.GST_Low_Level.gstreamer_0_10_gst_rtsp_gstrtspdefs_h.GstRTSPResult; -- gst/rtsp/gstrtsptransport.h:167 pragma Import (C, gst_rtsp_transport_get_mime, "gst_rtsp_transport_get_mime"); function gst_rtsp_transport_get_manager (trans : GstRTSPTransMode; manager : System.Address; option : GLIB.guint) return GStreamer.GST_Low_Level.gstreamer_0_10_gst_rtsp_gstrtspdefs_h.GstRTSPResult; -- gst/rtsp/gstrtsptransport.h:168 pragma Import (C, gst_rtsp_transport_get_manager, "gst_rtsp_transport_get_manager"); function gst_rtsp_transport_free (transport : access GstRTSPTransport) return GStreamer.GST_Low_Level.gstreamer_0_10_gst_rtsp_gstrtspdefs_h.GstRTSPResult; -- gst/rtsp/gstrtsptransport.h:170 pragma Import (C, gst_rtsp_transport_free, "gst_rtsp_transport_free"); end GStreamer.GST_Low_Level.gstreamer_0_10_gst_rtsp_gstrtsptransport_h;
47.228426
219
0.737855
d0b354d1e6dd9da4ea2b90f297fd0c6b0f2453bc
3,644
ads
Ada
source/amf/uml/amf-uml-execution_specifications-hash.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/amf/uml/amf-uml-execution_specifications-hash.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/amf/uml/amf-uml-execution_specifications-hash.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <[email protected]> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This file is generated, don't edit it. ------------------------------------------------------------------------------ with AMF.Elements.Generic_Hash; function AMF.UML.Execution_Specifications.Hash is new AMF.Elements.Generic_Hash (UML_Execution_Specification, UML_Execution_Specification_Access);
72.88
98
0.407794
594d8a52016a1fa0cff166c0bc6e47b6e025442c
2,373
ads
Ada
src/sdl-libraries.ads
Fabien-Chouteau/sdlada
f08d72e3f5dcec228d68fb5b6681ea831f81ef47
[ "Zlib" ]
1
2021-10-30T14:41:56.000Z
2021-10-30T14:41:56.000Z
src/sdl-libraries.ads
Fabien-Chouteau/sdlada
f08d72e3f5dcec228d68fb5b6681ea831f81ef47
[ "Zlib" ]
null
null
null
src/sdl-libraries.ads
Fabien-Chouteau/sdlada
f08d72e3f5dcec228d68fb5b6681ea831f81ef47
[ "Zlib" ]
null
null
null
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, Luke A. Guest -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the use of this software. -- -- Permission is granted to anyone to use this software for any purpose, -- including commercial applications, and to alter it and redistribute it -- freely, subject to the following restrictions: -- -- 1. The origin of this software must not be misrepresented; you must not -- claim that you wrote the original software. If you use this software -- in a product, an acknowledgment in the product documentation would be -- appreciated but is not required. -- -- 2. Altered source versions must be plainly marked as such, and must not be -- misrepresented as being the original software. -- -- 3. This notice may not be removed or altered from any source -- distribution. -------------------------------------------------------------------------------------------------------------------- -- SDL.Libraries -- -- Mechanism for accessing shared objects (libraries). -------------------------------------------------------------------------------------------------------------------- with Ada.Finalization; package SDL.Libraries is Library_Error : exception; type Handles is new Ada.Finalization.Limited_Controlled with private; Null_Handle : constant Handles; procedure Load (Self : out Handles; Name : in String); procedure Unload (Self : in out Handles); -- with -- Static_Predicate => Handle /= Null_Handle; generic type Access_To_Sub_Program is private; Name : String; function Load_Sub_Program (From_Library : in Handles) return Access_To_Sub_Program; private type Internal_Handle is null record with Convention => C; type Internal_Handle_Access is access all Internal_Handle with Convention => C; type Handles is new Ada.Finalization.Limited_Controlled with record Internal : Internal_Handle_Access; end record; overriding procedure Finalize (Self : in out Handles); Null_Handle : constant Handles := (Ada.Finalization.Limited_Controlled with Internal => null); end SDL.Libraries;
38.274194
116
0.616941
1d6becb583da5c5a39f566daf7aa58fda37c5e2d
9,051
adb
Ada
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-pack52.adb
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-pack52.adb
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-pack52.adb
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 5 2 -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2020, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with System.Storage_Elements; with System.Unsigned_Types; package body System.Pack_52 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_52; end record; for Cluster use record E0 at 0 range 0 * Bits .. 0 * Bits + Bits - 1; E1 at 0 range 1 * Bits .. 1 * Bits + Bits - 1; E2 at 0 range 2 * Bits .. 2 * Bits + Bits - 1; E3 at 0 range 3 * Bits .. 3 * Bits + Bits - 1; E4 at 0 range 4 * Bits .. 4 * Bits + Bits - 1; E5 at 0 range 5 * Bits .. 5 * Bits + Bits - 1; E6 at 0 range 6 * Bits .. 6 * Bits + Bits - 1; E7 at 0 range 7 * Bits .. 7 * Bits + Bits - 1; end record; for Cluster'Size use Bits * 8; for Cluster'Alignment use Integer'Min (Standard'Maximum_Alignment, 1 + 1 * Boolean'Pos (Bits mod 2 = 0) + 2 * Boolean'Pos (Bits mod 4 = 0)); -- Use maximum possible alignment, given the bit field size, since this -- will result in the most efficient code possible for the field. type Cluster_Ref is access Cluster; type Rev_Cluster is new Cluster with Bit_Order => Reverse_Bit_Order, Scalar_Storage_Order => Reverse_Bit_Order; type Rev_Cluster_Ref is access Rev_Cluster; -- The following declarations are for the case where the address -- passed to GetU_52 or SetU_52 is not guaranteed to be aligned. -- These routines are used when the packed array is itself a -- component of a packed record, and therefore may not be aligned. type ClusterU is new Cluster; for ClusterU'Alignment use 1; type ClusterU_Ref is access ClusterU; type Rev_ClusterU is new ClusterU with Bit_Order => Reverse_Bit_Order, Scalar_Storage_Order => Reverse_Bit_Order; type Rev_ClusterU_Ref is access Rev_ClusterU; ------------ -- Get_52 -- ------------ function Get_52 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_52 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_52; ------------- -- GetU_52 -- ------------- function GetU_52 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_52 is A : constant System.Address := Arr + Bits * Ofs (Uns (N) / 8); C : ClusterU_Ref with Address => A'Address, Import; RC : Rev_ClusterU_Ref with Address => A'Address, Import; begin if Rev_SSO then case N07 (Uns (N) mod 8) is when 0 => return RC.E0; when 1 => return RC.E1; when 2 => return RC.E2; when 3 => return RC.E3; when 4 => return RC.E4; when 5 => return RC.E5; when 6 => return RC.E6; when 7 => return RC.E7; end case; else case N07 (Uns (N) mod 8) is when 0 => return C.E0; when 1 => return C.E1; when 2 => return C.E2; when 3 => return C.E3; when 4 => return C.E4; when 5 => return C.E5; when 6 => return C.E6; when 7 => return C.E7; end case; end if; end GetU_52; ------------ -- Set_52 -- ------------ procedure Set_52 (Arr : System.Address; N : Natural; E : Bits_52; 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_52; ------------- -- SetU_52 -- ------------- procedure SetU_52 (Arr : System.Address; N : Natural; E : Bits_52; Rev_SSO : Boolean) is A : constant System.Address := Arr + Bits * Ofs (Uns (N) / 8); C : ClusterU_Ref with Address => A'Address, Import; RC : Rev_ClusterU_Ref with Address => A'Address, Import; begin if Rev_SSO then case N07 (Uns (N) mod 8) is when 0 => RC.E0 := E; when 1 => RC.E1 := E; when 2 => RC.E2 := E; when 3 => RC.E3 := E; when 4 => RC.E4 := E; when 5 => RC.E5 := E; when 6 => RC.E6 := E; when 7 => RC.E7 := E; end case; else case N07 (Uns (N) mod 8) is when 0 => C.E0 := E; when 1 => C.E1 := E; when 2 => C.E2 := E; when 3 => C.E3 := E; when 4 => C.E4 := E; when 5 => C.E5 := E; when 6 => C.E6 := E; when 7 => C.E7 := E; end case; end if; end SetU_52; end System.Pack_52;
36.059761
78
0.467352
1220d5ad8dc0bac8dd634ae7539a6d6fbeac1697
3,148
ads
Ada
examples/MicroBit/follower/src/hmi.ads
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
192
2016-06-01T18:32:04.000Z
2022-03-26T22:52:31.000Z
examples/MicroBit/follower/src/hmi.ads
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
239
2016-05-26T20:02:01.000Z
2022-03-31T09:46:56.000Z
examples/MicroBit/follower/src/hmi.ads
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
142
2016-06-05T08:12:20.000Z
2022-03-24T17:37:17.000Z
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2019, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ with HAL; use HAL; with NeoPixel; use NeoPixel; with MicroBit.Buttons; use MicroBit.Buttons; -- Human-Machine Interface helper subprograms for line follower demo -- (button control and NeoPixel strip). -- These are declared in a library package, rather than as local (nested) -- subprograms in Main to work around access-to-subprogram restrictions -- that would arise. package HMI is Motors_Enable : Boolean := False; procedure Button_CB (Button : Button_Id; State : Button_State); -- Pressing button A toggles Motors_Enable Strip : LED_Strip := Create (Mode => GRB, Count => 5); procedure Kitronik_Write (Buffer : UInt8_Array); -- Write buffer to the NeoPixel strip of Kitronik -- Servo:Lite board. end HMI;
55.22807
78
0.550508
fbe222af336c17b244271d37e7fc89797550de18
16,264
ads
Ada
source/sql/oci/matreshka-internals-sql_drivers-oracle.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/sql/oci/matreshka-internals-sql_drivers-oracle.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/sql/oci/matreshka-internals-sql_drivers-oracle.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- SQL Database Access -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2014, Vadim Godunko <[email protected]> -- -- 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 Interfaces.C; with System; with Matreshka.Internals.Utf16; package Matreshka.Internals.SQL_Drivers.Oracle is -- Options supported by driver: Database_Option : constant League.Strings.Universal_String := League.Strings.To_Universal_String ("database"); Password_Option : constant League.Strings.Universal_String := League.Strings.To_Universal_String ("password"); User_Option : constant League.Strings.Universal_String := League.Strings.To_Universal_String ("user"); -- Low level Oracle Call interface binding below this line. subtype Address is System.Address; Null_Address : constant Address := System.Null_Address; subtype Size_T is Interfaces.C.size_t; subtype Sword is Interfaces.C.int; subtype Ub4 is Interfaces.Unsigned_32; subtype Ub2 is Interfaces.Unsigned_16; subtype Ub1 is Interfaces.Unsigned_8; subtype Sb1 is Interfaces.Integer_8; subtype Sb2 is Interfaces.C.short; subtype Ora_Text is Interfaces.C.char_array; type Ub4_Ptr is access all Ub4; type Sb2_Ptr is access all Sb2; type Error_Code is new Sword; OCI_SUCCESS : constant Error_Code := 0; OCI_SUCCESS_WITH_INFO : constant Error_Code := 1; OCI_NEED_DATA : constant Error_Code := 99; OCI_NO_DATA : constant Error_Code := 100; OCI_ERROR : constant Error_Code := -1; OCI_INVALID_HANDLE : constant Error_Code := -2; OCI_STILL_EXECUTING : constant Error_Code := -3123; OCI_CONTINUE : constant Error_Code := -24200; type Handle_Type is new Ub4; OCI_HTYPE_ENV : constant Handle_Type := 1; OCI_HTYPE_ERROR : constant Handle_Type := 2; OCI_HTYPE_SVCCTX : constant Handle_Type := 3; OCI_HTYPE_STMT : constant Handle_Type := 4; OCI_DTYPE_PARAM : constant Handle_Type := 53; OCI_DTYPE_TIMESTAMP : constant Handle_Type := 68; OCI_DTYPE_TIMESTAMP_TZ : constant Handle_Type := 69; OCI_DTYPE_TIMESTAMP_LTZ : constant Handle_Type := 70; type Data_Type is new Ub2; SQLT_CHR : constant Data_Type := 1; SQLT_NUM : constant Data_Type := 2; SQLT_INT : constant Data_Type := 3; SQLT_FLT : constant Data_Type := 4; SQLT_STR : constant Data_Type := 5; SQLT_VNU : constant Data_Type := 6; SQLT_VCS : constant Data_Type := 9; SQLT_DAT : constant Data_Type := 12; SQLT_BFLOAT : constant Data_Type := 21; SQLT_BDOUBLE : constant Data_Type := 22; SQLT_AFC : constant Data_Type := 96; SQLT_IBFLOAT : constant Data_Type := 100; SQLT_IBDOUBLE : constant Data_Type := 101; SQLT_ODT : constant Data_Type := 156; SQLT_TIMESTAMP : constant Data_Type := 187; SQLT_TIMESTAMP_TZ : constant Data_Type := 188; SQLT_INTERVAL_YM : constant Data_Type := 189; SQLT_INTERVAL_DS : constant Data_Type := 190; SQLT_TIMESTAMP_LTZ : constant Data_Type := 232; type Internal is limited private; type Handle is access all Internal; pragma Convention (C, Handle); subtype Environment is Handle; subtype Error_Handle is Handle; subtype Parameter is Handle; subtype Date_Time is Handle; subtype Service_Handle is Handle; subtype Statement_Handle is Handle; type Bind is access all Internal; pragma Convention (C, Bind); type Define is access all Internal; pragma Convention (C, Define); OCI_ATTR_DATA_SIZE : constant Ub4 := 1; OCI_ATTR_DATA_TYPE : constant Ub4 := 2; OCI_ATTR_NAME : constant Ub4 := 4; OCI_ATTR_PRECISION : constant Ub4 := 5; OCI_ATTR_SCALE : constant Ub4 := 6; OCI_ATTR_PARAM_COUNT : constant Ub4 := 18; OCI_ATTR_STMT_TYPE : constant Ub4 := 24; OCI_ATTR_CHARSET_ID : constant Ub4 := 31; OCI_ATTR_PTYPE : constant Ub4 := 123; OCI_ATTR_CHAR_USED : constant Ub4 := 285; OCI_ATTR_CHAR_SIZE : constant Ub4 := 286; type Env_Mode is new Ub4; OCI_DEFAULT : constant := 16#000#; OCI_THREADED : constant Env_Mode := 16#001#; OCI_OBJECT : constant Env_Mode := 16#002#; OCI_EVENTS : constant Env_Mode := 16#004#; OCI_SHARED : constant Env_Mode := 16#010#; OCI_UTF16ID : constant := 1000; OCI_STMT_UNKNOWN : constant Ub2 := 0; -- Unknown statement OCI_STMT_SELECT : constant Ub2 := 1; -- select statement OCI_STMT_UPDATE : constant Ub2 := 2; -- update statement OCI_STMT_DELETE : constant Ub2 := 3; -- delete statement OCI_STMT_INSERT : constant Ub2 := 4; -- Insert Statement OCI_STMT_CREATE : constant Ub2 := 5; -- create statement OCI_STMT_DROP : constant Ub2 := 6; -- drop statement OCI_STMT_ALTER : constant Ub2 := 7; -- alter statement OCI_STMT_BEGIN : constant Ub2 := 8; -- begin ... (pl/sql statement) OCI_STMT_DECLARE : constant Ub2 := 9; -- declare .. (pl/sql statement) OCI_STMT_CALL : constant Ub2 := 10; -- corresponds to kpu call OCI_DATA_AT_EXEC : constant Ub4 := 2; -- data at execute time function OCIHandleAlloc (Parent : Environment; Target : access Handle; Target_Type : Handle_Type; Extra_Sz : Size_T := 0; Extra_Ptr : Address := Null_Address) return Error_Code; pragma Import (C, OCIHandleAlloc, "OCIHandleAlloc"); function OCIHandleFree (Target : Handle; Target_Type : Handle_Type) return Error_Code; pragma Import (C, OCIHandleFree, "OCIHandleFree"); function OCIDescriptorAlloc (Parent : Environment; Target : access Handle; Target_Type : Handle_Type; Extra_Sz : Size_T := 0; Extra_Ptr : Address := Null_Address) return Error_Code; pragma Import (C, OCIDescriptorAlloc, "OCIDescriptorAlloc"); function OCIAttrGet (Target : Handle; Target_Type : Handle_Type; Buffer : Address; Length : Ub4_Ptr; Attr : Ub4; Error : Error_Handle) return Error_Code; pragma Import (C, OCIAttrGet, "OCIAttrGet"); function OCIDescriptorFree (Target : Handle; Target_Type : Handle_Type) return Error_Code; pragma Import (C, OCIDescriptorFree, "OCIDescriptorFree"); function OCIParamGet (Target : Handle; Target_Type : Handle_Type; Error : Error_Handle; Result : access Parameter; Position : Ub4) return Error_Code; pragma Import (C, OCIParamGet, "OCIParamGet"); function OCIEnvNlsCreate (Target : access Environment; Mode : Env_Mode; Ctxp : Address := Null_Address; Malocfp : Address := Null_Address; Ralocfp : Address := Null_Address; Mfreefp : Address := Null_Address; Extra_Sz : Size_T := 0; Extra_Ptr : Address := Null_Address; Charset : Ub2 := OCI_UTF16ID; N_Charset : Ub2 := OCI_UTF16ID) return Error_Code; pragma Import (C, OCIEnvNlsCreate, "OCIEnvNlsCreate"); function OCILogon (Env : Environment; Error : Error_Handle; Target : access Service_Handle; Username : Matreshka.Internals.Utf16.Utf16_String; Username_Len : Ub4; Password : Matreshka.Internals.Utf16.Utf16_String; Passwd_Len : Ub4; Dbname : Matreshka.Internals.Utf16.Utf16_String; Dbname_Len : Ub4) return Error_Code; pragma Import (C, OCILogon, "OCILogon"); function OCILogoff (Target : Service_Handle; Error : Error_Handle) return Error_Code; pragma Import (C, OCILogoff, "OCILogoff"); function OCITransCommit (Target : Service_Handle; Error : Error_Handle; Flags : Ub4 := OCI_DEFAULT) return Error_Code; pragma Import (C, OCITransCommit, "OCITransCommit"); function OCITransRollback (Target : Service_Handle; Error : Error_Handle; Flags : Ub4 := OCI_DEFAULT) return Error_Code; pragma Import (C, OCITransRollback, "OCITransRollback"); function OCIErrorGet (Error : Error_Handle; Record_No : Ub4; Sql_State : Address := Null_Address; Ora_Code : access Ub4; Buffer : Matreshka.Internals.Utf16.Utf16_String; Buffer_Size : Ub4; H_Type : Handle_Type := OCI_HTYPE_ERROR) return Error_Code; pragma Import (C, OCIErrorGet, "OCIErrorGet"); function OCIStmtPrepare (Stmt : Statement_Handle; Error : Error_Handle; Text : Matreshka.Internals.Utf16.Utf16_String; Text_Length : Ub4; Language : Ub4 := 1; Mode : Ub4 := 0) return Error_Code; pragma Import (C, OCIStmtPrepare, "OCIStmtPrepare"); function OCIStmtExecute (Service : Service_Handle; Stmt : Statement_Handle; Errhp : Error_Handle; Iters : Ub4; Row_Off : Ub4 := 0; Snap_In : Address := Null_Address; Snap_Out : Address := Null_Address; Mode : Ub4 := 0) return Error_Code; pragma Import (C, OCIStmtExecute, "OCIStmtExecute"); function OCIStmtFetch2 (Stmt : Statement_Handle; Error : Error_Handle; Rows : Ub4 := 1; Orientation : Ub2 := OCI_DEFAULT; Offset : Ub4 := 0; Mode : Ub4 := OCI_DEFAULT) return Error_Code; pragma Import (C, OCIStmtFetch2, "OCIStmtFetch2"); function OCIBindByName (Stmt : Statement_Handle; Target : access Bind; Error : Error_Handle; Place : Matreshka.Internals.Utf16.Utf16_String; Place_Length : Ub4; Value : Address := Null_Address; Value_Length : Ub4; Value_Type : Data_Type; Indicator : Sb2_Ptr := null; Array_Length : Address := Null_Address; Rcodep : Address := Null_Address; Max_Array : Ub4 := 0; Curelep : Address := Null_Address; Mode : Ub4 := 0) return Error_Code; pragma Import (C, OCIBindByName, "OCIBindByName"); function OCIBindByPos (Stmt : Statement_Handle; Target : access Bind; Error : Error_Handle; Position : Ub4; Value : Address := Null_Address; Value_Length : Ub4; Value_Type : Data_Type; Indicator : Sb2_Ptr := null; Array_Length : Address := Null_Address; Rcodep : Address := Null_Address; Max_Array : Ub4 := 0; Curelep : Address := Null_Address; Mode : Ub4 := 0) return Error_Code; pragma Import (C, OCIBindByPos, "OCIBindByPos"); function OCIDefineByPos (Stmt : Statement_Handle; Target : access Define; Error : Error_Handle; Position : Ub4; Value : Address; Value_Length : Ub4; Value_Type : Data_Type; Indicator : access Sb2; Array_Length : Address := Null_Address; Rcodep : Address := Null_Address; Mode : Ub4 := 0) return Error_Code; pragma Import (C, OCIDefineByPos, "OCIDefineByPos"); function OCINlsCharSetIdToName (Env : Environment; Buffer : Ora_Text; Buffer_Len : Size_T; Id : Ub2) return Error_Code; pragma Import (C, OCINlsCharSetIdToName, "OCINlsCharSetIdToName"); function OCINlsNameMap (Env : Environment; Buffer : Ora_Text; Buffer_Len : Size_T; Source : Ora_Text; Flag : Sword) return Error_Code; pragma Import (C, OCINlsNameMap, "OCINlsNameMap"); function OCIDateTimeGetDate (Env : Environment; Error : Error_Handle; Date : Date_Time; Year : access Sb2; Month : access Ub1; Day : access Ub1) return Error_Code; pragma Import (C, OCIDateTimeGetDate, "OCIDateTimeGetDate"); function OCIDateTimeGetTime (Env : Environment; Error : Error_Handle; Date : Date_Time; Hour : access Ub1; Min : access Ub1; Sec : access Ub1; Fract : access Ub4) return Error_Code; pragma Import (C, OCIDateTimeGetTime, "OCIDateTimeGetTime"); function OCIDateTimeConstruct (Env : Environment; Error : Error_Handle; Date : Date_Time; Year : Sb2; Month : Ub1; Day : Ub1; Hour : Ub1; Min : Ub1; Sec : Ub1; Fract : Ub4; TZ : Address := Null_Address; TZ_Len : Size_T := 0) return Error_Code; pragma Import (C, OCIDateTimeConstruct, "OCIDateTimeConstruct"); OCI_ONE_PIECE : constant Ub1 := 0; OCI_FIRST_PIECE : constant Ub1 := 1; OCI_NEXT_PIECE : constant Ub1 := 2; OCI_LAST_PIECE : constant Ub1 := 3; function OCIBindDynamic (bindp : Bind; Error : Error_Handle; ictxp : Address; icbfp : Address; octxp : Address; ocbfp : Address) return Error_Code; pragma Import (C, OCIBindDynamic, "OCIBindDynamic"); private type Internal is limited null record; end Matreshka.Internals.SQL_Drivers.Oracle;
39.190361
78
0.587494
2f38b9051eb6f64fec1358f35be886a3520c1753
6,491
ads
Ada
gcc-gcc-7_3_0-release/gcc/ada/a-ngrear.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/ada/a-ngrear.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/ada/a-ngrear.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ADA.NUMERICS.GENERIC_REAL_ARRAYS -- -- -- -- S p e c -- -- -- -- Copyright (C) 2009-2012, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- -- apply solely to the contents of the part following the private keyword. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ generic type Real is digits <>; package Ada.Numerics.Generic_Real_Arrays is pragma Pure (Generic_Real_Arrays); -- Types type Real_Vector is array (Integer range <>) of Real'Base; type Real_Matrix is array (Integer range <>, Integer range <>) of Real'Base; -- Subprograms for Real_Vector types -- Real_Vector arithmetic operations function "+" (Right : Real_Vector) return Real_Vector; function "-" (Right : Real_Vector) return Real_Vector; function "abs" (Right : Real_Vector) return Real_Vector; function "+" (Left, Right : Real_Vector) return Real_Vector; function "-" (Left, Right : Real_Vector) return Real_Vector; function "*" (Left, Right : Real_Vector) return Real'Base; function "abs" (Right : Real_Vector) return Real'Base; -- Real_Vector scaling operations function "*" (Left : Real'Base; Right : Real_Vector) return Real_Vector; function "*" (Left : Real_Vector; Right : Real'Base) return Real_Vector; function "/" (Left : Real_Vector; Right : Real'Base) return Real_Vector; -- Other Real_Vector operations function Unit_Vector (Index : Integer; Order : Positive; First : Integer := 1) return Real_Vector; -- Subprograms for Real_Matrix types -- Real_Matrix arithmetic operations function "+" (Right : Real_Matrix) return Real_Matrix; function "-" (Right : Real_Matrix) return Real_Matrix; function "abs" (Right : Real_Matrix) return Real_Matrix; function Transpose (X : Real_Matrix) return Real_Matrix; function "+" (Left, Right : Real_Matrix) return Real_Matrix; function "-" (Left, Right : Real_Matrix) return Real_Matrix; function "*" (Left, Right : Real_Matrix) return Real_Matrix; function "*" (Left, Right : Real_Vector) return Real_Matrix; function "*" (Left : Real_Vector; Right : Real_Matrix) return Real_Vector; function "*" (Left : Real_Matrix; Right : Real_Vector) return Real_Vector; -- Real_Matrix scaling operations function "*" (Left : Real'Base; Right : Real_Matrix) return Real_Matrix; function "*" (Left : Real_Matrix; Right : Real'Base) return Real_Matrix; function "/" (Left : Real_Matrix; Right : Real'Base) return Real_Matrix; -- Real_Matrix inversion and related operations function Solve (A : Real_Matrix; X : Real_Vector) return Real_Vector; function Solve (A, X : Real_Matrix) return Real_Matrix; function Inverse (A : Real_Matrix) return Real_Matrix; function Determinant (A : Real_Matrix) return Real'Base; -- Eigenvalues and vectors of a real symmetric matrix function Eigenvalues (A : Real_Matrix) return Real_Vector; procedure Eigensystem (A : Real_Matrix; Values : out Real_Vector; Vectors : out Real_Matrix); -- Other Real_Matrix operations function Unit_Matrix (Order : Positive; First_1 : Integer := 1; First_2 : Integer := 1) return Real_Matrix; private -- The following operations are either relatively simple compared to the -- expense of returning unconstrained arrays, or are just function wrappers -- calling procedures implementing the actual operation. By having the -- front end inline these, the expense of the unconstrained returns -- can be avoided. -- Note: We use an extended return statement in their implementation to -- allow the frontend to inline these functions. pragma Inline ("+"); pragma Inline ("-"); pragma Inline ("*"); pragma Inline ("/"); pragma Inline ("abs"); pragma Inline (Eigenvalues); pragma Inline (Inverse); pragma Inline (Solve); pragma Inline (Transpose); pragma Inline (Unit_Matrix); pragma Inline (Unit_Vector); end Ada.Numerics.Generic_Real_Arrays;
45.391608
79
0.567093
2f7c644f68453d27ef9a11b5a493b7006eddb9c6
32,329
adb
Ada
src/gen-artifacts-docs.adb
My-Colaborations/dynamo
09704417a23050d5bb52d48a65a14a1c2d926184
[ "Apache-2.0" ]
null
null
null
src/gen-artifacts-docs.adb
My-Colaborations/dynamo
09704417a23050d5bb52d48a65a14a1c2d926184
[ "Apache-2.0" ]
null
null
null
src/gen-artifacts-docs.adb
My-Colaborations/dynamo
09704417a23050d5bb52d48a65a14a1c2d926184
[ "Apache-2.0" ]
null
null
null
----------------------------------------------------------------------- -- gen-artifacts-docs -- Artifact for documentation -- Copyright (C) 2012, 2013, 2014, 2015, 2018, 2019, 2020 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Util.Files; with Util.Log.Loggers; with Util.Strings; with Util.Streams.Pipes; with Util.Streams.Texts; with Util.Processes; with Ada.Directories; with Ada.Strings.Fixed; with Ada.Characters.Handling; with Ada.Strings.Maps; with Ada.Exceptions; with Gen.Utils; with Gen.Artifacts.Docs.Googlecode; with Gen.Artifacts.Docs.Markdown; package body Gen.Artifacts.Docs is use Util.Log; use type Ada.Strings.Maps.Character_Set; Log : constant Loggers.Logger := Loggers.Create ("Gen.Artifacts.Docs"); Spaces : constant Ada.Strings.Maps.Character_Set := Ada.Strings.Maps.To_Set (' ') or Ada.Strings.Maps.To_Set (ASCII.HT) or Ada.Strings.Maps.To_Set (ASCII.VT) or Ada.Strings.Maps.To_Set (ASCII.CR) or Ada.Strings.Maps.To_Set (ASCII.LF); Google_Formatter : aliased Gen.Artifacts.Docs.Googlecode.Document_Formatter; Markdown_Formatter : aliased Gen.Artifacts.Docs.Markdown.Document_Formatter; -- Get the header level of the line if the line is a header. -- Returns 0 if the line is not a header. function Get_Header_Level (Line : in String) return Natural; -- Get the header from the line, removing any markup. function Get_Header (Line : in String) return String; -- ------------------------------ -- Prepare the model after all the configuration files have been read and before -- actually invoking the generation. -- ------------------------------ overriding procedure Prepare (Handler : in out Artifact; Model : in out Gen.Model.Packages.Model_Definition'Class; Context : in out Generator'Class) is pragma Unreferenced (Model); Docs : Doc_Maps.Map; Name : constant String := (if Handler.Format = DOC_WIKI_GOOGLE then "generator.doc.xslt.command" else "generator.markdown.xslt.command"); Command : constant String := Context.Get_Parameter (Name); begin Log.Info ("Using command: {0}", Command); Handler.Xslt_Command := Ada.Strings.Unbounded.To_Unbounded_String (Command); Handler.Scan_Files ("src", Docs); Handler.Scan_Files ("config", Docs); Handler.Scan_Files ("db", Docs); Handler.Scan_Files ("plugins", Docs); Generate (Docs, Context.Get_Result_Directory); end Prepare; -- ------------------------------ -- Set the output document format to generate. -- ------------------------------ procedure Set_Format (Handler : in out Artifact; Format : in Doc_Format; Footer : in Boolean) is begin Handler.Format := Format; Handler.Print_Footer := Footer; case Format is when DOC_WIKI_GOOGLE => Handler.Formatter := Google_Formatter'Access; when DOC_MARKDOWN => Handler.Formatter := Markdown_Formatter'Access; end case; end Set_Format; -- ------------------------------ -- Load from the file a list of link definitions which can be injected in the generated doc. -- This allows to avoid polluting the Ada code with external links. -- ------------------------------ procedure Read_Links (Handler : in out Artifact; Path : in String) is use Ada.Strings.Fixed; procedure Read (Line : in String); procedure Read (Line : in String) is Pos : constant Natural := Util.Strings.Rindex (Line, ' '); begin if Pos > 0 and then Line (Line'First) /= '#' then Handler.Formatter.Links.Include (Key => Trim (Line (Line'First .. Pos), Ada.Strings.Both), New_Item => Trim (Line (Pos .. Line'Last), Ada.Strings.Both)); end if; end Read; begin if Ada.Directories.Exists (Path) then Log.Info ("Reading documentation links file {0}", Path); Util.Files.Read_File (Path, Read'Access); end if; end Read_Links; -- ------------------------------ -- Include the document extract represented by <b>Name</b> into the document <b>Into</b>. -- The included document is marked so that it will not be generated. -- ------------------------------ procedure Include (Docs : in out Doc_Maps.Map; Into : in out File_Document; Name : in String; Mode : in Line_Include_Kind; Position : in Natural) is -- Include the lines from the document into another. procedure Do_Include (Source : in String; Doc : in out File_Document); -- ------------------------------ -- Include the lines from the document into another. -- ------------------------------ procedure Do_Include (Source : in String; Doc : in out File_Document) is Iter : Line_Vectors.Cursor := Doc.Lines (Mode).Last; begin Log.Debug ("Merge {0} in {1}", Source, Ada.Strings.Unbounded.To_String (Into.Name)); Into.Lines (L_INCLUDE).Insert (Before => Position, New_Item => (Len => 0, Kind => L_TEXT, Content => "")); while Line_Vectors.Has_Element (Iter) loop Into.Lines (L_INCLUDE).Insert (Before => Position, New_Item => Line_Vectors.Element (Iter)); Line_Vectors.Previous (Iter); end loop; Doc.Was_Included := True; end Do_Include; Pos : constant Doc_Maps.Cursor := Docs.Find (Name); begin if not Doc_Maps.Has_Element (Pos) then Log.Error ("Cannot include document '{0}'", Name); return; end if; Docs.Update_Element (Pos, Do_Include'Access); end Include; -- ------------------------------ -- Include the document extract represented by <b>Name</b> into the document <b>Into</b>. -- The included document is marked so that it will not be generated. -- ------------------------------ procedure Include (Docs : in out Doc_Maps.Map; Into : in out File_Document; Name : in String; Position : in Natural) is pragma Unreferenced (Docs); procedure Do_Include (Line : in String); Pos : Natural := Position; procedure Do_Include (Line : in String) is begin Into.Lines (L_INCLUDE).Insert (Before => Pos, New_Item => (Len => Line'Length, Kind => L_TEXT, Content => Line)); Pos := Pos + 1; end Do_Include; begin if not Ada.Directories.Exists (Name) then Log.Error ("{0}: Cannot include document: {1}", Ada.Strings.Unbounded.To_String (Into.Name), Name); return; end if; Util.Files.Read_File (Path => Name, Process => Do_Include'Access); end Include; -- ------------------------------ -- Generate the project documentation that was collected in <b>Docs</b>. -- The documentation is merged so that the @include tags are replaced by the matching -- document extracts. -- ------------------------------ procedure Generate (Docs : in out Doc_Maps.Map; Dir : in String) is -- Merge the documentation. procedure Merge (Source : in String; Doc : in out File_Document); -- Generate the documentation. procedure Generate (Source : in String; Doc : in File_Document); -- ------------------------------ -- Merge the documentation. -- ------------------------------ procedure Merge (Source : in String; Doc : in out File_Document) is pragma Unreferenced (Source); Pos : Natural := 1; begin while Pos <= Natural (Doc.Lines (L_INCLUDE).Length) loop declare L : constant Line_Type := Line_Vectors.Element (Doc.Lines (L_INCLUDE), Pos); begin if L.Kind in L_INCLUDE | L_INCLUDE_QUERY | L_INCLUDE_PERMISSION | L_INCLUDE_CONFIG | L_INCLUDE_BEAN then Line_Vectors.Delete (Doc.Lines (L_INCLUDE), Pos); Include (Docs, Doc, L.Content, L.Kind, Pos); elsif L.Kind = L_INCLUDE_DOC then Line_Vectors.Delete (Doc.Lines (L_INCLUDE), Pos); Include (Docs, Doc, L.Content, Pos); else Pos := Pos + 1; end if; end; end loop; end Merge; -- ------------------------------ -- Generate the documentation. -- ------------------------------ procedure Generate (Source : in String; Doc : in File_Document) is procedure Write (Line : in Line_Type); Name : constant String := Doc.Formatter.Get_Document_Name (Doc); Path : constant String := Util.Files.Compose (Dir, Name); File : Ada.Text_IO.File_Type; Iter : Line_Vectors.Cursor := Doc.Lines (L_INCLUDE).First; procedure Write (Line : in Line_Type) is begin Doc.Formatter.Write_Line (File => File, Line => Line); end Write; begin if Doc.Lines (L_INCLUDE).Is_Empty or Doc.Was_Included then return; end if; Log.Info ("Generating doc {0}", Path); Ada.Directories.Create_Path (Dir); Ada.Text_IO.Create (File => File, Mode => Ada.Text_IO.Out_File, Name => Path); Doc.Formatter.Start_Document (Document => Doc, File => File); while Line_Vectors.Has_Element (Iter) loop Line_Vectors.Query_Element (Iter, Write'Access); Line_Vectors.Next (Iter); end loop; Doc.Formatter.Finish_Document (Document => Doc, File => File, Source => Source); Ada.Text_IO.Close (File); end Generate; Iter : Doc_Maps.Cursor := Docs.First; begin -- First pass: merge the documentation. while Doc_Maps.Has_Element (Iter) loop Docs.Update_Element (Position => Iter, Process => Merge'Access); Doc_Maps.Next (Iter); end loop; -- Second pass: build the documentation. Iter := Docs.First; while Doc_Maps.Has_Element (Iter) loop Doc_Maps.Query_Element (Iter, Generate'Access); Doc_Maps.Next (Iter); end loop; end Generate; -- ------------------------------ -- Scan the files in the directory refered to by <b>Path</b> and collect the documentation -- in the <b>Docs</b> hashed map. -- ------------------------------ procedure Scan_Files (Handler : in out Artifact; Path : in String; Docs : in out Doc_Maps.Map) is use Ada.Directories; File_Filter : constant Filter_Type := (Ordinary_File => True, Directory => False, others => False); Dir_Filter : constant Filter_Type := (Ordinary_File => False, Directory => True, others => False); Ent : Ada.Directories.Directory_Entry_Type; Search : Search_Type; begin if not Ada.Directories.Exists (Path) then return; end if; Start_Search (Search, Directory => Path, Pattern => "*", Filter => File_Filter); while More_Entries (Search) loop Get_Next_Entry (Search, Ent); declare Name : constant String := Simple_Name (Ent); Full_Path : constant String := Ada.Directories.Full_Name (Ent); Doc : File_Document; Pos : constant Natural := Util.Strings.Rindex (Name, '.'); begin if Gen.Utils.Is_File_Ignored (Name) or Pos = 0 then Log.Debug ("File {0} ignored", Name); else Log.Debug ("Collect {0}", Full_Path); Doc.Print_Footer := Handler.Print_Footer; Doc.Formatter := Handler.Formatter; if Name (Pos .. Name'Last) = ".ads" or Name (Pos .. Name'Last) = ".adb" then Handler.Read_Ada_File (Full_Path, Doc); elsif Name (Pos .. Name'Last) = ".xml" then Handler.Read_Xml_File (Full_Path, Doc); end if; Log.Info ("Adding document '{0}'", Name); Docs.Include (Name, Doc); end if; end; end loop; Start_Search (Search, Directory => Path, Pattern => "*", Filter => Dir_Filter); while More_Entries (Search) loop Get_Next_Entry (Search, Ent); declare Name : constant String := Simple_Name (Ent); begin if not Gen.Utils.Is_File_Ignored (Name) and Name /= "regtests" then Handler.Scan_Files (Ada.Directories.Full_Name (Ent), Docs); end if; end; end loop; end Scan_Files; -- ------------------------------ -- Returns True if the line indicates a bullet or numbered list. -- ------------------------------ function Is_List (Line : in String) return Boolean is begin if Line'Length <= 3 then return False; elsif Line (Line'First) = '*' and Line (Line'First + 1) = ' ' then return True; else return Line (Line'First .. Line'First + 3) = " * "; end if; end Is_List; -- ------------------------------ -- Returns True if the line indicates a code sample. -- ------------------------------ function Is_Code (Line : in String) return Boolean is begin if Line'Length <= 3 then return False; else return Line (Line'First) = ' ' and Line (Line'First + 1) = ' '; end if; end Is_Code; -- ------------------------------ -- Get the header level of the line if the line is a header. -- Returns 0 if the line is not a header. -- ------------------------------ function Get_Header_Level (Line : in String) return Natural is Result : Natural := 0; begin for I in Line'Range loop exit when Line (I) /= '='; Result := Result + 1; exit when Result >= 4; end loop; return Result; end Get_Header_Level; -- ------------------------------ -- Get the header from the line, removing any markup. -- ------------------------------ function Get_Header (Line : in String) return String is Start : Natural := Line'First; Finish : Natural := Line'Last; begin while Start < Finish and (Line (Start) = '=' or Line (Start) = ' ') loop Start := Start + 1; end loop; while Start < Finish and (Line (Finish) = '=' or Line (Finish) = ' ') loop Finish := Finish - 1; end loop; return Line (Start .. Finish); end Get_Header; -- ------------------------------ -- Append a raw text line to the document. -- ------------------------------ procedure Append_Line (Doc : in out File_Document; Line : in String) is Level : Natural; begin if Doc.State = IN_LIST then Doc.Lines (L_INCLUDE).Append (Line_Type '(Len => Line'Length, Kind => L_LIST_ITEM, Content => Line)); else Level := Get_Header_Level (Line); if Level = 0 then Doc.Lines (L_INCLUDE).Append (Line_Type '(Len => Line'Length, Kind => L_TEXT, Content => Line)); else declare Header : constant String := Get_Header (Line); begin case Level is when 1 => Doc.Lines (L_INCLUDE).Append (Line_Type '(Len => Header'Length, Kind => L_HEADER_1, Content => Header)); when 2 => Doc.Lines (L_INCLUDE).Append (Line_Type '(Len => Header'Length, Kind => L_HEADER_2, Content => Header)); when 3 => Doc.Lines (L_INCLUDE).Append (Line_Type '(Len => Header'Length, Kind => L_HEADER_3, Content => Header)); when others => Doc.Lines (L_INCLUDE).Append (Line_Type '(Len => Header'Length, Kind => L_HEADER_4, Content => Header)); end case; end; end if; end if; end Append_Line; -- ------------------------------ -- Look and analyze the tag defined on the line. -- ------------------------------ procedure Append_Tag (Doc : in out File_Document; Tag : in String) is use Ada.Strings.Unbounded; use Ada.Strings; Pos : constant Natural := Util.Strings.Index (Tag, ' '); begin if Pos = 0 then return; end if; declare Value : constant String := Ada.Strings.Fixed.Trim (Tag (Pos .. Tag'Last), Spaces, Spaces); begin if Tag (Tag'First .. Pos - 1) = TAG_TITLE then Doc.Title := To_Unbounded_String (Value); elsif Tag (Tag'First .. Pos - 1) = TAG_SEE then Doc.Lines (L_INCLUDE).Append (Line_Type '(Len => Value'Length, Kind => L_SEE, Content => Value)); elsif Tag (Tag'First .. Pos - 1) = TAG_INCLUDE then Doc.Lines (L_INCLUDE).Append (Line_Type '(Len => Value'Length, Kind => L_INCLUDE, Content => Value)); elsif Tag (Tag'First .. Pos - 1) = TAG_INCLUDE_PERM then Doc.Lines (L_INCLUDE).Append (Line_Type '(Len => Value'Length, Kind => L_INCLUDE_PERMISSION, Content => Value)); elsif Tag (Tag'First .. Pos - 1) = TAG_INCLUDE_CONFIG then Doc.Lines (L_INCLUDE).Append (Line_Type '(Len => Value'Length, Kind => L_INCLUDE_CONFIG, Content => Value)); elsif Tag (Tag'First .. Pos - 1) = TAG_INCLUDE_BEAN then Doc.Lines (L_INCLUDE).Append (Line_Type '(Len => Value'Length, Kind => L_INCLUDE_BEAN, Content => Value)); elsif Tag (Tag'First .. Pos - 1) = TAG_INCLUDE_QUERY then Doc.Lines (L_INCLUDE).Append (Line_Type '(Len => Value'Length, Kind => L_INCLUDE_QUERY, Content => Value)); elsif Tag (Tag'First .. Pos - 1) = TAG_INCLUDE_DOC then Doc.Lines (L_INCLUDE).Append (Line_Type '(Len => Value'Length, Kind => L_INCLUDE_DOC, Content => Value)); else raise Unknown_Tag with Tag (Tag'First .. Pos - 1); end if; end; end Append_Tag; -- ------------------------------ -- Analyse the documentation line and collect the documentation text. -- ------------------------------ procedure Append (Doc : in out File_Document; Line : in String) is begin if Line'Length >= 1 and then Line (Line'First) = TAG_CHAR then -- Force a close of the code extract if we see some @xxx command. if Doc.State = IN_CODE or Doc.State = IN_CODE_SEPARATOR then Doc.Lines (L_INCLUDE).Append (Line_Type '(Len => 0, Kind => L_END_CODE, Content => "")); Append_Line (Doc, ""); end if; Doc.State := IN_PARA; Append_Tag (Doc, Line (Line'First + 1 .. Line'Last)); return; end if; case Doc.State is when IN_PARA => if Line'Length = 0 then Doc.State := IN_SEPARATOR; elsif Is_List (Line) then Doc.State := IN_LIST; end if; Append_Line (Doc, Line); when IN_SEPARATOR => if Is_List (Line) then Doc.State := IN_LIST; elsif Is_Code (Line) then Doc.State := IN_CODE; Doc.Lines (L_INCLUDE).Append (Line_Type '(Len => 0, Kind => L_START_CODE, Content => "")); end if; Append_Line (Doc, Line); when IN_CODE => if Line'Length = 0 then Doc.State := IN_CODE_SEPARATOR; return; end if; Append_Line (Doc, Line); when IN_CODE_SEPARATOR => if Line'Length > 0 and then (Ada.Characters.Handling.Is_Letter (Line (Line'First)) or Line (Line'First) = '=') then Doc.Lines (L_INCLUDE).Append (Line_Type '(Len => 0, Kind => L_END_CODE, Content => "")); Append_Line (Doc, ""); Doc.State := IN_PARA; end if; Append_Line (Doc, Line); when IN_LIST => if Is_List (Line) then Doc.Lines (L_INCLUDE).Append (Line_Type '(Len => Line'Length, Kind => L_LIST, Content => Line)); elsif Line'Length = 0 then Doc.State := IN_SEPARATOR; Append_Line (Doc, Line); else Append_Line (Doc, " " & Ada.Strings.Fixed.Trim (Line, Ada.Strings.Left)); end if; end case; end Append; -- ------------------------------ -- After having collected the documentation, terminate the document by making sure -- the opened elements are closed. -- ------------------------------ procedure Finish (Doc : in out File_Document) is begin if Doc.State = IN_CODE or Doc.State = IN_CODE_SEPARATOR then Doc.Lines (L_INCLUDE).Append (Line_Type '(Len => 0, Kind => L_END_CODE, Content => "")); Doc.State := IN_PARA; end if; end Finish; -- ------------------------------ -- Set the name associated with the document extract. -- ------------------------------ procedure Set_Name (Doc : in out File_Document; Name : in String) is S1 : String := Ada.Strings.Fixed.Trim (Name, Ada.Strings.Both); begin for I in S1'Range loop if S1 (I) = '.' or S1 (I) = '/' or S1 (I) = '\' then S1 (I) := '_'; end if; end loop; Doc.Name := Ada.Strings.Unbounded.To_Unbounded_String (S1); end Set_Name; -- ------------------------------ -- Set the title associated with the document extract. -- ------------------------------ procedure Set_Title (Doc : in out File_Document; Title : in String) is use Ada.Strings; Pos : Natural := Ada.Strings.Fixed.Index (Title, " -- "); begin if Pos = 0 then Pos := Title'First; else Pos := Pos + 4; end if; Doc.Title := Unbounded.To_Unbounded_String (Fixed.Trim (Title (Pos .. Title'Last), Both)); end Set_Title; -- ------------------------------ -- Read the Ada specification/body file and collect the useful documentation. -- To keep the implementation simple, we don't use the ASIS packages to scan and extract -- the documentation. We don't need to look at the Ada specification itself. Instead, -- we assume that the Ada source follows some Ada style guidelines. -- ------------------------------ procedure Read_Ada_File (Handler : in out Artifact; File : in String; Result : in out File_Document) is pragma Unreferenced (Handler); procedure Process (Line : in String); Done : Boolean := False; Doc_Block : Boolean := False; procedure Process (Line : in String) is begin Result.Line_Number := Result.Line_Number + 1; if Done then return; elsif Line'Length <= 1 then Doc_Block := False; elsif Line (Line'Last) = ASCII.CR then Result.Line_Number := Result.Line_Number - 1; Process (Line (Line'First .. Line'Last - 1)); elsif Line (Line'First) = '-' and Line (Line'First + 1) = '-' then if Doc_Block then if Line'Length < 4 then Append (Result, ""); elsif Line (Line'First + 2) = ' ' and Line (Line'First + 3) = ' ' then Append (Result, Line (Line'First + 4 .. Line'Last)); end if; elsif Line'Length >= 5 and then Line (Line'First .. Line'First + 4) = "-- =" then Doc_Block := True; Append (Result, Line (Line'First + 4 .. Line'Last)); elsif Result.Line_Number = 2 then Set_Title (Result, Line (Line'First + 2 .. Line'Last)); end if; else declare Pos : Natural := Ada.Strings.Fixed.Index (Line, "package"); Last : Natural; begin if Pos > 0 then Done := True; Pos := Ada.Strings.Fixed.Index (Line, " ", Pos); if Pos > 0 then Last := Ada.Strings.Fixed.Index (Line, " ", Pos + 1); if Ada.Strings.Fixed.Index (Line (Pos .. Last), "body") = 0 then Set_Name (Result, Line (Pos .. Last)); else Pos := Last; Last := Ada.Strings.Fixed.Index (Line, " ", Pos + 1); Set_Name (Result, Line (Pos .. Last)); end if; end if; end if; end; end if; exception when E : Unknown_Tag => Log.Error ("{0}:{1}: Unkown comment tag '@{2}'", Ada.Directories.Base_Name (File), Util.Strings.Image (Result.Line_Number), Ada.Exceptions.Exception_Message (E)); end Process; begin Util.Files.Read_File (File, Process'Access); Finish (Result); end Read_Ada_File; -- ------------------------------ -- Read the XML file and extract the documentation. For this extraction we use -- an XSLT stylesheet and run the external tool <b>xstlproc</b>. -- ------------------------------ procedure Read_Xml_File (Handler : in out Artifact; File : in String; Result : in out File_Document) is function Find_Mode (Line : in String) return Line_Include_Kind; procedure Append (Line : in Ada.Strings.Unbounded.Unbounded_String); Is_Empty : Boolean := True; Current_Mode : Line_Include_Kind := L_INCLUDE; function Find_Mode (Line : in String) return Line_Include_Kind is begin if Line = "### Permissions" then return L_INCLUDE_PERMISSION; elsif Line = "### Queries" then return L_INCLUDE_QUERY; elsif Line = "### Beans" or Line = "### Mapping" then return L_INCLUDE_BEAN; elsif Line = "### Configuration" then return L_INCLUDE_CONFIG; else return L_INCLUDE; end if; end Find_Mode; procedure Append (Line : in Ada.Strings.Unbounded.Unbounded_String) is Content : constant String := Ada.Strings.Unbounded.To_String (Line); Trimmed : constant String := Ada.Strings.Fixed.Trim (Content, Spaces, Spaces); Mode : constant Line_Include_Kind := Find_Mode (Content); begin if Trimmed'Length > 0 then Is_Empty := False; end if; Result.Lines (L_INCLUDE).Append (Line_Type '(Len => Trimmed'Length, Kind => L_TEXT, Content => Trimmed)); if Mode /= L_INCLUDE then Current_Mode := Mode; return; end if; if Current_Mode /= L_INCLUDE then Result.Lines (Current_Mode).Append (Line_Type '(Len => Trimmed'Length, Kind => L_TEXT, Content => Trimmed)); end if; end Append; Pipe : aliased Util.Streams.Pipes.Pipe_Stream; Reader : Util.Streams.Texts.Reader_Stream; Name : constant String := Ada.Directories.Base_Name (File); Command : constant String := Ada.Strings.Unbounded.To_String (Handler.Xslt_Command); begin Log.Info ("Running {0} {1}", Command, File); Pipe.Open (Command & " " & File, Util.Processes.READ); Reader.Initialize (Pipe'Unchecked_Access); while not Reader.Is_Eof loop declare Line : Ada.Strings.Unbounded.Unbounded_String; begin Reader.Read_Line (Line, True); Log.Debug ("Doc: {0}", Line); Append (Line); end; end loop; Pipe.Close; Set_Title (Result, Name); Set_Name (Result, Name); if Pipe.Get_Exit_Status /= 0 then Log.Error ("Command {0} exited with status {1}", Command, Integer'Image (Pipe.Get_Exit_Status)); end if; if Is_Empty then Line_Vectors.Clear (Result.Lines (L_INCLUDE)); end if; exception when E : Util.Processes.Process_Error => Log.Error ("Command {0} failed: {1}", Command, Ada.Exceptions.Exception_Message (E)); end Read_Xml_File; end Gen.Artifacts.Docs;
39.329684
99
0.492097
2fde17ca47d45771407927196f90605d02c05b70
5,075
adb
Ada
tools/scanner_transformer/scanner_transformer.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
tools/scanner_transformer/scanner_transformer.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
tools/scanner_transformer/scanner_transformer.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Tools Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2010, Vadim Godunko <[email protected]> -- -- 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 program extracts data from the code generated by aflex, and generate -- actual implementation of scanner for regular expression engine. with Ada.Characters.Conversions; with Ada.Command_Line; with Asis.Ada_Environments; with Asis.Compilation_Units; with Asis.Elements; with Asis.Implementation; with Scanner_Analyzer; with Scanner_Extractor; with Scanner_Generator; with Scanner_Utilities; procedure Scanner_Transformer is Transformer_Context : Asis.Context; Scanner_Unit : Asis.Compilation_Unit; Scanner_Body : Asis.Element; begin Asis.Implementation.Initialize ("-asis05"); Asis.Ada_Environments.Associate (Transformer_Context, "Transformer_Context", "-C1 " & Ada.Characters.Conversions.To_Wide_String (Ada.Command_Line.Argument (2))); Asis.Ada_Environments.Open (Transformer_Context); case Scanner_Utilities.Mode is when Scanner_Utilities.Regexp => Scanner_Unit := Asis.Compilation_Units.Compilation_Unit_Body ("Regexp_Scanner", Transformer_Context); Scanner_Body := Asis.Elements.Unit_Declaration (Scanner_Unit); when Scanner_Utilities.XML => Scanner_Unit := Asis.Compilation_Units.Compilation_Unit_Body ("Xml_Scanner", Transformer_Context); Scanner_Body := Asis.Elements.Unit_Declaration (Scanner_Unit); end case; Scanner_Extractor.Extract (Scanner_Body); Scanner_Analyzer.Analyze; Scanner_Generator.Generate_Scanner_Code; Scanner_Generator.Generate_Scanner_Tables; Asis.Ada_Environments.Close (Transformer_Context); Asis.Ada_Environments.Dissociate (Transformer_Context); Asis.Implementation.Finalize; end Scanner_Transformer;
52.319588
78
0.515468
06637663c9559b1263ec6d8e1cca1464e60fb9e0
44
adb
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/elab4_proc.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/elab4_proc.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/elab4_proc.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
procedure Elab4_Proc is begin null; end;
8.8
23
0.75
06b3456a35c5f8af6f93292a2565d60a40915b26
4,345
adb
Ada
src/model/io/lse-model-io-text_file.adb
mgrojo/lsystem-editor
1f855bc1f783c8d7a1c81594c8aee403e4b53132
[ "MIT" ]
2
2021-01-09T14:49:35.000Z
2022-01-18T18:57:45.000Z
src/model/io/lse-model-io-text_file.adb
mgrojo/lsystem-editor
1f855bc1f783c8d7a1c81594c8aee403e4b53132
[ "MIT" ]
1
2021-12-03T18:49:59.000Z
2021-12-03T18:49:59.000Z
src/model/io/lse-model-io-text_file.adb
mgrojo/lsystem-editor
1f855bc1f783c8d7a1c81594c8aee403e4b53132
[ "MIT" ]
1
2021-12-03T18:07:44.000Z
2021-12-03T18:07:44.000Z
------------------------------------------------------------------------------- -- LSE -- L-System Editor -- Author: Heziode -- -- License: -- MIT License -- -- Copyright (c) 2018 Quentin Dauprat (Heziode) <[email protected]> -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and associated documentation files (the "Software"), -- to deal in the Software without restriction, including without limitation -- the rights to use, copy, modify, merge, publish, distribute, sublicense, -- and/or sell copies of the Software, and to permit persons to whom the -- Software is furnished to do so, subject to the following conditions: -- -- The above copyright notice and this permission notice shall be included in -- all copies or substantial portions of the Software. -- -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -- DEALINGS IN THE SOFTWARE. ------------------------------------------------------------------------------- with Ada.Characters.Latin_1; with Ada.Directories; package body LSE.Model.IO.Text_File is package L renames Ada.Characters.Latin_1; procedure Open_File (File : in out File_Type; Mode : File_Mode; Path : String; Auto : Boolean := True) is use Ada.Directories; -- The parameter "wcem=8" indicates that we want to open a file in -- UTF-8 format (which can therefore contain accents) FILE_FORM : constant String := "wcem=8"; begin if Exists (Path) then Open (File, Mode, Path, FILE_FORM); else if Auto then Create (File, Mode, Path, FILE_FORM); else raise Ada.Directories.Name_Error; end if; end if; end Open_File; procedure Close_File (File : in out File_Type) is begin Close (File); end Close_File; procedure Read (File : File_Type; Result : out Unbounded_String) is begin Result := To_Unbounded_String (""); loop exit when End_Of_File (File); if End_Of_Line (File) then Skip_Line (File); elsif End_Of_Page (File) then Skip_Page (File); else Result := Result & To_Unbounded_String (Get_Line (File)) & L.LF; end if; end loop; end Read; procedure Write (File : in out File_Type; Item : String) is begin Put_Line (File, Item); end Write; function Read_LSystem (File : File_Type; Builder : in out LSE.Model.L_System.Concrete_Builder.Instance; Turtle : LSE.Model.IO.Turtle_Utils.Holder; LS : in out LSE.Model.L_System.L_System.Instance) return Boolean is Item : Unbounded_String; begin Read (File, Item); if Builder.Make (To_String (Item)) then LS := Builder.Get_Product (Turtle); return True; else return False; end if; end Read_LSystem; procedure Write_LSystem (File : in out File_Type; LS : LSE.Model.L_System.L_System.Instance) is begin Put_Line (File, LS.Get_LSystem); end Write_LSystem; procedure Save_To_File (File_Path : String; Content : String) is File : File_Type; begin Open_File (File, Out_File, File_Path); Write (File, Content); Close_File (File); end Save_To_File; function Read_From_File (File_Path : String) return String is File : File_Type; Item : Unbounded_String; begin Open_File (File, In_File, File_Path); Read (File, Item); Close_File (File); return To_String (Item); end Read_From_File; end LSE.Model.IO.Text_File;
31.948529
79
0.588493
2fae358147a3c29ea339effc99d6902fd25dc414
214
ads
Ada
src/extools.ads
zenharris/ada-bbs
6294bc29979289b40927011bdff6cedf62719ef8
[ "Unlicense" ]
2
2019-07-13T03:51:43.000Z
2019-07-17T08:27:38.000Z
src/extools.ads
zenharris/ada-bbs
6294bc29979289b40927011bdff6cedf62719ef8
[ "Unlicense" ]
null
null
null
src/extools.ads
zenharris/ada-bbs
6294bc29979289b40927011bdff6cedf62719ef8
[ "Unlicense" ]
2
2019-10-08T08:14:38.000Z
2021-03-11T20:50:02.000Z
with Terminal_Interface.Curses; use Terminal_Interface.Curses; with Ada.Characters.Latin_1; use Ada.Characters.Latin_1; package Extools is procedure Refrosh (Win : Window := Standard_Window); end Extools;
17.833333
62
0.785047
592c870fb3ebb4a21835bc2ea20cc459b087b6dd
6,246
adb
Ada
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-pack21.adb
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-pack21.adb
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-pack21.adb
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 2 1 -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2019, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with System.Storage_Elements; with System.Unsigned_Types; package body System.Pack_21 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_21; 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_21 -- ------------ function Get_21 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_21 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_21; ------------ -- Set_21 -- ------------ procedure Set_21 (Arr : System.Address; N : Natural; E : Bits_21; 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_21; end System.Pack_21;
39.531646
78
0.460775
2f08e843a0765d31ca1e75ab856474883d61d545
27,365
ads
Ada
Erathostenes-III/obj/b__main.ads
Maxelweb/adacore-sandbox
a2576a33660327079f64d32e4b79d5a139cc3631
[ "Unlicense" ]
null
null
null
Erathostenes-III/obj/b__main.ads
Maxelweb/adacore-sandbox
a2576a33660327079f64d32e4b79d5a139cc3631
[ "Unlicense" ]
null
null
null
Erathostenes-III/obj/b__main.ads
Maxelweb/adacore-sandbox
a2576a33660327079f64d32e4b79d5a139cc3631
[ "Unlicense" ]
null
null
null
pragma Warnings (Off); pragma Ada_95; with System; with System.Parameters; with System.Secondary_Stack; package ada_main is gnat_argc : Integer; gnat_argv : System.Address; gnat_envp : System.Address; pragma Import (C, gnat_argc); pragma Import (C, gnat_argv); pragma Import (C, gnat_envp); gnat_exit_status : Integer; pragma Import (C, gnat_exit_status); GNAT_Version : constant String := "GNAT Version: 10.2.0" & ASCII.NUL; pragma Export (C, GNAT_Version, "__gnat_version"); Ada_Main_Program_Name : constant String := "_ada_main" & ASCII.NUL; pragma Export (C, Ada_Main_Program_Name, "__gnat_ada_main_program_name"); procedure adainit; pragma Export (C, adainit, "adainit"); procedure adafinal; pragma Export (C, adafinal, "adafinal"); function main (argc : Integer; argv : System.Address; envp : System.Address) return Integer; pragma Export (C, main, "main"); type Version_32 is mod 2 ** 32; u00001 : constant Version_32 := 16#f01b4674#; pragma Export (C, u00001, "mainB"); u00002 : constant Version_32 := 16#050ff2f0#; pragma Export (C, u00002, "system__standard_libraryB"); u00003 : constant Version_32 := 16#4113f22b#; pragma Export (C, u00003, "system__standard_libraryS"); u00004 : constant Version_32 := 16#76789da1#; pragma Export (C, u00004, "adaS"); u00005 : constant Version_32 := 16#185015e7#; pragma Export (C, u00005, "ada__exceptionsB"); u00006 : constant Version_32 := 16#d6578bab#; pragma Export (C, u00006, "ada__exceptionsS"); u00007 : constant Version_32 := 16#5726abed#; pragma Export (C, u00007, "ada__exceptions__last_chance_handlerB"); u00008 : constant Version_32 := 16#cfec26ee#; pragma Export (C, u00008, "ada__exceptions__last_chance_handlerS"); u00009 : constant Version_32 := 16#4635ec04#; pragma Export (C, u00009, "systemS"); u00010 : constant Version_32 := 16#ae860117#; pragma Export (C, u00010, "system__soft_linksB"); u00011 : constant Version_32 := 16#8d3f9472#; pragma Export (C, u00011, "system__soft_linksS"); u00012 : constant Version_32 := 16#f32b4133#; pragma Export (C, u00012, "system__secondary_stackB"); u00013 : constant Version_32 := 16#03a1141d#; pragma Export (C, u00013, "system__secondary_stackS"); u00014 : constant Version_32 := 16#86dbf443#; pragma Export (C, u00014, "system__parametersB"); u00015 : constant Version_32 := 16#0ed9b82f#; pragma Export (C, u00015, "system__parametersS"); u00016 : constant Version_32 := 16#ced09590#; pragma Export (C, u00016, "system__storage_elementsB"); u00017 : constant Version_32 := 16#6bf6a600#; pragma Export (C, u00017, "system__storage_elementsS"); u00018 : constant Version_32 := 16#75bf515c#; pragma Export (C, u00018, "system__soft_links__initializeB"); u00019 : constant Version_32 := 16#5697fc2b#; pragma Export (C, u00019, "system__soft_links__initializeS"); u00020 : constant Version_32 := 16#41837d1e#; pragma Export (C, u00020, "system__stack_checkingB"); u00021 : constant Version_32 := 16#c88a87ec#; pragma Export (C, u00021, "system__stack_checkingS"); u00022 : constant Version_32 := 16#34742901#; pragma Export (C, u00022, "system__exception_tableB"); u00023 : constant Version_32 := 16#1b9b8546#; pragma Export (C, u00023, "system__exception_tableS"); u00024 : constant Version_32 := 16#ce4af020#; pragma Export (C, u00024, "system__exceptionsB"); u00025 : constant Version_32 := 16#2e5681f2#; pragma Export (C, u00025, "system__exceptionsS"); u00026 : constant Version_32 := 16#69416224#; pragma Export (C, u00026, "system__exceptions__machineB"); u00027 : constant Version_32 := 16#5c74e542#; pragma Export (C, u00027, "system__exceptions__machineS"); u00028 : constant Version_32 := 16#aa0563fc#; pragma Export (C, u00028, "system__exceptions_debugB"); u00029 : constant Version_32 := 16#38bf15c0#; pragma Export (C, u00029, "system__exceptions_debugS"); u00030 : constant Version_32 := 16#6c2f8802#; pragma Export (C, u00030, "system__img_intB"); u00031 : constant Version_32 := 16#44ee0cc6#; pragma Export (C, u00031, "system__img_intS"); u00032 : constant Version_32 := 16#39df8c17#; pragma Export (C, u00032, "system__tracebackB"); u00033 : constant Version_32 := 16#181732c0#; pragma Export (C, u00033, "system__tracebackS"); u00034 : constant Version_32 := 16#9ed49525#; pragma Export (C, u00034, "system__traceback_entriesB"); u00035 : constant Version_32 := 16#466e1a74#; pragma Export (C, u00035, "system__traceback_entriesS"); u00036 : constant Version_32 := 16#448e9548#; pragma Export (C, u00036, "system__traceback__symbolicB"); u00037 : constant Version_32 := 16#46491211#; pragma Export (C, u00037, "system__traceback__symbolicS"); u00038 : constant Version_32 := 16#179d7d28#; pragma Export (C, u00038, "ada__containersS"); u00039 : constant Version_32 := 16#701f9d88#; pragma Export (C, u00039, "ada__exceptions__tracebackB"); u00040 : constant Version_32 := 16#ae2d2db5#; pragma Export (C, u00040, "ada__exceptions__tracebackS"); u00041 : constant Version_32 := 16#5ab55268#; pragma Export (C, u00041, "interfacesS"); u00042 : constant Version_32 := 16#769e25e6#; pragma Export (C, u00042, "interfaces__cB"); u00043 : constant Version_32 := 16#467817d8#; pragma Export (C, u00043, "interfaces__cS"); u00044 : constant Version_32 := 16#e865e681#; pragma Export (C, u00044, "system__bounded_stringsB"); u00045 : constant Version_32 := 16#31c8cd1d#; pragma Export (C, u00045, "system__bounded_stringsS"); u00046 : constant Version_32 := 16#0062635e#; pragma Export (C, u00046, "system__crtlS"); u00047 : constant Version_32 := 16#bba79bcb#; pragma Export (C, u00047, "system__dwarf_linesB"); u00048 : constant Version_32 := 16#9a78d181#; pragma Export (C, u00048, "system__dwarf_linesS"); u00049 : constant Version_32 := 16#5b4659fa#; pragma Export (C, u00049, "ada__charactersS"); u00050 : constant Version_32 := 16#8f637df8#; pragma Export (C, u00050, "ada__characters__handlingB"); u00051 : constant Version_32 := 16#3b3f6154#; pragma Export (C, u00051, "ada__characters__handlingS"); u00052 : constant Version_32 := 16#4b7bb96a#; pragma Export (C, u00052, "ada__characters__latin_1S"); u00053 : constant Version_32 := 16#e6d4fa36#; pragma Export (C, u00053, "ada__stringsS"); u00054 : constant Version_32 := 16#96df1a3f#; pragma Export (C, u00054, "ada__strings__mapsB"); u00055 : constant Version_32 := 16#1e526bec#; pragma Export (C, u00055, "ada__strings__mapsS"); u00056 : constant Version_32 := 16#5886cb31#; pragma Export (C, u00056, "system__bit_opsB"); u00057 : constant Version_32 := 16#0765e3a3#; pragma Export (C, u00057, "system__bit_opsS"); u00058 : constant Version_32 := 16#72b39087#; pragma Export (C, u00058, "system__unsigned_typesS"); u00059 : constant Version_32 := 16#92f05f13#; pragma Export (C, u00059, "ada__strings__maps__constantsS"); u00060 : constant Version_32 := 16#a0d3d22b#; pragma Export (C, u00060, "system__address_imageB"); u00061 : constant Version_32 := 16#e7d9713e#; pragma Export (C, u00061, "system__address_imageS"); u00062 : constant Version_32 := 16#ec78c2bf#; pragma Export (C, u00062, "system__img_unsB"); u00063 : constant Version_32 := 16#ed47ac70#; pragma Export (C, u00063, "system__img_unsS"); u00064 : constant Version_32 := 16#d7aac20c#; pragma Export (C, u00064, "system__ioB"); u00065 : constant Version_32 := 16#d8771b4b#; pragma Export (C, u00065, "system__ioS"); u00066 : constant Version_32 := 16#f790d1ef#; pragma Export (C, u00066, "system__mmapB"); u00067 : constant Version_32 := 16#7c445363#; pragma Export (C, u00067, "system__mmapS"); u00068 : constant Version_32 := 16#92d882c5#; pragma Export (C, u00068, "ada__io_exceptionsS"); u00069 : constant Version_32 := 16#91eaca2e#; pragma Export (C, u00069, "system__mmap__os_interfaceB"); u00070 : constant Version_32 := 16#1fc2f713#; pragma Export (C, u00070, "system__mmap__os_interfaceS"); u00071 : constant Version_32 := 16#1e7d913a#; pragma Export (C, u00071, "system__mmap__unixS"); u00072 : constant Version_32 := 16#54420b60#; pragma Export (C, u00072, "system__os_libB"); u00073 : constant Version_32 := 16#d872da39#; pragma Export (C, u00073, "system__os_libS"); u00074 : constant Version_32 := 16#ec4d5631#; pragma Export (C, u00074, "system__case_utilB"); u00075 : constant Version_32 := 16#79e05a50#; pragma Export (C, u00075, "system__case_utilS"); u00076 : constant Version_32 := 16#2a8e89ad#; pragma Export (C, u00076, "system__stringsB"); u00077 : constant Version_32 := 16#2623c091#; pragma Export (C, u00077, "system__stringsS"); u00078 : constant Version_32 := 16#5a3f5337#; pragma Export (C, u00078, "system__object_readerB"); u00079 : constant Version_32 := 16#82413105#; pragma Export (C, u00079, "system__object_readerS"); u00080 : constant Version_32 := 16#fb020d94#; pragma Export (C, u00080, "system__val_lliB"); u00081 : constant Version_32 := 16#2a5b7ef4#; pragma Export (C, u00081, "system__val_lliS"); u00082 : constant Version_32 := 16#b8e72903#; pragma Export (C, u00082, "system__val_lluB"); u00083 : constant Version_32 := 16#1f7d1d65#; pragma Export (C, u00083, "system__val_lluS"); u00084 : constant Version_32 := 16#269742a9#; pragma Export (C, u00084, "system__val_utilB"); u00085 : constant Version_32 := 16#ea955afa#; pragma Export (C, u00085, "system__val_utilS"); u00086 : constant Version_32 := 16#d7bf3f29#; pragma Export (C, u00086, "system__exception_tracesB"); u00087 : constant Version_32 := 16#62eacc9e#; pragma Export (C, u00087, "system__exception_tracesS"); u00088 : constant Version_32 := 16#8c33a517#; pragma Export (C, u00088, "system__wch_conB"); u00089 : constant Version_32 := 16#5d48ced6#; pragma Export (C, u00089, "system__wch_conS"); u00090 : constant Version_32 := 16#9721e840#; pragma Export (C, u00090, "system__wch_stwB"); u00091 : constant Version_32 := 16#7059e2d7#; pragma Export (C, u00091, "system__wch_stwS"); u00092 : constant Version_32 := 16#a831679c#; pragma Export (C, u00092, "system__wch_cnvB"); u00093 : constant Version_32 := 16#52ff7425#; pragma Export (C, u00093, "system__wch_cnvS"); u00094 : constant Version_32 := 16#ece6fdb6#; pragma Export (C, u00094, "system__wch_jisB"); u00095 : constant Version_32 := 16#d28f6d04#; pragma Export (C, u00095, "system__wch_jisS"); u00096 : constant Version_32 := 16#f64b89a4#; pragma Export (C, u00096, "ada__integer_text_ioB"); u00097 : constant Version_32 := 16#2ec7c168#; pragma Export (C, u00097, "ada__integer_text_ioS"); u00098 : constant Version_32 := 16#f4e097a7#; pragma Export (C, u00098, "ada__text_ioB"); u00099 : constant Version_32 := 16#777d5329#; pragma Export (C, u00099, "ada__text_ioS"); u00100 : constant Version_32 := 16#10558b11#; pragma Export (C, u00100, "ada__streamsB"); u00101 : constant Version_32 := 16#67e31212#; pragma Export (C, u00101, "ada__streamsS"); u00102 : constant Version_32 := 16#5d91da9f#; pragma Export (C, u00102, "ada__tagsB"); u00103 : constant Version_32 := 16#12a0afb8#; pragma Export (C, u00103, "ada__tagsS"); u00104 : constant Version_32 := 16#796f31f1#; pragma Export (C, u00104, "system__htableB"); u00105 : constant Version_32 := 16#c2f75fee#; pragma Export (C, u00105, "system__htableS"); u00106 : constant Version_32 := 16#089f5cd0#; pragma Export (C, u00106, "system__string_hashB"); u00107 : constant Version_32 := 16#60a93490#; pragma Export (C, u00107, "system__string_hashS"); u00108 : constant Version_32 := 16#73d2d764#; pragma Export (C, u00108, "interfaces__c_streamsB"); u00109 : constant Version_32 := 16#b1330297#; pragma Export (C, u00109, "interfaces__c_streamsS"); u00110 : constant Version_32 := 16#ec9c64c3#; pragma Export (C, u00110, "system__file_ioB"); u00111 : constant Version_32 := 16#e1440d61#; pragma Export (C, u00111, "system__file_ioS"); u00112 : constant Version_32 := 16#86c56e5a#; pragma Export (C, u00112, "ada__finalizationS"); u00113 : constant Version_32 := 16#95817ed8#; pragma Export (C, u00113, "system__finalization_rootB"); u00114 : constant Version_32 := 16#09c79f94#; pragma Export (C, u00114, "system__finalization_rootS"); u00115 : constant Version_32 := 16#bbaa76ac#; pragma Export (C, u00115, "system__file_control_blockS"); u00116 : constant Version_32 := 16#fdedfd10#; pragma Export (C, u00116, "ada__text_io__integer_auxB"); u00117 : constant Version_32 := 16#2fe01d89#; pragma Export (C, u00117, "ada__text_io__integer_auxS"); u00118 : constant Version_32 := 16#181dc502#; pragma Export (C, u00118, "ada__text_io__generic_auxB"); u00119 : constant Version_32 := 16#305a076a#; pragma Export (C, u00119, "ada__text_io__generic_auxS"); u00120 : constant Version_32 := 16#b10ba0c7#; pragma Export (C, u00120, "system__img_biuB"); u00121 : constant Version_32 := 16#b49118ca#; pragma Export (C, u00121, "system__img_biuS"); u00122 : constant Version_32 := 16#4e06ab0c#; pragma Export (C, u00122, "system__img_llbB"); u00123 : constant Version_32 := 16#f5560834#; pragma Export (C, u00123, "system__img_llbS"); u00124 : constant Version_32 := 16#9dca6636#; pragma Export (C, u00124, "system__img_lliB"); u00125 : constant Version_32 := 16#577ab9d5#; pragma Export (C, u00125, "system__img_lliS"); u00126 : constant Version_32 := 16#a756d097#; pragma Export (C, u00126, "system__img_llwB"); u00127 : constant Version_32 := 16#5c3a2ba2#; pragma Export (C, u00127, "system__img_llwS"); u00128 : constant Version_32 := 16#eb55dfbb#; pragma Export (C, u00128, "system__img_wiuB"); u00129 : constant Version_32 := 16#dad09f58#; pragma Export (C, u00129, "system__img_wiuS"); u00130 : constant Version_32 := 16#0f9783a4#; pragma Export (C, u00130, "system__val_intB"); u00131 : constant Version_32 := 16#f3ca8567#; pragma Export (C, u00131, "system__val_intS"); u00132 : constant Version_32 := 16#383fd226#; pragma Export (C, u00132, "system__val_unsB"); u00133 : constant Version_32 := 16#47b5ed3e#; pragma Export (C, u00133, "system__val_unsS"); u00134 : constant Version_32 := 16#7c767b3e#; pragma Export (C, u00134, "soeB"); u00135 : constant Version_32 := 16#93d61ca8#; pragma Export (C, u00135, "soeS"); u00136 : constant Version_32 := 16#357666d8#; pragma Export (C, u00136, "ada__calendar__delaysB"); u00137 : constant Version_32 := 16#d86d2f1d#; pragma Export (C, u00137, "ada__calendar__delaysS"); u00138 : constant Version_32 := 16#fc54e290#; pragma Export (C, u00138, "ada__calendarB"); u00139 : constant Version_32 := 16#31350a81#; pragma Export (C, u00139, "ada__calendarS"); u00140 : constant Version_32 := 16#51f2d040#; pragma Export (C, u00140, "system__os_primitivesB"); u00141 : constant Version_32 := 16#41c889f2#; pragma Export (C, u00141, "system__os_primitivesS"); u00142 : constant Version_32 := 16#2b70b149#; pragma Export (C, u00142, "system__concat_3B"); u00143 : constant Version_32 := 16#4d45b0a1#; pragma Export (C, u00143, "system__concat_3S"); u00144 : constant Version_32 := 16#fd83e873#; pragma Export (C, u00144, "system__concat_2B"); u00145 : constant Version_32 := 16#44953bd4#; pragma Export (C, u00145, "system__concat_2S"); u00146 : constant Version_32 := 16#932a4690#; pragma Export (C, u00146, "system__concat_4B"); u00147 : constant Version_32 := 16#3851c724#; pragma Export (C, u00147, "system__concat_4S"); u00148 : constant Version_32 := 16#c2216981#; pragma Export (C, u00148, "system__taskingB"); u00149 : constant Version_32 := 16#5f56b18c#; pragma Export (C, u00149, "system__taskingS"); u00150 : constant Version_32 := 16#0894e9be#; pragma Export (C, u00150, "system__task_primitivesS"); u00151 : constant Version_32 := 16#c9728a70#; pragma Export (C, u00151, "system__os_interfaceB"); u00152 : constant Version_32 := 16#668bffb5#; pragma Export (C, u00152, "system__os_interfaceS"); u00153 : constant Version_32 := 16#ff1f7771#; pragma Export (C, u00153, "system__linuxS"); u00154 : constant Version_32 := 16#3fb09703#; pragma Export (C, u00154, "system__os_constantsS"); u00155 : constant Version_32 := 16#88b9bc12#; pragma Export (C, u00155, "system__task_primitives__operationsB"); u00156 : constant Version_32 := 16#a249a2c5#; pragma Export (C, u00156, "system__task_primitives__operationsS"); u00157 : constant Version_32 := 16#71c5de81#; pragma Export (C, u00157, "system__interrupt_managementB"); u00158 : constant Version_32 := 16#ef0526ae#; pragma Export (C, u00158, "system__interrupt_managementS"); u00159 : constant Version_32 := 16#f65595cf#; pragma Export (C, u00159, "system__multiprocessorsB"); u00160 : constant Version_32 := 16#7e997377#; pragma Export (C, u00160, "system__multiprocessorsS"); u00161 : constant Version_32 := 16#375a3ef7#; pragma Export (C, u00161, "system__task_infoB"); u00162 : constant Version_32 := 16#d7a1ab61#; pragma Export (C, u00162, "system__task_infoS"); u00163 : constant Version_32 := 16#f0965c7b#; pragma Export (C, u00163, "system__tasking__debugB"); u00164 : constant Version_32 := 16#6502a0c1#; pragma Export (C, u00164, "system__tasking__debugS"); u00165 : constant Version_32 := 16#b31a5821#; pragma Export (C, u00165, "system__img_enum_newB"); u00166 : constant Version_32 := 16#2779eac4#; pragma Export (C, u00166, "system__img_enum_newS"); u00167 : constant Version_32 := 16#6ec3c867#; pragma Export (C, u00167, "system__stack_usageB"); u00168 : constant Version_32 := 16#3a3ac346#; pragma Export (C, u00168, "system__stack_usageS"); u00169 : constant Version_32 := 16#9322406a#; pragma Export (C, u00169, "system__tasking__rendezvousB"); u00170 : constant Version_32 := 16#d811d710#; pragma Export (C, u00170, "system__tasking__rendezvousS"); u00171 : constant Version_32 := 16#100eaf58#; pragma Export (C, u00171, "system__restrictionsB"); u00172 : constant Version_32 := 16#0d473555#; pragma Export (C, u00172, "system__restrictionsS"); u00173 : constant Version_32 := 16#69bd1289#; pragma Export (C, u00173, "system__tasking__entry_callsB"); u00174 : constant Version_32 := 16#6342024e#; pragma Export (C, u00174, "system__tasking__entry_callsS"); u00175 : constant Version_32 := 16#4e315ff7#; pragma Export (C, u00175, "system__tasking__initializationB"); u00176 : constant Version_32 := 16#fc2303e6#; pragma Export (C, u00176, "system__tasking__initializationS"); u00177 : constant Version_32 := 16#55e88911#; pragma Export (C, u00177, "system__soft_links__taskingB"); u00178 : constant Version_32 := 16#e939497e#; pragma Export (C, u00178, "system__soft_links__taskingS"); u00179 : constant Version_32 := 16#3880736e#; pragma Export (C, u00179, "ada__exceptions__is_null_occurrenceB"); u00180 : constant Version_32 := 16#6fde25af#; pragma Export (C, u00180, "ada__exceptions__is_null_occurrenceS"); u00181 : constant Version_32 := 16#263e126a#; pragma Export (C, u00181, "system__tasking__task_attributesB"); u00182 : constant Version_32 := 16#4c97674c#; pragma Export (C, u00182, "system__tasking__task_attributesS"); u00183 : constant Version_32 := 16#7f6ff536#; pragma Export (C, u00183, "system__tasking__protected_objectsB"); u00184 : constant Version_32 := 16#15001baf#; pragma Export (C, u00184, "system__tasking__protected_objectsS"); u00185 : constant Version_32 := 16#726dd94b#; pragma Export (C, u00185, "system__tasking__protected_objects__entriesB"); u00186 : constant Version_32 := 16#7daf93e7#; pragma Export (C, u00186, "system__tasking__protected_objects__entriesS"); u00187 : constant Version_32 := 16#83c8fb63#; pragma Export (C, u00187, "system__tasking__protected_objects__operationsB"); u00188 : constant Version_32 := 16#343fde45#; pragma Export (C, u00188, "system__tasking__protected_objects__operationsS"); u00189 : constant Version_32 := 16#cee82bbd#; pragma Export (C, u00189, "system__tasking__queuingB"); u00190 : constant Version_32 := 16#6dba2805#; pragma Export (C, u00190, "system__tasking__queuingS"); u00191 : constant Version_32 := 16#eb894f1f#; pragma Export (C, u00191, "system__tasking__utilitiesB"); u00192 : constant Version_32 := 16#0f670827#; pragma Export (C, u00192, "system__tasking__utilitiesS"); u00193 : constant Version_32 := 16#0780a76b#; pragma Export (C, u00193, "system__tasking__stagesB"); u00194 : constant Version_32 := 16#14e0647c#; pragma Export (C, u00194, "system__tasking__stagesS"); u00195 : constant Version_32 := 16#e932e590#; pragma Export (C, u00195, "ada__real_timeB"); u00196 : constant Version_32 := 16#69ea8064#; pragma Export (C, u00196, "ada__real_timeS"); u00197 : constant Version_32 := 16#e31b7c4e#; pragma Export (C, u00197, "system__memoryB"); u00198 : constant Version_32 := 16#1f488a30#; pragma Export (C, u00198, "system__memoryS"); -- BEGIN ELABORATION ORDER -- ada%s -- ada.characters%s -- ada.characters.latin_1%s -- interfaces%s -- system%s -- system.img_enum_new%s -- system.img_enum_new%b -- system.img_int%s -- system.img_int%b -- system.img_lli%s -- system.img_lli%b -- system.io%s -- system.io%b -- system.os_primitives%s -- system.os_primitives%b -- system.parameters%s -- system.parameters%b -- system.crtl%s -- interfaces.c_streams%s -- interfaces.c_streams%b -- system.restrictions%s -- system.restrictions%b -- system.storage_elements%s -- system.storage_elements%b -- system.stack_checking%s -- system.stack_checking%b -- system.stack_usage%s -- system.stack_usage%b -- system.string_hash%s -- system.string_hash%b -- system.htable%s -- system.htable%b -- system.strings%s -- system.strings%b -- system.traceback_entries%s -- system.traceback_entries%b -- system.unsigned_types%s -- system.img_biu%s -- system.img_biu%b -- system.img_llb%s -- system.img_llb%b -- system.img_llw%s -- system.img_llw%b -- system.img_uns%s -- system.img_uns%b -- system.img_wiu%s -- system.img_wiu%b -- system.wch_con%s -- system.wch_con%b -- system.wch_jis%s -- system.wch_jis%b -- system.wch_cnv%s -- system.wch_cnv%b -- system.concat_2%s -- system.concat_2%b -- system.concat_3%s -- system.concat_3%b -- system.concat_4%s -- system.concat_4%b -- system.traceback%s -- system.traceback%b -- ada.characters.handling%s -- system.case_util%s -- system.os_lib%s -- system.secondary_stack%s -- system.standard_library%s -- ada.exceptions%s -- system.exceptions_debug%s -- system.exceptions_debug%b -- system.soft_links%s -- system.val_lli%s -- system.val_llu%s -- system.val_util%s -- system.val_util%b -- system.wch_stw%s -- system.wch_stw%b -- ada.exceptions.last_chance_handler%s -- ada.exceptions.last_chance_handler%b -- ada.exceptions.traceback%s -- ada.exceptions.traceback%b -- system.address_image%s -- system.address_image%b -- system.bit_ops%s -- system.bit_ops%b -- system.bounded_strings%s -- system.bounded_strings%b -- system.case_util%b -- system.exception_table%s -- system.exception_table%b -- ada.containers%s -- ada.io_exceptions%s -- ada.strings%s -- ada.strings.maps%s -- ada.strings.maps%b -- ada.strings.maps.constants%s -- interfaces.c%s -- interfaces.c%b -- system.exceptions%s -- system.exceptions%b -- system.exceptions.machine%s -- system.exceptions.machine%b -- ada.characters.handling%b -- system.exception_traces%s -- system.exception_traces%b -- system.memory%s -- system.memory%b -- system.mmap%s -- system.mmap.os_interface%s -- system.mmap%b -- system.mmap.unix%s -- system.mmap.os_interface%b -- system.object_reader%s -- system.object_reader%b -- system.dwarf_lines%s -- system.dwarf_lines%b -- system.os_lib%b -- system.secondary_stack%b -- system.soft_links.initialize%s -- system.soft_links.initialize%b -- system.soft_links%b -- system.standard_library%b -- system.traceback.symbolic%s -- system.traceback.symbolic%b -- ada.exceptions%b -- system.val_lli%b -- system.val_llu%b -- ada.exceptions.is_null_occurrence%s -- ada.exceptions.is_null_occurrence%b -- ada.tags%s -- ada.tags%b -- ada.streams%s -- ada.streams%b -- system.file_control_block%s -- system.finalization_root%s -- system.finalization_root%b -- ada.finalization%s -- system.file_io%s -- system.file_io%b -- system.linux%s -- system.multiprocessors%s -- system.multiprocessors%b -- system.os_constants%s -- system.os_interface%s -- system.os_interface%b -- system.task_info%s -- system.task_info%b -- system.task_primitives%s -- system.interrupt_management%s -- system.interrupt_management%b -- system.tasking%s -- system.task_primitives.operations%s -- system.tasking.debug%s -- system.tasking.debug%b -- system.task_primitives.operations%b -- system.tasking%b -- system.val_uns%s -- system.val_uns%b -- system.val_int%s -- system.val_int%b -- ada.calendar%s -- ada.calendar%b -- ada.calendar.delays%s -- ada.calendar.delays%b -- ada.real_time%s -- ada.real_time%b -- ada.text_io%s -- ada.text_io%b -- ada.text_io.generic_aux%s -- ada.text_io.generic_aux%b -- ada.text_io.integer_aux%s -- ada.text_io.integer_aux%b -- ada.integer_text_io%s -- ada.integer_text_io%b -- system.soft_links.tasking%s -- system.soft_links.tasking%b -- system.tasking.initialization%s -- system.tasking.task_attributes%s -- system.tasking.task_attributes%b -- system.tasking.initialization%b -- system.tasking.protected_objects%s -- system.tasking.protected_objects%b -- system.tasking.protected_objects.entries%s -- system.tasking.protected_objects.entries%b -- system.tasking.queuing%s -- system.tasking.queuing%b -- system.tasking.utilities%s -- system.tasking.utilities%b -- system.tasking.entry_calls%s -- system.tasking.rendezvous%s -- system.tasking.protected_objects.operations%s -- system.tasking.protected_objects.operations%b -- system.tasking.entry_calls%b -- system.tasking.rendezvous%b -- system.tasking.stages%s -- system.tasking.stages%b -- soe%s -- soe%b -- main%b -- END ELABORATION ORDER end ada_main;
42.824726
80
0.695999
31f6b755e9e2d9298fd5a584812376e7c5dba71a
4,596
adb
Ada
tests/lsc_test_ripemd160.adb
Componolit/libsparkcrypto
8531a07b6e9f5eb33eae0fa32759b4cbd3509d95
[ "OpenSSL", "Unlicense" ]
30
2018-05-18T09:11:50.000Z
2021-05-18T16:29:14.000Z
tests/lsc_test_ripemd160.adb
Componolit/libsparkcrypto
8531a07b6e9f5eb33eae0fa32759b4cbd3509d95
[ "OpenSSL", "Unlicense" ]
15
2018-12-13T07:53:36.000Z
2019-09-24T19:43:35.000Z
tests/lsc_test_ripemd160.adb
Componolit/libsparkcrypto
8531a07b6e9f5eb33eae0fa32759b4cbd3509d95
[ "OpenSSL", "Unlicense" ]
3
2019-04-04T17:41:29.000Z
2021-05-07T22:28:46.000Z
------------------------------------------------------------------------------- -- This file is part of libsparkcrypto. -- -- Copyright (C) 2018 Componolit GmbH -- 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 nor the names of its contributors may be used -- to endorse or promote products derived from this software without -- specific prior written permission. -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS -- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -- POSSIBILITY OF SUCH DAMAGE. ------------------------------------------------------------------------------- with AUnit.Assertions; use AUnit.Assertions; with Util; use Util; with LSC.Types; with LSC.RIPEMD160; use LSC; pragma Style_Checks ("-s-M"); pragma Warnings (Off, "formal parameter ""T"" is not referenced"); package body LSC_Test_RIPEMD160 is -- Test vectors from: -- RIPEMD-160: A Strengthened Version of RIPEMD , Appendix B: Test values Input_Buffer : LSC.Types.Bytes (1 .. 1_000_000); RMD_Buffer : constant String (1 .. 1_000_000) := (others => 'a'); procedure Test_RIPEMD160 (Msg : String; MD : String) is use type LSC.Types.Bytes; Last : LSC.Types.Natural_Index; begin T2B (Msg, Input_Buffer, Last); declare Result : constant LSC.Types.Bytes := RIPEMD160.Hash (Input_Buffer (Input_Buffer'First .. Last)); begin Assert (Result = S2B (MD), "Invalid hash: " & B2S (Result) & " (expected " & MD & " input len=" & Msg'Length'Img & ")"); end; end Test_RIPEMD160; --------------------------------------------------------------------------- -- RIPEMD160 --------------------------------------------------------------------------- procedure Test_RIPEMD160_AB9601 (T : in out Test_Cases.Test_Case'Class) is begin Test_RIPEMD160 ("", "9c1185a5c5e9fc54612808977ee8f548b2258d31"); Test_RIPEMD160 ("a", "0bdc9d2d256b3ee9daae347be6f4dc835a467ffe"); Test_RIPEMD160 ("abc", "8eb208f7e05d987a9b044a8e98c6b087f15a0bfc"); Test_RIPEMD160 ("message digest", "5d0689ef49d2fae572b881b123a85ffa21595f36"); Test_RIPEMD160 ("abcdefghijklmnopqrstuvwxyz", "f71c27109c692c1b56bbdceb5b9d2865b3708dbc"); Test_RIPEMD160 ("abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq", "12a053384a9c0c88e405a06c27dcf49ada62eb2b"); Test_RIPEMD160 ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", "b0e20b6e3116640286ed3a87a5713079b21f5189"); Test_RIPEMD160 ("12345678901234567890123456789012345678901234567890123456789012345678901234567890", "9b752e45573d4b39f4dbd3323cab82bf63326bfb"); Test_RIPEMD160 (RMD_Buffer, "52783243c1697bdbe16d37f97f68f08325dc1528"); end Test_RIPEMD160_AB9601; --------------------------------------------------------------------------- procedure Register_Tests (T : in out Test_Case) is use AUnit.Test_Cases.Registration; begin Register_Routine (T, Test_RIPEMD160_AB9601'Access, "RIPEMD-160 (AB-9601)"); end Register_Tests; --------------------------------------------------------------------------- function Name (T : Test_Case) return Test_String is begin return Format ("RIPEMD160"); end Name; end LSC_Test_RIPEMD160;
44.192308
129
0.637076
590503a71d93d35ea7c4bc14e0eb247095d78e15
12,683
ads
Ada
source/amf/ocl/amf-internals-ocl_collection_literal_exps.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/amf/ocl/amf-internals-ocl_collection_literal_exps.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/amf/ocl/amf-internals-ocl_collection_literal_exps.ads
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012, Vadim Godunko <[email protected]> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This file is generated, don't edit it. ------------------------------------------------------------------------------ with AMF.Internals.OCL_Elements; with AMF.OCL.Collection_Literal_Exps; with AMF.OCL.Collection_Literal_Parts.Collections; with AMF.UML.Comments.Collections; with AMF.UML.Dependencies.Collections; with AMF.UML.Elements.Collections; with AMF.UML.Named_Elements; with AMF.UML.Namespaces.Collections; with AMF.UML.Packages.Collections; with AMF.UML.String_Expressions; with AMF.UML.Types; with AMF.Visitors; package AMF.Internals.OCL_Collection_Literal_Exps is type OCL_Collection_Literal_Exp_Proxy is limited new AMF.Internals.OCL_Elements.OCL_Element_Proxy and AMF.OCL.Collection_Literal_Exps.OCL_Collection_Literal_Exp with null record; overriding function Get_Kind (Self : not null access constant OCL_Collection_Literal_Exp_Proxy) return AMF.OCL.OCL_Collection_Kind; -- Getter of CollectionLiteralExp::kind. -- overriding procedure Set_Kind (Self : not null access OCL_Collection_Literal_Exp_Proxy; To : AMF.OCL.OCL_Collection_Kind); -- Setter of CollectionLiteralExp::kind. -- overriding function Get_Part (Self : not null access constant OCL_Collection_Literal_Exp_Proxy) return AMF.OCL.Collection_Literal_Parts.Collections.Ordered_Set_Of_OCL_Collection_Literal_Part; -- Getter of CollectionLiteralExp::part. -- overriding function Get_Type (Self : not null access constant OCL_Collection_Literal_Exp_Proxy) return AMF.UML.Types.UML_Type_Access; -- Getter of TypedElement::type. -- -- The type of the TypedElement. -- This information is derived from the return result for this Operation. overriding procedure Set_Type (Self : not null access OCL_Collection_Literal_Exp_Proxy; To : AMF.UML.Types.UML_Type_Access); -- Setter of TypedElement::type. -- -- The type of the TypedElement. -- This information is derived from the return result for this Operation. overriding function Get_Client_Dependency (Self : not null access constant OCL_Collection_Literal_Exp_Proxy) return AMF.UML.Dependencies.Collections.Set_Of_UML_Dependency; -- Getter of NamedElement::clientDependency. -- -- Indicates the dependencies that reference the client. overriding function Get_Name (Self : not null access constant OCL_Collection_Literal_Exp_Proxy) return AMF.Optional_String; -- Getter of NamedElement::name. -- -- The name of the NamedElement. overriding procedure Set_Name (Self : not null access OCL_Collection_Literal_Exp_Proxy; To : AMF.Optional_String); -- Setter of NamedElement::name. -- -- The name of the NamedElement. overriding function Get_Name_Expression (Self : not null access constant OCL_Collection_Literal_Exp_Proxy) return AMF.UML.String_Expressions.UML_String_Expression_Access; -- Getter of NamedElement::nameExpression. -- -- The string expression used to define the name of this named element. overriding procedure Set_Name_Expression (Self : not null access OCL_Collection_Literal_Exp_Proxy; To : AMF.UML.String_Expressions.UML_String_Expression_Access); -- Setter of NamedElement::nameExpression. -- -- The string expression used to define the name of this named element. overriding function Get_Namespace (Self : not null access constant OCL_Collection_Literal_Exp_Proxy) return AMF.UML.Namespaces.UML_Namespace_Access; -- Getter of NamedElement::namespace. -- -- Specifies the namespace that owns the NamedElement. overriding function Get_Qualified_Name (Self : not null access constant OCL_Collection_Literal_Exp_Proxy) return AMF.Optional_String; -- Getter of NamedElement::qualifiedName. -- -- A name which allows the NamedElement to be identified within a -- hierarchy of nested Namespaces. It is constructed from the names of the -- containing namespaces starting at the root of the hierarchy and ending -- with the name of the NamedElement itself. overriding function Get_Visibility (Self : not null access constant OCL_Collection_Literal_Exp_Proxy) return AMF.UML.Optional_UML_Visibility_Kind; -- Getter of NamedElement::visibility. -- -- Determines where the NamedElement appears within different Namespaces -- within the overall model, and its accessibility. overriding procedure Set_Visibility (Self : not null access OCL_Collection_Literal_Exp_Proxy; To : AMF.UML.Optional_UML_Visibility_Kind); -- Setter of NamedElement::visibility. -- -- Determines where the NamedElement appears within different Namespaces -- within the overall model, and its accessibility. overriding function Get_Owned_Comment (Self : not null access constant OCL_Collection_Literal_Exp_Proxy) return AMF.UML.Comments.Collections.Set_Of_UML_Comment; -- Getter of Element::ownedComment. -- -- The Comments owned by this element. overriding function Get_Owned_Element (Self : not null access constant OCL_Collection_Literal_Exp_Proxy) return AMF.UML.Elements.Collections.Set_Of_UML_Element; -- Getter of Element::ownedElement. -- -- The Elements owned by this element. overriding function Get_Owner (Self : not null access constant OCL_Collection_Literal_Exp_Proxy) return AMF.UML.Elements.UML_Element_Access; -- Getter of Element::owner. -- -- The Element that owns this element. overriding function All_Namespaces (Self : not null access constant OCL_Collection_Literal_Exp_Proxy) return AMF.UML.Namespaces.Collections.Ordered_Set_Of_UML_Namespace; -- Operation NamedElement::allNamespaces. -- -- The query allNamespaces() gives the sequence of namespaces in which the -- NamedElement is nested, working outwards. overriding function All_Owning_Packages (Self : not null access constant OCL_Collection_Literal_Exp_Proxy) return AMF.UML.Packages.Collections.Set_Of_UML_Package; -- Operation NamedElement::allOwningPackages. -- -- The query allOwningPackages() returns all the directly or indirectly -- owning packages. overriding function Is_Distinguishable_From (Self : not null access constant OCL_Collection_Literal_Exp_Proxy; N : AMF.UML.Named_Elements.UML_Named_Element_Access; Ns : AMF.UML.Namespaces.UML_Namespace_Access) return Boolean; -- Operation NamedElement::isDistinguishableFrom. -- -- The query isDistinguishableFrom() determines whether two NamedElements -- may logically co-exist within a Namespace. By default, two named -- elements are distinguishable if (a) they have unrelated types or (b) -- they have related types but different names. overriding function Namespace (Self : not null access constant OCL_Collection_Literal_Exp_Proxy) return AMF.UML.Namespaces.UML_Namespace_Access; -- Operation NamedElement::namespace. -- -- Missing derivation for NamedElement::/namespace : Namespace overriding function Qualified_Name (Self : not null access constant OCL_Collection_Literal_Exp_Proxy) return League.Strings.Universal_String; -- Operation NamedElement::qualifiedName. -- -- When there is a name, and all of the containing namespaces have a name, -- the qualified name is constructed from the names of the containing -- namespaces. overriding function Separator (Self : not null access constant OCL_Collection_Literal_Exp_Proxy) return League.Strings.Universal_String; -- Operation NamedElement::separator. -- -- The query separator() gives the string that is used to separate names -- when constructing a qualified name. overriding function All_Owned_Elements (Self : not null access constant OCL_Collection_Literal_Exp_Proxy) return AMF.UML.Elements.Collections.Set_Of_UML_Element; -- Operation Element::allOwnedElements. -- -- The query allOwnedElements() gives all of the direct and indirect owned -- elements of an element. overriding function Must_Be_Owned (Self : not null access constant OCL_Collection_Literal_Exp_Proxy) return Boolean; -- Operation Element::mustBeOwned. -- -- The query mustBeOwned() indicates whether elements of this type must -- have an owner. Subclasses of Element that do not require an owner must -- override this operation. overriding procedure Enter_Element (Self : not null access constant OCL_Collection_Literal_Exp_Proxy; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control); overriding procedure Leave_Element (Self : not null access constant OCL_Collection_Literal_Exp_Proxy; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control); overriding procedure Visit_Element (Self : not null access constant OCL_Collection_Literal_Exp_Proxy; Iterator : in out AMF.Visitors.Abstract_Iterator'Class; Visitor : in out AMF.Visitors.Abstract_Visitor'Class; Control : in out AMF.Visitors.Traverse_Control); end AMF.Internals.OCL_Collection_Literal_Exps;
46.288321
102
0.649846
2f7b2ce9ef4f34e50da5840882adf74850774bc1
136
adb
Ada
list2/task3/src/main.adb
luk9400/nsi
dd76cfbc811163e77bdb05ab30115b734774ca33
[ "MIT" ]
null
null
null
list2/task3/src/main.adb
luk9400/nsi
dd76cfbc811163e77bdb05ab30115b734774ca33
[ "MIT" ]
null
null
null
list2/task3/src/main.adb
luk9400/nsi
dd76cfbc811163e77bdb05ab30115b734774ca33
[ "MIT" ]
null
null
null
with Ada.Text_IO; with Square_Root; procedure Main is begin Ada.Text_IO.Put_Line (Square_Root.Sqrt(2.0, 0.00001)'Image); end Main;
13.6
62
0.75
31d36be9ff1357c2da613f69ff5ec518da1e8b84
3,868
ads
Ada
src/keystore-repository-data.ads
thierr26/ada-keystore
25099a9df3ce9b48a401148eb1b84442011759a0
[ "Apache-2.0" ]
null
null
null
src/keystore-repository-data.ads
thierr26/ada-keystore
25099a9df3ce9b48a401148eb1b84442011759a0
[ "Apache-2.0" ]
null
null
null
src/keystore-repository-data.ads
thierr26/ada-keystore
25099a9df3ce9b48a401148eb1b84442011759a0
[ "Apache-2.0" ]
null
null
null
----------------------------------------------------------------------- -- keystore-repository-data -- Data access and management for the keystore -- Copyright (C) 2019 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- 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.Streams; with Util.Streams; with Util.Encoders.AES; with Keystore.IO; with Keystore.Repository.Keys; private package Keystore.Repository.Data is -- Start offset of the data entry descriptor in the data block. function Data_Entry_Offset (Index : in Natural) return IO.Block_Index is (IO.BT_DATA_START + Stream_Element_Offset (Index * DATA_ENTRY_SIZE) - DATA_ENTRY_SIZE - 1); -- Write the data in one or several blocks. procedure Add_Data (Manager : in out Wallet_Repository; Iterator : in out Keys.Data_Key_Iterator; Content : in Ada.Streams.Stream_Element_Array; Offset : in out Interfaces.Unsigned_64); procedure Add_Data (Manager : in out Wallet_Repository; Iterator : in out Keys.Data_Key_Iterator; Content : in out Util.Streams.Input_Stream'Class; Offset : in out Interfaces.Unsigned_64); -- Update the data fragments. procedure Update_Data (Manager : in out Wallet_Repository; Iterator : in out Keys.Data_Key_Iterator; Content : in Ada.Streams.Stream_Element_Array; Last_Pos : out Ada.Streams.Stream_Element_Offset; Offset : in out Interfaces.Unsigned_64); procedure Update_Data (Manager : in out Wallet_Repository; Iterator : in out Keys.Data_Key_Iterator; Content : in out Util.Streams.Input_Stream'Class; End_Of_Stream : out Boolean; Offset : in out Interfaces.Unsigned_64); -- Erase the data fragments starting at the key iterator current position. procedure Delete_Data (Manager : in out Wallet_Repository; Iterator : in out Keys.Data_Key_Iterator); -- Get the data associated with the named entry. procedure Get_Data (Manager : in out Wallet_Repository; Iterator : in out Keys.Data_Key_Iterator; Output : out Ada.Streams.Stream_Element_Array); -- Get the data associated with the named entry and write it in the output stream. procedure Get_Data (Manager : in out Wallet_Repository; Iterator : in out Keys.Data_Key_Iterator; Output : in out Util.Streams.Output_Stream'Class); private -- Find the data block to hold a new data entry that occupies the given space. -- The first data block that has enough space is used otherwise a new block -- is allocated and initialized. procedure Allocate_Data_Block (Manager : in out Wallet_Repository; Space : in IO.Block_Index; Work : in Workers.Data_Work_Access); end Keystore.Repository.Data;
49.589744
97
0.607808
a1d35042a4afc932d3c45ea1f5291b3c6323599b
928
ads
Ada
src/gdb/gdb-8.3/gdb/testsuite/gdb.ada/info_auto_lang/global_pack.ads
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
31
2018-08-01T21:25:24.000Z
2022-02-14T07:52:34.000Z
src/gdb/gdb-8.3/gdb/testsuite/gdb.ada/info_auto_lang/global_pack.ads
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
40
2018-12-03T19:48:52.000Z
2021-03-10T06:34:26.000Z
src/gdb/gdb-8.3/gdb/testsuite/gdb.ada/info_auto_lang/global_pack.ads
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
20
2018-11-16T21:19:22.000Z
2021-10-18T23:08:24.000Z
-- Copyright 2018-2019 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. package Global_Pack is Some_Number_In_Ada : Integer := 0; type Some_Type_In_Ada is record Some_Component_In_Ada : Integer; end record; Some_Struct_In_Ada : Some_Type_In_Ada; end Global_Pack;
35.692308
73
0.740302
0678dbc886d4ac69dd7d56262fe7d81164104259
4,473
adb
Ada
source/xml-streams.adb
ytomino/xml-ada
b3754218d7c581fc41d7c6841ab3ccebb6766295
[ "MIT", "Unlicense" ]
null
null
null
source/xml-streams.adb
ytomino/xml-ada
b3754218d7c581fc41d7c6841ab3ccebb6766295
[ "MIT", "Unlicense" ]
null
null
null
source/xml-streams.adb
ytomino/xml-ada
b3754218d7c581fc41d7c6841ab3ccebb6766295
[ "MIT", "Unlicense" ]
null
null
null
with Ada.IO_Exceptions; with System.Address_To_Access_Conversions; with C.libxml.tree; with C.libxml.xmlIO; package body XML.Streams is use type C.libxml.tree.xmlOutputBufferPtr; use type C.libxml.xmlreader.xmlTextReaderPtr; use type C.libxml.xmlwriter.xmlTextWriterPtr; procedure memcpy (dst, src : System.Address; n : C.size_t) with Import, Convention => Intrinsic, External_Name => "__builtin_memcpy"; -- reader function Read_Handler ( context : C.void_ptr; buffer : access C.char; len : C.signed_int) return C.signed_int with Convention => C; function Read_Handler ( context : C.void_ptr; buffer : access C.char; len : C.signed_int) return C.signed_int is package Conv is new System.Address_To_Access_Conversions (Ada.Streams.Root_Stream_Type'Class); Stream : constant Conv.Object_Pointer := Conv.To_Pointer (System.Address (context)); Item : Ada.Streams.Stream_Element_Array ( 1 .. Ada.Streams.Stream_Element_Offset (len)); for Item'Address use buffer.all'Address; Last : Ada.Streams.Stream_Element_Offset; begin begin Ada.Streams.Read (Stream.all, Item, Last); exception when Ada.IO_Exceptions.End_Error => Last := 0; end; return C.signed_int (Last); end Read_Handler; -- implementation of reader function Create ( Stream : not null access Ada.Streams.Root_Stream_Type'Class; Encoding : Encoding_Type := No_Encoding; URI : String := "") return Reader is package Conv is new System.Address_To_Access_Conversions (Ada.Streams.Root_Stream_Type'Class); begin Check_Version; declare P_Encoding : C.char_const_ptr := null; P_URI : access constant C.char := null; URI_Length : constant C.size_t := URI'Length; C_URI : aliased C.char_array (0 .. URI_Length); -- NUL begin if Encoding /= null then P_Encoding := C.char_const_ptr (Encoding.name); end if; if URI'Length > 0 then memcpy (C_URI'Address, URI'Address, URI_Length); C_URI (URI_Length) := C.char'Val (0); P_URI := C_URI (C_URI'First)'Access; end if; return Result : aliased Reader do declare NC_Result : Non_Controlled_Reader renames Controlled_Readers.Reference (Result).all; begin NC_Result.Raw := C.libxml.xmlreader.xmlReaderForIO ( Read_Handler'Access, null, C.void_ptr (Conv.To_Address (Conv.Object_Pointer (Stream))), P_URI, P_Encoding, 0); if NC_Result.Raw = null then raise Use_Error; end if; Install_Error_Handler (NC_Result); end; end return; end; end Create; -- writer function Write_Handler ( context : C.void_ptr; buffer : access constant C.char; len : C.signed_int) return C.signed_int with Convention => C; function Write_Handler ( context : C.void_ptr; buffer : access constant C.char; len : C.signed_int) return C.signed_int is package Conv is new System.Address_To_Access_Conversions (Ada.Streams.Root_Stream_Type'Class); Stream : constant Conv.Object_Pointer := Conv.To_Pointer (System.Address (context)); Item : Ada.Streams.Stream_Element_Array ( 1 .. Ada.Streams.Stream_Element_Offset (len)); for Item'Address use buffer.all'Address; begin Ada.Streams.Write (Stream.all, Item); return len; end Write_Handler; -- implementation of writer function Create ( Stream : not null access Ada.Streams.Root_Stream_Type'Class; Encoding : Encoding_Type := No_Encoding) return Writer is package Conv is new System.Address_To_Access_Conversions (Ada.Streams.Root_Stream_Type'Class); begin Check_Version; declare Buffer : constant C.libxml.tree.xmlOutputBufferPtr := C.libxml.xmlIO.xmlOutputBufferCreateIO ( Write_Handler'Access, null, C.void_ptr (Conv.To_Address (Conv.Object_Pointer (Stream))), Encoding); begin if Buffer = null then raise Use_Error; end if; return Result : Writer do declare procedure Process (NC_Result : in out Non_Controlled_Writer) is begin NC_Result.Raw := C.libxml.xmlwriter.xmlNewTextWriter (Buffer); if NC_Result.Raw = null then declare Dummy : C.signed_int; begin Dummy := C.libxml.xmlIO.xmlOutputBufferClose (Buffer); end; raise Use_Error; end if; end Process; procedure Do_Create is new Controlled_Writers.Update (Process); begin Do_Create (Result); end; end return; end; end Create; end XML.Streams;
26.625
81
0.700425
2f0633b492c09686711168bfee91dcaa7dc87589
10,485
ads
Ada
src/glfw/v2/glfw-api.ads
Roldak/OpenGLAda
6807605b7321249d71286fa25231bdfd537d3eac
[ "MIT" ]
null
null
null
src/glfw/v2/glfw-api.ads
Roldak/OpenGLAda
6807605b7321249d71286fa25231bdfd537d3eac
[ "MIT" ]
null
null
null
src/glfw/v2/glfw-api.ads
Roldak/OpenGLAda
6807605b7321249d71286fa25231bdfd537d3eac
[ "MIT" ]
null
null
null
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with Glfw.Enums; with Glfw.Display; with Glfw.Events.Keys; with Glfw.Events.Mouse; with Glfw.Events.Joysticks; with Interfaces.C.Strings; with System; private package Glfw.API is type Raw_Video_Mode is array (1 .. 5) of aliased C.int; pragma Convention (C, Raw_Video_Mode); type Video_Mode_List is array (Positive range <>) of Raw_Video_Mode; pragma Convention (C, Video_Mode_List); type Window_Size_Callback is access procedure (Width, Height : C.int); type Window_Close_Callback is access function return Bool; type Window_Refresh_Callback is access procedure; type Key_Callback is access procedure (Subject : Events.Keys.Key; Action : Events.Button_State); type Character_Callback is access procedure (Unicode_Char : Events.Keys.Unicode_Character; Action : Events.Button_State); type Button_Callback is access procedure (Subject : Events.Mouse.Button; Action : Events.Button_State); type Position_Callback is access procedure (X, Y : Events.Mouse.Coordinate); type Wheel_Callback is access procedure (Pos : Events.Mouse.Wheel_Position); pragma Convention (C, Window_Size_Callback); pragma Convention (C, Window_Close_Callback); pragma Convention (C, Window_Refresh_Callback); pragma Convention (C, Key_Callback); pragma Convention (C, Character_Callback); pragma Convention (C, Button_Callback); pragma Convention (C, Position_Callback); pragma Convention (C, Wheel_Callback); function Init return C.int; pragma Import (Convention => C, Entity => Init, External_Name => "glfwInit"); procedure Glfw_Terminate; pragma Import (Convention => C, Entity => Glfw_Terminate, External_Name => "glfwTerminate"); procedure Get_Version (Major, Minor, Revision : out C.int); pragma Import (Convention => C, Entity => Get_Version, External_Name => "glfwGetVersion"); function Open_Window (Width, Height, Red_Bits, Green_Bits, Blue_Bits, Alpha_Bits, Depth_Bits, Stencil_Bits : C.int; Mode : Display.Display_Mode) return Bool; pragma Import (Convention => C, Entity => Open_Window, External_Name => "glfwOpenWindow"); procedure Open_Window_Hint (Target : Glfw.Enums.Window_Hint; Info : C.int); procedure Open_Window_Hint (Target : Glfw.Enums.Window_Hint; Info : Bool); procedure Open_Window_Hint (Target : Glfw.Enums.Window_Hint; Info : Display.OpenGL_Profile_Kind); pragma Import (Convention => C, Entity => Open_Window_Hint, External_Name => "glfwOpenWindowHint"); procedure Close_Window; pragma Import (Convention => C, Entity => Close_Window, External_Name => "glfwCloseWindow"); procedure Set_Window_Title (Title : C.Strings.chars_ptr); pragma Import (Convention => C, Entity => Set_Window_Title, External_Name => "glfwSetWindowTitle"); procedure Get_Window_Size (Width, Height : out C.int); pragma Import (Convention => C, Entity => Get_Window_Size, External_Name => "glfwGetWindowSize"); procedure Set_Window_Size (Width, Height : C.int); pragma Import (Convention => C, Entity => Set_Window_Size, External_Name => "glfwSetWindowSize"); procedure Set_Window_Pos (X, Y : C.int); pragma Import (Convention => C, Entity => Set_Window_Pos, External_Name => "glfwSetWindowPos"); procedure Iconify_Window; pragma Import (Convention => C, Entity => Iconify_Window, External_Name => "glfwIconifyWindow"); procedure Restore_Window; pragma Import (Convention => C, Entity => Restore_Window, External_Name => "glfwRestoreWindow"); procedure Swap_Buffers; pragma Import (Convention => C, Entity => Swap_Buffers, External_Name => "glfwSwapBuffers"); procedure Swap_Interval (Interval : C.int); pragma Import (Convention => C, Entity => Swap_Interval, External_Name => "glfwSwapInterval"); function Get_Window_Param (Param : Enums.Window_Info) return C.int; function Get_Window_Param (Param : Enums.Window_Info) return Bool; function Get_Window_Param (Param : Enums.Window_Info) return Display.OpenGL_Profile_Kind; pragma Import (Convention => C, Entity => Get_Window_Param, External_Name => "glfwGetWindowParam"); procedure Set_Window_Size_Callback (Cb : Window_Size_Callback); pragma Import (Convention => C, Entity => Set_Window_Size_Callback, External_Name => "glfwSetWindowSizeCallback"); procedure Set_Window_Close_Callback (Cb : Window_Close_Callback); pragma Import (Convention => C, Entity => Set_Window_Close_Callback, External_Name => "glfwSetWindowCloseCallback"); procedure Set_Window_Refresh_Callback (Cb : Window_Refresh_Callback); pragma Import (Convention => C, Entity => Set_Window_Refresh_Callback, External_Name => "glfwSetWindowCloseCallback"); function Get_Video_Modes (List : System.Address; Max_Count : C.int) return C.int; pragma Import (Convention => C, Entity => Get_Video_Modes, External_Name => "glfwGetVideoModes"); procedure Get_Desktop_Mode (Mode : access C.int); pragma Import (Convention => C, Entity => Get_Desktop_Mode, External_Name => "glfwGetDesktopMode"); procedure Poll_Events; pragma Import (Convention => C, Entity => Poll_Events, External_Name => "glfwPollEvents"); procedure Wait_Events; pragma Import (Convention => C, Entity => Wait_Events, External_Name => "glfwWaitEvents"); function Get_Key (Key : Glfw.Events.Keys.Key) return Glfw.Events.Button_State; pragma Import (Convention => C, Entity => Get_Key, External_Name => "glfwGetKey"); function Get_Mouse_Button (Button : Glfw.Events.Mouse.Button) return Glfw.Events.Button_State; pragma Import (Convention => C, Entity => Get_Mouse_Button, External_Name => "glfwGetMouseButton"); procedure Get_Mouse_Pos (XPos, YPos : out C.int); pragma Import (Convention => C, Entity => Get_Mouse_Pos, External_Name => "glfwGetMousePos"); procedure Set_Mouse_Pos (XPos, YPos : C.int); pragma Import (Convention => C, Entity => Set_Mouse_Pos, External_Name => "glfwSetMousePos"); function Get_Mouse_Wheel return Events.Mouse.Wheel_Position; pragma Import (Convention => C, Entity => Get_Mouse_Wheel, External_Name => "glfwGetMouseWheel"); procedure Set_Mouse_Wheel (Position : C.int); pragma Import (Convention => C, Entity => Set_Mouse_Wheel, External_Name => "glfwSetMouseWheel"); procedure Set_Key_Callback (CbFun : Key_Callback); pragma Import (Convention => C, Entity => Set_Key_Callback, External_Name => "glfwSetKeyCallback"); procedure Set_Char_Callback (CbFun : Character_Callback); pragma Import (Convention => C, Entity => Set_Char_Callback, External_Name => "glfwSetCharCallback"); procedure Set_Mouse_Button_Callback (CbFun : Button_Callback); pragma Import (Convention => C, Entity => Set_Mouse_Button_Callback, External_Name => "glfwSetMouseButtonCallback"); procedure Set_Mouse_Pos_Callback (CbFun : Position_Callback); pragma Import (Convention => C, Entity => Set_Mouse_Pos_Callback, External_Name => "glfwSetMousePosCallback"); procedure Set_Mouse_Wheel_Callback (CbFun : Wheel_Callback); pragma Import (Convention => C, Entity => Set_Mouse_Wheel_Callback, External_Name => "glfwSetMouseWheelCallback"); function Get_Joystick_Param (Joy : Enums.Joystick_ID; Param : Enums.Joystick_Param) return Interfaces.C.int; pragma Import (Convention => C, Entity => Get_Joystick_Param, External_Name => "glfwGetJoystickParam"); -- Pos will be modified on the C side. It should be declared -- as 'in out' but Ada 2005 forbids that. Since is works fine this -- way, we don't bother using C pointers instead that wouldn't -- make the API any clearer. function Get_Joystick_Pos (Joy : Enums.Joystick_ID; Pos : Events.Joysticks.Axis_Positions; Num_Axis : Interfaces.C.int) return Interfaces.C.int; pragma Import (Convention => C, Entity => Get_Joystick_Pos, External_Name => "glfwGetJoystickPos"); -- See comment on Get_Joystick_Pos function Get_Joystick_Buttons (Joy : Enums.Joystick_ID; Pos : Events.Button_States; Num_Buttons : Interfaces.C.int) return Interfaces.C.int; pragma Import (Convention => C, Entity => Get_Joystick_Buttons, External_Name => "glfwGetJoystickButtons"); function Get_Time return C.double; pragma Import (Convention => C, Entity => Get_Time, External_Name => "glfwGetTime"); procedure Set_Time (Value : C.double); pragma Import (Convention => C, Entity => Set_Time, External_Name => "glfwSetTime"); procedure Sleep (Time : C.double); pragma Import (Convention => C, Entity => Sleep, External_Name => "glfwSleep"); function Extension_Supported (Name : C.Strings.chars_ptr) return Bool; pragma Import (Convention => C, Entity => Extension_Supported, External_Name => "glfwExtensionSupported"); procedure Get_GL_Version (Major, Minor, Rev : out C.int); pragma Import (Convention => C, Entity => Get_GL_Version, External_Name => "glfwGetGLVersion"); procedure Enable (Target : Enums.Feature); pragma Import (Convention => C, Entity => Enable, External_Name => "glfwEnable"); procedure Disable (Target : Enums.Feature); pragma Import (Convention => C, Entity => Disable, External_Name => "glfwDisable"); end Glfw.API;
43.870293
92
0.65608
3190443564c2cec4372f2a74ed0a63eea4788930
1,216
ads
Ada
llvm-gcc-4.2-2.9/gcc/ada/a-lfwtio.ads
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
llvm-gcc-4.2-2.9/gcc/ada/a-lfwtio.ads
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-gcc-4.2-2.9/gcc/ada/a-lfwtio.ads
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . L O N G _ F L O A T _ W I D E _ T E X T _ I O -- -- -- -- S p e c -- -- -- -- This specification is adapted from the Ada Reference Manual for use with -- -- GNAT. In accordance with the copyright of that document, you can freely -- -- copy and modify this specification, provided that if you redistribute a -- -- modified version, any changes that you have made are clearly indicated. -- -- -- ------------------------------------------------------------------------------ with Ada.Wide_Text_IO; package Ada.Long_Float_Wide_Text_IO is new Ada.Wide_Text_IO.Float_IO (Long_Float);
60.8
78
0.311678
59516776f9a686a621f2b527ca59503e9c059dbc
3,474
ads
Ada
boards/MicroBit/src/microbit-display.ads
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
192
2016-06-01T18:32:04.000Z
2022-03-26T22:52:31.000Z
boards/MicroBit/src/microbit-display.ads
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
239
2016-05-26T20:02:01.000Z
2022-03-31T09:46:56.000Z
boards/MicroBit/src/microbit-display.ads
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
142
2016-06-05T08:12:20.000Z
2022-03-24T17:37:17.000Z
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016-2017, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ package MicroBit.Display is subtype Coord is Natural range 0 .. 4; procedure Set (X, Y : Coord); -- Set one pixel procedure Clear (X, Y : Coord); -- Clear one pixel procedure Clear; -- Clear all the pixels procedure Display (C : Character); -- Display a character on the screen Scroll_Text_Max_Length : constant := 128; -- Maximum length of a string displayed procedure Display (Str : String) with Pre => Str'Length <= Scroll_Text_Max_Length; -- Display a string on the screen and wait until the end of scrolling procedure Display_Async (Str : String) with Pre => Str'Length <= Scroll_Text_Max_Length; -- Start scrolling a string on the screen and return imediatly while the -- scroll animation continues in the background. procedure Shift_Left; -- Shift all the pixels to the left procedure Set_Animation_Step_Duration (Ms : Natural); -- Set the number of miliseconds between two animation steps function Animation_In_Progress return Boolean; -- Is there an animation in progress? end MicroBit.Display;
49.628571
78
0.56707
06c4aaa2cb100ed466fe17bbc4e80c7747215875
2,935
ads
Ada
source/nodes/program-nodes-others_choices.ads
optikos/oasis
9f64d46d26d964790d69f9db681c874cfb3bf96d
[ "MIT" ]
null
null
null
source/nodes/program-nodes-others_choices.ads
optikos/oasis
9f64d46d26d964790d69f9db681c874cfb3bf96d
[ "MIT" ]
null
null
null
source/nodes/program-nodes-others_choices.ads
optikos/oasis
9f64d46d26d964790d69f9db681c874cfb3bf96d
[ "MIT" ]
2
2019-09-14T23:18:50.000Z
2019-10-02T10:11:40.000Z
-- Copyright (c) 2019 Maxim Reznik <[email protected]> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Others_Choices; with Program.Element_Visitors; package Program.Nodes.Others_Choices is pragma Preelaborate; type Others_Choice is new Program.Nodes.Node and Program.Elements.Others_Choices.Others_Choice and Program.Elements.Others_Choices.Others_Choice_Text with private; function Create (Others_Token : not null Program.Lexical_Elements.Lexical_Element_Access) return Others_Choice; type Implicit_Others_Choice is new Program.Nodes.Node and Program.Elements.Others_Choices.Others_Choice with private; function Create (Is_Part_Of_Implicit : Boolean := False; Is_Part_Of_Inherited : Boolean := False; Is_Part_Of_Instance : Boolean := False) return Implicit_Others_Choice with Pre => Is_Part_Of_Implicit or Is_Part_Of_Inherited or Is_Part_Of_Instance; private type Base_Others_Choice is abstract new Program.Nodes.Node and Program.Elements.Others_Choices.Others_Choice with null record; procedure Initialize (Self : aliased in out Base_Others_Choice'Class); overriding procedure Visit (Self : not null access Base_Others_Choice; Visitor : in out Program.Element_Visitors.Element_Visitor'Class); overriding function Is_Others_Choice_Element (Self : Base_Others_Choice) return Boolean; overriding function Is_Definition_Element (Self : Base_Others_Choice) return Boolean; type Others_Choice is new Base_Others_Choice and Program.Elements.Others_Choices.Others_Choice_Text with record Others_Token : not null Program.Lexical_Elements .Lexical_Element_Access; end record; overriding function To_Others_Choice_Text (Self : aliased in out Others_Choice) return Program.Elements.Others_Choices.Others_Choice_Text_Access; overriding function Others_Token (Self : Others_Choice) return not null Program.Lexical_Elements.Lexical_Element_Access; type Implicit_Others_Choice is new Base_Others_Choice with record Is_Part_Of_Implicit : Boolean; Is_Part_Of_Inherited : Boolean; Is_Part_Of_Instance : Boolean; end record; overriding function To_Others_Choice_Text (Self : aliased in out Implicit_Others_Choice) return Program.Elements.Others_Choices.Others_Choice_Text_Access; overriding function Is_Part_Of_Implicit (Self : Implicit_Others_Choice) return Boolean; overriding function Is_Part_Of_Inherited (Self : Implicit_Others_Choice) return Boolean; overriding function Is_Part_Of_Instance (Self : Implicit_Others_Choice) return Boolean; end Program.Nodes.Others_Choices;
30.257732
77
0.737308
a1ed3506b1de4dddc7d07e9d1e89e41de5f68bca
14,480
ads
Ada
src/vulkan-math/genmatrix/vulkan-math-gendmatrix.ads
zrmyers/VulkanAda
ed8c46d923bc8936db3a5d55d36afebb928a9ede
[ "MIT" ]
1
2021-01-29T21:10:45.000Z
2021-01-29T21:10:45.000Z
src/vulkan-math/genmatrix/vulkan-math-gendmatrix.ads
zrmyers/VulkanAda
ed8c46d923bc8936db3a5d55d36afebb928a9ede
[ "MIT" ]
8
2020-04-22T14:55:20.000Z
2021-11-22T03:58:08.000Z
src/vulkan-math/genmatrix/vulkan-math-gendmatrix.ads
zrmyers/VulkanAda
ed8c46d923bc8936db3a5d55d36afebb928a9ede
[ "MIT" ]
1
2021-04-05T13:19:21.000Z
2021-04-05T13:19:21.000Z
-------------------------------------------------------------------------------- -- MIT License -- -- Copyright (c) 2020 Zane Myers -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -- copies of the Software, and to permit persons to whom the Software is -- furnished to do so, subject to the following conditions: -- -- The above copyright notice and this permission notice shall be included in all -- copies or substantial portions of the Software. -- -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -- SOFTWARE. -------------------------------------------------------------------------------- with Vulkan.Math.GenMatrix; with Vulkan.Math.GenDType; use Vulkan.Math.GenDType; -------------------------------------------------------------------------------- --< @group Vulkan Math GenMatrix -------------------------------------------------------------------------------- --< @summary --< This package provides an instantiation of a matrix for the Vkm_Double type. --< --< @description --< The Vkm_GenDMatrix type is a matrix of double precision floating point numbers --< that can have up to 4 rows and 4 columns. -------------------------------------------------------------------------------- package Vulkan.Math.GenDMatrix is pragma Preelaborate; pragma Pure; --< @private --< GDM is an instantiation of the GenMatrix package for the Vkm_Double type. package GDM is new Vulkan.Math.GenMatrix( Base_Type => Vkm_Double, Base_Vector_Type => Vkm_GenDType, x => GDT.x, y => GDT.y, z => GDT.z, w => GDT.w, Make_GenType => GDT.Make_GenType, Image => GDT.Image, Set => GDT.Component, Get => GDT.Component); --< The Vkm_GenFMatrix is a subtype of Vkm_GenMatrix from the instantiated GDM --< package. subtype Vkm_Dmat is GDM.Vkm_GenMatrix; ---------------------------------------------------------------------------- --< @summary --< Get the image of the Vkm_Dmat matrix. --< --< @param instance --< The instance of matrix to get the image of. --< --< @return --< The image of the matrix. ---------------------------------------------------------------------------- function Image (instance : in Vkm_Dmat) return String is (GDM.Image(instance)) with inline; ---------------------------------------------------------------------------- --< @summary --< Equality operator for two Vkm_Dmat2x2 matrices. --< --< @description --< Determine whether two matrices are equal. --< --< @param left --< The left operator argument. --< --< @param right --< The right operator argument. --< --< @return --< True if the two matrices are equal. Otherwise false. ---------------------------------------------------------------------------- function "=" (left, right : in Vkm_Dmat) return Vkm_Bool renames GDM.Op_Is_Equal; ---------------------------------------------------------------------------- --< @summary --< Unary plus operator for a Vkm_Dmat matrix. --< --< @description --< Return the matrix unchanged. --< --< @param right --< The value to apply the unary operator to. --< --< @return --< The result of the operator on the matrix. ---------------------------------------------------------------------------- function "+" (right : in Vkm_Dmat) return Vkm_Dmat is (right) with Inline; ---------------------------------------------------------------------------- --< @summary --< Unary minus operator for a Vkm_Dmat matrix. --< --< @description --< Return the matrix negated. ---------------------------------------------------------------------------- function "-" is new GDM.Apply_Func_IM_RM("-"); ---------------------------------------------------------------------------- --< @summary --< Unary Absolute Value operator for a Vkm_Dmat matrix. --< --< @description --< Return a matrix of the absolute values of each element of the input matrix. ---------------------------------------------------------------------------- function "abs" is new GDM.Apply_Func_IM_RM("abs"); ---------------------------------------------------------------------------- --< @summary --< Modulo operator for two Vkm_Dmat matrices. --< --< @description --< Perform Modulo component-wise on two Vkm_Dmat matrices. ---------------------------------------------------------------------------- function "mod" is new GDM.Apply_Func_IM_IM_RM("mod"); ---------------------------------------------------------------------------- --< @summary --< Modulo operator for a Vkm_Dmat matrix and a Vkm_Double value. --< --< @description --< Perform Modulo component-wise on the matrix and scalar. ---------------------------------------------------------------------------- function "mod" is new GDM.Apply_Func_IM_IS_RM("mod"); ---------------------------------------------------------------------------- --< @summary --< Modulo operator for a Vkm_Dmat matrix and a Vkm_Double value. --< --< @description --< Perform Modulo component-wise on the matrix and scalar. ---------------------------------------------------------------------------- function "mod" is new GDM.Apply_Func_IS_IM_RM("mod"); ---------------------------------------------------------------------------- --< @summary --< Power operator for two Vkm_Dmat matrices. --< --< @description --< Perform Power component-wise on two Vkm_Dmat matrices. ---------------------------------------------------------------------------- function "**" is new GDM.Apply_Func_IM_IM_RM("**"); ---------------------------------------------------------------------------- --< @summary --< Power operator for a Vkm_Dmat matrix and a Vkm_Double value. --< --< @description --< Perform Power component-wise on the matrix and scalar. ---------------------------------------------------------------------------- function "**" is new GDM.Apply_Func_IM_IS_RM("**"); ---------------------------------------------------------------------------- --< @summary --< Power operator for a Vkm_Dmat matrix and a Vkm_Double value. --< --< @description --< Perform Power component-wise on the matrix and scalar. ---------------------------------------------------------------------------- function "**" is new GDM.Apply_Func_IS_IM_RM("**"); ---------------------------------------------------------------------------- --< @summary --< Addition operator for two Vkm_Dmat matrices. --< --< @description --< Perform Addition component-wise on two Vkm_Dmat matrices. ---------------------------------------------------------------------------- function "+" is new GDM.Apply_Func_IM_IM_RM("+"); ---------------------------------------------------------------------------- --< @summary --< Addition operator for a Vkm_Dmat matrix and a Vkm_Double value. --< --< @description --< Perform Addition component-wise on the matrix and scalar. ---------------------------------------------------------------------------- function "+" is new GDM.Apply_Func_IM_IS_RM("+"); ---------------------------------------------------------------------------- --< @summary --< Addition operator for a Vkm_Dmat matrix and a Vkm_Double value. --< --< @description --< Perform Addition component-wise on the matrix and scalar. ---------------------------------------------------------------------------- function "+" is new GDM.Apply_Func_IS_IM_RM("+"); ---------------------------------------------------------------------------- --< @summary --< Subtraction operator for two Vkm_Dmat matrices. --< --< @description --< Perform Subtraction component-wise on two Vkm_Dmat matrices. ---------------------------------------------------------------------------- function "-" is new GDM.Apply_Func_IM_IM_RM("-"); ---------------------------------------------------------------------------- --< @summary --< Subtraction operator for a Vkm_Dmat matrix and a Vkm_Double value. --< --< @description --< Perform Subtraction component-wise on the matrix and scalar. ---------------------------------------------------------------------------- function "-" is new GDM.Apply_Func_IM_IS_RM("-"); ---------------------------------------------------------------------------- --< @summary --< Subtraction operator for a Vkm_Dmat matrix and a Vkm_Double value. --< --< @description --< Perform Subtraction component-wise on the matrix and scalar. ---------------------------------------------------------------------------- function "-" is new GDM.Apply_Func_IS_IM_RM("-"); ---------------------------------------------------------------------------- --< @summary --< Remainder operator for two Vkm_Dmat matrices. --< --< @description --< Perform Remainder component-wise on two Vkm_Dmat matrices. ---------------------------------------------------------------------------- function "rem" is new GDM.Apply_Func_IM_IM_RM(Vkm_Double'Remainder); ---------------------------------------------------------------------------- --< @summary --< Remainder operator for a Vkm_Dmat matrix and a Vkm_Double value. --< --< @description --< Perform Remainder component-wise on the matrix and scalar. ---------------------------------------------------------------------------- function "rem" is new GDM.Apply_Func_IM_IS_RM(Vkm_Double'Remainder); ---------------------------------------------------------------------------- --< @summary --< Remainder operator for a Vkm_Dmat matrix and a Vkm_Double value. --< --< @description --< Perform Remainder component-wise on the matrix and scalar. ---------------------------------------------------------------------------- function "rem" is new GDM.Apply_Func_IS_IM_RM(Vkm_Double'Remainder); ---------------------------------------------------------------------------- --< @summary --< Division operator for two Vkm_Dmat matrices. --< --< @description --< Perform Division component-wise on two Vkm_Dmat matrices. ---------------------------------------------------------------------------- function "/" is new GDM.Apply_Func_IM_IM_RM("/"); ---------------------------------------------------------------------------- --< @summary --< Division operator for a Vkm_Dmat matrix and a Vkm_Double value. --< --< @description --< Perform Division component-wise on the matrix and scalar. ---------------------------------------------------------------------------- function "/" is new GDM.Apply_Func_IM_IS_RM("/"); ---------------------------------------------------------------------------- --< @summary --< Division operator for a Vkm_Dmat matrix and a Vkm_Double value. --< --< @description --< Perform Division component-wise on the matrix and scalar. ---------------------------------------------------------------------------- function "/" is new GDM.Apply_Func_IS_IM_RM("/"); ---------------------------------------------------------------------------- --< @summary --< Linear Algebraic Multiplication for two Vkm_Dmat matrices. --< --< @description --< Perform Linear Algebraic Multiplication of the left Vkm_Dmat by the right --< Vkm_Dmat matrix. --< --< @param left --< The left operator argument. --< --< @param right --< The right operator argument. --< --< @return --< The result of the component-wise operator on the arguments. ---------------------------------------------------------------------------- function "*" (left, right : in Vkm_Dmat) return Vkm_Dmat renames GDM.Op_Matrix_Mult_Matrix; ---------------------------------------------------------------------------- --< @summary --< Multiplication operator for a Vkm_GenMatrix matrix and a Vkm_GenDType value. --< --< @description --< Perform Multiplication component-wise on the matrix and vector. --< --< @param left --< The matrix that is multiplied with the vector. --< --< @param right --< The vector that is multiplied by the matrix. --< --< @return --< The product of the matrix with the vector. ---------------------------------------------------------------------------- function "*" ( left : in Vkm_Dmat; right : in Vkm_GenDType ) return Vkm_GenDType renames GDM.Op_Matrix_Mult_Vector; ---------------------------------------------------------------------------- --< @summary --< Multiplication operator for a Vkm_GenMatrix matrix and a Vkm_GenDType value. --< --< @description --< Perform Multiplication component-wise on the matrix and vector. --< --< @param left --< The vector that is multiplied with the matrix. --< --< @param right --< The matrix that is multiplied by the vector. --< --< @return --< The product of the vector with the matrix. ---------------------------------------------------------------------------- function "*" ( left : in Vkm_GenDType; right : in Vkm_Dmat ) return Vkm_GenDType renames GDM.Op_Vector_Mult_Matrix; end Vulkan.Math.GenDMatrix;
38.820375
99
0.435773
10a5d0fc4fb8fe219f3025523726f96e757bdfce
8,841
adb
Ada
arch/ARM/STM32/driver_demos/demo_crc/src/demo_crc.adb
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
192
2016-06-01T18:32:04.000Z
2022-03-26T22:52:31.000Z
arch/ARM/STM32/driver_demos/demo_crc/src/demo_crc.adb
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
239
2016-05-26T20:02:01.000Z
2022-03-31T09:46:56.000Z
arch/ARM/STM32/driver_demos/demo_crc/src/demo_crc.adb
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
142
2016-06-05T08:12:20.000Z
2022-03-24T17:37:17.000Z
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- This program demonstrates use of the CRC processor on STM32F4x MCUs. (The -- STM32F3 MCUs, among others, have additional CRC capabilities.) -- The checksum for a given block of 32-bit words is calculated two ways and -- then compared. -- The checksum is first computed on the data block by calling a routine that -- transfers the block content to the CRC processor in a loop, which is to say -- that the CPU does the transfer. In the second approach, a different routine -- is called. This second routine uses DMA to transfer the data block to -- the CRC processor. Obviously for a large data block, this second approach -- is far quicker. -- The first routine includes a parameter that provides the checksum. The -- second routine does not have this output parameter since the caller will -- return before the transfer completes (in practice) and the checksum is -- computed. Hence after calling the second routine the caller blocks, -- waiting for the DMA transfer completion interrupt. -- If the two checksums are equal then the green LED is turned on, otherwise -- the red LED is turned on. Both checksum values are displayed. with Last_Chance_Handler; pragma Unreferenced (Last_Chance_Handler); with STM32.Device; use STM32.Device; with STM32.Board; use STM32.Board; with STM32.CRC; use STM32.CRC; with STM32.CRC.DMA; use STM32.CRC.DMA; with LCD_Std_Out; use LCD_Std_Out; with HAL; use HAL; with STM32.DMA; use STM32.DMA; with Ada.Real_Time; use Ada.Real_Time; with Memory_Transfer; use Memory_Transfer; with Ada.Unchecked_Conversion; with System; procedure Demo_CRC is Checksum_CPU : UInt32 := 0; -- the checksum obtained by calling a routine that uses the CPU to transfer -- the memory block to the CRC processor Checksum_DMA : UInt32 := 0; -- the checksum obtained by calling a routine that uses DMA to transfer the -- memory block to the CRC processor -- see the STM32Cube_FW_F4_V1.6.0\Projects\ CRC example for data and -- expected CRC checksum value Section1 : constant Block_32 := (16#00001021#, 16#20423063#, 16#408450A5#, 16#60C670E7#, 16#9129A14A#, 16#B16BC18C#, 16#D1ADE1CE#, 16#F1EF1231#, 16#32732252#, 16#52B54294#, 16#72F762D6#, 16#93398318#, 16#A35AD3BD#, 16#C39CF3FF#, 16#E3DE2462#, 16#34430420#, 16#64E674C7#, 16#44A45485#, 16#A56AB54B#, 16#85289509#, 16#F5CFC5AC#, 16#D58D3653#, 16#26721611#, 16#063076D7#, 16#569546B4#, 16#B75BA77A#, 16#97198738#, 16#F7DFE7FE#, 16#C7BC48C4#, 16#58E56886#, 16#78A70840#, 16#18612802#, 16#C9CCD9ED#, 16#E98EF9AF#, 16#89489969#, 16#A90AB92B#, 16#4AD47AB7#, 16#6A961A71#, 16#0A503A33#, 16#2A12DBFD#, 16#FBBFEB9E#, 16#9B798B58#, 16#BB3BAB1A#, 16#6CA67C87#, 16#5CC52C22#, 16#3C030C60#, 16#1C41EDAE#, 16#FD8FCDEC#, 16#AD2ABD0B#, 16#8D689D49#, 16#7E976EB6#, 16#5ED54EF4#, 16#2E321E51#, 16#0E70FF9F#); Section2 : constant Block_32 := (16#EFBEDFDD#, 16#CFFCBF1B#, 16#9F598F78#, 16#918881A9#, 16#B1CAA1EB#, 16#D10CC12D#, 16#E16F1080#, 16#00A130C2#, 16#20E35004#, 16#40257046#, 16#83B99398#, 16#A3FBB3DA#, 16#C33DD31C#, 16#E37FF35E#, 16#129022F3#, 16#32D24235#, 16#52146277#, 16#7256B5EA#, 16#95A88589#, 16#F56EE54F#, 16#D52CC50D#, 16#34E224C3#, 16#04817466#, 16#64475424#, 16#4405A7DB#, 16#B7FA8799#, 16#E75FF77E#, 16#C71DD73C#, 16#26D336F2#, 16#069116B0#, 16#76764615#, 16#5634D94C#, 16#C96DF90E#, 16#E92F99C8#, 16#B98AA9AB#, 16#58444865#, 16#78066827#, 16#18C008E1#, 16#28A3CB7D#, 16#DB5CEB3F#, 16#FB1E8BF9#, 16#9BD8ABBB#, 16#4A755A54#, 16#6A377A16#, 16#0AF11AD0#, 16#2AB33A92#, 16#ED0FDD6C#, 16#CD4DBDAA#, 16#AD8B9DE8#, 16#8DC97C26#, 16#5C644C45#, 16#3CA22C83#, 16#1CE00CC1#, 16#EF1FFF3E#, 16#DF7CAF9B#, 16#BFBA8FD9#, 16#9FF86E17#, 16#7E364E55#, 16#2E933EB2#, 16#0ED11EF0#); -- expected CRC value for the data above is 379E9F06 hex, or 933142278 dec Expected_Checksum : constant UInt32 := 933142278; Next_DMA_Interrupt : DMA_Interrupt; procedure Panic with No_Return; -- flash the on-board LEDs, indefinitely, to indicate a failure procedure Panic is begin loop Toggle_LEDs (All_LEDs); delay until Clock + Milliseconds (100); end loop; end Panic; begin Clear_Screen; Initialize_LEDs; Enable_Clock (CRC_Unit); -- get the checksum using the CPU to transfer memory to the CRC processor; -- verify it is the expected value Update_CRC (CRC_Unit, Input => Section1, Output => Checksum_CPU); Update_CRC (CRC_Unit, Input => Section2, Output => Checksum_CPU); Put_Line ("CRC:" & Checksum_CPU'Img); if Checksum_CPU /= Expected_Checksum then Panic; end if; -- get the checksum using DMA to transfer memory to the CRC processor Enable_Clock (Controller); Reset (Controller); Reset_Calculator (CRC_Unit); Update_CRC (CRC_Unit, Controller'Access, Stream, Input => Section1); DMA_IRQ_Handler.Await_Event (Next_DMA_Interrupt); if Next_DMA_Interrupt /= Transfer_Complete_Interrupt then Panic; end if; -- In this code fragment we use the approach suited for the case in which -- we are calculating the CRC for a section of system memory rather than a -- block of application data. We pretend that Section2 is a memory section. -- All we need is a known starting address and a known length. Given that, -- we can create a view of it as if it is an object of type Block_32 (or -- whichever block type is appropriate). declare subtype Memory_Section is Block_32 (1 .. Section2'Length); type Section_Pointer is access all Memory_Section with Storage_Size => 0; function As_Memory_Section_Reference is new Ada.Unchecked_Conversion (Source => System.Address, Target => Section_Pointer); begin Update_CRC (CRC_Unit, Controller'Access, Stream, Input => As_Memory_Section_Reference (Section2'Address).all); end; DMA_IRQ_Handler.Await_Event (Next_DMA_Interrupt); if Next_DMA_Interrupt /= Transfer_Complete_Interrupt then Panic; end if; Checksum_DMA := Value (CRC_Unit); Put_Line ("CRC:" & Checksum_DMA'Img); -- verify the two checksums are identical (one of which is already verified -- as the expected value) if Checksum_CPU = Checksum_DMA then Turn_On (Green_LED); else Turn_On (Red_LED); end if; loop delay until Time_Last; end loop; end Demo_CRC;
44.878173
88
0.650718
06e45da7add99ca8e0e94cb508ab2dfe05c58345
4,961
ads
Ada
src/natools-s_expressions-dynamic_interpreters.ads
faelys/natools
947c004e6f69ca144942c6af40e102d089223cf8
[ "0BSD" ]
null
null
null
src/natools-s_expressions-dynamic_interpreters.ads
faelys/natools
947c004e6f69ca144942c6af40e102d089223cf8
[ "0BSD" ]
null
null
null
src/natools-s_expressions-dynamic_interpreters.ads
faelys/natools
947c004e6f69ca144942c6af40e102d089223cf8
[ "0BSD" ]
null
null
null
------------------------------------------------------------------------------ -- Copyright (c) 2013-2014, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose with or without fee is hereby granted, provided that the above -- -- copyright notice and this permission notice appear in all copies. -- -- -- -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -- -- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -- -- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -- -- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -- -- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -- -- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -- -- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -- ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -- Natools.S_Expressions.Dynamic_Interpreters provides an implemntation of -- -- a dispatching command interpreter. The base list of a given S-expression -- -- is considered as list of command, either argumentless (atoms) or with a -- -- S-expression argument (sublist). Sublists that don't start with an atom -- -- are silently ignored and can be used as comments. -- -- -- -- Formal types represent common objets for all the command, Shared_State -- -- begin read/write while Shared_Context is read-only. -- ------------------------------------------------------------------------------ with Natools.S_Expressions.Lockable; private with Ada.Containers.Indefinite_Ordered_Maps; private with Natools.S_Expressions.Atom_Refs; generic type Shared_State (<>) is limited private; type Shared_Context (<>) is limited private; package Natools.S_Expressions.Dynamic_Interpreters is pragma Preelaborate (Dynamic_Interpreters); Command_Not_Found : exception; type Command is interface; procedure Execute (Self : in out Command; State : in out Shared_State; Context : in Shared_Context; Name : in Atom) is null; -- Execute a single argumentless command procedure Execute (Self : in out Command; State : in out Shared_State; Context : in Shared_Context; Cmd : in out Lockable.Descriptor'Class) is null; -- Execute a single command with arguments type Null_Command is new Command with null record; Do_Nothing : Null_Command := Null_Command'(null record); type Interpreter is new Command with private; pragma Preelaborable_Initialization (Interpreter); procedure Add_Command (Self : in out Interpreter; Name : in Atom; Cmd : in Command'Class); procedure Add (Self : in out Interpreter; Name : in String; Cmd : in Command'Class); function Has_Command (Self : Interpreter; Name : Atom) return Boolean; function Is_Empty (Self : Interpreter) return Boolean; procedure Set_Fallback (Self : in out Interpreter; Name : in Atom); procedure Reset_Fallback (Self : in out Interpreter); not overriding procedure Execute (Self : in out Interpreter; Expression : in out Lockable.Descriptor'Class; State : in out Shared_State; Context : in Shared_Context); -- Execute an expression, raising Command_Not_Found on unknown commands not overriding procedure Execute (Self : in out Interpreter; Fallback : in out Command'Class; Expression : in out Lockable.Descriptor'Class; State : in out Shared_State; Context : in Shared_Context); -- Execute an expression with temporary fallback for unknown commands overriding procedure Execute (Self : in out Interpreter; State : in out Shared_State; Context : in Shared_Context; Name : in Atom); -- Execute a single argumentless command overriding procedure Execute (Self : in out Interpreter; State : in out Shared_State; Context : in Shared_Context; Cmd : in out Lockable.Descriptor'Class); -- Execute a single command with arguments private type Exception_Command is new Command with null record; package Command_Maps is new Ada.Containers.Indefinite_Ordered_Maps (Atom, Command'Class, Less_Than); type Interpreter is new Command with record Commands : Command_Maps.Map; Max_Length : Count := 0; Fallback_Name : Atom_Refs.Reference; end record; end Natools.S_Expressions.Dynamic_Interpreters;
37.022388
78
0.617617
fbd491bf456d89087f58dea36b3dcc152e5d5f2a
3,720
adb
Ada
src/base/commands/util-commands-parsers-gnat_parser.adb
jquorning/ada-util
84314f66853ae5a3afe41b62a02eaeb65931cad7
[ "Apache-2.0" ]
60
2015-01-18T23:05:34.000Z
2022-03-20T18:56:30.000Z
src/base/commands/util-commands-parsers-gnat_parser.adb
jquorning/ada-util
84314f66853ae5a3afe41b62a02eaeb65931cad7
[ "Apache-2.0" ]
20
2016-09-15T16:41:30.000Z
2022-03-29T22:02:32.000Z
src/base/commands/util-commands-parsers-gnat_parser.adb
jquorning/ada-util
84314f66853ae5a3afe41b62a02eaeb65931cad7
[ "Apache-2.0" ]
10
2015-02-13T04:00:45.000Z
2022-03-20T18:57:54.000Z
----------------------------------------------------------------------- -- util-commands-parsers.gnat_parser -- GNAT command line parser for command drivers -- Copyright (C) 2018, 2019, 2021 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with GNAT.OS_Lib; package body Util.Commands.Parsers.GNAT_Parser is function To_OS_Lib_Argument_List (Args : in Argument_List'Class) return GNAT.OS_Lib.Argument_List_Access; function To_OS_Lib_Argument_List (Args : in Argument_List'Class) return GNAT.OS_Lib.Argument_List_Access is Count : constant Natural := Args.Get_Count; New_Arg : GNAT.OS_Lib.Argument_List (1 .. Count); begin for I in 1 .. Count loop New_Arg (I) := new String '(Args.Get_Argument (I)); end loop; return new GNAT.OS_Lib.Argument_List '(New_Arg); end To_OS_Lib_Argument_List; -- ------------------------------ -- Get all the remaining arguments from the GNAT command line parse. -- ------------------------------ procedure Get_Arguments (List : in out Dynamic_Argument_List; Command : in String; Parser : in GC.Opt_Parser := GC.Command_Line_Parser) is begin List.Name := Ada.Strings.Unbounded.To_Unbounded_String (Command); loop declare S : constant String := GC.Get_Argument (Parser => Parser); begin exit when S'Length = 0; List.List.Append (S); end; end loop; end Get_Arguments; procedure Execute (Config : in out Config_Type; Args : in Util.Commands.Argument_List'Class; Process : not null access procedure (Cmd_Args : in Commands.Argument_List'Class)) is use type GC.Command_Line_Configuration; Empty : Config_Type; begin if Config /= Empty then declare Parser : GC.Opt_Parser; Cmd_Args : Dynamic_Argument_List; Params : GNAT.OS_Lib.Argument_List_Access := To_OS_Lib_Argument_List (Args); begin GC.Initialize_Option_Scan (Parser, Params); GC.Getopt (Config => Config, Parser => Parser); Get_Arguments (Cmd_Args, Args.Get_Command_Name, Parser); Process (Cmd_Args); GC.Free (Config); GNAT.OS_Lib.Free (Params); exception when others => GNAT.OS_Lib.Free (Params); GC.Free (Config); raise; end; else Process (Args); end if; end Execute; procedure Usage (Name : in String; Config : in out Config_Type) is Opts : constant String := GC.Get_Switches (Config); begin if Opts'Length > 0 then GC.Set_Usage (Config, Usage => Name & " [switches] [arguments]"); GC.Display_Help (Config); end if; end Usage; end Util.Commands.Parsers.GNAT_Parser;
37.959184
85
0.576344
2f355a48a1d7e9e3dfefd641e7c1bf529ac04c1e
916
ads
Ada
src/gdb/gdb-8.3/gdb/testsuite/gdb.ada/aliased_array/pck.ads
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
31
2018-08-01T21:25:24.000Z
2022-02-14T07:52:34.000Z
src/gdb/gdb-8.3/gdb/testsuite/gdb.ada/aliased_array/pck.ads
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
40
2018-12-03T19:48:52.000Z
2021-03-10T06:34:26.000Z
src/gdb/gdb-8.3/gdb/testsuite/gdb.ada/aliased_array/pck.ads
alrooney/unum-sdk
bbccb10b0cd3500feccbbef22e27ea111c3d18eb
[ "Apache-2.0" ]
20
2018-11-16T21:19:22.000Z
2021-10-18T23:08:24.000Z
-- Copyright 2012-2019 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with System; package Pck is type Bounded is array (Integer range <>) of Integer; function New_Bounded (Low, High : Integer) return Bounded; procedure Do_Nothing (A : System.Address); end Pck;
41.636364
73
0.735808
06255288c47977089940869a2692ec1f7be64e59
903
adb
Ada
src/utilities/point.adb
SKNZ/BoiteMaker
882542c7c2b6087a200165f950bd685dcf7ff836
[ "BSD-3-Clause" ]
null
null
null
src/utilities/point.adb
SKNZ/BoiteMaker
882542c7c2b6087a200165f950bd685dcf7ff836
[ "BSD-3-Clause" ]
null
null
null
src/utilities/point.adb
SKNZ/BoiteMaker
882542c7c2b6087a200165f950bd685dcf7ff836
[ "BSD-3-Clause" ]
null
null
null
package body point is function to_string (point : point_t) return string is begin return "[ " & float'image(point.x) & ", " & float'image(point.y) & " ]"; end; -- Fonction permettant l'incrémentation de la coordonnée x d'un point procedure mv_x(point : in out point_t; delta_x : float) is begin if point.x + delta_x < 0.0 then raise invalid_pos with "x=" & float'image(point.x) & " + " & float'image(delta_x) & " < 0"; end if; point.x := point.x + delta_x; end; -- Fonction permettant l'incrémentation de la coordonnée y d'un point procedure mv_y(point : in out point_t; delta_y : float) is begin if point.y + delta_y < 0.0 then raise invalid_pos with "y=" & float'image(point.y) & " + " & float'image(delta_y) & " < 0"; end if; point.y := point.y + delta_y; end; end point;
33.444444
103
0.58804
12302ccce7a2b72b2227463a7a8e49c2d617371b
12,656
adb
Ada
source/league/codecs/matreshka-internals-text_codecs-windows1252.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
24
2016-11-29T06:59:41.000Z
2021-08-30T11:55:16.000Z
source/league/codecs/matreshka-internals-text_codecs-windows1252.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
2
2019-01-16T05:15:20.000Z
2019-02-03T10:03:32.000Z
source/league/codecs/matreshka-internals-text_codecs-windows1252.adb
svn2github/matreshka
9d222b3ad9da508855fb1f5adbe5e8a4fad4c530
[ "BSD-3-Clause" ]
4
2017-07-18T07:11:05.000Z
2020-06-21T03:02:25.000Z
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <[email protected]> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ with Matreshka.Internals.Strings.Configuration; with Matreshka.Internals.Unicode.Characters.Latin; with Matreshka.Internals.Utf16; package body Matreshka.Internals.Text_Codecs.Windows1252 is use Matreshka.Internals.Strings.Configuration; use Matreshka.Internals.Unicode.Characters.Latin; use type Matreshka.Internals.Unicode.Code_Unit_32; use type Matreshka.Internals.Utf16.Utf16_String_Index; Decode_Table : constant array (Ada.Streams.Stream_Element range 16#80# .. 16#9F#) of Matreshka.Internals.Unicode.Code_Point := (16#80# => 16#20AC#, -- EURO SIGN 16#81# => Question_Mark, 16#82# => 16#201A#, -- SINGLE LOW-9 QUOTATION MARK 16#83# => 16#0192#, -- LATIN SMALL LETTER F WITH HOOK 16#84# => 16#201E#, -- DOUBLE LOW-9 QUOTATION MARK 16#85# => 16#2026#, -- HORIZONTAL ELLIPSIS 16#86# => 16#2020#, -- DAGGER 16#87# => 16#2021#, -- DOUBLE DAGGER 16#88# => 16#02C6#, -- MODIFIER LETTER CIRCUMFLEX ACCENT 16#89# => 16#2030#, -- PER MILLE SIGN 16#8A# => 16#0160#, -- LATIN CAPITAL LETTER S WITH CARON 16#8B# => 16#2039#, -- SINGLE LEFT-POINTING ANGLE QUOTATION -- MARK 16#8C# => 16#0152#, -- LATIN CAPITAL LIGATURE OE 16#8D# => Question_Mark, 16#8E# => 16#017D#, -- LATIN CAPITAL LETTER Z WITH CARON 16#8F# => Question_Mark, 16#90# => Question_Mark, 16#91# => 16#2018#, -- LEFT SINGLE QUOTATION MARK 16#92# => 16#2019#, -- RIGHT SINGLE QUOTATION MARK 16#93# => 16#201C#, -- LEFT DOUBLE QUOTATION MARK 16#94# => 16#201D#, -- RIGHT DOUBLE QUOTATION MARK 16#95# => 16#2022#, -- BULLET 16#96# => 16#2013#, -- EN DASH 16#97# => 16#2014#, -- EM DASH 16#98# => 16#02DC#, -- SMALL TILDE 16#99# => 16#2122#, -- TRADE MARK SIGN 16#9A# => 16#0161#, -- LATIN SMALL LETTER S WITH CARON 16#9B# => 16#203A#, -- SINGLE RIGHT-POINTING ANGLE QUOTATION -- MARK 16#9C# => 16#0153#, -- LATIN SMALL LIGATURE OE 16#9D# => Question_Mark, 16#9E# => 16#017E#, -- LATIN SMALL LETTER Z WITH CARON 16#9F# => 16#0178#); -- LATIN CAPITAL LETTER Y WITH DIAERESIS Encode_Table_01 : constant array (Matreshka.Internals.Unicode.Code_Point range 16#0152# .. 16#0192#) of Ada.Streams.Stream_Element := (16#0152# => 16#8C#, -- LATIN CAPITAL LIGATURE OE 16#0153# => 16#9C#, -- LATIN SMALL LIGATURE OE 16#0160# => 16#8A#, -- LATIN CAPITAL LETTER S WITH CARON 16#0161# => 16#9A#, -- LATIN SMALL LETTER S WITH CARON 16#0178# => 16#9F#, -- LATIN CAPITAL LETTER Y WITH DIAERESIS 16#017D# => 16#8E#, -- LATIN CAPITAL LETTER Z WITH CARON 16#017E# => 16#9E#, -- LATIN SMALL LETTER Z WITH CARON 16#0192# => 16#83#, -- LATIN SMALL LETTER F WITH HOOK others => Question_Mark); Encode_Table_20 : constant array (Matreshka.Internals.Unicode.Code_Point range 16#2013# .. 16#203A#) of Ada.Streams.Stream_Element := (16#2013# => 16#96#, -- EN DASH 16#2014# => 16#97#, -- EM DASH 16#2018# => 16#91#, -- LEFT SINGLE QUOTATION MARK 16#2019# => 16#92#, -- RIGHT SINGLE QUOTATION MARK 16#201A# => 16#82#, -- SINGLE LOW-9 QUOTATION MARK 16#201C# => 16#93#, -- LEFT DOUBLE QUOTATION MARK 16#201D# => 16#94#, -- RIGHT DOUBLE QUOTATION MARK 16#201E# => 16#84#, -- DOUBLE LOW-9 QUOTATION MARK 16#2020# => 16#86#, -- DAGGER 16#2021# => 16#87#, -- DOUBLE DAGGER 16#2022# => 16#95#, -- BULLET 16#2026# => 16#85#, -- HORIZONTAL ELLIPSIS 16#2030# => 16#89#, -- PER MILLE SIGN 16#2039# => 16#8B#, -- SINGLE LEFT-POINTING ANGLE QUOTATION -- MARK 16#203A# => 16#9B#, -- SINGLE RIGHT-POINTING ANGLE QUOTATION -- MARK others => Question_Mark); ------------------- -- Decode_Append -- ------------------- overriding procedure Decode_Append (Self : in out Windows1252_Decoder; Data : Ada.Streams.Stream_Element_Array; String : in out Matreshka.Internals.Strings.Shared_String_Access) is begin Matreshka.Internals.Strings.Mutate (String, String.Unused + Data'Length); for J in Data'Range loop case Data (J) is when 16#00# .. 16#7F# => -- Directly mapped. Self.Unchecked_Append (Self, String, Matreshka.Internals.Unicode.Code_Point (Data (J))); when 16#80# .. 16#9F# => -- Table translated. Self.Unchecked_Append (Self, String, Decode_Table (Data (J))); when 16#A0# .. 16#FF# => -- Directly mapped. Self.Unchecked_Append (Self, String, Matreshka.Internals.Unicode.Code_Point (Data (J))); end case; end loop; String_Handler.Fill_Null_Terminator (String); end Decode_Append; ------------- -- Decoder -- ------------- function Decoder (Mode : Decoder_Mode) return Abstract_Decoder'Class is begin case Mode is when Raw => return Windows1252_Decoder' (Skip_LF => False, Unchecked_Append => Unchecked_Append_Raw'Access); when XML_1_0 => return Windows1252_Decoder' (Skip_LF => False, Unchecked_Append => Unchecked_Append_XML10'Access); when XML_1_1 => return Windows1252_Decoder' (Skip_LF => False, Unchecked_Append => Unchecked_Append_XML11'Access); end case; end Decoder; ------------ -- Encode -- ------------ overriding procedure Encode (Self : in out Windows1252_Encoder; String : not null Matreshka.Internals.Strings.Shared_String_Access; Buffer : out MISEV.Shared_Stream_Element_Vector_Access) is pragma Unreferenced (Self); use Matreshka.Internals.Stream_Element_Vectors; use Ada.Streams; Code : Matreshka.Internals.Unicode.Code_Point; Position : Matreshka.Internals.Utf16.Utf16_String_Index := 0; Element : Ada.Streams.Stream_Element; begin if String.Unused = 0 then Buffer := Empty_Shared_Stream_Element_Vector'Access; else Buffer := Allocate (Ada.Streams.Stream_Element_Offset (String.Unused)); while Position < String.Unused loop Matreshka.Internals.Utf16.Unchecked_Next (String.Value, Position, Code); if Code in 16#0000# .. 16#007F# then -- Direct mapping. Element := Stream_Element (Code); elsif Code in 16#00A0# .. 16#00FF# then -- Direct mapping. Element := Stream_Element (Code); elsif Code in Encode_Table_01'Range then -- Table translation, range 0152 .. 0192. Element := Encode_Table_01 (Code); elsif Code in Encode_Table_20'Range then -- Table translation, range 2013 .. 203A. Element := Encode_Table_20 (Code); elsif Code = 16#02C6# then -- 16#02C6# => 16#88# -- MODIFIER LETTER CIRCUMFLEX ACCENT Element := 16#88#; elsif Code = 16#02DC# then -- 16#02DC# => 16#98# -- SMALL TILDE Element := 16#98#; elsif Code = 16#20AC# then -- 16#20AC# => 16#80# -- EURO SIGN Element := 16#80#; elsif Code = 16#2122# then -- 16#2122# => 16#99# -- TRADE MARK SIGN Element := 16#99#; else Element := Question_Mark; end if; Buffer.Value (Buffer.Length) := Element; Buffer.Length := Buffer.Length + 1; end loop; end if; end Encode; ------------- -- Encoder -- ------------- function Encoder return Abstract_Encoder'Class is begin return Windows1252_Encoder'(null record); end Encoder; -------------- -- Is_Error -- -------------- overriding function Is_Error (Self : Windows1252_Decoder) return Boolean is pragma Unreferenced (Self); begin return False; end Is_Error; ------------------- -- Is_Mailformed -- ------------------- overriding function Is_Mailformed (Self : Windows1252_Decoder) return Boolean is pragma Unreferenced (Self); begin return False; end Is_Mailformed; end Matreshka.Internals.Text_Codecs.Windows1252;
40.957929
79
0.491704
202297d5732fd08e7ea448bf84887d51697ef997
8,523
ads
Ada
gcc-gcc-7_3_0-release/gcc/ada/g-socthi-mingw.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/ada/g-socthi-mingw.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/ada/g-socthi-mingw.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- G N A T . S O C K E T S . T H I N -- -- -- -- S p e c -- -- -- -- Copyright (C) 2001-2013, AdaCore -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package provides a target dependent thin interface to the sockets -- layer for use by the GNAT.Sockets package (g-socket.ads). This package -- should not be directly with'ed by an applications program. -- This version is for NT with Interfaces.C; with GNAT.Sockets.Thin_Common; with System; with System.CRTL; package GNAT.Sockets.Thin is use Thin_Common; package C renames Interfaces.C; use type System.CRTL.ssize_t; function Socket_Errno return Integer; -- Returns last socket error number procedure Set_Socket_Errno (Errno : Integer); -- Set last socket error number function Socket_Error_Message (Errno : Integer) return String; -- Returns the error message string for the error number Errno. If Errno is -- not known, returns "Unknown system error". function Host_Errno return Integer; pragma Import (C, Host_Errno, "__gnat_get_h_errno"); -- Returns last host error number package Host_Error_Messages is function Host_Error_Message (H_Errno : Integer) return String; -- Returns the error message string for the host error number H_Errno. -- If H_Errno is not known, returns "Unknown system error". end Host_Error_Messages; -------------------------------- -- Standard library functions -- -------------------------------- function C_Accept (S : C.int; Addr : System.Address; Addrlen : not null access C.int) return C.int; function C_Bind (S : C.int; Name : System.Address; Namelen : C.int) return C.int; function C_Close (Fd : C.int) return C.int; function C_Connect (S : C.int; Name : System.Address; Namelen : C.int) return C.int; function C_Gethostname (Name : System.Address; Namelen : C.int) return C.int; function C_Getpeername (S : C.int; Name : System.Address; Namelen : not null access C.int) return C.int; function C_Getsockname (S : C.int; Name : System.Address; Namelen : not null access C.int) return C.int; function C_Getsockopt (S : C.int; Level : C.int; Optname : C.int; Optval : System.Address; Optlen : not null access C.int) return C.int; function Socket_Ioctl (S : C.int; Req : SOSC.IOCTL_Req_T; Arg : access C.int) return C.int; function C_Listen (S : C.int; Backlog : C.int) return C.int; function C_Recv (S : C.int; Msg : System.Address; Len : C.int; Flags : C.int) return C.int; function C_Recvfrom (S : C.int; Msg : System.Address; Len : C.int; Flags : C.int; From : System.Address; Fromlen : not null access C.int) return C.int; function C_Recvmsg (S : C.int; Msg : System.Address; Flags : C.int) return System.CRTL.ssize_t; function C_Select (Nfds : C.int; Readfds : access Fd_Set; Writefds : access Fd_Set; Exceptfds : access Fd_Set; Timeout : Timeval_Access) return C.int; function C_Sendmsg (S : C.int; Msg : System.Address; Flags : C.int) return System.CRTL.ssize_t; function C_Sendto (S : C.int; Msg : System.Address; Len : C.int; Flags : C.int; To : System.Address; Tolen : C.int) return C.int; function C_Setsockopt (S : C.int; Level : C.int; Optname : C.int; Optval : System.Address; Optlen : C.int) return C.int; function C_Shutdown (S : C.int; How : C.int) return C.int; function C_Socket (Domain : C.int; Typ : C.int; Protocol : C.int) return C.int; function C_System (Command : System.Address) return C.int; function WSAStartup (WS_Version : Interfaces.C.unsigned_short; WSADataAddress : System.Address) return Interfaces.C.int; ------------------------------------------------------- -- Signalling file descriptors for selector abortion -- ------------------------------------------------------- package Signalling_Fds is function Create (Fds : not null access Fd_Pair) return C.int; pragma Convention (C, Create); -- Create a pair of connected descriptors suitable for use with C_Select -- (used for signalling in Selector objects). function Read (Rsig : C.int) return C.int; pragma Convention (C, Read); -- Read one byte of data from rsig, the read end of a pair of signalling -- fds created by Create_Signalling_Fds. function Write (Wsig : C.int) return C.int; pragma Convention (C, Write); -- Write one byte of data to wsig, the write end of a pair of signalling -- fds created by Create_Signalling_Fds. procedure Close (Sig : C.int); pragma Convention (C, Close); -- Close one end of a pair of signalling fds (ignoring any error) end Signalling_Fds; procedure WSACleanup; procedure Initialize; procedure Finalize; private pragma Import (Stdcall, C_Accept, "accept"); pragma Import (Stdcall, C_Bind, "bind"); pragma Import (Stdcall, C_Close, "closesocket"); pragma Import (Stdcall, C_Gethostname, "gethostname"); pragma Import (Stdcall, C_Getpeername, "getpeername"); pragma Import (Stdcall, C_Getsockname, "getsockname"); pragma Import (Stdcall, C_Getsockopt, "getsockopt"); pragma Import (Stdcall, C_Listen, "listen"); pragma Import (Stdcall, C_Recv, "recv"); pragma Import (Stdcall, C_Recvfrom, "recvfrom"); pragma Import (Stdcall, C_Sendto, "sendto"); pragma Import (Stdcall, C_Setsockopt, "setsockopt"); pragma Import (Stdcall, C_Shutdown, "shutdown"); pragma Import (Stdcall, C_Socket, "socket"); pragma Import (C, C_System, "_system"); pragma Import (Stdcall, Socket_Errno, "WSAGetLastError"); pragma Import (Stdcall, Set_Socket_Errno, "WSASetLastError"); pragma Import (Stdcall, WSAStartup, "WSAStartup"); pragma Import (Stdcall, WSACleanup, "WSACleanup"); end GNAT.Sockets.Thin;
35.074074
79
0.546287
06bd958aedbb91e6aadf83155996837f637b7646
186
adb
Ada
tests/unit_tests/jsa-tests-run.adb
sparre/JSA
713a8244bcd85d86f14a58b3a94ba72c4d4382c0
[ "ISC" ]
1
2018-12-17T14:35:33.000Z
2018-12-17T14:35:33.000Z
tests/unit_tests/jsa-tests-run.adb
sparre/JSA
713a8244bcd85d86f14a58b3a94ba72c4d4382c0
[ "ISC" ]
null
null
null
tests/unit_tests/jsa-tests-run.adb
sparre/JSA
713a8244bcd85d86f14a58b3a94ba72c4d4382c0
[ "ISC" ]
null
null
null
with Ahven.Framework, Ahven.Text_Runner; procedure JSA.Tests.Run is Suite : Ahven.Framework.Test_Suite := Tests.Suite; begin Ahven.Text_Runner.Run (Suite); end JSA.Tests.Run;
18.6
53
0.741935
1d247aac51a4cda42ccbc5addd8d93d4d10354f2
28,026
ads
Ada
gcc-gcc-7_3_0-release/gcc/ada/a-tags.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/ada/a-tags.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/ada/a-tags.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . T A G S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2015, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- -- apply solely to the contents of the part following the private keyword. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- For performance analysis, take into account that the operations in this -- package provide the guarantee that all dispatching calls on primitive -- operations of tagged types and interfaces take constant time (in terms -- of source lines executed), that is to say, the cost of these calls is -- independent of the number of primitives of the type or interface, and -- independent of the number of ancestors or interface progenitors that a -- tagged type may have. -- The following subprograms of the public part of this package take constant -- time (in terms of source lines executed): -- Expanded_Name, Wide_Expanded_Name, Wide_Wide_Expanded_Name, External_Tag, -- Is_Descendant_At_Same_Level, Parent_Tag, Type_Is_Abstract -- Descendant_Tag (when used with a library-level tagged type), -- Internal_Tag (when used with a library-level tagged type). -- The following subprograms of the public part of this package execute in -- time that is not constant (in terms of sources line executed): -- Internal_Tag (when used with a locally defined tagged type), because in -- such cases this routine processes the external tag, extracts from it an -- address available there, and converts it into the tag value returned by -- this function. The number of instructions executed is not constant since -- it depends on the length of the external tag string. -- Descendant_Tag (when used with a locally defined tagged type), because -- it relies on the subprogram Internal_Tag() to provide its functionality. -- Interface_Ancestor_Tags, because this function returns a table whose -- length depends on the number of interfaces covered by a tagged type. with System.Storage_Elements; package Ada.Tags is pragma Preelaborate; -- In accordance with Ada 2005 AI-362 type Tag is private; pragma Preelaborable_Initialization (Tag); No_Tag : constant Tag; function Expanded_Name (T : Tag) return String; function Wide_Expanded_Name (T : Tag) return Wide_String; pragma Ada_05 (Wide_Expanded_Name); function Wide_Wide_Expanded_Name (T : Tag) return Wide_Wide_String; pragma Ada_05 (Wide_Wide_Expanded_Name); function External_Tag (T : Tag) return String; function Internal_Tag (External : String) return Tag; function Descendant_Tag (External : String; Ancestor : Tag) return Tag; pragma Ada_05 (Descendant_Tag); function Is_Descendant_At_Same_Level (Descendant : Tag; Ancestor : Tag) return Boolean; pragma Ada_05 (Is_Descendant_At_Same_Level); function Parent_Tag (T : Tag) return Tag; pragma Ada_05 (Parent_Tag); type Tag_Array is array (Positive range <>) of Tag; function Interface_Ancestor_Tags (T : Tag) return Tag_Array; pragma Ada_05 (Interface_Ancestor_Tags); function Type_Is_Abstract (T : Tag) return Boolean; pragma Ada_2012 (Type_Is_Abstract); Tag_Error : exception; private -- Structure of the GNAT Primary Dispatch Table -- +--------------------+ -- | Signature | -- +--------------------+ -- | Tagged_Kind | -- +--------------------+ Predef Prims -- | Predef_Prims -----------------------------> +------------+ -- +--------------------+ | table of | -- | Offset_To_Top | | predefined | -- +--------------------+ | primitives | -- |Typeinfo_Ptr/TSD_Ptr---> Type Specific Data +------------+ -- Tag ---> +--------------------+ +-------------------+ -- | table of | | inheritance depth | -- : primitive ops : +-------------------+ -- | pointers | | access level | -- +--------------------+ +-------------------+ -- | alignment | -- +-------------------+ -- | expanded name | -- +-------------------+ -- | external tag | -- +-------------------+ -- | hash table link | -- +-------------------+ -- | transportable | -- +-------------------+ -- | type_is_abstract | -- +-------------------+ -- | needs finalization| -- +-------------------+ -- | Ifaces_Table ---> Interface Data -- +-------------------+ +------------+ -- Select Specific Data <---- SSD | | Nb_Ifaces | -- +------------------+ +-------------------+ +------------+ -- |table of primitive| | table of | | table | -- : operation : : ancestor : : of : -- | kinds | | tags | | interfaces | -- +------------------+ +-------------------+ +------------+ -- |table of | -- : entry : -- | indexes | -- +------------------+ -- Structure of the GNAT Secondary Dispatch Table -- +--------------------+ -- | Signature | -- +--------------------+ -- | Tagged_Kind | -- +--------------------+ Predef Prims -- | Predef_Prims -----------------------------> +------------+ -- +--------------------+ | table of | -- | Offset_To_Top | | predefined | -- +--------------------+ | primitives | -- | OSD_Ptr |---> Object Specific Data | thunks | -- Tag ---> +--------------------+ +---------------+ +------------+ -- | table of | | num prim ops | -- : primitive op : +---------------+ -- | thunk pointers | | table of | -- +--------------------+ + primitive | -- | op offsets | -- +---------------+ -- The runtime information kept for each tagged type is separated into two -- objects: the Dispatch Table and the Type Specific Data record. package SSE renames System.Storage_Elements; subtype Cstring is String (Positive); type Cstring_Ptr is access all Cstring; pragma No_Strict_Aliasing (Cstring_Ptr); -- Declarations for the table of interfaces type Offset_To_Top_Function_Ptr is access function (This : System.Address) return SSE.Storage_Offset; -- Type definition used to call the function that is generated by the -- expander in case of tagged types with discriminants that have secondary -- dispatch tables. This function provides the Offset_To_Top value in this -- specific case. type Interface_Data_Element is record Iface_Tag : Tag; Static_Offset_To_Top : Boolean; Offset_To_Top_Value : SSE.Storage_Offset; Offset_To_Top_Func : Offset_To_Top_Function_Ptr; Secondary_DT : Tag; end record; -- If some ancestor of the tagged type has discriminants the field -- Static_Offset_To_Top is False and the field Offset_To_Top_Func -- is used to store the access to the function generated by the -- expander which provides this value; otherwise Static_Offset_To_Top -- is True and such value is stored in the Offset_To_Top_Value field. -- Secondary_DT references a secondary dispatch table whose contents -- are pointers to the primitives of the tagged type that cover the -- interface primitives. Secondary_DT gives support to dispatching -- calls through interface types associated with Generic Dispatching -- Constructors. type Interfaces_Array is array (Natural range <>) of Interface_Data_Element; type Interface_Data (Nb_Ifaces : Positive) is record Ifaces_Table : Interfaces_Array (1 .. Nb_Ifaces); end record; type Interface_Data_Ptr is access all Interface_Data; -- Table of abstract interfaces used to give support to backward interface -- conversions and also to IW_Membership. -- Primitive operation kinds. These values differentiate the kinds of -- callable entities stored in the dispatch table. Certain kinds may -- not be used, but are added for completeness. type Prim_Op_Kind is (POK_Function, POK_Procedure, POK_Protected_Entry, POK_Protected_Function, POK_Protected_Procedure, POK_Task_Entry, POK_Task_Function, POK_Task_Procedure); -- Select specific data types type Select_Specific_Data_Element is record Index : Positive; Kind : Prim_Op_Kind; end record; type Select_Specific_Data_Array is array (Positive range <>) of Select_Specific_Data_Element; type Select_Specific_Data (Nb_Prim : Positive) is record SSD_Table : Select_Specific_Data_Array (1 .. Nb_Prim); -- NOTE: Nb_Prim is the number of non-predefined primitive operations end record; type Select_Specific_Data_Ptr is access all Select_Specific_Data; -- A table used to store the primitive operation kind and entry index of -- primitive subprograms of a type that implements a limited interface. -- The Select Specific Data table resides in the Type Specific Data of a -- type. This construct is used in the handling of dispatching triggers -- in select statements. type Prim_Ptr is access procedure; type Address_Array is array (Positive range <>) of Prim_Ptr; subtype Dispatch_Table is Address_Array (1 .. 1); -- Used by GDB to identify the _tags and traverse the run-time structure -- associated with tagged types. For compatibility with older versions of -- gdb, its name must not be changed. type Tag is access all Dispatch_Table; pragma No_Strict_Aliasing (Tag); type Interface_Tag is access all Dispatch_Table; No_Tag : constant Tag := null; -- The expander ensures that Tag objects reference the Prims_Ptr component -- of the wrapper. type Tag_Ptr is access all Tag; pragma No_Strict_Aliasing (Tag_Ptr); type Offset_To_Top_Ptr is access all SSE.Storage_Offset; pragma No_Strict_Aliasing (Offset_To_Top_Ptr); type Tag_Table is array (Natural range <>) of Tag; type Size_Ptr is access function (A : System.Address) return Long_Long_Integer; type Type_Specific_Data (Idepth : Natural) is record -- The discriminant Idepth is the Inheritance Depth Level: Used to -- implement the membership test associated with single inheritance of -- tagged types in constant-time. It also indicates the size of the -- Tags_Table component. Access_Level : Natural; -- Accessibility level required to give support to Ada 2005 nested type -- extensions. This feature allows safe nested type extensions by -- shifting the accessibility checks to certain operations, rather than -- being enforced at the type declaration. In particular, by performing -- run-time accessibility checks on class-wide allocators, class-wide -- function return, and class-wide stream I/O, the danger of objects -- outliving their type declaration can be eliminated (Ada 2005: AI-344) Alignment : Natural; Expanded_Name : Cstring_Ptr; External_Tag : Cstring_Ptr; HT_Link : Tag_Ptr; -- Components used to support to the Ada.Tags subprograms in RM 3.9 -- Note: Expanded_Name is referenced by GDB to determine the actual name -- of the tagged type. Its requirements are: 1) it must have this exact -- name, and 2) its contents must point to a C-style Nul terminated -- string containing its expanded name. GDB has no requirement on a -- given position inside the record. Transportable : Boolean; -- Used to check RM E.4(18), set for types that satisfy the requirements -- for being used in remote calls as actuals for classwide formals or as -- return values for classwide functions. Type_Is_Abstract : Boolean; -- True if the type is abstract (Ada 2012: AI05-0173) Needs_Finalization : Boolean; -- Used to dynamically check whether an object is controlled or not Size_Func : Size_Ptr; -- Pointer to the subprogram computing the _size of the object. Used by -- the run-time whenever a call to the 'size primitive is required. We -- cannot assume that the contents of dispatch tables are addresses -- because in some architectures the ABI allows descriptors. Interfaces_Table : Interface_Data_Ptr; -- Pointer to the table of interface tags. It is used to implement the -- membership test associated with interfaces and also for backward -- abstract interface type conversions (Ada 2005:AI-251) SSD : Select_Specific_Data_Ptr; -- Pointer to a table of records used in dispatching selects. This field -- has a meaningful value for all tagged types that implement a limited, -- protected, synchronized or task interfaces and have non-predefined -- primitive operations. Tags_Table : Tag_Table (0 .. Idepth); -- Table of ancestor tags. Its size actually depends on the inheritance -- depth level of the tagged type. end record; type Type_Specific_Data_Ptr is access all Type_Specific_Data; pragma No_Strict_Aliasing (Type_Specific_Data_Ptr); -- Declarations for the dispatch table record type Signature_Kind is (Unknown, Primary_DT, Secondary_DT); -- Tagged type kinds with respect to concurrency and limitedness type Tagged_Kind is (TK_Abstract_Limited_Tagged, TK_Abstract_Tagged, TK_Limited_Tagged, TK_Protected, TK_Tagged, TK_Task); type Dispatch_Table_Wrapper (Num_Prims : Natural) is record Signature : Signature_Kind; Tag_Kind : Tagged_Kind; Predef_Prims : System.Address; -- Pointer to the dispatch table of predefined Ada primitives -- According to the C++ ABI the components Offset_To_Top and TSD are -- stored just "before" the dispatch table, and they are referenced with -- negative offsets referring to the base of the dispatch table. The -- _Tag (or the VTable_Ptr in C++ terminology) must point to the base -- of the virtual table, just after these components, to point to the -- Prims_Ptr table. Offset_To_Top : SSE.Storage_Offset; TSD : System.Address; Prims_Ptr : aliased Address_Array (1 .. Num_Prims); -- The size of the Prims_Ptr array actually depends on the tagged type -- to which it applies. For each tagged type, the expander computes the -- actual array size, allocates the Dispatch_Table record accordingly. end record; type Dispatch_Table_Ptr is access all Dispatch_Table_Wrapper; pragma No_Strict_Aliasing (Dispatch_Table_Ptr); -- The following type declaration is used by the compiler when the program -- is compiled with restriction No_Dispatching_Calls. It is also used with -- interface types to generate the tag and run-time information associated -- with them. type No_Dispatch_Table_Wrapper is record NDT_TSD : System.Address; NDT_Prims_Ptr : Natural; end record; DT_Predef_Prims_Size : constant SSE.Storage_Count := SSE.Storage_Count (1 * (Standard'Address_Size / System.Storage_Unit)); -- Size of the Predef_Prims field of the Dispatch_Table DT_Offset_To_Top_Size : constant SSE.Storage_Count := SSE.Storage_Count (1 * (Standard'Address_Size / System.Storage_Unit)); -- Size of the Offset_To_Top field of the Dispatch Table DT_Typeinfo_Ptr_Size : constant SSE.Storage_Count := SSE.Storage_Count (1 * (Standard'Address_Size / System.Storage_Unit)); -- Size of the Typeinfo_Ptr field of the Dispatch Table use type System.Storage_Elements.Storage_Offset; DT_Offset_To_Top_Offset : constant SSE.Storage_Count := DT_Typeinfo_Ptr_Size + DT_Offset_To_Top_Size; DT_Predef_Prims_Offset : constant SSE.Storage_Count := DT_Typeinfo_Ptr_Size + DT_Offset_To_Top_Size + DT_Predef_Prims_Size; -- Offset from Prims_Ptr to Predef_Prims component -- Object Specific Data record of secondary dispatch tables type Object_Specific_Data_Array is array (Positive range <>) of Positive; type Object_Specific_Data (OSD_Num_Prims : Positive) is record OSD_Table : Object_Specific_Data_Array (1 .. OSD_Num_Prims); -- Table used in secondary DT to reference their counterpart in the -- select specific data (in the TSD of the primary DT). This construct -- is used in the handling of dispatching triggers in select statements. -- Nb_Prim is the number of non-predefined primitive operations. end record; type Object_Specific_Data_Ptr is access all Object_Specific_Data; pragma No_Strict_Aliasing (Object_Specific_Data_Ptr); -- The following subprogram specifications are placed here instead of the -- package body to see them from the frontend through rtsfind. function Base_Address (This : System.Address) return System.Address; -- Ada 2005 (AI-251): Displace "This" to point to the base address of the -- object (that is, the address of the primary tag of the object). procedure Check_TSD (TSD : Type_Specific_Data_Ptr); -- Ada 2012 (AI-113): Raise Program_Error if the external tag of this TSD -- is the same as the external tag for some other tagged type declaration. function Displace (This : System.Address; T : Tag) return System.Address; -- Ada 2005 (AI-251): Displace "This" to point to the secondary dispatch -- table of T. function Secondary_Tag (T, Iface : Tag) return Tag; -- Ada 2005 (AI-251): Given a primary tag T associated with a tagged type -- Typ, search for the secondary tag of the interface type Iface covered -- by Typ. function DT (T : Tag) return Dispatch_Table_Ptr; -- Return the pointer to the TSD record associated with T function Get_Entry_Index (T : Tag; Position : Positive) return Positive; -- Ada 2005 (AI-251): Return a primitive operation's entry index (if entry) -- given a dispatch table T and a position of a primitive operation in T. function Get_Offset_Index (T : Tag; Position : Positive) return Positive; -- Ada 2005 (AI-251): Given a pointer to a secondary dispatch table (T) -- and a position of an operation in the DT, retrieve the corresponding -- operation's position in the primary dispatch table from the Offset -- Specific Data table of T. function Get_Prim_Op_Kind (T : Tag; Position : Positive) return Prim_Op_Kind; -- Ada 2005 (AI-251): Return a primitive operation's kind given a dispatch -- table T and a position of a primitive operation in T. function Get_Tagged_Kind (T : Tag) return Tagged_Kind; -- Ada 2005 (AI-345): Given a pointer to either a primary or a secondary -- dispatch table, return the tagged kind of a type in the context of -- concurrency and limitedness. function IW_Membership (This : System.Address; T : Tag) return Boolean; -- Ada 2005 (AI-251): General routine that checks if a given object -- implements a tagged type. Its common usage is to check if Obj is in -- Iface'Class, but it is also used to check if a class-wide interface -- implements a given type (Iface_CW_Typ in T'Class). For example: -- -- type I is interface; -- type T is tagged ... -- -- function Test (O : I'Class) is -- begin -- return O in T'Class. -- end Test; function Offset_To_Top (This : System.Address) return SSE.Storage_Offset; -- Ada 2005 (AI-251): Returns the current value of the Offset_To_Top -- component available in the prologue of the dispatch table. If the parent -- of the tagged type has discriminants this value is stored in a record -- component just immediately after the tag component. function Needs_Finalization (T : Tag) return Boolean; -- A helper routine used in conjunction with finalization collections which -- service class-wide types. The function dynamically determines whether an -- object is controlled or has controlled components. function Parent_Size (Obj : System.Address; T : Tag) return SSE.Storage_Count; -- Computes the size the ancestor part of a tagged extension object whose -- address is 'obj' by calling indirectly the ancestor _size function. The -- ancestor is the parent of the type represented by tag T. This function -- assumes that _size is always in slot one of the dispatch table. procedure Register_Interface_Offset (This : System.Address; Interface_T : Tag; Is_Static : Boolean; Offset_Value : SSE.Storage_Offset; Offset_Func : Offset_To_Top_Function_Ptr); -- Register in the table of interfaces of the tagged type associated with -- "This" object the offset of the record component associated with the -- progenitor Interface_T (that is, the distance from "This" to the object -- component containing the tag of the secondary dispatch table). In case -- of constant offset, Is_Static is true and Offset_Value has such value. -- In case of variable offset, Is_Static is false and Offset_Func is an -- access to function that must be called to evaluate the offset. procedure Register_Tag (T : Tag); -- Insert the Tag and its associated external_tag in a table for the sake -- of Internal_Tag. procedure Set_Dynamic_Offset_To_Top (This : System.Address; Interface_T : Tag; Offset_Value : SSE.Storage_Offset; Offset_Func : Offset_To_Top_Function_Ptr); -- Ada 2005 (AI-251): The compiler generates calls to this routine only -- when initializing the Offset_To_Top field of dispatch tables associated -- with tagged type whose parent has variable size components. "This" is -- the object whose dispatch table is being initialized. Interface_T is the -- interface for which the secondary dispatch table is being initialized, -- and Offset_Value is the distance from "This" to the object component -- containing the tag of the secondary dispatch table (a zero value means -- that this interface shares the primary dispatch table). Offset_Func -- references a function that must be called to evaluate the offset at -- runtime. This routine also takes care of registering these values in -- the table of interfaces of the type. procedure Set_Entry_Index (T : Tag; Position : Positive; Value : Positive); -- Ada 2005 (AI-345): Set the entry index of a primitive operation in T's -- TSD table indexed by Position. procedure Set_Prim_Op_Kind (T : Tag; Position : Positive; Value : Prim_Op_Kind); -- Ada 2005 (AI-251): Set the kind of a primitive operation in T's TSD -- table indexed by Position. procedure Unregister_Tag (T : Tag); -- Remove a particular tag from the external tag hash table Max_Predef_Prims : constant Positive := 15; -- Number of reserved slots for the following predefined ada primitives: -- -- 1. Size -- 2. Read -- 3. Write -- 4. Input -- 5. Output -- 6. "=" -- 7. assignment -- 8. deep adjust -- 9. deep finalize -- 10. async select -- 11. conditional select -- 12. prim_op kind -- 13. task_id -- 14. dispatching requeue -- 15. timed select -- -- The compiler checks that the value here is correct subtype Predef_Prims_Table is Address_Array (1 .. Max_Predef_Prims); type Predef_Prims_Table_Ptr is access Predef_Prims_Table; pragma No_Strict_Aliasing (Predef_Prims_Table_Ptr); type Addr_Ptr is access System.Address; pragma No_Strict_Aliasing (Addr_Ptr); -- This type is used by the frontend to generate the code that handles -- dispatch table slots of types declared at the local level. end Ada.Tags;
46.019704
79
0.599943
1dc9f1c5018f90d9d658ce9d52207b0fc7d4d481
12,510
ads
Ada
src/sys/http/util-http-clients.ads
yrashk/ada-util
2aaa1d87e92a7137e1c63dce90f0722c549dfafd
[ "Apache-2.0" ]
60
2015-01-18T23:05:34.000Z
2022-03-20T18:56:30.000Z
src/sys/http/util-http-clients.ads
yrashk/ada-util
2aaa1d87e92a7137e1c63dce90f0722c549dfafd
[ "Apache-2.0" ]
20
2016-09-15T16:41:30.000Z
2022-03-29T22:02:32.000Z
src/sys/http/util-http-clients.ads
yrashk/ada-util
2aaa1d87e92a7137e1c63dce90f0722c549dfafd
[ "Apache-2.0" ]
10
2015-02-13T04:00:45.000Z
2022-03-20T18:57:54.000Z
----------------------------------------------------------------------- -- util-http-clients -- HTTP Clients -- Copyright (C) 2011, 2012, 2015, 2017, 2020 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- 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.Finalization; with Util.Streams.Texts; with Util.Serialize.IO.Form; with Util.Http.Cookies; -- == Client == -- The <tt>Util.Http.Clients</tt> package defines a set of API for an HTTP client to send -- requests to an HTTP server. -- -- === GET request === -- To retrieve a content using the HTTP GET operation, a client instance must be created. -- The response is returned in a specific object that must therefore be declared: -- -- Http : Util.Http.Clients.Client; -- Response : Util.Http.Clients.Response; -- -- Before invoking the GET operation, the client can setup a number of HTTP headers. -- -- Http.Add_Header ("X-Requested-By", "wget"); -- -- The GET operation is performed when the <tt>Get</tt> procedure is called: -- -- Http.Get ("http://www.google.com", Response); -- -- Once the response is received, the <tt>Response</tt> object contains the status of the -- HTTP response, the HTTP reply headers and the body. A response header can be obtained -- by using the <tt>Get_Header</tt> function and the body using <tt>Get_Body</tt>: -- -- Body : constant String := Response.Get_Body; -- package Util.Http.Clients is Connection_Error : exception; type Form_Data is limited new Util.Serialize.IO.Form.Output_Stream with private; procedure Initialize (Form : in out Form_Data; Size : in Positive); -- ------------------------------ -- Http response -- ------------------------------ -- The <b>Response</b> type represents a response returned by an HTTP request. type Response is limited new Abstract_Response with private; -- Returns a boolean indicating whether the named response header has already -- been set. overriding function Contains_Header (Reply : in Response; Name : in String) return Boolean; -- Returns the value of the specified response header as a String. If the response -- did not include a header of the specified name, this method returns null. -- If there are multiple headers with the same name, this method returns the -- first head in the request. The header name is case insensitive. You can use -- this method with any response header. overriding function Get_Header (Reply : in Response; Name : in String) return String; -- Sets a message header with the given name and value. If the header had already -- been set, the new value overwrites the previous one. The containsHeader -- method can be used to test for the presence of a header before setting its value. overriding procedure Set_Header (Reply : in out Response; Name : in String; Value : in String); -- Adds a request header with the given name and value. -- This method allows request headers to have multiple values. overriding procedure Add_Header (Reply : in out Response; Name : in String; Value : in String); -- Iterate over the response headers and executes the <b>Process</b> procedure. overriding procedure Iterate_Headers (Reply : in Response; Process : not null access procedure (Name : in String; Value : in String)); -- Get the response body as a string. overriding function Get_Body (Reply : in Response) return String; -- Get the response status code. overriding function Get_Status (Reply : in Response) return Natural; -- ------------------------------ -- Http client -- ------------------------------ -- The <b>Client</b> type allows to execute HTTP GET/POST requests. type Client is limited new Abstract_Request with private; type Client_Access is access all Client; -- Returns a boolean indicating whether the named response header has already -- been set. overriding function Contains_Header (Request : in Client; Name : in String) return Boolean; -- Returns the value of the specified request header as a String. If the request -- did not include a header of the specified name, this method returns null. -- If there are multiple headers with the same name, this method returns the -- first head in the request. The header name is case insensitive. You can use -- this method with any response header. overriding function Get_Header (Request : in Client; Name : in String) return String; -- Sets a header with the given name and value. If the header had already -- been set, the new value overwrites the previous one. The containsHeader -- method can be used to test for the presence of a header before setting its value. overriding procedure Set_Header (Request : in out Client; Name : in String; Value : in String); -- Adds a header with the given name and value. -- This method allows headers to have multiple values. overriding procedure Add_Header (Request : in out Client; Name : in String; Value : in String); -- Iterate over the request headers and executes the <b>Process</b> procedure. overriding procedure Iterate_Headers (Request : in Client; Process : not null access procedure (Name : in String; Value : in String)); -- Removes all headers with the given name. procedure Remove_Header (Request : in out Client; Name : in String); -- Adds the specified cookie to the request. This method can be called multiple -- times to set more than one cookie. procedure Add_Cookie (Http : in out Client; Cookie : in Util.Http.Cookies.Cookie); -- Set the timeout for the connection. procedure Set_Timeout (Request : in out Client; Timeout : in Duration); -- Execute an http GET request on the given URL. Additional request parameters, -- cookies and headers should have been set on the client object. procedure Get (Request : in out Client; URL : in String; Reply : out Response'Class); -- Execute an http POST request on the given URL. The post data is passed in <b>Data</b>. -- Additional request cookies and headers should have been set on the client object. procedure Post (Request : in out Client; URL : in String; Data : in String; Reply : out Response'Class); procedure Post (Request : in out Client; URL : in String; Data : in Form_Data'Class; Reply : out Response'Class); -- Execute an http PUT request on the given URL. The post data is passed in <b>Data</b>. -- Additional request cookies and headers should have been set on the client object. procedure Put (Request : in out Client; URL : in String; Data : in String; Reply : out Response'Class); -- Execute an http PATCH request on the given URL. The post data is passed in <b>Data</b>. -- Additional request cookies and headers should have been set on the client object. procedure Patch (Request : in out Client; URL : in String; Data : in String; Reply : out Response'Class); -- Execute a http DELETE request on the given URL. procedure Delete (Request : in out Client; URL : in String; Reply : out Response'Class); -- Execute an http HEAD request on the given URL. Additional request parameters, -- cookies and headers should have been set on the client object. procedure Head (Request : in out Client; URL : in String; Reply : out Response'Class); -- Execute an http OPTIONS request on the given URL. Additional request parameters, -- cookies and headers should have been set on the client object. procedure Options (Request : in out Client; URL : in String; Reply : out Response'Class); private subtype Http_Request is Abstract_Request; subtype Http_Request_Access is Abstract_Request_Access; subtype Http_Response is Abstract_Response; subtype Http_Response_Access is Abstract_Response_Access; type Http_Manager is interface; type Http_Manager_Access is access all Http_Manager'Class; procedure Create (Manager : in Http_Manager; Http : in out Client'Class) is abstract; procedure Do_Get (Manager : in Http_Manager; Http : in Client'Class; URI : in String; Reply : out Response'Class) is abstract; procedure Do_Head (Manager : in Http_Manager; Http : in Client'Class; URI : in String; Reply : out Response'Class) is abstract; procedure Do_Post (Manager : in Http_Manager; Http : in Client'Class; URI : in String; Data : in String; Reply : out Response'Class) is abstract; procedure Do_Put (Manager : in Http_Manager; Http : in Client'Class; URI : in String; Data : in String; Reply : out Response'Class) is abstract; procedure Do_Patch (Manager : in Http_Manager; Http : in Client'Class; URI : in String; Data : in String; Reply : out Response'Class) is abstract; procedure Do_Delete (Manager : in Http_Manager; Http : in Client'Class; URI : in String; Reply : out Response'Class) is abstract; procedure Do_Options (Manager : in Http_Manager; Http : in Client'Class; URI : in String; Reply : out Response'Class) is abstract; -- Set the timeout for the connection. procedure Set_Timeout (Manager : in Http_Manager; Http : in Client'Class; Timeout : in Duration) is abstract; Default_Http_Manager : Http_Manager_Access; type Response is limited new Ada.Finalization.Limited_Controlled and Abstract_Response with record Delegate : Abstract_Response_Access; end record; -- Free the resource used by the response. overriding procedure Finalize (Reply : in out Response); type Client is limited new Ada.Finalization.Limited_Controlled and Abstract_Request with record Manager : Http_Manager_Access; Delegate : Http_Request_Access; end record; -- Initialize the client overriding procedure Initialize (Http : in out Client); overriding procedure Finalize (Http : in out Client); type Form_Data is limited new Util.Serialize.IO.Form.Output_Stream with record Buffer : aliased Util.Streams.Texts.Print_Stream; end record; end Util.Http.Clients;
41.561462
95
0.598721
1d994c8700b92df478f8dd07327b9530784e8197
1,410
ads
Ada
src/asf-lifecycles-invoke.ads
jquorning/ada-asf
ddc697c5dfa4e22c57c6958f4cff27e14d02ce98
[ "Apache-2.0" ]
12
2015-01-18T23:02:20.000Z
2022-03-25T15:30:30.000Z
src/asf-lifecycles-invoke.ads
jquorning/ada-asf
ddc697c5dfa4e22c57c6958f4cff27e14d02ce98
[ "Apache-2.0" ]
3
2021-01-06T09:44:02.000Z
2022-02-04T20:20:53.000Z
src/asf-lifecycles-invoke.ads
jquorning/ada-asf
ddc697c5dfa4e22c57c6958f4cff27e14d02ce98
[ "Apache-2.0" ]
4
2016-04-12T05:29:00.000Z
2022-01-24T23:53:59.000Z
----------------------------------------------------------------------- -- asf-lifecycles-invoke -- Invoke application phase -- Copyright (C) 2010 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- 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. ----------------------------------------------------------------------- -- The <b>ASF.Lifecycles.Invoke</b> package defines the behavior -- of the invoke application phase. package ASF.Lifecycles.Invoke is -- ------------------------------ -- Invoke application controller -- ------------------------------ type Invoke_Controller is new Phase_Controller with null record; -- Execute the invoke application phase. overriding procedure Execute (Controller : in Invoke_Controller; Context : in out ASF.Contexts.Faces.Faces_Context'Class); end ASF.Lifecycles.Invoke;
41.470588
82
0.61844
2f0b625ed4bbd07ac31cd8410096544e63115e96
1,410
adb
Ada
synthexec/synthexec.adb
jfouquart/synth
cf9f4e394723266805799807ca9dd422e333cb2e
[ "0BSD" ]
263
2015-12-30T22:24:04.000Z
2022-03-25T03:13:52.000Z
synthexec/synthexec.adb
jfouquart/synth
cf9f4e394723266805799807ca9dd422e333cb2e
[ "0BSD" ]
196
2016-01-08T19:50:19.000Z
2022-03-25T22:02:10.000Z
synthexec/synthexec.adb
jfouquart/synth
cf9f4e394723266805799807ca9dd422e333cb2e
[ "0BSD" ]
34
2016-03-08T02:43:35.000Z
2022-03-25T21:51:03.000Z
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with GNAT.OS_Lib; with Ada.Command_Line; with Ada.Strings.Unbounded; procedure SynthExec is package OSL renames GNAT.OS_Lib; package CLI renames Ada.Command_Line; package ASU renames Ada.Strings.Unbounded; subtype Text is ASU.Unbounded_String; use type CLI.Exit_Status; Args : OSL.Argument_List_Access; return_code : Integer; FD : OSL.File_Descriptor; uscommand : Text; begin -- argument (1) is the absolute path to the log -- arguments 2+ are executed as they are CLI.Set_Exit_Status (CLI.Failure); if CLI.Argument_Count < 3 then return; end if; uscommand := ASU.To_Unbounded_String (CLI.Argument (2)); for k in 3 .. CLI.Argument_Count loop ASU.Append (uscommand, " " & CLI.Argument (k)); end loop; Args := OSL.Argument_String_To_List (ASU.To_String (uscommand)); FD := OSL.Open_Append (Name => CLI.Argument (1), Fmode => OSL.Text); OSL.Spawn (Program_Name => Args (Args'First).all, Args => Args (Args'First + 1 .. Args'Last), Return_Code => return_code, Output_File_Descriptor => FD); OSL.Free (Args); OSL.Close (FD); if return_code = 0 then CLI.Set_Exit_Status (CLI.Success); end if; end SynthExec;
27.115385
74
0.642553
1dfab304a719d4df3eb8911d142758f16d9baadb
3,568
ads
Ada
hal/src/hal-audio.ads
mbdme26/Ada_Drivers_Library
dc9cc80f5338c9d1ae942dd461eef6a2402e44de
[ "BSD-3-Clause" ]
3
2020-10-21T09:05:41.000Z
2022-02-10T19:57:32.000Z
hal/src/hal-audio.ads
mbdme26/Ada_Drivers_Library
dc9cc80f5338c9d1ae942dd461eef6a2402e44de
[ "BSD-3-Clause" ]
null
null
null
hal/src/hal-audio.ads
mbdme26/Ada_Drivers_Library
dc9cc80f5338c9d1ae942dd461eef6a2402e44de
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ with Interfaces; use Interfaces; package HAL.Audio is pragma Preelaborate; type Audio_Buffer is array (Natural range <>) of Integer_16 with Component_Size => 16, Alignment => 2; type Audio_Volume is new Natural range 0 .. 100; type Audio_Frequency is (Audio_Freq_8kHz, Audio_Freq_11kHz, Audio_Freq_16kHz, Audio_Freq_22kHz, Audio_Freq_32kHz, Audio_Freq_44kHz, Audio_Freq_48kHz, Audio_Freq_96kHz) with Size => 32; for Audio_Frequency use (Audio_Freq_8kHz => 8_000, Audio_Freq_11kHz => 11_025, Audio_Freq_16kHz => 16_000, Audio_Freq_22kHz => 22_050, Audio_Freq_32kHz => 32_000, Audio_Freq_44kHz => 44_100, Audio_Freq_48kHz => 48_000, Audio_Freq_96kHz => 96_000); type Audio_Stream is limited interface; procedure Set_Frequency (This : in out Audio_Stream; Frequency : Audio_Frequency) is abstract; procedure Transmit (This : in out Audio_Stream; Data : Audio_Buffer) is abstract; procedure Receive (This : in out Audio_Stream; Data : out Audio_Buffer) is abstract; end HAL.Audio;
48.216216
78
0.553812
12cdef98c6b12f424dc45374dc93e419003bc036
1,016
adb
Ada
generated/natools-static_maps-web-comments-item_actions.adb
faelys/natools-web
f7ba99f2ffb6f5a06d1b1e8becbf5f92fd58c750
[ "0BSD" ]
1
2015-04-23T10:48:58.000Z
2015-04-23T10:48:58.000Z
generated/natools-static_maps-web-comments-item_actions.adb
faelys/natools-web
f7ba99f2ffb6f5a06d1b1e8becbf5f92fd58c750
[ "0BSD" ]
null
null
null
generated/natools-static_maps-web-comments-item_actions.adb
faelys/natools-web
f7ba99f2ffb6f5a06d1b1e8becbf5f92fd58c750
[ "0BSD" ]
null
null
null
with Interfaces; use Interfaces; package body Natools.Static_Maps.Web.Comments.Item_Actions is P : constant array (0 .. 2) of Natural := (2, 3, 7); T1 : constant array (0 .. 2) of Unsigned_8 := (38, 19, 3); T2 : constant array (0 .. 2) of Unsigned_8 := (3, 37, 38); G : constant array (0 .. 38) of Unsigned_8 := (15, 0, 16, 0, 4, 0, 14, 0, 6, 6, 8, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 7, 1, 0, 3, 0, 0, 7, 7, 5, 10, 12, 8, 0, 0, 0, 0, 11, 0); function Hash (S : String) return Natural is F : constant Natural := S'First - 1; L : constant Natural := S'Length; F1, F2 : Natural := 0; J : Natural; begin for K in P'Range loop exit when L < P (K); J := Character'Pos (S (P (K) + F)); F1 := (F1 + Natural (T1 (K)) * J) mod 39; F2 := (F2 + Natural (T2 (K)) * J) mod 39; end loop; return (Natural (G (F1)) + Natural (G (F2))) mod 19; end Hash; end Natools.Static_Maps.Web.Comments.Item_Actions;
29.882353
75
0.521654
317c6d87c5c3b00fc0f7d1ff26086baa133f4783
1,185
adb
Ada
bucket_4B/gnat-util/patches/patch-gnatvsn.adb
jrmarino/ravensource
91d599fd1f2af55270258d15e72c62774f36033e
[ "FTL" ]
17
2017-04-22T21:53:52.000Z
2021-01-21T16:57:55.000Z
bucket_4B/gnat-util/patches/patch-gnatvsn.adb
jrmarino/ravensource
91d599fd1f2af55270258d15e72c62774f36033e
[ "FTL" ]
186
2017-09-12T20:46:52.000Z
2021-11-27T18:15:14.000Z
bucket_4B/gnat-util/patches/patch-gnatvsn.adb
jrmarino/ravensource
91d599fd1f2af55270258d15e72c62774f36033e
[ "FTL" ]
74
2017-09-06T14:48:01.000Z
2021-08-28T02:48:27.000Z
--- gnatvsn.adb.orig 2013-07-16 03:35:21.000000000 +0000 +++ gnatvsn.adb @@ -53,32 +53,13 @@ package body Gnatvsn is " FOR A PARTICULAR PURPOSE."; end Gnat_Free_Software; - type char_array is array (Natural range <>) of aliased Character; - Version_String : char_array (0 .. Ver_Len_Max - 1); - -- Import the C string defined in the (language-independent) source file - -- version.c using the zero-based convention of the C language. - -- The size is not the real one, which does not matter since we will - -- check for the nul character in Gnat_Version_String. - pragma Import (C, Version_String, "version_string"); - ------------------------- -- Gnat_Version_String -- ------------------------- function Gnat_Version_String return String is - S : String (1 .. Ver_Len_Max); - Pos : Natural := 0; begin - loop - exit when Version_String (Pos) = ASCII.NUL; - - S (Pos + 1) := Version_String (Pos); - Pos := Pos + 1; - - exit when Pos = Ver_Len_Max; - end loop; - - return S (1 .. Pos); + Return Gnat_Static_Version_String; end Gnat_Version_String; end Gnatvsn;
32.027027
77
0.604219
a1fca87fcf142ab793bb00479f15e4d50b5e9a89
11,879
adb
Ada
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-cgicoo.adb
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-cgicoo.adb
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-cgicoo.adb
orb-zhuchen/Orb
6da2404b949ac28bde786e08bf4debe4a27cd3a0
[ "CNRI-Python-GPL-Compatible", "MIT" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- G N A T . C G I . C O O K I E -- -- -- -- B o d y -- -- -- -- Copyright (C) 2000-2019, AdaCore -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Ada.Strings.Fixed; with Ada.Strings.Maps; with Ada.Text_IO; with Ada.Integer_Text_IO; with GNAT.Table; package body GNAT.CGI.Cookie is use Ada; Valid_Environment : Boolean := False; -- This boolean will be set to True if the initialization was fine Header_Sent : Boolean := False; -- Will be set to True when the header will be sent -- Cookie data that has been added type String_Access is access String; type Cookie_Data is record Key : String_Access; Value : String_Access; Comment : String_Access; Domain : String_Access; Max_Age : Natural; Path : String_Access; Secure : Boolean := False; end record; type Key_Value is record Key, Value : String_Access; end record; package Cookie_Table is new Table (Cookie_Data, Positive, 1, 5, 50); -- This is the table to keep all cookies to be sent back to the server package Key_Value_Table is new Table (Key_Value, Positive, 1, 1, 50); -- This is the table to keep all cookies received from the server procedure Check_Environment; pragma Inline (Check_Environment); -- This procedure will raise Data_Error if Valid_Environment is False procedure Initialize; -- Initialize CGI package by reading the runtime environment. This -- procedure is called during elaboration. All exceptions raised during -- this procedure are deferred. ----------------------- -- Check_Environment -- ----------------------- procedure Check_Environment is begin if not Valid_Environment then raise Data_Error; end if; end Check_Environment; ----------- -- Count -- ----------- function Count return Natural is begin return Key_Value_Table.Last; end Count; ------------ -- Exists -- ------------ function Exists (Key : String) return Boolean is begin Check_Environment; for K in 1 .. Key_Value_Table.Last loop if Key_Value_Table.Table (K).Key.all = Key then return True; end if; end loop; return False; end Exists; ---------------------- -- For_Every_Cookie -- ---------------------- procedure For_Every_Cookie is Quit : Boolean; begin Check_Environment; for K in 1 .. Key_Value_Table.Last loop Quit := False; Action (Key_Value_Table.Table (K).Key.all, Key_Value_Table.Table (K).Value.all, K, Quit); exit when Quit; end loop; end For_Every_Cookie; ---------------- -- Initialize -- ---------------- procedure Initialize is HTTP_COOKIE : constant String := Metavariable (CGI.HTTP_Cookie); procedure Set_Parameter_Table (Data : String); -- Parse Data and insert information in Key_Value_Table ------------------------- -- Set_Parameter_Table -- ------------------------- procedure Set_Parameter_Table (Data : String) is procedure Add_Parameter (K : Positive; P : String); -- Add a single parameter into the table at index K. The parameter -- format is "key=value". Count : constant Positive := 1 + Strings.Fixed.Count (Data, Strings.Maps.To_Set (";")); -- Count is the number of parameters in the string. Parameters are -- separated by ampersand character. Index : Positive := Data'First; Sep : Natural; ------------------- -- Add_Parameter -- ------------------- procedure Add_Parameter (K : Positive; P : String) is Equal : constant Natural := Strings.Fixed.Index (P, "="); begin if Equal = 0 then raise Data_Error; else Key_Value_Table.Table (K) := Key_Value'(new String'(Decode (P (P'First .. Equal - 1))), new String'(Decode (P (Equal + 1 .. P'Last)))); end if; end Add_Parameter; -- Start of processing for Set_Parameter_Table begin Key_Value_Table.Set_Last (Count); for K in 1 .. Count - 1 loop Sep := Strings.Fixed.Index (Data (Index .. Data'Last), ";"); Add_Parameter (K, Data (Index .. Sep - 1)); Index := Sep + 2; end loop; -- Add last parameter Add_Parameter (Count, Data (Index .. Data'Last)); end Set_Parameter_Table; -- Start of processing for Initialize begin if HTTP_COOKIE /= "" then Set_Parameter_Table (HTTP_COOKIE); end if; Valid_Environment := True; exception when others => Valid_Environment := False; end Initialize; --------- -- Key -- --------- function Key (Position : Positive) return String is begin Check_Environment; if Position <= Key_Value_Table.Last then return Key_Value_Table.Table (Position).Key.all; else raise Cookie_Not_Found; end if; end Key; -------- -- Ok -- -------- function Ok return Boolean is begin return Valid_Environment; end Ok; ---------------- -- Put_Header -- ---------------- procedure Put_Header (Header : String := Default_Header; Force : Boolean := False) is procedure Output_Cookies; -- Iterate through the list of cookies to be sent to the server -- and output them. -------------------- -- Output_Cookies -- -------------------- procedure Output_Cookies is procedure Output_One_Cookie (Key : String; Value : String; Comment : String; Domain : String; Max_Age : Natural; Path : String; Secure : Boolean); -- Output one cookie in the CGI header ----------------------- -- Output_One_Cookie -- ----------------------- procedure Output_One_Cookie (Key : String; Value : String; Comment : String; Domain : String; Max_Age : Natural; Path : String; Secure : Boolean) is begin Text_IO.Put ("Set-Cookie: "); Text_IO.Put (Key & '=' & Value); if Comment /= "" then Text_IO.Put ("; Comment=" & Comment); end if; if Domain /= "" then Text_IO.Put ("; Domain=" & Domain); end if; if Max_Age /= Natural'Last then Text_IO.Put ("; Max-Age="); Integer_Text_IO.Put (Max_Age, Width => 0); end if; if Path /= "" then Text_IO.Put ("; Path=" & Path); end if; if Secure then Text_IO.Put ("; Secure"); end if; Text_IO.New_Line; end Output_One_Cookie; -- Start of processing for Output_Cookies begin for C in 1 .. Cookie_Table.Last loop Output_One_Cookie (Cookie_Table.Table (C).Key.all, Cookie_Table.Table (C).Value.all, Cookie_Table.Table (C).Comment.all, Cookie_Table.Table (C).Domain.all, Cookie_Table.Table (C).Max_Age, Cookie_Table.Table (C).Path.all, Cookie_Table.Table (C).Secure); end loop; end Output_Cookies; -- Start of processing for Put_Header begin if Header_Sent = False or else Force then Check_Environment; Text_IO.Put_Line (Header); Output_Cookies; Text_IO.New_Line; Header_Sent := True; end if; end Put_Header; --------- -- Set -- --------- procedure Set (Key : String; Value : String; Comment : String := ""; Domain : String := ""; Max_Age : Natural := Natural'Last; Path : String := "/"; Secure : Boolean := False) is begin Cookie_Table.Increment_Last; Cookie_Table.Table (Cookie_Table.Last) := Cookie_Data'(new String'(Key), new String'(Value), new String'(Comment), new String'(Domain), Max_Age, new String'(Path), Secure); end Set; ----------- -- Value -- ----------- function Value (Key : String; Required : Boolean := False) return String is begin Check_Environment; for K in 1 .. Key_Value_Table.Last loop if Key_Value_Table.Table (K).Key.all = Key then return Key_Value_Table.Table (K).Value.all; end if; end loop; if Required then raise Cookie_Not_Found; else return ""; end if; end Value; function Value (Position : Positive) return String is begin Check_Environment; if Position <= Key_Value_Table.Last then return Key_Value_Table.Table (Position).Value.all; else raise Cookie_Not_Found; end if; end Value; -- Elaboration code for package begin -- Initialize unit by reading the HTTP_COOKIE metavariable and fill -- Key_Value_Table structure. Initialize; end GNAT.CGI.Cookie;
29.258621
78
0.493813
31678f136a734dc0d92f1391c2ee23afa10fa403
4,468
adb
Ada
.emacs.d/elpa/ada-mode-5.3.1/gps_source/basic_types.adb
caqg/linux-home
eed631aae6f5e59e4f46e14f1dff443abca5fa28
[ "Linux-OpenIB" ]
null
null
null
.emacs.d/elpa/ada-mode-5.3.1/gps_source/basic_types.adb
caqg/linux-home
eed631aae6f5e59e4f46e14f1dff443abca5fa28
[ "Linux-OpenIB" ]
null
null
null
.emacs.d/elpa/ada-mode-5.3.1/gps_source/basic_types.adb
caqg/linux-home
eed631aae6f5e59e4f46e14f1dff443abca5fa28
[ "Linux-OpenIB" ]
null
null
null
------------------------------------------------------------------------------ -- G P S -- -- -- -- Copyright (C) 2000-2016, AdaCore -- -- -- -- This 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. This software is distributed in the hope that it will be useful, -- -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -- -- License for more details. You should have received a copy of the GNU -- -- General Public License distributed with this software; see file -- -- COPYING3. If not, go to http://www.gnu.org/licenses for a complete copy -- -- of the license. -- ------------------------------------------------------------------------------ with GNAT.Strings; use GNAT.Strings; with Ada.Characters.Handling; use Ada.Characters.Handling; package body Basic_Types is -------------- -- Is_Equal -- -------------- function Is_Equal (List1, List2 : GNAT.OS_Lib.Argument_List; Case_Sensitive : Boolean := True; Ordered : Boolean := False) return Boolean is begin if List1'Length /= List2'Length then return False; elsif Ordered then for L in List1'Range loop if List1 (L).all /= List2 (L - List1'First + List2'First).all then return False; end if; end loop; return True; else declare L1 : GNAT.OS_Lib.Argument_List := List1; L2 : GNAT.OS_Lib.Argument_List := List2; begin for A in L1'Range loop for B in L2'Range loop if L2 (B) /= null and then ((Case_Sensitive and then L1 (A).all = L2 (B).all) or else (not Case_Sensitive and then To_Lower (L1 (A).all) = To_Lower (L2 (B).all))) then L1 (A) := null; L2 (B) := null; exit; end if; end loop; end loop; return L1 = (L1'Range => null) and then L2 = (L2'Range => null); end; end if; end Is_Equal; -------------- -- Contains -- -------------- function Contains (List : GNAT.OS_Lib.Argument_List; Str : String; Case_Sensitive : Boolean := True) return Boolean is begin if not Case_Sensitive then declare S : constant String := To_Lower (Str); begin for L in List'Range loop if To_Lower (List (L).all) = S then return True; end if; end loop; end; else for L in List'Range loop if List (L).all = Str then return True; end if; end loop; end if; return False; end Contains; --------- -- "<" -- --------- function "<" (Left, Right : Date_Type) return Boolean is begin if Left.Year < Right.Year then return True; elsif Left.Year = Right.Year then if Left.Month < Right.Month then return True; elsif Left.Month = Right.Month then if Left.Day < Right.Day then return True; end if; end if; end if; return False; end "<"; ---------- -- "<=" -- ---------- function "<=" (Left, Right : Date_Type) return Boolean is begin return Left < Right or else Left = Right; end "<="; --------- -- ">" -- --------- function ">" (Left, Right : Date_Type) return Boolean is begin return not (Left < Right or else Left = Right); end ">"; ---------- -- ">=" -- ---------- function ">=" (Left, Right : Date_Type) return Boolean is begin return not (Left < Right); end ">="; end Basic_Types;
30.189189
78
0.453671
5991d47a2f1be2add09d088e6fcf1001572228fe
6,705
adb
Ada
orka/src/orka/implementation/orka-jobs-executors.adb
onox/orka
9edf99559a16ffa96dfdb208322f4d18efbcbac6
[ "Apache-2.0" ]
52
2016-07-30T23:00:28.000Z
2022-02-05T11:54:55.000Z
orka/src/orka/implementation/orka-jobs-executors.adb
onox/orka
9edf99559a16ffa96dfdb208322f4d18efbcbac6
[ "Apache-2.0" ]
79
2016-08-01T18:36:48.000Z
2022-02-27T12:14:20.000Z
orka/src/orka/implementation/orka-jobs-executors.adb
onox/orka
9edf99559a16ffa96dfdb208322f4d18efbcbac6
[ "Apache-2.0" ]
4
2018-04-28T22:36:26.000Z
2020-11-14T23:00:29.000Z
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2017 onox <[email protected]> -- -- 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.Exceptions; -- with Ada.Real_Time; with Ada.Tags; -- with Ada.Text_IO; with Orka.Containers.Bounded_Vectors; with Orka.Futures; with Orka.Loggers; with Orka.Logging; package body Orka.Jobs.Executors is use all type Orka.Logging.Source; use all type Orka.Logging.Severity; package Messages is new Orka.Logging.Messages (Worker); function Get_Root_Dependent (Element : Job_Ptr) return Job_Ptr is Result : Job_Ptr := Element; begin while Result.Dependent /= Null_Job loop Result := Result.Dependent; end loop; return Result; end Get_Root_Dependent; procedure Execute_Jobs (Name : String; Kind : Queues.Executor_Kind; Queue : Queues.Queue_Ptr) is -- use type Ada.Real_Time.Time; use type Futures.Status; use Ada.Exceptions; Pair : Queues.Pair; Stop : Boolean := False; Null_Pair : constant Queues.Pair := (others => <>); package Vectors is new Orka.Containers.Bounded_Vectors (Positive, Job_Ptr); -- T0, T1, T2 : Ada.Real_Time.Time; begin loop -- T0 := Ada.Real_Time.Clock; Queue.Dequeue (Kind) (Pair, Stop); exit when Stop; declare Job : Job_Ptr renames Pair.Job; Future : Futures.Pointers.Reference renames Pair.Future.Get; Promise : Futures.Promise'Class renames Futures.Promise'Class (Future.Value.all); Jobs : Vectors.Vector (Capacity => Maximum_Enqueued_By_Job); type Executor_Context is new Execution_Context with null record; overriding procedure Enqueue (Object : Executor_Context; Element : Job_Ptr) is begin Jobs.Append (Element); end Enqueue; Context : Executor_Context; procedure Set_Root_Dependent (Last_Job : Job_Ptr) is Root_Dependents : Vectors.Vector (Capacity => Jobs.Length); procedure Set_Dependencies (Elements : Vectors.Element_Array) is begin Last_Job.Set_Dependencies (Dependency_Array (Elements)); end Set_Dependencies; begin for Job of Jobs loop declare Root : constant Job_Ptr := Get_Root_Dependent (Job); begin if not (for some Dependent of Root_Dependents => Root = Dependent) then Root_Dependents.Append (Root); end if; end; end loop; Root_Dependents.Query (Set_Dependencies'Access); end Set_Root_Dependent; Tag : String renames Ada.Tags.Expanded_Name (Job'Tag); begin -- T1 := Ada.Real_Time.Clock; -- Ada.Text_IO.Put_Line (Name & " executing job " & Tag); if Future.Current_Status = Futures.Waiting then Promise.Set_Status (Futures.Running); end if; if Future.Current_Status = Futures.Running then begin Job.Execute (Context); exception when Error : others => Promise.Set_Failed (Error); Messages.Log (Loggers.Error, Kind'Image & " job " & Tag & " " & Exception_Information (Error)); end; else Messages.Log (Warning, Kind'Image & " job " & Tag & " already " & Future.Current_Status'Image); end if; -- T2 := Ada.Real_Time.Clock; -- declare -- Waiting_Time : constant Duration := 1e3 * Ada.Real_Time.To_Duration (T1 - T0); -- Running_Time : constant Duration := 1e3 * Ada.Real_Time.To_Duration (T2 - T1); -- begin -- Ada.Text_IO.Put_Line (Name & " (blocked" & Waiting_Time'Image & " ms)" & -- " executed job " & Tag & " in" & Running_Time'Image & " ms"); -- end; if Job.Dependent /= Null_Job then -- Make the root dependents of the jobs in Jobs -- dependencies of Job.Dependent if not Jobs.Is_Empty then Set_Root_Dependent (Job.Dependent); end if; -- If another job depends on this job, decrement its dependencies counter -- and if it has reached zero then it can be scheduled if Job.Dependent.Decrement_Dependencies then pragma Assert (Jobs.Is_Empty); -- Ada.Text_IO.Put_Line (Name & " job " & Tag & " enqueuing dependent " & -- Ada.Tags.Expanded_Name (Job.Dependent'Tag)); Queue.Enqueue (Job.Dependent, Pair.Future); end if; elsif Jobs.Is_Empty then Promise.Set_Status (Futures.Done); -- Ada.Text_IO.Put_Line (Name & " completed graph with job " & Tag); else -- If the job has enqueued new jobs, we need to create an -- empty job which has the root dependents of these new jobs -- as dependencies. This is so that the empty job will be the -- last job that is given Pair.Future Set_Root_Dependent (Create_Empty_Job); end if; if not Jobs.Is_Empty then for Job of Jobs loop -- Ada.Text_IO.Put_Line (Name & " job " & Tag & " enqueuing job " & -- Ada.Tags.Expanded_Name (Job'Tag)); Queue.Enqueue (Job, Pair.Future); end loop; end if; Free (Job); end; -- Finalize the smart pointer (Pair.Future) to reduce the number -- of references to the Future object Pair := Null_Pair; end loop; exception when Error : others => Messages.Log (Loggers.Error, Exception_Information (Error)); end Execute_Jobs; end Orka.Jobs.Executors;
36.243243
95
0.571514
2fc5d156eca704c22a202a4929985d195e414171
662
adb
Ada
examples/GA_Sine/src/ga_sine_globals.adb
ficorax/PortAudioAda
565cf8a3ad4ec3f6cbe1ed2dae75f42d001f052e
[ "MIT" ]
2
2022-02-26T04:14:01.000Z
2022-03-07T09:57:25.000Z
examples/GA_Sine/src/ga_sine_globals.adb
ficorax/PortAudioAda
565cf8a3ad4ec3f6cbe1ed2dae75f42d001f052e
[ "MIT" ]
null
null
null
examples/GA_Sine/src/ga_sine_globals.adb
ficorax/PortAudioAda
565cf8a3ad4ec3f6cbe1ed2dae75f42d001f052e
[ "MIT" ]
null
null
null
package body GA_Sine_Globals is -------------------- -- Toggle_Options -- -------------------- procedure Toggle_Options (started : Boolean) is begin for i in Enum_Options loop declare option : Option_Use renames options (i).optionUse; widget : access Gtk_Widget_Record'Class renames options (i).optionWidget; begin if started and then option = OU_Before then Set_Sensitive (widget, False); else Set_Sensitive (widget, True); end if; end; end loop; end Toggle_Options; end GA_Sine_Globals;
26.48
62
0.539275
315417979bdd59a4e2065a187ae67d695511ad2b
527,037
adb
Ada
code-HLS/16_8/.autopilot/db/sigmoid_top.adb
Pz1996/HLS-Sigmoid
319f418a71d3dd10b68f5eede68e8153d86c8d70
[ "Apache-2.0" ]
null
null
null
code-HLS/16_8/.autopilot/db/sigmoid_top.adb
Pz1996/HLS-Sigmoid
319f418a71d3dd10b68f5eede68e8153d86c8d70
[ "Apache-2.0" ]
null
null
null
code-HLS/16_8/.autopilot/db/sigmoid_top.adb
Pz1996/HLS-Sigmoid
319f418a71d3dd10b68f5eede68e8153d86c8d70
[ "Apache-2.0" ]
null
null
null
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="17"> <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>sigmoid_top</name> <module_structure>Pipeline</module_structure> <ret_bitwidth>8</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>1</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_r</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>in.V</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1953394531</coreId> <rtlModuleName/> </Obj> <bitwidth>16</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> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>109</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_2"> <Value> <Obj> <type>0</type> <id>8</id> <name>in_read</name> <fileName>Sigmoid.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>3</lineNumber> <contextFuncName>sigmoid_top</contextFuncName> <contextNormFuncName>sigmoid_top</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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>Sigmoid.cpp</first> <second>sigmoid_top</second> </first> <second>3</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>741487420</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>118</item> <item>119</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="_3"> <Value> <Obj> <type>0</type> <id>9</id> <name>icmp_ln1549</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1549</lineNumber> <contextFuncName>operator&amp;gt;=&amp;lt;32, 32, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_ge_32_32_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator&amp;gt;=&amp;lt;32, 32, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1549</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>icmp_ln1549_fu_196_p2</rtlName> <control>auto</control> <opType>icmp</opType> <implIndex>auto</implIndex> <coreName>Cmp</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>9</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>120</item> <item>122</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.28</m_delay> <m_topoIndex>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_4"> <Value> <Obj> <type>0</type> <id>10</id> <name>icmp_ln938</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>938</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>938</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>icmp_ln938_fu_535_p2</rtlName> <control>auto</control> <opType>icmp</opType> <implIndex>auto</implIndex> <coreName>Cmp</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>9</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>123</item> <item>125</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.28</m_delay> <m_topoIndex>57</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_5"> <Value> <Obj> <type>0</type> <id>11</id> <name>p_Result_s</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_int_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1227</lineNumber> <contextFuncName>countLeadingZeros</contextFuncName> <contextNormFuncName>countLeadingZeros</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_int_base.h</first> <second>countLeadingZeros</second> </first> <second>1227</second> </item> </second> </item> </inlineStackInfo> <originalName>__Result__</originalName> <rtlName>p_Result_s_fu_202_p4</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>741875756</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>127</item> <item>128</item> <item>130</item> <item>132</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>3</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_Result_6</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_int_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1228</lineNumber> <contextFuncName>countLeadingZeros</contextFuncName> <contextNormFuncName>countLeadingZeros</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_int_base.h</first> <second>countLeadingZeros</second> </first> <second>1228</second> </item> </second> </item> </inlineStackInfo> <originalName>__Result__</originalName> <rtlName>p_Result_6_fu_212_p3</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>741487420</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>134</item> <item>136</item> <item>137</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>4</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>l</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_int_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1229</lineNumber> <contextFuncName>countLeadingZeros</contextFuncName> <contextNormFuncName>countLeadingZeros</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_int_base.h</first> <second>countLeadingZeros</second> </first> <second>1229</second> </item> </second> </item> </inlineStackInfo> <originalName>l</originalName> <rtlName>l_fu_220_p3</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>942874668</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>139</item> <item>140</item> <item>142</item> </oprand_edges> <opcode>cttz</opcode> <m_Display>0</m_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>14</id> <name>sub_ln947</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>947</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>947</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>sub_ln947_fu_228_p2</rtlName> <control>auto</control> <opType>sub</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>144</item> <item>145</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.51</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>15</id> <name>trunc_ln947</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>947</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>947</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>trunc_ln947_fu_234_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>741947196</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>146</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>7</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>lsb_index</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>947</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>947</second> </item> </second> </item> </inlineStackInfo> <originalName>lsb_index</originalName> <rtlName>lsb_index_fu_238_p2</rtlName> <control>auto</control> <opType>add</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>147</item> <item>149</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.51</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>17</id> <name>tmp_5</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>949</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>949</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_5_fu_244_p4</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>892543020</coreId> <rtlModuleName/> </Obj> <bitwidth>31</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>151</item> <item>152</item> <item>154</item> <item>156</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>9</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>icmp_ln949</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>949</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>949</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>icmp_ln949_fu_254_p2</rtlName> <control>auto</control> <opType>icmp</opType> <implIndex>auto</implIndex> <coreName>Cmp</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>9</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>157</item> <item>159</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.28</m_delay> <m_topoIndex>10</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>trunc_ln950</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>950</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>950</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>trunc_ln950_fu_260_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>102830064</coreId> <rtlModuleName/> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>160</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>11</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>20</id> <name>sub_ln950</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>950</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>950</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>sub_ln950_fu_264_p2</rtlName> <control>auto</control> <opType>sub</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName/> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>162</item> <item>163</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.10</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>21</id> <name>zext_ln950</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>950</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>950</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln950_fu_270_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>892543020</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>164</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>13</m_topoIndex> <m_clusterGroupNumber>1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>22</id> <name>lshr_ln950</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>950</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>950</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>lshr_ln950_fu_274_p2</rtlName> <control>auto</control> <opType>lshr</opType> <implIndex>auto_pipe</implIndex> <coreName>Shifter</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>75</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>165</item> <item>166</item> </oprand_edges> <opcode>lshr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>14</m_topoIndex> <m_clusterGroupNumber>1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>23</id> <name>p_Result_2</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>950</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>950</second> </item> </second> </item> </inlineStackInfo> <originalName>__Result__</originalName> <rtlName>p_Result_2_fu_280_p2</rtlName> <control>auto</control> <opType>and</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>167</item> <item>168</item> </oprand_edges> <opcode>and</opcode> <m_Display>0</m_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="_18"> <Value> <Obj> <type>0</type> <id>24</id> <name>icmp_ln950</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>950</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>950</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>icmp_ln950_fu_286_p2</rtlName> <control>auto</control> <opType>icmp</opType> <implIndex>auto</implIndex> <coreName>Cmp</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>9</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>169</item> <item>170</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.58</m_delay> <m_topoIndex>16</m_topoIndex> <m_clusterGroupNumber>1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>25</id> <name>tmp_6</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>952</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>952</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_6_fu_292_p3</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>741487420</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>172</item> <item>173</item> <item>174</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>17</m_topoIndex> <m_clusterGroupNumber>2</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>26</id> <name>xor_ln952</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>952</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>952</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>xor_ln952_fu_300_p2</rtlName> <control>auto</control> <opType>xor</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>175</item> <item>176</item> </oprand_edges> <opcode>xor</opcode> <m_Display>0</m_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>2</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>27</id> <name>and_ln949</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>949</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>949</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>and_ln949_fu_306_p2</rtlName> <control>auto</control> <opType>and</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>177</item> <item>178</item> </oprand_edges> <opcode>and</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>19</m_topoIndex> <m_clusterGroupNumber>2</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>28</id> <name>add_ln952</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>952</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>952</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>add_ln952_fu_312_p2</rtlName> <control>auto</control> <opType>add</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>179</item> <item>181</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.34</m_delay> <m_topoIndex>20</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>29</id> <name>shl_ln952</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>952</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>952</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>shl_ln952_fu_318_p2</rtlName> <control>auto</control> <opType>shl</opType> <implIndex>auto_pipe</implIndex> <coreName>Shifter</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>75</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>183</item> <item>184</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>21</m_topoIndex> <m_clusterGroupNumber>3</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>30</id> <name>and_ln952</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>952</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>952</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>and_ln952_fu_324_p2</rtlName> <control>auto</control> <opType>and</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>185</item> <item>186</item> </oprand_edges> <opcode>and</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>22</m_topoIndex> <m_clusterGroupNumber>3</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>31</id> <name>p_Result_3</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>952</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>952</second> </item> </second> </item> </inlineStackInfo> <originalName>__Result__</originalName> <rtlName>p_Result_3_fu_330_p2</rtlName> <control>auto</control> <opType>icmp</opType> <implIndex>auto</implIndex> <coreName>Cmp</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>9</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>187</item> <item>188</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.21</m_delay> <m_topoIndex>23</m_topoIndex> <m_clusterGroupNumber>3</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>32</id> <name>a</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>952</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>952</second> </item> </second> </item> </inlineStackInfo> <originalName>a</originalName> <rtlName>a_fu_336_p2</rtlName> <control>auto</control> <opType>or</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>189</item> <item>190</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>24</m_topoIndex> <m_clusterGroupNumber>2</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>33</id> <name>zext_ln960</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>960</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>960</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln960_fu_410_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4294967295</coreId> <rtlModuleName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>191</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>36</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>34</id> <name>icmp_ln961</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>961</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>961</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>icmp_ln961_fu_342_p2</rtlName> <control>auto</control> <opType>icmp</opType> <implIndex>auto</implIndex> <coreName>Cmp</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>9</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>192</item> <item>193</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.28</m_delay> <m_topoIndex>25</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>35</id> <name>add_ln961</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>961</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>961</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>add_ln961_fu_348_p2</rtlName> <control>auto</control> <opType>add</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>194</item> <item>196</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.51</m_delay> <m_topoIndex>26</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>36</id> <name>zext_ln961</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>961</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>961</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln961_fu_413_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4294967295</coreId> <rtlModuleName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>197</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>37</m_topoIndex> <m_clusterGroupNumber>4</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>37</id> <name>lshr_ln961</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>961</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>961</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>lshr_ln961_fu_416_p2</rtlName> <control>auto</control> <opType>lshr</opType> <implIndex>auto_pipe</implIndex> <coreName>Shifter</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>75</coreId> <rtlModuleName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>198</item> <item>199</item> </oprand_edges> <opcode>lshr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>38</m_topoIndex> <m_clusterGroupNumber>4</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>38</id> <name>sub_ln962</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>962</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>962</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>sub_ln962_fu_354_p2</rtlName> <control>auto</control> <opType>sub</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>201</item> <item>202</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.51</m_delay> <m_topoIndex>27</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>39</id> <name>zext_ln962</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>962</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>962</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln962_fu_422_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>741487420</coreId> <rtlModuleName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>203</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>39</m_topoIndex> <m_clusterGroupNumber>4</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>40</id> <name>shl_ln962</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>962</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>962</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>shl_ln962_fu_425_p2</rtlName> <control>auto</control> <opType>shl</opType> <implIndex>auto_pipe</implIndex> <coreName>Shifter</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>75</coreId> <rtlModuleName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>204</item> <item>205</item> </oprand_edges> <opcode>shl</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>40</m_topoIndex> <m_clusterGroupNumber>4</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>41</id> <name>tobool29_i_i648</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>952</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>952</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tobool29_i_i648_fu_360_p2</rtlName> <control>auto</control> <opType>and</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>206</item> <item>207</item> </oprand_edges> <opcode>and</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.47</m_delay> <m_topoIndex>28</m_topoIndex> <m_clusterGroupNumber>2</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>42</id> <name>m</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>961</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>961</second> </item> </second> </item> </inlineStackInfo> <originalName>m</originalName> <rtlName>m_fu_431_p3</rtlName> <control>auto</control> <opType>select</opType> <implIndex>auto_sel</implIndex> <coreName>Sel</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>73</coreId> <rtlModuleName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>208</item> <item>209</item> <item>210</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>41</m_topoIndex> <m_clusterGroupNumber>4</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>43</id> <name>zext_ln964</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>964</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>964</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln964_fu_438_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4294967295</coreId> <rtlModuleName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>211</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>42</m_topoIndex> <m_clusterGroupNumber>4</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>44</id> <name>m_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>964</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>964</second> </item> </second> </item> </inlineStackInfo> <originalName>m</originalName> <rtlName>m_1_fu_441_p2</rtlName> <control>auto</control> <opType>add</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>212</item> <item>213</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>2.00</m_delay> <m_topoIndex>43</m_topoIndex> <m_clusterGroupNumber>4</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>45</id> <name>m_5</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>965</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>965</second> </item> </second> </item> </inlineStackInfo> <originalName>m</originalName> <rtlName>m_5_fu_447_p4</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>181</coreId> <rtlModuleName/> </Obj> <bitwidth>63</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>215</item> <item>216</item> <item>217</item> <item>219</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>44</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>46</id> <name>zext_ln965</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>965</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>965</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln965_fu_457_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>220</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>45</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_41"> <Value> <Obj> <type>0</type> <id>47</id> <name>p_Result_4</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>968</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>968</second> </item> </second> </item> </inlineStackInfo> <originalName>__Result__</originalName> <rtlName>p_Result_4_fu_461_p3</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>272</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>222</item> <item>223</item> <item>224</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>46</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>48</id> <name>select_ln946</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>946</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>946</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>select_ln946_fu_469_p3</rtlName> <control>auto</control> <opType>select</opType> <implIndex>auto_sel</implIndex> <coreName>Sel</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>73</coreId> <rtlModuleName/> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>225</item> <item>227</item> <item>229</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.49</m_delay> <m_topoIndex>47</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_43"> <Value> <Obj> <type>0</type> <id>49</id> <name>trunc_ln946</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>946</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>946</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>trunc_ln946_fu_366_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>230</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>29</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_44"> <Value> <Obj> <type>0</type> <id>50</id> <name>sub_ln968</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>968</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>968</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>sub_ln968_fu_477_p2</rtlName> <control>auto</control> <opType>add</opType> <implIndex>tadder</implIndex> <coreName>TAddSub</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>10</coreId> <rtlModuleName/> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>232</item> <item>233</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>48</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>51</id> <name>add_ln968</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>968</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>968</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>add_ln968_fu_482_p2</rtlName> <control>auto</control> <opType>add</opType> <implIndex>tadder</implIndex> <coreName>TAddSub</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>10</coreId> <rtlModuleName/> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>234</item> <item>235</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.98</m_delay> <m_topoIndex>49</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_46"> <Value> <Obj> <type>0</type> <id>52</id> <name>tmp</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>974</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>974</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_fu_488_p3</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>237</item> <item>239</item> <item>240</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>50</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_47"> <Value> <Obj> <type>0</type> <id>53</id> <name>p_Result_7</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>974</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>974</second> </item> </second> </item> </inlineStackInfo> <originalName>__Result__</originalName> <rtlName>p_Result_7_fu_496_p5</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>5</count> <item_version>0</item_version> <item>242</item> <item>243</item> <item>244</item> <item>246</item> <item>247</item> </oprand_edges> <opcode>partset</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>51</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_48"> <Value> <Obj> <type>0</type> <id>54</id> <name>bitcast_ln741</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_common.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>741</lineNumber> <contextFuncName>rawBitsToDouble</contextFuncName> <contextNormFuncName>rawBitsToDouble</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_common.h</first> <second>rawBitsToDouble</second> </first> <second>741</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_191_p0</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>248</item> </oprand_edges> <opcode>bitcast</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>52</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_49"> <Value> <Obj> <type>0</type> <id>55</id> <name>trunc_ln3</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1560</lineNumber> <contextFuncName>operator&amp;gt;=</contextFuncName> <contextNormFuncName>operator_ge</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator&amp;gt;=</second> </first> <second>1560</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>trunc_ln3_fu_513_p4</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>52</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>250</item> <item>251</item> <item>252</item> <item>253</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>53</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_50"> <Value> <Obj> <type>0</type> <id>56</id> <name>icmp_ln1560</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1560</lineNumber> <contextFuncName>operator&amp;gt;=</contextFuncName> <contextNormFuncName>operator_ge</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator&amp;gt;=</second> </first> <second>1560</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>icmp_ln1560_fu_523_p2</rtlName> <control>auto</control> <opType>icmp</opType> <implIndex>auto</implIndex> <coreName>Cmp</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>9</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>254</item> <item>256</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.07</m_delay> <m_topoIndex>54</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_51"> <Value> <Obj> <type>0</type> <id>57</id> <name>icmp_ln1560_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1560</lineNumber> <contextFuncName>operator&amp;gt;=</contextFuncName> <contextNormFuncName>operator_ge</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator&amp;gt;=</second> </first> <second>1560</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>icmp_ln1560_1_fu_529_p2</rtlName> <control>auto</control> <opType>icmp</opType> <implIndex>auto</implIndex> <coreName>Cmp</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>9</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>257</item> <item>259</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.36</m_delay> <m_topoIndex>55</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_52"> <Value> <Obj> <type>0</type> <id>58</id> <name>or_ln1560</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1560</lineNumber> <contextFuncName>operator&amp;gt;=</contextFuncName> <contextNormFuncName>operator_ge</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator&amp;gt;=</second> </first> <second>1560</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>or_ln1560_fu_540_p2</rtlName> <control>auto</control> <opType>or</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>260</item> <item>261</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>58</m_topoIndex> <m_clusterGroupNumber>5</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_53"> <Value> <Obj> <type>0</type> <id>59</id> <name>tmp_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1560</lineNumber> <contextFuncName>operator&amp;gt;=</contextFuncName> <contextNormFuncName>operator_ge</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator&amp;gt;=</second> </first> <second>1560</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>dcmp_64ns_64ns_1_2_no_dsp_1_U1</rtlName> <control>auto</control> <opType>dcmp</opType> <implIndex>auto</implIndex> <coreName>DCompare</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>38</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>262</item> <item>264</item> </oprand_edges> <opcode>dcmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.81</m_delay> <m_topoIndex>56</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_54"> <Value> <Obj> <type>0</type> <id>60</id> <name>and_ln1560</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1560</lineNumber> <contextFuncName>operator&amp;gt;=</contextFuncName> <contextNormFuncName>operator_ge</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator&amp;gt;=</second> </first> <second>1560</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>and_ln1560_fu_544_p2</rtlName> <control>auto</control> <opType>and</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>265</item> <item>266</item> </oprand_edges> <opcode>and</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>59</m_topoIndex> <m_clusterGroupNumber>5</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_55"> <Value> <Obj> <type>0</type> <id>61</id> <name>xor_ln1560</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1560</lineNumber> <contextFuncName>operator&amp;gt;=</contextFuncName> <contextNormFuncName>operator_ge</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator&amp;gt;=</second> </first> <second>1560</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>xor_ln1560_fu_550_p2</rtlName> <control>auto</control> <opType>xor</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>267</item> <item>268</item> </oprand_edges> <opcode>xor</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.47</m_delay> <m_topoIndex>60</m_topoIndex> <m_clusterGroupNumber>5</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_56"> <Value> <Obj> <type>0</type> <id>62</id> <name>tmp_8</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1549</lineNumber> <contextFuncName>operator&amp;gt;=&amp;lt;32, 32, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_ge_32_32_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator&amp;gt;=&amp;lt;32, 32, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1549</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_8_fu_370_p4</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>270</item> <item>271</item> <item>273</item> <item>274</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>30</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_57"> <Value> <Obj> <type>0</type> <id>63</id> <name>icmp_ln1549_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1549</lineNumber> <contextFuncName>operator&amp;gt;=&amp;lt;32, 32, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_ge_32_32_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator&amp;gt;=&amp;lt;32, 32, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1549</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>icmp_ln1549_1_fu_380_p2</rtlName> <control>auto</control> <opType>icmp</opType> <implIndex>auto</implIndex> <coreName>Cmp</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>9</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>275</item> <item>277</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.86</m_delay> <m_topoIndex>31</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_58"> <Value> <Obj> <type>0</type> <id>64</id> <name>tmp_2</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>712</lineNumber> <contextFuncName>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_20_6_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>712</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_2_reg_876</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4294967295</coreId> <rtlModuleName/> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>279</item> <item>280</item> <item>282</item> <item>283</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>32</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_59"> <Value> <Obj> <type>0</type> <id>65</id> <name>and_ln</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>712</lineNumber> <contextFuncName>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_20_6_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>712</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>and_ln_fu_556_p3</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>285</item> <item>286</item> <item>288</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>61</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_60"> <Value> <Obj> <type>0</type> <id>66</id> <name>zext_ln712</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>712</lineNumber> <contextFuncName>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_20_6_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>712</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln712_fu_563_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>15</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>289</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>62</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_61"> <Value> <Obj> <type>0</type> <id>67</id> <name>x0_V</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>712</lineNumber> <contextFuncName>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_20_6_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>712</second> </item> </second> </item> </inlineStackInfo> <originalName>x0.V</originalName> <rtlName>x0_V_fu_567_p2</rtlName> <control>auto</control> <opType>add</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName/> </Obj> <bitwidth>15</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>290</item> <item>292</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.34</m_delay> <m_topoIndex>63</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_62"> <Value> <Obj> <type>0</type> <id>68</id> <name>zext_ln6</name> <fileName>Sigmoid.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>6</lineNumber> <contextFuncName>sigmoid_top</contextFuncName> <contextNormFuncName>sigmoid_top</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>Sigmoid.cpp</first> <second>sigmoid_top</second> </first> <second>6</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln6_fu_573_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>230</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>293</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>64</m_topoIndex> <m_clusterGroupNumber>6</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_63"> <Value> <Obj> <type>0</type> <id>69</id> <name>tmp_3</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>712</lineNumber> <contextFuncName>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_20_6_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>712</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_3_reg_881</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>295</item> <item>296</item> <item>298</item> <item>299</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>33</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_64"> <Value> <Obj> <type>0</type> <id>70</id> <name>and_ln712_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>712</lineNumber> <contextFuncName>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_20_6_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>712</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>and_ln712_1_fu_577_p3</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>15</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>301</item> <item>302</item> <item>303</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>65</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_65"> <Value> <Obj> <type>0</type> <id>71</id> <name>zext_ln712_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>712</lineNumber> <contextFuncName>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_20_6_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>712</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln712_1_fu_584_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>304</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>66</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_66"> <Value> <Obj> <type>0</type> <id>72</id> <name>x0_V_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>712</lineNumber> <contextFuncName>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_20_6_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>712</second> </item> </second> </item> </inlineStackInfo> <originalName>x0.V</originalName> <rtlName>x0_V_1_fu_588_p2</rtlName> <control>auto</control> <opType>add</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>305</item> <item>307</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.34</m_delay> <m_topoIndex>67</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_67"> <Value> <Obj> <type>0</type> <id>73</id> <name>add_ln712</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>712</lineNumber> <contextFuncName>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_20_6_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>712</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>add_ln712_fu_594_p2</rtlName> <control>auto</control> <opType>add</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>308</item> <item>310</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.34</m_delay> <m_topoIndex>68</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_68"> <Value> <Obj> <type>0</type> <id>74</id> <name>tmp_4</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>712</lineNumber> <contextFuncName>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_20_6_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>712</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_4_fu_599_p4</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1701869908</coreId> <rtlModuleName/> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>312</item> <item>313</item> <item>315</item> <item>316</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>69</m_topoIndex> <m_clusterGroupNumber>6</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_69"> <Value> <Obj> <type>0</type> <id>75</id> <name>x0_V_2</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>712</lineNumber> <contextFuncName>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_20_6_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator=&amp;lt;20, 6, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>712</second> </item> </second> </item> </inlineStackInfo> <originalName>x0.V</originalName> <rtlName>x0_V_2_fu_609_p3</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1852796269</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>318</item> <item>319</item> <item>320</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>70</m_topoIndex> <m_clusterGroupNumber>6</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_70"> <Value> <Obj> <type>0</type> <id>76</id> <name>or_ln938</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>938</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>938</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>or_ln938_fu_617_p2</rtlName> <control>auto</control> <opType>or</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>321</item> <item>322</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.47</m_delay> <m_topoIndex>71</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_71"> <Value> <Obj> <type>0</type> <id>77</id> <name>or_ln1560_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1560</lineNumber> <contextFuncName>operator&amp;gt;=</contextFuncName> <contextNormFuncName>operator_ge</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator&amp;gt;=</second> </first> <second>1560</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>or_ln1560_1_fu_622_p2</rtlName> <control>auto</control> <opType>or</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>323</item> <item>324</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>72</m_topoIndex> <m_clusterGroupNumber>6</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_72"> <Value> <Obj> <type>0</type> <id>78</id> <name>x0_V_3</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1560</lineNumber> <contextFuncName>operator&amp;gt;=</contextFuncName> <contextNormFuncName>operator_ge</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator&amp;gt;=</second> </first> <second>1560</second> </item> </second> </item> </inlineStackInfo> <originalName>x0.V</originalName> <rtlName>x0_V_3_fu_628_p3</rtlName> <control>auto</control> <opType>select</opType> <implIndex>auto_sel</implIndex> <coreName>Sel</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>73</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>325</item> <item>326</item> <item>327</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>73</m_topoIndex> <m_clusterGroupNumber>6</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_73"> <Value> <Obj> <type>0</type> <id>79</id> <name>xor_ln938</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>938</lineNumber> <contextFuncName>to_double</contextFuncName> <contextNormFuncName>to_double</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>to_double</second> </first> <second>938</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>xor_ln938_fu_636_p2</rtlName> <control>auto</control> <opType>xor</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>328</item> <item>329</item> </oprand_edges> <opcode>xor</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>74</m_topoIndex> <m_clusterGroupNumber>7</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_74"> <Value> <Obj> <type>0</type> <id>80</id> <name>and_ln1549</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1549</lineNumber> <contextFuncName>operator&amp;gt;=&amp;lt;32, 32, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_ge_32_32_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator&amp;gt;=&amp;lt;32, 32, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1549</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>and_ln1549_fu_642_p2</rtlName> <control>auto</control> <opType>and</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>330</item> <item>331</item> </oprand_edges> <opcode>and</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>75</m_topoIndex> <m_clusterGroupNumber>7</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_75"> <Value> <Obj> <type>0</type> <id>81</id> <name>and_ln1549_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1549</lineNumber> <contextFuncName>operator&amp;gt;=&amp;lt;32, 32, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_ge_32_32_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator&amp;gt;=&amp;lt;32, 32, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1549</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>and_ln1549_1_fu_647_p2</rtlName> <control>auto</control> <opType>and</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>332</item> <item>333</item> </oprand_edges> <opcode>and</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.47</m_delay> <m_topoIndex>76</m_topoIndex> <m_clusterGroupNumber>7</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_76"> <Value> <Obj> <type>0</type> <id>82</id> <name>x0_V_4</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1549</lineNumber> <contextFuncName>operator&amp;gt;=&amp;lt;32, 32, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_ge_32_32_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator&amp;gt;=&amp;lt;32, 32, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1549</second> </item> </second> </item> </inlineStackInfo> <originalName>x0.V</originalName> <rtlName>x0_V_4_fu_653_p3</rtlName> <control>auto</control> <opType>select</opType> <implIndex>auto_sel</implIndex> <coreName>Sel</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>73</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>334</item> <item>335</item> <item>336</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.47</m_delay> <m_topoIndex>77</m_topoIndex> <m_clusterGroupNumber>6</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_77"> <Value> <Obj> <type>0</type> <id>83</id> <name>x0_V_6</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1549</lineNumber> <contextFuncName>operator&amp;gt;=&amp;lt;32, 32, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_ge_32_32_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator&amp;gt;=&amp;lt;32, 32, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1549</second> </item> </second> </item> </inlineStackInfo> <originalName>x0.V</originalName> <rtlName>x0_V_6_fu_687_p3</rtlName> <control>auto</control> <opType>select</opType> <implIndex>auto_sel</implIndex> <coreName>Sel</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>73</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>337</item> <item>339</item> <item>340</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.39</m_delay> <m_topoIndex>85</m_topoIndex> <m_clusterGroupNumber>8</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_78"> <Value> <Obj> <type>0</type> <id>84</id> <name>zext_ln1168</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1168</lineNumber> <contextFuncName>operator*&amp;lt;16, 4, false, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_mul_16_4_false_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator*&amp;lt;16, 4, false, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1168</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_805_p00</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>977154080</coreId> <rtlModuleName/> </Obj> <bitwidth>29</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>341</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>34</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_79"> <Value> <Obj> <type>0</type> <id>85</id> <name>r_V</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1171</lineNumber> <contextFuncName>operator*&amp;lt;16, 4, false, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_mul_16_4_false_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator*&amp;lt;16, 4, false, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1171</second> </item> </second> </item> </inlineStackInfo> <originalName>r.V</originalName> <rtlName>mul_mul_16ns_13ns_29_4_1_U3</rtlName> <control>auto</control> <opType>mul</opType> <implIndex>dsp</implIndex> <coreName>DSP48</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>119</coreId> <rtlModuleName/> </Obj> <bitwidth>29</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>342</item> <item>344</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>1.54</m_delay> <m_topoIndex>35</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_80"> <Value> <Obj> <type>0</type> <id>86</id> <name>m_4</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>640</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_ref.h</first> <second>get</second> </first> <second>640</second> </item> </second> </item> </inlineStackInfo> <originalName>m</originalName> <rtlName>m_4_fu_728_p4</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1717530721</coreId> <rtlModuleName/> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>346</item> <item>347</item> <item>349</item> <item>351</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>95</m_topoIndex> <m_clusterGroupNumber>9</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_81"> <Value> <Obj> <type>0</type> <id>87</id> <name>n</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>640</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_ref.h</first> <second>get</second> </first> <second>640</second> </item> </second> </item> </inlineStackInfo> <originalName>n</originalName> <rtlName>n_reg_916</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1601200476</coreId> <rtlModuleName/> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>352</item> <item>353</item> <item>355</item> <item>357</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>78</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_82"> <Value> <Obj> <type>0</type> <id>88</id> <name>r_V_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>566</lineNumber> <contextFuncName>operator unsigned long long</contextFuncName> <contextNormFuncName>operator_unsigned_long_long</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_ref.h</first> <second>operator unsigned long long</second> </first> <second>566</second> </item> </second> </item> </inlineStackInfo> <originalName>r.V</originalName> <rtlName>r_V_1_fu_670_p4</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1702060386</coreId> <rtlModuleName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>359</item> <item>360</item> <item>361</item> <item>363</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>79</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_83"> <Value> <Obj> <type>0</type> <id>89</id> <name>zext_ln1168_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1168</lineNumber> <contextFuncName>operator*&amp;lt;16, 4, false, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_mul_16_4_false_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator*&amp;lt;16, 4, false, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1168</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_813_p00</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>741749052</coreId> <rtlModuleName/> </Obj> <bitwidth>20</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>364</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>80</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_84"> <Value> <Obj> <type>0</type> <id>90</id> <name>r_V_2</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1171</lineNumber> <contextFuncName>operator*&amp;lt;16, 4, false, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_mul_16_4_false_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator*&amp;lt;16, 4, false, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1171</second> </item> </second> </item> </inlineStackInfo> <originalName>r.V</originalName> <rtlName>mul_mul_8ns_12ns_20_4_1_U4</rtlName> <control>auto</control> <opType>mul</opType> <implIndex>dsp</implIndex> <coreName>DSP48</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>119</coreId> <rtlModuleName/> </Obj> <bitwidth>20</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>365</item> <item>367</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>1.54</m_delay> <m_topoIndex>81</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_85"> <Value> <Obj> <type>0</type> <id>91</id> <name>zext_ln573</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_int_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>573</lineNumber> <contextFuncName>operator unsigned long long</contextFuncName> <contextNormFuncName>operator_unsigned_long_long</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_int_base.h</first> <second>operator unsigned long long</second> </first> <second>573</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln573_fu_683_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>824192056</coreId> <rtlModuleName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>368</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>82</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_86"> <Value> <Obj> <type>0</type> <id>92</id> <name>trunc_ln4</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1246</lineNumber> <contextFuncName>operator-&amp;lt;16, 2, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_sub_16_2_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator-&amp;lt;16, 2, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1246</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>trunc_ln4_fu_693_p4</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1834970975</coreId> <rtlModuleName/> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>370</item> <item>371</item> <item>373</item> <item>374</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>86</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_87"> <Value> <Obj> <type>0</type> <id>93</id> <name>zext_ln1246</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1246</lineNumber> <contextFuncName>operator-&amp;lt;16, 2, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_sub_16_2_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator-&amp;lt;16, 2, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1246</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln1246_fu_702_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>859596147</coreId> <rtlModuleName/> </Obj> <bitwidth>15</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>375</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>87</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_88"> <Value> <Obj> <type>0</type> <id>94</id> <name>ret_V</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1246</lineNumber> <contextFuncName>operator-&amp;lt;16, 2, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_sub_16_2_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator-&amp;lt;16, 2, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1246</second> </item> </second> </item> </inlineStackInfo> <originalName>ret.V</originalName> <rtlName>ret_V_fu_706_p2</rtlName> <control>auto</control> <opType>sub</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName/> </Obj> <bitwidth>15</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>377</item> <item>378</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.34</m_delay> <m_topoIndex>88</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_89"> <Value> <Obj> <type>0</type> <id>95</id> <name>ROM_EXP_V_addr</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1169</lineNumber> <contextFuncName>operator*&amp;lt;47, 33, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_mul_47_33_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator*&amp;lt;47, 33, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1169</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>741749052</coreId> <rtlModuleName/> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>379</item> <item>381</item> <item>382</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>83</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_90"> <Value> <Obj> <type>0</type> <id>96</id> <name>r_V_3</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1169</lineNumber> <contextFuncName>operator*&amp;lt;47, 33, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_mul_47_33_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator*&amp;lt;47, 33, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1169</second> </item> </second> </item> </inlineStackInfo> <originalName>r.V</originalName> <rtlName/> <control>auto</control> <opType>rom</opType> <implIndex>auto</implIndex> <coreName>ROM</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>95</coreId> <rtlModuleName/> </Obj> <bitwidth>15</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>383</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.14</m_delay> <m_topoIndex>84</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_91"> <Value> <Obj> <type>0</type> <id>97</id> <name>zext_ln1168_2</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1168</lineNumber> <contextFuncName>operator*&amp;lt;47, 33, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_mul_47_33_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator*&amp;lt;47, 33, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1168</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_820_p10</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>2020173407</coreId> <rtlModuleName/> </Obj> <bitwidth>30</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>384</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>89</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_92"> <Value> <Obj> <type>0</type> <id>98</id> <name>zext_ln1171</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1171</lineNumber> <contextFuncName>operator*&amp;lt;47, 33, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_mul_47_33_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator*&amp;lt;47, 33, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1171</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>grp_fu_820_p00</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1834970975</coreId> <rtlModuleName/> </Obj> <bitwidth>30</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>385</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>90</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_93"> <Value> <Obj> <type>0</type> <id>99</id> <name>r_V_4</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1171</lineNumber> <contextFuncName>operator*&amp;lt;47, 33, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_mul_47_33_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator*&amp;lt;47, 33, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1171</second> </item> </second> </item> </inlineStackInfo> <originalName>r.V</originalName> <rtlName>mul_mul_15ns_15ns_30_4_1_U5</rtlName> <control>auto</control> <opType>mul</opType> <implIndex>dsp</implIndex> <coreName>DSP48</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>119</coreId> <rtlModuleName/> </Obj> <bitwidth>30</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>386</item> <item>387</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>1.54</m_delay> <m_topoIndex>91</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_94"> <Value> <Obj> <type>0</type> <id>100</id> <name>zext_ln1168_3</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1168</lineNumber> <contextFuncName>operator*&amp;lt;47, 33, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_mul_47_33_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator*&amp;lt;47, 33, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1168</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln1168_3_fu_737_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1834970975</coreId> <rtlModuleName/> </Obj> <bitwidth>63</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>388</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>96</m_topoIndex> <m_clusterGroupNumber>9</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_95"> <Value> <Obj> <type>0</type> <id>101</id> <name>zext_ln1386</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1386</lineNumber> <contextFuncName>operator&amp;gt;&amp;gt;</contextFuncName> <contextNormFuncName>operator_rs</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator&amp;gt;&amp;gt;</second> </first> <second>1386</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln1386_fu_740_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>744846706</coreId> <rtlModuleName/> </Obj> <bitwidth>63</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>389</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>97</m_topoIndex> <m_clusterGroupNumber>9</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_96"> <Value> <Obj> <type>0</type> <id>102</id> <name>r</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1386</lineNumber> <contextFuncName>operator&amp;gt;&amp;gt;</contextFuncName> <contextNormFuncName>operator_rs</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator&amp;gt;&amp;gt;</second> </first> <second>1386</second> </item> </second> </item> </inlineStackInfo> <originalName>r</originalName> <rtlName>r_fu_744_p2</rtlName> <control>auto</control> <opType>lshr</opType> <implIndex>auto_pipe</implIndex> <coreName>Shifter</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>75</coreId> <rtlModuleName/> </Obj> <bitwidth>63</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>390</item> <item>391</item> </oprand_edges> <opcode>lshr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>98</m_topoIndex> <m_clusterGroupNumber>9</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_97"> <Value> <Obj> <type>0</type> <id>103</id> <name>exp_negx_V</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>717</lineNumber> <contextFuncName>operator=&amp;lt;63, 35, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_63_35_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator=&amp;lt;63, 35, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>717</second> </item> </second> </item> </inlineStackInfo> <originalName>exp_negx.V</originalName> <rtlName>exp_negx_V_fu_750_p4</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1013280889</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>393</item> <item>394</item> <item>396</item> <item>398</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>99</m_topoIndex> <m_clusterGroupNumber>9</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_98"> <Value> <Obj> <type>0</type> <id>104</id> <name>zext_ln1352</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1352</lineNumber> <contextFuncName>operator&amp;lt;&amp;lt;</contextFuncName> <contextNormFuncName>operator_ls</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator&amp;lt;&amp;lt;</second> </first> <second>1352</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln1352_fu_720_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>399</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>92</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_99"> <Value> <Obj> <type>0</type> <id>105</id> <name>trunc_ln1352</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1352</lineNumber> <contextFuncName>operator&amp;lt;&amp;lt;</contextFuncName> <contextNormFuncName>operator_ls</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator&amp;lt;&amp;lt;</second> </first> <second>1352</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>trunc_ln1352_fu_724_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1702195828</coreId> <rtlModuleName/> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>400</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>93</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_100"> <Value> <Obj> <type>0</type> <id>106</id> <name>r_V_6</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1171</lineNumber> <contextFuncName>operator*&amp;lt;16, 2, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_mul_16_2_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator*&amp;lt;16, 2, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1171</second> </item> </second> </item> </inlineStackInfo> <originalName>r.V</originalName> <rtlName>mul_mul_16ns_16ns_32_4_1_U6</rtlName> <control>auto</control> <opType>mul</opType> <implIndex>dsp</implIndex> <coreName>DSP48</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>119</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>401</item> <item>402</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>1.54</m_delay> <m_topoIndex>94</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_101"> <Value> <Obj> <type>0</type> <id>107</id> <name>sext_ln1245</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1245</lineNumber> <contextFuncName>operator+&amp;lt;16, 2, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_add_16_2_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator+&amp;lt;16, 2, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1245</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>sext_ln1245_fu_760_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1852796269</coreId> <rtlModuleName/> </Obj> <bitwidth>17</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>403</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>100</m_topoIndex> <m_clusterGroupNumber>9</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_102"> <Value> <Obj> <type>0</type> <id>108</id> <name>ret_V_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1245</lineNumber> <contextFuncName>operator+&amp;lt;16, 2, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_add_16_2_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator+&amp;lt;16, 2, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1245</second> </item> </second> </item> </inlineStackInfo> <originalName>ret.V</originalName> <rtlName>ret_V_1_fu_764_p2</rtlName> <control>auto</control> <opType>add</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName/> </Obj> <bitwidth>17</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>404</item> <item>406</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.96</m_delay> <m_topoIndex>101</m_topoIndex> <m_clusterGroupNumber>9</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_103"> <Value> <Obj> <type>0</type> <id>109</id> <name>zext_ln1246_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1246</lineNumber> <contextFuncName>operator-&amp;lt;79, 37, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_sub_79_37_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator-&amp;lt;79, 37, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1246</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>mul_ln1246_fu_776_p10</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>412386088</coreId> <rtlModuleName/> </Obj> <bitwidth>43</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>407</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>102</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_104"> <Value> <Obj> <type>0</type> <id>110</id> <name>sext_ln1246</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1246</lineNumber> <contextFuncName>operator-&amp;lt;79, 37, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_sub_79_37_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator-&amp;lt;79, 37, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1246</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>153322816</coreId> <rtlModuleName/> </Obj> <bitwidth>43</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>408</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>103</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_105"> <Value> <Obj> <type>0</type> <id>111</id> <name>mul_ln1246</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1246</lineNumber> <contextFuncName>operator-&amp;lt;79, 37, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_sub_79_37_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator-&amp;lt;79, 37, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1246</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>mul_17s_32ns_43_1_1_U2</rtlName> <control>auto</control> <opType>mul</opType> <implIndex>auto</implIndex> <coreName>Multiplier</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>3</coreId> <rtlModuleName/> </Obj> <bitwidth>43</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>409</item> <item>410</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>5.49</m_delay> <m_topoIndex>104</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_106"> <Value> <Obj> <type>0</type> <id>112</id> <name>lhs_V</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>737</lineNumber> <contextFuncName>operator=&amp;lt;16, 2, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_16_2_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator=&amp;lt;16, 2, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>737</second> </item> </second> </item> </inlineStackInfo> <originalName>lhs.V</originalName> <rtlName>lhs_V_fu_782_p3</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1768713801</coreId> <rtlModuleName/> </Obj> <bitwidth>43</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>412</item> <item>413</item> <item>415</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>105</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_107"> <Value> <Obj> <type>0</type> <id>113</id> <name>ret_V_2</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>1246</lineNumber> <contextFuncName>operator-&amp;lt;79, 37, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_sub_79_37_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator-&amp;lt;79, 37, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>1246</second> </item> </second> </item> </inlineStackInfo> <originalName>ret.V</originalName> <rtlName>ret_V_2_fu_789_p2</rtlName> <control>auto</control> <opType>sub</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName/> </Obj> <bitwidth>43</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>416</item> <item>417</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.62</m_delay> <m_topoIndex>106</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_108"> <Value> <Obj> <type>0</type> <id>114</id> <name>trunc_ln5</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>717</lineNumber> <contextFuncName>operator=&amp;lt;16, 2, true, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_16_2_true_AP_TRN_AP_WRAP_0</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</first> <second>operator=&amp;lt;16, 2, true, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>717</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ap_return</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>976894836</coreId> <rtlModuleName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>419</item> <item>420</item> <item>422</item> <item>424</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>107</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_109"> <Value> <Obj> <type>0</type> <id>115</id> <name>_ln35</name> <fileName>Sigmoid.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>35</lineNumber> <contextFuncName>sigmoid_top</contextFuncName> <contextNormFuncName>sigmoid_top</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>Sigmoid.cpp</first> <second>sigmoid_top</second> </first> <second>35</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1869182069</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>425</item> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>108</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_110"> <Value> <Obj> <type>0</type> <id>464</id> <name>ROM_EXP_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName>ROM_EXP_V_U</rtlName> <control>auto</control> <opType>rom_1p</opType> <implIndex>auto</implIndex> <coreName>ROM</coreName> <isStorage>1</isStorage> <storageDepth>16</storageDepth> <coreId>95</coreId> <rtlModuleName>sigmoid_top_ROM_EXP_V</rtlModuleName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>GlobalMem</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0</m_delay> <m_topoIndex>-1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>51</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_111"> <Value> <Obj> <type>2</type> <id>121</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1953394531</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <const_type>0</const_type> <content>20479</content> </item> <item class_id_reference="16" object_id="_112"> <Value> <Obj> <type>2</type> <id>124</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1953394531</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_113"> <Value> <Obj> <type>2</type> <id>129</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1953394531</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>15</content> </item> <item class_id_reference="16" object_id="_114"> <Value> <Obj> <type>2</type> <id>131</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1953394531</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_115"> <Value> <Obj> <type>2</type> <id>135</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1953394531</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <const_type>0</const_type> <content>65535</content> </item> <item class_id_reference="16" object_id="_116"> <Value> <Obj> <type>2</type> <id>141</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1717924464</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_117"> <Value> <Obj> <type>2</type> <id>143</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>741749051</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>16</content> </item> <item class_id_reference="16" object_id="_118"> <Value> <Obj> <type>2</type> <id>148</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>572669287</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>4294967243</content> </item> <item class_id_reference="16" object_id="_119"> <Value> <Obj> <type>2</type> <id>153</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1702043749</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_120"> <Value> <Obj> <type>2</type> <id>155</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1886352501</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>31</content> </item> <item class_id_reference="16" object_id="_121"> <Value> <Obj> <type>2</type> <id>158</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1630019628</coreId> <rtlModuleName/> </Obj> <bitwidth>31</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_122"> <Value> <Obj> <type>2</type> <id>161</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1818391919</coreId> <rtlModuleName/> </Obj> <bitwidth>5</bitwidth> </Value> <const_type>0</const_type> <content>6</content> </item> <item class_id_reference="16" object_id="_123"> <Value> <Obj> <type>2</type> <id>180</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>741550437</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <const_type>0</const_type> <content>65483</content> </item> <item class_id_reference="16" object_id="_124"> <Value> <Obj> <type>2</type> <id>182</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1818322464</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_125"> <Value> <Obj> <type>2</type> <id>195</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1601200442</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>4294967242</content> </item> <item class_id_reference="16" object_id="_126"> <Value> <Obj> <type>2</type> <id>200</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1601265520</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>54</content> </item> <item class_id_reference="16" object_id="_127"> <Value> <Obj> <type>2</type> <id>218</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>673197109</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>63</content> </item> <item class_id_reference="16" object_id="_128"> <Value> <Obj> <type>2</type> <id>226</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>2020173407</coreId> <rtlModuleName/> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>1023</content> </item> <item class_id_reference="16" object_id="_129"> <Value> <Obj> <type>2</type> <id>228</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1397508187</coreId> <rtlModuleName/> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>1022</content> </item> <item class_id_reference="16" object_id="_130"> <Value> <Obj> <type>2</type> <id>231</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>893020206</coreId> <rtlModuleName/> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>4</content> </item> <item class_id_reference="16" object_id="_131"> <Value> <Obj> <type>2</type> <id>238</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1650418789</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_132"> <Value> <Obj> <type>2</type> <id>245</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1685024095</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>52</content> </item> <item class_id_reference="16" object_id="_133"> <Value> <Obj> <type>2</type> <id>255</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1701080941</coreId> <rtlModuleName/> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>2047</content> </item> <item class_id_reference="16" object_id="_134"> <Value> <Obj> <type>2</type> <id>258</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>539767840</coreId> <rtlModuleName/> </Obj> <bitwidth>52</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_135"> <Value> <Obj> <type>2</type> <id>263</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1701080941</coreId> <rtlModuleName/> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>1</const_type> <content>2.375</content> </item> <item class_id_reference="16" object_id="_136"> <Value> <Obj> <type>2</type> <id>272</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1918854503</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>12</content> </item> <item class_id_reference="16" object_id="_137"> <Value> <Obj> <type>2</type> <id>276</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1226980729</coreId> <rtlModuleName/> </Obj> <bitwidth>4</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_138"> <Value> <Obj> <type>2</type> <id>281</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1601200424</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>5</content> </item> <item class_id_reference="16" object_id="_139"> <Value> <Obj> <type>2</type> <id>287</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1629910131</coreId> <rtlModuleName/> </Obj> <bitwidth>2</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_140"> <Value> <Obj> <type>2</type> <id>291</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1701080941</coreId> <rtlModuleName/> </Obj> <bitwidth>15</bitwidth> </Value> <const_type>0</const_type> <content>13824</content> </item> <item class_id_reference="16" object_id="_141"> <Value> <Obj> <type>2</type> <id>297</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1853187616</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>3</content> </item> <item class_id_reference="16" object_id="_142"> <Value> <Obj> <type>2</type> <id>306</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>543516513</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <const_type>0</const_type> <content>10240</content> </item> <item class_id_reference="16" object_id="_143"> <Value> <Obj> <type>2</type> <id>309</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>539768105</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <const_type>0</const_type> <content>8192</content> </item> <item class_id_reference="16" object_id="_144"> <Value> <Obj> <type>2</type> <id>314</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1330007625</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>2</content> </item> <item class_id_reference="16" object_id="_145"> <Value> <Obj> <type>2</type> <id>338</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>694510703</coreId> <rtlModuleName/> </Obj> <bitwidth>16</bitwidth> </Value> <const_type>0</const_type> <content>16384</content> </item> <item class_id_reference="16" object_id="_146"> <Value> <Obj> <type>2</type> <id>343</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1953721967</coreId> <rtlModuleName/> </Obj> <bitwidth>29</bitwidth> </Value> <const_type>0</const_type> <content>5909</content> </item> <item class_id_reference="16" object_id="_147"> <Value> <Obj> <type>2</type> <id>348</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>644182881</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>24</content> </item> <item class_id_reference="16" object_id="_148"> <Value> <Obj> <type>2</type> <id>350</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>644182881</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>27</content> </item> <item class_id_reference="16" object_id="_149"> <Value> <Obj> <type>2</type> <id>354</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>694510703</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>20</content> </item> <item class_id_reference="16" object_id="_150"> <Value> <Obj> <type>2</type> <id>356</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1702390118</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>23</content> </item> <item class_id_reference="16" object_id="_151"> <Value> <Obj> <type>2</type> <id>362</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>795766637</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>19</content> </item> <item class_id_reference="16" object_id="_152"> <Value> <Obj> <type>2</type> <id>366</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1601200424</coreId> <rtlModuleName/> </Obj> <bitwidth>20</bitwidth> </Value> <const_type>0</const_type> <content>2839</content> </item> <item class_id_reference="16" object_id="_153"> <Value> <Obj> <type>2</type> <id>372</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1768316784</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>10</content> </item> <item class_id_reference="16" object_id="_154"> <Value> <Obj> <type>2</type> <id>376</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>539780469</coreId> <rtlModuleName/> </Obj> <bitwidth>15</bitwidth> </Value> <const_type>0</const_type> <content>16384</content> </item> <item class_id_reference="16" object_id="_155"> <Value> <Obj> <type>2</type> <id>380</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>543649385</coreId> <rtlModuleName/> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_156"> <Value> <Obj> <type>2</type> <id>395</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1919250543</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>14</content> </item> <item class_id_reference="16" object_id="_157"> <Value> <Obj> <type>2</type> <id>397</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>539587694</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>29</content> </item> <item class_id_reference="16" object_id="_158"> <Value> <Obj> <type>2</type> <id>405</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1701978146</coreId> <rtlModuleName/> </Obj> <bitwidth>17</bitwidth> </Value> <const_type>0</const_type> <content>16384</content> </item> <item class_id_reference="16" object_id="_159"> <Value> <Obj> <type>2</type> <id>414</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1919250543</coreId> <rtlModuleName/> </Obj> <bitwidth>29</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_160"> <Value> <Obj> <type>2</type> <id>421</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>909866092</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>35</content> </item> <item class_id_reference="16" object_id="_161"> <Value> <Obj> <type>2</type> <id>423</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1701080941</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>42</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="_162"> <Obj> <type>3</type> <id>116</id> <name>sigmoid_top</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>825110834</coreId> <rtlModuleName/> </Obj> <node_objs> <count>108</count> <item_version>0</item_version> <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> <item>39</item> <item>40</item> <item>41</item> <item>42</item> <item>43</item> <item>44</item> <item>45</item> <item>46</item> <item>47</item> <item>48</item> <item>49</item> <item>50</item> <item>51</item> <item>52</item> <item>53</item> <item>54</item> <item>55</item> <item>56</item> <item>57</item> <item>58</item> <item>59</item> <item>60</item> <item>61</item> <item>62</item> <item>63</item> <item>64</item> <item>65</item> <item>66</item> <item>67</item> <item>68</item> <item>69</item> <item>70</item> <item>71</item> <item>72</item> <item>73</item> <item>74</item> <item>75</item> <item>76</item> <item>77</item> <item>78</item> <item>79</item> <item>80</item> <item>81</item> <item>82</item> <item>83</item> <item>84</item> <item>85</item> <item>86</item> <item>87</item> <item>88</item> <item>89</item> <item>90</item> <item>91</item> <item>92</item> <item>93</item> <item>94</item> <item>95</item> <item>96</item> <item>97</item> <item>98</item> <item>99</item> <item>100</item> <item>101</item> <item>102</item> <item>103</item> <item>104</item> <item>105</item> <item>106</item> <item>107</item> <item>108</item> <item>109</item> <item>110</item> <item>111</item> <item>112</item> <item>113</item> <item>114</item> <item>115</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>209</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_163"> <id>119</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="_164"> <id>120</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="_165"> <id>122</id> <edge_type>1</edge_type> <source_obj>121</source_obj> <sink_obj>9</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_166"> <id>123</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>10</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_167"> <id>125</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>10</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_168"> <id>128</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>11</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_169"> <id>130</id> <edge_type>1</edge_type> <source_obj>129</source_obj> <sink_obj>11</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_170"> <id>132</id> <edge_type>1</edge_type> <source_obj>131</source_obj> <sink_obj>11</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_171"> <id>136</id> <edge_type>1</edge_type> <source_obj>135</source_obj> <sink_obj>12</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_172"> <id>137</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="_173"> <id>140</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="_174"> <id>142</id> <edge_type>1</edge_type> <source_obj>141</source_obj> <sink_obj>13</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_175"> <id>144</id> <edge_type>1</edge_type> <source_obj>143</source_obj> <sink_obj>14</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_176"> <id>145</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="_177"> <id>146</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_178"> <id>147</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_179"> <id>149</id> <edge_type>1</edge_type> <source_obj>148</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_180"> <id>152</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_181"> <id>154</id> <edge_type>1</edge_type> <source_obj>153</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_182"> <id>156</id> <edge_type>1</edge_type> <source_obj>155</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_183"> <id>157</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="_184"> <id>159</id> <edge_type>1</edge_type> <source_obj>158</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_185"> <id>160</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_186"> <id>162</id> <edge_type>1</edge_type> <source_obj>161</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_187"> <id>163</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_188"> <id>164</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_189"> <id>165</id> <edge_type>1</edge_type> <source_obj>135</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_190"> <id>166</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_191"> <id>167</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_192"> <id>168</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="_193"> <id>169</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="_194"> <id>170</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_195"> <id>173</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_196"> <id>174</id> <edge_type>1</edge_type> <source_obj>155</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_197"> <id>175</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_198"> <id>176</id> <edge_type>1</edge_type> <source_obj>141</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_199"> <id>177</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_200"> <id>178</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_201"> <id>179</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_202"> <id>181</id> <edge_type>1</edge_type> <source_obj>180</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_203"> <id>183</id> <edge_type>1</edge_type> <source_obj>182</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_204"> <id>184</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_205"> <id>185</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="_206"> <id>186</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_207"> <id>187</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_208"> <id>188</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_209"> <id>189</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="_210"> <id>190</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_211"> <id>191</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_212"> <id>192</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_213"> <id>193</id> <edge_type>1</edge_type> <source_obj>131</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_214"> <id>194</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="_215"> <id>196</id> <edge_type>1</edge_type> <source_obj>195</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_216"> <id>197</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_217"> <id>198</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_218"> <id>199</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_219"> <id>201</id> <edge_type>1</edge_type> <source_obj>200</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_220"> <id>202</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_221"> <id>203</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_222"> <id>204</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_223"> <id>205</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_224"> <id>206</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_225"> <id>207</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_226"> <id>208</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_227"> <id>209</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_228"> <id>210</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_229"> <id>211</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_230"> <id>212</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_231"> <id>213</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_232"> <id>216</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_233"> <id>217</id> <edge_type>1</edge_type> <source_obj>153</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_234"> <id>219</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_235"> <id>220</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_236"> <id>223</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_237"> <id>224</id> <edge_type>1</edge_type> <source_obj>200</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_238"> <id>225</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_239"> <id>227</id> <edge_type>1</edge_type> <source_obj>226</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_240"> <id>229</id> <edge_type>1</edge_type> <source_obj>228</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_241"> <id>230</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_242"> <id>232</id> <edge_type>1</edge_type> <source_obj>231</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_243"> <id>233</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_244"> <id>234</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_245"> <id>235</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_246"> <id>239</id> <edge_type>1</edge_type> <source_obj>238</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_247"> <id>240</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_248"> <id>243</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_249"> <id>244</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_250"> <id>246</id> <edge_type>1</edge_type> <source_obj>245</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_251"> <id>247</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_252"> <id>248</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_253"> <id>251</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_254"> <id>252</id> <edge_type>1</edge_type> <source_obj>153</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_255"> <id>253</id> <edge_type>1</edge_type> <source_obj>245</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_256"> <id>254</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_257"> <id>256</id> <edge_type>1</edge_type> <source_obj>255</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_258"> <id>257</id> <edge_type>1</edge_type> <source_obj>55</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_259"> <id>259</id> <edge_type>1</edge_type> <source_obj>258</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_260"> <id>260</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_261"> <id>261</id> <edge_type>1</edge_type> <source_obj>56</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_262"> <id>262</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_263"> <id>264</id> <edge_type>1</edge_type> <source_obj>263</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_264"> <id>265</id> <edge_type>1</edge_type> <source_obj>58</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_265"> <id>266</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_266"> <id>267</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_267"> <id>268</id> <edge_type>1</edge_type> <source_obj>141</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_268"> <id>271</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_269"> <id>273</id> <edge_type>1</edge_type> <source_obj>272</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_270"> <id>274</id> <edge_type>1</edge_type> <source_obj>129</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_271"> <id>275</id> <edge_type>1</edge_type> <source_obj>62</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_272"> <id>277</id> <edge_type>1</edge_type> <source_obj>276</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_273"> <id>280</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_274"> <id>282</id> <edge_type>1</edge_type> <source_obj>281</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_275"> <id>283</id> <edge_type>1</edge_type> <source_obj>129</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_276"> <id>286</id> <edge_type>1</edge_type> <source_obj>64</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_277"> <id>288</id> <edge_type>1</edge_type> <source_obj>287</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_278"> <id>289</id> <edge_type>1</edge_type> <source_obj>65</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_279"> <id>290</id> <edge_type>1</edge_type> <source_obj>66</source_obj> <sink_obj>67</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_280"> <id>292</id> <edge_type>1</edge_type> <source_obj>291</source_obj> <sink_obj>67</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_281"> <id>293</id> <edge_type>1</edge_type> <source_obj>67</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_282"> <id>296</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_283"> <id>298</id> <edge_type>1</edge_type> <source_obj>297</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_284"> <id>299</id> <edge_type>1</edge_type> <source_obj>129</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_285"> <id>302</id> <edge_type>1</edge_type> <source_obj>69</source_obj> <sink_obj>70</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_286"> <id>303</id> <edge_type>1</edge_type> <source_obj>287</source_obj> <sink_obj>70</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_287"> <id>304</id> <edge_type>1</edge_type> <source_obj>70</source_obj> <sink_obj>71</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_288"> <id>305</id> <edge_type>1</edge_type> <source_obj>71</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_289"> <id>307</id> <edge_type>1</edge_type> <source_obj>306</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_290"> <id>308</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>73</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_291"> <id>310</id> <edge_type>1</edge_type> <source_obj>309</source_obj> <sink_obj>73</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_292"> <id>313</id> <edge_type>1</edge_type> <source_obj>73</source_obj> <sink_obj>74</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_293"> <id>315</id> <edge_type>1</edge_type> <source_obj>314</source_obj> <sink_obj>74</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_294"> <id>316</id> <edge_type>1</edge_type> <source_obj>129</source_obj> <sink_obj>74</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_295"> <id>319</id> <edge_type>1</edge_type> <source_obj>74</source_obj> <sink_obj>75</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_296"> <id>320</id> <edge_type>1</edge_type> <source_obj>287</source_obj> <sink_obj>75</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_297"> <id>321</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>76</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_298"> <id>322</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>76</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_299"> <id>323</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_300"> <id>324</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_301"> <id>325</id> <edge_type>1</edge_type> <source_obj>77</source_obj> <sink_obj>78</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_302"> <id>326</id> <edge_type>1</edge_type> <source_obj>75</source_obj> <sink_obj>78</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_303"> <id>327</id> <edge_type>1</edge_type> <source_obj>68</source_obj> <sink_obj>78</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_304"> <id>328</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_305"> <id>329</id> <edge_type>1</edge_type> <source_obj>141</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_306"> <id>330</id> <edge_type>1</edge_type> <source_obj>63</source_obj> <sink_obj>80</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_307"> <id>331</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>80</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_308"> <id>332</id> <edge_type>1</edge_type> <source_obj>80</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_309"> <id>333</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_310"> <id>334</id> <edge_type>1</edge_type> <source_obj>81</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_311"> <id>335</id> <edge_type>1</edge_type> <source_obj>72</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_312"> <id>336</id> <edge_type>1</edge_type> <source_obj>78</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_313"> <id>337</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>83</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_314"> <id>339</id> <edge_type>1</edge_type> <source_obj>338</source_obj> <sink_obj>83</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_315"> <id>340</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>83</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_316"> <id>341</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>84</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_317"> <id>342</id> <edge_type>1</edge_type> <source_obj>84</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_318"> <id>344</id> <edge_type>1</edge_type> <source_obj>343</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_319"> <id>347</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_320"> <id>349</id> <edge_type>1</edge_type> <source_obj>348</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_321"> <id>351</id> <edge_type>1</edge_type> <source_obj>350</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_322"> <id>353</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>87</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_323"> <id>355</id> <edge_type>1</edge_type> <source_obj>354</source_obj> <sink_obj>87</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_324"> <id>357</id> <edge_type>1</edge_type> <source_obj>356</source_obj> <sink_obj>87</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_325"> <id>360</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>88</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_326"> <id>361</id> <edge_type>1</edge_type> <source_obj>272</source_obj> <sink_obj>88</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_327"> <id>363</id> <edge_type>1</edge_type> <source_obj>362</source_obj> <sink_obj>88</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_328"> <id>364</id> <edge_type>1</edge_type> <source_obj>88</source_obj> <sink_obj>89</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_329"> <id>365</id> <edge_type>1</edge_type> <source_obj>89</source_obj> <sink_obj>90</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_330"> <id>367</id> <edge_type>1</edge_type> <source_obj>366</source_obj> <sink_obj>90</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_331"> <id>368</id> <edge_type>1</edge_type> <source_obj>87</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_332"> <id>371</id> <edge_type>1</edge_type> <source_obj>90</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_333"> <id>373</id> <edge_type>1</edge_type> <source_obj>372</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_334"> <id>374</id> <edge_type>1</edge_type> <source_obj>362</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_335"> <id>375</id> <edge_type>1</edge_type> <source_obj>92</source_obj> <sink_obj>93</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_336"> <id>377</id> <edge_type>1</edge_type> <source_obj>376</source_obj> <sink_obj>94</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_337"> <id>378</id> <edge_type>1</edge_type> <source_obj>93</source_obj> <sink_obj>94</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_338"> <id>379</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>95</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_339"> <id>381</id> <edge_type>1</edge_type> <source_obj>380</source_obj> <sink_obj>95</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_340"> <id>382</id> <edge_type>1</edge_type> <source_obj>91</source_obj> <sink_obj>95</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_341"> <id>383</id> <edge_type>1</edge_type> <source_obj>95</source_obj> <sink_obj>96</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_342"> <id>384</id> <edge_type>1</edge_type> <source_obj>96</source_obj> <sink_obj>97</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_343"> <id>385</id> <edge_type>1</edge_type> <source_obj>94</source_obj> <sink_obj>98</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_344"> <id>386</id> <edge_type>1</edge_type> <source_obj>98</source_obj> <sink_obj>99</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_345"> <id>387</id> <edge_type>1</edge_type> <source_obj>97</source_obj> <sink_obj>99</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_346"> <id>388</id> <edge_type>1</edge_type> <source_obj>99</source_obj> <sink_obj>100</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_347"> <id>389</id> <edge_type>1</edge_type> <source_obj>86</source_obj> <sink_obj>101</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_348"> <id>390</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>102</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_349"> <id>391</id> <edge_type>1</edge_type> <source_obj>101</source_obj> <sink_obj>102</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_350"> <id>394</id> <edge_type>1</edge_type> <source_obj>102</source_obj> <sink_obj>103</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_351"> <id>396</id> <edge_type>1</edge_type> <source_obj>395</source_obj> <sink_obj>103</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_352"> <id>398</id> <edge_type>1</edge_type> <source_obj>397</source_obj> <sink_obj>103</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_353"> <id>399</id> <edge_type>1</edge_type> <source_obj>83</source_obj> <sink_obj>104</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_354"> <id>400</id> <edge_type>1</edge_type> <source_obj>83</source_obj> <sink_obj>105</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_355"> <id>401</id> <edge_type>1</edge_type> <source_obj>104</source_obj> <sink_obj>106</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_356"> <id>402</id> <edge_type>1</edge_type> <source_obj>104</source_obj> <sink_obj>106</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_357"> <id>403</id> <edge_type>1</edge_type> <source_obj>103</source_obj> <sink_obj>107</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_358"> <id>404</id> <edge_type>1</edge_type> <source_obj>107</source_obj> <sink_obj>108</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_359"> <id>406</id> <edge_type>1</edge_type> <source_obj>405</source_obj> <sink_obj>108</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_360"> <id>407</id> <edge_type>1</edge_type> <source_obj>106</source_obj> <sink_obj>109</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_361"> <id>408</id> <edge_type>1</edge_type> <source_obj>108</source_obj> <sink_obj>110</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_362"> <id>409</id> <edge_type>1</edge_type> <source_obj>110</source_obj> <sink_obj>111</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_363"> <id>410</id> <edge_type>1</edge_type> <source_obj>109</source_obj> <sink_obj>111</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_364"> <id>413</id> <edge_type>1</edge_type> <source_obj>105</source_obj> <sink_obj>112</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_365"> <id>415</id> <edge_type>1</edge_type> <source_obj>414</source_obj> <sink_obj>112</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_366"> <id>416</id> <edge_type>1</edge_type> <source_obj>112</source_obj> <sink_obj>113</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_367"> <id>417</id> <edge_type>1</edge_type> <source_obj>111</source_obj> <sink_obj>113</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_368"> <id>420</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>114</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_369"> <id>422</id> <edge_type>1</edge_type> <source_obj>421</source_obj> <sink_obj>114</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_370"> <id>424</id> <edge_type>1</edge_type> <source_obj>423</source_obj> <sink_obj>114</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_371"> <id>425</id> <edge_type>1</edge_type> <source_obj>114</source_obj> <sink_obj>115</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="_372"> <mId>1</mId> <mTag>sigmoid_top</mTag> <mNormTag>sigmoid_top</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>116</item> </basic_blocks> <mII>1</mII> <mDepth>11</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>10</mMinLatency> <mMaxLatency>10</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_373"> <states class_id="25" tracking_level="0" version="0"> <count>11</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_374"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>35</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_375"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_376"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_377"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_378"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_379"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_380"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_381"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_382"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_383"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_384"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_385"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_386"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_387"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_388"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_389"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_390"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_391"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_392"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_393"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_394"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_395"> <id>29</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_396"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_397"> <id>31</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_398"> <id>32</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_399"> <id>34</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_400"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_401"> <id>38</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_402"> <id>41</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_403"> <id>49</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_404"> <id>62</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_405"> <id>63</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_406"> <id>64</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_407"> <id>69</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_408"> <id>84</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_409"> <id>85</id> <stage>4</stage> <latency>4</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_410"> <id>2</id> <operations> <count>22</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_411"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_412"> <id>36</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_413"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_414"> <id>39</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_415"> <id>40</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_416"> <id>42</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_417"> <id>43</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_418"> <id>44</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_419"> <id>45</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_420"> <id>46</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_421"> <id>47</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_422"> <id>48</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_423"> <id>50</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_424"> <id>51</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_425"> <id>52</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_426"> <id>53</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_427"> <id>54</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_428"> <id>55</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_429"> <id>56</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_430"> <id>57</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_431"> <id>59</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_432"> <id>85</id> <stage>3</stage> <latency>4</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_433"> <id>3</id> <operations> <count>23</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_434"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_435"> <id>58</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_436"> <id>59</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_437"> <id>60</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_438"> <id>61</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_439"> <id>65</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_440"> <id>66</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_441"> <id>67</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_442"> <id>68</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_443"> <id>70</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_444"> <id>71</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_445"> <id>72</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_446"> <id>73</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_447"> <id>74</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_448"> <id>75</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_449"> <id>76</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_450"> <id>77</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_451"> <id>78</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_452"> <id>79</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_453"> <id>80</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_454"> <id>81</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_455"> <id>82</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_456"> <id>85</id> <stage>2</stage> <latency>4</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_457"> <id>4</id> <operations> <count>5</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_458"> <id>85</id> <stage>1</stage> <latency>4</latency> </item> <item class_id_reference="28" object_id="_459"> <id>87</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_460"> <id>88</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_461"> <id>89</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_462"> <id>90</id> <stage>4</stage> <latency>4</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_463"> <id>5</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_464"> <id>90</id> <stage>3</stage> <latency>4</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_465"> <id>6</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_466"> <id>90</id> <stage>2</stage> <latency>4</latency> </item> <item class_id_reference="28" object_id="_467"> <id>91</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_468"> <id>95</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_469"> <id>96</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_470"> <id>7</id> <operations> <count>12</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_471"> <id>83</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_472"> <id>90</id> <stage>1</stage> <latency>4</latency> </item> <item class_id_reference="28" object_id="_473"> <id>92</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_474"> <id>93</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_475"> <id>94</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_476"> <id>96</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_477"> <id>97</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_478"> <id>98</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_479"> <id>99</id> <stage>4</stage> <latency>4</latency> </item> <item class_id_reference="28" object_id="_480"> <id>104</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_481"> <id>105</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_482"> <id>106</id> <stage>4</stage> <latency>4</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_483"> <id>8</id> <operations> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_484"> <id>99</id> <stage>3</stage> <latency>4</latency> </item> <item class_id_reference="28" object_id="_485"> <id>106</id> <stage>3</stage> <latency>4</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_486"> <id>9</id> <operations> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_487"> <id>99</id> <stage>2</stage> <latency>4</latency> </item> <item class_id_reference="28" object_id="_488"> <id>106</id> <stage>2</stage> <latency>4</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_489"> <id>10</id> <operations> <count>9</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_490"> <id>86</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_491"> <id>99</id> <stage>1</stage> <latency>4</latency> </item> <item class_id_reference="28" object_id="_492"> <id>100</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_493"> <id>101</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_494"> <id>102</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_495"> <id>103</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_496"> <id>106</id> <stage>1</stage> <latency>4</latency> </item> <item class_id_reference="28" object_id="_497"> <id>107</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_498"> <id>108</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_499"> <id>11</id> <operations> <count>12</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_500"> <id>3</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_501"> <id>4</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_502"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_503"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_504"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_505"> <id>109</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_506"> <id>110</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_507"> <id>111</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_508"> <id>112</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_509"> <id>113</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_510"> <id>114</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_511"> <id>115</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_512"> <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="_513"> <inState>2</inState> <outState>3</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_514"> <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="_515"> <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="_516"> <inState>5</inState> <outState>6</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_517"> <inState>6</inState> <outState>7</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_518"> <inState>7</inState> <outState>8</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_519"> <inState>8</inState> <outState>9</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_520"> <inState>9</inState> <outState>10</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_521"> <inState>10</inState> <outState>11</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="34" tracking_level="1" version="0" object_id="_522"> <dp_component_resource class_id="35" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="36" tracking_level="0" version="0"> <first>dcmp_64ns_64ns_1_2_no_dsp_1_U1 (dcmp_64ns_64ns_1_2_no_dsp_1)</first> <second class_id="37" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>mul_17s_32ns_43_1_1_U2 (mul_17s_32ns_43_1_1)</first> <second> <count>3</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>DSP</first> <second>2</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>21</second> </item> </second> </item> </dp_component_resource> <dp_expression_resource> <count>49</count> <item_version>0</item_version> <item> <first>a_fu_336_p2 ( or ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>add_ln712_fu_594_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>16</second> </item> <item> <first>(1P1)</first> <second>14</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>23</second> </item> </second> </item> <item> <first>add_ln952_fu_312_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>16</second> </item> <item> <first>(1P1)</first> <second>7</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>23</second> </item> </second> </item> <item> <first>add_ln961_fu_348_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>32</second> </item> <item> <first>(1P1)</first> <second>7</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>39</second> </item> </second> </item> <item> <first>add_ln968_fu_482_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>11</second> </item> <item> <first>(1P1)</first> <second>11</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>11</second> </item> </second> </item> <item> <first>and_ln1549_1_fu_647_p2 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>and_ln1549_fu_642_p2 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>and_ln1560_fu_544_p2 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>and_ln949_fu_306_p2 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>and_ln952_fu_324_p2 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>16</second> </item> <item> <first>(1P1)</first> <second>16</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>16</second> </item> </second> </item> <item> <first>ap_enable_pp0 ( xor ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>2</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>icmp_ln1549_1_fu_380_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>4</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>icmp_ln1549_fu_196_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>16</second> </item> <item> <first>(1P1)</first> <second>15</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>13</second> </item> </second> </item> <item> <first>icmp_ln1560_1_fu_529_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>52</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>24</second> </item> </second> </item> <item> <first>icmp_ln1560_fu_523_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>11</second> </item> <item> <first>(1P1)</first> <second>2</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>11</second> </item> </second> </item> <item> <first>icmp_ln938_fu_535_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>16</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>13</second> </item> </second> </item> <item> <first>icmp_ln949_fu_254_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>31</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>17</second> </item> </second> </item> <item> <first>icmp_ln950_fu_286_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>16</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>13</second> </item> </second> </item> <item> <first>icmp_ln961_fu_342_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>32</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>18</second> </item> </second> </item> <item> <first>lsb_index_fu_238_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>32</second> </item> <item> <first>(1P1)</first> <second>7</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>39</second> </item> </second> </item> <item> <first>lshr_ln950_fu_274_p2 ( lshr ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>2</second> </item> <item> <first>(1P1)</first> <second>16</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>35</second> </item> </second> </item> <item> <first>lshr_ln961_fu_416_p2 ( lshr ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>64</second> </item> <item> <first>(1P1)</first> <second>64</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>182</second> </item> </second> </item> <item> <first>m_1_fu_441_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>64</second> </item> <item> <first>(1P1)</first> <second>64</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>71</second> </item> </second> </item> <item> <first>m_fu_431_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>64</second> </item> <item> <first>(2P2)</first> <second>64</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>64</second> </item> </second> </item> <item> <first>or_ln1560_1_fu_622_p2 ( or ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>or_ln1560_fu_540_p2 ( or ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>or_ln938_fu_617_p2 ( or ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>p_Result_2_fu_280_p2 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>16</second> </item> <item> <first>(1P1)</first> <second>16</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>16</second> </item> </second> </item> <item> <first>p_Result_3_fu_330_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>16</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>13</second> </item> </second> </item> <item> <first>r_fu_744_p2 ( lshr ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>63</second> </item> <item> <first>(1P1)</first> <second>63</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>179</second> </item> </second> </item> <item> <first>ret_V_1_fu_764_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>17</second> </item> <item> <first>(1P1)</first> <second>15</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>24</second> </item> </second> </item> <item> <first>ret_V_2_fu_789_p2 ( - ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>43</second> </item> <item> <first>(1P1)</first> <second>43</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>50</second> </item> </second> </item> <item> <first>ret_V_fu_706_p2 ( - ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>16</second> </item> <item> <first>(1P1)</first> <second>15</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>23</second> </item> </second> </item> <item> <first>select_ln946_fu_469_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>10</second> </item> <item> <first>(2P2)</first> <second>10</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>10</second> </item> </second> </item> <item> <first>shl_ln952_fu_318_p2 ( shl ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>16</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>35</second> </item> </second> </item> <item> <first>shl_ln962_fu_425_p2 ( shl ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>64</second> </item> <item> <first>(1P1)</first> <second>64</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>182</second> </item> </second> </item> <item> <first>sub_ln947_fu_228_p2 ( - ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>5</second> </item> <item> <first>(1P1)</first> <second>32</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>39</second> </item> </second> </item> <item> <first>sub_ln950_fu_264_p2 ( - ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>3</second> </item> <item> <first>(1P1)</first> <second>5</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>13</second> </item> </second> </item> <item> <first>sub_ln962_fu_354_p2 ( - ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>6</second> </item> <item> <first>(1P1)</first> <second>32</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>39</second> </item> </second> </item> <item> <first>sub_ln968_fu_477_p2 ( - ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>3</second> </item> <item> <first>(1P1)</first> <second>11</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>11</second> </item> </second> </item> <item> <first>tobool29_i_i648_fu_360_p2 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>x0_V_1_fu_588_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>16</second> </item> <item> <first>(1P1)</first> <second>14</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>23</second> </item> </second> </item> <item> <first>x0_V_3_fu_628_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>16</second> </item> <item> <first>(2P2)</first> <second>16</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>16</second> </item> </second> </item> <item> <first>x0_V_4_fu_653_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>16</second> </item> <item> <first>(2P2)</first> <second>16</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>16</second> </item> </second> </item> <item> <first>x0_V_6_fu_687_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>15</second> </item> <item> <first>(2P2)</first> <second>16</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>16</second> </item> </second> </item> <item> <first>x0_V_fu_567_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>15</second> </item> <item> <first>(1P1)</first> <second>14</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>22</second> </item> </second> </item> <item> <first>xor_ln1560_fu_550_p2 ( xor ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>2</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>xor_ln938_fu_636_p2 ( xor ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>2</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>xor_ln952_fu_300_p2 ( xor ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>2</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> </dp_expression_resource> <dp_fifo_resource> <count>0</count> <item_version>0</item_version> </dp_fifo_resource> <dp_memory_resource> <count>1</count> <item_version>0</item_version> <item> <first>ROM_EXP_V_U</first> <second> <count>7</count> <item_version>0</item_version> <item> <first>(0Words)</first> <second>16</second> </item> <item> <first>(1Bits)</first> <second>15</second> </item> <item> <first>(2Banks)</first> <second>1</second> </item> <item> <first>(3W*Bits*Banks)</first> <second>240</second> </item> <item> <first>BRAM</first> <second>0</second> </item> <item> <first>FF</first> <second>15</second> </item> <item> <first>LUT</first> <second>4</second> </item> </second> </item> </dp_memory_resource> <dp_multiplexer_resource> <count>0</count> <item_version>0</item_version> </dp_multiplexer_resource> <dp_register_resource> <count>34</count> <item_version>0</item_version> <item> <first>add_ln961_reg_851</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>32</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>32</second> </item> </second> </item> <item> <first>ap_CS_fsm</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter1</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter10</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter2</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter3</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter4</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter5</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter6</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter7</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter8</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter9</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>icmp_ln1549_1_reg_871</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>icmp_ln1549_1_reg_871_pp0_iter1_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>icmp_ln1549_reg_840</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>icmp_ln1560_1_reg_901</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>icmp_ln1560_reg_896</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>icmp_ln961_reg_846</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>in_read_reg_833</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>in_read_reg_833_pp0_iter1_reg</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>n_reg_916</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>4</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>4</second> </item> </second> </item> <item> <first>n_reg_916_pp0_iter4_reg</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>4</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>4</second> </item> </second> </item> <item> <first>r_V_6_reg_952</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>32</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>32</second> </item> </second> </item> <item> <first>r_V_reg_911</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>29</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>29</second> </item> </second> </item> <item> <first>ret_V_1_reg_957</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>17</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>17</second> </item> </second> </item> <item> <first>sub_ln962_reg_856</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>32</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>32</second> </item> </second> </item> <item> <first>tmp_2_reg_876</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>11</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>11</second> </item> </second> </item> <item> <first>tmp_2_reg_876_pp0_iter1_reg</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>11</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>11</second> </item> </second> </item> <item> <first>tmp_3_reg_881</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>13</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>13</second> </item> </second> </item> <item> <first>tmp_3_reg_881_pp0_iter1_reg</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>13</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>13</second> </item> </second> </item> <item> <first>tobool29_i_i648_reg_861</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_ln1352_reg_947</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>14</second> </item> <item> <first>(Consts)</first> <second>2</second> </item> <item> <first>FF</first> <second>12</second> </item> </second> </item> <item> <first>trunc_ln946_reg_866</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>11</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>11</second> </item> </second> </item> <item> <first>x0_V_4_reg_906</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>16</second> </item> <item> <first>(Consts)</first> <second>2</second> </item> <item> <first>FF</first> <second>14</second> </item> </second> </item> </dp_register_resource> <dp_dsp_resource> <count>6</count> <item_version>0</item_version> <item> <first>dcmp_64ns_64ns_1_2_no_dsp_1_U1</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>mul_17s_32ns_43_1_1_U2</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>mul_mul_15ns_15ns_30_4_1_U5</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>DSP</first> <second>1</second> </item> </second> </item> <item> <first>mul_mul_16ns_13ns_29_4_1_U3</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>DSP</first> <second>1</second> </item> </second> </item> <item> <first>mul_mul_16ns_16ns_32_4_1_U6</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>DSP</first> <second>1</second> </item> </second> </item> <item> <first>mul_mul_8ns_12ns_20_4_1_U4</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>DSP</first> <second>1</second> </item> </second> </item> </dp_dsp_resource> <dp_component_map class_id="39" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="40" tracking_level="0" version="0"> <first>dcmp_64ns_64ns_1_2_no_dsp_1_U1 (dcmp_64ns_64ns_1_2_no_dsp_1)</first> <second> <count>1</count> <item_version>0</item_version> <item>59</item> </second> </item> <item> <first>mul_17s_32ns_43_1_1_U2 (mul_17s_32ns_43_1_1)</first> <second> <count>1</count> <item_version>0</item_version> <item>111</item> </second> </item> </dp_component_map> <dp_expression_map> <count>48</count> <item_version>0</item_version> <item> <first>a_fu_336_p2 ( or ) </first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>add_ln712_fu_594_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>73</item> </second> </item> <item> <first>add_ln952_fu_312_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>add_ln961_fu_348_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>add_ln968_fu_482_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>and_ln1549_1_fu_647_p2 ( and ) </first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>and_ln1549_fu_642_p2 ( and ) </first> <second> <count>1</count> <item_version>0</item_version> <item>80</item> </second> </item> <item> <first>and_ln1560_fu_544_p2 ( and ) </first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>and_ln949_fu_306_p2 ( and ) </first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>and_ln952_fu_324_p2 ( and ) </first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>icmp_ln1549_1_fu_380_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>icmp_ln1549_fu_196_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>icmp_ln1560_1_fu_529_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>icmp_ln1560_fu_523_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>icmp_ln938_fu_535_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>icmp_ln949_fu_254_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>icmp_ln950_fu_286_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>icmp_ln961_fu_342_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>lsb_index_fu_238_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>lshr_ln950_fu_274_p2 ( lshr ) </first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>lshr_ln961_fu_416_p2 ( lshr ) </first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>m_1_fu_441_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>m_fu_431_p3 ( select ) </first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>or_ln1560_1_fu_622_p2 ( or ) </first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> <item> <first>or_ln1560_fu_540_p2 ( or ) </first> <second> <count>1</count> <item_version>0</item_version> <item>58</item> </second> </item> <item> <first>or_ln938_fu_617_p2 ( or ) </first> <second> <count>1</count> <item_version>0</item_version> <item>76</item> </second> </item> <item> <first>p_Result_2_fu_280_p2 ( and ) </first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>p_Result_3_fu_330_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>r_fu_744_p2 ( lshr ) </first> <second> <count>1</count> <item_version>0</item_version> <item>102</item> </second> </item> <item> <first>ret_V_1_fu_764_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>108</item> </second> </item> <item> <first>ret_V_2_fu_789_p2 ( - ) </first> <second> <count>1</count> <item_version>0</item_version> <item>113</item> </second> </item> <item> <first>ret_V_fu_706_p2 ( - ) </first> <second> <count>1</count> <item_version>0</item_version> <item>94</item> </second> </item> <item> <first>select_ln946_fu_469_p3 ( select ) </first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>shl_ln952_fu_318_p2 ( shl ) </first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>shl_ln962_fu_425_p2 ( shl ) </first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>sub_ln947_fu_228_p2 ( - ) </first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>sub_ln950_fu_264_p2 ( - ) </first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>sub_ln962_fu_354_p2 ( - ) </first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>sub_ln968_fu_477_p2 ( - ) </first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>tobool29_i_i648_fu_360_p2 ( and ) </first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>x0_V_1_fu_588_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>72</item> </second> </item> <item> <first>x0_V_3_fu_628_p3 ( select ) </first> <second> <count>1</count> <item_version>0</item_version> <item>78</item> </second> </item> <item> <first>x0_V_4_fu_653_p3 ( select ) </first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>x0_V_6_fu_687_p3 ( select ) </first> <second> <count>1</count> <item_version>0</item_version> <item>83</item> </second> </item> <item> <first>x0_V_fu_567_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>xor_ln1560_fu_550_p2 ( xor ) </first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>xor_ln938_fu_636_p2 ( xor ) </first> <second> <count>1</count> <item_version>0</item_version> <item>79</item> </second> </item> <item> <first>xor_ln952_fu_300_p2 ( xor ) </first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> </dp_expression_map> <dp_fifo_map> <count>0</count> <item_version>0</item_version> </dp_fifo_map> <dp_memory_map> <count>1</count> <item_version>0</item_version> <item> <first>ROM_EXP_V_U</first> <second> <count>1</count> <item_version>0</item_version> <item>76</item> </second> </item> </dp_memory_map> </res> <node_label_latency class_id="41" tracking_level="0" version="0"> <count>109</count> <item_version>0</item_version> <item class_id="42" tracking_level="0" version="0"> <first>8</first> <second class_id="43" 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>2</first> <second>0</second> </second> </item> <item> <first>11</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>12</first> <second> <first>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>0</second> </second> </item> <item> <first>16</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>18</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>22</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>24</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>26</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>28</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>31</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>32</first> <second> <first>0</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>0</first> <second>0</second> </second> </item> <item> <first>35</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>36</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>0</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> <item> <first>44</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>45</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>46</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>47</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>49</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>50</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>51</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>52</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>53</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>54</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>55</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>56</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>57</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>58</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>59</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>60</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>61</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>62</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>63</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>64</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>65</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>66</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>67</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>68</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>69</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>70</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>71</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>72</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>73</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>74</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>75</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>76</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>77</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>78</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>79</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>80</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>81</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>82</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>83</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>84</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>85</first> <second> <first>0</first> <second>3</second> </second> </item> <item> <first>86</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>87</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>88</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>89</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>90</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>91</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>92</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>93</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>94</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>95</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>96</first> <second> <first>5</first> <second>1</second> </second> </item> <item> <first>97</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>98</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>99</first> <second> <first>6</first> <second>3</second> </second> </item> <item> <first>100</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>101</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>102</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>103</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>104</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>105</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>106</first> <second> <first>6</first> <second>3</second> </second> </item> <item> <first>107</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>108</first> <second> <first>9</first> <second>0</second> </second> </item> <item> <first>109</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>110</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>111</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>112</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>113</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>114</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>115</first> <second> <first>10</first> <second>0</second> </second> </item> <item> <first>464</first> <second> <first>0</first> <second>2</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>116</first> <second class_id="46" tracking_level="0" version="0"> <first>0</first> <second>10</second> </second> </item> </bblk_ent_exit> <regions class_id="47" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="48" tracking_level="1" version="0" object_id="_523"> <region_name>sigmoid_top</region_name> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>116</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>11</pipe_depth> <mDBIIViolationVec class_id="49" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </mDBIIViolationVec> </item> </regions> <dp_fu_nodes class_id="50" tracking_level="0" version="0"> <count>107</count> <item_version>0</item_version> <item class_id="51" tracking_level="0" version="0"> <first>172</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>178</first> <second> <count>1</count> <item_version>0</item_version> <item>95</item> </second> </item> <item> <first>185</first> <second> <count>2</count> <item_version>0</item_version> <item>96</item> <item>96</item> </second> </item> <item> <first>191</first> <second> <count>2</count> <item_version>0</item_version> <item>59</item> <item>59</item> </second> </item> <item> <first>196</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>202</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>212</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>220</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>228</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>234</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>238</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>244</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>254</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>260</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>264</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>270</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>274</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>280</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>286</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>292</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>300</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>306</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>312</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>318</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>324</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>330</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>336</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>342</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>348</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>354</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>360</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>366</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>370</first> <second> <count>1</count> <item_version>0</item_version> <item>62</item> </second> </item> <item> <first>380</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>386</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>396</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>406</first> <second> <count>1</count> <item_version>0</item_version> <item>84</item> </second> </item> <item> <first>410</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>413</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>416</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>422</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>425</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>431</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>438</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>441</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>447</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>457</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>461</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>469</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>477</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>482</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>488</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>496</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>508</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>513</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>523</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>529</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>535</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>540</first> <second> <count>1</count> <item_version>0</item_version> <item>58</item> </second> </item> <item> <first>544</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>550</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>556</first> <second> <count>1</count> <item_version>0</item_version> <item>65</item> </second> </item> <item> <first>563</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>567</first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>573</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>577</first> <second> <count>1</count> <item_version>0</item_version> <item>70</item> </second> </item> <item> <first>584</first> <second> <count>1</count> <item_version>0</item_version> <item>71</item> </second> </item> <item> <first>588</first> <second> <count>1</count> <item_version>0</item_version> <item>72</item> </second> </item> <item> <first>594</first> <second> <count>1</count> <item_version>0</item_version> <item>73</item> </second> </item> <item> <first>599</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> <item> <first>609</first> <second> <count>1</count> <item_version>0</item_version> <item>75</item> </second> </item> <item> <first>617</first> <second> <count>1</count> <item_version>0</item_version> <item>76</item> </second> </item> <item> <first>622</first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> <item> <first>628</first> <second> <count>1</count> <item_version>0</item_version> <item>78</item> </second> </item> <item> <first>636</first> <second> <count>1</count> <item_version>0</item_version> <item>79</item> </second> </item> <item> <first>642</first> <second> <count>1</count> <item_version>0</item_version> <item>80</item> </second> </item> <item> <first>647</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>653</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>661</first> <second> <count>1</count> <item_version>0</item_version> <item>87</item> </second> </item> <item> <first>670</first> <second> <count>1</count> <item_version>0</item_version> <item>88</item> </second> </item> <item> <first>679</first> <second> <count>1</count> <item_version>0</item_version> <item>89</item> </second> </item> <item> <first>683</first> <second> <count>1</count> <item_version>0</item_version> <item>91</item> </second> </item> <item> <first>687</first> <second> <count>1</count> <item_version>0</item_version> <item>83</item> </second> </item> <item> <first>693</first> <second> <count>1</count> <item_version>0</item_version> <item>92</item> </second> </item> <item> <first>702</first> <second> <count>1</count> <item_version>0</item_version> <item>93</item> </second> </item> <item> <first>706</first> <second> <count>1</count> <item_version>0</item_version> <item>94</item> </second> </item> <item> <first>712</first> <second> <count>1</count> <item_version>0</item_version> <item>97</item> </second> </item> <item> <first>716</first> <second> <count>1</count> <item_version>0</item_version> <item>98</item> </second> </item> <item> <first>720</first> <second> <count>1</count> <item_version>0</item_version> <item>104</item> </second> </item> <item> <first>724</first> <second> <count>1</count> <item_version>0</item_version> <item>105</item> </second> </item> <item> <first>728</first> <second> <count>1</count> <item_version>0</item_version> <item>86</item> </second> </item> <item> <first>737</first> <second> <count>1</count> <item_version>0</item_version> <item>100</item> </second> </item> <item> <first>740</first> <second> <count>1</count> <item_version>0</item_version> <item>101</item> </second> </item> <item> <first>744</first> <second> <count>1</count> <item_version>0</item_version> <item>102</item> </second> </item> <item> <first>750</first> <second> <count>1</count> <item_version>0</item_version> <item>103</item> </second> </item> <item> <first>760</first> <second> <count>1</count> <item_version>0</item_version> <item>107</item> </second> </item> <item> <first>764</first> <second> <count>1</count> <item_version>0</item_version> <item>108</item> </second> </item> <item> <first>770</first> <second> <count>1</count> <item_version>0</item_version> <item>109</item> </second> </item> <item> <first>773</first> <second> <count>1</count> <item_version>0</item_version> <item>110</item> </second> </item> <item> <first>776</first> <second> <count>1</count> <item_version>0</item_version> <item>111</item> </second> </item> <item> <first>782</first> <second> <count>1</count> <item_version>0</item_version> <item>112</item> </second> </item> <item> <first>789</first> <second> <count>1</count> <item_version>0</item_version> <item>113</item> </second> </item> <item> <first>795</first> <second> <count>1</count> <item_version>0</item_version> <item>114</item> </second> </item> <item> <first>805</first> <second> <count>4</count> <item_version>0</item_version> <item>85</item> <item>85</item> <item>85</item> <item>85</item> </second> </item> <item> <first>813</first> <second> <count>4</count> <item_version>0</item_version> <item>90</item> <item>90</item> <item>90</item> <item>90</item> </second> </item> <item> <first>820</first> <second> <count>4</count> <item_version>0</item_version> <item>99</item> <item>99</item> <item>99</item> <item>99</item> </second> </item> <item> <first>827</first> <second> <count>4</count> <item_version>0</item_version> <item>106</item> <item>106</item> <item>106</item> <item>106</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="53" tracking_level="0" version="0"> <count>100</count> <item_version>0</item_version> <item class_id="54" tracking_level="0" version="0"> <first>ROM_EXP_V_addr_gep_fu_178</first> <second> <count>1</count> <item_version>0</item_version> <item>95</item> </second> </item> <item> <first>a_fu_336</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>add_ln712_fu_594</first> <second> <count>1</count> <item_version>0</item_version> <item>73</item> </second> </item> <item> <first>add_ln952_fu_312</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>add_ln961_fu_348</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>add_ln968_fu_482</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>and_ln1549_1_fu_647</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>and_ln1549_fu_642</first> <second> <count>1</count> <item_version>0</item_version> <item>80</item> </second> </item> <item> <first>and_ln1560_fu_544</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>and_ln712_1_fu_577</first> <second> <count>1</count> <item_version>0</item_version> <item>70</item> </second> </item> <item> <first>and_ln949_fu_306</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>and_ln952_fu_324</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>and_ln_fu_556</first> <second> <count>1</count> <item_version>0</item_version> <item>65</item> </second> </item> <item> <first>bitcast_ln741_fu_508</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>exp_negx_V_fu_750</first> <second> <count>1</count> <item_version>0</item_version> <item>103</item> </second> </item> <item> <first>icmp_ln1549_1_fu_380</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>icmp_ln1549_fu_196</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>icmp_ln1560_1_fu_529</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>icmp_ln1560_fu_523</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>icmp_ln938_fu_535</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>icmp_ln949_fu_254</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>icmp_ln950_fu_286</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>icmp_ln961_fu_342</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>l_fu_220</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>lhs_V_fu_782</first> <second> <count>1</count> <item_version>0</item_version> <item>112</item> </second> </item> <item> <first>lsb_index_fu_238</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>lshr_ln950_fu_274</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>lshr_ln961_fu_416</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>m_1_fu_441</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>m_4_fu_728</first> <second> <count>1</count> <item_version>0</item_version> <item>86</item> </second> </item> <item> <first>m_5_fu_447</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>m_fu_431</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>mul_ln1246_fu_776</first> <second> <count>1</count> <item_version>0</item_version> <item>111</item> </second> </item> <item> <first>n_fu_661</first> <second> <count>1</count> <item_version>0</item_version> <item>87</item> </second> </item> <item> <first>or_ln1560_1_fu_622</first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> <item> <first>or_ln1560_fu_540</first> <second> <count>1</count> <item_version>0</item_version> <item>58</item> </second> </item> <item> <first>or_ln938_fu_617</first> <second> <count>1</count> <item_version>0</item_version> <item>76</item> </second> </item> <item> <first>p_Result_2_fu_280</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>p_Result_3_fu_330</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>p_Result_4_fu_461</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>p_Result_6_fu_212</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>p_Result_7_fu_496</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>p_Result_s_fu_202</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>r_V_1_fu_670</first> <second> <count>1</count> <item_version>0</item_version> <item>88</item> </second> </item> <item> <first>r_fu_744</first> <second> <count>1</count> <item_version>0</item_version> <item>102</item> </second> </item> <item> <first>ret_V_1_fu_764</first> <second> <count>1</count> <item_version>0</item_version> <item>108</item> </second> </item> <item> <first>ret_V_2_fu_789</first> <second> <count>1</count> <item_version>0</item_version> <item>113</item> </second> </item> <item> <first>ret_V_fu_706</first> <second> <count>1</count> <item_version>0</item_version> <item>94</item> </second> </item> <item> <first>select_ln946_fu_469</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>sext_ln1245_fu_760</first> <second> <count>1</count> <item_version>0</item_version> <item>107</item> </second> </item> <item> <first>sext_ln1246_fu_773</first> <second> <count>1</count> <item_version>0</item_version> <item>110</item> </second> </item> <item> <first>shl_ln952_fu_318</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>shl_ln962_fu_425</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>sub_ln947_fu_228</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>sub_ln950_fu_264</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>sub_ln962_fu_354</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>sub_ln968_fu_477</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>tmp_2_fu_386</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>tmp_3_fu_396</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>tmp_4_fu_599</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> <item> <first>tmp_5_fu_244</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>tmp_6_fu_292</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>tmp_8_fu_370</first> <second> <count>1</count> <item_version>0</item_version> <item>62</item> </second> </item> <item> <first>tmp_fu_488</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>tobool29_i_i648_fu_360</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>trunc_ln1352_fu_724</first> <second> <count>1</count> <item_version>0</item_version> <item>105</item> </second> </item> <item> <first>trunc_ln3_fu_513</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>trunc_ln4_fu_693</first> <second> <count>1</count> <item_version>0</item_version> <item>92</item> </second> </item> <item> <first>trunc_ln5_fu_795</first> <second> <count>1</count> <item_version>0</item_version> <item>114</item> </second> </item> <item> <first>trunc_ln946_fu_366</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>trunc_ln947_fu_234</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>trunc_ln950_fu_260</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>x0_V_1_fu_588</first> <second> <count>1</count> <item_version>0</item_version> <item>72</item> </second> </item> <item> <first>x0_V_2_fu_609</first> <second> <count>1</count> <item_version>0</item_version> <item>75</item> </second> </item> <item> <first>x0_V_3_fu_628</first> <second> <count>1</count> <item_version>0</item_version> <item>78</item> </second> </item> <item> <first>x0_V_4_fu_653</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>x0_V_6_fu_687</first> <second> <count>1</count> <item_version>0</item_version> <item>83</item> </second> </item> <item> <first>x0_V_fu_567</first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>xor_ln1560_fu_550</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>xor_ln938_fu_636</first> <second> <count>1</count> <item_version>0</item_version> <item>79</item> </second> </item> <item> <first>xor_ln952_fu_300</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>zext_ln1168_1_fu_679</first> <second> <count>1</count> <item_version>0</item_version> <item>89</item> </second> </item> <item> <first>zext_ln1168_2_fu_712</first> <second> <count>1</count> <item_version>0</item_version> <item>97</item> </second> </item> <item> <first>zext_ln1168_3_fu_737</first> <second> <count>1</count> <item_version>0</item_version> <item>100</item> </second> </item> <item> <first>zext_ln1168_fu_406</first> <second> <count>1</count> <item_version>0</item_version> <item>84</item> </second> </item> <item> <first>zext_ln1171_fu_716</first> <second> <count>1</count> <item_version>0</item_version> <item>98</item> </second> </item> <item> <first>zext_ln1246_1_fu_770</first> <second> <count>1</count> <item_version>0</item_version> <item>109</item> </second> </item> <item> <first>zext_ln1246_fu_702</first> <second> <count>1</count> <item_version>0</item_version> <item>93</item> </second> </item> <item> <first>zext_ln1352_fu_720</first> <second> <count>1</count> <item_version>0</item_version> <item>104</item> </second> </item> <item> <first>zext_ln1386_fu_740</first> <second> <count>1</count> <item_version>0</item_version> <item>101</item> </second> </item> <item> <first>zext_ln573_fu_683</first> <second> <count>1</count> <item_version>0</item_version> <item>91</item> </second> </item> <item> <first>zext_ln6_fu_573</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>zext_ln712_1_fu_584</first> <second> <count>1</count> <item_version>0</item_version> <item>71</item> </second> </item> <item> <first>zext_ln712_fu_563</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>zext_ln950_fu_270</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>zext_ln960_fu_410</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>zext_ln961_fu_413</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>zext_ln962_fu_422</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>zext_ln964_fu_438</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>zext_ln965_fu_457</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>5</count> <item_version>0</item_version> <item> <first>grp_fu_191</first> <second> <count>2</count> <item_version>0</item_version> <item>59</item> <item>59</item> </second> </item> <item> <first>grp_fu_805</first> <second> <count>4</count> <item_version>0</item_version> <item>85</item> <item>85</item> <item>85</item> <item>85</item> </second> </item> <item> <first>grp_fu_813</first> <second> <count>4</count> <item_version>0</item_version> <item>90</item> <item>90</item> <item>90</item> <item>90</item> </second> </item> <item> <first>grp_fu_820</first> <second> <count>4</count> <item_version>0</item_version> <item>99</item> <item>99</item> <item>99</item> <item>99</item> </second> </item> <item> <first>grp_fu_827</first> <second> <count>4</count> <item_version>0</item_version> <item>106</item> <item>106</item> <item>106</item> <item>106</item> </second> </item> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>1</count> <item_version>0</item_version> <item> <first>in_read_read_fu_172</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> </dp_fu_nodes_io> <return_ports> <count>1</count> <item_version>0</item_version> <item> <first>ap_return</first> <second> <count>1</count> <item_version>0</item_version> <item>115</item> </second> </item> </return_ports> <dp_mem_port_nodes class_id="55" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="56" tracking_level="0" version="0"> <first class_id="57" tracking_level="0" version="0"> <first>ROM_EXP_V</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>96</item> <item>96</item> </second> </item> </dp_mem_port_nodes> <dp_reg_nodes> <count>25</count> <item_version>0</item_version> <item> <first>833</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>840</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>846</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>851</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>856</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>861</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>866</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>871</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>876</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>881</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>886</first> <second> <count>1</count> <item_version>0</item_version> <item>84</item> </second> </item> <item> <first>891</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>896</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>901</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>906</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>911</first> <second> <count>1</count> <item_version>0</item_version> <item>85</item> </second> </item> <item> <first>916</first> <second> <count>1</count> <item_version>0</item_version> <item>87</item> </second> </item> <item> <first>921</first> <second> <count>1</count> <item_version>0</item_version> <item>89</item> </second> </item> <item> <first>926</first> <second> <count>1</count> <item_version>0</item_version> <item>95</item> </second> </item> <item> <first>931</first> <second> <count>1</count> <item_version>0</item_version> <item>97</item> </second> </item> <item> <first>936</first> <second> <count>1</count> <item_version>0</item_version> <item>98</item> </second> </item> <item> <first>941</first> <second> <count>1</count> <item_version>0</item_version> <item>104</item> </second> </item> <item> <first>947</first> <second> <count>1</count> <item_version>0</item_version> <item>105</item> </second> </item> <item> <first>952</first> <second> <count>1</count> <item_version>0</item_version> <item>106</item> </second> </item> <item> <first>957</first> <second> <count>1</count> <item_version>0</item_version> <item>108</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>25</count> <item_version>0</item_version> <item> <first>ROM_EXP_V_addr_reg_926</first> <second> <count>1</count> <item_version>0</item_version> <item>95</item> </second> </item> <item> <first>add_ln961_reg_851</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>bitcast_ln741_reg_891</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>icmp_ln1549_1_reg_871</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>icmp_ln1549_reg_840</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>icmp_ln1560_1_reg_901</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>icmp_ln1560_reg_896</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>icmp_ln961_reg_846</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>in_read_reg_833</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>n_reg_916</first> <second> <count>1</count> <item_version>0</item_version> <item>87</item> </second> </item> <item> <first>r_V_6_reg_952</first> <second> <count>1</count> <item_version>0</item_version> <item>106</item> </second> </item> <item> <first>r_V_reg_911</first> <second> <count>1</count> <item_version>0</item_version> <item>85</item> </second> </item> <item> <first>ret_V_1_reg_957</first> <second> <count>1</count> <item_version>0</item_version> <item>108</item> </second> </item> <item> <first>sub_ln962_reg_856</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>tmp_2_reg_876</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>tmp_3_reg_881</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>tobool29_i_i648_reg_861</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>trunc_ln1352_reg_947</first> <second> <count>1</count> <item_version>0</item_version> <item>105</item> </second> </item> <item> <first>trunc_ln946_reg_866</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>x0_V_4_reg_906</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>zext_ln1168_1_reg_921</first> <second> <count>1</count> <item_version>0</item_version> <item>89</item> </second> </item> <item> <first>zext_ln1168_2_reg_931</first> <second> <count>1</count> <item_version>0</item_version> <item>97</item> </second> </item> <item> <first>zext_ln1168_reg_886</first> <second> <count>1</count> <item_version>0</item_version> <item>84</item> </second> </item> <item> <first>zext_ln1171_reg_936</first> <second> <count>1</count> <item_version>0</item_version> <item>98</item> </second> </item> <item> <first>zext_ln1352_reg_941</first> <second> <count>1</count> <item_version>0</item_version> <item>104</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="58" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="59" tracking_level="0" version="0"> <first>in_r</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> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>55</count> <item_version>0</item_version> <item> <first>9</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>10</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>14</first> <second> <first>10</first> <second>4</second> </second> </item> <item> <first>16</first> <second> <first>8</first> <second>4</second> </second> </item> <item> <first>18</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>10</first> <second>4</second> </second> </item> <item> <first>22</first> <second> <first>21</first> <second>2</second> </second> </item> <item> <first>23</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>24</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>25</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>8</first> <second>4</second> </second> </item> <item> <first>29</first> <second> <first>20</first> <second>2</second> </second> </item> <item> <first>30</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>31</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>32</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>34</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>35</first> <second> <first>8</first> <second>4</second> </second> </item> <item> <first>37</first> <second> <first>21</first> <second>2</second> </second> </item> <item> <first>38</first> <second> <first>10</first> <second>4</second> </second> </item> <item> <first>40</first> <second> <first>20</first> <second>2</second> </second> </item> <item> <first>41</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>42</first> <second> <first>49</first> <second>107</second> </second> </item> <item> <first>44</first> <second> <first>8</first> <second>4</second> </second> </item> <item> <first>48</first> <second> <first>49</first> <second>107</second> </second> </item> <item> <first>50</first> <second> <first>8</first> <second>156</second> </second> </item> <item> <first>51</first> <second> <first>8</first> <second>156</second> </second> </item> <item> <first>56</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>57</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>58</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>59</first> <second> <first>513</first> <second>0</second> </second> </item> <item> <first>60</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>61</first> <second> <first>25</first> <second>0</second> </second> </item> <item> <first>63</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>67</first> <second> <first>8</first> <second>4</second> </second> </item> <item> <first>72</first> <second> <first>8</first> <second>4</second> </second> </item> <item> <first>73</first> <second> <first>8</first> <second>4</second> </second> </item> <item> <first>76</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>77</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>78</first> <second> <first>49</first> <second>107</second> </second> </item> <item> <first>79</first> <second> <first>25</first> <second>0</second> </second> </item> <item> <first>80</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>81</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>82</first> <second> <first>49</first> <second>107</second> </second> </item> <item> <first>83</first> <second> <first>49</first> <second>107</second> </second> </item> <item> <first>85</first> <second> <first>12</first> <second>3</second> </second> </item> <item> <first>90</first> <second> <first>12</first> <second>3</second> </second> </item> <item> <first>94</first> <second> <first>10</first> <second>4</second> </second> </item> <item> <first>96</first> <second> <first>27</first> <second>147</second> </second> </item> <item> <first>99</first> <second> <first>12</first> <second>3</second> </second> </item> <item> <first>102</first> <second> <first>21</first> <second>2</second> </second> </item> <item> <first>106</first> <second> <first>12</first> <second>3</second> </second> </item> <item> <first>108</first> <second> <first>8</first> <second>4</second> </second> </item> <item> <first>111</first> <second> <first>12</first> <second>0</second> </second> </item> <item> <first>113</first> <second> <first>10</first> <second>4</second> </second> </item> </node2core> </syndb> </boost_serialization>
32.66016
114
0.466005
4d725989f987f699cf0564bd2a999c63a753b848
2,480
ads
Ada
src/image/sdl-images-io.ads
alire-project/sdlada
9593807925f5f6651d81514c7f2d163ab3156dc1
[ "Zlib" ]
null
null
null
src/image/sdl-images-io.ads
alire-project/sdlada
9593807925f5f6651d81514c7f2d163ab3156dc1
[ "Zlib" ]
null
null
null
src/image/sdl-images-io.ads
alire-project/sdlada
9593807925f5f6651d81514c7f2d163ab3156dc1
[ "Zlib" ]
null
null
null
-------------------------------------------------------------------------------------------------------------------- -- 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. -------------------------------------------------------------------------------------------------------------------- -- SDL.Images.IO -- -- Various loading routines. -------------------------------------------------------------------------------------------------------------------- with SDL.Video.Renderers; with SDL.Video.Surfaces; with SDL.Video.Textures; with SDL.RWops; package SDL.Images.IO is -- TODO: I don't like the idea of leaving the freeing of the Source to the programmer, this is error prone and will -- cause leaks! I would prefer the RWops object be controlled. procedure Create (Surface : in out Video.Surfaces.Surface; File_Name : in String); procedure Create (Surface : in out Video.Surfaces.Surface; Source : in RWops.RWops; Format : in Formats; Free_Source : in Boolean := True); procedure Create (Texture : in out Video.Textures.Texture; Renderer : in Video.Renderers.Renderer; File_Name : in String); procedure Create (Texture : in out Video.Textures.Texture; Renderer : in Video.Renderers.Renderer; Source : in RWops.RWops; Free_Source : in Boolean := True); procedure Write_PNG (Surface : in out Video.Surfaces.Surface; File_Name : in String); end SDL.Images.IO;
46.792453
119
0.567742
a1b0ae28dd9db8d7a7c425b18aa77f60e8e70bbb
1,290
ads
Ada
Read Only/gdb-6.8/gdb/testsuite/gdb.ada/interface/types.ads
samyvic/OS-Project
1622bc1641876584964effd91d65ef02e92728e1
[ "Apache-2.0" ]
null
null
null
Read Only/gdb-6.8/gdb/testsuite/gdb.ada/interface/types.ads
samyvic/OS-Project
1622bc1641876584964effd91d65ef02e92728e1
[ "Apache-2.0" ]
null
null
null
Read Only/gdb-6.8/gdb/testsuite/gdb.ada/interface/types.ads
samyvic/OS-Project
1622bc1641876584964effd91d65ef02e92728e1
[ "Apache-2.0" ]
null
null
null
-- Copyright 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/>. package Types is type Object_Int is interface; type Another_Int is interface; type Object_Root is abstract tagged record X : Natural; Y : Natural; end record; type Object is abstract new Object_Root and Object_Int and Another_Int with null record; function Ident (O : Object'Class) return Object'Class; procedure Do_Nothing (O : in out Object'Class); type Rectangle is new Object with record W : Natural; H : Natural; end record; type Circle is new Object with record R : Natural; end record; end Types;
30
73
0.712403
2fe6c893b5fa7bfec878493ec033947c25606851
2,598
adb
Ada
bb-runtimes/examples/monitor/p5566/clkdrv.adb
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/examples/monitor/p5566/clkdrv.adb
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/examples/monitor/p5566/clkdrv.adb
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT EXAMPLE -- -- -- -- Copyright (C) 2013, AdaCore -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Clock driver with Ppc; use Ppc; package body Clkdrv is -- System clock Fsys : constant := 128_000_000; function Get_Clock return Unsigned_32 is Tmp : Unsigned_64; begin Tmp := Unsigned_64 (Get_Tbu) * 16#1_0000_0000# + Unsigned_64 (Get_Tbl); Tmp := Tmp / (Fsys / 10); return Unsigned_32 (Tmp and 16#ffff_ffff#); end Get_Clock; end Clkdrv;
56.478261
78
0.474596
310a969c95d4642dddffb1cb7f0c97754a8a19d5
74,708
adb
Ada
Milestone-1/project_2_17.4/ip_repo/my_ip_hls/solution1/.autopilot/db/my_ip_hls.adb
CSpyridakis/Reconfigurable-Computing
345316489786c6470e47c66b0bf4a73d2ac4b0c0
[ "MIT" ]
null
null
null
Milestone-1/project_2_17.4/ip_repo/my_ip_hls/solution1/.autopilot/db/my_ip_hls.adb
CSpyridakis/Reconfigurable-Computing
345316489786c6470e47c66b0bf4a73d2ac4b0c0
[ "MIT" ]
null
null
null
Milestone-1/project_2_17.4/ip_repo/my_ip_hls/solution1/.autopilot/db/my_ip_hls.adb
CSpyridakis/Reconfigurable-Computing
345316489786c6470e47c66b0bf4a73d2ac4b0c0
[ "MIT" ]
3
2020-05-24T19:51:12.000Z
2020-10-29T15:08:48.000Z
<?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>my_ip_hls</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>slaveIn_V_data_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>slaveIn.V.data.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>slaveIn_V_strb_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>slaveIn.V.strb.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>4</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>slaveIn_V_last_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>slaveIn.V.last.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_4"> <Value> <Obj> <type>1</type> <id>4</id> <name>MasterOut_V_data_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>MasterOut.V.data.V</originalName> <rtlName/> <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="_5"> <Value> <Obj> <type>1</type> <id>5</id> <name>MasterOut_V_strb_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>MasterOut.V.strb.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>4</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="_6"> <Value> <Obj> <type>1</type> <id>6</id> <name>MasterOut_V_last_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>MasterOut.V.last.V</originalName> <rtlName/> <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>9</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_7"> <Value> <Obj> <type>0</type> <id>18</id> <name>tmp</name> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>17</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>C:\Work\Courses\HRY591\project\work\project_2_17.4\ip_repo</first> <second class_id="11" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>17</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>5</count> <item_version>0</item_version> <item>31</item> <item>32</item> <item>33</item> <item>34</item> <item>36</item> </oprand_edges> <opcode>nbreadreq</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>19</id> <name/> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>17</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Work\Courses\HRY591\project\work\project_2_17.4\ip_repo</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>17</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>37</item> <item>38</item> <item>39</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>21</id> <name>empty</name> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>19</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Work\Courses\HRY591\project\work\project_2_17.4\ip_repo</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>19</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>37</bitwidth> </Value> <oprand_edges> <count>5</count> <item_version>0</item_version> <item>41</item> <item>42</item> <item>43</item> <item>44</item> <item>146</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>22</id> <name>tmp_data_V</name> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>19</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Work\Courses\HRY591\project\work\project_2_17.4\ip_repo</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>19</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.data.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>45</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>23</id> <name>tmp_strb_V</name> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>19</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Work\Courses\HRY591\project\work\project_2_17.4\ip_repo</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>19</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.strb.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>46</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>24</id> <name>tmp_last_V</name> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>19</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Work\Courses\HRY591\project\work\project_2_17.4\ip_repo</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>19</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.last.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>47</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>25</id> <name/> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>20</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Work\Courses\HRY591\project\work\project_2_17.4\ip_repo</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>20</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>7</count> <item_version>0</item_version> <item>49</item> <item>50</item> <item>51</item> <item>52</item> <item>53</item> <item>54</item> <item>55</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>26</id> <name/> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>21</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Work\Courses\HRY591\project\work\project_2_17.4\ip_repo</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>21</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>56</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>28</id> <name/> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>27</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Work\Courses\HRY591\project\work\project_2_17.4\ip_repo</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>27</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_16"> <Value> <Obj> <type>2</type> <id>35</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_17"> <Obj> <type>3</type> <id>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>2</count> <item_version>0</item_version> <item>18</item> <item>19</item> </node_objs> </item> <item class_id_reference="18" object_id="_18"> <Obj> <type>3</type> <id>27</id> <name/> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>6</count> <item_version>0</item_version> <item>21</item> <item>22</item> <item>23</item> <item>24</item> <item>25</item> <item>26</item> </node_objs> </item> <item class_id_reference="18" object_id="_19"> <Obj> <type>3</type> <id>29</id> <name>._crit_edge</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>28</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>24</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_20"> <id>32</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_21"> <id>33</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_22"> <id>34</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_23"> <id>36</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_24"> <id>37</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_25"> <id>38</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_26"> <id>39</id> <edge_type>2</edge_type> <source_obj>27</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_27"> <id>42</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_28"> <id>43</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_29"> <id>44</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_30"> <id>45</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_31"> <id>46</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_32"> <id>47</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_33"> <id>50</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_34"> <id>51</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_35"> <id>52</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_36"> <id>53</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_37"> <id>54</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_38"> <id>55</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_39"> <id>56</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_40"> <id>143</id> <edge_type>2</edge_type> <source_obj>20</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_41"> <id>144</id> <edge_type>2</edge_type> <source_obj>20</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_42"> <id>145</id> <edge_type>2</edge_type> <source_obj>27</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_43"> <id>146</id> <edge_type>4</edge_type> <source_obj>18</source_obj> <sink_obj>21</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_44"> <mId>1</mId> <mTag>my_ip_hls</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>3</count> <item_version>0</item_version> <item>20</item> <item>27</item> <item>29</item> </basic_blocks> <mII>1</mII> <mDepth>3</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>2</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_45"> <states class_id="25" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_46"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_47"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_48"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_49"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_50"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_51"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_52"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_53"> <id>2</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_54"> <id>25</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_55"> <id>3</id> <operations> <count>14</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_56"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_57"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_58"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_59"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_60"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_61"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_62"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_63"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_64"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_65"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_66"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_67"> <id>25</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_68"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_69"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_70"> <inState>1</inState> <outState>2</outState> <condition class_id="31" tracking_level="0" version="0"> <id>9</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="_71"> <inState>2</inState> <outState>3</outState> <condition> <id>10</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="34" tracking_level="1" version="0" object_id="_72"> <dp_component_resource class_id="35" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_component_resource> <dp_expression_resource> <count>14</count> <item_version>0</item_version> <item class_id="36" tracking_level="0" version="0"> <first>MasterOut_V_data_V_1_load_A ( and ) </first> <second class_id="37" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>8</second> </item> </second> </item> <item> <first>MasterOut_V_data_V_1_load_B ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>8</second> </item> </second> </item> <item> <first>MasterOut_V_data_V_1_state_cmp_full ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>2</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>8</second> </item> </second> </item> <item> <first>MasterOut_V_last_V_1_load_A ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>8</second> </item> </second> </item> <item> <first>MasterOut_V_last_V_1_load_B ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>8</second> </item> </second> </item> <item> <first>MasterOut_V_last_V_1_state_cmp_full ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>2</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>8</second> </item> </second> </item> <item> <first>MasterOut_V_strb_V_1_load_A ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>8</second> </item> </second> </item> <item> <first>MasterOut_V_strb_V_1_load_B ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>8</second> </item> </second> </item> <item> <first>MasterOut_V_strb_V_1_state_cmp_full ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>2</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>8</second> </item> </second> </item> <item> <first>ap_block_state1_pp0_stage0_iter0 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>8</second> </item> </second> </item> <item> <first>ap_block_state2_io ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>8</second> </item> </second> </item> <item> <first>ap_block_state3_io ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>8</second> </item> </second> </item> <item> <first>ap_block_state3_pp0_stage0_iter2 ( 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>8</second> </item> </second> </item> <item> <first>tmp_nbreadreq_fu_42_p5 ( and ) </first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>8</second> </item> </second> </item> </dp_expression_resource> <dp_fifo_resource> <count>0</count> <item_version>0</item_version> </dp_fifo_resource> <dp_memory_resource> <count>0</count> <item_version>0</item_version> </dp_memory_resource> <dp_multiplexer_resource> <count>10</count> <item_version>0</item_version> <item> <first>MasterOut_TDATA_blk_n</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>MasterOut_V_data_V_1_data_out</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>32</second> </item> <item> <first>(2Count)</first> <second>64</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>MasterOut_V_data_V_1_state</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>3</second> </item> <item> <first>(1Bits)</first> <second>2</second> </item> <item> <first>(2Count)</first> <second>6</second> </item> <item> <first>LUT</first> <second>15</second> </item> </second> </item> <item> <first>MasterOut_V_last_V_1_data_out</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>MasterOut_V_last_V_1_state</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>3</second> </item> <item> <first>(1Bits)</first> <second>2</second> </item> <item> <first>(2Count)</first> <second>6</second> </item> <item> <first>LUT</first> <second>15</second> </item> </second> </item> <item> <first>MasterOut_V_strb_V_1_data_out</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>4</second> </item> <item> <first>(2Count)</first> <second>8</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>MasterOut_V_strb_V_1_state</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>3</second> </item> <item> <first>(1Bits)</first> <second>2</second> </item> <item> <first>(2Count)</first> <second>6</second> </item> <item> <first>LUT</first> <second>15</second> </item> </second> </item> <item> <first>ap_NS_iter1_fsm</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>3</second> </item> <item> <first>(1Bits)</first> <second>2</second> </item> <item> <first>(2Count)</first> <second>6</second> </item> <item> <first>LUT</first> <second>15</second> </item> </second> </item> <item> <first>ap_NS_iter2_fsm</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>3</second> </item> <item> <first>(1Bits)</first> <second>2</second> </item> <item> <first>(2Count)</first> <second>6</second> </item> <item> <first>LUT</first> <second>15</second> </item> </second> </item> <item> <first>slaveIn_TDATA_blk_n</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> </dp_multiplexer_resource> <dp_register_resource> <count>23</count> <item_version>0</item_version> <item> <first>MasterOut_V_data_V_1_payload_A</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>32</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>32</second> </item> </second> </item> <item> <first>MasterOut_V_data_V_1_payload_B</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>32</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>32</second> </item> </second> </item> <item> <first>MasterOut_V_data_V_1_sel_rd</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>MasterOut_V_data_V_1_sel_wr</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>MasterOut_V_data_V_1_state</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>2</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>2</second> </item> </second> </item> <item> <first>MasterOut_V_last_V_1_payload_A</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>MasterOut_V_last_V_1_payload_B</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>MasterOut_V_last_V_1_sel_rd</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>MasterOut_V_last_V_1_sel_wr</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>MasterOut_V_last_V_1_state</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>2</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>2</second> </item> </second> </item> <item> <first>MasterOut_V_strb_V_1_payload_A</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>4</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>4</second> </item> </second> </item> <item> <first>MasterOut_V_strb_V_1_payload_B</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>4</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>4</second> </item> </second> </item> <item> <first>MasterOut_V_strb_V_1_sel_rd</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>MasterOut_V_strb_V_1_sel_wr</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>MasterOut_V_strb_V_1_state</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>2</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>2</second> </item> </second> </item> <item> <first>ap_CS_iter0_fsm</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_CS_iter1_fsm</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>2</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>2</second> </item> </second> </item> <item> <first>ap_CS_iter2_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_reg_pp0_iter1_tmp_reg_89</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>tmp_data_V_reg_93</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>32</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>32</second> </item> </second> </item> <item> <first>tmp_last_V_reg_103</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>tmp_reg_89</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>tmp_strb_V_reg_98</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>4</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>4</second> </item> </second> </item> </dp_register_resource> <dp_dsp_resource> <count>0</count> <item_version>0</item_version> </dp_dsp_resource> <dp_component_map class_id="39" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_component_map> <dp_expression_map> <count>0</count> <item_version>0</item_version> </dp_expression_map> <dp_fifo_map> <count>0</count> <item_version>0</item_version> </dp_fifo_map> <dp_memory_map> <count>0</count> <item_version>0</item_version> </dp_memory_map> </res> <node_label_latency class_id="40" tracking_level="0" version="0"> <count>9</count> <item_version>0</item_version> <item class_id="41" tracking_level="0" version="0"> <first>18</first> <second class_id="42" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>22</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>24</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>26</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>2</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="43" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="44" tracking_level="0" version="0"> <first>20</first> <second class_id="45" tracking_level="0" version="0"> <first>0</first> <second>2</second> </second> </item> <item> <first>27</first> <second> <first>0</first> <second>2</second> </second> </item> <item> <first>29</first> <second> <first>2</first> <second>2</second> </second> </item> </bblk_ent_exit> <regions class_id="46" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="47" tracking_level="1" version="0" object_id="_73"> <region_name>my_ip_hls</region_name> <basic_blocks> <count>3</count> <item_version>0</item_version> <item>20</item> <item>27</item> <item>29</item> </basic_blocks> <nodes> <count>0</count> <item_version>0</item_version> </nodes> <anchor_node>-1</anchor_node> <region_type>8</region_type> <interval>1</interval> <pipe_depth>3</pipe_depth> </item> </regions> <dp_fu_nodes class_id="48" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="49" tracking_level="0" version="0"> <first>42</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>54</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>64</first> <second> <count>2</count> <item_version>0</item_version> <item>25</item> <item>25</item> </second> </item> <item> <first>77</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>81</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>85</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="51" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="52" tracking_level="0" version="0"> <first>tmp_data_V_fu_77</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>tmp_last_V_fu_85</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>tmp_strb_V_fu_81</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>3</count> <item_version>0</item_version> <item> <first>empty_read_fu_54</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>grp_write_fu_64</first> <second> <count>2</count> <item_version>0</item_version> <item>25</item> <item>25</item> </second> </item> <item> <first>tmp_nbreadreq_fu_42</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="53" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>4</count> <item_version>0</item_version> <item> <first>89</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>93</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>98</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>103</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>4</count> <item_version>0</item_version> <item> <first>tmp_data_V_reg_93</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>tmp_last_V_reg_103</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>tmp_reg_89</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>tmp_strb_V_reg_98</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="54" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="55" tracking_level="0" version="0"> <first>MasterOut_V_data_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>write</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> </second> </item> <item> <first>MasterOut_V_last_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>write</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> </second> </item> <item> <first>MasterOut_V_strb_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>write</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> </second> </item> <item> <first>slaveIn_V_data_V</first> <second> <count>2</count> <item_version>0</item_version> <item> <first>nbreadreq</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> </second> </item> <item> <first>slaveIn_V_last_V</first> <second> <count>2</count> <item_version>0</item_version> <item> <first>nbreadreq</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> </second> </item> <item> <first>slaveIn_V_strb_V</first> <second> <count>2</count> <item_version>0</item_version> <item> <first>nbreadreq</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="56" 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>
29.847383
91
0.434425
0b385c45907ffe34297a081617d930050c791792
6,790
adb
Ada
Ada95/samples/sample-text_io_demo.adb
mvaisakh/android_external_libncurses
d44c8a16d7f1ed276d0de0b3f6f1a5596c5f556f
[ "DOC", "Unlicense" ]
35
2015-03-07T13:26:22.000Z
2021-11-06T16:18:59.000Z
Ada95/samples/sample-text_io_demo.adb
mvaisakh/android_external_libncurses
d44c8a16d7f1ed276d0de0b3f6f1a5596c5f556f
[ "DOC", "Unlicense" ]
3
2017-04-07T21:02:48.000Z
2017-04-08T17:59:35.000Z
Ada95/samples/sample-text_io_demo.adb
mvaisakh/android_external_libncurses
d44c8a16d7f1ed276d0de0b3f6f1a5596c5f556f
[ "DOC", "Unlicense" ]
19
2015-06-16T06:13:44.000Z
2021-07-24T02:37:45.000Z
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- -- -- Sample.Text_IO_Demo -- -- -- -- B O D Y -- -- -- ------------------------------------------------------------------------------ -- Copyright (c) 1998-2004,2006 Free Software Foundation, Inc. -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this software and associated documentation files (the -- -- "Software"), to deal in the Software without restriction, including -- -- without limitation the rights to use, copy, modify, merge, publish, -- -- distribute, distribute with modifications, sublicense, and/or sell -- -- copies of the Software, and to permit persons to whom the Software is -- -- furnished to do so, subject to the following conditions: -- -- -- -- The above copyright notice and this permission notice shall be included -- -- in all copies or substantial portions of the Software. -- -- -- -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -- -- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -- -- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -- -- IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -- -- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -- -- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR -- -- THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- -- -- -- Except as contained in this notice, the name(s) of the above copyright -- -- holders shall not be used in advertising or otherwise to promote the -- -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control -- $Revision: 1.16 $ -- $Date: 2006/06/25 14:30:22 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Numerics.Generic_Elementary_Functions; with Ada.Numerics.Complex_Types; use Ada.Numerics.Complex_Types; with Terminal_Interface.Curses; use Terminal_Interface.Curses; with Terminal_Interface.Curses.Panels; use Terminal_Interface.Curses.Panels; with Terminal_Interface.Curses.Text_IO; use Terminal_Interface.Curses.Text_IO; with Terminal_Interface.Curses.Text_IO.Integer_IO; with Terminal_Interface.Curses.Text_IO.Float_IO; with Terminal_Interface.Curses.Text_IO.Enumeration_IO; with Terminal_Interface.Curses.Text_IO.Complex_IO; with Terminal_Interface.Curses.Text_IO.Fixed_IO; with Terminal_Interface.Curses.Text_IO.Decimal_IO; with Terminal_Interface.Curses.Text_IO.Modular_IO; with Sample.Manifest; use Sample.Manifest; with Sample.Function_Key_Setting; use Sample.Function_Key_Setting; with Sample.Keyboard_Handler; use Sample.Keyboard_Handler; with Sample.Explanation; use Sample.Explanation; package body Sample.Text_IO_Demo is type Weekday is (Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday); type Fix is delta 0.1 range 0.0 .. 4.0; type Dec is delta 0.01 digits 5 range 0.0 .. 4.0; type Md is mod 5; package Math is new Ada.Numerics.Generic_Elementary_Functions (Float); package Int_IO is new Terminal_Interface.Curses.Text_IO.Integer_IO (Integer); use Int_IO; package Real_IO is new Terminal_Interface.Curses.Text_IO.Float_IO (Float); use Real_IO; package Enum_IO is new Terminal_Interface.Curses.Text_IO.Enumeration_IO (Weekday); use Enum_IO; package C_IO is new Terminal_Interface.Curses.Text_IO.Complex_IO (Ada.Numerics.Complex_Types); use C_IO; package F_IO is new Terminal_Interface.Curses.Text_IO.Fixed_IO (Fix); use F_IO; package D_IO is new Terminal_Interface.Curses.Text_IO.Decimal_IO (Dec); use D_IO; package M_IO is new Terminal_Interface.Curses.Text_IO.Modular_IO (Md); use M_IO; procedure Demo is W : Window; P : Panel := Create (Standard_Window); K : Real_Key_Code; Im : constant Complex := (0.0, 1.0); Fx : constant Dec := 3.14; Dc : constant Dec := 2.72; L : Md; begin Push_Environment ("TEXTIO"); Default_Labels; Notepad ("TEXTIO-PAD00"); Set_Echo_Mode (False); Set_Meta_Mode; Set_KeyPad_Mode; W := Sub_Window (Standard_Window, Lines - 2, Columns - 2, 1, 1); Box; Refresh_Without_Update; Set_Meta_Mode (W); Set_KeyPad_Mode (W); Immediate_Update_Mode (W, True); Set_Window (W); for I in 1 .. 10 loop Put ("Square root of "); Put (Item => I, Width => 5); Put (" is "); Put (Item => Math.Sqrt (Float (I)), Exp => 0, Aft => 7); New_Line; end loop; for W in Weekday loop Put (Item => W); Put (' '); end loop; New_Line; L := Md'First; for I in 1 .. 2 loop for J in Md'Range loop Put (L); Put (' '); L := L + 1; end loop; end loop; New_Line; Put (Im); New_Line; Put (Fx); New_Line; Put (Dc); New_Line; loop K := Get_Key; if K in Special_Key_Code'Range then case K is when QUIT_CODE => exit; when HELP_CODE => Explain_Context; when EXPLAIN_CODE => Explain ("TEXTIOKEYS"); when others => null; end case; end if; end loop; Set_Window (Null_Window); Erase; Refresh_Without_Update; Delete (P); Delete (W); Pop_Environment; end Demo; end Sample.Text_IO_Demo;
37.307692
79
0.530633
4d7698121552a830e46e230128135a003745872b
3,672
adb
Ada
source/slim-players-play_radio_visiters.adb
reznikmm/slimp
acbbb895ba9c2a2dfb28e5065e630326ce958502
[ "MIT" ]
null
null
null
source/slim-players-play_radio_visiters.adb
reznikmm/slimp
acbbb895ba9c2a2dfb28e5065e630326ce958502
[ "MIT" ]
null
null
null
source/slim-players-play_radio_visiters.adb
reznikmm/slimp
acbbb895ba9c2a2dfb28e5065e630326ce958502
[ "MIT" ]
null
null
null
-- Copyright (c) 2019 Maxim Reznik <[email protected]> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Calendar; with Ada.Text_IO; with League.String_Vectors; with Slim.Messages.cont; -- with Slim.Players.Displays; package body Slim.Players.Play_Radio_Visiters is ---------- -- DSCO -- ---------- overriding procedure DSCO (Self : in out Visiter; Message : not null access Slim.Messages.DSCO.DSCO_Message) is pragma Unreferenced (Message); use type Ada.Calendar.Time; Player : Players.Player renames Self.Player.all; begin -- got disconnection on the data channel Player.State := (Idle, Ada.Calendar.Clock - 60.0, Player.First_Menu); end DSCO; ---------- -- META -- ---------- overriding procedure META (Self : in out Visiter; Message : not null access Slim.Messages.META.META_Message) is Player : Players.Player renames Self.Player.all; Text : League.Strings.Universal_String := Message.Value; Prefix : constant Wide_Wide_String := "StreamTitle='"; Suffix : constant Wide_Wide_String := "';"; begin if Text.Starts_With (Prefix) then Text := Text.Tail_From (Prefix'Length + 1); end if; if Text.Ends_With (Suffix) then Text := Text.Head_To (Text.Length - Suffix'Length); end if; Player.State.Play_State.Current_Song := Text; Slim.Players.Common_Play_Visiters.Update_Display (Player); end META; ---------- -- RESP -- ---------- overriding procedure RESP (Self : in out Visiter; Message : not null access Slim.Messages.RESP.RESP_Message) is List : constant League.String_Vectors.Universal_String_Vector := Message.Headers; Player : Players.Player renames Self.Player.all; Line : League.Strings.Universal_String; Metaint_Header : constant Wide_Wide_String := "icy-metaint:"; Metaint : Natural := 0; Cont : Slim.Messages.cont.Cont_Message; begin for J in 1 .. List.Length loop Line := List.Element (J); if Line.Starts_With (Metaint_Header) then Line := Line.Tail_From (Metaint_Header'Length + 1); begin Metaint := Natural'Wide_Wide_Value (Line.To_Wide_Wide_String); exception when Constraint_Error => null; end; exit; end if; end loop; Cont.Set_Metaint (Metaint); Write_Message (Player.Socket, Cont); end RESP; ---------- -- STAT -- ---------- overriding procedure STAT (Self : in out Visiter; Message : not null access Slim.Messages.STAT.STAT_Message) is Player : Players.Player renames Self.Player.all; begin Player.WiFi := Message.WiFi_Level; if Message.Event (1 .. 3) /= "STM" then return; elsif not Player.State.Play_State.Current_Song.Is_Empty then null; elsif Message.Event = "STMc" then Player.State.Play_State.Current_Song.Clear; Player.State.Play_State.Current_Song.Append ("Connecting..."); elsif Message.Event = "STMe" then Player.State.Play_State.Current_Song.Clear; Player.State.Play_State.Current_Song.Append ("Connected"); end if; Slim.Players.Common_Play_Visiters.Update_Display (Player); if Message.Event /= "STMt" then Ada.Text_IO.Put_Line (Message.Event); end if; end STAT; end Slim.Players.Play_Radio_Visiters;
28.246154
75
0.602669
a10b5a9237e0a4c8a5671a7bf5e2ede831d31984
18,985
adb
Ada
src/_test/scenarios/apsepp_shared_instance_test_case.adb
thierr26/ada-apsepp
6eb87079ea57707db4ee1e2215fa170af66b1913
[ "MIT" ]
null
null
null
src/_test/scenarios/apsepp_shared_instance_test_case.adb
thierr26/ada-apsepp
6eb87079ea57707db4ee1e2215fa170af66b1913
[ "MIT" ]
null
null
null
src/_test/scenarios/apsepp_shared_instance_test_case.adb
thierr26/ada-apsepp
6eb87079ea57707db4ee1e2215fa170af66b1913
[ "MIT" ]
null
null
null
-- Copyright (C) 2019 Thierry Rascle <[email protected]> -- MIT license. Please refer to the LICENSE file. with Ada.Tags, Apsepp.Generic_Shared_Instance.Access_Setter, Apsepp.Generic_Shared_Instance.Creator, Apsepp.Generic_Shared_Instance.Fallback_Switch, Apsepp_Shared_Instance_Test_Fixture, Apsepp.Generic_Fixture.Creator; package body Apsepp_Shared_Instance_Test_Case is use Apsepp_Shared_Instance_Test_Fixture; ---------------------------------------------------------------------------- function SIF return Shared_Instance_Test_Fixture_Access renames Instance; ---------------------------------------------------------------------------- procedure Shared_Instance_Access_Setter_L_Null_CB_Test is use Ada.Tags; use SIFLI_Shared_Instance_L; begin Assert (not SIFLI_Shared_Instance_L.Locked); Assert (not SIFLI_Shared_Instance_L.Instantiated); Assert (SIFLI_Shared_Instance_L.Instance = null); Assert (SIF.Lock_Count = 0); Assert (SIF.Unlock_Count = 0); declare package Outer_A_S is new SIFLI_Shared_Instance_L.Access_Setter (Inst_Access => SIFLI_Concrete_1_Instance'Access); begin Assert (SIFLI_Shared_Instance_L.Locked); Assert (SIFLI_Shared_Instance_L.Instantiated); Assert (SIFLI_Shared_Instance_L.Instance = SIFLI_Concrete_1_Instance'Access); Assert (SIFLI_Shared_Instance_L.Instance'Tag = SIFLI_Concrete_1'Tag); Assert (SIFLI_Shared_Instance_L.Instance.Primitive = '1'); Assert (SIF.Lock_Count = 1); Assert (SIF.Unlock_Count = 0); Assert (Outer_A_S.Has_Actually_Set); declare package Inner_A_S is new SIFLI_Shared_Instance_L.Access_Setter (Inst_Access => SIFLI_Concrete_2_Instance'Access); begin Assert (SIFLI_Shared_Instance_L.Locked); Assert (SIFLI_Shared_Instance_L.Instantiated); Assert (SIFLI_Shared_Instance_L.Instance = SIFLI_Concrete_1_Instance'Access); Assert (SIFLI_Shared_Instance_L.Instance'Tag = SIFLI_Concrete_1'Tag); Assert (SIFLI_Shared_Instance_L.Instance.Primitive = '1'); Assert (SIF.Lock_Count = 1); Assert (SIF.Unlock_Count = 0); Assert (Outer_A_S.Has_Actually_Set); Assert (not Inner_A_S.Has_Actually_Set); end; Assert (SIFLI_Shared_Instance_L.Locked); Assert (SIFLI_Shared_Instance_L.Instantiated); Assert (SIFLI_Shared_Instance_L.Instance = SIFLI_Concrete_1_Instance'Access); Assert (SIFLI_Shared_Instance_L.Instance'Tag = SIFLI_Concrete_1'Tag); Assert (SIFLI_Shared_Instance_L.Instance.Primitive = '1'); Assert (SIF.Lock_Count = 1); Assert (SIF.Unlock_Count = 0); Assert (Outer_A_S.Has_Actually_Set); end; Assert (SIFLI_Shared_Instance_L.Instance = null); Assert (not SIFLI_Shared_Instance_L.Locked); Assert (not SIFLI_Shared_Instance_L.Instantiated); Assert (SIF.Lock_Count = 1); Assert (SIF.Unlock_Count = 0); end Shared_Instance_Access_Setter_L_Null_CB_Test; ---------------------------------------------------------------------------- procedure Shared_Instance_Access_Setter_L_Null_CB_E_Test is use Ada.Tags; use SIFLI_Shared_Instance_L; begin Assert (not SIFLI_Shared_Instance_L.Locked); Assert (not SIFLI_Shared_Instance_L.Instantiated); Assert (SIFLI_Shared_Instance_L.Instance = null); Assert (SIF.Lock_Count = 0); Assert (SIF.Unlock_Count = 0); begin declare package Outer_A_S is new SIFLI_Shared_Instance_L.Access_Setter (Inst_Access => SIFLI_Concrete_1_Instance'Access); begin Assert (SIFLI_Shared_Instance_L.Locked); Assert (SIFLI_Shared_Instance_L.Instantiated); Assert (SIFLI_Shared_Instance_L.Instance = SIFLI_Concrete_1_Instance'Access); Assert (SIFLI_Shared_Instance_L.Instance'Tag = SIFLI_Concrete_1'Tag); Assert (SIFLI_Shared_Instance_L.Instance.Primitive = '1'); Assert (SIF.Lock_Count = 1); Assert (SIF.Unlock_Count = 0); Assert (Outer_A_S.Has_Actually_Set); raise Program_Error; end; exception when others => Assert (SIFLI_Shared_Instance_L.Instance = null); Assert (not SIFLI_Shared_Instance_L.Locked); Assert (not SIFLI_Shared_Instance_L.Instantiated); Assert (SIF.Lock_Count = 1); Assert (SIF.Unlock_Count = 0); end; Assert (SIFLI_Shared_Instance_L.Instance = null); Assert (not SIFLI_Shared_Instance_L.Locked); Assert (not SIFLI_Shared_Instance_L.Instantiated); Assert (SIF.Lock_Count = 1); Assert (SIF.Unlock_Count = 0); end Shared_Instance_Access_Setter_L_Null_CB_E_Test; ---------------------------------------------------------------------------- procedure Shared_Instance_Access_Setter_U_Null_CB_Test is use Ada.Tags; use SIFLI_Shared_Instance_U; begin Assert (not SIFLI_Shared_Instance_U.Locked); Assert (not SIFLI_Shared_Instance_U.Instantiated); Assert (SIFLI_Shared_Instance_U.Instance = null); Assert (SIF.Lock_Count = 0); Assert (SIF.Unlock_Count = 0); declare package Outer_A_S is new SIFLI_Shared_Instance_U.Access_Setter (Inst_Access => SIFLI_Concrete_2_Instance'Access); begin Assert (SIFLI_Shared_Instance_U.Locked); Assert (SIFLI_Shared_Instance_U.Instantiated); Assert (SIFLI_Shared_Instance_U.Instance = SIFLI_Concrete_2_Instance'Access); Assert (SIFLI_Shared_Instance_U.Instance'Tag = SIFLI_Concrete_2'Tag); Assert (SIFLI_Shared_Instance_U.Instance.Primitive = '2'); Assert (SIF.Lock_Count = 0); Assert (SIF.Unlock_Count = 0); Assert (Outer_A_S.Has_Actually_Set); declare package Inner_A_S is new SIFLI_Shared_Instance_U.Access_Setter (Inst_Access => SIFLI_Concrete_2_Instance'Access); begin Assert (SIFLI_Shared_Instance_U.Locked); Assert (SIFLI_Shared_Instance_U.Instantiated); Assert (SIFLI_Shared_Instance_U.Instance = SIFLI_Concrete_2_Instance'Access); Assert (SIFLI_Shared_Instance_U.Instance'Tag = SIFLI_Concrete_2'Tag); Assert (SIFLI_Shared_Instance_U.Instance.Primitive = '2'); Assert (SIF.Lock_Count = 0); Assert (SIF.Unlock_Count = 0); Assert (Outer_A_S.Has_Actually_Set); Assert (not Inner_A_S.Has_Actually_Set); end; Assert (SIFLI_Shared_Instance_U.Locked); Assert (SIFLI_Shared_Instance_U.Instantiated); Assert (SIFLI_Shared_Instance_U.Instance = SIFLI_Concrete_2_Instance'Access); Assert (SIFLI_Shared_Instance_U.Instance'Tag = SIFLI_Concrete_2'Tag); Assert (SIFLI_Shared_Instance_U.Instance.Primitive = '2'); Assert (SIF.Lock_Count = 0); Assert (SIF.Unlock_Count = 0); Assert (Outer_A_S.Has_Actually_Set); end; Assert (SIFLI_Shared_Instance_U.Instance = null); Assert (not SIFLI_Shared_Instance_U.Locked); Assert (not SIFLI_Shared_Instance_U.Instantiated); Assert (SIF.Lock_Count = 0); Assert (SIF.Unlock_Count = 1); end Shared_Instance_Access_Setter_U_Null_CB_Test; ---------------------------------------------------------------------------- procedure Shared_Instance_Access_Setter_CB_Test is begin Assert (SIF.CB_Calls_Count = 0); declare package A_S is new SIFLI_Shared_Instance_L.Access_Setter (Inst_Access => SIFLI_Concrete_1_Instance'Access, CB => CB); pragma Unreferenced (A_S); begin Assert (SIF.CB_Calls_Count = 1); end; Assert (SIF.CB_Calls_Count = 1); end Shared_Instance_Access_Setter_CB_Test; ---------------------------------------------------------------------------- procedure Shared_Instance_Creator_L_Null_CB_Test is use Ada.Tags; use SIFLI_Shared_Instance_L; begin Assert (not SIFLI_Shared_Instance_L.Locked); Assert (not SIFLI_Shared_Instance_L.Instantiated); Assert (SIFLI_Shared_Instance_L.Instance = null); Assert (SIF.Lock_Count = 0); Assert (SIF.Unlock_Count = 0); declare package Outer_C is new SIFLI_Shared_Instance_L.Creator (Allocate => Allocate_SIFLI_Concrete_1_L); begin Assert (SIFLI_Shared_Instance_L.Locked); Assert (SIFLI_Shared_Instance_L.Instantiated); Assert (SIFLI_Shared_Instance_L.Instance'Tag = SIFLI_Concrete_1'Tag); Assert (SIFLI_Shared_Instance_L.Instance.Primitive = '1'); Assert (SIF.Lock_Count = 1); Assert (SIF.Unlock_Count = 0); Assert (Outer_C.Has_Actually_Created); declare package Inner_C is new SIFLI_Shared_Instance_L.Creator (Allocate => Allocate_SIFLI_Concrete_2_L); begin Assert (SIFLI_Shared_Instance_L.Locked); Assert (SIFLI_Shared_Instance_L.Instantiated); Assert (SIFLI_Shared_Instance_L.Instance'Tag = SIFLI_Concrete_1'Tag); Assert (SIFLI_Shared_Instance_L.Instance.Primitive = '1'); Assert (SIF.Lock_Count = 1); Assert (SIF.Unlock_Count = 0); Assert (Outer_C.Has_Actually_Created); Assert (not Inner_C.Has_Actually_Created); end; Assert (SIFLI_Shared_Instance_L.Locked); Assert (SIFLI_Shared_Instance_L.Instantiated); Assert (SIFLI_Shared_Instance_L.Instance'Tag = SIFLI_Concrete_1'Tag); Assert (SIFLI_Shared_Instance_L.Instance.Primitive = '1'); Assert (SIF.Lock_Count = 1); Assert (SIF.Unlock_Count = 0); Assert (Outer_C.Has_Actually_Created); end; Assert (SIFLI_Shared_Instance_L.Instance = null); Assert (not SIFLI_Shared_Instance_L.Locked); Assert (not SIFLI_Shared_Instance_L.Instantiated); Assert (SIF.Lock_Count = 1); Assert (SIF.Unlock_Count = 0); end Shared_Instance_Creator_L_Null_CB_Test; ---------------------------------------------------------------------------- procedure Shared_Instance_Creator_L_Null_CB_J_P_Test is use SIFLI_Shared_Instance_L; begin Assert (not SIFLI_Shared_Instance_L.Locked); Assert (not SIFLI_Shared_Instance_L.Instantiated); Assert (SIFLI_Shared_Instance_L.Instance = null); Assert (SIF.Lock_Count = 0); Assert (SIF.Unlock_Count = 0); declare package Outer_C is new SIFLI_Shared_Instance_L.Creator (Allocate => Allocate_SIFLI_Concrete_1_L, Just_Pretend => True); begin Assert (SIFLI_Shared_Instance_L.Locked); Assert (not SIFLI_Shared_Instance_L.Instantiated); Assert (SIFLI_Shared_Instance_L.Instance = null); Assert (SIF.Lock_Count = 1); Assert (SIF.Unlock_Count = 0); Assert (Outer_C.Has_Actually_Created); declare package Inner_C is new SIFLI_Shared_Instance_L.Creator (Allocate => Allocate_SIFLI_Concrete_2_L); begin Assert (SIFLI_Shared_Instance_L.Locked); Assert (not SIFLI_Shared_Instance_L.Instantiated); Assert (SIFLI_Shared_Instance_L.Instance = null); Assert (SIF.Lock_Count = 1); Assert (SIF.Unlock_Count = 0); Assert (Outer_C.Has_Actually_Created); Assert (not Inner_C.Has_Actually_Created); end; Assert (SIFLI_Shared_Instance_L.Locked); Assert (not SIFLI_Shared_Instance_L.Instantiated); Assert (SIFLI_Shared_Instance_L.Instance = null); Assert (SIF.Lock_Count = 1); Assert (SIF.Unlock_Count = 0); Assert (Outer_C.Has_Actually_Created); end; Assert (SIFLI_Shared_Instance_L.Instance = null); Assert (not SIFLI_Shared_Instance_L.Locked); Assert (not SIFLI_Shared_Instance_L.Instantiated); Assert (SIF.Lock_Count = 1); Assert (SIF.Unlock_Count = 0); end Shared_Instance_Creator_L_Null_CB_J_P_Test; ---------------------------------------------------------------------------- procedure Shared_Instance_Creator_U_Null_CB_Test is use Ada.Tags; use SIFLI_Shared_Instance_U; begin Assert (not SIFLI_Shared_Instance_U.Locked); Assert (not SIFLI_Shared_Instance_U.Instantiated); Assert (SIFLI_Shared_Instance_U.Instance = null); Assert (SIF.Lock_Count = 0); Assert (SIF.Unlock_Count = 0); declare package Outer_C is new SIFLI_Shared_Instance_U.Creator (Allocate => Allocate_SIFLI_Concrete_2_U); begin Assert (SIFLI_Shared_Instance_U.Locked); Assert (SIFLI_Shared_Instance_U.Instantiated); Assert (SIFLI_Shared_Instance_U.Instance'Tag = SIFLI_Concrete_2'Tag); Assert (SIFLI_Shared_Instance_U.Instance.Primitive = '2'); Assert (SIF.Lock_Count = 0); Assert (SIF.Unlock_Count = 0); Assert (Outer_C.Has_Actually_Created); declare package Inner_C is new SIFLI_Shared_Instance_U.Creator (Allocate => Allocate_SIFLI_Concrete_2_U); begin Assert (SIFLI_Shared_Instance_U.Locked); Assert (SIFLI_Shared_Instance_U.Instantiated); Assert (SIFLI_Shared_Instance_U.Instance'Tag = SIFLI_Concrete_2'Tag); Assert (SIFLI_Shared_Instance_U.Instance.Primitive = '2'); Assert (SIF.Lock_Count = 0); Assert (SIF.Unlock_Count = 0); Assert (Outer_C.Has_Actually_Created); Assert (not Inner_C.Has_Actually_Created); end; Assert (SIFLI_Shared_Instance_U.Locked); Assert (SIFLI_Shared_Instance_U.Instantiated); Assert (SIFLI_Shared_Instance_U.Instance'Tag = SIFLI_Concrete_2'Tag); Assert (SIFLI_Shared_Instance_U.Instance.Primitive = '2'); Assert (SIF.Lock_Count = 0); Assert (SIF.Unlock_Count = 0); Assert (Outer_C.Has_Actually_Created); end; Assert (SIFLI_Shared_Instance_U.Instance = null); Assert (not SIFLI_Shared_Instance_U.Locked); Assert (not SIFLI_Shared_Instance_U.Instantiated); Assert (SIF.Lock_Count = 0); Assert (SIF.Unlock_Count = 1); end Shared_Instance_Creator_U_Null_CB_Test; ---------------------------------------------------------------------------- procedure Shared_Instance_Creator_CB_Test is begin Assert (SIF.CB_Calls_Count = 0); declare package C is new SIFLI_Shared_Instance_L.Creator (Allocate => Allocate_SIFLI_Concrete_1_L, CB => CB); pragma Unreferenced (C); begin Assert (SIF.CB_Calls_Count = 1); end; Assert (SIF.CB_Calls_Count = 1); end Shared_Instance_Creator_CB_Test; ---------------------------------------------------------------------------- procedure Shared_Instance_Fallback_Switch_Test is use Ada.Tags; use SIFLI_Shared_Instance_L; package F_S is new SIFLI_Shared_Instance_L.Fallback_Switch (Fallback_Instance => SIFLI_Concrete_2_Instance'Access); begin Assert (not SIFLI_Shared_Instance_L.Locked); Assert (not SIFLI_Shared_Instance_L.Instantiated); Assert (SIFLI_Shared_Instance_L.Instance = null); Assert (F_S.Instance_FS'Tag = SIFLI_Concrete_2'Tag); Assert (F_S.Instance_FS.Primitive = '2'); declare package A_S is new SIFLI_Shared_Instance_L.Access_Setter (Inst_Access => SIFLI_Concrete_1_Instance'Access); begin Assert (SIFLI_Shared_Instance_L.Locked); Assert (SIFLI_Shared_Instance_L.Instantiated); Assert (SIFLI_Shared_Instance_L.Instance'Tag = SIFLI_Concrete_1'Tag); Assert (SIFLI_Shared_Instance_L.Instance.Primitive = '1'); Assert (A_S.Has_Actually_Set); Assert (F_S.Instance_FS'Tag = SIFLI_Concrete_1'Tag); Assert (F_S.Instance_FS.Primitive = '1'); end; Assert (not SIFLI_Shared_Instance_L.Locked); Assert (not SIFLI_Shared_Instance_L.Instantiated); Assert (SIFLI_Shared_Instance_L.Instance = null); Assert (F_S.Instance_FS'Tag = SIFLI_Concrete_2'Tag); Assert (F_S.Instance_FS.Primitive = '2'); end Shared_Instance_Fallback_Switch_Test; ---------------------------------------------------------------------------- overriding procedure Setup_Routine (Obj : Apsepp_Shared_Instance_T_C) is pragma Unreferenced (Obj); begin SIF.Reset; end Setup_Routine; ---------------------------------------------------------------------------- overriding function Routine_Array (Obj : Apsepp_Shared_Instance_T_C) return Test_Routine_Array is (Shared_Instance_Access_Setter_L_Null_CB_Test'Access, Shared_Instance_Access_Setter_L_Null_CB_E_Test'Access, Shared_Instance_Access_Setter_U_Null_CB_Test'Access, Shared_Instance_Access_Setter_CB_Test'Access, Shared_Instance_Creator_L_Null_CB_Test'Access, Shared_Instance_Creator_L_Null_CB_J_P_Test'Access, Shared_Instance_Creator_U_Null_CB_Test'Access, Shared_Instance_Creator_CB_Test'Access, Shared_Instance_Fallback_Switch_Test'Access); ---------------------------------------------------------------------------- overriding procedure Run (Obj : in out Apsepp_Shared_Instance_T_C; Outcome : out Test_Outcome; Kind : Run_Kind := Assert_Cond_And_Run_Test) is ----------------------------------------------------- package Shared_Instance_T_F_Creator is new Shared_Instance_T_F.Creator (Just_Pretend => Check_Cond_Run (Kind)); ----------------------------------------------------- function Cond return Boolean is (Shared_Instance_T_F_Creator.Has_Actually_Created); ----------------------------------------------------- begin Run_Body (Obj, Outcome, Kind, Cond'Access); end Run; ---------------------------------------------------------------------------- end Apsepp_Shared_Instance_Test_Case;
35.820755
79
0.617646
4de7555c2b45447d730ba48ec4466f67852f3253
2,539
ads
Ada
software/hal/hpl/STM32/drivers/dma2d/stm32-dma2d-polling.ads
TUM-EI-RCS/StratoX
5fdd04e01a25efef6052376f43ce85b5bc973392
[ "BSD-3-Clause" ]
12
2017-06-08T14:19:57.000Z
2022-03-09T02:48:59.000Z
software/hal/hpl/STM32/drivers/dma2d/stm32-dma2d-polling.ads
TUM-EI-RCS/StratoX
5fdd04e01a25efef6052376f43ce85b5bc973392
[ "BSD-3-Clause" ]
6
2017-06-08T13:13:50.000Z
2020-05-15T09:32:43.000Z
software/hal/hpl/STM32/drivers/dma2d/stm32-dma2d-polling.ads
TUM-EI-RCS/StratoX
5fdd04e01a25efef6052376f43ce85b5bc973392
[ "BSD-3-Clause" ]
3
2017-06-30T14:05:06.000Z
2022-02-17T12:20:45.000Z
------------------------------------------------------------------------------ -- -- -- 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. -- -- -- ------------------------------------------------------------------------------ -- DMA2D driver that polls the DMA2D status to check for finished DMA -- transfers package STM32.DMA2D.Polling is procedure Initialize; end STM32.DMA2D.Polling;
65.102564
78
0.51989
1268c3324bf5c6bd473cf69c6467a3cfcd67f5ab
201,263
adb
Ada
apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen/sharpen/hls_target/.autopilot/db/call_Loop_LB2D_buf_p.adb
dillonhuff/Halide-HLS
e9f4c3ac7915e5a52f211ce65004ae17890515a0
[ "MIT" ]
1
2020-06-18T16:51:39.000Z
2020-06-18T16:51:39.000Z
apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen/sharpen/hls_target/.autopilot/db/call_Loop_LB2D_buf_p.adb
dillonhuff/Halide-HLS
e9f4c3ac7915e5a52f211ce65004ae17890515a0
[ "MIT" ]
null
null
null
apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen/sharpen/hls_target/.autopilot/db/call_Loop_LB2D_buf_p.adb
dillonhuff/Halide-HLS
e9f4c3ac7915e5a52f211ce65004ae17890515a0
[ "MIT" ]
1
2020-03-18T00:43:22.000Z
2020-03-18T00:43:22.000Z
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="14"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName/> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>call_Loop_LB2D_buf_p</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>in_stream_V_value_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>stream&amp;lt;PackedStencil&amp;lt;unsigned char, 1, 1, 1, 1&amp;gt; &amp;gt;.V.value.V</originalName> <rtlName/> <coreName>FIFO_SRL</coreName> </Obj> <bitwidth>8</bitwidth> </Value> <direction>0</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>slice_stream_V_value_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName>FIFO_SRL</coreName> </Obj> <bitwidth>24</bitwidth> </Value> <direction>1</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>43</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_3"> <Value> <Obj> <type>0</type> <id>7</id> <name>buffer_0_value_V</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>168</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second class_id="11" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>168</second> </item> </second> </item> </inlineStackInfo> <originalName>buffer[0].value.V</originalName> <rtlName>buffer_0_value_V_U</rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>71</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_4"> <Value> <Obj> <type>0</type> <id>8</id> <name>buffer_1_value_V</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>168</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>168</second> </item> </second> </item> </inlineStackInfo> <originalName>buffer[1].value.V</originalName> <rtlName>buffer_1_value_V_U</rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>72</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_5"> <Value> <Obj> <type>0</type> <id>9</id> <name/> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>73</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>11</id> <name>write_idx_1</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>write_idx_1</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>75</item> <item>76</item> <item>77</item> <item>78</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>12</id> <name>row</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>row</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>80</item> <item>81</item> <item>82</item> <item>83</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>13</id> <name>tmp</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>177</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>177</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_fu_168_p2</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>84</item> <item>86</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>15</id> <name>row_1</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>177</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>177</second> </item> </second> </item> </inlineStackInfo> <originalName>row</originalName> <rtlName>row_1_fu_174_p2</rtlName> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>87</item> <item>89</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>16</id> <name/> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>177</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>177</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>90</item> <item>91</item> <item>92</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>20</id> <name>tmp_6</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>187</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>187</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_6_fu_180_p4</rtlName> <coreName/> </Obj> <bitwidth>10</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>113</item> <item>114</item> <item>116</item> <item>118</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>21</id> <name>icmp</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>187</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>187</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>icmp_fu_190_p2</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>119</item> <item>121</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>22</id> <name/> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>179</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>179</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>122</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>24</id> <name>write_idx_1_1</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>211</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>211</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>96</item> <item>97</item> <item>98</item> <item>99</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>25</id> <name>col</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>col</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>100</item> <item>101</item> <item>102</item> <item>103</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>26</id> <name>tmp_2</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>179</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>179</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_2_fu_196_p2</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>104</item> <item>106</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>27</id> <name>col_1</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>179</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>179</second> </item> </second> </item> </inlineStackInfo> <originalName>col</originalName> <rtlName>col_1_fu_202_p2</rtlName> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>107</item> <item>108</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>28</id> <name/> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>179</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>179</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>109</item> <item>110</item> <item>111</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>30</id> <name>col_cast</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>179</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>179</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>col_cast_fu_208_p1</rtlName> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>131</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>34</id> <name>tmp_8</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>183</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>183</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_8_fu_214_p4</rtlName> <coreName/> </Obj> <bitwidth>63</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>133</item> <item>134</item> <item>135</item> <item>137</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>35</id> <name>icmp1</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>183</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>183</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>icmp1_fu_224_p2</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>138</item> <item>140</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>36</id> <name>write_idx_1_3</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>184</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>184</second> </item> </second> </item> </inlineStackInfo> <originalName>write_idx_1</originalName> <rtlName>write_idx_1_3_fu_230_p2</rtlName> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>141</item> <item>143</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>37</id> <name>p_write_idx_1_1</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>183</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>183</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>p_write_idx_1_1_fu_236_p3</rtlName> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>144</item> <item>145</item> <item>146</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>38</id> <name>tmp_value_V_2</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>186</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>186</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.value.V</originalName> <rtlName/> <coreName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>148</item> <item>149</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>39</id> <name>buffer_0_value_V_ad</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>179</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>179</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>150</item> <item>151</item> <item>152</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>40</id> <name>buffer_0_value_V_lo</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>198</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>198</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>153</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>41</id> <name>buffer_1_value_V_ad</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>179</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>179</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>154</item> <item>155</item> <item>156</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>42</id> <name>buffer_1_value_V_lo</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>198</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>198</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>157</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>43</id> <name/> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>187</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>187</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>158</item> <item>159</item> <item>160</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>45</id> <name>tmp_9</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>183</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>183</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_9_fu_243_p1</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>161</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>46</id> <name>p_Val2_2_0_phi</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>198</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>198</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>p_Val2_2_0_phi_fu_251_p3</rtlName> <coreName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>162</item> <item>163</item> <item>164</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>47</id> <name>p_Val2_2_1_phi</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>198</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>198</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>p_Val2_2_1_phi_fu_256_p3</rtlName> <coreName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>165</item> <item>166</item> <item>167</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>48</id> <name>p_Result_s</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>206</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>206</second> </item> </second> </item> </inlineStackInfo> <originalName>__Result__</originalName> <rtlName>slice_stream_V_value_V_din</rtlName> <coreName/> </Obj> <bitwidth>24</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>169</item> <item>170</item> <item>171</item> <item>172</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>49</id> <name/> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>207</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>207</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>174</item> <item>175</item> <item>176</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>50</id> <name/> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>208</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>208</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>177</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>52</id> <name>tmp_10</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>183</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>183</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_10_fu_247_p1</rtlName> <coreName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>127</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>53</id> <name/> <fileName>../../../lib_files/Stencil.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>75</lineNumber> <contextFuncName>operator=</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>209</second> </item> <item> <first> <first>../../../lib_files/Stencil.h</first> <second>operator=</second> </first> <second>75</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>128</item> <item>129</item> <item>130</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>55</id> <name/> <fileName>../../../lib_files/Stencil.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>75</lineNumber> <contextFuncName>operator=</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>209</second> </item> <item> <first> <first>../../../lib_files/Stencil.h</first> <second>operator=</second> </first> <second>75</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>124</item> <item>125</item> <item>297</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>56</id> <name/> <fileName>../../../lib_files/Stencil.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>75</lineNumber> <contextFuncName>operator=</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>209</second> </item> <item> <first> <first>../../../lib_files/Stencil.h</first> <second>operator=</second> </first> <second>75</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>126</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>58</id> <name/> <fileName>../../../lib_files/Stencil.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>75</lineNumber> <contextFuncName>operator=</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>209</second> </item> <item> <first> <first>../../../lib_files/Stencil.h</first> <second>operator=</second> </first> <second>75</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>178</item> <item>179</item> <item>296</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_41"> <Value> <Obj> <type>0</type> <id>59</id> <name/> <fileName>../../../lib_files/Stencil.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>75</lineNumber> <contextFuncName>operator=</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>2</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>209</second> </item> <item> <first> <first>../../../lib_files/Stencil.h</first> <second>operator=</second> </first> <second>75</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>180</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>62</id> <name/> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>179</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>179</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>123</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_43"> <Value> <Obj> <type>0</type> <id>64</id> <name>write_idx_1_2</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>211</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>211</second> </item> </second> </item> </inlineStackInfo> <originalName>write_idx_1</originalName> <rtlName>write_idx_1_2_fu_271_p2</rtlName> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>93</item> <item>94</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_44"> <Value> <Obj> <type>0</type> <id>66</id> <name/> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>177</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/big_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>177</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>95</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>68</id> <name/> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>12</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_46"> <Value> <Obj> <type>2</type> <id>70</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_47"> <Value> <Obj> <type>2</type> <id>74</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_48"> <Value> <Obj> <type>2</type> <id>79</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_49"> <Value> <Obj> <type>2</type> <id>85</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>1080</content> </item> <item class_id_reference="16" object_id="_50"> <Value> <Obj> <type>2</type> <id>88</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_51"> <Value> <Obj> <type>2</type> <id>105</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>1920</content> </item> <item class_id_reference="16" object_id="_52"> <Value> <Obj> <type>2</type> <id>115</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_53"> <Value> <Obj> <type>2</type> <id>117</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="_54"> <Value> <Obj> <type>2</type> <id>120</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>10</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_55"> <Value> <Obj> <type>2</type> <id>136</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>63</content> </item> <item class_id_reference="16" object_id="_56"> <Value> <Obj> <type>2</type> <id>139</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>63</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_57"> <Value> <Obj> <type>2</type> <id>142</id> <name>empty</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>18446744073709551614</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>12</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_58"> <Obj> <type>3</type> <id>10</id> <name>newFuncRoot</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>7</item> <item>8</item> <item>9</item> </node_objs> </item> <item class_id_reference="18" object_id="_59"> <Obj> <type>3</type> <id>17</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>5</count> <item_version>0</item_version> <item>11</item> <item>12</item> <item>13</item> <item>15</item> <item>16</item> </node_objs> </item> <item class_id_reference="18" object_id="_60"> <Obj> <type>3</type> <id>23</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>20</item> <item>21</item> <item>22</item> </node_objs> </item> <item class_id_reference="18" object_id="_61"> <Obj> <type>3</type> <id>29</id> <name/> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>5</count> <item_version>0</item_version> <item>24</item> <item>25</item> <item>26</item> <item>27</item> <item>28</item> </node_objs> </item> <item class_id_reference="18" object_id="_62"> <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>11</count> <item_version>0</item_version> <item>30</item> <item>34</item> <item>35</item> <item>36</item> <item>37</item> <item>38</item> <item>39</item> <item>40</item> <item>41</item> <item>42</item> <item>43</item> </node_objs> </item> <item class_id_reference="18" object_id="_63"> <Obj> <type>3</type> <id>51</id> <name>.preheader56.preheader.critedge.0</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>6</count> <item_version>0</item_version> <item>45</item> <item>46</item> <item>47</item> <item>48</item> <item>49</item> <item>50</item> </node_objs> </item> <item class_id_reference="18" object_id="_64"> <Obj> <type>3</type> <id>54</id> <name>._crit_edge</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>2</count> <item_version>0</item_version> <item>52</item> <item>53</item> </node_objs> </item> <item class_id_reference="18" object_id="_65"> <Obj> <type>3</type> <id>57</id> <name>branch4</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>2</count> <item_version>0</item_version> <item>55</item> <item>56</item> </node_objs> </item> <item class_id_reference="18" object_id="_66"> <Obj> <type>3</type> <id>60</id> <name>branch5</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>2</count> <item_version>0</item_version> <item>58</item> <item>59</item> </node_objs> </item> <item class_id_reference="18" object_id="_67"> <Obj> <type>3</type> <id>63</id> <name>._crit_edge31</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>62</item> </node_objs> </item> <item class_id_reference="18" object_id="_68"> <Obj> <type>3</type> <id>67</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>2</count> <item_version>0</item_version> <item>64</item> <item>66</item> </node_objs> </item> <item class_id_reference="18" object_id="_69"> <Obj> <type>3</type> <id>69</id> <name>.preheader.exitStub</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <coreName/> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>68</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>106</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_70"> <id>71</id> <edge_type>1</edge_type> <source_obj>70</source_obj> <sink_obj>7</sink_obj> </item> <item class_id_reference="20" object_id="_71"> <id>72</id> <edge_type>1</edge_type> <source_obj>70</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_72"> <id>73</id> <edge_type>2</edge_type> <source_obj>17</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_73"> <id>75</id> <edge_type>1</edge_type> <source_obj>74</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_74"> <id>76</id> <edge_type>2</edge_type> <source_obj>10</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_75"> <id>77</id> <edge_type>1</edge_type> <source_obj>64</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_76"> <id>78</id> <edge_type>2</edge_type> <source_obj>67</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_77"> <id>80</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_78"> <id>81</id> <edge_type>2</edge_type> <source_obj>10</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_79"> <id>82</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_80"> <id>83</id> <edge_type>2</edge_type> <source_obj>67</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_81"> <id>84</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_82"> <id>86</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_83"> <id>87</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="20" object_id="_84"> <id>89</id> <edge_type>1</edge_type> <source_obj>88</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="20" object_id="_85"> <id>90</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_86"> <id>91</id> <edge_type>2</edge_type> <source_obj>23</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_87"> <id>92</id> <edge_type>2</edge_type> <source_obj>69</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_88"> <id>93</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>64</sink_obj> </item> <item class_id_reference="20" object_id="_89"> <id>94</id> <edge_type>1</edge_type> <source_obj>70</source_obj> <sink_obj>64</sink_obj> </item> <item class_id_reference="20" object_id="_90"> <id>95</id> <edge_type>2</edge_type> <source_obj>17</source_obj> <sink_obj>66</sink_obj> </item> <item class_id_reference="20" object_id="_91"> <id>96</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_92"> <id>97</id> <edge_type>2</edge_type> <source_obj>23</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_93"> <id>98</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_94"> <id>99</id> <edge_type>2</edge_type> <source_obj>63</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_95"> <id>100</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_96"> <id>101</id> <edge_type>2</edge_type> <source_obj>23</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_97"> <id>102</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_98"> <id>103</id> <edge_type>2</edge_type> <source_obj>63</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_99"> <id>104</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_100"> <id>106</id> <edge_type>1</edge_type> <source_obj>105</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_101"> <id>107</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_102"> <id>108</id> <edge_type>1</edge_type> <source_obj>88</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_103"> <id>109</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_104"> <id>110</id> <edge_type>2</edge_type> <source_obj>44</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_105"> <id>111</id> <edge_type>2</edge_type> <source_obj>67</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_106"> <id>114</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_107"> <id>116</id> <edge_type>1</edge_type> <source_obj>115</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_108"> <id>118</id> <edge_type>1</edge_type> <source_obj>117</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_109"> <id>119</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_110"> <id>121</id> <edge_type>1</edge_type> <source_obj>120</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_111"> <id>122</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_112"> <id>123</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>62</sink_obj> </item> <item class_id_reference="20" object_id="_113"> <id>124</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>55</sink_obj> </item> <item class_id_reference="20" object_id="_114"> <id>125</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>55</sink_obj> </item> <item class_id_reference="20" object_id="_115"> <id>126</id> <edge_type>2</edge_type> <source_obj>63</source_obj> <sink_obj>56</sink_obj> </item> <item class_id_reference="20" object_id="_116"> <id>127</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>52</sink_obj> </item> <item class_id_reference="20" object_id="_117"> <id>128</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>53</sink_obj> </item> <item class_id_reference="20" object_id="_118"> <id>129</id> <edge_type>2</edge_type> <source_obj>57</source_obj> <sink_obj>53</sink_obj> </item> <item class_id_reference="20" object_id="_119"> <id>130</id> <edge_type>2</edge_type> <source_obj>60</source_obj> <sink_obj>53</sink_obj> </item> <item class_id_reference="20" object_id="_120"> <id>131</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_121"> <id>134</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_122"> <id>135</id> <edge_type>1</edge_type> <source_obj>115</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_123"> <id>137</id> <edge_type>1</edge_type> <source_obj>136</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_124"> <id>138</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_125"> <id>140</id> <edge_type>1</edge_type> <source_obj>139</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_126"> <id>141</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_127"> <id>143</id> <edge_type>1</edge_type> <source_obj>142</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_128"> <id>144</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_129"> <id>145</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_130"> <id>146</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_131"> <id>149</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_132"> <id>150</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_133"> <id>151</id> <edge_type>1</edge_type> <source_obj>74</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_134"> <id>152</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_135"> <id>153</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>40</sink_obj> </item> <item class_id_reference="20" object_id="_136"> <id>154</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_137"> <id>155</id> <edge_type>1</edge_type> <source_obj>74</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_138"> <id>156</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_139"> <id>157</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>42</sink_obj> </item> <item class_id_reference="20" object_id="_140"> <id>158</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_141"> <id>159</id> <edge_type>2</edge_type> <source_obj>51</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_142"> <id>160</id> <edge_type>2</edge_type> <source_obj>54</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_143"> <id>161</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>45</sink_obj> </item> <item class_id_reference="20" object_id="_144"> <id>162</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>46</sink_obj> </item> <item class_id_reference="20" object_id="_145"> <id>163</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>46</sink_obj> </item> <item class_id_reference="20" object_id="_146"> <id>164</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>46</sink_obj> </item> <item class_id_reference="20" object_id="_147"> <id>165</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>47</sink_obj> </item> <item class_id_reference="20" object_id="_148"> <id>166</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>47</sink_obj> </item> <item class_id_reference="20" object_id="_149"> <id>167</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>47</sink_obj> </item> <item class_id_reference="20" object_id="_150"> <id>170</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_151"> <id>171</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_152"> <id>172</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_153"> <id>175</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>49</sink_obj> </item> <item class_id_reference="20" object_id="_154"> <id>176</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>49</sink_obj> </item> <item class_id_reference="20" object_id="_155"> <id>177</id> <edge_type>2</edge_type> <source_obj>54</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_156"> <id>178</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>58</sink_obj> </item> <item class_id_reference="20" object_id="_157"> <id>179</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>58</sink_obj> </item> <item class_id_reference="20" object_id="_158"> <id>180</id> <edge_type>2</edge_type> <source_obj>63</source_obj> <sink_obj>59</sink_obj> </item> <item class_id_reference="20" object_id="_159"> <id>281</id> <edge_type>2</edge_type> <source_obj>10</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_160"> <id>282</id> <edge_type>2</edge_type> <source_obj>17</source_obj> <sink_obj>69</sink_obj> </item> <item class_id_reference="20" object_id="_161"> <id>283</id> <edge_type>2</edge_type> <source_obj>17</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_162"> <id>284</id> <edge_type>2</edge_type> <source_obj>23</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_163"> <id>285</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>67</sink_obj> </item> <item class_id_reference="20" object_id="_164"> <id>286</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_165"> <id>287</id> <edge_type>2</edge_type> <source_obj>44</source_obj> <sink_obj>54</sink_obj> </item> <item class_id_reference="20" object_id="_166"> <id>288</id> <edge_type>2</edge_type> <source_obj>44</source_obj> <sink_obj>51</sink_obj> </item> <item class_id_reference="20" object_id="_167"> <id>289</id> <edge_type>2</edge_type> <source_obj>51</source_obj> <sink_obj>54</sink_obj> </item> <item class_id_reference="20" object_id="_168"> <id>290</id> <edge_type>2</edge_type> <source_obj>54</source_obj> <sink_obj>60</sink_obj> </item> <item class_id_reference="20" object_id="_169"> <id>291</id> <edge_type>2</edge_type> <source_obj>54</source_obj> <sink_obj>57</sink_obj> </item> <item class_id_reference="20" object_id="_170"> <id>292</id> <edge_type>2</edge_type> <source_obj>57</source_obj> <sink_obj>63</sink_obj> </item> <item class_id_reference="20" object_id="_171"> <id>293</id> <edge_type>2</edge_type> <source_obj>60</source_obj> <sink_obj>63</sink_obj> </item> <item class_id_reference="20" object_id="_172"> <id>294</id> <edge_type>2</edge_type> <source_obj>63</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_173"> <id>295</id> <edge_type>2</edge_type> <source_obj>67</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_174"> <id>296</id> <edge_type>4</edge_type> <source_obj>42</source_obj> <sink_obj>58</sink_obj> </item> <item class_id_reference="20" object_id="_175"> <id>297</id> <edge_type>4</edge_type> <source_obj>40</source_obj> <sink_obj>55</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_176"> <mId>1</mId> <mTag>call_Loop_LB2D_buf_p</mTag> <mType>0</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>7</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>2077921</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_177"> <mId>2</mId> <mTag>Entry</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>10</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_178"> <mId>3</mId> <mTag>LB2D_buf</mTag> <mType>1</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>4</item> <item>5</item> <item>6</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>1080</mMinTripCount> <mMaxTripCount>1080</mMaxTripCount> <mMinLatency>2077920</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_179"> <mId>4</mId> <mTag>Region 1</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>17</item> <item>23</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_180"> <mId>5</mId> <mTag>LB2D_buf.1</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>7</count> <item_version>0</item_version> <item>29</item> <item>44</item> <item>51</item> <item>54</item> <item>57</item> <item>60</item> <item>63</item> </basic_blocks> <mII>1</mII> <mDepth>3</mDepth> <mMinTripCount>1920</mMinTripCount> <mMaxTripCount>1920</mMaxTripCount> <mMinLatency>1921</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_181"> <mId>6</mId> <mTag>Region 2</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>67</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> <item class_id_reference="22" object_id="_182"> <mId>7</mId> <mTag>Return</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>69</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_183"> <states class_id="25" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_184"> <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="_185"> <id>3</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_186"> <id>4</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_187"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_188"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_189"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_190"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_191"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_192"> <id>2</id> <operations> <count>12</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_193"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_194"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_195"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_196"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_197"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_198"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_199"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_200"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_201"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_202"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_203"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_204"> <id>68</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_205"> <id>3</id> <operations> <count>13</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_206"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_207"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_208"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_209"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_210"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_211"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_212"> <id>34</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_213"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_214"> <id>39</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_215"> <id>40</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_216"> <id>41</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_217"> <id>42</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_218"> <id>43</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_219"> <id>4</id> <operations> <count>8</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_220"> <id>36</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_221"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_222"> <id>38</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_223"> <id>40</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_224"> <id>42</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_225"> <id>45</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_226"> <id>52</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_227"> <id>53</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_228"> <id>5</id> <operations> <count>14</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_229"> <id>31</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_230"> <id>32</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_231"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_232"> <id>46</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_233"> <id>47</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_234"> <id>48</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_235"> <id>49</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_236"> <id>50</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_237"> <id>55</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_238"> <id>56</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_239"> <id>58</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_240"> <id>59</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_241"> <id>61</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_242"> <id>62</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_243"> <id>6</id> <operations> <count>3</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_244"> <id>64</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_245"> <id>65</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_246"> <id>66</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_247"> <inState>1</inState> <outState>2</outState> <condition class_id="31" tracking_level="0" version="0"> <id>55</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="_248"> <inState>2</inState> <outState>3</outState> <condition> <id>57</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>13</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_249"> <inState>6</inState> <outState>2</outState> <condition> <id>68</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="_250"> <inState>4</inState> <outState>5</outState> <condition> <id>70</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="_251"> <inState>5</inState> <outState>3</outState> <condition> <id>71</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="_252"> <inState>3</inState> <outState>6</outState> <condition> <id>69</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>26</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_253"> <inState>3</inState> <outState>4</outState> <condition> <id>72</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>26</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="36" tracking_level="1" version="0" object_id="_254"> <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>21</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>ap_block_pp0_stage0_flag00001001 ( or ) </first> <second class_id="39" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="40" tracking_level="0" version="0"> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_block_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>2</second> </item> </second> </item> <item> <first>ap_block_state4_pp0_stage0_iter1 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_block_state5_pp0_stage0_iter2 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_enable_pp0 ( xor ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>2</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter1 ( xor ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>2</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_enable_state3_pp0_iter0_stage0 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_enable_state4_pp0_iter1_stage0 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>ap_enable_state5_pp0_iter2_stage0 ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>col_1_fu_202_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>11</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>38</second> </item> <item> <first>LUT</first> <second>16</second> </item> </second> </item> <item> <first>icmp1_fu_224_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>63</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>32</second> </item> </second> </item> <item> <first>icmp_fu_190_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>10</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>5</second> </item> </second> </item> <item> <first>p_Val2_2_0_phi_fu_251_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>8</second> </item> <item> <first>(2P2)</first> <second>8</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>8</second> </item> </second> </item> <item> <first>p_Val2_2_1_phi_fu_256_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>8</second> </item> <item> <first>(2P2)</first> <second>8</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>8</second> </item> </second> </item> <item> <first>p_write_idx_1_1_fu_236_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>64</second> </item> <item> <first>(2P2)</first> <second>64</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>64</second> </item> </second> </item> <item> <first>row_1_fu_174_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>11</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>38</second> </item> <item> <first>LUT</first> <second>16</second> </item> </second> </item> <item> <first>start_write ( and ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>1</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>2</second> </item> </second> </item> <item> <first>tmp_2_fu_196_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>11</second> </item> <item> <first>(1P1)</first> <second>9</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>6</second> </item> </second> </item> <item> <first>tmp_fu_168_p2 ( icmp ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>11</second> </item> <item> <first>(1P1)</first> <second>11</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>6</second> </item> </second> </item> <item> <first>write_idx_1_2_fu_271_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>64</second> </item> <item> <first>(1P1)</first> <second>1</second> </item> <item> <first>FF</first> <second>197</second> </item> <item> <first>LUT</first> <second>69</second> </item> </second> </item> <item> <first>write_idx_1_3_fu_230_p2 ( + ) </first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0P0)</first> <second>64</second> </item> <item> <first>(1P1)</first> <second>3</second> </item> <item> <first>FF</first> <second>197</second> </item> <item> <first>LUT</first> <second>69</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>2</count> <item_version>0</item_version> <item> <first>buffer_0_value_V_U</first> <second> <count>7</count> <item_version>0</item_version> <item> <first>(0Words)</first> <second>1920</second> </item> <item> <first>(1Bits)</first> <second>8</second> </item> <item> <first>(2Banks)</first> <second>1</second> </item> <item> <first>(3W*Bits*Banks)</first> <second>15360</second> </item> <item> <first>BRAM</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>0</second> </item> </second> </item> <item> <first>buffer_1_value_V_U</first> <second> <count>7</count> <item_version>0</item_version> <item> <first>(0Words)</first> <second>1920</second> </item> <item> <first>(1Bits)</first> <second>8</second> </item> <item> <first>(2Banks)</first> <second>1</second> </item> <item> <first>(3W*Bits*Banks)</first> <second>15360</second> </item> <item> <first>BRAM</first> <second>1</second> </item> <item> <first>FF</first> <second>0</second> </item> <item> <first>LUT</first> <second>0</second> </item> </second> </item> </dp_memory_resource> <dp_multiplexer_resource> <count>12</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>5</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>5</second> </item> <item> <first>LUT</first> <second>27</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>ap_enable_reg_pp0_iter1</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>ap_enable_reg_pp0_iter2</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>col_reg_157</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>11</second> </item> <item> <first>(2Count)</first> <second>22</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>in_stream_V_value_V_blk_n</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>real_start</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>row_reg_135</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>11</second> </item> <item> <first>(2Count)</first> <second>22</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>slice_stream_V_value_V_blk_n</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>2</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>write_idx_1_1_phi_fu_149_p4</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>64</second> </item> <item> <first>(2Count)</first> <second>128</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>write_idx_1_1_reg_146</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>64</second> </item> <item> <first>(2Count)</first> <second>128</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>write_idx_1_reg_123</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>64</second> </item> <item> <first>(2Count)</first> <second>128</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> </dp_multiplexer_resource> <dp_register_resource> <count>25</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>4</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>4</second> </item> </second> </item> <item> <first>ap_done_reg</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter0</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter1</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_enable_reg_pp0_iter2</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>ap_reg_pp0_iter1_buffer_0_value_V_ad_reg_304</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>11</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>11</second> </item> </second> </item> <item> <first>ap_reg_pp0_iter1_buffer_1_value_V_ad_reg_310</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>11</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>11</second> </item> </second> </item> <item> <first>buffer_0_value_V_ad_reg_304</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>11</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>11</second> </item> </second> </item> <item> <first>buffer_0_value_V_lo_reg_328</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>8</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>8</second> </item> </second> </item> <item> <first>buffer_1_value_V_ad_reg_310</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>11</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>11</second> </item> </second> </item> <item> <first>buffer_1_value_V_lo_reg_334</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>8</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>8</second> </item> </second> </item> <item> <first>col_reg_157</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>11</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>11</second> </item> </second> </item> <item> <first>icmp1_reg_299</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>icmp_reg_286</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>real_start_status_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>row_1_reg_281</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>11</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>11</second> </item> </second> </item> <item> <first>row_reg_135</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>11</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>11</second> </item> </second> </item> <item> <first>start_control_reg</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>start_once_reg</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>tmp_10_reg_346</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>tmp_2_reg_290</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>tmp_9_reg_340</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</second> </item> </second> </item> <item> <first>tmp_value_V_2_reg_321</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>8</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>8</second> </item> </second> </item> <item> <first>write_idx_1_1_reg_146</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>64</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>64</second> </item> </second> </item> <item> <first>write_idx_1_reg_123</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>64</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>64</second> </item> </second> </item> </dp_register_resource> <dp_component_map class_id="41" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_component_map> <dp_expression_map> <count>11</count> <item_version>0</item_version> <item class_id="42" tracking_level="0" version="0"> <first>col_1_fu_202_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>icmp1_fu_224_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>icmp_fu_190_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>p_Val2_2_0_phi_fu_251_p3 ( select ) </first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>p_Val2_2_1_phi_fu_256_p3 ( select ) </first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>p_write_idx_1_1_fu_236_p3 ( select ) </first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>row_1_fu_174_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>tmp_2_fu_196_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>tmp_fu_168_p2 ( icmp ) </first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>write_idx_1_2_fu_271_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>write_idx_1_3_fu_230_p2 ( + ) </first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> </dp_expression_map> <dp_fifo_map> <count>0</count> <item_version>0</item_version> </dp_fifo_map> <dp_memory_map> <count>2</count> <item_version>0</item_version> <item> <first>buffer_0_value_V_U</first> <second> <count>1</count> <item_version>0</item_version> <item>165</item> </second> </item> <item> <first>buffer_1_value_V_U</first> <second> <count>1</count> <item_version>0</item_version> <item>175</item> </second> </item> </dp_memory_map> </res> <node_label_latency class_id="43" tracking_level="0" version="0"> <count>43</count> <item_version>0</item_version> <item class_id="44" tracking_level="0" version="0"> <first>7</first> <second class_id="45" tracking_level="0" version="0"> <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>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>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>20</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>24</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>34</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>35</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>36</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>2</first> <second>1</second> </second> </item> <item> <first>41</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>42</first> <second> <first>2</first> <second>1</second> </second> </item> <item> <first>43</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>45</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>46</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>47</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>49</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>50</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>52</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>53</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>55</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>56</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>58</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>59</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>62</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>64</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>66</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>68</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>12</count> <item_version>0</item_version> <item class_id="47" tracking_level="0" version="0"> <first>10</first> <second class_id="48" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>23</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>29</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>44</first> <second> <first>2</first> <second>4</second> </second> </item> <item> <first>51</first> <second> <first>3</first> <second>4</second> </second> </item> <item> <first>54</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>57</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>60</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>63</first> <second> <first>4</first> <second>4</second> </second> </item> <item> <first>67</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>69</first> <second> <first>1</first> <second>1</second> </second> </item> </bblk_ent_exit> <regions class_id="49" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="50" tracking_level="1" version="0" object_id="_255"> <region_name>LB2D_buf.1</region_name> <basic_blocks> <count>7</count> <item_version>0</item_version> <item>29</item> <item>44</item> <item>51</item> <item>54</item> <item>57</item> <item>60</item> <item>63</item> </basic_blocks> <nodes> <count>0</count> <item_version>0</item_version> </nodes> <anchor_node>-1</anchor_node> <region_type>8</region_type> <interval>1</interval> <pipe_depth>3</pipe_depth> </item> </regions> <dp_fu_nodes class_id="51" tracking_level="0" version="0"> <count>29</count> <item_version>0</item_version> <item class_id="52" tracking_level="0" version="0"> <first>74</first> <second> <count>1</count> <item_version>0</item_version> <item>7</item> </second> </item> <item> <first>78</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>82</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>88</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>95</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>101</first> <second> <count>3</count> <item_version>0</item_version> <item>40</item> <item>40</item> <item>55</item> </second> </item> <item> <first>106</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>112</first> <second> <count>3</count> <item_version>0</item_version> <item>42</item> <item>42</item> <item>58</item> </second> </item> <item> <first>127</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>139</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>149</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>161</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>168</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>174</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>180</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>190</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>196</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>202</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>208</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>214</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>224</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>230</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>236</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>243</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>247</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>251</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>256</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>261</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>271</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="54" tracking_level="0" version="0"> <count>25</count> <item_version>0</item_version> <item class_id="55" tracking_level="0" version="0"> <first>buffer_0_value_V_ad_gep_fu_95</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>buffer_0_value_V_alloca_fu_74</first> <second> <count>1</count> <item_version>0</item_version> <item>7</item> </second> </item> <item> <first>buffer_1_value_V_ad_gep_fu_106</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>buffer_1_value_V_alloca_fu_78</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>col_1_fu_202</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>col_cast_fu_208</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>col_phi_fu_161</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>icmp1_fu_224</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>icmp_fu_190</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>p_Result_s_fu_261</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>p_Val2_2_0_phi_fu_251</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>p_Val2_2_1_phi_fu_256</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>p_write_idx_1_1_fu_236</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>row_1_fu_174</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>row_phi_fu_139</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>tmp_10_fu_247</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>tmp_2_fu_196</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>tmp_6_fu_180</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>tmp_8_fu_214</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>tmp_9_fu_243</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>tmp_fu_168</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>write_idx_1_1_phi_fu_149</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>write_idx_1_2_fu_271</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>write_idx_1_3_fu_230</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>write_idx_1_phi_fu_127</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>2</count> <item_version>0</item_version> <item> <first>StgValue_53_write_fu_88</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>tmp_value_V_2_read_fu_82</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="56" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="57" tracking_level="0" version="0"> <first class_id="58" tracking_level="0" version="0"> <first>buffer_0_value_V</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>40</item> <item>40</item> </second> </item> <item> <first> <first>buffer_0_value_V</first> <second>1</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first> <first>buffer_1_value_V</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>42</item> <item>42</item> </second> </item> <item> <first> <first>buffer_1_value_V</first> <second>1</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>58</item> </second> </item> </dp_mem_port_nodes> <dp_reg_nodes> <count>19</count> <item_version>0</item_version> <item> <first>123</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>135</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>146</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>277</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>281</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>286</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>290</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>294</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>299</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>304</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>310</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>316</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>321</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>328</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>334</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>340</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>346</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>350</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>19</count> <item_version>0</item_version> <item> <first>buffer_0_value_V_ad_reg_304</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>buffer_0_value_V_lo_reg_328</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>buffer_1_value_V_ad_reg_310</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>buffer_1_value_V_lo_reg_334</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>col_1_reg_294</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>col_reg_157</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>icmp1_reg_299</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>icmp_reg_286</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>p_write_idx_1_1_reg_316</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>row_1_reg_281</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>row_reg_135</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>tmp_10_reg_346</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>tmp_2_reg_290</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>tmp_9_reg_340</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>tmp_reg_277</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>tmp_value_V_2_reg_321</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>write_idx_1_1_reg_146</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>write_idx_1_2_reg_350</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>write_idx_1_reg_123</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>4</count> <item_version>0</item_version> <item> <first>123</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>135</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>146</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> </dp_reg_phi> <dp_regname_phi> <count>4</count> <item_version>0</item_version> <item> <first>col_reg_157</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>row_reg_135</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>write_idx_1_1_reg_146</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>write_idx_1_reg_123</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="59" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="60" tracking_level="0" version="0"> <first>in_stream_V_value_V</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>read</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> </second> </item> <item> <first>slice_stream_V_value_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>49</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="61" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="62" tracking_level="0" version="0"> <first>1</first> <second>FIFO_SRL</second> </item> <item> <first>2</first> <second>FIFO_SRL</second> </item> </port2core> <node2core> <count>2</count> <item_version>0</item_version> <item> <first>7</first> <second>RAM</second> </item> <item> <first>8</first> <second>RAM</second> </item> </node2core> </syndb> </boost_serialization>
30.452867
132
0.438724
31e31f4617dea66edd91d6565745228d3fa57d9f
1,501
adb
Ada
day15/tests/day-test.adb
jwarwick/aoc_2020
b88e5a69f7ce035c4bc0a2474e0e0cdbb7b43377
[ "MIT" ]
3
2020-12-26T23:44:33.000Z
2021-12-06T16:00:54.000Z
day15/tests/day-test.adb
jwarwick/aoc_2020
b88e5a69f7ce035c4bc0a2474e0e0cdbb7b43377
[ "MIT" ]
null
null
null
day15/tests/day-test.adb
jwarwick/aoc_2020
b88e5a69f7ce035c4bc0a2474e0e0cdbb7b43377
[ "MIT" ]
null
null
null
with AUnit.Assertions; use AUnit.Assertions; package body Day.Test is procedure Test_Part1 (T : in out AUnit.Test_Cases.Test_Case'Class) is pragma Unreferenced (T); num : constant Natural := 2020; s0 : constant Input_Array := (0,3,6); t0 : constant Natural := sequence(s0, num); s1 : constant Input_Array := (1,3,2); t1 : constant Natural := sequence(s1, num); begin Assert(t0 = 436, "Wrong number, expected 436, got" & Natural'IMAGE(t0)); Assert(t1 = 1, "Wrong number, expected 1, got" & Natural'IMAGE(t1)); end Test_Part1; procedure Test_Part2 (T : in out AUnit.Test_Cases.Test_Case'Class) is pragma Unreferenced (T); num : constant Natural := 30000000; s0 : constant Input_Array := (0,3,6); t0 : constant Natural := sequence(s0, num); -- s1 : constant Input_Array := (1,3,2); -- t1 : constant Natural := sequence(s1, num); begin Assert(t0 = 175594, "Wrong number, expected 175594, got" & Natural'IMAGE(t0)); -- Assert(t1 = 2578, "Wrong number, expected 2578, got" & Natural'IMAGE(t1)); null; end Test_Part2; function Name (T : Test) return AUnit.Message_String is pragma Unreferenced (T); begin return AUnit.Format ("Test Day package"); end Name; procedure Register_Tests (T : in out Test) is use AUnit.Test_Cases.Registration; begin Register_Routine (T, Test_Part1'Access, "Test Part 1"); Register_Routine (T, Test_Part2'Access, "Test Part 2"); end Register_Tests; end Day.Test;
34.113636
82
0.667555
0ba4942669d1b09b6eed45f103efadc844b07f4e
1,718
ads
Ada
src/commands.ads
GLADORG/glad-cli
d6a804ea51b52d84bf590f061e05f404787a79f2
[ "MIT" ]
null
null
null
src/commands.ads
GLADORG/glad-cli
d6a804ea51b52d84bf590f061e05f404787a79f2
[ "MIT" ]
3
2021-09-03T16:44:49.000Z
2021-09-03T16:45:24.000Z
src/commands.ads
GLADORG/glad-cli
d6a804ea51b52d84bf590f061e05f404787a79f2
[ "MIT" ]
null
null
null
with Version; with CLIC.Subcommand; private with CLIC.Subcommand.Instance; private with Ada.Text_IO; private with CLIC.TTY; private with GNAT.OS_Lib; with Templates_Parser; package Commands is Translations : Templates_Parser.Translate_Set; Wrong_Command_Arguments : exception; Child_Failed : exception; -- Used to notify that a subprocess completed with non-zero error Command_Failed : exception; -- Signals "normal" command completion with failure (i.e., no need to print -- stack trace). ------------- -- Execute -- ------------- procedure Execute; -- Entry point into gladcli, will parse the command line and proceed as needed. ------------- -- Command -- ------------- type Command is abstract limited new CLIC.Subcommand.Command with private; -- This type encapsulates configuration and execution of a specific -- command. private type Command is abstract limited new CLIC.Subcommand.Command with null record; procedure Set_Global_Switches (Config : in out CLIC.Subcommand.Switches_Configuration); package Sub_Cmd is new CLIC.Subcommand.Instance (Main_Command_Name => "glad", Version => Version.Current, Put => Ada.Text_IO.Put, Put_Line => Ada.Text_IO.Put_Line, Put_Error => Ada.Text_IO.Put_Line, Error_Exit => GNAT.OS_Lib.OS_Exit, Set_Global_Switches => Set_Global_Switches, TTY_Chapter => CLIC.TTY.Bold, TTY_Description => CLIC.TTY.Description, TTY_Version => CLIC.TTY.Version, TTY_Underline => CLIC.TTY.Underline, TTY_Emph => CLIC.TTY.Emph); end Commands;
27.709677
83
0.649593
c568e250218625796da00b5ad6443fea89901396
12,782
adb
Ada
src/asf-applications-views.adb
Letractively/ada-asf
da9f85f85666eba7e23fefea661160863b74154d
[ "Apache-2.0" ]
null
null
null
src/asf-applications-views.adb
Letractively/ada-asf
da9f85f85666eba7e23fefea661160863b74154d
[ "Apache-2.0" ]
null
null
null
src/asf-applications-views.adb
Letractively/ada-asf
da9f85f85666eba7e23fefea661160863b74154d
[ "Apache-2.0" ]
null
null
null
----------------------------------------------------------------------- -- applications -- Ada Web Application -- Copyright (C) 2009, 2010, 2011, 2012, 2013 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- 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.Fixed; with ASF.Contexts.Facelets; with ASF.Applications.Main; with ASF.Components.Base; with ASF.Components.Core; with ASF.Components.Core.Views; package body ASF.Applications.Views is use ASF.Components; type Facelet_Context is new ASF.Contexts.Facelets.Facelet_Context with record Facelets : access ASF.Views.Facelets.Facelet_Factory; Application : access ASF.Applications.Main.Application'Class; end record; -- Include the definition having the given name. overriding procedure Include_Facelet (Context : in out Facelet_Context; Source : in String; Parent : in Base.UIComponent_Access); -- Get the application associated with this facelet context. overriding function Get_Application (Context : in Facelet_Context) return access ASF.Applications.Main.Application'Class; -- Compose a URI path with two components. Unlike the Ada.Directories.Compose, -- and Util.Files.Compose the path separator must be a URL path separator (ie, '/'). -- ------------------------------ function Compose (Directory : in String; Name : in String) return String; -- ------------------------------ -- Include the definition having the given name. -- ------------------------------ overriding procedure Include_Facelet (Context : in out Facelet_Context; Source : in String; Parent : in Base.UIComponent_Access) is use ASF.Views; Path : constant String := Context.Resolve_Path (Source); Tree : Facelets.Facelet; begin Facelets.Find_Facelet (Factory => Context.Facelets.all, Name => Path, Context => Context, Result => Tree); Facelets.Build_View (View => Tree, Context => Context, Root => Parent); end Include_Facelet; -- ------------------------------ -- Get the application associated with this facelet context. -- ------------------------------ overriding function Get_Application (Context : in Facelet_Context) return access ASF.Applications.Main.Application'Class is begin return Context.Application; end Get_Application; -- ------------------------------ -- Get the facelet name from the view name. -- ------------------------------ function Get_Facelet_Name (Handler : in View_Handler; Name : in String) return String is use Ada.Strings.Fixed; use Ada.Strings.Unbounded; Pos : constant Natural := Index (Name, ".", Ada.Strings.Backward); begin if Pos > 0 and then Handler.View_Ext = Name (Pos .. Name'Last) then return Name (Name'First .. Pos - 1) & To_String (Handler.File_Ext); elsif Pos > 0 and then Handler.File_Ext = Name (Pos .. Name'Last) then return Name; end if; return Name & To_String (Handler.File_Ext); end Get_Facelet_Name; -- ------------------------------ -- Restore the view identified by the given name in the faces context -- and create the component tree representing that view. -- ------------------------------ procedure Restore_View (Handler : in out View_Handler; Name : in String; Context : in out ASF.Contexts.Faces.Faces_Context'Class; View : out ASF.Components.Root.UIViewRoot) is use ASF.Views; use Util.Locales; use type ASF.Components.Base.UIComponent_Access; Ctx : Facelet_Context; Tree : Facelets.Facelet; View_Name : constant String := Handler.Get_Facelet_Name (Name); begin Ctx.Facelets := Handler.Facelets'Unchecked_Access; Ctx.Application := Context.Get_Application; Ctx.Set_ELContext (Context.Get_ELContext); Facelets.Find_Facelet (Factory => Handler.Facelets, Name => View_Name, Context => Ctx, Result => Tree); -- If the view could not be found, do not report any error yet. -- The SC_NOT_FOUND response will be returned when rendering the response. if Facelets.Is_Null (Tree) then return; end if; -- Build the component tree for this request. declare Root : aliased Core.UIComponentBase; Node : Base.UIComponent_Access; begin Facelets.Build_View (View => Tree, Context => Ctx, Root => Root'Unchecked_Access); ASF.Components.Base.Steal_Root_Component (Root, Node); -- If there was some error while building the view, return now. -- The SC_NOT_FOUND response will also be returned when rendering the response. if Node = null then return; end if; ASF.Components.Root.Set_Root (View, Node, View_Name); if Context.Get_Locale = NULL_LOCALE then if Node.all in Core.Views.UIView'Class then Context.Set_Locale (Core.Views.UIView'Class (Node.all).Get_Locale (Context)); else Context.Set_Locale (Handler.Calculate_Locale (Context)); end if; end if; end; end Restore_View; -- ------------------------------ -- Create a new UIViewRoot instance initialized from the context and with -- the view identifier. If the view is a valid view, create the component tree -- representing that view. -- ------------------------------ procedure Create_View (Handler : in out View_Handler; Name : in String; Context : in out ASF.Contexts.Faces.Faces_Context'Class; View : out ASF.Components.Root.UIViewRoot) is Pos : constant Natural := Util.Strings.Rindex (Name, '.'); begin if Pos > 0 then Handler.Restore_View (Name (Name'First .. Pos - 1), Context, View); else Handler.Restore_View (Name, Context, View); end if; end Create_View; -- ------------------------------ -- Render the view represented by the component tree. The view is -- rendered using the context. -- ------------------------------ procedure Render_View (Handler : in out View_Handler; Context : in out ASF.Contexts.Faces.Faces_Context'Class; View : in ASF.Components.Root.UIViewRoot) is pragma Unreferenced (Handler); Root : constant access ASF.Components.Base.UIComponent'Class := ASF.Components.Root.Get_Root (View); begin if Root /= null then Root.Encode_All (Context); end if; end Render_View; -- ------------------------------ -- Compute the locale that must be used according to the <b>Accept-Language</b> request -- header and the application supported locales. -- ------------------------------ function Calculate_Locale (Handler : in View_Handler; Context : in ASF.Contexts.Faces.Faces_Context'Class) return Util.Locales.Locale is pragma Unreferenced (Handler); App : constant ASF.Contexts.Faces.Application_Access := Context.Get_Application; begin return App.Calculate_Locale (Context); end Calculate_Locale; -- ------------------------------ -- Compose a URI path with two components. Unlike the Ada.Directories.Compose, -- and Util.Files.Compose the path separator must be a URL path separator (ie, '/'). -- ------------------------------ function Compose (Directory : in String; Name : in String) return String is begin if Directory'Length = 0 then return Name; elsif Directory (Directory'Last) = '/' and Name (Name'First) = '/' then return Directory & Name (Name'First + 1 .. Name'Last); elsif Directory (Directory'Last) = '/' or Name (Name'First) = '/' then return Directory & Name; else return Directory & "/" & Name; end if; end Compose; -- ------------------------------ -- Get the URL suitable for encoding and rendering the view specified by the <b>View</b> -- identifier. -- ------------------------------ function Get_Action_URL (Handler : in View_Handler; Context : in ASF.Contexts.Faces.Faces_Context'Class; View : in String) return String is use Ada.Strings.Unbounded; Pos : constant Natural := Util.Strings.Rindex (View, '.'); Context_Path : constant String := Context.Get_Request.Get_Context_Path; begin if Pos > 0 and then View (Pos .. View'Last) = Handler.File_Ext then return Compose (Context_Path, View (View'First .. Pos - 1) & To_String (Handler.View_Ext)); end if; if Pos > 0 and then View (Pos .. View'Last) = Handler.View_Ext then return Compose (Context_Path, View); end if; return Compose (Context_Path, View); end Get_Action_URL; -- ------------------------------ -- Get the URL for redirecting the user to the specified view. -- ------------------------------ function Get_Redirect_URL (Handler : in View_Handler; Context : in ASF.Contexts.Faces.Faces_Context'Class; View : in String) return String is Pos : constant Natural := Util.Strings.Rindex (View, '?'); begin if Pos > 0 then return Handler.Get_Action_URL (Context, View (View'First .. Pos - 1)) & View (Pos .. View'Last); else return Handler.Get_Action_URL (Context, View); end if; end Get_Redirect_URL; -- ------------------------------ -- Initialize the view handler. -- ------------------------------ procedure Initialize (Handler : out View_Handler; Components : access ASF.Factory.Component_Factory; Conf : in Config) is use ASF.Views; use Ada.Strings.Unbounded; begin Handler.Paths := To_Unbounded_String (Conf.Get (VIEW_DIR_PARAM)); Handler.View_Ext := To_Unbounded_String (Conf.Get (VIEW_EXT_PARAM)); Handler.File_Ext := To_Unbounded_String (Conf.Get (VIEW_FILE_EXT_PARAM)); Facelets.Initialize (Factory => Handler.Facelets, Components => Components, Paths => To_String (Handler.Paths), Ignore_White_Spaces => Conf.Get (VIEW_IGNORE_WHITE_SPACES_PARAM), Ignore_Empty_Lines => Conf.Get (VIEW_IGNORE_EMPTY_LINES_PARAM), Escape_Unknown_Tags => Conf.Get (VIEW_ESCAPE_UNKNOWN_TAGS_PARAM)); end Initialize; -- ------------------------------ -- Closes the view handler -- ------------------------------ procedure Close (Handler : in out View_Handler) is use ASF.Views; begin Facelets.Clear_Cache (Handler.Facelets); end Close; -- ------------------------------ -- Set the extension mapping rule to find the facelet file from -- the name. -- ------------------------------ procedure Set_Extension_Mapping (Handler : in out View_Handler; From : in String; Into : in String) is use Ada.Strings.Unbounded; begin Handler.View_Ext := To_Unbounded_String (From); Handler.File_Ext := To_Unbounded_String (Into); end Set_Extension_Mapping; end ASF.Applications.Views;
41.099678
93
0.558676
5947ee98eec28c1f0be0707ac939c7c92af88ebe
2,009
adb
Ada
src/linereader.adb
bracke/websitegenerator
d3aee456f9f0b84e1d4e7030520fac5d8e6c8a1b
[ "CC0-1.0" ]
1
2022-02-14T11:45:43.000Z
2022-02-14T11:45:43.000Z
src/linereader.adb
bracke/websitegenerator
d3aee456f9f0b84e1d4e7030520fac5d8e6c8a1b
[ "CC0-1.0" ]
null
null
null
src/linereader.adb
bracke/websitegenerator
d3aee456f9f0b84e1d4e7030520fac5d8e6c8a1b
[ "CC0-1.0" ]
null
null
null
with Ada.Text_IO; package body Linereader is SL : constant Natural := Separator_Sequence'Length; function End_Of_Input(Self : Reader) return Boolean is begin return Self.End_Of_Input; end End_Of_Input; procedure Restore (Self : in out Reader) is begin Self.Position := Self.Backup; end Restore; procedure Backup (Self : in out Reader) is begin Self.Backup := Self.Position; end Backup; function Get_Remainder (Self : in out Reader) return String is Result : constant String := Self.Source(Self.Position .. Self.Last); subtype NiceString is String (1 .. Self.Last - Self.Position + 1); begin Self.End_Of_Input := True; return NiceString(Result); end Get_Remainder; function Separator_Position(Self: Reader) return Natural is pragma Inline(Separator_Position); K : Natural := Self.Position; begin while Self.Source(K) /= Separator_Sequence(Separator_Sequence'First) loop K := K + 1; exit when K > Self.Len; end loop; return K; end Separator_Position; function Get_Line(Self: in out Reader) return String is Next_Separator : Natural; begin if Self.End_Of_Input then raise End_Of_Input_Exception; end if; Next_Separator := Separator_Position(Self); if Next_Separator > Self.Last then declare Result : constant String := Self.Source(Self.Position .. Self.Last); subtype NiceString is String (1 .. Self.Last - Self.Position); begin Self.End_Of_Input := True; return NiceString(Result); end; else declare Result : String renames Self.Source(Self.Position .. Next_Separator); subtype NiceString is String (1 .. Next_Separator - Self.Position); begin Self.Position := Next_Separator + SL; return NiceString(Result); end; end if; end Get_Line; end Linereader;
28.7
81
0.637631
599ff175bb4ea113b2e057198ab8a3b4fd4e8061
36,133
adb
Ada
honeybee_proj/HBH/.autopilot/db/honeybee.sched.adb
AnthonyKenny98/HoneyBee
5b1859fe8c50cb5bd709f53780c4e5ce7160b987
[ "MIT" ]
null
null
null
honeybee_proj/HBH/.autopilot/db/honeybee.sched.adb
AnthonyKenny98/HoneyBee
5b1859fe8c50cb5bd709f53780c4e5ce7160b987
[ "MIT" ]
null
null
null
honeybee_proj/HBH/.autopilot/db/honeybee.sched.adb
AnthonyKenny98/HoneyBee
5b1859fe8c50cb5bd709f53780c4e5ce7160b987
[ "MIT" ]
null
null
null
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>honeybee</name> <ret_bitwidth>64</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>edge_p1_x</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>edge_y.p1.x</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>edge_p1_y</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>edge_y.p1.z</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>edge_p1_z</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>edge_y.p1.y</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_4"> <Value> <Obj> <type>1</type> <id>4</id> <name>edge_p2_x</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>edge_y.p2.x</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_5"> <Value> <Obj> <type>1</type> <id>5</id> <name>edge_p2_y</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>edge_y.p2.z</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_6"> <Value> <Obj> <type>1</type> <id>6</id> <name>edge_p2_z</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>edge_y.p2.y</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>12</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_7"> <Value> <Obj> <type>0</type> <id>15</id> <name>edge_p2_z_read</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>159</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second class_id="11" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>159</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>29</item> <item>30</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>16</id> <name>edge_p2_y_read</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>159</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>159</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>31</item> <item>32</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>17</id> <name>edge_p2_x_read</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>159</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>159</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>33</item> <item>34</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>18</id> <name>edge_p1_z_read</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>159</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>159</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>35</item> <item>36</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>19</id> <name>edge_p1_y_read</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>159</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>159</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>37</item> <item>38</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>20</id> <name>edge_p1_x_read</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>159</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>159</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>39</item> <item>40</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>21</id> <name>collisions_z</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>166</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>166</second> </item> </second> </item> </inlineStackInfo> <originalName>collisions_z</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>7</count> <item_version>0</item_version> <item>42</item> <item>43</item> <item>44</item> <item>45</item> <item>46</item> <item>47</item> <item>48</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>8.58</m_delay> <m_topoIndex>7</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>22</id> <name>collisions_y</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>167</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>167</second> </item> </second> </item> </inlineStackInfo> <originalName>collisions_y</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>7</count> <item_version>0</item_version> <item>50</item> <item>51</item> <item>52</item> <item>53</item> <item>54</item> <item>55</item> <item>56</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>8.58</m_delay> <m_topoIndex>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>23</id> <name>collisions_x</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>168</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>168</second> </item> </second> </item> </inlineStackInfo> <originalName>collisions_x</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>7</count> <item_version>0</item_version> <item>58</item> <item>59</item> <item>60</item> <item>61</item> <item>62</item> <item>63</item> <item>64</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>8.58</m_delay> <m_topoIndex>9</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>24</id> <name>or_ln170</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>170</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>170</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>65</item> <item>66</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>10</m_topoIndex> <m_clusterGroupNumber>1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>25</id> <name>collisions</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>170</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>170</second> </item> </second> </item> </inlineStackInfo> <originalName>collisions</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>67</item> <item>68</item> </oprand_edges> <opcode>or</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.80</m_delay> <m_topoIndex>11</m_topoIndex> <m_clusterGroupNumber>1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>26</id> <name>_ln171</name> <fileName>src/honeybee.c</fileName> <fileDirectory>/mnt/hgfs/Thesis/HoneyBee</fileDirectory> <lineNumber>171</lineNumber> <contextFuncName>honeybee</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/mnt/hgfs/Thesis/HoneyBee</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>src/honeybee.c</first> <second>honeybee</second> </first> <second>171</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>69</item> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>12</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_19"> <Value> <Obj> <type>2</type> <id>41</id> <name>checkAxis_2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:checkAxis.2&gt;</content> </item> <item class_id_reference="16" object_id="_20"> <Value> <Obj> <type>2</type> <id>49</id> <name>checkAxis_0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:checkAxis.0&gt;</content> </item> <item class_id_reference="16" object_id="_21"> <Value> <Obj> <type>2</type> <id>57</id> <name>checkAxis_1</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:checkAxis.1&gt;</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_22"> <Obj> <type>3</type> <id>27</id> <name>honeybee</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>12</count> <item_version>0</item_version> <item>15</item> <item>16</item> <item>17</item> <item>18</item> <item>19</item> <item>20</item> <item>21</item> <item>22</item> <item>23</item> <item>24</item> <item>25</item> <item>26</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>32</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_23"> <id>30</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_24"> <id>32</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_25"> <id>34</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_26"> <id>36</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_27"> <id>38</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_28"> <id>40</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_29"> <id>42</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_30"> <id>43</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_31"> <id>44</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_32"> <id>45</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_33"> <id>46</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_34"> <id>47</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_35"> <id>48</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_36"> <id>50</id> <edge_type>1</edge_type> <source_obj>49</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_37"> <id>51</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_38"> <id>52</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_39"> <id>53</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_40"> <id>54</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_41"> <id>55</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_42"> <id>56</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_43"> <id>58</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_44"> <id>59</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_45"> <id>60</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_46"> <id>61</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_47"> <id>62</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_48"> <id>63</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_49"> <id>64</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_50"> <id>65</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_51"> <id>66</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_52"> <id>67</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_53"> <id>68</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_54"> <id>69</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_55"> <mId>1</mId> <mTag>honeybee</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>27</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>53</mMinLatency> <mMaxLatency>53</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="-1"></fsm> <res class_id="-1"></res> <node_label_latency class_id="26" tracking_level="0" version="0"> <count>12</count> <item_version>0</item_version> <item class_id="27" tracking_level="0" version="0"> <first>15</first> <second class_id="28" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>16</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>18</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>0</first> <second>52</second> </second> </item> <item> <first>22</first> <second> <first>0</first> <second>52</second> </second> </item> <item> <first>23</first> <second> <first>0</first> <second>52</second> </second> </item> <item> <first>24</first> <second> <first>53</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>53</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>53</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="29" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="30" tracking_level="0" version="0"> <first>27</first> <second class_id="31" tracking_level="0" version="0"> <first>0</first> <second>53</second> </second> </item> </bblk_ent_exit> <regions class_id="32" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </regions> <dp_fu_nodes class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes> <dp_fu_nodes_expression class_id="34" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="35" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>0</count> <item_version>0</item_version> </dp_reg_nodes> <dp_regname_nodes> <count>0</count> <item_version>0</item_version> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="36" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_port_io_nodes> <port2core class_id="37" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
27.498478
70
0.608087
0b9a4017e98c0a2029e88f902131304f0f5a820f
15,791
adb
Ada
arch/ARM/STM32/drivers/ltdc/stm32-ltdc.adb
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
192
2016-06-01T18:32:04.000Z
2022-03-26T22:52:31.000Z
arch/ARM/STM32/drivers/ltdc/stm32-ltdc.adb
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
239
2016-05-26T20:02:01.000Z
2022-03-31T09:46:56.000Z
arch/ARM/STM32/drivers/ltdc/stm32-ltdc.adb
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
142
2016-06-05T08:12:20.000Z
2022-03-24T17:37:17.000Z
------------------------------------------------------------------------------ -- -- -- 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 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 stm32f429i_discovery_lcd.c -- -- @author MCD Application Team -- -- @version V1.1.0 -- -- @date 19-June-2014 -- -- @brief This file includes the LTDC driver to control LCD display. -- -- -- -- COPYRIGHT(c) 2014 STMicroelectronics -- ------------------------------------------------------------------------------ with Ada.Interrupts.Names; with Ada.Unchecked_Conversion; with System; use System; with STM32_SVD.LTDC; use STM32_SVD.LTDC; with STM32_SVD.RCC; use STM32_SVD.RCC; with HAL.Bitmap; package body STM32.LTDC is pragma Warnings (Off, "* is not referenced"); type LCD_Polarity is (Polarity_Active_Low, Polarity_Active_High) with Size => 1; type LCD_PC_Polarity is (Input_Pixel_Clock, Inverted_Input_Pixel_Clock) with Size => 1; pragma Warnings (On, "* is not referenced"); function To_Bool is new Ada.Unchecked_Conversion (LCD_Polarity, Boolean); function To_Bool is new Ada.Unchecked_Conversion (LCD_PC_Polarity, Boolean); -- Extracted from STM32F429x.LTDC type Layer_Type is record LCR : L1CR_Register; -- Layerx Control Register LWHPCR : L1WHPCR_Register; -- Layerx Window Horizontal Position Configuration Register LWVPCR : L1WVPCR_Register; -- Layerx Window Vertical Position Configuration Register LCKCR : L1CKCR_Register; -- Layerx Color Keying Configuration Register LPFCR : L1PFCR_Register; -- Layerx Pixel Format Configuration Register LCACR : L1CACR_Register; -- Layerx Constant Alpha Configuration Register LDCCR : L1DCCR_Register; -- Layerx Default Color Configuration Register LBFCR : L1BFCR_Register; -- Layerx Blending Factors Configuration Register Reserved_0 : UInt32; Reserved_1 : UInt32; LCFBAR : UInt32; -- Layerx Color Frame Buffer Address Register LCFBLR : L1CFBLR_Register; -- Layerx Color Frame Buffer Length Register LCFBLNR : L1CFBLNR_Register; -- Layerx ColorFrame Buffer Line Number Register Reserved_2 : UInt32; Reserved_3 : UInt32; Reserved_4 : UInt32; LCLUTWR : L1CLUTWR_Register; -- Layerx CLUT Write Register end record with Volatile; for Layer_Type use record LCR at 0 range 0 .. 31; LWHPCR at 4 range 0 .. 31; LWVPCR at 8 range 0 .. 31; LCKCR at 12 range 0 .. 31; LPFCR at 16 range 0 .. 31; LCACR at 20 range 0 .. 31; LDCCR at 24 range 0 .. 31; LBFCR at 28 range 0 .. 31; Reserved_0 at 32 range 0 .. 31; Reserved_1 at 36 range 0 .. 31; LCFBAR at 40 range 0 .. 31; LCFBLR at 44 range 0 .. 31; LCFBLNR at 48 range 0 .. 31; Reserved_2 at 52 range 0 .. 31; Reserved_3 at 56 range 0 .. 31; Reserved_4 at 60 range 0 .. 31; LCLUTWR at 64 range 0 .. 31; end record; type Layer_Access is access all Layer_Type; BF1_Constant_Alpha : constant := 2#100#; BF2_Constant_Alpha : constant := 2#101#; BF1_Pixel_Alpha : constant := 2#110#; BF2_Pixel_Alpha : constant := 2#111#; G_Layer1_Reg : aliased Layer_Type with Import, Address => LTDC_Periph.L1CR'Address; G_Layer2_Reg : aliased Layer_Type with Import, Address => LTDC_Periph.L2CR'Address; function Get_Layer (Layer : LCD_Layer) return Layer_Access; -- Retrieve the layer's registers protected Sync is -- Apply pending buffers on Vertical Sync. Caller must call Wait -- afterwards. procedure Apply_On_VSync; -- Wait for an interrupt. entry Wait; procedure Interrupt; pragma Attach_Handler (Interrupt, Ada.Interrupts.Names.LTDC_Interrupt); private Not_Pending : Boolean := True; end Sync; ---------- -- Sync -- ---------- protected body Sync is ---------- -- Wait -- ---------- entry Wait when Not_Pending is begin null; end Wait; -------------------- -- Apply_On_VSync -- -------------------- procedure Apply_On_VSync is begin Not_Pending := False; -- Enable the Register Refresh interrupt LTDC_Periph.IER.RRIE := True; -- And tell the LTDC to apply the layer registers on refresh LTDC_Periph.SRCR.VBR := True; end Apply_On_VSync; --------------- -- Interrupt -- --------------- procedure Interrupt is begin if LTDC_Periph.ISR.RRIF then LTDC_Periph.IER.RRIE := False; LTDC_Periph.ICR.CRRIF := True; Not_Pending := True; end if; end Interrupt; end Sync; --------------- -- Get_Layer -- --------------- function Get_Layer (Layer : LCD_Layer) return Layer_Access is begin if Layer = Layer1 then return G_Layer1_Reg'Access; else return G_Layer2_Reg'Access; end if; end Get_Layer; ------------------- -- Reload_Config -- ------------------- procedure Reload_Config (Immediate : Boolean := False) is begin if Immediate then LTDC_Periph.SRCR.IMR := True; loop exit when not LTDC_Periph.SRCR.IMR; end loop; else Sync.Apply_On_VSync; Sync.Wait; end if; end Reload_Config; ------------------ -- To_LTDC_Mode -- ------------------ function To_LTDC_Mode (HAL_Mode : HAL.Framebuffer.FB_Color_Mode) return STM32.LTDC.Pixel_Format is begin case HAL_Mode is when HAL.Bitmap.ARGB_8888 => return STM32.LTDC.Pixel_Fmt_ARGB8888; when HAL.Bitmap.RGB_888 => return STM32.LTDC.Pixel_Fmt_RGB888; when HAL.Bitmap.RGB_565 => return STM32.LTDC.Pixel_Fmt_RGB565; when HAL.Bitmap.ARGB_1555 => return STM32.LTDC.Pixel_Fmt_ARGB1555; when HAL.Bitmap.ARGB_4444 => return STM32.LTDC.Pixel_Fmt_ARGB4444; when HAL.Bitmap.L_8 => return STM32.LTDC.Pixel_Fmt_L8; when HAL.Bitmap.AL_44 => return STM32.LTDC.Pixel_Fmt_AL44; when HAL.Bitmap.AL_88 => return STM32.LTDC.Pixel_Fmt_AL88; when others => raise Program_Error; end case; end To_LTDC_Mode; --------------------- -- Set_Layer_State -- --------------------- procedure Set_Layer_State (Layer : LCD_Layer; Enabled : Boolean) is L : constant Layer_Access := Get_Layer (Layer); begin if L.LCR.LEN /= Enabled then L.LCR.LEN := Enabled; Reload_Config (Immediate => True); end if; end Set_Layer_State; ---------------- -- Initialize -- ---------------- procedure Initialize (Width : Positive; Height : Positive; H_Sync : Natural; H_Back_Porch : Natural; H_Front_Porch : Natural; V_Sync : Natural; V_Back_Porch : Natural; V_Front_Porch : Natural; PLLSAI_N : UInt9; PLLSAI_R : UInt3; DivR : Natural) is DivR_Val : PLLSAI_DivR; Timing_H : UInt16; Timing_V : UInt16; begin if Initialized then return; end if; if DivR = 2 then DivR_Val := PLLSAI_DIV2; elsif DivR = 4 then DivR_Val := PLLSAI_DIV4; elsif DivR = 8 then DivR_Val := PLLSAI_DIV8; elsif DivR = 16 then DivR_Val := PLLSAI_DIV16; else raise Constraint_Error with "Invalid DivR value: 2, 4, 8, 16 allowed"; end if; Disable_PLLSAI; RCC_Periph.APB2ENR.LTDCEN := True; RCC_Periph.APB2RSTR.LTDCRST := True; RCC_Periph.APB2RSTR.LTDCRST := False; -- Disable output + both layers LTDC_Periph.GCR.LTDCEN := False; LTDC_Periph.L1CR.LEN := False; LTDC_Periph.L2CR.LEN := False; LTDC_Periph.GCR.VSPOL := To_Bool (Polarity_Active_Low); LTDC_Periph.GCR.HSPOL := To_Bool (Polarity_Active_Low); LTDC_Periph.GCR.DEPOL := To_Bool (Polarity_Active_Low); LTDC_Periph.GCR.PCPOL := To_Bool (Inverted_Input_Pixel_Clock); Set_PLLSAI_Factors (LCD => PLLSAI_R, VCO => PLLSAI_N, DivR => DivR_Val); Enable_PLLSAI; -- Synchronization size Timing_H := UInt16 (H_Sync - 1); Timing_V := UInt16 (V_Sync - 1); LTDC_Periph.SSCR := (HSW => SSCR_HSW_Field (Timing_H), VSH => SSCR_VSH_Field (Timing_V), others => <>); -- Accumulated Back Porch Timing_H := Timing_H + UInt16 (H_Back_Porch); Timing_V := Timing_V + UInt16 (V_Back_Porch); LTDC_Periph.BPCR := (AHBP => BPCR_AHBP_Field (Timing_H), AVBP => BPCR_AVBP_Field (Timing_V), others => <>); -- Accumulated Active Width/Height Timing_H := Timing_H + UInt16 (Width); Timing_V := Timing_V + UInt16 (Height); LTDC_Periph.AWCR := (AAW => AWCR_AAW_Field (Timing_H), AAH => AWCR_AAH_Field (Timing_V), others => <>); -- VTotal Width/Height Timing_H := Timing_H + UInt16 (H_Front_Porch); Timing_V := Timing_V + UInt16 (V_Front_Porch); LTDC_Periph.TWCR := (TOTALW => TWCR_TOTALW_Field (Timing_H), TOTALH => TWCR_TOTALH_Field (Timing_V), others => <>); -- Background color to black LTDC_Periph.BCCR.BC := 0; LTDC_Periph.GCR.LTDCEN := True; end Initialize; ----------- -- Start -- ----------- procedure Start is begin LTDC_Periph.GCR.LTDCEN := True; end Start; ---------- -- Stop -- ---------- procedure Stop is begin LTDC_Periph.GCR.LTDCEN := False; end Stop; ----------------- -- Initialized -- ----------------- function Initialized return Boolean is begin return LTDC_Periph.GCR.LTDCEN; end Initialized; ---------------- -- Layer_Init -- ---------------- procedure Layer_Init (Layer : LCD_Layer; Config : Pixel_Format; Buffer : System.Address; X, Y : Natural; W, H : Positive; Constant_Alpha : UInt8 := 255; BF : Blending_Factor := BF_Pixel_Alpha_X_Constant_Alpha) is L : constant Layer_Access := Get_Layer (Layer); begin -- Horizontal start and stop = sync + Back Porch L.LWHPCR := (WHSTPOS => L1WHPCR_WHSTPOS_Field (LTDC_Periph.BPCR.AHBP) + 1 + L1WHPCR_WHSTPOS_Field (X), WHSPPOS => L1WHPCR_WHSPPOS_Field (LTDC_Periph.BPCR.AHBP) + L1WHPCR_WHSPPOS_Field (X + W), others => <>); -- Vertical start and stop L.LWVPCR := (WVSTPOS => LTDC_Periph.BPCR.AVBP + 1 + UInt11 (Y), WVSPPOS => LTDC_Periph.BPCR.AVBP + UInt11 (Y + H), others => <>); L.LPFCR.PF := Pixel_Format'Enum_Rep (Config); L.LCACR.CONSTA := Constant_Alpha; L.LDCCR := (others => 0); case BF is when BF_Constant_Alpha => L.LBFCR.BF1 := BF1_Constant_Alpha; L.LBFCR.BF2 := BF2_Constant_Alpha; when BF_Pixel_Alpha_X_Constant_Alpha => L.LBFCR.BF1 := BF1_Pixel_Alpha; L.LBFCR.BF2 := BF2_Pixel_Alpha; end case; L.LCFBLR := (CFBLL => UInt13 (W * Bytes_Per_Pixel (Config)) + 3, CFBP => UInt13 (W * Bytes_Per_Pixel (Config)), others => <>); L.LCFBLNR.CFBLNBR := UInt11 (H); Set_Frame_Buffer (Layer, Buffer); L.LCR.LEN := True; Reload_Config (True); end Layer_Init; ---------------------- -- Set_Frame_Buffer -- ---------------------- procedure Set_Frame_Buffer (Layer : LCD_Layer; Addr : Frame_Buffer_Access) is function To_Word is new Ada.Unchecked_Conversion (Frame_Buffer_Access, UInt32); begin if Layer = Layer1 then LTDC_Periph.L1CFBAR := To_Word (Addr); else LTDC_Periph.L2CFBAR := To_Word (Addr); end if; end Set_Frame_Buffer; ---------------------- -- Get_Frame_Buffer -- ---------------------- function Get_Frame_Buffer (Layer : LCD_Layer) return Frame_Buffer_Access is L : constant Layer_Access := Get_Layer (Layer); function To_FBA is new Ada.Unchecked_Conversion (UInt32, Frame_Buffer_Access); begin return To_FBA (L.LCFBAR); end Get_Frame_Buffer; -------------------- -- Set_Background -- -------------------- procedure Set_Background (R, G, B : UInt8) is RShift : constant UInt32 := Shift_Left (UInt32 (R), 16); GShift : constant UInt32 := Shift_Left (UInt32 (G), 8); begin LTDC_Periph.BCCR.BC := UInt24 (RShift) or UInt24 (GShift) or UInt24 (B); end Set_Background; end STM32.LTDC;
31.393638
79
0.545184
592668a9b500266f0e5392c4b4317d6a5d15eee7
10,914
adb
Ada
3-mid/impact/source/3d/math/impact-d3-quaternions.adb
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
20
2015-11-04T09:23:59.000Z
2022-01-14T10:21:42.000Z
3-mid/impact/source/3d/math/impact-d3-quaternions.adb
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
2
2015-11-04T17:05:56.000Z
2015-12-08T03:16:13.000Z
3-mid/impact/source/3d/math/impact-d3-quaternions.adb
charlie5/lace
e9b7dc751d500ff3f559617a6fc3089ace9dc134
[ "0BSD" ]
1
2015-12-07T12:53:52.000Z
2015-12-07T12:53:52.000Z
with impact.d3.Scalar, impact.d3.Vector; package body impact.d3.Quaternions is function to_Quaternion (x, y, z, w : in Real) return Quaternion is begin return (x, (y, z, w)); end to_Quaternion; function to_Quaternion (Axis : in Vector_3; Angle : in Real) return Quaternion is Self : Quaternion; begin setRotation (Self, Axis, Angle); return Self; end to_Quaternion; function x (Self : in Quaternion) return Real is begin return Self.V (1); end x; function y (Self : in Quaternion) return Real is begin return Self.V (2); end y; function z (Self : in Quaternion) return Real is begin return Self.V (3); end z; function w (Self : in Quaternion) return Real is begin return Self.R; end w; procedure setRotation (Self : out Quaternion; Axis : in Vector_3; Angle : in Real) is use impact.d3.Vector, math.Functions; d : constant Real := length (axis); pragma Assert (d /= 0.0); s : constant Real := Sin (angle * 0.5) / d; begin Self := (V => (x (axis) * s, y (axis) * s, z (axis) * s), R => Cos (angle * 0.5)); end setRotation; function to_Quaternion (Yaw, Pitch, Roll : in Real ) return Quaternion is Self : Quaternion; begin if BT_EULER_DEFAULT_ZYX then setEulerZYX (Self, Yaw, Pitch, Roll); else setEuler (Self, Yaw, Pitch, Roll); end if; return Self; end to_Quaternion; procedure setEuler (Self : out Quaternion; Yaw, Pitch, Roll : in Real) is use math.Functions; halfYaw : constant Real := yaw * 0.5; halfPitch : constant Real := pitch * 0.5; halfRoll : constant Real := roll * 0.5; cosYaw : constant Real := Cos (halfYaw); sinYaw : constant Real := Sin (halfYaw); cosPitch : constant Real := Cos (halfPitch); sinPitch : constant Real := Sin (halfPitch); cosRoll : constant Real := Cos (halfRoll); sinRoll : constant Real := Sin (halfRoll); begin Self := (V => (cosRoll * sinPitch * cosYaw + sinRoll * cosPitch * sinYaw, cosRoll * cosPitch * sinYaw - sinRoll * sinPitch * cosYaw, sinRoll * cosPitch * cosYaw - cosRoll * sinPitch * sinYaw), R => cosRoll * cosPitch * cosYaw + sinRoll * sinPitch * sinYaw); end setEuler; procedure setEulerZYX (Self : out Quaternion; Yaw, Pitch, Roll : in Real) is use math.Functions; halfYaw : constant Real := yaw * 0.5; halfPitch : constant Real := pitch * 0.5; halfRoll : constant Real := roll * 0.5; cosYaw : constant Real := Cos (halfYaw); sinYaw : constant Real := Sin (halfYaw); cosPitch : constant Real := Cos (halfPitch); sinPitch : constant Real := Sin (halfPitch); cosRoll : constant Real := Cos (halfRoll); sinRoll : constant Real := Sin (halfRoll); begin Self := (V => (sinRoll * cosPitch * cosYaw - cosRoll * sinPitch * sinYaw, -- x cosRoll * sinPitch * cosYaw + sinRoll * cosPitch * sinYaw, -- y cosRoll * cosPitch * sinYaw - sinRoll * sinPitch * cosYaw), -- z R => cosRoll * cosPitch * cosYaw + sinRoll * sinPitch * sinYaw); -- formerly yzx end setEulerZYX; function multiply (Left, Right : in Quaternion) return Quaternion is use linear_Algebra_3d; begin return Left * Right; end multiply; function dot (Left, Right : in Quaternion) return Real is use linear_Algebra_3d; begin return Left * Right; end dot; function length2 (Self : in Quaternion) return Real is begin return dot (Self, Self); end length2; function length (Self : in Quaternion) return Real is use math.Functions; begin return sqRt (length2 (Self)); end length; function normalize (Self : access Quaternion) return Quaternion is use math.Vectors; begin Self.all := normalized (Self.all); return Self.all; end normalize; function normalized (Self : in Quaternion) return Quaternion is use linear_Algebra_3d; begin return Self / length (Self); end normalized; procedure normalize (Self : in out Quaternion) is begin Self := normalized (Self); end normalize; -- function "*" (Left : in Quaternion; Right : in Real) return Quaternion -- is -- use math.real_Arrays; -- begin -- return Quaternion (math.Vector_4 (Left) * Right); -- end; -- function "/" (Left : in Quaternion; Right : in Real) return Quaternion -- is -- use math.real_Arrays; -- begin -- pragma assert (Right /= 0.0); -- return Left * (1.0 / Right); -- end; function Angle (Left, Right : in Quaternion) return Real is use math.Functions; s : constant Real := sqRt (length2 (Left) * length2 (Right)); pragma Assert (s /= 0.0); begin return arcCos (dot (Left, Right) / s); end Angle; function getAngle (Self : in Quaternion) return Real is use math.Functions; begin return 2.0 * arcCos (Self.R); end getAngle; function getAxis (Self : in Quaternion) return Vector_3 is use impact.d3.Scalar, math.Functions; s_squared : constant Real := 1.0 - Self.R * Self.R; s : Real; begin if s_squared < 10.0 * SIMD_EPSILON then -- Check for divide by zero return (1.0, 0.0, 0.0); -- Arbitrary end if; s := 1.0 / sqRt (s_squared); return (Self.V (1) * s, Self.V (2) * s, Self.V (3) * s); end getAxis; function inverse (Self : in Quaternion) return Quaternion is begin return (Self.R, -Self.V); end inverse; -- function "+" (Left, Right : in Quaternion) return Quaternion -- is -- use math.real_Arrays; -- begin -- return Quaternion (Vector_4 (Left) + Vector_4 (Right)); -- end; -- -- -- -- function "-" (Left, Right : in Quaternion) return Quaternion -- is -- use math.real_Arrays; -- begin -- return Quaternion (Vector_4 (Left) - Vector_4 (Right)); -- end; function "-" (Self : in Quaternion) return Quaternion is begin return (R => -Self.R, V => -Self.V); end "-"; function farthest (Self : in Quaternion; qd : in Quaternion) return Quaternion is diff : constant Quaternion := Self - qd; sum : constant Quaternion := Self + qd; begin if dot (diff, diff) > dot (sum, sum) then return qd; end if; return -qd; end farthest; function nearest (Self : in Quaternion; qd : in Quaternion) return Quaternion is diff : constant Quaternion := Self - qd; sum : constant Quaternion := Self + qd; begin if dot (diff, diff) < dot (sum, sum) then return qd; end if; return -qd; end nearest; function slerp (Self : in Quaternion; q : in Quaternion; t : in Real ) return Quaternion is use math.Functions; theta : constant Real := angle (Self, q); d, s0, s1 : Real; begin if theta /= 0.0 then d := 1.0 / Sin (theta); s0 := Sin ((1.0 - t) * theta); s1 := Sin (t * theta); if dot (Self, q) < 0.0 then -- Take care of long angle case see http://en.wikipedia.org/wiki/Slerp return (V => ((Self.V (1) * s0 + (-x (q) * s1)) * d, (Self.V (2) * s0 + (-y (q) * s1)) * d, (Self.V (3) * s0 + (-z (q) * s1)) * d), R => ( Self.R * s0 + (-q.R * s1)) * d ); else return (V => ((Self.V (1) * s0 + x (q) * s1) * d, (Self.V (2) * s0 + y (q) * s1) * d, (Self.V (3) * s0 + z (q) * s1) * d), R => ( Self.R * s0 + q.R * s1) * d ); end if; else return Self; end if; end slerp; function getIdentity return Quaternion is begin return (V => (0.0, 0.0, 0.0), R => 1.0); end getIdentity; function "*" (Left : in Quaternion; Right : in Vector_3) return Quaternion is use linear_Algebra_3d; begin return linear_Algebra_3d."*" (Left, Right); -- return (w (Left) * x (Right) + y (Left) * z (Right) - z (Left) * y (Right), -- w (Left) * y (Right) + z (Left) * x (Right) - x (Left) * z (Right), -- w (Left) * z (Right) + x (Left) * y (Right) - y (Left) * x (Right), -- -x (Left) * x (Right) - y (Left) * y (Right) - z (Left) * z (Right)); end "*"; function "*" (Left : in Vector_3; Right : in Quaternion) return Quaternion is use impact.d3.Vector; begin return linear_Algebra_3d."*" (Left, Right); -- return (x (Left) * w (Right) + y (Left) * z (Right) - z (Left) * y (Right), -- y (Left) * w (Right) + z (Left) * x (Right) - x (Left) * z (Right), -- z (Left) * w (Right) + x (Left) * y (Right) - y (Left) * x (Right), -- -x (Left) * x (Right) - y (Left) * y (Right) - z (Left) * z (Right)); end; function quatRotate (rotation : in Quaternion; v : in Vector_3) return Vector_3 is q : Quaternion := rotation * v; begin q := multiply (q, inverse (rotation)); return (X (q), Y (q), Z (q)); end quatRotate; function shortestArcQuat (v1, v2 : in Vector_3) return Quaternion is use impact.d3.Scalar, impact.d3.Vector, math.Functions; c : constant Vector_3 := cross (v1, v2); d : constant Real := dot (v1, v2); n, unused : Vector_3; s, rs : Real; begin if d < -1.0 + SIMD_EPSILON then btPlaneSpace1 (v1, n, unused); return (V => (x (n), y (n), z (n)), R => 0.0); -- just pick any vector that is orthogonal to v1 end if; s := sqRt ((1.0 + d) * 2.0); rs := 1.0 / s; return (V => (X (c) * rs, Y (c) * rs, Z (c) * rs), R => s * 0.5); end shortestArcQuat; function shortestArcQuatNormalize2 (v1, v2 : access Vector_3) return Quaternion is use impact.d3.Scalar, impact.d3.Vector, math.Functions; begin normalize (v1.all); normalize (v2.all); return shortestArcQuat (v1.all, v2.all); end shortestArcQuatNormalize2; end impact.d3.Quaternions;
23.122881
109
0.528679
4db9ab5b4e59ea8ecc9b05834501d559446d9283
937
ads
Ada
firmware/coreboot/3rdparty/libgfxinit/common/skylake/hw-gfx-gma-power_and_clocks_skylake.ads
fabiojna02/OpenCellular
45b6a202d6b2e2485c89955b9a6da920c4d56ddb
[ "CC-BY-4.0", "BSD-3-Clause" ]
1
2019-11-04T07:11:25.000Z
2019-11-04T07:11:25.000Z
firmware/coreboot/3rdparty/libgfxinit/common/skylake/hw-gfx-gma-power_and_clocks_skylake.ads
aimin-wang/OpenCellular
5308146bf7edf43cc81c0e4d15305b711117070a
[ "CC-BY-4.0", "BSD-3-Clause" ]
13
2018-10-12T21:29:09.000Z
2018-10-25T20:06:51.000Z
firmware/coreboot/3rdparty/libgfxinit/common/skylake/hw-gfx-gma-power_and_clocks_skylake.ads
aimin-wang/OpenCellular
5308146bf7edf43cc81c0e4d15305b711117070a
[ "CC-BY-4.0", "BSD-3-Clause" ]
null
null
null
-- -- Copyright (C) 2016 secunet Security Networks AG -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- private package HW.GFX.GMA.Power_And_Clocks_Skylake is procedure Pre_All_Off; procedure Post_All_Off; procedure Initialize; procedure Power_Set_To (Configs : Pipe_Configs); procedure Power_Up (Old_Configs, New_Configs : Pipe_Configs); procedure Power_Down (Old_Configs, Tmp_Configs, New_Configs : Pipe_Configs); end HW.GFX.GMA.Power_And_Clocks_Skylake;
34.703704
79
0.76841
1d23dc80ce2c50b803ebe612206dbc177517a7a7
9,600
ads
Ada
registrar-library_units.ads
annexi-strayline/AURA
fbbc4bc963ee82872a67e088b68f0565ba5b50a7
[ "BSD-3-Clause" ]
13
2021-09-28T18:14:32.000Z
2022-02-09T17:48:53.000Z
registrar-library_units.ads
annexi-strayline/AURA
fbbc4bc963ee82872a67e088b68f0565ba5b50a7
[ "BSD-3-Clause" ]
9
2021-09-28T19:18:25.000Z
2022-01-14T22:54:06.000Z
registrar-library_units.ads
annexi-strayline/AURA
fbbc4bc963ee82872a67e088b68f0565ba5b50a7
[ "BSD-3-Clause" ]
1
2021-10-21T21:19:08.000Z
2021-10-21T21:19:08.000Z
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- Reference Implementation -- -- -- -- ------------------------------------------------------------------------ -- -- -- -- Copyright (C) 2019-2020, ANNEXI-STRAYLINE Trans-Human Ltd. -- -- All rights reserved. -- -- -- -- Original Contributors: -- -- * Richard Wai (ANNEXI-STRAYLINE) -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- -- -- * Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -- -- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- This package implements the Library_Unit type for us in tracking all -- "withed" units across the entire AURA project. This type is intended to act -- as the Element_Type for the Hashed Set declared in the Units.Unit_Sets child -- package with Ada.Containers; with Ada.Containers.Hashed_Sets; with Ada.Strings.Unbounded; with Unit_Names; with Unit_Names.Hash; with Stream_Hashing; with Registrar.Source_Files; package Registrar.Library_Units is use type Unit_Names.Unit_Name; -- Library_Unit_State -- ------------------------ -- The Library_Unit_State pertains to each with'ed library unit in a -- given Unit_Set. An Aquired Library_Unit_Status never regresses to -- Requested. If any Library_Unit cannot be Aquired, AURA fails. type Library_Unit_State is (Requested, -- Unit is needed but not yet Aquired -- -- The Unit has been explicitly withed by any program unit of the AURA -- project, but that Unit was not present in the Set. It is added with -- the Requested State. Available, -- At least one source item for the unit has been entered, indicating -- that the source is available, but has not been compiled. Compiled); -- The library unit has been successfully compiled, or can be "assumed" -- compiled due to having no reverse dependencies. -- Library_Unit_Kind -- ----------------------- -- Library unit kind is used to control compilation, and specifically to -- control binding and linking of the main program/library. If the main -- unit is a package, the binder is instructed that there is "no main -- subprogram" type Library_Unit_Kind is (Unknown, -- For requested Ada units External_Unit, -- Unit is an external dependency Package_Unit, -- Library unit is a package Subprogram_Unit, -- Library unit is a subprogram Subunit); -- This kind is somewhat rare, and is not technically a "library unit", -- but occurs when subunits are nested. In order words, if a Library_Unit -- has this kind, it is itself a subunit of a library unit, which has -- it's own subunits. -- -- Separate_Units are not directly compiled, just as the Subunit_Bodies -- vector ------------------ -- Library_Unit -- ------------------ type Library_Unit is record Name : Unit_Names.Unit_Name; State : Library_Unit_State := Requested; Kind : Library_Unit_Kind := Unknown; Spec_File: Source_Files.Source_File_Access := null; Body_File: Source_Files.Source_File_Access := null; -- Source_Files are limited objects. The intention of any given -- Library_Unit is that each Source_File_Access value is initialized -- with an allocator exactly once, and then used for the life of the -- program (by being entered into the Registry) -- -- Deallocation of these members should never be necessary. -- -- There is some potential for memory leaks with this configuration, -- but that is not likely to be much of a problem given that the AURA -- CLI is designed to run once to completion. -- -- These members should only be allocated by Registrar.Enter_Unit, -- which then passes the new unit to the registry. Subunit_Bodies: Source_Files.Source_File_Vectors.Vector; -- any subunit bodies are attached to the unit record so that the -- subsystem hashes may be generated -- Hashes -- -- Note that these values are never meaninful when Kind is Subunit. -- Only library units (Package_Unit or Subprogram_Unit) retain hash -- values. The most immediate parent library unit of a tree of -- subunits contains a Body_Source_Hash that includes all subunits Specification_Hash : Stream_Hashing.Hash_Type; -- This hash is derrived from Spec_File.Hash, and is set during -- a Implementation_Hash run. Since Source_Files cannot be saved to -- Last_Run, this ensures that the Specification hashes can be saved -- without overly elaborate methods -- -- This value is only valid if the unit has a spec Implementation_Hash: Stream_Hashing.Hash_Type; -- This is a collective hash that includes the Body_File, -- as well as all files in Subunit_Bodies, including children subunits -- of those subunits. This hash is valid after a Hash_Pass when Kind -- is not Subunit, and State is not Requested. -- -- This value is only valid if the unit has a body Compilation_Hash: Stream_Hashing.Hash_Type; -- A collective hash of all compilation products of this unit. -- (For GNAT this would be the .o and .ali files). -- This value is not valid of Kind is "Subunit". -- -- This value is valid only if State = Compiled end record; -- For implementation of Library_Units.Library_Unit_Sets function Library_Unit_Name_Hash (Unit: Library_Unit) return Ada.Containers.Hash_Type is (Unit_Names.Hash (Unit.Name)); function Equivalent_Units (Left, Right: Library_Unit) return Boolean is (Left.Name = Right.Name); ----------------------- -- Library_Unit_Sets -- ----------------------- package Library_Unit_Sets is new Ada.Containers.Hashed_Sets (Element_Type => Library_Unit, Hash => Library_Unit_Name_Hash, Equivalent_Elements => Equivalent_Units); -- Key operations function Key (Unit: Library_Unit) return Unit_Names.Unit_Name is (Unit.Name); package Library_Unit_Sets_Keyed_Operations is new Library_Unit_Sets.Generic_Keys (Key_Type => Unit_Names.Unit_Name, Key => Key, Hash => Unit_Names.Hash, Equivalent_Keys => Unit_Names."="); end Registrar.Library_Units;
45.933014
79
0.550417
31bab1116dcd40706a0240a769eeec9e2f597559
409
adb
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sizetype3.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sizetype3.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sizetype3.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- { dg-do compile } -- { dg-options "-O" } with Sizetype3_Pkg; use Sizetype3_Pkg; package body Sizetype3 is procedure Handle_Enum_Values is Values : constant List := F; L : Values_Array_Access; begin L := new Values_Array (1 .. Values'Length); end Handle_Enum_Values; procedure Simplify_Type_Of is begin Handle_Enum_Values; end Simplify_Type_Of; end Sizetype3;
19.47619
49
0.684597
5934bdfda68dd808ed3f5b5efaf2d02bd03c4204
2,803
adb
Ada
source/textio/a-tiguio.adb
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
33
2015-04-04T09:19:36.000Z
2021-11-10T05:33:34.000Z
source/textio/a-tiguio.adb
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
8
2017-11-14T13:05:07.000Z
2018-08-09T15:28:49.000Z
source/textio/a-tiguio.adb
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
9
2015-02-03T17:09:53.000Z
2021-11-12T01:16:05.000Z
package body Ada.Text_IO.Generic_Unbounded_IO is procedure Put ( File : File_Type; Item : Unbounded_Strings.Unbounded_String) is begin Put ( File, -- checking the predicate Unbounded_Strings.Constant_Reference (Item).Element.all); end Put; procedure Put ( Item : Unbounded_Strings.Unbounded_String) is begin Put (Current_Output.all, Item); end Put; procedure Put_Line ( File : File_Type; Item : Unbounded_Strings.Unbounded_String) is begin Put_Line ( File, -- checking the predicate Unbounded_Strings.Constant_Reference (Item).Element.all); end Put_Line; procedure Put_Line ( Item : Unbounded_Strings.Unbounded_String) is begin Put_Line (Current_Output.all, Item); end Put_Line; function Get_Line ( File : File_Type) return Unbounded_Strings.Unbounded_String is begin return Result : Unbounded_Strings.Unbounded_String do Get_Line (File, Result); -- checking the predicate end return; end Get_Line; function Get_Line return Unbounded_Strings.Unbounded_String is begin return Get_Line (Current_Input.all); end Get_Line; procedure Get_Line ( File : File_Type; Item : out Unbounded_Strings.Unbounded_String) is Last : Natural := 0; Capacity : Natural := 256; begin loop Unbounded_Strings.Set_Length (Item, Capacity); Get_Line ( File, -- checking the predicate Unbounded_Strings.Reference (Item).Element (Last + 1 .. Capacity), Last); exit when Last < Capacity; -- growth if Unbounded_Strings.String_Type'Component_Size = String'Component_Size then Capacity := String_Grow (Capacity); elsif Unbounded_Strings.String_Type'Component_Size = Wide_String'Component_Size then Capacity := Wide_String_Grow (Capacity); elsif Unbounded_Strings.String_Type'Component_Size = Wide_Wide_String'Component_Size then Capacity := Wide_Wide_String_Grow (Capacity); else declare function Grow is new System.Growth.Good_Grow ( Natural, Component_Size => Unbounded_Strings.String_Type'Component_Size); begin Capacity := Grow (Capacity); end; end if; end loop; Unbounded_Strings.Set_Length (Item, Last); end Get_Line; procedure Get_Line ( Item : out Unbounded_Strings.Unbounded_String) is begin Get_Line (Current_Input.all, Item); end Get_Line; end Ada.Text_IO.Generic_Unbounded_IO;
28.896907
78
0.623261
2f9c64b8fdc0601a871d8fda727ca9d4bbd0bbd4
1,794
ads
Ada
specs/ada/common/tkmrpc-request-ike-isa_auth.ads
DrenfongWong/tkm-rpc
075d22871cf81d497aac656c7f03a513278b641c
[ "BSD-3-Clause" ]
null
null
null
specs/ada/common/tkmrpc-request-ike-isa_auth.ads
DrenfongWong/tkm-rpc
075d22871cf81d497aac656c7f03a513278b641c
[ "BSD-3-Clause" ]
null
null
null
specs/ada/common/tkmrpc-request-ike-isa_auth.ads
DrenfongWong/tkm-rpc
075d22871cf81d497aac656c7f03a513278b641c
[ "BSD-3-Clause" ]
null
null
null
with Tkmrpc.Types; with Tkmrpc.Operations.Ike; package Tkmrpc.Request.Ike.Isa_Auth is Data_Size : constant := 1908; type Data_Type is record Isa_Id : Types.Isa_Id_Type; Cc_Id : Types.Cc_Id_Type; Init_Message : Types.Init_Message_Type; Signature : Types.Signature_Type; end record; for Data_Type use record Isa_Id at 0 range 0 .. (8 * 8) - 1; Cc_Id at 8 range 0 .. (8 * 8) - 1; Init_Message at 16 range 0 .. (1504 * 8) - 1; Signature at 1520 range 0 .. (388 * 8) - 1; end record; for Data_Type'Size use Data_Size * 8; Padding_Size : constant := Request.Body_Size - Data_Size; subtype Padding_Range is Natural range 1 .. Padding_Size; subtype Padding_Type is Types.Byte_Sequence (Padding_Range); type Request_Type is record Header : Request.Header_Type; Data : Data_Type; Padding : Padding_Type; end record; for Request_Type use record Header at 0 range 0 .. (Request.Header_Size * 8) - 1; Data at Request.Header_Size range 0 .. (Data_Size * 8) - 1; Padding at Request.Header_Size + Data_Size range 0 .. (Padding_Size * 8) - 1; end record; for Request_Type'Size use Request.Request_Size * 8; Null_Request : constant Request_Type := Request_Type' (Header => Request.Header_Type'(Operation => Operations.Ike.Isa_Auth, Request_Id => 0), Data => Data_Type'(Isa_Id => Types.Isa_Id_Type'First, Cc_Id => Types.Cc_Id_Type'First, Init_Message => Types.Null_Init_Message_Type, Signature => Types.Null_Signature_Type), Padding => Padding_Type'(others => 0)); end Tkmrpc.Request.Ike.Isa_Auth;
33.222222
68
0.620401
3195c8d214cea92b010d20cbbdfe69d35c8cc2e6
12,074
adb
Ada
extern/game_support/stm32f4/src/tracks_display.adb
AdaCore/training_material
6651eb2c53f8c39649b8e0b3c757bc8ff963025a
[ "CC-BY-4.0" ]
15
2020-10-07T08:56:45.000Z
2022-02-08T23:13:22.000Z
extern/game_support/stm32f4/src/tracks_display.adb
AdaCore/training_material
6651eb2c53f8c39649b8e0b3c757bc8ff963025a
[ "CC-BY-4.0" ]
20
2020-11-05T14:35:20.000Z
2022-01-13T15:59:33.000Z
extern/game_support/stm32f4/src/tracks_display.adb
AdaCore/training_material
6651eb2c53f8c39649b8e0b3c757bc8ff963025a
[ "CC-BY-4.0" ]
6
2020-10-08T15:57:06.000Z
2021-08-31T12:03:08.000Z
with Drawing; use Drawing; package body Tracks_Display is Entry_Sign_Size : constant := 6; Entry_Sign_Pixel : constant array (Entry_Sign_Color) of Color := (Green => Screen_Interface.Green, Orange => Screen_Interface.Orange, Red => Screen_Interface.Red); Track_Color : constant Color := Screen_Interface.Light_Gray; Track_Thickness : constant := 4; Train_Thickness : constant := 2; Switch_Color : constant Color := Screen_Interface.Violet; Switch_Thickness : constant := 2; use type Trains.Train_Id; function First_Bogie_Track (Train : Train_T) return Trains.Track_Id; function Last_Bogie_Track (Train : Train_T) return Trains.Track_Id; procedure Build_Straight_Track (Track : in out Track_T; Start, Stop : Point) is Diff_X : constant Float := (Float(Stop.X) - Float(Start.X)) / (Float (Track.Points'Length) - 1.0); Diff_Y : constant Float := (Float(Stop.Y) - Float(Start.Y)) / (Float (Track.Points'Length) - 1.0); begin for I in Track.Points'Range loop declare T : constant Float := (Float (I) - 1.0); begin Track.Points (I).X := Width (Float (Start.X) + T * Diff_X); Track.Points (I).Y := Height (Float (Start.Y) + T * Diff_Y); end; end loop; Track.Is_Straight := True; -- Default Sign Position Set_Sign_Position (Track, Top); end Build_Straight_Track; procedure Build_Curve_Track (Track : in out Track_T; P1, P2, P3, P4 : Point) is begin for I in Track.Points'Range loop declare T : constant Float := Float (I) / Float (Track.Points'Length); A : constant Float := (1.0 - T)**3; B : constant Float := 3.0 * T * (1.0 - T)**2; C : constant Float := 3.0 * T**2 * (1.0 - T); D : constant Float := T**3; begin Track.Points (I).X := Width (A * Float (P1.X) + B * Float (P2.X) + C * Float (P3.X) + D * Float (P4.X)); Track.Points (I).Y := Height (A * Float (P1.Y) + B * Float (P2.Y) + C * Float (P3.Y) + D * Float (P4.Y)); end; end loop; Track.Is_Straight := False; -- Fix first and last coordinate Track.Points (Track.Points'First) := P1; Track.Points (Track.Points'Last) := P4; -- Default Sign Position Set_Sign_Position (Track, Top); end Build_Curve_Track; procedure Set_Sign_Position (Track : in out Track_T; Pos : Entry_Sign_Position) is First : constant Point := Track.Points (Track.Points'First); Coord : Point; begin case Pos is when Top => Coord := (First.X - Width (Entry_Sign_Size * 1.5), First.Y); when Left => Coord := (First.X, First.Y + Height (Entry_Sign_Size * 1.5)); when Bottom => Coord := (First.X + Width (Entry_Sign_Size * 1.5), First.Y); when Right => Coord := (First.X, First.Y - Height (Entry_Sign_Size * 1.5)); end case; Track.Entry_Sign.Coord := Coord; end Set_Sign_Position; procedure Connect_Track (Track : in out Track_T; E1, E2 : Track_Access) is begin if E1 = null then raise Program_Error; else Track.Exits (S1) := E1; Track.Switch_State := S1; Track.Switchable := False; -- Connected track should share point coordinate if Track.Points (Track.Points'Last) /= E1.all.Points (E1.all.Points'First) then raise Program_Error; end if; end if; if E2 /= null then Track.Exits (S2) := E2; Track.Switchable := True; E2.Entry_Sign.Disabled := True; -- Connected track should share point coordinate if Track.Points (Track.Points'Last) /= E2.all.Points (E2.all.Points'First) then raise Program_Error; end if; end if; end Connect_Track; procedure Init_Train (Train : in out Train_T; Track : Track_Access) is Cnt : Natural := 1; begin if Train.Nb_Bogies > Track.all.Points'Length then -- Not enough space to put the train. raise Program_Error; end if; Train.Id := Trains.Cur_Num_Trains; for Bog of Train.Bogies loop Bog.Track := Track; Bog.Track_Pos := Track.all.Points'First + Train.Nb_Bogies - Cnt; if Bog.Track_Pos not in Track.Points'Range then raise Program_Error; end if; Cnt := Cnt + 1; end loop; end Init_Train; function Next_Track (Track : Track_Access) return Track_Access is begin if Track.all.Switchable and then Track.all.Switch_State = S2 then return Track.all.Exits (S2); else return Track.all.Exits (S1); end if; end Next_Track; -- Return True when the bogie moves to the entry of a new track procedure Move_Bogie (Bog : in out Bogie) is begin if Bog.Track_Pos = Bog.Track.all.Points'Last then Bog.Track := Next_Track (Bog.Track); -- The first point of track has the same position has the last of -- previous tack, so we skip it. Bog.Track_Pos := Bog.Track.all.Points'First + 1; else Bog.Track_Pos := Bog.Track_Pos + 1; end if; end Move_Bogie; procedure Move_Train (Train : in out Train_T) is use type Trains.Move_Result; Cnt : Integer := 0; Train_Copy : Train_T (Train.Nb_Bogies); Sign_Command : Trains.Move_Result; begin loop -- Make a copy of the train an move it Train_Copy := Train; -- Each bogie takes the previous position of the bogie in front him for Index in reverse Train_Copy.Bogies'First + 1 .. Train_Copy.Bogies'Last loop Train_Copy.Bogies (Index) := Train_Copy.Bogies (Index - 1); end loop; -- To move the first bogie we need to see if we are at the end of a -- track and maybe a switch. Move_Bogie (Train_Copy.Bogies (Train_Copy.Bogies'First)); -- Check if that move was legal Trains.Move (Train_Copy.Id, (First_Bogie_Track (Train_Copy), 0, Last_Bogie_Track (Train_Copy)), Sign_Command); if Sign_Command /= Trains.Stop then -- Redraw the track under the last bogie this is an optimisation to -- avoid redrawing all tracks at each loop. Line (Get_Coords (Train.Bogies (Train.Bogies'Last)), Get_Coords (Train.Bogies (Train.Bogies'Last - 1)), Track_Color, Track_Thickness); -- This move is ilegal, set train to the new position Train := Train_Copy; end if; case Sign_Command is when Trains.Full_Speed => Train.Speed := 3; when Trains.Slow_Down => Train.Speed := 1; when Trains.Stop => Train.Speed := 0; when Trains.Keep_Going => -- Keep the same speed null; end case; exit when Train.Speed <= Cnt; Cnt := Cnt + 1; end loop; end Move_Train; procedure Draw_Sign (Track : Track_T) is begin if (Track.Entry_Sign.Coord /= (0, 0)) then if not Track.Entry_Sign.Disabled then Circle (Track.Entry_Sign.Coord, Entry_Sign_Size / 2, Entry_Sign_Pixel (Track.Entry_Sign.Color), True); else -- Draw a black circle to "erase" the previous drawing Circle (Track.Entry_Sign.Coord, Entry_Sign_Size / 2, Black, True); end if; end if; end Draw_Sign; procedure Draw_Track (Track : Track_T) is begin if Track.Is_Straight then Line (Track.Points (Track.Points'First), Track.Points (Track.Points'Last), Track_Color, Track_Thickness); else for Index in Track.Points'First .. Track.Points'Last - 1 loop Line (Track.Points (Index), Track.Points (Index + 1), Track_Color, Track_Thickness); end loop; end if; Draw_Sign (Track); end Draw_Track; procedure Draw_Switch (Track : Track_T) is Target : constant Track_Access := Track.Exits (Track.Switch_State); begin if Track.Switchable then For Cnt in Target.Points'First .. Target.Points'First + 10 loop declare P1 : constant Point := Target.all.Points (Cnt); P2 : constant Point := Target.all.Points (Cnt + 1); begin Line (P1, P2, Switch_Color, Switch_Thickness); end; end loop; end if; end Draw_Switch; procedure Draw_Train (Train : Train_T) is Train_Color : Color; begin for Index in Train.Bogies'First .. Train.Bogies'Last - 1 loop declare B1 : constant Bogie := Train.Bogies (Index); Track1 : constant Track_Access := B1.Track; P1 : constant Point := Track1.Points (B1.Track_Pos); B2 : constant Bogie := Train.Bogies (Index + 1); Track2 : constant Track_Access := B2.Track; P2 : constant Point := Track2.Points (B2.Track_Pos); begin case Train.Speed is when 0 => Train_Color := Screen_Interface.Red; when 1 => Train_Color := Screen_Interface.Orange; when others => Train_Color := Screen_Interface.Black; end case; Line (P1, P2, Train_Color, Train_Thickness); end; end loop; end Draw_Train; procedure Update_Sign (Track : in out Track_T) is Prev_Color : constant Entry_Sign_Color := Track.Entry_Sign.Color; begin case Trains.Track_Signals (Track.Id) is when Trains.Green => Track.Entry_Sign.Color := Green; when Trains.Orange => Track.Entry_Sign.Color := Orange; Draw_Track (Track); when Trains.Red => Track.Entry_Sign.Color := Red; end case; if Track.Entry_Sign.Color /= Prev_Color then Draw_Sign (Track); end if; end Update_Sign; procedure Change_Switch (Track : in out Track_T) is begin if Track.Switch_State = S1 then Track.Switch_State := S2; Track.Exits (S1).Entry_Sign.Disabled := True; Track.Exits (S2).Entry_Sign.Disabled := False; else Track.Switch_State := S1; Track.Exits (S2).Entry_Sign.Disabled := True; Track.Exits (S1).Entry_Sign.Disabled := False; end if; Draw_Track (Track.Exits (S1).all); Draw_Track (Track.Exits (S2).all); Draw_Track (Track); end Change_Switch; function Get_Coords (Bog : Bogie) return Point is begin return Bog.Track.Points (Bog.Track_Pos); end Get_Coords; function First_Bogie_Track (Train : Train_T) return Trains.Track_Id is Bog : constant Bogie := Train.Bogies(Train.Bogies'First); begin return Bog.Track.Id; end First_Bogie_Track; function Last_Bogie_Track (Train : Train_T) return Trains.Track_Id is Bog : constant Bogie := Train.Bogies(Train.Bogies'Last); begin return Bog.Track.Id; end Last_Bogie_Track; function Start_Coord (Track : Track_T) return Point is begin return Track.Points (1); end Start_Coord; function end_Coord (Track : Track_T) return Point is begin return Track.Points (Track.Points'Last); end end_Coord; end Tracks_Display;
33.353591
88
0.566838
06b4e0c6b162c79788cd9ed37485a81f0fb2ebbd
3,515
ads
Ada
source/flatten/web-ui-string_combo_boxes.ads
godunko/adawebui
ee524325fe701ef0a655cd0624e0ba701f0e8955
[ "BSD-3-Clause" ]
2
2020-01-31T07:00:09.000Z
2021-06-25T15:50:00.000Z
source/flatten/web-ui-string_combo_boxes.ads
godunko/adawebui
ee524325fe701ef0a655cd0624e0ba701f0e8955
[ "BSD-3-Clause" ]
null
null
null
source/flatten/web-ui-string_combo_boxes.ads
godunko/adawebui
ee524325fe701ef0a655cd0624e0ba701f0e8955
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Web Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2017-2020, Vadim Godunko <[email protected]> -- -- 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: 5761 $ $Date: 2017-05-20 11:06:31 +0300 (Sat, 20 May 2017) $ ------------------------------------------------------------------------------ with Web.UI.Widgets.Combo_Boxes.Strings; package Web.UI.String_Combo_Boxes renames Web.UI.Widgets.Combo_Boxes.Strings;
73.229167
78
0.40569
12e4fd240c50264c35ec3f0b6d042871c975928b
1,000
ads
Ada
source/obj/nosig.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
33
2015-04-04T09:19:36.000Z
2021-11-10T05:33:34.000Z
source/obj/nosig.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
8
2017-11-14T13:05:07.000Z
2018-08-09T15:28:49.000Z
source/obj/nosig.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
9
2015-02-03T17:09:53.000Z
2021-11-12T01:16:05.000Z
pragma License (Unrestricted); -- optional runtime unit with System; package nosig is pragma Preelaborate; procedure Install_Exception_Handler (SEH : System.Address) is null with Export, -- for weak linking Convention => Ada, External_Name => "__drake_install_exception_handler"; procedure Install_Task_Exception_Handler ( SEH : System.Address; Signal_Stack : System.Address) is null with Export, Convention => Ada, External_Name => "__drake_install_task_exception_handler"; procedure Reinstall_Exception_Handler is null with Export, Convention => Ada, External_Name => "__drake_reinstall_exception_handler"; -- Win64 SEH only function New_Machine_Occurrence_From_SEH ( Exception_Record : System.Address) return System.Address is (System.Null_Address) with Export, Convention => Ada, External_Name => "__drake_new_machine_occurrence_from_seh"; end nosig;
30.30303
69
0.7
31b3dfe75e7674b09ad6045942f5d8619c3e2882
1,135
ads
Ada
regtests/gen-testsuite.ads
jquorning/dynamo
10d68571476c270b8e45a9c5ef585fa9139b0d05
[ "Apache-2.0" ]
15
2015-01-18T23:04:19.000Z
2022-03-01T20:27:08.000Z
regtests/gen-testsuite.ads
jquorning/dynamo
10d68571476c270b8e45a9c5ef585fa9139b0d05
[ "Apache-2.0" ]
16
2018-06-10T07:09:30.000Z
2022-03-26T18:28:40.000Z
regtests/gen-testsuite.ads
jquorning/dynamo
10d68571476c270b8e45a9c5ef585fa9139b0d05
[ "Apache-2.0" ]
3
2015-11-11T18:00:14.000Z
2022-01-30T23:08:45.000Z
----------------------------------------------------------------------- -- gen-testsuite -- Testsuite for gen -- Copyright (C) 2012 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Util.Tests; with Util.Properties; package Gen.Testsuite is function Suite return Util.Tests.Access_Test_Suite; -- Get the test root directory. function Get_Test_Directory return String; procedure Initialize (Props : in Util.Properties.Manager); end Gen.Testsuite;
36.612903
76
0.648458
2ffd21157b671ee1a34acf589b0a7182f2736f93
6,246
adb
Ada
bb-runtimes/runtimes/ravenscar-full-stm32f3x4/gnat/s-pack51.adb
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/runtimes/ravenscar-full-stm32f3x4/gnat/s-pack51.adb
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
bb-runtimes/runtimes/ravenscar-full-stm32f3x4/gnat/s-pack51.adb
JCGobbi/Nucleo-STM32F334R8
2a0b1b4b2664c92773703ac5e95dcb71979d051c
[ "BSD-3-Clause" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 5 1 -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2021, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with System.Storage_Elements; with System.Unsigned_Types; package body System.Pack_51 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_51; 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_51 -- ------------ function Get_51 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_51 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_51; ------------ -- Set_51 -- ------------ procedure Set_51 (Arr : System.Address; N : Natural; E : Bits_51; 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_51; end System.Pack_51;
39.531646
78
0.434198
c5d4675e2f9c4b6473d366f935e84f4a03a0e83c
4,356
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34006a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34006a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34006a.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- C34006A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making -- this public release, the Government intends to confer upon all -- recipients unlimited rights equal to those held by the Government. -- These rights include rights to use, duplicate, release or disclose the -- released technical data and computer software in whole or in part, in -- any manner and for any purpose whatsoever, and to have or permit others -- to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. --* -- OBJECTIVE: -- CHECK THAT THE REQUIRED PREDEFINED OPERATIONS ARE DECLARED -- (IMPLICITLY) FOR DERIVED RECORD TYPES WITHOUT DISCRIMINANTS -- AND WITH NON-LIMITED COMPONENT TYPES. -- HISTORY: -- JRK 09/22/86 CREATED ORIGINAL TEST. -- BCB 09/26/88 REMOVED COMPARISONS INVOLVING SIZE. -- PWN 11/30/94 REMOVED 'BASE USE ILLEGAL IN ADA 9X. WITH SYSTEM; USE SYSTEM; WITH REPORT; USE REPORT; PROCEDURE C34006A IS SUBTYPE COMPONENT IS INTEGER; TYPE PARENT IS RECORD C : COMPONENT; B : BOOLEAN := TRUE; END RECORD; TYPE T IS NEW PARENT; X : T := (2, FALSE); K : INTEGER := X'SIZE; W : PARENT := (2, FALSE); C : COMPONENT := 1; B : BOOLEAN := FALSE; PROCEDURE A (X : ADDRESS) IS BEGIN B := IDENT_BOOL (TRUE); END A; FUNCTION IDENT (X : T) RETURN T IS BEGIN IF EQUAL (X.C, X.C) THEN RETURN X; -- ALWAYS EXECUTED. END IF; RETURN (-1, FALSE); END IDENT; BEGIN TEST ("C34006A", "CHECK THAT THE REQUIRED PREDEFINED OPERATIONS " & "ARE DECLARED (IMPLICITLY) FOR DERIVED " & "RECORD TYPES WITHOUT DISCRIMINANTS AND WITH " & "NON-LIMITED COMPONENT TYPES"); X := IDENT ((1, TRUE)); IF X /= (1, TRUE) THEN FAILED ("INCORRECT :="); END IF; IF T'(X) /= (1, TRUE) THEN FAILED ("INCORRECT QUALIFICATION"); END IF; IF T (X) /= (1, TRUE) THEN FAILED ("INCORRECT SELF CONVERSION"); END IF; IF EQUAL (3, 3) THEN W := (1, TRUE); END IF; IF T (W) /= (1, TRUE) THEN FAILED ("INCORRECT CONVERSION FROM PARENT"); END IF; IF PARENT (X) /= (1, TRUE) THEN FAILED ("INCORRECT CONVERSION TO PARENT"); END IF; IF IDENT ((1, TRUE)) /= (1, TRUE) THEN FAILED ("INCORRECT AGGREGATE"); END IF; IF X.C /= 1 OR X.B /= TRUE THEN FAILED ("INCORRECT SELECTION (VALUE)"); END IF; X.C := IDENT_INT (3); X.B := IDENT_BOOL (FALSE); IF X /= (3, FALSE) THEN FAILED ("INCORRECT SELECTION (ASSIGNMENT)"); END IF; X := IDENT ((1, TRUE)); IF X = IDENT ((1, FALSE)) THEN FAILED ("INCORRECT ="); END IF; IF X /= IDENT ((1, TRUE)) THEN FAILED ("INCORRECT /="); END IF; IF NOT (X IN T) THEN FAILED ("INCORRECT ""IN"""); END IF; IF X NOT IN T THEN FAILED ("INCORRECT ""NOT IN"""); END IF; B := FALSE; A (X'ADDRESS); IF NOT B THEN FAILED ("INCORRECT 'ADDRESS"); END IF; IF X.C'FIRST_BIT < 0 THEN FAILED ("INCORRECT 'FIRST_BIT"); END IF; IF X.C'LAST_BIT < 0 OR X.C'LAST_BIT - X.C'FIRST_BIT + 1 /= X.C'SIZE THEN FAILED ("INCORRECT 'LAST_BIT"); END IF; IF X.C'POSITION < 0 THEN FAILED ("INCORRECT 'POSITION"); END IF; RESULT; END C34006A;
28.657895
79
0.559917
5950b4a71ab79a9736436684f0dd3e106eda7afd
17,276
ads
Ada
src/gnat/nlists.ads
jquorning/dynamo
10d68571476c270b8e45a9c5ef585fa9139b0d05
[ "Apache-2.0" ]
15
2015-01-18T23:04:19.000Z
2022-03-01T20:27:08.000Z
src/gnat/nlists.ads
jquorning/dynamo
10d68571476c270b8e45a9c5ef585fa9139b0d05
[ "Apache-2.0" ]
16
2018-06-10T07:09:30.000Z
2022-03-26T18:28:40.000Z
src/gnat/nlists.ads
jquorning/dynamo
10d68571476c270b8e45a9c5ef585fa9139b0d05
[ "Apache-2.0" ]
3
2015-11-11T18:00:14.000Z
2022-01-30T23:08:45.000Z
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- N L I S T S -- -- -- -- S p e c -- -- -- -- 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. -- -- -- ------------------------------------------------------------------------------ -- This package provides facilities for manipulating lists of nodes (see -- package Atree for format and implementation of tree nodes). The Link field -- of the nodes is used as the forward pointer for these lists. See also -- package Elists which provides another form of lists that are not threaded -- through the nodes (and therefore allow nodes to be on multiple lists). with System; with Types; use Types; package Nlists is -- A node list is a list of nodes in a special format that means that -- nodes can be on at most one such list. For each node list, a list -- header is allocated in the lists table, and a List_Id value references -- this header, which may be used to access the nodes in the list using -- the set of routines that define this interface. -- Note: node lists can contain either nodes or entities (extended nodes) -- or a mixture of nodes and extended nodes. function In_Same_List (N1, N2 : Node_Or_Entity_Id) return Boolean; pragma Inline (In_Same_List); -- Equivalent to List_Containing (N1) = List_Containing (N2) function Last_List_Id return List_Id; pragma Inline (Last_List_Id); -- Returns Id of last allocated list header function Lists_Address return System.Address; pragma Inline (Lists_Address); -- Return address of Lists table (used in Back_End for Gigi call) function Num_Lists return Nat; pragma Inline (Num_Lists); -- Number of currently allocated lists function New_List return List_Id; -- Creates a new empty node list. Typically this is used to initialize -- a field in some other node which points to a node list where the list -- is then subsequently filled in using Append calls. function Empty_List return List_Id renames New_List; -- Used in contexts where an empty list (as opposed to an initially empty -- list to be filled in) is required. function New_List (Node : Node_Or_Entity_Id) return List_Id; -- Build a new list initially containing the given node function New_List (Node1 : Node_Or_Entity_Id; Node2 : Node_Or_Entity_Id) return List_Id; -- Build a new list initially containing the two given nodes function New_List (Node1 : Node_Or_Entity_Id; Node2 : Node_Or_Entity_Id; Node3 : Node_Or_Entity_Id) return List_Id; -- Build a new list initially containing the three given nodes function New_List (Node1 : Node_Or_Entity_Id; Node2 : Node_Or_Entity_Id; Node3 : Node_Or_Entity_Id; Node4 : Node_Or_Entity_Id) return List_Id; function New_List (Node1 : Node_Or_Entity_Id; Node2 : Node_Or_Entity_Id; Node3 : Node_Or_Entity_Id; Node4 : Node_Or_Entity_Id; Node5 : Node_Or_Entity_Id) return List_Id; -- Build a new list initially containing the five given nodes function New_List (Node1 : Node_Or_Entity_Id; Node2 : Node_Or_Entity_Id; Node3 : Node_Or_Entity_Id; Node4 : Node_Or_Entity_Id; Node5 : Node_Or_Entity_Id; Node6 : Node_Or_Entity_Id) return List_Id; -- Build a new list initially containing the six given nodes function New_Copy_List (List : List_Id) return List_Id; -- Creates a new list containing copies (made with Atree.New_Copy) of every -- node in the original list. If the argument is No_List, then the returned -- result is No_List. If the argument is an empty list, then the returned -- result is a new empty list. function New_Copy_List_Original (List : List_Id) return List_Id; -- Same as New_Copy_List but copies only nodes coming from source function First (List : List_Id) return Node_Or_Entity_Id; pragma Inline (First); -- Obtains the first element of the given node list or, if the node list -- has no items or is equal to No_List, then Empty is returned. function First_Non_Pragma (List : List_Id) return Node_Or_Entity_Id; -- Used when dealing with a list that can contain pragmas to skip past -- any initial pragmas and return the first element that is not a pragma. -- If the list is empty, or if it contains only pragmas, then Empty is -- returned. It is an error to call First_Non_Pragma with a Node_Id value -- or No_List (No_List is not considered to be the same as an empty list). -- This function also skips N_Null nodes which can result from rewriting -- unrecognized or incorrect pragmas. function Last (List : List_Id) return Node_Or_Entity_Id; pragma Inline (Last); -- Obtains the last element of the given node list or, if the node list -- has no items, then Empty is returned. It is an error to call Last with -- a Node_Id or No_List. (No_List is not considered to be the same as an -- empty node list). function Last_Non_Pragma (List : List_Id) return Node_Or_Entity_Id; -- Obtains the last element of a given node list that is not a pragma. -- If the list is empty, or if it contains only pragmas, then Empty is -- returned. It is an error to call Last_Non_Pragma with a Node_Id or -- No_List. (No_List is not considered to be the same as an empty list). function List_Length (List : List_Id) return Nat; -- Returns number of items in the given list. It is an error to call -- this function with No_List (No_List is not considered to be the same -- as an empty list). function Next (Node : Node_Or_Entity_Id) return Node_Or_Entity_Id; pragma Inline (Next); -- This function returns the next node on a node list, or Empty if Node is -- the last element of the node list. The argument must be a member of a -- node list. procedure Next (Node : in out Node_Or_Entity_Id); pragma Inline (Next); -- Equivalent to Node := Next (Node); function Next_Non_Pragma (Node : Node_Or_Entity_Id) return Node_Or_Entity_Id; -- This function returns the next node on a node list, skipping past any -- pragmas, or Empty if there is no non-pragma entry left. The argument -- must be a member of a node list. This function also skips N_Null nodes -- which can result from rewriting unrecognized or incorrect pragmas. procedure Next_Non_Pragma (Node : in out Node_Or_Entity_Id); pragma Inline (Next_Non_Pragma); -- Equivalent to Node := Next_Non_Pragma (Node); function Prev (Node : Node_Or_Entity_Id) return Node_Or_Entity_Id; pragma Inline (Prev); -- This function returns the previous node on a node list, or Empty -- if Node is the first element of the node list. The argument must be -- a member of a node list. Note: the implementation does maintain back -- pointers, so this function executes quickly in constant time. function Pick (List : List_Id; Index : Pos) return Node_Or_Entity_Id; -- Given a list, picks out the Index'th entry (1 = first entry). The -- caller must ensure that Index is in range. procedure Prev (Node : in out Node_Or_Entity_Id); pragma Inline (Prev); -- Equivalent to Node := Prev (Node); function Prev_Non_Pragma (Node : Node_Or_Entity_Id) return Node_Or_Entity_Id; pragma Inline (Prev_Non_Pragma); -- This function returns the previous node on a node list, skipping any -- pragmas. If Node is the first element of the list, or if the only -- elements preceding it are pragmas, then Empty is returned. The -- argument must be a member of a node list. Note: the implementation -- does maintain back pointers, so this function executes quickly in -- constant time. procedure Prev_Non_Pragma (Node : in out Node_Or_Entity_Id); pragma Inline (Prev_Non_Pragma); -- Equivalent to Node := Prev_Non_Pragma (Node); function Is_Empty_List (List : List_Id) return Boolean; pragma Inline (Is_Empty_List); -- This function determines if a given list id references a node list that -- contains no items. No_List as an argument returns True. function Is_Non_Empty_List (List : List_Id) return Boolean; pragma Inline (Is_Non_Empty_List); -- This function determines if a given list id references a node list that -- contains at least one item. No_List as an argument returns False. function Is_List_Member (Node : Node_Or_Entity_Id) return Boolean; pragma Inline (Is_List_Member); -- This function determines if a given node is a member of a node list. -- It is an error for Node to be Empty, or to be a node list. function List_Containing (Node : Node_Or_Entity_Id) return List_Id; pragma Inline (List_Containing); -- This function provides a pointer to the node list containing Node. -- Node must be a member of a node list. procedure Append (Node : Node_Or_Entity_Id; To : List_Id); -- Appends Node at the end of node list To. Node must be a non-empty node -- that is not already a member of a node list, and To must be a node list. -- An attempt to append an error node is ignored without complaint and the -- list is unchanged. procedure Append_To (To : List_Id; Node : Node_Or_Entity_Id); pragma Inline (Append_To); -- Like Append, but arguments are the other way round procedure Append_List (List : List_Id; To : List_Id); -- Appends node list List to the end of node list To. On return, -- List is reset to be empty. procedure Append_List_To (To : List_Id; List : List_Id); pragma Inline (Append_List_To); -- Like Append_List, but arguments are the other way round procedure Insert_After (After : Node_Or_Entity_Id; Node : Node_Or_Entity_Id); -- Insert Node, which must be a non-empty node that is not already a -- member of a node list, immediately past node After, which must be a -- node that is currently a member of a node list. An attempt to insert -- an error node is ignored without complaint (and the list is unchanged). procedure Insert_List_After (After : Node_Or_Entity_Id; List : List_Id); -- Inserts the entire contents of node list List immediately after node -- After, which must be a member of a node list. On return, the node list -- List is reset to be the empty node list. procedure Insert_Before (Before : Node_Or_Entity_Id; Node : Node_Or_Entity_Id); -- Insert Node, which must be a non-empty node that is not already a -- member of a node list, immediately before Before, which must be a node -- that is currently a member of a node list. An attempt to insert an -- error node is ignored without complaint (and the list is unchanged). procedure Insert_List_Before (Before : Node_Or_Entity_Id; List : List_Id); -- Inserts the entire contents of node list List immediately before node -- Before, which must be a member of a node list. On return, the node list -- List is reset to be the empty node list. procedure Prepend (Node : Node_Or_Entity_Id; To : List_Id); -- Prepends Node at the start of node list To. Node must be a non-empty -- node that is not already a member of a node list, and To must be a -- node list. An attempt to prepend an error node is ignored without -- complaint and the list is unchanged. procedure Prepend_To (To : List_Id; Node : Node_Or_Entity_Id); pragma Inline (Prepend_To); -- Like Prepend, but arguments are the other way round procedure Prepend_List (List : List_Id; To : List_Id); -- Prepends node list List to the start of node list To. On return, -- List is reset to be empty. procedure Prepend_List_To (To : List_Id; List : List_Id); pragma Inline (Prepend_List_To); -- Like Prepend_List, but arguments are the other way round procedure Remove (Node : Node_Or_Entity_Id); -- Removes Node, which must be a node that is a member of a node list, -- from this node list. The contents of Node are not otherwise affected. function Remove_Head (List : List_Id) return Node_Or_Entity_Id; -- Removes the head element of a node list, and returns the node (whose -- contents are not otherwise affected) as the result. If the node list -- is empty, then Empty is returned. function Remove_Next (Node : Node_Or_Entity_Id) return Node_Or_Entity_Id; -- Removes the item immediately following the given node, and returns it -- as the result. If Node is the last element of the list, then Empty is -- returned. Node must be a member of a list. Unlike Remove, Remove_Next -- is fast and does not involve any list traversal. procedure Initialize; -- Called at the start of compilation of each new main source file to -- initialize the allocation of the list table. Note that Initialize -- must not be called if Tree_Read is used. procedure Lock; -- Called to lock tables before back end is called procedure Unlock; -- Unlock tables, in cases where the back end needs to modify them procedure Tree_Read; -- Initializes internal tables from current tree file using the relevant -- Table.Tree_Read routines. Note that Initialize should not be called if -- Tree_Read is used. Tree_Read includes all necessary initialization. procedure Tree_Write; -- Writes out internal tables to current tree file using the relevant -- Table.Tree_Write routines. function Parent (List : List_Id) return Node_Or_Entity_Id; pragma Inline (Parent); -- Node lists may have a parent in the same way as a node. The function -- accesses the Parent value, which is either Empty when a list header -- is first created, or the value that has been set by Set_Parent. procedure Set_Parent (List : List_Id; Node : Node_Or_Entity_Id); pragma Inline (Set_Parent); -- Sets the parent field of the given list to reference the given node function No (List : List_Id) return Boolean; pragma Inline (No); -- Tests given Id for equality with No_List. This allows notations like -- "if No (Statements)" as opposed to "if Statements = No_List". Note that -- an empty list gives False for this test, as opposed to Is_Empty_List -- which gives True either for No_List or for an empty list. function Present (List : List_Id) return Boolean; pragma Inline (Present); -- Tests given Id for inequality with No_List. This allows notations like -- "if Present (Statements)" as opposed to "if Statements /= No_List". procedure Allocate_List_Tables (N : Node_Or_Entity_Id); -- Called when nodes table is expanded to include node N. This call -- makes sure that list structures internal to Nlists are adjusted -- appropriately to reflect this increase in the size of the nodes table. function Next_Node_Address return System.Address; function Prev_Node_Address return System.Address; -- These functions return the addresses of the Next_Node and Prev_Node -- tables (used in Back_End for Gigi). end Nlists;
46.945652
79
0.667168
31e5e0b6d5763237d12954dcf43ee2bd7245553d
22,633
ads
Ada
tools/scitools/conf/understand/ada/ada05/a-chzla9.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
1
2020-01-20T21:26:46.000Z
2020-01-20T21:26:46.000Z
tools/scitools/conf/understand/ada/ada05/a-chzla9.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
tools/scitools/conf/understand/ada/ada05/a-chzla9.ads
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . C H A R A C T E R S . W I D E _ W I D E _ L A T I N _ 9 -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2005, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- -- -- -- -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package provides definitions analogous to those in the GNAT package -- Ada.Characters.Latin_9 except that the type of the various constants is -- Wide_Wide_Character instead of Character. The provision of this package -- is in accordance with the implementation permission in RM (A.3.3(27)). package Ada.Characters.Wide_Wide_Latin_9 is pragma Pure; ------------------------ -- Control Characters -- ------------------------ NUL : constant Wide_Wide_Character := Wide_Wide_Character'Val (0); SOH : constant Wide_Wide_Character := Wide_Wide_Character'Val (1); STX : constant Wide_Wide_Character := Wide_Wide_Character'Val (2); ETX : constant Wide_Wide_Character := Wide_Wide_Character'Val (3); EOT : constant Wide_Wide_Character := Wide_Wide_Character'Val (4); ENQ : constant Wide_Wide_Character := Wide_Wide_Character'Val (5); ACK : constant Wide_Wide_Character := Wide_Wide_Character'Val (6); BEL : constant Wide_Wide_Character := Wide_Wide_Character'Val (7); BS : constant Wide_Wide_Character := Wide_Wide_Character'Val (8); HT : constant Wide_Wide_Character := Wide_Wide_Character'Val (9); LF : constant Wide_Wide_Character := Wide_Wide_Character'Val (10); VT : constant Wide_Wide_Character := Wide_Wide_Character'Val (11); FF : constant Wide_Wide_Character := Wide_Wide_Character'Val (12); CR : constant Wide_Wide_Character := Wide_Wide_Character'Val (13); SO : constant Wide_Wide_Character := Wide_Wide_Character'Val (14); SI : constant Wide_Wide_Character := Wide_Wide_Character'Val (15); DLE : constant Wide_Wide_Character := Wide_Wide_Character'Val (16); DC1 : constant Wide_Wide_Character := Wide_Wide_Character'Val (17); DC2 : constant Wide_Wide_Character := Wide_Wide_Character'Val (18); DC3 : constant Wide_Wide_Character := Wide_Wide_Character'Val (19); DC4 : constant Wide_Wide_Character := Wide_Wide_Character'Val (20); NAK : constant Wide_Wide_Character := Wide_Wide_Character'Val (21); SYN : constant Wide_Wide_Character := Wide_Wide_Character'Val (22); ETB : constant Wide_Wide_Character := Wide_Wide_Character'Val (23); CAN : constant Wide_Wide_Character := Wide_Wide_Character'Val (24); EM : constant Wide_Wide_Character := Wide_Wide_Character'Val (25); SUB : constant Wide_Wide_Character := Wide_Wide_Character'Val (26); ESC : constant Wide_Wide_Character := Wide_Wide_Character'Val (27); FS : constant Wide_Wide_Character := Wide_Wide_Character'Val (28); GS : constant Wide_Wide_Character := Wide_Wide_Character'Val (29); RS : constant Wide_Wide_Character := Wide_Wide_Character'Val (30); US : constant Wide_Wide_Character := Wide_Wide_Character'Val (31); ------------------------------------- -- ISO 646 Graphic Wide_Wide_Characters -- ------------------------------------- Space : constant Wide_Wide_Character := ' '; -- WC'Val(32) Exclamation : constant Wide_Wide_Character := '!'; -- WC'Val(33) Quotation : constant Wide_Wide_Character := '"'; -- WC'Val(34) Number_Sign : constant Wide_Wide_Character := '#'; -- WC'Val(35) Dollar_Sign : constant Wide_Wide_Character := '$'; -- WC'Val(36) Percent_Sign : constant Wide_Wide_Character := '%'; -- WC'Val(37) Ampersand : constant Wide_Wide_Character := '&'; -- WC'Val(38) Apostrophe : constant Wide_Wide_Character := '''; -- WC'Val(39) Left_Parenthesis : constant Wide_Wide_Character := '('; -- WC'Val(40) Right_Parenthesis : constant Wide_Wide_Character := ')'; -- WC'Val(41) Asterisk : constant Wide_Wide_Character := '*'; -- WC'Val(42) Plus_Sign : constant Wide_Wide_Character := '+'; -- WC'Val(43) Comma : constant Wide_Wide_Character := ','; -- WC'Val(44) Hyphen : constant Wide_Wide_Character := '-'; -- WC'Val(45) Minus_Sign : Wide_Wide_Character renames Hyphen; Full_Stop : constant Wide_Wide_Character := '.'; -- WC'Val(46) Solidus : constant Wide_Wide_Character := '/'; -- WC'Val(47) -- Decimal digits '0' though '9' are at positions 48 through 57 Colon : constant Wide_Wide_Character := ':'; -- WC'Val(58) Semicolon : constant Wide_Wide_Character := ';'; -- WC'Val(59) Less_Than_Sign : constant Wide_Wide_Character := '<'; -- WC'Val(60) Equals_Sign : constant Wide_Wide_Character := '='; -- WC'Val(61) Greater_Than_Sign : constant Wide_Wide_Character := '>'; -- WC'Val(62) Question : constant Wide_Wide_Character := '?'; -- WC'Val(63) Commercial_At : constant Wide_Wide_Character := '@'; -- WC'Val(64) -- Letters 'A' through 'Z' are at positions 65 through 90 Left_Square_Bracket : constant Wide_Wide_Character := '['; -- WC'Val (91) Reverse_Solidus : constant Wide_Wide_Character := '\'; -- WC'Val (92) Right_Square_Bracket : constant Wide_Wide_Character := ']'; -- WC'Val (93) Circumflex : constant Wide_Wide_Character := '^'; -- WC'Val (94) Low_Line : constant Wide_Wide_Character := '_'; -- WC'Val (95) Grave : constant Wide_Wide_Character := '`'; -- WC'Val (96) LC_A : constant Wide_Wide_Character := 'a'; -- WC'Val (97) LC_B : constant Wide_Wide_Character := 'b'; -- WC'Val (98) LC_C : constant Wide_Wide_Character := 'c'; -- WC'Val (99) LC_D : constant Wide_Wide_Character := 'd'; -- WC'Val (100) LC_E : constant Wide_Wide_Character := 'e'; -- WC'Val (101) LC_F : constant Wide_Wide_Character := 'f'; -- WC'Val (102) LC_G : constant Wide_Wide_Character := 'g'; -- WC'Val (103) LC_H : constant Wide_Wide_Character := 'h'; -- WC'Val (104) LC_I : constant Wide_Wide_Character := 'i'; -- WC'Val (105) LC_J : constant Wide_Wide_Character := 'j'; -- WC'Val (106) LC_K : constant Wide_Wide_Character := 'k'; -- WC'Val (107) LC_L : constant Wide_Wide_Character := 'l'; -- WC'Val (108) LC_M : constant Wide_Wide_Character := 'm'; -- WC'Val (109) LC_N : constant Wide_Wide_Character := 'n'; -- WC'Val (110) LC_O : constant Wide_Wide_Character := 'o'; -- WC'Val (111) LC_P : constant Wide_Wide_Character := 'p'; -- WC'Val (112) LC_Q : constant Wide_Wide_Character := 'q'; -- WC'Val (113) LC_R : constant Wide_Wide_Character := 'r'; -- WC'Val (114) LC_S : constant Wide_Wide_Character := 's'; -- WC'Val (115) LC_T : constant Wide_Wide_Character := 't'; -- WC'Val (116) LC_U : constant Wide_Wide_Character := 'u'; -- WC'Val (117) LC_V : constant Wide_Wide_Character := 'v'; -- WC'Val (118) LC_W : constant Wide_Wide_Character := 'w'; -- WC'Val (119) LC_X : constant Wide_Wide_Character := 'x'; -- WC'Val (120) LC_Y : constant Wide_Wide_Character := 'y'; -- WC'Val (121) LC_Z : constant Wide_Wide_Character := 'z'; -- WC'Val (122) Left_Curly_Bracket : constant Wide_Wide_Character := '{'; -- WC'Val (123) Vertical_Line : constant Wide_Wide_Character := '|'; -- WC'Val (124) Right_Curly_Bracket : constant Wide_Wide_Character := '}'; -- WC'Val (125) Tilde : constant Wide_Wide_Character := '~'; -- WC'Val (126) DEL : constant Wide_Wide_Character := Wide_Wide_Character'Val (127); -------------------------------------- -- ISO 6429 Control Wide_Wide_Characters -- -------------------------------------- IS4 : Wide_Wide_Character renames FS; IS3 : Wide_Wide_Character renames GS; IS2 : Wide_Wide_Character renames RS; IS1 : Wide_Wide_Character renames US; Reserved_128 : constant Wide_Wide_Character := Wide_Wide_Character'Val (128); Reserved_129 : constant Wide_Wide_Character := Wide_Wide_Character'Val (129); BPH : constant Wide_Wide_Character := Wide_Wide_Character'Val (130); NBH : constant Wide_Wide_Character := Wide_Wide_Character'Val (131); Reserved_132 : constant Wide_Wide_Character := Wide_Wide_Character'Val (132); NEL : constant Wide_Wide_Character := Wide_Wide_Character'Val (133); SSA : constant Wide_Wide_Character := Wide_Wide_Character'Val (134); ESA : constant Wide_Wide_Character := Wide_Wide_Character'Val (135); HTS : constant Wide_Wide_Character := Wide_Wide_Character'Val (136); HTJ : constant Wide_Wide_Character := Wide_Wide_Character'Val (137); VTS : constant Wide_Wide_Character := Wide_Wide_Character'Val (138); PLD : constant Wide_Wide_Character := Wide_Wide_Character'Val (139); PLU : constant Wide_Wide_Character := Wide_Wide_Character'Val (140); RI : constant Wide_Wide_Character := Wide_Wide_Character'Val (141); SS2 : constant Wide_Wide_Character := Wide_Wide_Character'Val (142); SS3 : constant Wide_Wide_Character := Wide_Wide_Character'Val (143); DCS : constant Wide_Wide_Character := Wide_Wide_Character'Val (144); PU1 : constant Wide_Wide_Character := Wide_Wide_Character'Val (145); PU2 : constant Wide_Wide_Character := Wide_Wide_Character'Val (146); STS : constant Wide_Wide_Character := Wide_Wide_Character'Val (147); CCH : constant Wide_Wide_Character := Wide_Wide_Character'Val (148); MW : constant Wide_Wide_Character := Wide_Wide_Character'Val (149); SPA : constant Wide_Wide_Character := Wide_Wide_Character'Val (150); EPA : constant Wide_Wide_Character := Wide_Wide_Character'Val (151); SOS : constant Wide_Wide_Character := Wide_Wide_Character'Val (152); Reserved_153 : constant Wide_Wide_Character := Wide_Wide_Character'Val (153); SCI : constant Wide_Wide_Character := Wide_Wide_Character'Val (154); CSI : constant Wide_Wide_Character := Wide_Wide_Character'Val (155); ST : constant Wide_Wide_Character := Wide_Wide_Character'Val (156); OSC : constant Wide_Wide_Character := Wide_Wide_Character'Val (157); PM : constant Wide_Wide_Character := Wide_Wide_Character'Val (158); APC : constant Wide_Wide_Character := Wide_Wide_Character'Val (159); ----------------------------------- -- Other Graphic Wide_Wide_Characters -- ----------------------------------- -- Wide_Wide_Character positions 160 (16#A0#) .. 175 (16#AF#) No_Break_Space : constant Wide_Wide_Character := Wide_Wide_Character'Val (160); NBSP : Wide_Wide_Character renames No_Break_Space; Inverted_Exclamation : constant Wide_Wide_Character := Wide_Wide_Character'Val (161); Cent_Sign : constant Wide_Wide_Character := Wide_Wide_Character'Val (162); Pound_Sign : constant Wide_Wide_Character := Wide_Wide_Character'Val (163); Euro_Sign : constant Wide_Wide_Character := Wide_Wide_Character'Val (164); Yen_Sign : constant Wide_Wide_Character := Wide_Wide_Character'Val (165); UC_S_Caron : constant Wide_Wide_Character := Wide_Wide_Character'Val (166); Section_Sign : constant Wide_Wide_Character := Wide_Wide_Character'Val (167); LC_S_Caron : constant Wide_Wide_Character := Wide_Wide_Character'Val (168); Copyright_Sign : constant Wide_Wide_Character := Wide_Wide_Character'Val (169); Feminine_Ordinal_Indicator : constant Wide_Wide_Character := Wide_Wide_Character'Val (170); Left_Angle_Quotation : constant Wide_Wide_Character := Wide_Wide_Character'Val (171); Not_Sign : constant Wide_Wide_Character := Wide_Wide_Character'Val (172); Soft_Hyphen : constant Wide_Wide_Character := Wide_Wide_Character'Val (173); Registered_Trade_Mark_Sign : constant Wide_Wide_Character := Wide_Wide_Character'Val (174); Macron : constant Wide_Wide_Character := Wide_Wide_Character'Val (175); -- Wide_Wide_Character positions 176 (16#B0#) .. 191 (16#BF#) Degree_Sign : constant Wide_Wide_Character := Wide_Wide_Character'Val (176); Ring_Above : Wide_Wide_Character renames Degree_Sign; Plus_Minus_Sign : constant Wide_Wide_Character := Wide_Wide_Character'Val (177); Superscript_Two : constant Wide_Wide_Character := Wide_Wide_Character'Val (178); Superscript_Three : constant Wide_Wide_Character := Wide_Wide_Character'Val (179); UC_Z_Caron : constant Wide_Wide_Character := Wide_Wide_Character'Val (180); Micro_Sign : constant Wide_Wide_Character := Wide_Wide_Character'Val (181); Pilcrow_Sign : constant Wide_Wide_Character := Wide_Wide_Character'Val (182); Paragraph_Sign : Wide_Wide_Character renames Pilcrow_Sign; Middle_Dot : constant Wide_Wide_Character := Wide_Wide_Character'Val (183); LC_Z_Caron : constant Wide_Wide_Character := Wide_Wide_Character'Val (184); Superscript_One : constant Wide_Wide_Character := Wide_Wide_Character'Val (185); Masculine_Ordinal_Indicator : constant Wide_Wide_Character := Wide_Wide_Character'Val (186); Right_Angle_Quotation : constant Wide_Wide_Character := Wide_Wide_Character'Val (187); UC_Ligature_OE : constant Wide_Wide_Character := Wide_Wide_Character'Val (188); LC_Ligature_OE : constant Wide_Wide_Character := Wide_Wide_Character'Val (189); UC_Y_Diaeresis : constant Wide_Wide_Character := Wide_Wide_Character'Val (190); Inverted_Question : constant Wide_Wide_Character := Wide_Wide_Character'Val (191); -- Wide_Wide_Character positions 192 (16#C0#) .. 207 (16#CF#) UC_A_Grave : constant Wide_Wide_Character := Wide_Wide_Character'Val (192); UC_A_Acute : constant Wide_Wide_Character := Wide_Wide_Character'Val (193); UC_A_Circumflex : constant Wide_Wide_Character := Wide_Wide_Character'Val (194); UC_A_Tilde : constant Wide_Wide_Character := Wide_Wide_Character'Val (195); UC_A_Diaeresis : constant Wide_Wide_Character := Wide_Wide_Character'Val (196); UC_A_Ring : constant Wide_Wide_Character := Wide_Wide_Character'Val (197); UC_AE_Diphthong : constant Wide_Wide_Character := Wide_Wide_Character'Val (198); UC_C_Cedilla : constant Wide_Wide_Character := Wide_Wide_Character'Val (199); UC_E_Grave : constant Wide_Wide_Character := Wide_Wide_Character'Val (200); UC_E_Acute : constant Wide_Wide_Character := Wide_Wide_Character'Val (201); UC_E_Circumflex : constant Wide_Wide_Character := Wide_Wide_Character'Val (202); UC_E_Diaeresis : constant Wide_Wide_Character := Wide_Wide_Character'Val (203); UC_I_Grave : constant Wide_Wide_Character := Wide_Wide_Character'Val (204); UC_I_Acute : constant Wide_Wide_Character := Wide_Wide_Character'Val (205); UC_I_Circumflex : constant Wide_Wide_Character := Wide_Wide_Character'Val (206); UC_I_Diaeresis : constant Wide_Wide_Character := Wide_Wide_Character'Val (207); -- Wide_Wide_Character positions 208 (16#D0#) .. 223 (16#DF#) UC_Icelandic_Eth : constant Wide_Wide_Character := Wide_Wide_Character'Val (208); UC_N_Tilde : constant Wide_Wide_Character := Wide_Wide_Character'Val (209); UC_O_Grave : constant Wide_Wide_Character := Wide_Wide_Character'Val (210); UC_O_Acute : constant Wide_Wide_Character := Wide_Wide_Character'Val (211); UC_O_Circumflex : constant Wide_Wide_Character := Wide_Wide_Character'Val (212); UC_O_Tilde : constant Wide_Wide_Character := Wide_Wide_Character'Val (213); UC_O_Diaeresis : constant Wide_Wide_Character := Wide_Wide_Character'Val (214); Multiplication_Sign : constant Wide_Wide_Character := Wide_Wide_Character'Val (215); UC_O_Oblique_Stroke : constant Wide_Wide_Character := Wide_Wide_Character'Val (216); UC_U_Grave : constant Wide_Wide_Character := Wide_Wide_Character'Val (217); UC_U_Acute : constant Wide_Wide_Character := Wide_Wide_Character'Val (218); UC_U_Circumflex : constant Wide_Wide_Character := Wide_Wide_Character'Val (219); UC_U_Diaeresis : constant Wide_Wide_Character := Wide_Wide_Character'Val (220); UC_Y_Acute : constant Wide_Wide_Character := Wide_Wide_Character'Val (221); UC_Icelandic_Thorn : constant Wide_Wide_Character := Wide_Wide_Character'Val (222); LC_German_Sharp_S : constant Wide_Wide_Character := Wide_Wide_Character'Val (223); -- Wide_Wide_Character positions 224 (16#E0#) .. 239 (16#EF#) LC_A_Grave : constant Wide_Wide_Character := Wide_Wide_Character'Val (224); LC_A_Acute : constant Wide_Wide_Character := Wide_Wide_Character'Val (225); LC_A_Circumflex : constant Wide_Wide_Character := Wide_Wide_Character'Val (226); LC_A_Tilde : constant Wide_Wide_Character := Wide_Wide_Character'Val (227); LC_A_Diaeresis : constant Wide_Wide_Character := Wide_Wide_Character'Val (228); LC_A_Ring : constant Wide_Wide_Character := Wide_Wide_Character'Val (229); LC_AE_Diphthong : constant Wide_Wide_Character := Wide_Wide_Character'Val (230); LC_C_Cedilla : constant Wide_Wide_Character := Wide_Wide_Character'Val (231); LC_E_Grave : constant Wide_Wide_Character := Wide_Wide_Character'Val (232); LC_E_Acute : constant Wide_Wide_Character := Wide_Wide_Character'Val (233); LC_E_Circumflex : constant Wide_Wide_Character := Wide_Wide_Character'Val (234); LC_E_Diaeresis : constant Wide_Wide_Character := Wide_Wide_Character'Val (235); LC_I_Grave : constant Wide_Wide_Character := Wide_Wide_Character'Val (236); LC_I_Acute : constant Wide_Wide_Character := Wide_Wide_Character'Val (237); LC_I_Circumflex : constant Wide_Wide_Character := Wide_Wide_Character'Val (238); LC_I_Diaeresis : constant Wide_Wide_Character := Wide_Wide_Character'Val (239); -- Wide_Wide_Character positions 240 (16#F0#) .. 255 (16#FF) LC_Icelandic_Eth : constant Wide_Wide_Character := Wide_Wide_Character'Val (240); LC_N_Tilde : constant Wide_Wide_Character := Wide_Wide_Character'Val (241); LC_O_Grave : constant Wide_Wide_Character := Wide_Wide_Character'Val (242); LC_O_Acute : constant Wide_Wide_Character := Wide_Wide_Character'Val (243); LC_O_Circumflex : constant Wide_Wide_Character := Wide_Wide_Character'Val (244); LC_O_Tilde : constant Wide_Wide_Character := Wide_Wide_Character'Val (245); LC_O_Diaeresis : constant Wide_Wide_Character := Wide_Wide_Character'Val (246); Division_Sign : constant Wide_Wide_Character := Wide_Wide_Character'Val (247); LC_O_Oblique_Stroke : constant Wide_Wide_Character := Wide_Wide_Character'Val (248); LC_U_Grave : constant Wide_Wide_Character := Wide_Wide_Character'Val (249); LC_U_Acute : constant Wide_Wide_Character := Wide_Wide_Character'Val (250); LC_U_Circumflex : constant Wide_Wide_Character := Wide_Wide_Character'Val (251); LC_U_Diaeresis : constant Wide_Wide_Character := Wide_Wide_Character'Val (252); LC_Y_Acute : constant Wide_Wide_Character := Wide_Wide_Character'Val (253); LC_Icelandic_Thorn : constant Wide_Wide_Character := Wide_Wide_Character'Val (254); LC_Y_Diaeresis : constant Wide_Wide_Character := Wide_Wide_Character'Val (255); ------------------------------------------------ -- Summary of Changes from Latin-1 => Latin-9 -- ------------------------------------------------ -- 164 Currency => Euro_Sign -- 166 Broken_Bar => UC_S_Caron -- 168 Diaeresis => LC_S_Caron -- 180 Acute => UC_Z_Caron -- 184 Cedilla => LC_Z_Caron -- 188 Fraction_One_Quarter => UC_Ligature_OE -- 189 Fraction_One_Half => LC_Ligature_OE -- 190 Fraction_Three_Quarters => UC_Y_Diaeresis end Ada.Characters.Wide_Wide_Latin_9;
57.88491
79
0.636062
dfe6a2c621ddf3f567cbba267e0f435de4b40024
723
ads
Ada
source/a-rezstr.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
33
2015-04-04T09:19:36.000Z
2021-11-10T05:33:34.000Z
source/a-rezstr.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
8
2017-11-14T13:05:07.000Z
2018-08-09T15:28:49.000Z
source/a-rezstr.ads
ytomino/drake
4e4bdcd8b8e23a11a29b31d3a8861fdf60090ea2
[ "MIT" ]
9
2015-02-03T17:09:53.000Z
2021-11-12T01:16:05.000Z
pragma License (Unrestricted); -- extended unit package Ada.References.Wide_Wide_Strings is -- Returning access values to sliced Wide_Wide_String from functions. pragma Pure; type Constant_Reference_Type ( Element : not null access constant Wide_Wide_String) is null record with Implicit_Dereference => Element; pragma Suppress_Initialization (Constant_Reference_Type); type Reference_Type ( Element : not null access Wide_Wide_String) is null record with Implicit_Dereference => Element; pragma Suppress_Initialization (Reference_Type); package Slicing is new Generic_Slicing (Positive, Wide_Wide_Character, Wide_Wide_String); end Ada.References.Wide_Wide_Strings;
34.428571
76
0.77455
4defe2b77c7c772d75508631672d1c9287a003cb
245
ads
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt12_pkg.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt12_pkg.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt12_pkg.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
package Opt12_Pkg is type Static_Integer_Subtype is range -32_000 .. 32_000; function Equal (L, R: Static_Integer_Subtype) return Boolean; type My_Fixed is delta 0.1 range -5.0 .. 5.0; Fix_Half : My_Fixed := 0.5; end Opt12_Pkg;
20.416667
64
0.706122
1222df3da830de9b023cf4c6d27dd7346ffa380a
2,626
adb
Ada
demo/src/Hello.adb
98devin/ada-gba-dev
6ebca014b7537117144d878db8d13db49aa00cee
[ "Zlib" ]
7
2021-04-08T02:32:54.000Z
2022-02-14T01:21:43.000Z
demo/src/Hello.adb
98devin/ada-gba-dev
6ebca014b7537117144d878db8d13db49aa00cee
[ "Zlib" ]
15
2021-04-09T20:13:33.000Z
2021-12-22T01:03:59.000Z
demo/src/Hello.adb
98devin/ada-gba-dev
6ebca014b7537117144d878db8d13db49aa00cee
[ "Zlib" ]
1
2021-06-12T07:48:05.000Z
2021-06-12T07:48:05.000Z
-- Copyright (c) 2021 Devin Hill -- zlib License -- see LICENSE for details. with GBA.Refs; with GBA.BIOS; with GBA.BIOS.Arm; with GBA.BIOS.Memset; with GBA.Display; with GBA.Display.Tiles; with GBA.Display.Backgrounds; with GBA.Display.Backgrounds.Refs; with GBA.Display.Objects; with GBA.Display.Palettes; with GBA.Display.Windows; with GBA.Allocation; use GBA.Allocation; with GBA.Memory; with GBA.Memory.Default_Heaps; with GBA.Numerics; with GBA.Numerics.Vectors; with GBA.Numerics.Matrices; with GBA.Interrupts; with GBA.Input; with GBA.Input.Buffered; with Interfaces; use Interfaces; with System.Machine_Code; use System.Machine_Code; procedure Hello is use GBA.BIOS; use GBA.BIOS.Arm; use GBA.Display; use GBA.Display.Palettes; use GBA.Display.Backgrounds; use GBA.Numerics; use GBA.Input; use GBA.Input.Buffered; use all type GBA.Refs.BG_Ref; VRAM : array (1 .. 160, 1 .. 240) of Color with Import, Volatile, Address => 16#6000000#; Color_Palette : Palette_16_Ptr := BG_Palette_16x16 (0)'Access; Color_BG : aliased Color with Volatile; procedure Adjust_Color (Y : Positive) is Index : Color_Index_16 := Color_Index_16 ((Y - 1) mod 160 / 32); begin Color_BG := Color_Palette (Index + 1); end; Y_Offset : Natural := 0; Origin : BG_Reference_Point := (X => 0.0, Y => 0.0); Theta : Radians_16 := 0.0; Delta_X, Delta_Y : Fixed_Snorm_16; begin Color_Palette (0 .. 5) := ( ( 0, 0, 0) , (19, 26, 21) , (31, 25, 21) , (31, 16, 15) , (29, 9, 11) , (00, 26, 26) ); -- GBA.Interrupts.Enable_Receiving_Interrupts; GBA.Interrupts.Enable_Interrupt (GBA.Interrupts.VBlank); Request_VBlank_Interrupt; Wait_For_VBlank; Set_Display_Mode (Mode_3); Enable_Display_Element (Background_2); loop Update_Key_State; for Y in VRAM'Range (1) loop for X in 1 .. 4 loop Adjust_Color (Y + Y_Offset * X); -- VRAM (Y, 1 + (X - 1) * 60 .. 1 + X * 60) := (others => Color_BG); Cpu_Set ( Source => Color_BG'Address , Dest => VRAM (Y, 1 + (X-1) * 60)'Address , Unit_Count => 60 , Unit_Size => Half_Word , Mode => Fill); end loop; end loop; if Are_Any_Down (A_Button or B_Button) then Y_Offset := @ + 5; else Y_Offset := @ + 1; end if; Sin_Cos_LUT (Theta, Delta_X, Delta_Y); Origin.X := 32.0 * Fixed_20_8 (Delta_X); Origin.Y := 32.0 * Fixed_20_8 (Delta_Y); Theta := @ + (1.0 / 128.0); Wait_For_VBlank; Set_Reference_Point (BG_2, Origin); end loop; end;
20.356589
76
0.633663
069902a109867a8407ea094246d77f6b869d3d8a
21,742
ads
Ada
arch/ARM/STM32/svd/stm32f7x9/stm32_svd-usart.ads
shakram02/Ada_Drivers_Library
a407ca7ddbc2d9756647016c2f8fd8ef24a239ff
[ "BSD-3-Clause" ]
192
2016-06-01T18:32:04.000Z
2022-03-26T22:52:31.000Z
arch/ARM/STM32/svd/stm32f7x9/stm32_svd-usart.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
239
2016-05-26T20:02:01.000Z
2022-03-31T09:46:56.000Z
arch/ARM/STM32/svd/stm32f7x9/stm32_svd-usart.ads
morbos/Ada_Drivers_Library
a4ab26799be60997c38735f4056160c4af597ef7
[ "BSD-3-Clause" ]
142
2016-06-05T08:12:20.000Z
2022-03-24T17:37:17.000Z
-- This spec has been automatically generated from STM32F7x9.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.USART is pragma Preelaborate; --------------- -- Registers -- --------------- -- CR1_DEDT array type CR1_DEDT_Field_Array is array (0 .. 4) of Boolean with Component_Size => 1, Size => 5; -- Type definition for CR1_DEDT type CR1_DEDT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- DEDT as a value Val : HAL.UInt5; when True => -- DEDT as an array Arr : CR1_DEDT_Field_Array; end case; end record with Unchecked_Union, Size => 5; for CR1_DEDT_Field use record Val at 0 range 0 .. 4; Arr at 0 range 0 .. 4; end record; -- CR1_DEAT array type CR1_DEAT_Field_Array is array (0 .. 4) of Boolean with Component_Size => 1, Size => 5; -- Type definition for CR1_DEAT type CR1_DEAT_Field (As_Array : Boolean := False) is record case As_Array is when False => -- DEAT as a value Val : HAL.UInt5; when True => -- DEAT as an array Arr : CR1_DEAT_Field_Array; end case; end record with Unchecked_Union, Size => 5; for CR1_DEAT_Field use record Val at 0 range 0 .. 4; Arr at 0 range 0 .. 4; end record; -- Control register 1 type CR1_Register is record -- USART enable UE : Boolean := False; -- USART enable in Stop mode UESM : Boolean := False; -- Receiver enable RE : Boolean := False; -- Transmitter enable TE : Boolean := False; -- IDLE interrupt enable IDLEIE : Boolean := False; -- RXNE interrupt enable RXNEIE : Boolean := False; -- Transmission complete interrupt enable TCIE : Boolean := False; -- interrupt enable TXEIE : Boolean := False; -- PE interrupt enable PEIE : Boolean := False; -- Parity selection PS : Boolean := False; -- Parity control enable PCE : Boolean := False; -- Receiver wakeup method WAKE : Boolean := False; -- Word length M0 : Boolean := False; -- Mute mode enable MME : Boolean := False; -- Character match interrupt enable CMIE : Boolean := False; -- Oversampling mode OVER8 : Boolean := False; -- DEDT0 DEDT : CR1_DEDT_Field := (As_Array => False, Val => 16#0#); -- DEAT0 DEAT : CR1_DEAT_Field := (As_Array => False, Val => 16#0#); -- Receiver timeout interrupt enable RTOIE : Boolean := False; -- End of Block interrupt enable EOBIE : Boolean := False; -- Word length M1 : Boolean := False; -- unspecified Reserved_29_31 : HAL.UInt3 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CR1_Register use record UE at 0 range 0 .. 0; UESM at 0 range 1 .. 1; RE at 0 range 2 .. 2; TE at 0 range 3 .. 3; IDLEIE at 0 range 4 .. 4; RXNEIE at 0 range 5 .. 5; TCIE at 0 range 6 .. 6; TXEIE at 0 range 7 .. 7; PEIE at 0 range 8 .. 8; PS at 0 range 9 .. 9; PCE at 0 range 10 .. 10; WAKE at 0 range 11 .. 11; M0 at 0 range 12 .. 12; MME at 0 range 13 .. 13; CMIE at 0 range 14 .. 14; OVER8 at 0 range 15 .. 15; DEDT at 0 range 16 .. 20; DEAT at 0 range 21 .. 25; RTOIE at 0 range 26 .. 26; EOBIE at 0 range 27 .. 27; M1 at 0 range 28 .. 28; Reserved_29_31 at 0 range 29 .. 31; end record; subtype CR2_STOP_Field is HAL.UInt2; -- CR2_ABRMOD array type CR2_ABRMOD_Field_Array is array (0 .. 1) of Boolean with Component_Size => 1, Size => 2; -- Type definition for CR2_ABRMOD type CR2_ABRMOD_Field (As_Array : Boolean := False) is record case As_Array is when False => -- ABRMOD as a value Val : HAL.UInt2; when True => -- ABRMOD as an array Arr : CR2_ABRMOD_Field_Array; end case; end record with Unchecked_Union, Size => 2; for CR2_ABRMOD_Field use record Val at 0 range 0 .. 1; Arr at 0 range 0 .. 1; end record; subtype CR2_ADD0_3_Field is HAL.UInt4; subtype CR2_ADD4_7_Field is HAL.UInt4; -- Control register 2 type CR2_Register is record -- unspecified Reserved_0_3 : HAL.UInt4 := 16#0#; -- 7-bit Address Detection/4-bit Address Detection ADDM7 : Boolean := False; -- LIN break detection length LBDL : Boolean := False; -- LIN break detection interrupt enable LBDIE : Boolean := False; -- unspecified Reserved_7_7 : HAL.Bit := 16#0#; -- Last bit clock pulse LBCL : Boolean := False; -- Clock phase CPHA : Boolean := False; -- Clock polarity CPOL : Boolean := False; -- Clock enable CLKEN : Boolean := False; -- STOP bits STOP : CR2_STOP_Field := 16#0#; -- LIN mode enable LINEN : Boolean := False; -- Swap TX/RX pins SWAP : Boolean := False; -- RX pin active level inversion RXINV : Boolean := False; -- TX pin active level inversion TXINV : Boolean := False; -- Binary data inversion TAINV : Boolean := False; -- Most significant bit first MSBFIRST : Boolean := False; -- Auto baud rate enable ABREN : Boolean := False; -- ABRMOD0 ABRMOD : CR2_ABRMOD_Field := (As_Array => False, Val => 16#0#); -- Receiver timeout enable RTOEN : Boolean := False; -- Address of the USART node ADD0_3 : CR2_ADD0_3_Field := 16#0#; -- Address of the USART node ADD4_7 : CR2_ADD4_7_Field := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CR2_Register use record Reserved_0_3 at 0 range 0 .. 3; ADDM7 at 0 range 4 .. 4; LBDL at 0 range 5 .. 5; LBDIE at 0 range 6 .. 6; Reserved_7_7 at 0 range 7 .. 7; LBCL at 0 range 8 .. 8; CPHA at 0 range 9 .. 9; CPOL at 0 range 10 .. 10; CLKEN at 0 range 11 .. 11; STOP at 0 range 12 .. 13; LINEN at 0 range 14 .. 14; SWAP at 0 range 15 .. 15; RXINV at 0 range 16 .. 16; TXINV at 0 range 17 .. 17; TAINV at 0 range 18 .. 18; MSBFIRST at 0 range 19 .. 19; ABREN at 0 range 20 .. 20; ABRMOD at 0 range 21 .. 22; RTOEN at 0 range 23 .. 23; ADD0_3 at 0 range 24 .. 27; ADD4_7 at 0 range 28 .. 31; end record; subtype CR3_SCARCNT_Field is HAL.UInt3; subtype CR3_WUS_Field is HAL.UInt2; -- Control register 3 type CR3_Register is record -- Error interrupt enable EIE : Boolean := False; -- Ir mode enable IREN : Boolean := False; -- Ir low-power IRLP : Boolean := False; -- Half-duplex selection HDSEL : Boolean := False; -- Smartcard NACK enable NACK : Boolean := False; -- Smartcard mode enable SCEN : Boolean := False; -- DMA enable receiver DMAR : Boolean := False; -- DMA enable transmitter DMAT : Boolean := False; -- RTS enable RTSE : Boolean := False; -- CTS enable CTSE : Boolean := False; -- CTS interrupt enable CTSIE : Boolean := False; -- One sample bit method enable ONEBIT : Boolean := False; -- Overrun Disable OVRDIS : Boolean := False; -- DMA Disable on Reception Error DDRE : Boolean := False; -- Driver enable mode DEM : Boolean := False; -- Driver enable polarity selection DEP : Boolean := False; -- unspecified Reserved_16_16 : HAL.Bit := 16#0#; -- Smartcard auto-retry count SCARCNT : CR3_SCARCNT_Field := 16#0#; -- Wakeup from Stop mode interrupt flag selection WUS : CR3_WUS_Field := 16#0#; -- Wakeup from Stop mode interrupt enable WUFIE : Boolean := False; -- unspecified Reserved_23_31 : HAL.UInt9 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for CR3_Register use record EIE at 0 range 0 .. 0; IREN at 0 range 1 .. 1; IRLP at 0 range 2 .. 2; HDSEL at 0 range 3 .. 3; NACK at 0 range 4 .. 4; SCEN at 0 range 5 .. 5; DMAR at 0 range 6 .. 6; DMAT at 0 range 7 .. 7; RTSE at 0 range 8 .. 8; CTSE at 0 range 9 .. 9; CTSIE at 0 range 10 .. 10; ONEBIT at 0 range 11 .. 11; OVRDIS at 0 range 12 .. 12; DDRE at 0 range 13 .. 13; DEM at 0 range 14 .. 14; DEP at 0 range 15 .. 15; Reserved_16_16 at 0 range 16 .. 16; SCARCNT at 0 range 17 .. 19; WUS at 0 range 20 .. 21; WUFIE at 0 range 22 .. 22; Reserved_23_31 at 0 range 23 .. 31; end record; subtype BRR_DIV_Fraction_Field is HAL.UInt4; subtype BRR_DIV_Mantissa_Field is HAL.UInt12; -- Baud rate register type BRR_Register is record -- DIV_Fraction DIV_Fraction : BRR_DIV_Fraction_Field := 16#0#; -- DIV_Mantissa DIV_Mantissa : BRR_DIV_Mantissa_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for BRR_Register use record DIV_Fraction at 0 range 0 .. 3; DIV_Mantissa at 0 range 4 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype GTPR_PSC_Field is HAL.UInt8; subtype GTPR_GT_Field is HAL.UInt8; -- Guard time and prescaler register type GTPR_Register is record -- Prescaler value PSC : GTPR_PSC_Field := 16#0#; -- Guard time value GT : GTPR_GT_Field := 16#0#; -- unspecified Reserved_16_31 : HAL.UInt16 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for GTPR_Register use record PSC at 0 range 0 .. 7; GT at 0 range 8 .. 15; Reserved_16_31 at 0 range 16 .. 31; end record; subtype RTOR_RTO_Field is HAL.UInt24; subtype RTOR_BLEN_Field is HAL.UInt8; -- Receiver timeout register type RTOR_Register is record -- Receiver timeout value RTO : RTOR_RTO_Field := 16#0#; -- Block Length BLEN : RTOR_BLEN_Field := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RTOR_Register use record RTO at 0 range 0 .. 23; BLEN at 0 range 24 .. 31; end record; -- Request register type RQR_Register is record -- Write-only. Auto baud rate request ABRRQ : Boolean := False; -- Write-only. Send break request SBKRQ : Boolean := False; -- Write-only. Mute mode request MMRQ : Boolean := False; -- Write-only. Receive data flush request RXFRQ : Boolean := False; -- Write-only. Transmit data flush request TXFRQ : Boolean := False; -- unspecified Reserved_5_31 : HAL.UInt27 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RQR_Register use record ABRRQ at 0 range 0 .. 0; SBKRQ at 0 range 1 .. 1; MMRQ at 0 range 2 .. 2; RXFRQ at 0 range 3 .. 3; TXFRQ at 0 range 4 .. 4; Reserved_5_31 at 0 range 5 .. 31; end record; -- Interrupt & status register type ISR_Register is record -- Read-only. PE PE : Boolean; -- Read-only. FE FE : Boolean; -- Read-only. NF NF : Boolean; -- Read-only. ORE ORE : Boolean; -- Read-only. IDLE IDLE : Boolean; -- Read-only. RXNE RXNE : Boolean; -- Read-only. TC TC : Boolean; -- Read-only. TXE TXE : Boolean; -- Read-only. LBDF LBDF : Boolean; -- Read-only. CTSIF CTSIF : Boolean; -- Read-only. CTS CTS : Boolean; -- Read-only. RTOF RTOF : Boolean; -- Read-only. EOBF EOBF : Boolean; -- unspecified Reserved_13_13 : HAL.Bit; -- Read-only. ABRE ABRE : Boolean; -- Read-only. ABRF ABRF : Boolean; -- Read-only. BUSY BUSY : Boolean; -- Read-only. CMF CMF : Boolean; -- Read-only. SBKF SBKF : Boolean; -- Read-only. RWU RWU : Boolean; -- Read-only. WUF WUF : Boolean; -- Read-only. TEACK TEACK : Boolean; -- Read-only. REACK REACK : Boolean; -- unspecified Reserved_23_31 : HAL.UInt9; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for ISR_Register use record PE at 0 range 0 .. 0; FE at 0 range 1 .. 1; NF at 0 range 2 .. 2; ORE at 0 range 3 .. 3; IDLE at 0 range 4 .. 4; RXNE at 0 range 5 .. 5; TC at 0 range 6 .. 6; TXE at 0 range 7 .. 7; LBDF at 0 range 8 .. 8; CTSIF at 0 range 9 .. 9; CTS at 0 range 10 .. 10; RTOF at 0 range 11 .. 11; EOBF at 0 range 12 .. 12; Reserved_13_13 at 0 range 13 .. 13; ABRE at 0 range 14 .. 14; ABRF at 0 range 15 .. 15; BUSY at 0 range 16 .. 16; CMF at 0 range 17 .. 17; SBKF at 0 range 18 .. 18; RWU at 0 range 19 .. 19; WUF at 0 range 20 .. 20; TEACK at 0 range 21 .. 21; REACK at 0 range 22 .. 22; Reserved_23_31 at 0 range 23 .. 31; end record; -- Interrupt flag clear register type ICR_Register is record -- Write-only. Parity error clear flag PECF : Boolean := False; -- Write-only. Framing error clear flag FECF : Boolean := False; -- Write-only. Noise detected clear flag NCF : Boolean := False; -- Write-only. Overrun error clear flag ORECF : Boolean := False; -- Write-only. Idle line detected clear flag IDLECF : Boolean := False; -- unspecified Reserved_5_5 : HAL.Bit := 16#0#; -- Write-only. Transmission complete clear flag TCCF : Boolean := False; -- unspecified Reserved_7_7 : HAL.Bit := 16#0#; -- Write-only. LIN break detection clear flag LBDCF : Boolean := False; -- Write-only. CTS clear flag CTSCF : Boolean := False; -- unspecified Reserved_10_10 : HAL.Bit := 16#0#; -- Write-only. Receiver timeout clear flag RTOCF : Boolean := False; -- Write-only. End of block clear flag EOBCF : Boolean := False; -- unspecified Reserved_13_16 : HAL.UInt4 := 16#0#; -- Write-only. Character match clear flag CMCF : Boolean := False; -- unspecified Reserved_18_19 : HAL.UInt2 := 16#0#; -- Write-only. Wakeup from Stop mode clear flag WUCF : Boolean := False; -- unspecified Reserved_21_31 : HAL.UInt11 := 16#0#; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for ICR_Register use record PECF at 0 range 0 .. 0; FECF at 0 range 1 .. 1; NCF at 0 range 2 .. 2; ORECF at 0 range 3 .. 3; IDLECF at 0 range 4 .. 4; Reserved_5_5 at 0 range 5 .. 5; TCCF at 0 range 6 .. 6; Reserved_7_7 at 0 range 7 .. 7; LBDCF at 0 range 8 .. 8; CTSCF at 0 range 9 .. 9; Reserved_10_10 at 0 range 10 .. 10; RTOCF at 0 range 11 .. 11; EOBCF at 0 range 12 .. 12; Reserved_13_16 at 0 range 13 .. 16; CMCF at 0 range 17 .. 17; Reserved_18_19 at 0 range 18 .. 19; WUCF at 0 range 20 .. 20; Reserved_21_31 at 0 range 21 .. 31; end record; subtype RDR_RDR_Field is HAL.UInt9; -- Receive data register type RDR_Register is record -- Read-only. Receive data value RDR : RDR_RDR_Field; -- unspecified Reserved_9_31 : HAL.UInt23; end record with Volatile_Full_Access, Size => 32, Bit_Order => System.Low_Order_First; for RDR_Register use record RDR at 0 range 0 .. 8; Reserved_9_31 at 0 range 9 .. 31; end record; subtype TDR_TDR_Field is HAL.UInt9; -- Transmit data register type TDR_Register is record -- Transmit data value TDR : TDR_TDR_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 TDR_Register use record TDR at 0 range 0 .. 8; Reserved_9_31 at 0 range 9 .. 31; end record; ----------------- -- Peripherals -- ----------------- -- Universal synchronous asynchronous receiver transmitter type USART_Peripheral is record -- Control register 1 CR1 : aliased CR1_Register; -- Control register 2 CR2 : aliased CR2_Register; -- Control register 3 CR3 : aliased CR3_Register; -- Baud rate register BRR : aliased BRR_Register; -- Guard time and prescaler register GTPR : aliased GTPR_Register; -- Receiver timeout register RTOR : aliased RTOR_Register; -- Request register RQR : aliased RQR_Register; -- Interrupt & status register ISR : aliased ISR_Register; -- Interrupt flag clear register ICR : aliased ICR_Register; -- Receive data register RDR : aliased RDR_Register; -- Transmit data register TDR : aliased TDR_Register; end record with Volatile; for USART_Peripheral use record CR1 at 16#0# range 0 .. 31; CR2 at 16#4# range 0 .. 31; CR3 at 16#8# range 0 .. 31; BRR at 16#C# range 0 .. 31; GTPR at 16#10# range 0 .. 31; RTOR at 16#14# range 0 .. 31; RQR at 16#18# range 0 .. 31; ISR at 16#1C# range 0 .. 31; ICR at 16#20# range 0 .. 31; RDR at 16#24# range 0 .. 31; TDR at 16#28# range 0 .. 31; end record; -- Universal synchronous asynchronous receiver transmitter UART4_Periph : aliased USART_Peripheral with Import, Address => System'To_Address (16#40004C00#); -- Universal synchronous asynchronous receiver transmitter UART5_Periph : aliased USART_Peripheral with Import, Address => System'To_Address (16#40005000#); -- Universal synchronous asynchronous receiver transmitter UART7_Periph : aliased USART_Peripheral with Import, Address => System'To_Address (16#40007800#); -- Universal synchronous asynchronous receiver transmitter UART8_Periph : aliased USART_Peripheral with Import, Address => System'To_Address (16#40007C00#); -- Universal synchronous asynchronous receiver transmitter USART1_Periph : aliased USART_Peripheral with Import, Address => System'To_Address (16#40011000#); -- Universal synchronous asynchronous receiver transmitter USART2_Periph : aliased USART_Peripheral with Import, Address => System'To_Address (16#40004400#); -- Universal synchronous asynchronous receiver transmitter USART3_Periph : aliased USART_Peripheral with Import, Address => System'To_Address (16#40004800#); -- Universal synchronous asynchronous receiver transmitter USART6_Periph : aliased USART_Peripheral with Import, Address => System'To_Address (16#40011400#); end STM32_SVD.USART;
32.992413
75
0.53169
50363d73e786f395242861190eded313be01c06e
1,270
ads
Ada
tests/ships-crew-test_data-tests.ads
thindil/steamsky
d5d7fea622f7994c91017c4cd7ba5e188153556c
[ "TCL", "MIT" ]
80
2017-04-08T23:14:07.000Z
2022-02-10T22:30:51.000Z
tests/ships-crew-test_data-tests.ads
thindil/steamsky
d5d7fea622f7994c91017c4cd7ba5e188153556c
[ "TCL", "MIT" ]
89
2017-06-24T08:18:26.000Z
2021-11-12T04:37:36.000Z
tests/ships-crew-test_data-tests.ads
thindil/steamsky
d5d7fea622f7994c91017c4cd7ba5e188153556c
[ "TCL", "MIT" ]
9
2018-04-14T16:37:25.000Z
2020-03-21T14:33:49.000Z
-- This package has been generated automatically by GNATtest. -- Do not edit any part of it, see GNATtest documentation for more details. -- begin read only with Gnattest_Generated; package Ships.Crew.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.Ships.Crew.Test_Data .Test with null record; procedure Test_GetSkillLevel_f7e690_420873(Gnattest_T: in out Test); -- ships-crew.ads:34:4:GetSkillLevel:Test_GetSkillLevel procedure Test_Death_af2fea_acf44b(Gnattest_T: in out Test); -- ships-crew.ads:53:4:Death:Test_Death procedure Test_DeleteMember_9fa01a_2b7835(Gnattest_T: in out Test); -- ships-crew.ads:71:4:DeleteMember:Test_DeleteMember procedure Test_FindMember_b270de_fa15b4(Gnattest_T: in out Test); -- ships-crew.ads:87:4:FindMember:Test_FindMember procedure Test_GiveOrders_fd3de0_56eedb(Gnattest_T: in out Test); -- ships-crew.ads:108:4:GiveOrders:Test_GiveOrders procedure Test_UpdateOrders_388ab3_cad1b0(Gnattest_T: in out Test); -- ships-crew.ads:128:4:UpdateOrders:Test_UpdateOrders procedure Test_UpdateMorale_5618e2_5147b1(Gnattest_T: in out Test); -- ships-crew.ads:143:4:UpdateMorale:Test_UpdateMorale end Ships.Crew.Test_Data.Tests; -- end read only
35.277778
77
0.779528
a1a5e846e3301baadd6d4ae9783ed0c3a3146915
201
ads
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/static_initializer4.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/static_initializer4.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/static_initializer4.ads
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- { dg-do compile } package Static_Initializer4 is type R is tagged record b : Boolean; end record; type NR is new R with null record; C : NR := (b => True); end Static_Initializer4;
14.357143
36
0.651741
319b03fef1a0776301be2a03da9dceb6ae1680d3
1,092
ads
Ada
mat/src/readline/readline.ads
stcarrez/mat
fb242feb5662b8130680cd06e50da7ef40b95bd7
[ "Apache-2.0" ]
7
2015-01-18T23:04:30.000Z
2021-04-06T14:07:56.000Z
mat/src/readline/readline.ads
stcarrez/mat
fb242feb5662b8130680cd06e50da7ef40b95bd7
[ "Apache-2.0" ]
2
2017-04-07T09:30:14.000Z
2019-05-23T17:45:35.000Z
tools/readline/readline.ads
stcarrez/bbox-ada-api
53292f82b11806a5415e202da4a023a726b8fe55
[ "Apache-2.0" ]
null
null
null
----------------------------------------------------------------------- -- readline -- A simple readline binding -- Copyright (C) 2014 Stephane Carrez -- Written by Stephane Carrez ([email protected]) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Interfaces; package Readline is -- Print the prompt and a read a line from the terminal. -- Raise the Ada.IO_Exceptions.End_Error when the EOF is reached. function Get_Line (Prompt : in String) return String; end Readline;
42
76
0.638278
504fb877a645515851180a04030a3fdbe1fae9ff
228
adb
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto17.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto17.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto17.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- { dg-do compile } -- { dg-options "-flto" { target lto } } package body Lto17 is function To_Chunk_List(C : Chunk) return Chunk_List is begin return new Chunk_List_Element'(C.Size, C, null); end; end Lto17;
19
57
0.653509
1d7f4cd06771a4392dd6718b75be6cdf08e17b19
2,560
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c97304b.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c97304b.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c97304b.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- C97304B.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making -- this public release, the Government intends to confer upon all -- recipients unlimited rights equal to those held by the Government. -- These rights include rights to use, duplicate, release or disclose the -- released technical data and computer software in whole or in part, in -- any manner and for any purpose whatsoever, and to have or permit others -- to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. --* -- CHECK THAT TASKING_ERROR IS RAISED IF THE CALLED TASK IS ABORTED -- BEFORE THE TIMED ENTRY CALL IS EXECUTED. -- WRG 7/13/86 with Impdef; WITH REPORT; USE REPORT; PROCEDURE C97304B IS BEGIN TEST ("C97304B", "CHECK THAT TASKING_ERROR IS RAISED IF THE " & "CALLED TASK IS ABORTED BEFORE THE TIMED " & "ENTRY CALL IS EXECUTED"); DECLARE TASK T IS ENTRY E (I : INTEGER); END T; TASK BODY T IS BEGIN ACCEPT E (I : INTEGER); FAILED ("ENTRY CALL ACCEPTED"); EXCEPTION WHEN OTHERS => FAILED ("EXCEPTION RAISED"); END T; FUNCTION F RETURN INTEGER IS BEGIN ABORT T; RETURN 1; END F; BEGIN SELECT T.E (F); FAILED ("TIMED ENTRY CALL MADE"); OR DELAY 1.0 * Impdef.One_Second; FAILED ("DELAY ALTERNATIVE TAKEN"); END SELECT; FAILED ("EXCEPTION NOT RAISED"); EXCEPTION WHEN TASKING_ERROR => NULL; WHEN OTHERS => FAILED ("WRONG EXCEPTION RAISED"); END; RESULT; END C97304B;
30.117647
79
0.578906
598b72a941e5e2ad99c5cc9822f7d55d119baa17
5,884
adb
Ada
gcc-gcc-7_3_0-release/gcc/ada/a-wtdeio.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/ada/a-wtdeio.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/ada/a-wtdeio.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . W I D E _ T E X T _ I O . D E C I M A L _ I O -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2009, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Ada.Wide_Text_IO.Decimal_Aux; with System.WCh_Con; use System.WCh_Con; with System.WCh_WtS; use System.WCh_WtS; package body Ada.Wide_Text_IO.Decimal_IO is subtype TFT is Ada.Wide_Text_IO.File_Type; -- File type required for calls to routines in Aux package Aux renames Ada.Wide_Text_IO.Decimal_Aux; Scale : constant Integer := Num'Scale; --------- -- Get -- --------- procedure Get (File : File_Type; Item : out Num; Width : Field := 0) is begin if Num'Size > Integer'Size then Item := Num'Fixed_Value (Aux.Get_LLD (TFT (File), Width, Scale)); else Item := Num'Fixed_Value (Aux.Get_Dec (TFT (File), Width, Scale)); end if; exception when Constraint_Error => raise Data_Error; end Get; procedure Get (Item : out Num; Width : Field := 0) is begin Get (Current_Input, Item, Width); end Get; procedure Get (From : Wide_String; Item : out Num; Last : out Positive) is S : constant String := Wide_String_To_String (From, WCEM_Upper); -- String on which we do the actual conversion. Note that the method -- used for wide character encoding is irrelevant, since if there is -- a character outside the Standard.Character range then the call to -- Aux.Gets will raise Data_Error in any case. begin if Num'Size > Integer'Size then -- Item := Num'Fixed_Value -- should write above, but gets assert error ??? Item := Num (Aux.Gets_LLD (S, Last'Unrestricted_Access, Scale)); else -- Item := Num'Fixed_Value -- should write above, but gets assert error ??? Item := Num (Aux.Gets_Dec (S, Last'Unrestricted_Access, Scale)); end if; exception when Constraint_Error => raise Data_Error; end Get; --------- -- Put -- --------- procedure Put (File : File_Type; Item : Num; Fore : Field := Default_Fore; Aft : Field := Default_Aft; Exp : Field := Default_Exp) is begin if Num'Size > Integer'Size then Aux.Put_LLD -- (TFT (File), Long_Long_Integer'Integer_Value (Item), -- ??? (TFT (File), Long_Long_Integer (Item), Fore, Aft, Exp, Scale); else Aux.Put_Dec -- (TFT (File), Integer'Integer_Value (Item), Fore, Aft, Exp, Scale); -- ??? (TFT (File), Integer (Item), Fore, Aft, Exp, Scale); end if; end Put; procedure Put (Item : Num; Fore : Field := Default_Fore; Aft : Field := Default_Aft; Exp : Field := Default_Exp) is begin Put (Current_Output, Item, Fore, Aft, Exp); end Put; procedure Put (To : out Wide_String; Item : Num; Aft : Field := Default_Aft; Exp : Field := Default_Exp) is S : String (To'First .. To'Last); begin if Num'Size > Integer'Size then -- Aux.Puts_LLD -- (S, Long_Long_Integer'Integer_Value (Item), Aft, Exp, Scale); -- ??? Aux.Puts_LLD (S, Long_Long_Integer (Item), Aft, Exp, Scale); else -- Aux.Puts_Dec (S, Integer'Integer_Value (Item), Aft, Exp, Scale); -- ??? Aux.Puts_Dec (S, Integer (Item), Aft, Exp, Scale); end if; for J in S'Range loop To (J) := Wide_Character'Val (Character'Pos (S (J))); end loop; end Put; end Ada.Wide_Text_IO.Decimal_IO;
35.660606
79
0.491842
1d05e9256d8cef2a638c471b83b993a2b45d8f3c
5,561
adb
Ada
src/gl/implementation/gl-objects-renderbuffers.adb
Roldak/OpenGLAda
6807605b7321249d71286fa25231bdfd537d3eac
[ "MIT" ]
79
2015-04-20T23:10:02.000Z
2022-03-04T13:50:56.000Z
src/gl/implementation/gl-objects-renderbuffers.adb
Roldak/OpenGLAda
6807605b7321249d71286fa25231bdfd537d3eac
[ "MIT" ]
126
2015-09-10T10:41:34.000Z
2022-03-20T11:25:40.000Z
src/gl/implementation/gl-objects-renderbuffers.adb
Roldak/OpenGLAda
6807605b7321249d71286fa25231bdfd537d3eac
[ "MIT" ]
20
2015-03-17T07:15:57.000Z
2022-02-02T17:12:11.000Z
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with Ada.Containers.Indefinite_Hashed_Maps; with Ada.Unchecked_Conversion; with GL.API; with GL.Enums.Getter; package body GL.Objects.Renderbuffers is function Hash (Key : Low_Level.Enums.Renderbuffer_Kind) return Ada.Containers.Hash_Type is function Value is new Ada.Unchecked_Conversion (Source => Low_Level.Enums.Renderbuffer_Kind, Target => Low_Level.Enum); begin return Ada.Containers.Hash_Type (Value (Key)); end Hash; package Renderbuffer_Maps is new Ada.Containers.Indefinite_Hashed_Maps (Key_Type => Low_Level.Enums.Renderbuffer_Kind, Element_Type => Renderbuffer'Class, Hash => Hash, Equivalent_Keys => Low_Level.Enums."="); use type Renderbuffer_Maps.Cursor; Current_Renderbuffers : Renderbuffer_Maps.Map; procedure Allocate (Object : Renderbuffer_Target; Format : Pixels.Internal_Format; Width, Height : Size; Samples : Size := 0) is begin if Samples = 0 then API.Renderbuffer_Storage (Object.Kind, Format, Width, Height); Raise_Exception_On_OpenGL_Error; else API.Renderbuffer_Storage_Multisample (Object.Kind, Samples, Format, Width, Height); end if; end Allocate; function Width (Object : Renderbuffer_Target) return Size is Value : Int := 0; begin API.Get_Renderbuffer_Parameter_Int (Object.Kind, Enums.Getter.Width, Value); return Value; end Width; function Height (Object : Renderbuffer_Target) return Size is Value : Int := 0; begin API.Get_Renderbuffer_Parameter_Int (Object.Kind, Enums.Getter.Height, Value); return Value; end Height; function Internal_Format (Object : Renderbuffer_Target) return Pixels.Internal_Format is Value : Pixels.Internal_Format := Pixels.Internal_Format'First; begin API.Get_Renderbuffer_Parameter_Internal_Format (Object.Kind, Enums.Getter.Internal_Format, Value); return Value; end Internal_Format; function Red_Size (Object : Renderbuffer_Target) return Size is Value : Int := 0; begin API.Get_Renderbuffer_Parameter_Int (Object.Kind, Enums.Getter.Green_Size, Value); return Value; end Red_Size; function Green_Size (Object : Renderbuffer_Target) return Size is Value : Int := 0; begin API.Get_Renderbuffer_Parameter_Int (Object.Kind, Enums.Getter.Green_Size, Value); return Value; end Green_Size; function Blue_Size (Object : Renderbuffer_Target) return Size is Value : Int := 0; begin API.Get_Renderbuffer_Parameter_Int (Object.Kind, Enums.Getter.Blue_Size, Value); return Value; end Blue_Size; function Alpha_Size (Object : Renderbuffer_Target) return Size is Value : Int := 0; begin API.Get_Renderbuffer_Parameter_Int (Object.Kind, Enums.Getter.Alpha_Size, Value); return Value; end Alpha_Size; function Depth_Size (Object : Renderbuffer_Target) return Size is Value : Int := 0; begin API.Get_Renderbuffer_Parameter_Int (Object.Kind, Enums.Getter.Depth_Size, Value); return Value; end Depth_Size; function Stencil_Size (Object : Renderbuffer_Target) return Size is Value : Int := 0; begin API.Get_Renderbuffer_Parameter_Int (Object.Kind, Enums.Getter.Stencil_Size, Value); return Value; end Stencil_Size; function Raw_Kind (Object : Renderbuffer_Target) return Low_Level.Enums.Renderbuffer_Kind is begin return Object.Kind; end Raw_Kind; procedure Bind (Target : Renderbuffer_Target; Object : Renderbuffer'Class) is Cursor : constant Renderbuffer_Maps.Cursor := Current_Renderbuffers.Find (Target.Kind); begin if Cursor = Renderbuffer_Maps.No_Element or else Renderbuffer_Maps.Element (Cursor).Reference.GL_Id /= Object.Reference.GL_Id then API.Bind_Renderbuffer (Target.Kind, Object.Reference.GL_Id); Raise_Exception_On_OpenGL_Error; if Cursor = Renderbuffer_Maps.No_Element then Current_Renderbuffers.Insert (Target.Kind, Object); else Current_Renderbuffers.Replace_Element (Cursor, Object); end if; end if; end Bind; function Current (Target : Renderbuffer_Target) return Renderbuffer'Class is Cursor : constant Renderbuffer_Maps.Cursor := Current_Renderbuffers.Find (Target.Kind); begin if Cursor = Renderbuffer_Maps.No_Element then raise No_Object_Bound_Exception with Target.Kind'Img; else return Renderbuffer_Maps.Element (Cursor); end if; end Current; overriding procedure Internal_Create_Id (Object : Renderbuffer; Id : out UInt) is pragma Unreferenced (Object); begin API.Gen_Renderbuffers (1, Id); Raise_Exception_On_OpenGL_Error; end Internal_Create_Id; overriding procedure Internal_Release_Id (Object : Renderbuffer; Id : UInt) is pragma Unreferenced (Object); begin API.Delete_Renderbuffers (1, (1 => Id)); Raise_Exception_On_OpenGL_Error; end Internal_Release_Id; end GL.Objects.Renderbuffers;
33.299401
80
0.668944
a1f51affbf42376c0e505df61eb2f8808f4ba333
18,049
ads
Ada
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-comutr.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-comutr.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-comutr.ads
djamal2727/Main-Bearing-Analytical-Model
2f00c2219c71be0175c6f4f8f1d4cca231d97096
[ "Apache-2.0" ]
null
null
null
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- A D A . C O N T A I N E R S . M U L T I W A Y _ T R E E S -- -- -- -- S p e c -- -- -- -- Copyright (C) 2004-2020, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- -- apply solely to the contents of the part following the private keyword. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- This unit was originally developed by Matthew J Heaney. -- ------------------------------------------------------------------------------ with Ada.Iterator_Interfaces; with Ada.Containers.Helpers; private with Ada.Finalization; private with Ada.Streams; private with Ada.Strings.Text_Output; generic type Element_Type is private; with function "=" (Left, Right : Element_Type) return Boolean is <>; package Ada.Containers.Multiway_Trees with SPARK_Mode => Off is pragma Annotate (CodePeer, Skip_Analysis); pragma Preelaborate; pragma Remote_Types; type Tree is tagged private with Constant_Indexing => Constant_Reference, Variable_Indexing => Reference, Default_Iterator => Iterate, Iterator_Element => Element_Type; pragma Preelaborable_Initialization (Tree); type Cursor is private; pragma Preelaborable_Initialization (Cursor); Empty_Tree : constant Tree; No_Element : constant Cursor; function Has_Element (Position : Cursor) return Boolean; package Tree_Iterator_Interfaces is new Ada.Iterator_Interfaces (Cursor, Has_Element); function Equal_Subtree (Left_Position : Cursor; Right_Position : Cursor) return Boolean; function "=" (Left, Right : Tree) return Boolean; function Is_Empty (Container : Tree) return Boolean; function Node_Count (Container : Tree) return Count_Type; function Subtree_Node_Count (Position : Cursor) return Count_Type; function Depth (Position : Cursor) return Count_Type; function Is_Root (Position : Cursor) return Boolean; function Is_Leaf (Position : Cursor) return Boolean; function Root (Container : Tree) return Cursor; procedure Clear (Container : in out Tree); function Element (Position : Cursor) return Element_Type; procedure Replace_Element (Container : in out Tree; Position : Cursor; New_Item : Element_Type); procedure Query_Element (Position : Cursor; Process : not null access procedure (Element : Element_Type)); procedure Update_Element (Container : in out Tree; Position : Cursor; Process : not null access procedure (Element : in out Element_Type)); type Constant_Reference_Type (Element : not null access constant Element_Type) is private with Implicit_Dereference => Element; type Reference_Type (Element : not null access Element_Type) is private with Implicit_Dereference => Element; function Constant_Reference (Container : aliased Tree; Position : Cursor) return Constant_Reference_Type; pragma Inline (Constant_Reference); function Reference (Container : aliased in out Tree; Position : Cursor) return Reference_Type; pragma Inline (Reference); procedure Assign (Target : in out Tree; Source : Tree); function Copy (Source : Tree) return Tree; procedure Move (Target : in out Tree; Source : in out Tree); procedure Delete_Leaf (Container : in out Tree; Position : in out Cursor); procedure Delete_Subtree (Container : in out Tree; Position : in out Cursor); procedure Swap (Container : in out Tree; I, J : Cursor); function Find (Container : Tree; Item : Element_Type) return Cursor; -- This version of the AI: -- 10-06-02 AI05-0136-1/07 -- declares Find_In_Subtree this way: -- -- function Find_In_Subtree -- (Container : Tree; -- Item : Element_Type; -- Position : Cursor) return Cursor; -- -- It seems that the Container parameter is there by mistake, but we need -- an official ruling from the ARG. ??? function Find_In_Subtree (Position : Cursor; Item : Element_Type) return Cursor; -- This version of the AI: -- 10-06-02 AI05-0136-1/07 -- declares Ancestor_Find this way: -- -- function Ancestor_Find -- (Container : Tree; -- Item : Element_Type; -- Position : Cursor) return Cursor; -- -- It seems that the Container parameter is there by mistake, but we need -- an official ruling from the ARG. ??? function Ancestor_Find (Position : Cursor; Item : Element_Type) return Cursor; function Contains (Container : Tree; Item : Element_Type) return Boolean; procedure Iterate (Container : Tree; Process : not null access procedure (Position : Cursor)); procedure Iterate_Subtree (Position : Cursor; Process : not null access procedure (Position : Cursor)); function Iterate (Container : Tree) return Tree_Iterator_Interfaces.Forward_Iterator'Class; function Iterate_Subtree (Position : Cursor) return Tree_Iterator_Interfaces.Forward_Iterator'Class; function Iterate_Children (Container : Tree; Parent : Cursor) return Tree_Iterator_Interfaces.Reversible_Iterator'Class; function Child_Count (Parent : Cursor) return Count_Type; function Child_Depth (Parent, Child : Cursor) return Count_Type; procedure Insert_Child (Container : in out Tree; Parent : Cursor; Before : Cursor; New_Item : Element_Type; Count : Count_Type := 1); procedure Insert_Child (Container : in out Tree; Parent : Cursor; Before : Cursor; New_Item : Element_Type; Position : out Cursor; Count : Count_Type := 1); procedure Insert_Child (Container : in out Tree; Parent : Cursor; Before : Cursor; Position : out Cursor; Count : Count_Type := 1); procedure Prepend_Child (Container : in out Tree; Parent : Cursor; New_Item : Element_Type; Count : Count_Type := 1); procedure Append_Child (Container : in out Tree; Parent : Cursor; New_Item : Element_Type; Count : Count_Type := 1); procedure Delete_Children (Container : in out Tree; Parent : Cursor); procedure Copy_Subtree (Target : in out Tree; Parent : Cursor; Before : Cursor; Source : Cursor); procedure Splice_Subtree (Target : in out Tree; Parent : Cursor; Before : Cursor; Source : in out Tree; Position : in out Cursor); procedure Splice_Subtree (Container : in out Tree; Parent : Cursor; Before : Cursor; Position : Cursor); procedure Splice_Children (Target : in out Tree; Target_Parent : Cursor; Before : Cursor; Source : in out Tree; Source_Parent : Cursor); procedure Splice_Children (Container : in out Tree; Target_Parent : Cursor; Before : Cursor; Source_Parent : Cursor); function Parent (Position : Cursor) return Cursor; function First_Child (Parent : Cursor) return Cursor; function First_Child_Element (Parent : Cursor) return Element_Type; function Last_Child (Parent : Cursor) return Cursor; function Last_Child_Element (Parent : Cursor) return Element_Type; function Next_Sibling (Position : Cursor) return Cursor; function Previous_Sibling (Position : Cursor) return Cursor; procedure Next_Sibling (Position : in out Cursor); procedure Previous_Sibling (Position : in out Cursor); -- This version of the AI: -- 10-06-02 AI05-0136-1/07 -- declares Iterate_Children this way: -- -- procedure Iterate_Children -- (Container : Tree; -- Parent : Cursor; -- Process : not null access procedure (Position : Cursor)); -- -- It seems that the Container parameter is there by mistake, but we need -- an official ruling from the ARG. ??? procedure Iterate_Children (Parent : Cursor; Process : not null access procedure (Position : Cursor)); procedure Reverse_Iterate_Children (Parent : Cursor; Process : not null access procedure (Position : Cursor)); private -- A node of this multiway tree comprises an element and a list of children -- (that are themselves trees). The root node is distinguished because it -- contains only children: it does not have an element itself. -- This design feature puts two design goals in tension with one another: -- (1) treat the root node the same as any other node -- (2) not declare any objects of type Element_Type unnecessarily -- To satisfy (1), we could simply declare the Root node of the tree -- using the normal Tree_Node_Type, but that would mean that (2) is not -- satisfied. To resolve the tension (in favor of (2)), we declare the -- component Root as having a different node type, without an Element -- component (thus satisfying goal (2)) but otherwise identical to a normal -- node, and then use Unchecked_Conversion to convert an access object -- designating the Root node component to the access type designating a -- normal, non-root node (thus satisfying goal (1)). We make an explicit -- check for Root when there is any attempt to manipulate the Element -- component of the node (a check required by the RM anyway). -- In order to be explicit about node (and pointer) representation, we -- specify that the respective node types have convention C, to ensure -- that the layout of the components of the node records is the same, -- thus guaranteeing that (unchecked) conversions between access types -- designating each kind of node type is a meaningful conversion. use Ada.Containers.Helpers; package Implementation is new Generic_Implementation; use Implementation; type Tree_Node_Type; type Tree_Node_Access is access all Tree_Node_Type; pragma Convention (C, Tree_Node_Access); pragma No_Strict_Aliasing (Tree_Node_Access); -- The above-mentioned Unchecked_Conversion is a violation of the normal -- aliasing rules. type Children_Type is record First : Tree_Node_Access; Last : Tree_Node_Access; end record; -- See the comment above. This declaration must exactly match the -- declaration of Root_Node_Type (except for the Element component). type Tree_Node_Type is record Parent : Tree_Node_Access; Prev : Tree_Node_Access; Next : Tree_Node_Access; Children : Children_Type; Element : aliased Element_Type; end record; pragma Convention (C, Tree_Node_Type); -- See the comment above. This declaration must match the declaration of -- Tree_Node_Type (except for the Element component). type Root_Node_Type is record Parent : Tree_Node_Access; Prev : Tree_Node_Access; Next : Tree_Node_Access; Children : Children_Type; end record; pragma Convention (C, Root_Node_Type); for Root_Node_Type'Alignment use Standard'Maximum_Alignment; -- The alignment has to be large enough to allow Root_Node to Tree_Node -- access value conversions, and Tree_Node_Type's alignment may be bumped -- up by the Element component. use Ada.Finalization; -- The Count component of type Tree represents the number of nodes that -- have been (dynamically) allocated. It does not include the root node -- itself. As implementors, we decide to cache this value, so that the -- selector function Node_Count can execute in O(1) time, in order to be -- consistent with the behavior of the Length selector function for other -- standard container library units. This does mean, however, that the -- two-container forms for Splice_XXX (that move subtrees across tree -- containers) will execute in O(n) time, because we must count the number -- of nodes in the subtree(s) that get moved. (We resolve the tension -- between Node_Count and Splice_XXX in favor of Node_Count, under the -- assumption that Node_Count is the more common operation). type Tree is new Controlled with record Root : aliased Root_Node_Type; TC : aliased Tamper_Counts; Count : Count_Type := 0; end record with Put_Image => Put_Image; procedure Put_Image (S : in out Ada.Strings.Text_Output.Sink'Class; V : Tree); overriding procedure Adjust (Container : in out Tree); overriding procedure Finalize (Container : in out Tree) renames Clear; use Ada.Streams; procedure Write (Stream : not null access Root_Stream_Type'Class; Container : Tree); for Tree'Write use Write; procedure Read (Stream : not null access Root_Stream_Type'Class; Container : out Tree); for Tree'Read use Read; type Tree_Access is access all Tree; for Tree_Access'Storage_Size use 0; type Cursor is record Container : Tree_Access; Node : Tree_Node_Access; end record; procedure Write (Stream : not null access Root_Stream_Type'Class; Position : Cursor); for Cursor'Write use Write; procedure Read (Stream : not null access Root_Stream_Type'Class; Position : out Cursor); for Cursor'Read use Read; subtype Reference_Control_Type is Implementation.Reference_Control_Type; -- It is necessary to rename this here, so that the compiler can find it type Constant_Reference_Type (Element : not null access constant Element_Type) is record Control : Reference_Control_Type := raise Program_Error with "uninitialized reference"; -- The RM says, "The default initialization of an object of -- type Constant_Reference_Type or Reference_Type propagates -- Program_Error." end record; procedure Read (Stream : not null access Root_Stream_Type'Class; Item : out Constant_Reference_Type); for Constant_Reference_Type'Read use Read; procedure Write (Stream : not null access Root_Stream_Type'Class; Item : Constant_Reference_Type); for Constant_Reference_Type'Write use Write; type Reference_Type (Element : not null access Element_Type) is record Control : Reference_Control_Type := raise Program_Error with "uninitialized reference"; -- The RM says, "The default initialization of an object of -- type Constant_Reference_Type or Reference_Type propagates -- Program_Error." end record; procedure Read (Stream : not null access Root_Stream_Type'Class; Item : out Reference_Type); for Reference_Type'Read use Read; procedure Write (Stream : not null access Root_Stream_Type'Class; Item : Reference_Type); for Reference_Type'Write use Write; -- Three operations are used to optimize in the expansion of "for ... of" -- loops: the Next(Cursor) procedure in the visible part, and the following -- Pseudo_Reference and Get_Element_Access functions. See Exp_Ch5 for -- details. function Pseudo_Reference (Container : aliased Tree'Class) return Reference_Control_Type; pragma Inline (Pseudo_Reference); -- Creates an object of type Reference_Control_Type pointing to the -- container, and increments the Lock. Finalization of this object will -- decrement the Lock. type Element_Access is access all Element_Type with Storage_Size => 0; function Get_Element_Access (Position : Cursor) return not null Element_Access; -- Returns a pointer to the element designated by Position. Empty_Tree : constant Tree := (Controlled with others => <>); No_Element : constant Cursor := (others => <>); end Ada.Containers.Multiway_Trees;
34.843629
79
0.641864
1271d8b375cd8e99c7ee1cbaac4c5202aaa1f437
10,013
ads
Ada
source/nodes/program-nodes-function_renaming_declarations.ads
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
null
null
null
source/nodes/program-nodes-function_renaming_declarations.ads
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
null
null
null
source/nodes/program-nodes-function_renaming_declarations.ads
reznikmm/gela
20134f1d154fb763812e73860c6f4b04f353df79
[ "MIT" ]
1
2019-10-16T09:05:27.000Z
2019-10-16T09:05:27.000Z
-- SPDX-FileCopyrightText: 2019 Max Reznik <[email protected]> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Defining_Names; with Program.Elements.Parameter_Specifications; with Program.Elements.Expressions; with Program.Elements.Aspect_Specifications; with Program.Elements.Function_Renaming_Declarations; with Program.Element_Visitors; package Program.Nodes.Function_Renaming_Declarations is pragma Preelaborate; type Function_Renaming_Declaration is new Program.Nodes.Node and Program.Elements.Function_Renaming_Declarations .Function_Renaming_Declaration and Program.Elements.Function_Renaming_Declarations .Function_Renaming_Declaration_Text with private; function Create (Not_Token : Program.Lexical_Elements.Lexical_Element_Access; Overriding_Token : Program.Lexical_Elements.Lexical_Element_Access; Function_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Name : not null Program.Elements.Defining_Names .Defining_Name_Access; Left_Bracket_Token : Program.Lexical_Elements.Lexical_Element_Access; Parameters : Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access; Right_Bracket_Token : Program.Lexical_Elements.Lexical_Element_Access; Return_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Not_Token_2 : Program.Lexical_Elements.Lexical_Element_Access; Null_Token : Program.Lexical_Elements.Lexical_Element_Access; Result_Subtype : not null Program.Elements.Element_Access; Renames_Token : Program.Lexical_Elements.Lexical_Element_Access; Renamed_Function : Program.Elements.Expressions.Expression_Access; With_Token : Program.Lexical_Elements.Lexical_Element_Access; Aspects : Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; Semicolon_Token : not null Program.Lexical_Elements .Lexical_Element_Access) return Function_Renaming_Declaration; type Implicit_Function_Renaming_Declaration is new Program.Nodes.Node and Program.Elements.Function_Renaming_Declarations .Function_Renaming_Declaration with private; function Create (Name : not null Program.Elements.Defining_Names .Defining_Name_Access; Parameters : Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access; Result_Subtype : not null Program.Elements.Element_Access; Renamed_Function : Program.Elements.Expressions.Expression_Access; Aspects : Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; Is_Part_Of_Implicit : Boolean := False; Is_Part_Of_Inherited : Boolean := False; Is_Part_Of_Instance : Boolean := False; Has_Not : Boolean := False; Has_Overriding : Boolean := False; Has_Not_Null : Boolean := False) return Implicit_Function_Renaming_Declaration with Pre => Is_Part_Of_Implicit or Is_Part_Of_Inherited or Is_Part_Of_Instance; private type Base_Function_Renaming_Declaration is abstract new Program.Nodes.Node and Program.Elements.Function_Renaming_Declarations .Function_Renaming_Declaration with record Name : not null Program.Elements.Defining_Names .Defining_Name_Access; Parameters : Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access; Result_Subtype : not null Program.Elements.Element_Access; Renamed_Function : Program.Elements.Expressions.Expression_Access; Aspects : Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; end record; procedure Initialize (Self : in out Base_Function_Renaming_Declaration'Class); overriding procedure Visit (Self : not null access Base_Function_Renaming_Declaration; Visitor : in out Program.Element_Visitors.Element_Visitor'Class); overriding function Name (Self : Base_Function_Renaming_Declaration) return not null Program.Elements.Defining_Names.Defining_Name_Access; overriding function Parameters (Self : Base_Function_Renaming_Declaration) return Program.Elements.Parameter_Specifications .Parameter_Specification_Vector_Access; overriding function Result_Subtype (Self : Base_Function_Renaming_Declaration) return not null Program.Elements.Element_Access; overriding function Renamed_Function (Self : Base_Function_Renaming_Declaration) return Program.Elements.Expressions.Expression_Access; overriding function Aspects (Self : Base_Function_Renaming_Declaration) return Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access; overriding function Is_Function_Renaming_Declaration (Self : Base_Function_Renaming_Declaration) return Boolean; overriding function Is_Declaration (Self : Base_Function_Renaming_Declaration) return Boolean; type Function_Renaming_Declaration is new Base_Function_Renaming_Declaration and Program.Elements.Function_Renaming_Declarations .Function_Renaming_Declaration_Text with record Not_Token : Program.Lexical_Elements.Lexical_Element_Access; Overriding_Token : Program.Lexical_Elements.Lexical_Element_Access; Function_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Left_Bracket_Token : Program.Lexical_Elements.Lexical_Element_Access; Right_Bracket_Token : Program.Lexical_Elements.Lexical_Element_Access; Return_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Not_Token_2 : Program.Lexical_Elements.Lexical_Element_Access; Null_Token : Program.Lexical_Elements.Lexical_Element_Access; Renames_Token : Program.Lexical_Elements.Lexical_Element_Access; With_Token : Program.Lexical_Elements.Lexical_Element_Access; Semicolon_Token : not null Program.Lexical_Elements .Lexical_Element_Access; end record; overriding function To_Function_Renaming_Declaration_Text (Self : in out Function_Renaming_Declaration) return Program.Elements.Function_Renaming_Declarations .Function_Renaming_Declaration_Text_Access; overriding function Not_Token (Self : Function_Renaming_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Overriding_Token (Self : Function_Renaming_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Function_Token (Self : Function_Renaming_Declaration) return not null Program.Lexical_Elements.Lexical_Element_Access; overriding function Left_Bracket_Token (Self : Function_Renaming_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Right_Bracket_Token (Self : Function_Renaming_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Return_Token (Self : Function_Renaming_Declaration) return not null Program.Lexical_Elements.Lexical_Element_Access; overriding function Not_Token_2 (Self : Function_Renaming_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Null_Token (Self : Function_Renaming_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Renames_Token (Self : Function_Renaming_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function With_Token (Self : Function_Renaming_Declaration) return Program.Lexical_Elements.Lexical_Element_Access; overriding function Semicolon_Token (Self : Function_Renaming_Declaration) return not null Program.Lexical_Elements.Lexical_Element_Access; overriding function Has_Not (Self : Function_Renaming_Declaration) return Boolean; overriding function Has_Overriding (Self : Function_Renaming_Declaration) return Boolean; overriding function Has_Not_Null (Self : Function_Renaming_Declaration) return Boolean; type Implicit_Function_Renaming_Declaration is new Base_Function_Renaming_Declaration with record Is_Part_Of_Implicit : Boolean; Is_Part_Of_Inherited : Boolean; Is_Part_Of_Instance : Boolean; Has_Not : Boolean; Has_Overriding : Boolean; Has_Not_Null : Boolean; end record; overriding function To_Function_Renaming_Declaration_Text (Self : in out Implicit_Function_Renaming_Declaration) return Program.Elements.Function_Renaming_Declarations .Function_Renaming_Declaration_Text_Access; overriding function Is_Part_Of_Implicit (Self : Implicit_Function_Renaming_Declaration) return Boolean; overriding function Is_Part_Of_Inherited (Self : Implicit_Function_Renaming_Declaration) return Boolean; overriding function Is_Part_Of_Instance (Self : Implicit_Function_Renaming_Declaration) return Boolean; overriding function Has_Not (Self : Implicit_Function_Renaming_Declaration) return Boolean; overriding function Has_Overriding (Self : Implicit_Function_Renaming_Declaration) return Boolean; overriding function Has_Not_Null (Self : Implicit_Function_Renaming_Declaration) return Boolean; end Program.Nodes.Function_Renaming_Declarations;
39.734127
78
0.748527
12139c555c4d6c33a1327d1c21fdf050275520a8
418
adb
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt30.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt30.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt30.adb
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- { dg-do run } -- { dg-options "-O" } procedure Opt30 is function Id_I (I : Integer) return Integer is begin return I; end; A : array (Integer range -4..4) of Integer; begin A := (-ID_I(4), -ID_I(3), -ID_I(2), -ID_I(1), ID_I(100), ID_I(1), ID_I(2), ID_I(3), ID_I(4)); A(-4..0) := A(0..4); if A /= (100, 1, 2, 3, 4, 1, 2, 3, 4) then raise Program_Error; end if; end;
19.904762
59
0.514354
31d78859dc73471b810289bf6bc9ce2d307617f9
1,695
ads
Ada
memsim-master/src/memory-spm.ads
strenkml/EE368
00f15bce9e65badddc613355643b1061fd4a8195
[ "MIT" ]
null
null
null
memsim-master/src/memory-spm.ads
strenkml/EE368
00f15bce9e65badddc613355643b1061fd4a8195
[ "MIT" ]
null
null
null
memsim-master/src/memory-spm.ads
strenkml/EE368
00f15bce9e65badddc613355643b1061fd4a8195
[ "MIT" ]
null
null
null
with Memory.Container; use Memory.Container; package Memory.SPM is type SPM_Type is new Container_Type with private; type SPM_Pointer is access all SPM_Type'Class; function Create_SPM(mem : access Memory_Type'Class; size : Natural; latency : Time_Type := 1) return SPM_Pointer; function Random_SPM(next : access Memory_Type'Class; generator : Distribution_Type; max_cost : Cost_Type) return Memory_Pointer; overriding function Clone(mem : SPM_Type) return Memory_Pointer; overriding procedure Permute(mem : in out SPM_Type; generator : in Distribution_Type; max_cost : in Cost_Type); overriding procedure Read(mem : in out SPM_Type; address : in Address_Type; size : in Positive); overriding procedure Write(mem : in out SPM_Type; address : in Address_Type; size : in Positive); overriding function Get_Path_Length(mem : SPM_Type) return Natural; overriding function To_String(mem : SPM_Type) return Unbounded_String; overriding function Get_Cost(mem : SPM_Type) return Cost_Type; overriding procedure Generate(mem : in SPM_Type; sigs : in out Unbounded_String; code : in out Unbounded_String); function Get_Size(mem : SPM_Type) return Natural; private type SPM_Type is new Container_Type with record size : Natural; latency : Time_Type; end record; end Memory.SPM;
27.786885
70
0.60059
31295356b9239ad796db22ad23a15eaa6599b87e
5,749
ada
Ada
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c32107c.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c32107c.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c32107c.ada
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
-- C32107C.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. --* -- FOR OBJECTS OF A GENERIC FORMAL TYPE WHOSE ACTUAL PARAMETER IS A -- TYPE WITH DEFAULT VALUES, CHECK THAT OBJECT DECLARATIONS ARE -- ELABORATED IN THE ORDER OF THEIR OCCURRENCE, I.E., THAT EXPRESSIONS -- ASSOCIATED WITH ONE DECLARATION (INCLUDING DEFAULT EXPRESSIONS) ARE -- EVALUATED BEFORE ANY EXPRESSION BELONGING TO THE NEXT DECLARATION. -- R.WILLIAMS 9/24/86 WITH REPORT; USE REPORT; PROCEDURE C32107C IS BUMP : INTEGER := 0; G1, H1 : INTEGER; FUNCTION F RETURN INTEGER IS BEGIN BUMP := BUMP + 1; RETURN BUMP; END F; FUNCTION G RETURN INTEGER IS BEGIN BUMP := BUMP + 1; G1 := BUMP; RETURN BUMP; END G; FUNCTION H RETURN INTEGER IS BEGIN BUMP := BUMP + 1; H1 := BUMP; RETURN BUMP; END H; BEGIN TEST ( "C32107C", "FOR OBJECTS OF A GENERIC FORMAL TYPE WHOSE " & "ACTUAL PARAMETER IS A TYPE WITH DEFAULT " & "VALUES, CHECK THAT OBJECT DECLARATIONS ARE " & "ELABORATED IN THE ORDER OF THEIR " & "OCCURRENCE, I.E., THAT EXPRESSIONS " & "ASSOCIATED WITH ONE DECLARATION (INCLUDING " & "DEFAULT EXPRESSIONS) ARE EVALUATED BEFORE " & "ANY EXPRESSION BELONGING TO THE NEXT " & "DECLARATION" ); DECLARE -- (A). TYPE REC (D : INTEGER := F) IS RECORD A : INTEGER := F; END RECORD; FUNCTION GET_A (R : REC) RETURN INTEGER IS BEGIN RETURN R.A; END GET_A; GENERIC TYPE T IS (<>); TYPE PRIV (D : T) IS PRIVATE; WITH FUNCTION GET_A (P : PRIV) RETURN INTEGER IS <>; PROCEDURE P; PROCEDURE P IS P1 : PRIV (T'VAL (F)); P2 : PRIV (T'VAL (F * 100)); ORDER_CHECK : INTEGER; BEGIN ORDER_CHECK := T'POS (P1.D) + T'POS (P2.D) + (GET_A (P1) * 10) + (GET_A (P2) * 1000); IF ORDER_CHECK /= 4321 THEN FAILED ( "OBJECTS NOT ELABORATED IN PROPER " & "ORDER VALUE OF ORDER_CHECK SHOULD BE " & "4321 -- ACTUAL VALUE IS " & INTEGER'IMAGE (ORDER_CHECK) & " - (A)" ); END IF; END P; PROCEDURE PROC IS NEW P (INTEGER, REC); BEGIN PROC; END; -- (A). BUMP := 0; DECLARE -- (B). TYPE REC (D1 : INTEGER := F; D2 : INTEGER := F) IS RECORD A : INTEGER := F; END RECORD; FUNCTION GET_A (R : REC) RETURN INTEGER IS BEGIN RETURN R.A; END GET_A; GENERIC TYPE T IS (<>); TYPE PRIV (D1 : T; D2 : T) IS PRIVATE; WITH FUNCTION GET_A (P : PRIV) RETURN INTEGER IS <>; PROCEDURE P; PROCEDURE P IS P1 : PRIV (T'VAL (F * 1000), T'VAL (F * 10000)); P2 : PRIV (T'VAL (F), T'VAL (F * 10)); ORDER_CHECK : INTEGER; BEGIN ORDER_CHECK := T'POS (P1.D1) + T'POS (P1.D2) + T'POS (P2.D1) + T'POS (P2.D2) + (GET_A (P1) * 100); IF (GET_A (P2) = 6) AND (ORDER_CHECK = 12345 OR ORDER_CHECK = 21345 OR ORDER_CHECK = 21354 OR ORDER_CHECK = 12354) THEN COMMENT ( "ORDER_CHECK HAS VALUE " & INTEGER'IMAGE (ORDER_CHECK) & " - (B)" ); ELSE FAILED ( "OBJECTS NOT ELABORATED IN PROPER " & "ORDER VALUE OF ORDER_CHECK SHOULD BE " & "6 12345, 6 21345, 6 21354, OR " & "6 12354 -- ACTUAL VALUE IS " & INTEGER'IMAGE (GET_A (P2)) & INTEGER'IMAGE (ORDER_CHECK) & " - (B)" ); END IF; END P; PROCEDURE PROC IS NEW P (INTEGER, REC); BEGIN PROC; END; -- (B). RESULT; END C32107C;
34.842424
79
0.489129
1dd457a95b8ff8b9599f20ec95704bc37f7dc32c
1,990
adb
Ada
gdb-7.3/gdb/testsuite/gdb.ada/fixed_points/fixed_points.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
gdb-7.3/gdb/testsuite/gdb.ada/fixed_points/fixed_points.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
gdb-7.3/gdb/testsuite/gdb.ada/fixed_points/fixed_points.adb
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
-- Copyright 2004, 2007, 2008, 2009, 2010, 2011 -- Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with 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;
30.615385
73
0.675377
59b96bd620a7f3e347134ef9acbd9053e80a8131
1,202
adb
Ada
src/loggers/adabase-logger-base-file.adb
jrmarino/AdaBase
660f278613773dc4007c8b3fab21bcfddc1828b3
[ "0BSD" ]
30
2016-02-21T11:09:30.000Z
2021-12-08T14:12:32.000Z
src/loggers/adabase-logger-base-file.adb
jrmarino/AdaBase
660f278613773dc4007c8b3fab21bcfddc1828b3
[ "0BSD" ]
3
2018-10-29T18:44:48.000Z
2022-03-12T23:14:20.000Z
src/loggers/adabase-logger-base-file.adb
jrmarino/AdaBase
660f278613773dc4007c8b3fab21bcfddc1828b3
[ "0BSD" ]
3
2015-04-22T12:17:27.000Z
2017-01-19T14:29:59.000Z
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt with Ada.Text_IO.Unbounded_IO; package body AdaBase.Logger.Base.File is package TIO renames Ada.Text_IO; package UIO renames Ada.Text_IO.Unbounded_IO; overriding procedure reaction (listener : File_Logger) is output : TIO.File_Type; begin if CT.IsBlank (listener.filepath) then return; end if; begin TIO.Open (File => output, Mode => TIO.Append_File, Name => CT.USS (listener.filepath)); exception when TIO.Name_Error => TIO.Create (File => output, Mode => TIO.Out_File, Name => CT.USS (listener.filepath)); end; UIO.Put_Line (File => output, Item => listener.composite); TIO.Close (File => output); end reaction; -------------------- -- set_filepath -- -------------------- procedure set_filepath (listener : out File_Logger; filename : String) is begin listener.filepath := CT.SUS (filename); end set_filepath; end AdaBase.Logger.Base.File;
25.041667
76
0.569052
1df0f280165de67240c603a6b69af5ecf8303fce
1,450
adb
Ada
examples/nrf24_sender/main.adb
ekoeppen/MSP430_Generic_Ada_Drivers
12b8238ea22dbb0c0c6c63ca46bfa7e2cb80334a
[ "MIT" ]
null
null
null
examples/nrf24_sender/main.adb
ekoeppen/MSP430_Generic_Ada_Drivers
12b8238ea22dbb0c0c6c63ca46bfa7e2cb80334a
[ "MIT" ]
null
null
null
examples/nrf24_sender/main.adb
ekoeppen/MSP430_Generic_Ada_Drivers
12b8238ea22dbb0c0c6c63ca46bfa7e2cb80334a
[ "MIT" ]
null
null
null
with MSP430_SVD; use MSP430_SVD; with MSPGD.Board; use MSPGD.Board; with MSPGD.GPIO; use MSPGD.GPIO; with MSPGD.GPIO.Pin; with Drivers.Text_IO; with Drivers.NRF24; procedure Main is pragma Preelaborate; package CE is new MSPGD.GPIO.Pin (Port => 2, Pin => 0, Direction => Output); package IRQ is new MSPGD.GPIO.Pin (Port => 2, Pin => 2); package Text_IO is new Drivers.Text_IO (USART => UART); package Radio is new Drivers.NRF24 (SPI => SPI, Chip_Select => SSEL, Chip_Enable => CE, IRQ => IRQ, Clock => Clock); procedure Print_Registers is new Radio.Print_Registers(Put_Line => Text_IO.Put_Line); Broadcast_Address : constant Radio.Address_Type := (16#00#, 16#F0#, 16#F0#, 16#F0#, 16#F0#); procedure TX_Test is TX_Data : constant Radio.Packet_Type := (16#00#, 16#FF#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#FF#, 16#55#); Input : String (1 .. 16); Len : Natural; begin Radio.TX_Mode; Radio.TX (TX_Data); Print_Registers; loop Text_IO.Get_Line (Input, Len); Radio.TX (TX_Data); end loop; end TX_Test; begin Init; LED_RED.Init; LED_RED.Clear; SPI.Init; SCLK.Init; MISO.Init; MOSI.Init; SSEL.Init; CE.Init; IRQ.Init; SSEL.Set; Text_IO.Put_Line ("NRF24 sender starting..."); Radio.Init; Radio.Set_Channel (70); Radio.Set_TX_Address (Broadcast_Address); Print_Registers; TX_Test; end Main;
27.358491
129
0.643448