CombinedText
stringlengths
4
3.42M
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- XML Processor -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2014, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ package body Matreshka.DOM_Texts is ------------------ -- Constructors -- ------------------ package body Constructors is ---------------- -- Initialize -- ---------------- procedure Initialize (Self : not null access Text_Node'Class; Document : not null Matreshka.DOM_Nodes.Document_Access; Data : League.Strings.Universal_String) is begin Matreshka.DOM_Character_Datas.Constructors.Initialize (Self, Document, Data); end Initialize; end Constructors; ---------------- -- Enter_Node -- ---------------- overriding procedure Enter_Node (Self : not null access Text_Node; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control) is begin Visitor.Enter_Text (XML.DOM.Texts.DOM_Text_Access (Self), Control); end Enter_Node; ------------------- -- Get_Node_Name -- ------------------- overriding function Get_Node_Name (Self : not null access constant Text_Node) return League.Strings.Universal_String is pragma Unreferenced (Self); begin return League.Strings.To_Universal_String ("#text"); end Get_Node_Name; ------------------- -- Get_Node_Type -- ------------------- overriding function Get_Node_Type (Self : not null access constant Text_Node) return XML.DOM.Node_Type is pragma Unreferenced (Self); begin return XML.DOM.Text_Node; end Get_Node_Type; -------------------- -- Get_Whole_Text -- -------------------- overriding function Get_Whole_Text (Self : not null access constant Text_Node) return League.Strings.Universal_String is begin -- XXX This subprogram is not fully implemented yet. return Self.Data; end Get_Whole_Text; ---------------- -- Leave_Node -- ---------------- overriding procedure Leave_Node (Self : not null access Text_Node; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control) is begin Visitor.Leave_Text (XML.DOM.Texts.DOM_Text_Access (Self), Control); end Leave_Node; ---------------- -- Visit_Node -- ---------------- overriding procedure Visit_Node (Self : not null access Text_Node; Iterator : in out XML.DOM.Visitors.Abstract_Iterator'Class; Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class; Control : in out XML.DOM.Visitors.Traverse_Control) is begin Iterator.Visit_Text (Visitor, XML.DOM.Texts.DOM_Text_Access (Self), Control); end Visit_Node; end Matreshka.DOM_Texts;
-- -- The author disclaims copyright to this source code. In place of -- a legal notice, here is a blessing: -- -- May you do good and not evil. -- May you find forgiveness for yourself and forgive others. -- May you share freely, not taking more than you give. -- with Ada.Characters.Handling; package body Options is procedure Set_Language is use Ada.Characters.Handling; LANG : constant String := To_Upper (Options.Language_String.all); begin if LANG = "ADA" then Language := Language_Ada; elsif LANG = "C" then Language := Language_C; else raise Constraint_Error with "Error: Unknown language"; end if; end Set_Language; end Options;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S C A N S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2006, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Types; use Types; with Uintp; use Uintp; with Urealp; use Urealp; package Scans is -- The scanner maintains a current state in the global variables defined -- in this package. The call to the Scan routine advances this state to -- the next token. The state is initialized by the call to one of the -- initialization routines in Sinput. -- The following type is used to identify token types returned by Scan. -- The class column in this table indicates the token classes which -- apply to the token, as defined by subsquent subtype declarations. -- Note: Namet.Is_Keyword_Name depends on the fact that the first entry in -- this type declaration is *not* for a reserved word. For details on why -- there is this requirement, see Scans.Initialize_Ada_Keywords. type Token_Type is ( -- Token name Token type Class(es) Tok_Integer_Literal, -- numeric lit Literal, Lit_Or_Name Tok_Real_Literal, -- numeric lit Literal, Lit_Or_Name Tok_String_Literal, -- string lit Literal. Lit_Or_Name Tok_Char_Literal, -- char lit Name, Literal. Lit_Or_Name Tok_Operator_Symbol, -- op symbol Name, Literal, Lit_Or_Name, Desig Tok_Identifier, -- identifer Name, Lit_Or_Name, Desig Tok_Double_Asterisk, -- ** Tok_Ampersand, -- & Binary_Addop Tok_Minus, -- - Binary_Addop, Unary_Addop Tok_Plus, -- + Binary_Addop, Unary_Addop Tok_Asterisk, -- * Mulop Tok_Mod, -- MOD Mulop Tok_Rem, -- REM Mulop Tok_Slash, -- / Mulop Tok_New, -- NEW Tok_Abs, -- ABS Tok_Others, -- OTHERS Tok_Null, -- NULL Tok_Dot, -- . Namext Tok_Apostrophe, -- ' Namext Tok_Left_Paren, -- ( Namext, Consk Tok_Delta, -- DELTA Atkwd, Sterm, Consk Tok_Digits, -- DIGITS Atkwd, Sterm, Consk Tok_Range, -- RANGE Atkwd, Sterm, Consk Tok_Right_Paren, -- ) Sterm Tok_Comma, -- , Sterm Tok_And, -- AND Logop, Sterm Tok_Or, -- OR Logop, Sterm Tok_Xor, -- XOR Logop, Sterm Tok_Less, -- < Relop, Sterm Tok_Equal, -- = Relop, Sterm Tok_Greater, -- > Relop, Sterm Tok_Not_Equal, -- /= Relop, Sterm Tok_Greater_Equal, -- >= Relop, Sterm Tok_Less_Equal, -- <= Relop, Sterm Tok_In, -- IN Relop, Sterm Tok_Not, -- NOT Relop, Sterm Tok_Box, -- <> Relop, Eterm, Sterm Tok_Colon_Equal, -- := Eterm, Sterm Tok_Colon, -- : Eterm, Sterm Tok_Greater_Greater, -- >> Eterm, Sterm Tok_Abstract, -- ABSTRACT Eterm, Sterm Tok_Access, -- ACCESS Eterm, Sterm Tok_Aliased, -- ALIASED Eterm, Sterm Tok_All, -- ALL Eterm, Sterm Tok_Array, -- ARRAY Eterm, Sterm Tok_At, -- AT Eterm, Sterm Tok_Body, -- BODY Eterm, Sterm Tok_Constant, -- CONSTANT Eterm, Sterm Tok_Do, -- DO Eterm, Sterm Tok_Is, -- IS Eterm, Sterm Tok_Interface, -- INTERFACE Eterm, Sterm Tok_Limited, -- LIMITED Eterm, Sterm Tok_Of, -- OF Eterm, Sterm Tok_Out, -- OUT Eterm, Sterm Tok_Record, -- RECORD Eterm, Sterm Tok_Renames, -- RENAMES Eterm, Sterm Tok_Reverse, -- REVERSE Eterm, Sterm Tok_Tagged, -- TAGGED Eterm, Sterm Tok_Then, -- THEN Eterm, Sterm Tok_Less_Less, -- << Eterm, Sterm, After_SM Tok_Abort, -- ABORT Eterm, Sterm, After_SM Tok_Accept, -- ACCEPT Eterm, Sterm, After_SM Tok_Case, -- CASE Eterm, Sterm, After_SM Tok_Delay, -- DELAY Eterm, Sterm, After_SM Tok_Else, -- ELSE Eterm, Sterm, After_SM Tok_Elsif, -- ELSIF Eterm, Sterm, After_SM Tok_End, -- END Eterm, Sterm, After_SM Tok_Exception, -- EXCEPTION Eterm, Sterm, After_SM Tok_Exit, -- EXIT Eterm, Sterm, After_SM Tok_Goto, -- GOTO Eterm, Sterm, After_SM Tok_If, -- IF Eterm, Sterm, After_SM Tok_Pragma, -- PRAGMA Eterm, Sterm, After_SM Tok_Raise, -- RAISE Eterm, Sterm, After_SM Tok_Requeue, -- REQUEUE Eterm, Sterm, After_SM Tok_Return, -- RETURN Eterm, Sterm, After_SM Tok_Select, -- SELECT Eterm, Sterm, After_SM Tok_Terminate, -- TERMINATE Eterm, Sterm, After_SM Tok_Until, -- UNTIL Eterm, Sterm, After_SM Tok_When, -- WHEN Eterm, Sterm, After_SM Tok_Begin, -- BEGIN Eterm, Sterm, After_SM, Labeled_Stmt Tok_Declare, -- DECLARE Eterm, Sterm, After_SM, Labeled_Stmt Tok_For, -- FOR Eterm, Sterm, After_SM, Labeled_Stmt Tok_Loop, -- LOOP Eterm, Sterm, After_SM, Labeled_Stmt Tok_While, -- WHILE Eterm, Sterm, After_SM, Labeled_Stmt Tok_Entry, -- ENTRY Eterm, Sterm, Declk, Deckn, After_SM Tok_Protected, -- PROTECTED Eterm, Sterm, Declk, Deckn, After_SM Tok_Task, -- TASK Eterm, Sterm, Declk, Deckn, After_SM Tok_Type, -- TYPE Eterm, Sterm, Declk, Deckn, After_SM Tok_Subtype, -- SUBTYPE Eterm, Sterm, Declk, Deckn, After_SM Tok_Overriding, -- OVERRIDING Eterm, Sterm, Declk, Declk, After_SM Tok_Synchronized, -- SYNCHRONIZED Eterm, Sterm, Declk, Deckn, After_SM Tok_Use, -- USE Eterm, Sterm, Declk, Deckn, After_SM Tok_Function, -- FUNCTION Eterm, Sterm, Cunit, Declk, After_SM Tok_Generic, -- GENERIC Eterm, Sterm, Cunit, Declk, After_SM Tok_Package, -- PACKAGE Eterm, Sterm, Cunit, Declk, After_SM Tok_Procedure, -- PROCEDURE Eterm, Sterm, Cunit, Declk, After_SM Tok_Private, -- PRIVATE Eterm, Sterm, Cunit, After_SM Tok_With, -- WITH Eterm, Sterm, Cunit, After_SM Tok_Separate, -- SEPARATE Eterm, Sterm, Cunit, After_SM Tok_EOF, -- End of file Eterm, Sterm, Cterm, After_SM Tok_Semicolon, -- ; Eterm, Sterm, Cterm Tok_Arrow, -- => Sterm, Cterm, Chtok Tok_Vertical_Bar, -- | Cterm, Sterm, Chtok Tok_Dot_Dot, -- .. Sterm, Chtok Tok_Project, Tok_Extends, Tok_External, -- These three entries represent keywords for the project file language -- and can be returned only in the case of scanning project files. Tok_Comment, -- This entry is used when scanning project files (where it represents -- an entire comment), and in preprocessing with the -C switch set -- (where it represents just the "--" of a comment). For the project -- file case, the text of the comment is stored in Tok_End_Of_Line, -- Represents an end of line. Not used during normal compilation scans -- where end of line is ignored. Active for preprocessor scanning and -- also when scanning project files (where it is neede because of ???) Tok_Special, -- Used only in preprocessor scanning (to represent one of the -- characters '#', '$', '?', '@', '`', '\', '^', '~', or '_'. The -- character value itself is stored in Scans.Special_Character. No_Token); -- No_Token is used for initializing Token values to indicate that -- no value has been set yet. -- Note: in the RM, operator symbol is a special case of string literal. -- We distinguish at the lexical level in this compiler, since there are -- many syntactic situations in which only an operator symbol is allowed. -- The following subtype declarations group the token types into classes. -- These are used for class tests in the parser. subtype Token_Class_Numeric_Literal is Token_Type range Tok_Integer_Literal .. Tok_Real_Literal; -- Numeric literal subtype Token_Class_Literal is Token_Type range Tok_Integer_Literal .. Tok_Operator_Symbol; -- Literal subtype Token_Class_Lit_Or_Name is Token_Type range Tok_Integer_Literal .. Tok_Identifier; subtype Token_Class_Binary_Addop is Token_Type range Tok_Ampersand .. Tok_Plus; -- Binary adding operator (& + -) subtype Token_Class_Unary_Addop is Token_Type range Tok_Minus .. Tok_Plus; -- Unary adding operator (+ -) subtype Token_Class_Mulop is Token_Type range Tok_Asterisk .. Tok_Slash; -- Multiplying operator subtype Token_Class_Logop is Token_Type range Tok_And .. Tok_Xor; -- Logical operator (and, or, xor) subtype Token_Class_Relop is Token_Type range Tok_Less .. Tok_Box; -- Relational operator (= /= < <= > >= not, in plus <> to catch misuse -- of Pascal style not equal operator). subtype Token_Class_Name is Token_Type range Tok_Char_Literal .. Tok_Identifier; -- First token of name (4.1), -- (identifier, char literal, operator symbol) subtype Token_Class_Desig is Token_Type range Tok_Operator_Symbol .. Tok_Identifier; -- Token which can be a Designator (identifier, operator symbol) subtype Token_Class_Namext is Token_Type range Tok_Dot .. Tok_Left_Paren; -- Name extension tokens. These are tokens which can appear immediately -- after a name to extend it recursively (period, quote, left paren) subtype Token_Class_Consk is Token_Type range Tok_Left_Paren .. Tok_Range; -- Keywords which can start constraint -- (left paren, delta, digits, range) subtype Token_Class_Eterm is Token_Type range Tok_Colon_Equal .. Tok_Semicolon; -- Expression terminators. These tokens can never appear within a simple -- expression. This is used for error recovery purposes (if we encounter -- an error in an expression, we simply scan to the next Eterm token). subtype Token_Class_Sterm is Token_Type range Tok_Delta .. Tok_Dot_Dot; -- Simple_Expression terminators. A Simple_Expression must be followed -- by a token in this class, or an error message is issued complaining -- about a missing binary operator. subtype Token_Class_Atkwd is Token_Type range Tok_Delta .. Tok_Range; -- Attribute keywords. This class includes keywords which can be used -- as an Attribute_Designator, namely DELTA, DIGITS and RANGE subtype Token_Class_Cterm is Token_Type range Tok_EOF .. Tok_Vertical_Bar; -- Choice terminators. These tokens terminate a choice. This is used for -- error recovery purposes (if we encounter an error in a Choice, we -- simply scan to the next Cterm token). subtype Token_Class_Chtok is Token_Type range Tok_Arrow .. Tok_Dot_Dot; -- Choice tokens. These tokens signal a choice when used in an Aggregate subtype Token_Class_Cunit is Token_Type range Tok_Function .. Tok_Separate; -- Tokens which can begin a compilation unit subtype Token_Class_Declk is Token_Type range Tok_Entry .. Tok_Procedure; -- Keywords which start a declaration subtype Token_Class_Deckn is Token_Type range Tok_Entry .. Tok_Use; -- Keywords which start a declaration but can't start a compilation unit subtype Token_Class_After_SM is Token_Type range Tok_Less_Less .. Tok_EOF; -- Tokens which always, or almost always, appear after a semicolon. Used -- in the Resync_Past_Semicolon routine to avoid gobbling up stuff when -- a semicolon is missing. Of significance only for error recovery. subtype Token_Class_Labeled_Stmt is Token_Type range Tok_Begin .. Tok_While; -- Tokens which start labeled statements type Token_Flag_Array is array (Token_Type) of Boolean; Is_Reserved_Keyword : constant Token_Flag_Array := Token_Flag_Array' (Tok_Mod .. Tok_Rem => True, Tok_New .. Tok_Null => True, Tok_Delta .. Tok_Range => True, Tok_And .. Tok_Xor => True, Tok_In .. Tok_Not => True, Tok_Abstract .. Tok_Then => True, Tok_Abort .. Tok_Separate => True, others => False); -- Flag array used to test for reserved word procedure Initialize_Ada_Keywords; -- Set up Token_Type values in Names table entries for Ada reserved -- words. -------------------------- -- Scan State Variables -- -------------------------- -- Note: these variables can only be referenced during the parsing of a -- file. Reference to any of them from Sem or the expander is wrong. Scan_Ptr : Source_Ptr; -- Current scan pointer location. After a call to Scan, this points -- just past the end of the token just scanned. Token : Token_Type; -- Type of current token Token_Ptr : Source_Ptr; -- Pointer to first character of current token Current_Line_Start : Source_Ptr; -- Pointer to first character of line containing current token Start_Column : Column_Number; -- Starting column number (zero origin) of the first non-blank character -- on the line containing the current token. This is used for error -- recovery circuits which depend on looking at the column line up. Checksum : Word; -- Used to accumulate a CRC representing the tokens in the source -- file being compiled. This CRC includes only program tokens, and -- excludes comments. First_Non_Blank_Location : Source_Ptr; -- Location of first non-blank character on the line containing the -- current token (i.e. the location of the character whose column number -- is stored in Start_Column). Token_Node : Node_Id := Empty; -- Node table Id for the current token. This is set only if the current -- token is one for which the scanner constructs a node (i.e. it is an -- identifier, operator symbol, or literal. For other token types, -- Token_Node is undefined. Token_Name : Name_Id := No_Name; -- For identifiers, this is set to the Name_Id of the identifier scanned. -- For all other tokens, Token_Name is set to Error_Name. Note that it -- would be possible for the caller to extract this information from -- Token_Node. We set Token_Name separately for two reasons. First it -- allows a quicker test for a specific identifier. Second, it allows -- a version of the parser to be built that does not build tree nodes, -- usable as a syntax checker. Prev_Token : Token_Type := No_Token; -- Type of previous token Prev_Token_Ptr : Source_Ptr; -- Pointer to first character of previous token Version_To_Be_Found : Boolean; -- This flag is True if the scanner is still looking for an RCS version -- number in a comment. Normally it is initialized to False so that this -- circuit is not activated. If the -dv switch is set, then this flag is -- initialized to True, and then reset when the version number is found. -- We do things this way to minimize the impact on comment scanning. Character_Code : Char_Code; -- Valid only when Token is Tok_Char_Literal Real_Literal_Value : Ureal; -- Valid only when Token is Tok_Real_Literal Int_Literal_Value : Uint; -- Valid only when Token = Tok_Integer_Literal; String_Literal_Id : String_Id; -- Id for currently scanned string value. -- Valid only when Token = Tok_String_Literal or Tok_Operator_Symbol. Wide_Character_Found : Boolean := False; -- Set True if wide character found. -- Valid only when Token = Tok_String_Literal. Special_Character : Character; -- Valid only when Token = Tok_Special. Returns one of the characters -- '#', '$', '?', '@', '`', '\', '^', '~', or '_'. -- -- Why only this set? What about wide characters??? Comment_Id : Name_Id := No_Name; -- Valid only when Token = Tok_Comment. Store the string that follows -- the "--" of a comment when scanning project files. -- -- Is it really right for this to be a Name rather than a String, what -- about the case of Wide_Wide_Characters??? -------------------------------------------------------- -- Procedures for Saving and Restoring the Scan State -- -------------------------------------------------------- -- The following procedures can be used to save and restore the entire -- scan state. They are used in cases where it is necessary to backup -- the scan during the parse. type Saved_Scan_State is private; -- Used for saving and restoring the scan state procedure Save_Scan_State (Saved_State : out Saved_Scan_State); pragma Inline (Save_Scan_State); -- Saves the current scan state for possible later restoration. Note that -- there is no harm in saving the state and then never restoring it. procedure Restore_Scan_State (Saved_State : Saved_Scan_State); pragma Inline (Restore_Scan_State); -- Restores a scan state saved by a call to Save_Scan_State. -- The saved scan state must refer to the current source file. private type Saved_Scan_State is record Save_Scan_Ptr : Source_Ptr; Save_Token : Token_Type; Save_Token_Ptr : Source_Ptr; Save_Current_Line_Start : Source_Ptr; Save_Start_Column : Column_Number; Save_Checksum : Word; Save_First_Non_Blank_Location : Source_Ptr; Save_Token_Node : Node_Id; Save_Token_Name : Name_Id; Save_Prev_Token : Token_Type; Save_Prev_Token_Ptr : Source_Ptr; end record; end Scans;
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C; use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C; procedure euler07 is type stringptr is access all char_array; procedure PString(s : stringptr) is begin String'Write (Text_Streams.Stream (Current_Output), To_Ada(s.all)); end; procedure PInt(i : in Integer) is begin String'Write (Text_Streams.Stream (Current_Output), Trim(Integer'Image(i), Left)); end; type a is Array (Integer range <>) of Integer; type a_PTR is access a; function divisible(n : in Integer; t : in a_PTR; size : in Integer) return Boolean is begin for i in integer range 0..size - 1 loop if n rem t(i) = 0 then return TRUE; end if; end loop; return FALSE; end; function find(b : in Integer; t : in a_PTR; c : in Integer; nth : in Integer) return Integer is used : Integer; n : Integer; begin n := b; used := c; while used /= nth loop if divisible(n, t, used) then n := n + 1; else t(used) := n; n := n + 1; used := used + 1; end if; end loop; return t(used - 1); end; t : a_PTR; n : Integer; begin n := 10001; t := new a (0..n - 1); for i in integer range 0..n - 1 loop t(i) := 2; end loop; PInt(find(3, t, 1, n)); PString(new char_array'( To_C("" & Character'Val(10)))); end;
-- C95095C.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 OVERLOADED ENTRY DECLARATIONS -- ARE PERMITTED IN WHICH THERE IS A MINIMAL -- DIFFERENCE BETWEEN THE DECLARATIONS. -- (C) THE BASE TYPE OF A PARAMETER IS DIFFERENT FROM THAT -- OF THE CORRESPONDING ONE. -- JWC 7/24/85 WITH REPORT; USE REPORT; PROCEDURE C95095C IS BEGIN TEST ("C95095C", "ENTRY OVERLOADING WITH " & "MINIMAL DIFFERENCES"); -------------------------------------------------- -- THE BASE TYPE OF ONE PARAMETER IS -- DIFFERENT FROM THAT OF THE CORRESPONDING -- ONE. DECLARE TYPE NEWINT IS NEW INTEGER; I, J, K : INTEGER := 0; N : NEWINT; S : STRING (1..2) := "12"; TASK T IS ENTRY E (I1 : INTEGER; N1 : OUT NEWINT; I2 : IN OUT INTEGER); ENTRY E (I1 : INTEGER; N1 : OUT INTEGER; I2 : IN OUT INTEGER); END T; TASK BODY T IS BEGIN LOOP SELECT ACCEPT E (I1 : INTEGER; N1 : OUT NEWINT; I2 : IN OUT INTEGER) DO S (1) := 'A'; N1 := 0; -- THIS VALUE IS IRRELEVENT. END E; OR ACCEPT E (I1 : INTEGER; N1 : OUT INTEGER; I2 : IN OUT INTEGER) DO S (2) := 'B'; N1 := 0; -- THIS VALUE IS IRRELEVENT. END E; OR TERMINATE; END SELECT; END LOOP; END T; BEGIN T.E (I, N, K); T.E (I, J, K); IF S /= "AB" THEN FAILED ("ENTRIES DIFFERING ONLY BY " & "THE BASE TYPE OF A PARAMETER " & "CAUSED CONFUSION"); END IF; END; -------------------------------------------------- RESULT; END C95095C;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . N U M E R I C S . A U X -- -- -- -- S p e c -- -- (C Library Version, non-x86) -- -- -- -- Copyright (C) 1992-2005, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package provides the basic computational interface for the generic -- elementary functions. The C library version interfaces with the routines -- in the C mathematical library, and is thus quite portable, although it may -- not necessarily meet the requirements for accuracy in the numerics annex. -- One advantage of using this package is that it will interface directly to -- hardware instructions, such as the those provided on the Intel x86. -- This version is for use with normal Unix math functions. Alternative -- packages are used on OpenVMS (different import names), VxWorks (no -- need for the -lm Linker_Options), and on the x86 (where we have two -- versions one using inline ASM, and one importing from the C long -- routines that take 80-bit arguments). package Ada.Numerics.Aux is pragma Pure; pragma Linker_Options ("-lm"); type Double is digits 15; -- Type Double is the type used to call the C routines -- We import these functions directly from C. Note that we label them -- all as pure functions, because indeed all of them are in fact pure! function Sin (X : Double) return Double; pragma Import (C, Sin, "sin"); pragma Pure_Function (Sin); function Cos (X : Double) return Double; pragma Import (C, Cos, "cos"); pragma Pure_Function (Cos); function Tan (X : Double) return Double; pragma Import (C, Tan, "tan"); pragma Pure_Function (Tan); function Exp (X : Double) return Double; pragma Import (C, Exp, "exp"); pragma Pure_Function (Exp); function Sqrt (X : Double) return Double; pragma Import (C, Sqrt, "sqrt"); pragma Pure_Function (Sqrt); function Log (X : Double) return Double; pragma Import (C, Log, "log"); pragma Pure_Function (Log); function Acos (X : Double) return Double; pragma Import (C, Acos, "acos"); pragma Pure_Function (Acos); function Asin (X : Double) return Double; pragma Import (C, Asin, "asin"); pragma Pure_Function (Asin); function Atan (X : Double) return Double; pragma Import (C, Atan, "atan"); pragma Pure_Function (Atan); function Sinh (X : Double) return Double; pragma Import (C, Sinh, "sinh"); pragma Pure_Function (Sinh); function Cosh (X : Double) return Double; pragma Import (C, Cosh, "cosh"); pragma Pure_Function (Cosh); function Tanh (X : Double) return Double; pragma Import (C, Tanh, "tanh"); pragma Pure_Function (Tanh); function Pow (X, Y : Double) return Double; pragma Import (C, Pow, "pow"); pragma Pure_Function (Pow); end Ada.Numerics.Aux;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ with STM32.Device; use STM32.Device; with HAL; use HAL; package body Serial_IO.Streaming is ---------------- -- Initialize -- ---------------- procedure Initialize (This : out Serial_Port) is begin Serial_IO.Initialize_Peripheral (This.Device); This.Initialized := True; end Initialize; ----------------- -- Initialized -- ----------------- function Initialized (This : Serial_Port) return Boolean is (This.Initialized); --------------- -- Configure -- --------------- procedure Configure (This : in out Serial_Port; Baud_Rate : Baud_Rates; Parity : Parities := No_Parity; Data_Bits : Word_Lengths := Word_Length_8; End_Bits : Stop_Bits := Stopbits_1; Control : Flow_Control := No_Flow_Control) is begin Serial_IO.Configure (This.Device, Baud_Rate, Parity, Data_Bits, End_Bits, Control); end Configure; ---------------------- -- Await_Send_Ready -- ---------------------- procedure Await_Send_Ready (This : USART) is begin loop exit when Tx_Ready (This); end loop; end Await_Send_Ready; ---------------------- -- Set_Read_Timeout -- ---------------------- procedure Set_Read_Timeout (This : in out Serial_Port; Wait : Time_Span := Time_Span_Last) is begin This.Timeout := Wait; end Set_Read_Timeout; -------------------------- -- Await_Data_Available -- -------------------------- procedure Await_Data_Available (This : USART; Timeout : Time_Span := Time_Span_Last; Timed_Out : out Boolean) is Deadline : constant Time := Clock + Timeout; begin Timed_Out := True; while Clock < Deadline loop if Rx_Ready (This) then Timed_Out := False; exit; end if; end loop; end Await_Data_Available; ---------------- -- Last_Index -- ---------------- function Last_Index (First : Stream_Element_Offset; Count : Long_Integer) return Stream_Element_Offset is begin if First = Stream_Element_Offset'First and then Count = 0 then -- we need to return First - 1, but cannot raise Constraint_Error; -- per RM else return First + Stream_Element_Offset (Count) - 1; end if; end Last_Index; ---------- -- Read -- ---------- overriding procedure Read (This : in out Serial_Port; Buffer : out Ada.Streams.Stream_Element_Array; Last : out Ada.Streams.Stream_Element_Offset) is Raw : UInt9; Timed_Out : Boolean; Count : Long_Integer := 0; begin Receiving : for K in Buffer'Range loop Await_Data_Available (This.Device.Transceiver.all, This.Timeout, Timed_Out); exit Receiving when Timed_Out; Receive (This.Device.Transceiver.all, Raw); Buffer (K) := Stream_Element (Raw); Count := Count + 1; end loop Receiving; Last := Last_Index (Buffer'First, Count); end Read; ----------- -- Write -- ----------- overriding procedure Write (This : in out Serial_Port; Buffer : Ada.Streams.Stream_Element_Array) is begin for Next of Buffer loop Await_Send_Ready (This.Device.Transceiver.all); Transmit (This.Device.Transceiver.all, Stream_Element'Pos (Next)); end loop; end Write; end Serial_IO.Streaming;
----------------------------------------------------------------------- -- mail-headers -- Operations on mail headers -- Copyright (C) 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Ada.Strings.Equal_Case_Insensitive; with Ada.Characters.Handling; with Unicode.Encodings; with Util.Strings.Builders; with Util.Encoders.Quoted_Printable; package body Mail.Headers is use Ada.Characters.Handling; function Decode_Quoted (Content : in String; Charset : in String) return String; function Decode_Base64 (Content : in String; Charset : in String) return String; function Decode_Quoted (Content : in String; Charset : in String) return String is Result : constant String := Util.Encoders.Quoted_Printable.Q_Decode (Content); Encoding : Unicode.Encodings.Unicode_Encoding; begin if Ada.Strings.Equal_Case_Insensitive (Charset, "UTF-8") then return Result; end if; begin if Charset = "646" then Encoding := Unicode.Encodings.Get_By_Name ("iso-8859-1"); else Encoding := Unicode.Encodings.Get_By_Name (Charset); end if; exception when others => Encoding := Unicode.Encodings.Get_By_Name ("iso-8859-1"); end; return Unicode.Encodings.Convert (Result, Encoding); end Decode_Quoted; function Decode_Base64 (Content : in String; Charset : in String) return String is Decoder : constant Util.Encoders.Decoder := Util.Encoders.Create ("base64"); Result : constant String := Decoder.Decode (Content); Encoding : Unicode.Encodings.Unicode_Encoding; begin if Ada.Strings.Equal_Case_Insensitive (Charset, "UTF-8") then return Result; end if; begin -- 646 is an old charset, its successor is iso-8859-1. if Charset = "646" then Encoding := Unicode.Encodings.Get_By_Name ("iso-8859-1"); else Encoding := Unicode.Encodings.Get_By_Name (Charset); end if; exception when others => Encoding := Unicode.Encodings.Get_By_Name ("iso-8859-1"); end; return Unicode.Encodings.Convert (Result, Encoding); end Decode_Base64; -- ------------------------------ -- Decode the mail header value and normalize to an UTF-8 string (RFC2047). -- ------------------------------ function Decode (Content : in String) return String is use Util.Strings.Builders; C : Character; Pos : Natural := Content'First; Pos2 : Natural; Pos3 : Natural; Result : Util.Strings.Builders.Builder (Content'Length + 10); begin while Pos <= Content'Last loop C := Content (Pos); if C /= '=' then Append (Result, C); elsif Pos = Content'Last then Append (Result, C); elsif Content (Pos + 1) = '?' then Pos2 := Util.Strings.Index (Content, '?', Pos + 2); if Pos2 > 0 and Pos2 + 3 < Content'Last then Pos3 := Util.Strings.Index (Content, '?', Pos2 + 3); if Pos3 > 0 and then Pos3 + 1 <= Content'Last and then Content (Pos3 + 1) = '=' then C := Content (Pos2 + 1); case C is when 'q' | 'Q' => Append (Result, Decode_Quoted (Content (Pos2 + 3 .. Pos3 - 1), Content (Pos + 2 .. Pos2 - 1))); when 'b' | 'B' => Append (Result, Decode_Base64 (Content (Pos2 + 3 .. Pos3 - 1), Content (Pos + 2 .. Pos2 - 1))); when others => null; end case; -- Skip ?= Pos := Pos3 + 1; if Pos < Content'Last and then Is_Space (Content (Pos + 1)) then Pos2 := Pos + 2; while Pos2 <= Content'Last and then Is_Space (Content (Pos2)) loop Pos2 := Pos2 + 1; end loop; -- Skip spaces between consecutive encoded words. if Pos2 + 1 <= Content'Last and then Content (Pos2) = '=' and then Content (Pos2 + 1) = '?' then Pos := Pos2 - 1; end if; end if; else Append (Result, '='); end if; else Append (Result, '='); end if; else Append (Result, '='); end if; Pos := Pos + 1; end loop; return To_Array (Result); end Decode; end Mail.Headers;
-- Copyright 2008-2020 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. -- Test Ada additions to core GDB evaluation. with System; with Text_IO; use Text_IO; procedure P is type Int is range System.Min_Int .. System.Max_Int; X, Z : Int; Y : Integer; begin X := 0; -- Set X to 7 by disguised means lest a future optimizer interfere. for I in 1 .. 7 loop X := X + 1; end loop; Z := 1; Y := 0; while Z < Int'Last / X loop Z := Z * X; Y := Y + 1; end loop; Put_Line (Int'Image (X ** Y)); -- START end P;
-- This file provides the API for the random number generator on the STM32F4 -- (ARM Cortex M4F) microcontrollers from ST Microelectronics. -- -- Random numbers are acquired by responding to interrupts from the on-board -- generator. package STM32.RNG.Interrupts is procedure Initialize_RNG with Post => RNG_Interrupt_Enabled; -- Must be called once, prior to any call to get a random number via -- interrupts. Both necessary and sufficient. -- Enables the clock as well. function Random return UInt32; -- Uses the interrupt interface to get the next available number. -- NB: call Initialize_RNG before any calls to this function. end STM32.RNG.Interrupts;
with STM32GD.GPIO; with STM32GD.GPIO.Pin; with STM32GD.USART; with STM32GD.USART.Peripheral; with STM32GD.SPI; with STM32GD.SPI.Peripheral; with STM32GD.I2C; with STM32GD.I2C.Peripheral; with STM32GD.RTC; with STM32GD.Clock; with STM32GD.Clock.Tree; with Drivers.Text_IO; with Drivers.RFM69; with STM32GD.Board_Variant; package STM32GD.Board is package CLOCKS is new STM32GD.Clock.Tree; package GPIO renames STM32GD.GPIO; package BUTTON is new GPIO.Pin (Pin => GPIO.Pin_15, Port => GPIO.Port_C); package LED is new GPIO.Pin (Pin => GPIO.Pin_1, Port => GPIO.Port_B, Mode => GPIO.Mode_Out); package LED2 is new GPIO.Pin (Pin => GPIO.Pin_14, Port => GPIO.Port_C, Mode => GPIO.Mode_Out); package SCLK is new GPIO.Pin (Pin => GPIO.Pin_5, Port => GPIO.Port_A, Mode => GPIO.Mode_AF); package MISO is new GPIO.Pin (Pin => GPIO.Pin_6, Port => GPIO.Port_A, Mode => GPIO.Mode_AF); package MOSI is new GPIO.Pin (Pin => GPIO.Pin_7, Port => GPIO.Port_A, Mode => GPIO.Mode_AF); package CSN is new GPIO.Pin (Pin => GPIO.Pin_4, Port => GPIO.Port_A, Mode => GPIO.Mode_Out); package RFM69_RESET is new GPIO.Pin (Pin => GPIO.Pin_1, Port => GPIO.Port_A, Mode => GPIO.Mode_Out); package TX is new GPIO.Pin (Pin => GPIO.Pin_2, Port => GPIO.Port_A, Pull_Resistor => GPIO.Pull_Up, Mode => GPIO.Mode_AF, Alternate_Function => 4); package RX is new GPIO.Pin (Pin => GPIO.Pin_3, Port => GPIO.Port_A, Pull_Resistor => GPIO.Pull_Up, Mode => GPIO.Mode_AF, Alternate_Function => 4); package IRQ is new GPIO.Pin (Pin => GPIO.Pin_0, Port => GPIO.Port_A, Mode => GPIO.Mode_In); package SCL is new GPIO.Pin (Pin => GPIO.Pin_9, Port => GPIO.Port_A, Output_Type => GPIO.Open_Drain, Mode => GPIO.Mode_AF, Alternate_Function => 1); package SCL_OUT is new GPIO.Pin (Pin => GPIO.Pin_9, Port => GPIO.Port_A, Mode => GPIO.Mode_Out); package SDA is new GPIO.Pin (Pin => GPIO.Pin_10, Port => GPIO.Port_A, Output_Type => GPIO.Open_Drain, Mode => GPIO.Mode_AF, Alternate_Function => 1); package SPI is new STM32GD.SPI.Peripheral (SPI => STM32GD.SPI.SPI_1); package USART is new STM32GD.USART.Peripheral (USART => STM32GD.USART.USART_2, Speed => 115200, Clock_Tree => CLOCKS, Clock => STM32GD.Clock.PCLK1); package I2C is new STM32GD.I2C.Peripheral (I2C => STM32GD.I2C.I2C_1); package RTC is new STM32GD.RTC (Clock_Tree => STM32GD.Board.Clocks, Clock => STM32GD.Clock.LSI); package Radio is new Drivers.RFM69 (SPI => SPI, Chip_Select => CSN, IRQ => IRQ, Frequency => 868_000_000, TX_PA_Boost => STM32GD.Board_Variant.TX_PA_Boost); package Text_IO is new Drivers.Text_IO (USART => STM32GD.Board.USART); procedure Init; procedure Enable_Peripherals; procedure Disable_Peripherals; end STM32GD.Board;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- G N A T . C A L E N D A R -- -- -- -- S p e c -- -- -- -- Copyright (C) 1999-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 extends Ada.Calendar to handle Hour, Minute, Second, -- Second_Duration and Day_Of_Week and Day_In_Year from Calendar.Time. -- Second_Duration precision depends on the target clock precision. -- -- GNAT.Calendar provides the same kind of abstraction found in -- Ada.Calendar. It provides Split and Time_Of to build and split a Time -- data. And it provides accessor functions to get only one of Hour, Minute, -- Second, Second_Duration. Other functions are to access more advanced -- valueas like Day_Of_Week, Day_In_Year and Week_In_Year. with Ada.Calendar; with Interfaces.C; package GNAT.Calendar is type Day_Name is (Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday); subtype Hour_Number is Natural range 0 .. 23; subtype Minute_Number is Natural range 0 .. 59; subtype Second_Number is Natural range 0 .. 59; subtype Second_Duration is Ada.Calendar.Day_Duration range 0.0 .. 1.0; subtype Day_In_Year_Number is Positive range 1 .. 366; subtype Week_In_Year_Number is Positive range 1 .. 53; function Hour (Date : Ada.Calendar.Time) return Hour_Number; function Minute (Date : Ada.Calendar.Time) return Minute_Number; function Second (Date : Ada.Calendar.Time) return Second_Number; function Sub_Second (Date : Ada.Calendar.Time) return Second_Duration; -- Hour, Minute, Sedond and Sub_Second returns the complete time data for -- the Date (H:M:S.SS). See Ada.Calendar for Year, Month, Day accessors. -- Second_Duration precision depends on the target clock precision. function Day_Of_Week (Date : Ada.Calendar.Time) return Day_Name; -- Return the day name function Day_In_Year (Date : Ada.Calendar.Time) return Day_In_Year_Number; -- Returns the day number in the year. (1st January is day 1 and 31st -- December is day 365 or 366 for leap year). function Week_In_Year (Date : Ada.Calendar.Time) return Week_In_Year_Number; -- Returns the week number in the year with Monday as first day of week procedure Split (Date : Ada.Calendar.Time; Year : out Ada.Calendar.Year_Number; Month : out Ada.Calendar.Month_Number; Day : out Ada.Calendar.Day_Number; Hour : out Hour_Number; Minute : out Minute_Number; Second : out Second_Number; Sub_Second : out Second_Duration); -- Split the standard Ada.Calendar.Time data in date data (Year, Month, -- Day) and Time data (Hour, Minute, Second, Sub_Second) function Time_Of (Year : Ada.Calendar.Year_Number; Month : Ada.Calendar.Month_Number; Day : Ada.Calendar.Day_Number; Hour : Hour_Number; Minute : Minute_Number; Second : Second_Number; Sub_Second : Second_Duration := 0.0) return Ada.Calendar.Time; -- Returns an Ada.Calendar.Time data built from the date and time values -- C timeval conversion -- C timeval represent a duration (used in Select for example). This -- structure is composed of a number of seconds and a number of micro -- seconds. The timeval structure is not exposed here because its -- definition is target dependent. Interface to C programs is done via a -- pointer to timeval structure. type timeval is private; function To_Duration (T : access timeval) return Duration; function To_Timeval (D : Duration) return timeval; private -- This is a dummy declaration that should be the largest possible timeval -- structure of all supported targets. type timeval is array (1 .. 2) of Interfaces.C.long; function Julian_Day (Year : Ada.Calendar.Year_Number; Month : Ada.Calendar.Month_Number; Day : Ada.Calendar.Day_Number) return Integer; -- Compute Julian day number -- -- The code of this function is a modified version of algorithm 199 from -- the Collected Algorithms of the ACM. The author of algorithm 199 is -- Robert G. Tantzen. end GNAT.Calendar;
------------------------------------------------------------------------------ -- -- -- 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 package defines an abstract data machine representing the USER button -- on many (most) STM boards. It uses an interrupt handler to track presses, -- reflected in the result of calling function Has_Been_Pressed. package STM32.Button is procedure Initialize (Use_Rising_Edge : Boolean := True) with Pre => not Initialized, Post => Initialized; function Has_Been_Pressed return Boolean with Pre => Initialized; function Initialized return Boolean; end STM32.Button;
package Solar_System.Graphics is procedure Draw_Body (Object : Body_T; Canvas : Canvas_ID); end Solar_System.Graphics;
-- Copyright 2007-2019 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. package body Pck is procedure Do_Nothing (A : System.Address) is begin null; end Do_Nothing; end Pck;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015, AdaCore -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of STMicroelectronics nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- -- -- -- This file is based on: -- -- -- -- @file stm32f4xx_ll_fmc.c -- -- @author MCD Application Team -- -- @version V1.1.0 -- -- @date 19-June-2014 -- -- @brief FMC HAL module driver. -- -- -- -- COPYRIGHT(c) 2014 STMicroelectronics -- ------------------------------------------------------------------------------ with Ada.Unchecked_Conversion; with STM32_SVD.FMC; use STM32_SVD.FMC; package body STM32.FMC is -------------------- -- FMC_SDRAM_Init -- -------------------- procedure FMC_SDRAM_Init (SDRAM_Conf : FMC_SDRAM_Init_Config) is SDCR : SDCR_Register; begin SDCR := (RPIPE => FMC_SDRAM_Read_Pipe_Delay'Enum_Rep (SDRAM_Conf.ReadPipeDelay), RBURST => SDRAM_Conf.ReadBurst = FMC_Read_Burst_Single, SDCLK => FMC_SDRAM_Clock_Configuration'Enum_Rep (SDRAM_Conf.SDClockPeriod), WP => SDRAM_Conf.WriteProtection = FMC_Write_Protection_Enable, CAS => FMC_SDRAM_CAS_Latency'Enum_Rep (SDRAM_Conf.CASLatency), NB => SDRAM_Conf.InternalBankNumber = FMC_InternalBank_Number_4, MWID => FMC_SDRAM_Memory_Bus_Width'Enum_Rep (SDRAM_Conf.SDMemoryDataWidth), NR => FMC_SDRAM_Row_Address_Bits'Enum_Rep (SDRAM_Conf.RowBitsNumber), NC => FMC_SDRAM_Column_Address_Bits'Enum_Rep (SDRAM_Conf.ColumnBitsNumber), others => <>); case SDRAM_Conf.Bank is when FMC_Bank1_SDRAM => FMC_Periph.SDCR1 := SDCR; FMC_Periph.SDTR1 := (TRCD => UInt4 (SDRAM_Conf.Timing_Conf.RCDDelay - 1), TRP => UInt4 (SDRAM_Conf.Timing_Conf.RPDelay - 1), TWR => UInt4 (SDRAM_Conf.Timing_Conf.WriteRecoveryTime - 1), TRC => UInt4 (SDRAM_Conf.Timing_Conf.RowCycleDelay - 1), TRAS => UInt4 (SDRAM_Conf.Timing_Conf.SelfRefreshTime - 1), TXSR => UInt4 (SDRAM_Conf.Timing_Conf.ExitSelfRefreshDelay - 1), TMRD => UInt4 (SDRAM_Conf.Timing_Conf.LoadToActiveDelay - 1), others => <>); when FMC_Bank2_SDRAM => FMC_Periph.SDCR1 := (RPIPE => FMC_SDRAM_Read_Pipe_Delay'Enum_Rep (SDRAM_Conf.ReadPipeDelay), RBURST => SDRAM_Conf.ReadBurst = FMC_Read_Burst_Single, SDCLK => FMC_SDRAM_Clock_Configuration'Enum_Rep (SDRAM_Conf.SDClockPeriod), WP => False, CAS => 0, NB => False, MWID => 0, NR => 0, NC => 0, others => <>); FMC_Periph.SDCR2 := SDCR; -- The TRP and TRC timings are only configured in the FMC_SDTR1 -- register. FMC_Periph.SDTR1 := (TRCD => 0, TRP => UInt4 (SDRAM_Conf.Timing_Conf.RPDelay - 1), TWR => 0, TRC => UInt4 (SDRAM_Conf.Timing_Conf.RowCycleDelay - 1), TRAS => 0, TXSR => 0, TMRD => 0, others => <>); FMC_Periph.SDTR2 := (TRCD => 0, TRP => 0, -- Don't care TWR => UInt4 (SDRAM_Conf.Timing_Conf.WriteRecoveryTime - 1), TRC => 0, -- Don't care TRAS => UInt4 (SDRAM_Conf.Timing_Conf.SelfRefreshTime - 1), TXSR => UInt4 (SDRAM_Conf.Timing_Conf.ExitSelfRefreshDelay - 1), TMRD => UInt4 (SDRAM_Conf.Timing_Conf.LoadToActiveDelay - 1), others => <>); end case; end FMC_SDRAM_Init; ------------------- -- FMC_SDRAM_Cmd -- ------------------- procedure FMC_SDRAM_Cmd (Cmd : SDRAM_Command) is SDCMR : SDCMR_Register; function To_UInt14 is new Ada.Unchecked_Conversion (SDRAM_Mode_Register, UInt14); begin case Cmd.Mode is when FMC_Command_Mode_AutoRefresh => SDCMR.NRFS := FMC_SDRAM_Timing'Enum_Rep (Cmd.Auto_Refresh_Number); when FMC_Command_Mode_LoadMode => SDCMR.MRD := To_UInt14 (Cmd.Mode_Register); when others => null; end case; case Cmd.Target is when FMC_Bank1_SDRAM => SDCMR.CTB1 := True; SDCMR.CTB2 := False; when FMC_Bank2_SDRAM => SDCMR.CTB1 := False; SDCMR.CTB2 := True; when FMC_Banks_1_2_SDRAM => SDCMR.CTB1 := True; SDCMR.CTB2 := True; end case; SDCMR.MODE := FMC_SDRAM_Cmd_Mode'Enum_Rep (Cmd.Mode); FMC_Periph.SDCMR := SDCMR; end FMC_SDRAM_Cmd; -------------------- -- FMC_SDRAM_Busy -- -------------------- -- function FMC_SDRAM_Busy return Boolean -- is -- begin -- return FMC_Periph.SDSR.BUSY; -- end FMC_SDRAM_Busy; -------------------------- -- FMC_SDRAM_Get_Status -- -------------------------- function FMC_SDRAM_Get_Status (Bank : FMC_SDRAM_Bank_Type) return FMC_SDRAM_Status_Mode is Val : UInt2; begin case Bank is when FMC_Bank1_SDRAM => Val := FMC_Periph.SDSR.MODES.Arr (1); when FMC_Bank2_SDRAM => Val := FMC_Periph.SDSR.MODES.Arr (2); end case; return FMC_SDRAM_Status_Mode'Val (Val); end FMC_SDRAM_Get_Status; --------------------------- -- FMC_Set_Refresh_Count -- --------------------------- procedure FMC_Set_Refresh_Count (Cnt : UInt32) is begin FMC_Periph.SDRTR.COUNT := UInt13 (Cnt); end FMC_Set_Refresh_Count; end STM32.FMC;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This file is generated, don't edit it. ------------------------------------------------------------------------------ with AMF.Elements.Generic_Hash; function AMF.UML.Nodes.Hash is new AMF.Elements.Generic_Hash (UML_Node, UML_Node_Access);
procedure Character_Type is type char is new Character; begin null; end Character_Type;
-- AD7103C.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 CONSTANT FINE_DELTA IS DECLARED WITHIN THE -- PACKAGE SYSTEM, THAT ITS TYPE IS <UNIVERSAL_REAL>, AND THAT -- ITS VALUE IS STATIC. -- HISTORY: -- BCB 09/10/87 CREATED ORIGINAL TEST. WITH SYSTEM; WITH REPORT; USE REPORT; PROCEDURE AD7103C IS U_DELTA : CONSTANT := SYSTEM.FINE_DELTA; TYPE S_DELTA IS DELTA SYSTEM.FINE_DELTA RANGE -1.0 .. 1.0; BEGIN TEST ("AD7103C", "CHECK THAT THE CONSTANT FINE_DELTA IS " & "DECLARED WITHIN THE PACKAGE SYSTEM, THAT ITS " & "TYPE IS <UNIVERSAL_REAL>, AND THAT ITS " & "VALUE IS STATIC"); RESULT; END AD7103C;
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- -- -- Terminal_Interface.Curses.Forms.Field_Types.User -- -- -- -- B O D Y -- -- -- ------------------------------------------------------------------------------ -- Copyright (c) 1998-2008,2009 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: 2009/12/26 17:38:58 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Ada.Unchecked_Conversion; with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux; package body Terminal_Interface.Curses.Forms.Field_Types.User is procedure Set_Field_Type (Fld : Field; Typ : User_Defined_Field_Type) is function Allocate_Arg (T : User_Defined_Field_Type'Class) return Argument_Access; function Set_Fld_Type (F : Field := Fld; Cft : C_Field_Type := C_Generic_Type; Arg1 : Argument_Access) return C_Int; pragma Import (C, Set_Fld_Type, "set_field_type"); Res : Eti_Error; function Allocate_Arg (T : User_Defined_Field_Type'Class) return Argument_Access is Ptr : constant Field_Type_Access := new User_Defined_Field_Type'Class'(T); begin return new Argument'(Usr => System.Null_Address, Typ => Ptr, Cft => Null_Field_Type); end Allocate_Arg; begin Res := Set_Fld_Type (Arg1 => Allocate_Arg (Typ)); if Res /= E_Ok then Eti_Exception (Res); end if; end Set_Field_Type; pragma Warnings (Off); function To_Argument_Access is new Ada.Unchecked_Conversion (System.Address, Argument_Access); pragma Warnings (On); function Generic_Field_Check (Fld : Field; Usr : System.Address) return C_Int is Result : Boolean; Udf : constant User_Defined_Field_Type_Access := User_Defined_Field_Type_Access (To_Argument_Access (Usr).Typ); begin Result := Field_Check (Fld, Udf.all); return C_Int (Boolean'Pos (Result)); end Generic_Field_Check; function Generic_Char_Check (Ch : C_Int; Usr : System.Address) return C_Int is Result : Boolean; Udf : constant User_Defined_Field_Type_Access := User_Defined_Field_Type_Access (To_Argument_Access (Usr).Typ); begin Result := Character_Check (Character'Val (Ch), Udf.all); return C_Int (Boolean'Pos (Result)); end Generic_Char_Check; -- ----------------------------------------------------------------------- -- function C_Generic_Type return C_Field_Type is Res : Eti_Error; T : C_Field_Type; begin if M_Generic_Type = Null_Field_Type then T := New_Fieldtype (Generic_Field_Check'Access, Generic_Char_Check'Access); if T = Null_Field_Type then raise Form_Exception; else Res := Set_Fieldtype_Arg (T, Make_Arg'Access, Copy_Arg'Access, Free_Arg'Access); if Res /= E_Ok then Eti_Exception (Res); end if; end if; M_Generic_Type := T; end if; pragma Assert (M_Generic_Type /= Null_Field_Type); return M_Generic_Type; end C_Generic_Type; end Terminal_Interface.Curses.Forms.Field_Types.User;
with aIDE.Editor, AdaM.Entity, AdaM.a_Pragma, Gtk.Widget; private with Gtk.Button, Gtk.Window, Gtk.Frame; package aIDE.Palette.of_pragmas is type Item is new Palette.item with private; type View is access all Item'Class; -- Forge -- function to_source_entities_Palette return View; -- Attributes -- function top_Widget (Self : in Item) return gtk.Widget.Gtk_Widget; -- Operations -- type Filter is (declare_Region, begin_Region); procedure show (Self : in out Item; Invoked_by : in aIDE.Editor.view; -- Target : in AdaM.Source.Entities_view; -- Target : in AdaM.Entity.Entities_view; Target : in AdaM.a_Pragma.view; Allowed : in Filter); procedure freshen (Self : in out Item); private use gtk.Window, gtk.Frame, gtk.Button; type kind_Buttons is array (AdaM.a_Pragma.Kind) of gtk_Button; type Item is new Palette.item with record Invoked_by : aIDE.Editor.view; -- Target : AdaM.Source.Entities_View; Target : AdaM.a_Pragma.view; Top : gtk_Window; kind_Buttons : Palette.of_pragmas.kind_Buttons; -- all_calls_remote_Button : gtk_Button; -- assert_Button : gtk_Button; -- assertion_policy_Button : gtk_Button; -- asynchronous_Button : gtk_Button; -- atomic_Button : gtk_Button; -- atomic_components_Button : gtk_Button; -- attach_handler_Button : gtk_Button; -- convention_Button : gtk_Button; -- cpu_Button : gtk_Button; -- default_storage_pool_Button : gtk_Button; -- detect_blocking_Button : gtk_Button; -- discard_names_Button : gtk_Button; -- dispatching_domain_Button : gtk_Button; -- elaborate_Button : gtk_Button; -- elaborate_all_Button : gtk_Button; -- elaborate_body_Button : gtk_Button; -- export_Button : gtk_Button; -- import_Button : gtk_Button; -- independent_Button : gtk_Button; -- independent_components_Button : gtk_Button; -- inline_Button : gtk_Button; -- inspection_point_Button : gtk_Button; -- interrupt_handler_Button : gtk_Button; -- interrupt_priority_Button : gtk_Button; -- linker_options_Button : gtk_Button; -- list_Button : gtk_Button; -- locking_policy_Button : gtk_Button; -- no_return_Button : gtk_Button; -- normalize_scalars_Button : gtk_Button; -- optimize_Button : gtk_Button; -- pack_Button : gtk_Button; -- page_Button : gtk_Button; -- partition_elaboration_policy_Button : gtk_Button; -- preelaborable_initialization_Button : gtk_Button; -- preelaborate_Button : gtk_Button; -- priority_Button : gtk_Button; -- priority_specific_dispatching_Button : gtk_Button; -- profile_Button : gtk_Button; -- pure_Button : gtk_Button; -- queuing_policy_Button : gtk_Button; -- relative_deadline_Button : gtk_Button; -- remote_call_interface_Button : gtk_Button; -- remote_types_Button : gtk_Button; -- restrictions_Button : gtk_Button; -- reviewable_Button : gtk_Button; -- shared_passive_Button : gtk_Button; -- storage_size_Button : gtk_Button; -- suppress_Button : gtk_Button; -- task_dispatching_policy_Button : gtk_Button; -- unchecked_union_Button : gtk_Button; -- unsuppress_Button : gtk_Button; -- volatile_Button : gtk_Button; -- volatile_components_Button : gtk_Button; -- assertion_policy_2_Button : gtk_Button; new_type_Frame : gtk_Frame; raw_source_Button : Gtk_Button; comment_Button : Gtk_Button; enumeration_type_Button : Gtk_Button; close_Button : gtk_Button; end record; end aIDE.Palette.of_pragmas;
-- Copyright 2013-2016 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with Pck; use Pck; procedure Foo is begin while I <= 3 loop begin raise Constraint_Error; exception when others => null; end; I := I + 1; end loop; end Foo;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M -- -- -- -- S p e c -- -- (VXWORKS Version Alpha, Mips) -- -- -- -- $Revision$ -- -- -- Copyright (C) 1992-2001 Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- -- apply solely to the contents of the part following the private keyword. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, -- -- MA 02111-1307, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ package System is pragma Pure (System); -- Note that we take advantage of the implementation permission to -- make this unit Pure instead of Preelaborable, see RM 13.7(36) type Name is (SYSTEM_NAME_GNAT); System_Name : constant Name := SYSTEM_NAME_GNAT; -- System-Dependent Named Numbers Min_Int : constant := Long_Long_Integer'First; Max_Int : constant := Long_Long_Integer'Last; Max_Binary_Modulus : constant := 2 ** Long_Long_Integer'Size; Max_Nonbinary_Modulus : constant := Integer'Last; Max_Base_Digits : constant := Long_Long_Float'Digits; Max_Digits : constant := Long_Long_Float'Digits; Max_Mantissa : constant := 63; Fine_Delta : constant := 2.0 ** (-Max_Mantissa); Tick : constant := Standard'Tick; -- Storage-related Declarations type Address is private; Null_Address : constant Address; Storage_Unit : constant := Standard'Storage_Unit; Word_Size : constant := Standard'Word_Size; Memory_Size : constant := 2 ** Standard'Address_Size; -- Address comparison function "<" (Left, Right : Address) return Boolean; function "<=" (Left, Right : Address) return Boolean; function ">" (Left, Right : Address) return Boolean; function ">=" (Left, Right : Address) return Boolean; function "=" (Left, Right : Address) return Boolean; pragma Import (Intrinsic, "<"); pragma Import (Intrinsic, "<="); pragma Import (Intrinsic, ">"); pragma Import (Intrinsic, ">="); pragma Import (Intrinsic, "="); -- Other System-Dependent Declarations type Bit_Order is (High_Order_First, Low_Order_First); Default_Bit_Order : constant Bit_Order := Bit_Order'Val (Standard'Default_Bit_Order); -- Priority-related Declarations (RM D.1) -- 256 is reserved for the VxWorks kernel -- 248 - 255 correspond to hardware interrupt levels 0 .. 7 -- 247 is a catchall default "interrupt" priority for signals, allowing -- higher priority than normal tasks, but lower than hardware -- priority levels. Protected Object ceilings can override -- these values -- 246 is used by the Interrupt_Manager task Max_Priority : constant Positive := 245; Max_Interrupt_Priority : constant Positive := 255; subtype Any_Priority is Integer range 0 .. Standard'Max_Interrupt_Priority; subtype Priority is Any_Priority range 0 .. Standard'Max_Priority; -- Functional notation is needed in the following to avoid visibility -- problems when this package is compiled through rtsfind in the middle -- of another compilation. subtype Interrupt_Priority is Any_Priority range Standard."+" (Standard'Max_Priority, 1) .. Standard'Max_Interrupt_Priority; Default_Priority : constant Priority := Standard."/" (Standard."+" (Priority'First, Priority'Last), 2); private type Address is mod Memory_Size; Null_Address : constant Address := 0; -------------------------------------- -- System Implementation Parameters -- -------------------------------------- -- These parameters provide information about the target that is used -- by the compiler. They are in the private part of System, where they -- can be accessed using the special circuitry in the Targparm unit -- whose source should be consulted for more detailed descriptions -- of the individual switch values. AAMP : constant Boolean := False; Command_Line_Args : constant Boolean := False; Frontend_Layout : constant Boolean := False; Use_Ada_Main_Program_Name : constant Boolean := True; Stack_Check_Probes : constant Boolean := False; Stack_Check_Default : constant Boolean := False; Denorm : constant Boolean := False; Machine_Rounds : constant Boolean := True; Machine_Overflows : constant Boolean := False; OpenVMS : constant Boolean := False; Signed_Zeros : constant Boolean := True; Long_Shifts_Inlined : constant Boolean := False; High_Integrity_Mode : constant Boolean := False; Functions_Return_By_DSP : constant Boolean := False; ZCX_By_Default : constant Boolean := False; GCC_ZCX_Support : constant Boolean := False; Front_End_ZCX_Support : constant Boolean := False; end System;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . T A S K I N G . P R O T E C T E D _ O B J E C T S . -- -- M U L T I P R O C E S S O R S -- -- B o d y -- -- -- -- Copyright (C) 2010-2019, AdaCore -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNARL is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNARL was developed by the GNARL team at Florida State University. -- -- Extensive contributions were provided by Ada Core Technologies, Inc. -- -- -- ------------------------------------------------------------------------------ package body System.Tasking.Protected_Objects.Multiprocessors is ------------ -- Served -- ------------ procedure Served (Entry_Call : Entry_Call_Link) is pragma Unreferenced (Entry_Call); begin pragma Assert (False, "Invalid operation"); end Served; ------------------------- -- Wakeup_Served_Entry -- ------------------------- procedure Wakeup_Served_Entry is begin pragma Assert (False, "Invalid operation"); end Wakeup_Served_Entry; end System.Tasking.Protected_Objects.Multiprocessors;
-- Shoot'n'loot -- Copyright (c) 2020 Fabien Chouteau with PyGamer.Time; package Game is function Game_Loop (Time_In_Game : in out PyGamer.Time.Time_Ms) return Boolean; -- Return True if the player won the game, False for game-over end Game;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Web Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ package Web_Services.SOAP is pragma Pure; end Web_Services.SOAP;
with Ada.Text_IO; use Ada.Text_IO; procedure Test is T: Integer; procedure t is begin new_line; end; begin New_Line; end;
-- -- Copyright (C) 2021 Jeremy Grosser <jeremy@synack.me> -- -- SPDX-License-Identifier: BSD-3-Clause -- with HAL.Real_Time_Clock; use HAL.Real_Time_Clock; with HAL; package Text_Format is subtype Number_Base is Positive range 2 .. 16; function From_Natural (N : Natural; Base : Number_Base := 10) return String; function From_Integer (N : Integer; Base : Number_Base := 10) return String; procedure From_Natural (N : Natural; Str : out String); function ISO_Date (Date : RTC_Date; Year_Offset : Integer := 2000) return String; subtype ISO_Time_String is String (1 .. 8); function ISO_Time (Time : RTC_Time) return ISO_Time_String; function From_ISO_Time (Time : ISO_Time_String) return RTC_Time; function ISO_Date_Time (Date : RTC_Date; Time : RTC_Time; Year_Offset : Integer := 2000) return String; function From_Float (F : Float; Fore : Positive := 1; Aft : Positive := 3) return String; subtype Hex_String is String (1 .. 2); function Hex (Data : HAL.UInt8) return Hex_String; procedure Hex (Data : HAL.UInt8_Array; Str : out String); function Hex (Data : HAL.UInt8_Array) return String; function From_UInt8_Array (Data : HAL.UInt8_Array) return String; function To_UInt8_Array (S : String) return HAL.UInt8_Array; end Text_Format;
with Ada.Containers.Array_Sorting; with System.Long_Long_Integer_Types; package body Ada.Containers.Generic_Array_Types is subtype Word_Integer is System.Long_Long_Integer_Types.Word_Integer; -- implementation function Length (Container : Array_Type) return Count_Type is begin -- diff -- diff -- diff return Container'Length; -- diff end Length; -- diff (Set_Length) -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- procedure Assign (Target : in out Array_Type; Source : Array_Type) is begin Target := Source; -- diff -- diff -- diff -- diff -- diff end Assign; procedure Move ( Target : in out Array_Type; Source : in out Array_Type) is pragma Unmodified (Source); begin Assign (Target, Source); -- diff -- diff end Move; -- diff (Insert) -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- diff (Insert) -- -- -- -- -- -- -- -- -- -- -- -- -- -- diff (Insert) -- -- -- -- -- -- -- -- -- -- -- -- -- -- diff (Insert) -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- diff (Prepend) -- -- -- -- -- -- diff (Prepend) -- -- -- -- -- -- diff (Prepend) -- -- -- -- -- -- -- diff (Prepend) -- -- -- -- -- -- diff (Append) -- -- -- -- -- -- diff (Append) -- -- -- -- -- -- diff (Append) -- -- -- -- -- -- -- diff (Append) -- -- -- -- -- -- diff (Delete) -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- diff (Delete_First) -- -- -- -- -- -- diff (Delete_Last) -- -- -- -- -- procedure Swap (Container : in out Array_Type; I, J : Index_Type) is pragma Check (Pre, Check => (I in First_Index (Container) .. Last_Index (Container) and then J in First_Index (Container) .. Last_Index (Container)) or else raise Constraint_Error); -- diff begin if I /= J then declare Temp : constant Element_Type := Container (I); begin Container (I) := Container (J); Container (J) := Temp; end; end if; end Swap; function First_Index (Container : Array_Type) return Index_Type is begin -- diff -- diff -- diff return Container'First; -- diff end First_Index; function Last_Index (Container : Array_Type) return Extended_Index is begin -- diff -- diff -- diff return Container'Last; -- diff end Last_Index; package body Generic_Reversing is type Context_Type is limited record Container : not null access Array_Type; end record; pragma Suppress_Initialization (Context_Type); procedure Swap (I, J : Word_Integer; Params : System.Address); procedure Swap (I, J : Word_Integer; Params : System.Address) is Context : Context_Type; for Context'Address use Params; begin Swap (Context.Container.all, Index_Type'Val (I), Index_Type'Val (J)); end Swap; -- implementation procedure Reverse_Elements (Container : in out Array_Type) is pragma Unmodified (Container); Context : aliased Context_Type := (Container => Container'Unrestricted_Access); begin -- diff Array_Sorting.In_Place_Reverse ( Index_Type'Pos (Container'First), Index_Type'Pos (Container'Last), Context'Address, Swap => Swap'Access); -- diff end Reverse_Elements; procedure Reverse_Rotate_Elements ( Container : in out Array_Type; Before : Extended_Index) is pragma Check (Pre, Check => Before in First_Index (Container) .. Last_Index (Container) + 1 or else raise Constraint_Error); pragma Unmodified (Container); Context : aliased Context_Type := (Container => Container'Unrestricted_Access); begin -- diff Array_Sorting.Reverse_Rotate ( Index_Type'Pos (Container'First), Index_Type'Pos (Before), Index_Type'Pos (Container'Last), Context'Address, Swap => Swap'Access); -- diff end Reverse_Rotate_Elements; procedure Juggling_Rotate_Elements ( Container : in out Array_Type; Before : Extended_Index) is pragma Check (Pre, Check => Before in First_Index (Container) .. Last_Index (Container) + 1 or else raise Constraint_Error); pragma Unmodified (Container); Context : aliased Context_Type := (Container => Container'Unrestricted_Access); begin -- diff Array_Sorting.Juggling_Rotate ( Index_Type'Pos (Container'First), Index_Type'Pos (Before), Index_Type'Pos (Container'Last), Context'Address, Swap => Swap'Access); -- diff end Juggling_Rotate_Elements; end Generic_Reversing; package body Generic_Sorting is type Context_Type is limited record Container : not null access Array_Type; end record; pragma Suppress_Initialization (Context_Type); function LT (Left, Right : Word_Integer; Params : System.Address) return Boolean; function LT (Left, Right : Word_Integer; Params : System.Address) return Boolean is Context : Context_Type; for Context'Address use Params; begin return Context.Container (Index_Type'Val (Left)) < Context.Container (Index_Type'Val (Right)); end LT; procedure Swap (I, J : Word_Integer; Params : System.Address); procedure Swap (I, J : Word_Integer; Params : System.Address) is Context : Context_Type; for Context'Address use Params; begin Swap (Context.Container.all, Index_Type'Val (I), Index_Type'Val (J)); end Swap; -- implementation function Is_Sorted (Container : Array_Type) return Boolean is Context : aliased Context_Type := (Container => Container'Unrestricted_Access); begin -- diff return Array_Sorting.Is_Sorted ( Index_Type'Pos (Container'First), Index_Type'Pos (Container'Last), Context'Address, LT => LT'Access); end Is_Sorted; procedure Insertion_Sort (Container : in out Array_Type) is pragma Unmodified (Container); Context : aliased Context_Type := (Container => Container'Unrestricted_Access); begin -- diff Array_Sorting.Insertion_Sort ( Index_Type'Pos (Container'First), Index_Type'Pos (Container'Last), Context'Address, LT => LT'Access, Swap => Swap'Access); -- diff end Insertion_Sort; procedure Merge_Sort (Container : in out Array_Type) is pragma Unmodified (Container); Context : aliased Context_Type := (Container => Container'Unrestricted_Access); begin -- diff Array_Sorting.In_Place_Merge_Sort ( Index_Type'Pos (Container'First), Index_Type'Pos (Container'Last), Context'Address, LT => LT'Access, Swap => Swap'Access); -- diff end Merge_Sort; end Generic_Sorting; end Ada.Containers.Generic_Array_Types;
with Ada.Containers; use Ada.Containers; with Ada.Directories; use Ada.Directories; with Blueprint; use Blueprint; with AAA.Strings; use AAA.Strings; with Ada.Command_Line; with Templates_Parser; with Filesystem; with Commands; package body Commands.Deploy is ------------- -- Execute -- ------------- overriding procedure Execute (Cmd : in out Instance; Args : AAA.Strings.Vector) is begin null; end Execute; -------------------- -- Setup_Switches -- -------------------- overriding procedure Setup_Switches (Cmd : in out Instance; Config : in out CLIC.Subcommand.Switches_Configuration) is use CLIC.Subcommand; begin null; end Setup_Switches; end Commands.Deploy;
pragma License (Unrestricted); -- runtime unit with System.Unwind.Representation; package System.Unwind.Handling is pragma Preelaborate; -- hook for entering an exception handler (a-exexpr-gcc.adb) procedure Begin_Handler ( Machine_Occurrence : Representation.Machine_Occurrence_Access) with Export, Convention => C, External_Name => "__gnat_begin_handler"; -- hook for leaving an exception handler (a-exexpr-gcc.adb) procedure End_Handler ( Machine_Occurrence : Representation.Machine_Occurrence_Access) with Export, Convention => C, External_Name => "__gnat_end_handler"; -- when E : others (a-exexpr-gcc.adb) procedure Set_Exception_Parameter ( X : not null Exception_Occurrence_Access; Machine_Occurrence : not null Representation.Machine_Occurrence_Access) with Export, Convention => C, External_Name => "__gnat_set_exception_parameter"; end System.Unwind.Handling;
package body Ada.Environment_Encoding is -- implementation function Is_Open (Object : Converter) return Boolean is N_Object : System.Native_Environment_Encoding.Converter renames Controlled.Reference (Object).all; begin return System.Native_Environment_Encoding.Is_Open (N_Object); end Is_Open; function Min_Size_In_From_Stream_Elements ( Object : Converter) return Streams.Stream_Element_Offset is pragma Check (Dynamic_Predicate, Check => Is_Open (Object) or else raise Status_Error); N_Object : System.Native_Environment_Encoding.Converter renames Controlled.Reference (Object).all; begin return System.Native_Environment_Encoding .Min_Size_In_From_Stream_Elements_No_Check ( N_Object); end Min_Size_In_From_Stream_Elements; function Substitute ( Object : Converter) return Streams.Stream_Element_Array is pragma Check (Dynamic_Predicate, Check => Is_Open (Object) or else raise Status_Error); N_Object : System.Native_Environment_Encoding.Converter renames Controlled.Reference (Object).all; begin return System.Native_Environment_Encoding.Substitute_No_Check (N_Object); end Substitute; procedure Set_Substitute ( Object : in out Converter; Substitute : Streams.Stream_Element_Array) is pragma Check (Dynamic_Predicate, Check => Is_Open (Object) or else raise Status_Error); N_Object : System.Native_Environment_Encoding.Converter renames Controlled.Reference (Object).all; begin System.Native_Environment_Encoding.Set_Substitute_No_Check ( N_Object, Substitute); end Set_Substitute; procedure Convert ( Object : Converter; Item : Streams.Stream_Element_Array; Last : out Streams.Stream_Element_Offset; Out_Item : out Streams.Stream_Element_Array; Out_Last : out Streams.Stream_Element_Offset; Finish : Boolean; Status : out Subsequence_Status_Type) is pragma Check (Dynamic_Predicate, Check => Is_Open (Object) or else raise Status_Error); N_Object : System.Native_Environment_Encoding.Converter renames Controlled.Reference (Object).all; N_Status : System.Native_Environment_Encoding.Subsequence_Status_Type; begin System.Native_Environment_Encoding.Convert_No_Check ( N_Object, Item, Last, Out_Item, Out_Last, Finish, N_Status); Status := Subsequence_Status_Type'Enum_Val ( System.Native_Environment_Encoding.Subsequence_Status_Type'Enum_Rep ( N_Status)); end Convert; procedure Convert ( Object : Converter; Item : Streams.Stream_Element_Array; Last : out Streams.Stream_Element_Offset; Out_Item : out Streams.Stream_Element_Array; Out_Last : out Streams.Stream_Element_Offset; Status : out Continuing_Status_Type) is pragma Check (Dynamic_Predicate, Check => Is_Open (Object) or else raise Status_Error); N_Object : System.Native_Environment_Encoding.Converter renames Controlled.Reference (Object).all; N_Status : System.Native_Environment_Encoding.Continuing_Status_Type; begin System.Native_Environment_Encoding.Convert_No_Check ( N_Object, Item, Last, Out_Item, Out_Last, N_Status); Status := Continuing_Status_Type'Enum_Val ( System.Native_Environment_Encoding.Continuing_Status_Type'Enum_Rep ( N_Status)); end Convert; procedure Convert ( Object : Converter; Out_Item : out Streams.Stream_Element_Array; Out_Last : out Streams.Stream_Element_Offset; Finish : True_Only; Status : out Finishing_Status_Type) is pragma Check (Dynamic_Predicate, Check => Is_Open (Object) or else raise Status_Error); N_Object : System.Native_Environment_Encoding.Converter renames Controlled.Reference (Object).all; N_Status : System.Native_Environment_Encoding.Finishing_Status_Type; begin System.Native_Environment_Encoding.Convert_No_Check ( N_Object, Out_Item, Out_Last, Finish, N_Status); Status := Finishing_Status_Type'Enum_Val ( System.Native_Environment_Encoding.Finishing_Status_Type'Enum_Rep ( N_Status)); end Convert; procedure Convert ( Object : Converter; Item : Streams.Stream_Element_Array; Last : out Streams.Stream_Element_Offset; Out_Item : out Streams.Stream_Element_Array; Out_Last : out Streams.Stream_Element_Offset; Finish : True_Only; Status : out Status_Type) is Subsequence_Status : Subsequence_Status_Type; begin Convert ( Object, -- checking the predicate Item, Last, Out_Item, Out_Last, Finish, Subsequence_Status); pragma Assert ( Subsequence_Status in Subsequence_Status_Type (Status_Type'First) .. Subsequence_Status_Type (Status_Type'Last)); Status := Status_Type (Subsequence_Status); end Convert; procedure Convert ( Object : Converter; Item : Streams.Stream_Element_Array; Last : out Streams.Stream_Element_Offset; Out_Item : out Streams.Stream_Element_Array; Out_Last : out Streams.Stream_Element_Offset; Finish : True_Only; Status : out Substituting_Status_Type) is pragma Check (Dynamic_Predicate, Check => Is_Open (Object) or else raise Status_Error); N_Object : System.Native_Environment_Encoding.Converter renames Controlled.Reference (Object).all; N_Status : System.Native_Environment_Encoding.Substituting_Status_Type; begin System.Native_Environment_Encoding.Convert_No_Check ( N_Object, Item, Last, Out_Item, Out_Last, Finish, N_Status); Status := Substituting_Status_Type'Enum_Val ( System.Native_Environment_Encoding.Substituting_Status_Type'Enum_Rep ( N_Status)); end Convert; package body Controlled is function Reference (Object : Environment_Encoding.Converter) return not null access System.Native_Environment_Encoding.Converter is begin return Converter (Object).Data'Unrestricted_Access; end Reference; function Open (From, To : Encoding_Id) return Environment_Encoding.Converter is begin return Result : Environment_Encoding.Converter do System.Native_Environment_Encoding.Open ( Converter (Result).Data'Unrestricted_Access.all, From => System.Native_Environment_Encoding.Encoding_Id (From), To => System.Native_Environment_Encoding.Encoding_Id (To)); end return; end Open; overriding procedure Finalize (Object : in out Converter) is begin System.Native_Environment_Encoding.Close (Object.Data); end Finalize; end Controlled; end Ada.Environment_Encoding;
with Ada.Text_IO, Ada.Calendar, Ada.Numerics.Discrete_Random, Taszkseged; use Ada.Text_IO, Taszkseged; procedure Kocsma is Ajto: Taszkseged.Szemafor(4); procedure Belep renames Ajto.P; procedure Kilep renames Ajto.V; type Ital is (Sor, Bor, Palinka); task Kocsmaros is entry Tolt( Mit: in Ital ); end Kocsmaros; task body Kocsmaros is Toltes_Ido: constant array(Ital) of Duration := (1.0,0.5,0.2); Hazamegy: Boolean := False; begin while not Hazamegy loop select accept Tolt( Mit: in Ital ) do Put_Line("Töltök " & Ital'Image(Mit) & "t."); delay Toltes_Ido(Mit); --case Mit is -- when Sor => delay 1.0; -- when Bor => delay 0.5; -- when Palinka => delay 0.2; --end case; end Tolt; or delay 3.0; Hazamegy := True; end select; end loop; Put_Line("A kocsmáros hazamegy."); end Kocsmaros; type String_Access is access String; task type Reszeg is entry Start( Nev: in String_Access ); end Reszeg; task body Reszeg is Sor_Ivas: Duration := 2.0; Nevem: String_Access; Bejutottam: Boolean := False; begin accept Start( Nev: in String_Access ) do Nevem := Nev; end; Put_Line("Feltűnik egy részeg, " & Nevem.all & "."); while not Bejutottam loop select Ajto.P; --Belep; Bejutottam := True; else Put_Line("A részeg, " & Nevem.all & ", elmegy a parkba aludni egyet."); delay 1.2; end select; end loop; Put_Line("Részeg lépett be a kocsmába, " & Nevem.all & "."); Kocsmaros.Tolt(Palinka); delay 0.1; Kocsmaros.Tolt(Bor); delay 0.3; loop Kocsmaros.Tolt(Sor); delay Sor_Ivas; Sor_Ivas := 2*Sor_Ivas; end loop; exception when Tasking_Error => Put_Line("A részeg, " & Nevem.all & ", keres egy másik kocsmát."); Kilep; end Reszeg; Reszegek: array (1..10) of Reszeg; task type Egyetemista( Nev: String_Access; Mit_Iszik: Ital ); type Egyetemista_Access is access Egyetemista; task body Egyetemista is F: Float; begin Put_Line("Benéz egy egyetemista, " & Nev.all & "."); select Ajto.P; Kocsmaros.Tolt(Mit_Iszik); Veletlen.General(F); delay 0.1 + Duration(F); Put_Line(Nev.all & " hazamegy."); Kilep; or delay 1.1; Put_Line(Nev.all & " elmegy analí­zis előadásra."); end select; end Egyetemista; E: Egyetemista_Access; Eloadas: Ada.Calendar.Time := Ada.Calendar."+"( Ada.Calendar.Clock, 1.0 ); task Professzor; task body Professzor is begin Put_Line("Professzor: van egy kis iőm az előadásom elő‘tt."); select Ajto.P; Kocsmaros.Tolt(Palinka); delay 0.2; Put_Line("Professzor: Így könnyebb elviselni a hallgatókat."); Kilep; or delay until Eloadas; Put_Line("Professzor: megyek, mert elkések az analí­zis előadásról."); end select; end Professzor; package Ital_Random is new Ada.Numerics.Discrete_Random(Ital); G: Ital_Random.Generator; F: Float; begin Ital_Random.Reset(G); for I in Reszegek'Range loop E := new Egyetemista( new String'("E-" & Integer'Image(I)), Ital_Random.Random(G) ); Reszegek(I).Start( new String'("R-" & Integer'Image(I)) ); Veletlen.General(F); delay Duration(0.9 + F/5.0); end loop; end Kocsma;
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ADA.CONTAINERS.RED_BLACK_TREES.GENERIC_OPERATIONS -- -- -- -- S p e c -- -- -- -- Copyright (C) 2004-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. -- -- -- -- -- -- -- -- -- -- -- -- 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. -- ------------------------------------------------------------------------------ -- Tree_Type is used to implement the ordered containers. This package -- declares the tree operations that do not depend on keys. with Ada.Streams; use Ada.Streams; generic with package Tree_Types is new Generic_Tree_Types (<>); use Tree_Types; with function Parent (Node : Node_Access) return Node_Access is <>; with procedure Set_Parent (Node : Node_Access; Parent : Node_Access) is <>; with function Left (Node : Node_Access) return Node_Access is <>; with procedure Set_Left (Node : Node_Access; Left : Node_Access) is <>; with function Right (Node : Node_Access) return Node_Access is <>; with procedure Set_Right (Node : Node_Access; Right : Node_Access) is <>; with function Color (Node : Node_Access) return Color_Type is <>; with procedure Set_Color (Node : Node_Access; Color : Color_Type) is <>; package Ada.Containers.Red_Black_Trees.Generic_Operations is pragma Pure; function Min (Node : Node_Access) return Node_Access; -- Returns the smallest-valued node of the subtree rooted at Node function Max (Node : Node_Access) return Node_Access; -- Returns the largest-valued node of the subtree rooted at Node -- NOTE: The Check_Invariant operation was used during early -- development of the red-black tree. Now that the tree type -- implementation has matured, we don't really need Check_Invariant -- anymore. -- procedure Check_Invariant (Tree : Tree_Type); function Vet (Tree : Tree_Type; Node : Node_Access) return Boolean; -- Inspects Node to determine (to the extent possible) whether -- the node is valid; used to detect if the node is dangling. function Next (Node : Node_Access) return Node_Access; -- Returns the smallest node greater than Node function Previous (Node : Node_Access) return Node_Access; -- Returns the largest node less than Node generic with function Is_Equal (L, R : Node_Access) return Boolean; function Generic_Equal (Left, Right : Tree_Type) return Boolean; -- Uses Is_Equal to perform a node-by-node comparison of the -- Left and Right trees; processing stops as soon as the first -- non-equal node is found. procedure Delete_Node_Sans_Free (Tree : in out Tree_Type; Node : Node_Access); -- Removes Node from Tree without deallocating the node. If Tree -- is busy then Program_Error is raised. generic with procedure Free (X : in out Node_Access); procedure Generic_Delete_Tree (X : in out Node_Access); -- Deallocates the tree rooted at X, calling Free on each node generic with function Copy_Node (Source : Node_Access) return Node_Access; with procedure Delete_Tree (X : in out Node_Access); function Generic_Copy_Tree (Source_Root : Node_Access) return Node_Access; -- Copies the tree rooted at Source_Root, using Copy_Node to copy each -- node of the source tree. If Copy_Node propagates an exception -- (e.g. Storage_Error), then Delete_Tree is first used to deallocate -- the target tree, and then the exception is propagated. generic with function Copy_Tree (Root : Node_Access) return Node_Access; procedure Generic_Adjust (Tree : in out Tree_Type); -- Used to implement controlled Adjust. On input to Generic_Adjust, Tree -- holds a bitwise (shallow) copy of the source tree (as would be the case -- when controlled Adjust is called). On output, Tree holds its own (deep) -- copy of the source tree, which is constructed by calling Copy_Tree. generic with procedure Delete_Tree (X : in out Node_Access); procedure Generic_Clear (Tree : in out Tree_Type); -- Clears Tree by deallocating all of its nodes. If Tree is busy then -- Program_Error is raised. generic with procedure Clear (Tree : in out Tree_Type); procedure Generic_Move (Target, Source : in out Tree_Type); -- Moves the tree belonging to Source onto Target. If Source is busy then -- Program_Error is raised. Otherwise Target is first cleared (by calling -- Clear, to deallocate its existing tree), then given the Source tree, and -- then finally Source is cleared (by setting its pointers to null). generic with procedure Process (Node : Node_Access) is <>; procedure Generic_Iteration (Tree : Tree_Type); -- Calls Process for each node in Tree, in order from smallest-valued -- node to largest-valued node. generic with procedure Process (Node : Node_Access) is <>; procedure Generic_Reverse_Iteration (Tree : Tree_Type); -- Calls Process for each node in Tree, in order from largest-valued -- node to smallest-valued node. generic with procedure Write_Node (Stream : not null access Root_Stream_Type'Class; Node : Node_Access); procedure Generic_Write (Stream : not null access Root_Stream_Type'Class; Tree : Tree_Type); -- Used to implement stream attribute T'Write. Generic_Write -- first writes the number of nodes into Stream, then calls -- Write_Node for each node in Tree. generic with procedure Clear (Tree : in out Tree_Type); with function Read_Node (Stream : not null access Root_Stream_Type'Class) return Node_Access; procedure Generic_Read (Stream : not null access Root_Stream_Type'Class; Tree : in out Tree_Type); -- Used to implement stream attribute T'Read. Generic_Read -- first clears Tree. It then reads the number of nodes out of -- Stream, and calls Read_Node for each node in Stream. procedure Rebalance_For_Insert (Tree : in out Tree_Type; Node : Node_Access); -- This rebalances Tree to complete the insertion of Node (which -- must already be linked in at its proper insertion position). end Ada.Containers.Red_Black_Trees.Generic_Operations;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Web Framework -- -- -- -- Testsuite Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ with League.Strings; private with XML.SAX.Attributes; with Web_Services.SOAP.Payloads.Decoders; package SOAPConf.Decoders is type Test_Payload_Decoder is limited new Web_Services.SOAP.Payloads.Decoders.SOAP_Payload_Decoder with private; private type Test_Payload_Decoder is limited new Web_Services.SOAP.Payloads.Decoders.SOAP_Payload_Decoder with record Collect : Boolean := False; Text : League.Strings.Universal_String; Payload : Web_Services.SOAP.Payloads.SOAP_Payload_Access; end record; overriding function Create (URI : not null access League.Strings.Universal_String) return Test_Payload_Decoder; overriding procedure Characters (Self : in out Test_Payload_Decoder; Text : League.Strings.Universal_String; Success : in out Boolean); overriding function Payload (Self : Test_Payload_Decoder) return not null Web_Services.SOAP.Payloads.SOAP_Payload_Access; overriding procedure End_Element (Self : in out Test_Payload_Decoder; Namespace_URI : League.Strings.Universal_String; Local_Name : League.Strings.Universal_String; Success : in out Boolean); overriding procedure Start_Element (Self : in out Test_Payload_Decoder; Namespace_URI : League.Strings.Universal_String; Local_Name : League.Strings.Universal_String; Attributes : XML.SAX.Attributes.SAX_Attributes; Success : in out Boolean); end SOAPConf.Decoders;
----------------------------------------------------------------------- -- widgets-factory -- Factory for widget Components -- Copyright (C) 2013, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with ASF.Factory; package ASF.Components.Widgets.Factory is -- Register the widget component factory. procedure Register (Factory : in out ASF.Factory.Component_Factory); end ASF.Components.Widgets.Factory;
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="14"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>linebuffer_Block_pr</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>in_stream_V_value_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>stream&amp;lt;PackedStencil&amp;lt;int, 1, 1, 1, 1&amp;gt; &amp;gt;.V.value.V</originalName> <rtlName></rtlName> <coreName>FIFO_SRL</coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>out_stream_V_value_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>stream&amp;lt;PackedStencil&amp;lt;int, 2, 2, 1, 1&amp;gt; &amp;gt;.V.value.V</originalName> <rtlName></rtlName> <coreName>FIFO_SRL</coreName> </Obj> <bitwidth>128</bitwidth> </Value> <direction>1</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>46</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_3"> <Value> <Obj> <type>0</type> <id>3</id> <name>buffer_1_1_value_V_4</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>buffer[1][1].value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>66</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_4"> <Value> <Obj> <type>0</type> <id>4</id> <name>buffer_1_1_value_V_9</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>buffer[1][1].value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>67</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>5</id> <name>buffer_1_1_value_V_10</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>buffer[1][1].value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>68</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>6</id> <name>buffer_1_1_value_V_11</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>buffer[1][1].value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>69</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>12</id> <name></name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>349</lineNumber> <contextFuncName>call</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="11" tracking_level="0" version="0"> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</first> <second class_id="12" tracking_level="0" version="0"> <count>5</count> <item_version>0</item_version> <item class_id="13" tracking_level="0" version="0"> <first class_id="14" tracking_level="0" version="0"> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>349</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</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>70</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>14</id> <name>indvar_flatten</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>140</item> <item>141</item> <item>142</item> <item>143</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>15</id> <name>idx_1_0_i_i_i_i</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>350</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>350</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>144</item> <item>145</item> <item>146</item> <item>147</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>16</id> <name>idx_0_0_i_i_i_i</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>idx_0</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>148</item> <item>149</item> <item>150</item> <item>151</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>17</id> <name>exitcond_flatten</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>152</item> <item>154</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>18</id> <name>indvar_flatten_next</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>155</item> <item>157</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>19</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>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="_14"> <Value> <Obj> <type>0</type> <id>21</id> <name>buffer_1_1_value_V_13</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>71</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>22</id> <name>buffer_1_1_value_V_14</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>72</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>23</id> <name>buffer_1_1_value_V_15</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>73</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>24</id> <name>buffer_1_1_value_V_16</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>74</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>26</id> <name>tmp_1</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>350</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>350</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>75</item> <item>77</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>27</id> <name>idx_0_0_i_i_i_i_mid2</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>350</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>350</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>78</item> <item>80</item> <item>81</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>28</id> <name>tmp_7_mid1</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>358</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>358</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>82</item> <item>83</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>29</id> <name>tmp_4</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>358</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>358</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>84</item> <item>86</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>30</id> <name>tmp_7_mid2</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>358</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>358</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>87</item> <item>88</item> <item>89</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>31</id> <name>idx_s</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>349</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>349</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>90</item> <item>91</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>32</id> <name>idx_1_0_i_i_i_i_t_mi</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>350</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>350</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>92</item> <item>93</item> <item>94</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>33</id> <name>tmp</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>350</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>350</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>95</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>36</id> <name>tmp_value_V_1</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>354</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>354</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>97</item> <item>98</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>37</id> <name>tmp_5</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>350</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>350</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>99</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>38</id> <name>buffer_1_1_value_V_1</name> <fileName>../../../lib_files/Stencil.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>6</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>356</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> <item> <first> <first>../../../lib_files/Stencil.h</first> <second>operator=</second> </first> <second>75</second> </item> </second> </item> </inlineStackInfo> <originalName>buffer[1][1].value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>100</item> <item>101</item> <item>102</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>39</id> <name>buffer_1_1_value_V_2</name> <fileName>../../../lib_files/Stencil.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>6</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>356</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> <item> <first> <first>../../../lib_files/Stencil.h</first> <second>operator=</second> </first> <second>75</second> </item> </second> </item> </inlineStackInfo> <originalName>buffer[1][1].value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>103</item> <item>104</item> <item>105</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>40</id> <name>buffer_1_1_value_V</name> <fileName>../../../lib_files/Stencil.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>6</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>356</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> <item> <first> <first>../../../lib_files/Stencil.h</first> <second>operator=</second> </first> <second>75</second> </item> </second> </item> </inlineStackInfo> <originalName>buffer[1][1].value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>106</item> <item>107</item> <item>108</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>41</id> <name>buffer_1_1_value_V_3</name> <fileName>../../../lib_files/Stencil.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>6</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>356</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> <item> <first> <first>../../../lib_files/Stencil.h</first> <second>operator=</second> </first> <second>75</second> </item> </second> </item> </inlineStackInfo> <originalName>buffer[1][1].value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>109</item> <item>110</item> <item>111</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>42</id> <name>buffer_1_1_value_V_5</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>350</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>350</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName>buffer[1][1].value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>112</item> <item>113</item> <item>114</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>43</id> <name>buffer_1_1_value_V_6</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>350</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>350</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName>buffer[1][1].value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>115</item> <item>116</item> <item>117</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>44</id> <name>buffer_1_1_value_V_7</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>350</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>350</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName>buffer[1][1].value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>118</item> <item>119</item> <item>120</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>45</id> <name>buffer_1_1_value_V_8</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>350</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>350</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName>buffer[1][1].value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>121</item> <item>122</item> <item>123</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>46</id> <name>tmp_s</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>358</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>358</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>124</item> <item>125</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>47</id> <name>or_cond_i_i_i_i</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>358</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>358</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>126</item> <item>127</item> </oprand_edges> <opcode>and</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>48</id> <name></name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>350</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>350</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>128</item> <item>129</item> <item>274</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>49</id> <name></name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>350</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>350</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>130</item> <item>131</item> <item>275</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>50</id> <name></name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>350</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>350</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>132</item> <item>133</item> <item>276</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>51</id> <name></name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>350</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>350</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>134</item> <item>135</item> <item>277</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>52</id> <name></name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>358</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>358</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>136</item> <item>137</item> <item>138</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>54</id> <name>tmp_value_V</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>369</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>369</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>128</bitwidth> </Value> <oprand_edges> <count>5</count> <item_version>0</item_version> <item>165</item> <item>166</item> <item>167</item> <item>168</item> <item>169</item> </oprand_edges> <opcode>bitconcatenate</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_44"> <Value> <Obj> <type>0</type> <id>55</id> <name></name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>371</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>371</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>171</item> <item>172</item> <item>173</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>56</id> <name></name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>372</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>372</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</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>174</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_46"> <Value> <Obj> <type>0</type> <id>59</id> <name>idx_0</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>350</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>350</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName>idx_0</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>161</item> <item>162</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_47"> <Value> <Obj> <type>0</type> <id>60</id> <name></name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d_b2b</fileDirectory> <lineNumber>350</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/paper_apps_8_shifts/conv2d_b2b</first> <second> <count>5</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>call</second> </first> <second>350</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>530</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_2D&amp;lt;2, 2, 1, 1, 1, 1, 2, 2, int&amp;gt;</second> </first> <second>403</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_3D&amp;lt;2, 2, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>492</second> </item> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer_4D&amp;lt;2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, int&amp;gt;</second> </first> <second>505</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>163</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_48"> <Value> <Obj> <type>0</type> <id>63</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <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>7</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_49"> <Value> <Obj> <type>2</type> <id>65</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_50"> <Value> <Obj> <type>2</type> <id>76</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <const_type>0</const_type> <content>2</content> </item> <item class_id_reference="16" object_id="_51"> <Value> <Obj> <type>2</type> <id>79</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_52"> <Value> <Obj> <type>2</type> <id>85</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</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>139</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_54"> <Value> <Obj> <type>2</type> <id>153</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <const_type>0</const_type> <content>4</content> </item> <item class_id_reference="16" object_id="_55"> <Value> <Obj> <type>2</type> <id>156</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_56"> <Obj> <type>3</type> <id>13</id> <name>newFuncRoot</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>5</count> <item_version>0</item_version> <item>3</item> <item>4</item> <item>5</item> <item>6</item> <item>12</item> </node_objs> </item> <item class_id_reference="18" object_id="_57"> <Obj> <type>3</type> <id>20</id> <name>.preheader23.i.i.i.i</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>6</count> <item_version>0</item_version> <item>14</item> <item>15</item> <item>16</item> <item>17</item> <item>18</item> <item>19</item> </node_objs> </item> <item class_id_reference="18" object_id="_58"> <Obj> <type>3</type> <id>53</id> <name>.preheader23.preheader.i.i.i.i</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>29</count> <item_version>0</item_version> <item>21</item> <item>22</item> <item>23</item> <item>24</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>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> </node_objs> </item> <item class_id_reference="18" object_id="_59"> <Obj> <type>3</type> <id>57</id> <name>.preheader22.i.i.i.i.preheader.0</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>3</count> <item_version>0</item_version> <item>54</item> <item>55</item> <item>56</item> </node_objs> </item> <item class_id_reference="18" object_id="_60"> <Obj> <type>3</type> <id>61</id> <name>._crit_edge.i.i.i.i</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>2</count> <item_version>0</item_version> <item>59</item> <item>60</item> </node_objs> </item> <item class_id_reference="18" object_id="_61"> <Obj> <type>3</type> <id>64</id> <name>linebuffer_4D&lt;2ul, 2ul, 1ul, 1ul, 1ul, 1ul, 1ul, 2ul, 2ul, 1ul, 1ul, int&gt;.exit</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>63</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>108</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_62"> <id>66</id> <edge_type>1</edge_type> <source_obj>65</source_obj> <sink_obj>3</sink_obj> </item> <item class_id_reference="20" object_id="_63"> <id>67</id> <edge_type>1</edge_type> <source_obj>65</source_obj> <sink_obj>4</sink_obj> </item> <item class_id_reference="20" object_id="_64"> <id>68</id> <edge_type>1</edge_type> <source_obj>65</source_obj> <sink_obj>5</sink_obj> </item> <item class_id_reference="20" object_id="_65"> <id>69</id> <edge_type>1</edge_type> <source_obj>65</source_obj> <sink_obj>6</sink_obj> </item> <item class_id_reference="20" object_id="_66"> <id>70</id> <edge_type>2</edge_type> <source_obj>20</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_67"> <id>71</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_68"> <id>72</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_69"> <id>73</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_70"> <id>74</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_71"> <id>75</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_72"> <id>77</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_73"> <id>78</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_74"> <id>80</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_75"> <id>81</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_76"> <id>82</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_77"> <id>83</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_78"> <id>84</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_79"> <id>86</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_80"> <id>87</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_81"> <id>88</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_82"> <id>89</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_83"> <id>90</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>31</sink_obj> </item> <item class_id_reference="20" object_id="_84"> <id>91</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>31</sink_obj> </item> <item class_id_reference="20" object_id="_85"> <id>92</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>32</sink_obj> </item> <item class_id_reference="20" object_id="_86"> <id>93</id> <edge_type>1</edge_type> <source_obj>31</source_obj> <sink_obj>32</sink_obj> </item> <item class_id_reference="20" object_id="_87"> <id>94</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>32</sink_obj> </item> <item class_id_reference="20" object_id="_88"> <id>95</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_89"> <id>98</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_90"> <id>99</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_91"> <id>100</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_92"> <id>101</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_93"> <id>102</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_94"> <id>103</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_95"> <id>104</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_96"> <id>105</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_97"> <id>106</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>40</sink_obj> </item> <item class_id_reference="20" object_id="_98"> <id>107</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>40</sink_obj> </item> <item class_id_reference="20" object_id="_99"> <id>108</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>40</sink_obj> </item> <item class_id_reference="20" object_id="_100"> <id>109</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_101"> <id>110</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_102"> <id>111</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_103"> <id>112</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>42</sink_obj> </item> <item class_id_reference="20" object_id="_104"> <id>113</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>42</sink_obj> </item> <item class_id_reference="20" object_id="_105"> <id>114</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>42</sink_obj> </item> <item class_id_reference="20" object_id="_106"> <id>115</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_107"> <id>116</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_108"> <id>117</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_109"> <id>118</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_110"> <id>119</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_111"> <id>120</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_112"> <id>121</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>45</sink_obj> </item> <item class_id_reference="20" object_id="_113"> <id>122</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>45</sink_obj> </item> <item class_id_reference="20" object_id="_114"> <id>123</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>45</sink_obj> </item> <item class_id_reference="20" object_id="_115"> <id>124</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>46</sink_obj> </item> <item class_id_reference="20" object_id="_116"> <id>125</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>46</sink_obj> </item> <item class_id_reference="20" object_id="_117"> <id>126</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>47</sink_obj> </item> <item class_id_reference="20" object_id="_118"> <id>127</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>47</sink_obj> </item> <item class_id_reference="20" object_id="_119"> <id>128</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_120"> <id>129</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_121"> <id>130</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>49</sink_obj> </item> <item class_id_reference="20" object_id="_122"> <id>131</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>49</sink_obj> </item> <item class_id_reference="20" object_id="_123"> <id>132</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_124"> <id>133</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_125"> <id>134</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>51</sink_obj> </item> <item class_id_reference="20" object_id="_126"> <id>135</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>51</sink_obj> </item> <item class_id_reference="20" object_id="_127"> <id>136</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>52</sink_obj> </item> <item class_id_reference="20" object_id="_128"> <id>137</id> <edge_type>2</edge_type> <source_obj>61</source_obj> <sink_obj>52</sink_obj> </item> <item class_id_reference="20" object_id="_129"> <id>138</id> <edge_type>2</edge_type> <source_obj>57</source_obj> <sink_obj>52</sink_obj> </item> <item class_id_reference="20" object_id="_130"> <id>140</id> <edge_type>1</edge_type> <source_obj>139</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_131"> <id>141</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_132"> <id>142</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_133"> <id>143</id> <edge_type>2</edge_type> <source_obj>61</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_134"> <id>144</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="20" object_id="_135"> <id>145</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="20" object_id="_136"> <id>146</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="20" object_id="_137"> <id>147</id> <edge_type>2</edge_type> <source_obj>61</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="20" object_id="_138"> <id>148</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_139"> <id>149</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_140"> <id>150</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_141"> <id>151</id> <edge_type>2</edge_type> <source_obj>61</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_142"> <id>152</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_143"> <id>154</id> <edge_type>1</edge_type> <source_obj>153</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_144"> <id>155</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_145"> <id>157</id> <edge_type>1</edge_type> <source_obj>156</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_146"> <id>158</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_147"> <id>159</id> <edge_type>2</edge_type> <source_obj>53</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_148"> <id>160</id> <edge_type>2</edge_type> <source_obj>64</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_149"> <id>161</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>59</sink_obj> </item> <item class_id_reference="20" object_id="_150"> <id>162</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>59</sink_obj> </item> <item class_id_reference="20" object_id="_151"> <id>163</id> <edge_type>2</edge_type> <source_obj>20</source_obj> <sink_obj>60</sink_obj> </item> <item class_id_reference="20" object_id="_152"> <id>166</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>54</sink_obj> </item> <item class_id_reference="20" object_id="_153"> <id>167</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>54</sink_obj> </item> <item class_id_reference="20" object_id="_154"> <id>168</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>54</sink_obj> </item> <item class_id_reference="20" object_id="_155"> <id>169</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>54</sink_obj> </item> <item class_id_reference="20" object_id="_156"> <id>172</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>55</sink_obj> </item> <item class_id_reference="20" object_id="_157"> <id>173</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>55</sink_obj> </item> <item class_id_reference="20" object_id="_158"> <id>174</id> <edge_type>2</edge_type> <source_obj>61</source_obj> <sink_obj>56</sink_obj> </item> <item class_id_reference="20" object_id="_159"> <id>267</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_160"> <id>268</id> <edge_type>2</edge_type> <source_obj>20</source_obj> <sink_obj>64</sink_obj> </item> <item class_id_reference="20" object_id="_161"> <id>269</id> <edge_type>2</edge_type> <source_obj>20</source_obj> <sink_obj>53</sink_obj> </item> <item class_id_reference="20" object_id="_162"> <id>270</id> <edge_type>2</edge_type> <source_obj>53</source_obj> <sink_obj>57</sink_obj> </item> <item class_id_reference="20" object_id="_163"> <id>271</id> <edge_type>2</edge_type> <source_obj>53</source_obj> <sink_obj>61</sink_obj> </item> <item class_id_reference="20" object_id="_164"> <id>272</id> <edge_type>2</edge_type> <source_obj>57</source_obj> <sink_obj>61</sink_obj> </item> <item class_id_reference="20" object_id="_165"> <id>273</id> <edge_type>2</edge_type> <source_obj>61</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_166"> <id>274</id> <edge_type>4</edge_type> <source_obj>24</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_167"> <id>275</id> <edge_type>4</edge_type> <source_obj>23</source_obj> <sink_obj>49</sink_obj> </item> <item class_id_reference="20" object_id="_168"> <id>276</id> <edge_type>4</edge_type> <source_obj>22</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_169"> <id>277</id> <edge_type>4</edge_type> <source_obj>21</source_obj> <sink_obj>51</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_170"> <mId>1</mId> <mTag>linebuffer_Block__pr</mTag> <mType>0</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>4</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>7</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_171"> <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>13</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_172"> <mId>3</mId> <mTag>Loop 1</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>4</count> <item_version>0</item_version> <item>20</item> <item>53</item> <item>57</item> <item>61</item> </basic_blocks> <mII>1</mII> <mDepth>3</mDepth> <mMinTripCount>4</mMinTripCount> <mMaxTripCount>4</mMaxTripCount> <mMinLatency>5</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_173"> <mId>4</mId> <mTag>Return</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>64</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_174"> <states class_id="25" tracking_level="0" version="0"> <count>5</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_175"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_176"> <id>3</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_177"> <id>4</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_178"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_179"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_180"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_181"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_182"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_183"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_184"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_185"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_186"> <id>2</id> <operations> <count>10</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_187"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_188"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_189"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_190"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_191"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_192"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_193"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_194"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_195"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_196"> <id>59</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_197"> <id>3</id> <operations> <count>10</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_198"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_199"> <id>29</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_200"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_201"> <id>31</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_202"> <id>32</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_203"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_204"> <id>36</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_205"> <id>46</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_206"> <id>47</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_207"> <id>52</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_208"> <id>4</id> <operations> <count>24</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_209"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_210"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_211"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_212"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_213"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_214"> <id>34</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_215"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_216"> <id>38</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_217"> <id>39</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_218"> <id>40</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_219"> <id>41</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_220"> <id>42</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_221"> <id>43</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_222"> <id>44</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_223"> <id>45</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_224"> <id>48</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_225"> <id>49</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_226"> <id>50</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_227"> <id>51</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_228"> <id>54</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_229"> <id>55</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_230"> <id>56</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_231"> <id>58</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_232"> <id>60</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_233"> <id>5</id> <operations> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_234"> <id>62</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_235"> <id>63</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>5</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_236"> <inState>1</inState> <outState>2</outState> <condition class_id="31" tracking_level="0" version="0"> <id>44</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="_237"> <inState>3</inState> <outState>4</outState> <condition> <id>55</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="_238"> <inState>4</inState> <outState>2</outState> <condition> <id>56</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="_239"> <inState>2</inState> <outState>5</outState> <condition> <id>54</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>17</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_240"> <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> <first> <first>17</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="-1"></res> <node_label_latency class_id="37" tracking_level="0" version="0"> <count>46</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>3</first> <second class_id="39" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>4</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>5</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>6</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>14</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>15</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>16</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>18</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>23</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>24</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>31</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>32</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>36</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>42</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>43</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>44</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>45</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>46</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>47</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>49</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>50</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>51</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>52</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>54</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>55</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>56</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>59</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>60</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>63</first> <second> <first>2</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="40" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="41" tracking_level="0" version="0"> <first>13</first> <second class_id="42" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>53</first> <second> <first>1</first> <second>3</second> </second> </item> <item> <first>57</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>61</first> <second> <first>1</first> <second>3</second> </second> </item> <item> <first>64</first> <second> <first>2</first> <second>2</second> </second> </item> </bblk_ent_exit> <regions class_id="43" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="44" tracking_level="1" version="0" object_id="_241"> <region_name>Loop 1</region_name> <basic_blocks> <count>4</count> <item_version>0</item_version> <item>20</item> <item>53</item> <item>57</item> <item>61</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="45" tracking_level="0" version="0"> <count>40</count> <item_version>0</item_version> <item class_id="46" tracking_level="0" version="0"> <first>56</first> <second> <count>1</count> <item_version>0</item_version> <item>3</item> </second> </item> <item> <first>60</first> <second> <count>1</count> <item_version>0</item_version> <item>4</item> </second> </item> <item> <first>64</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>68</first> <second> <count>1</count> <item_version>0</item_version> <item>6</item> </second> </item> <item> <first>72</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>78</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>89</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>100</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>112</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>119</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>125</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>131</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>137</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>145</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>149</first> <second> <count>1</count> <item_version>0</item_version> <item>59</item> </second> </item> <item> <first>155</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>161</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>167</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>174</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>180</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>187</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>191</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>196</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>202</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>205</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>208</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>211</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>214</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>220</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>226</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>232</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>238</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>245</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>252</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>259</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>266</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>49</item> </second> </item> <item> <first>276</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>281</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>286</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="48" tracking_level="0" version="0"> <count>30</count> <item_version>0</item_version> <item class_id="49" tracking_level="0" version="0"> <first>buffer_1_1_value_V_10_fu_64</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>buffer_1_1_value_V_11_fu_68</first> <second> <count>1</count> <item_version>0</item_version> <item>6</item> </second> </item> <item> <first>buffer_1_1_value_V_1_fu_214</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>buffer_1_1_value_V_2_fu_220</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>buffer_1_1_value_V_3_fu_232</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>buffer_1_1_value_V_4_fu_56</first> <second> <count>1</count> <item_version>0</item_version> <item>3</item> </second> </item> <item> <first>buffer_1_1_value_V_5_fu_238</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>buffer_1_1_value_V_6_fu_245</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>buffer_1_1_value_V_7_fu_252</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>buffer_1_1_value_V_8_fu_259</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>buffer_1_1_value_V_9_fu_60</first> <second> <count>1</count> <item_version>0</item_version> <item>4</item> </second> </item> <item> <first>buffer_1_1_value_V_fu_226</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>exitcond_flatten_fu_119</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>idx_0_0_i_i_i_i_mid2_fu_137</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>idx_0_0_i_i_i_i_phi_fu_112</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>idx_0_fu_149</first> <second> <count>1</count> <item_version>0</item_version> <item>59</item> </second> </item> <item> <first>idx_1_0_i_i_i_i_phi_fu_100</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>idx_1_0_i_i_i_i_t_mi_fu_180</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>idx_s_fu_174</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>indvar_flatten_next_fu_125</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>indvar_flatten_phi_fu_89</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>or_cond_i_i_i_i_fu_196</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>tmp_1_fu_131</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>tmp_4_fu_161</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>tmp_5_fu_145</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>tmp_7_mid1_fu_155</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>tmp_7_mid2_fu_167</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>tmp_fu_187</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>tmp_s_fu_191</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>tmp_value_V_fu_286</first> <second> <count>1</count> <item_version>0</item_version> <item>54</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>10</count> <item_version>0</item_version> <item> <first>StgValue_51_store_fu_266</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>StgValue_52_store_fu_271</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>StgValue_53_store_fu_276</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>StgValue_54_store_fu_281</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>StgValue_56_write_fu_78</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>buffer_1_1_value_V_13_load_fu_202</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>buffer_1_1_value_V_14_load_fu_205</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>buffer_1_1_value_V_15_load_fu_208</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>buffer_1_1_value_V_16_load_fu_211</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>tmp_value_V_1_read_fu_72</first> <second> <count>1</count> <item_version>0</item_version> <item>36</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="50" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>17</count> <item_version>0</item_version> <item> <first>85</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>96</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>108</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>299</first> <second> <count>1</count> <item_version>0</item_version> <item>3</item> </second> </item> <item> <first>305</first> <second> <count>1</count> <item_version>0</item_version> <item>4</item> </second> </item> <item> <first>311</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>317</first> <second> <count>1</count> <item_version>0</item_version> <item>6</item> </second> </item> <item> <first>323</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>327</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>332</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>338</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>343</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>351</first> <second> <count>1</count> <item_version>0</item_version> <item>59</item> </second> </item> <item> <first>356</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>361</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>369</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>377</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>17</count> <item_version>0</item_version> <item> <first>buffer_1_1_value_V_10_reg_311</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>buffer_1_1_value_V_11_reg_317</first> <second> <count>1</count> <item_version>0</item_version> <item>6</item> </second> </item> <item> <first>buffer_1_1_value_V_4_reg_299</first> <second> <count>1</count> <item_version>0</item_version> <item>3</item> </second> </item> <item> <first>buffer_1_1_value_V_9_reg_305</first> <second> <count>1</count> <item_version>0</item_version> <item>4</item> </second> </item> <item> <first>exitcond_flatten_reg_323</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>idx_0_0_i_i_i_i_mid2_reg_338</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>idx_0_0_i_i_i_i_reg_108</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>idx_0_reg_351</first> <second> <count>1</count> <item_version>0</item_version> <item>59</item> </second> </item> <item> <first>idx_1_0_i_i_i_i_reg_96</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>idx_1_0_i_i_i_i_t_mi_reg_356</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>indvar_flatten_next_reg_327</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>indvar_flatten_reg_85</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>or_cond_i_i_i_i_reg_377</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>tmp_1_reg_332</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>tmp_5_reg_343</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>tmp_reg_361</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>tmp_value_V_1_reg_369</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>3</count> <item_version>0</item_version> <item> <first>85</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>96</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>108</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>3</count> <item_version>0</item_version> <item> <first>idx_0_0_i_i_i_i_reg_108</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>idx_1_0_i_i_i_i_reg_96</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>indvar_flatten_reg_85</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="51" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="52" tracking_level="0" version="0"> <first>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>36</item> </second> </item> </second> </item> <item> <first>out_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>55</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="53" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="54" 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>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
----------------------------------------------------------------------- -- ado-schemas -- Database Schemas -- Copyright (C) 2015, 2018, 2019, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with ADO.Statements; with ADO.Statements.Create; with Ada.Strings.Fixed; with Util.Strings.Transforms; package body ADO.Schemas.Sqlite is use ADO.Statements; procedure Load_Table_Schema (C : in ADO.Connections.Database_Connection'Class; Table : in Table_Definition); function String_To_Type (Value : in String) return Column_Type; function String_To_Length (Value : in String) return Natural; function String_To_Type (Value : in String) return Column_Type is Pos : Natural; begin if Value = "date" then return T_DATE; elsif Value = "datetime" then return T_DATE_TIME; elsif Value = "int" or Value = "integer" then return T_INTEGER; elsif Value = "bigint" then return T_LONG_INTEGER; elsif Value = "tinyint" then return T_TINYINT; elsif Value = "smallint" then return T_SMALLINT; elsif Value = "blob" then return T_BLOB; end if; Pos := Ada.Strings.Fixed.Index (Value, "("); if Pos > 0 then declare Name : constant String := Value (Value'First .. Pos - 1); begin if Name = "varchar" then return T_VARCHAR; elsif Name = "real" or Name = "float" or Name = "double" then return T_FLOAT; elsif Name = "int" then return T_INTEGER; elsif Name = "bigint" then return T_LONG_INTEGER; else return T_UNKNOWN; end if; end; end if; return T_UNKNOWN; end String_To_Type; function String_To_Length (Value : in String) return Natural is First : Natural; Last : Natural; begin First := Ada.Strings.Fixed.Index (Value, "("); if First = 0 then return 0; end if; Last := Ada.Strings.Fixed.Index (Value, ")"); if Last < First then return 0; end if; return Natural'Value (Value (First + 1 .. Last - 1)); exception when Constraint_Error => return 0; end String_To_Length; -- ------------------------------ -- Load the table definition -- ------------------------------ procedure Load_Table_Schema (C : in ADO.Connections.Database_Connection'Class; Table : in Table_Definition) is Name : constant String := Get_Name (Table); Stmt : Query_Statement := Create.Create_Statement (C.Create_Statement ("pragma table_info('" & Name & "')")); Last : Column_Definition := null; Col : Column_Definition; Value : Unbounded_String; begin Stmt.Execute; while Stmt.Has_Elements loop Col := new Column; Col.Name := Stmt.Get_Unbounded_String (1); Col.Collation := Stmt.Get_Unbounded_String (2); Col.Default := Stmt.Get_Unbounded_String (5); if Last /= null then Last.Next_Column := Col; else Table.First_Column := Col; end if; Value := Stmt.Get_Unbounded_String (2); declare Type_Name : constant String := Util.Strings.Transforms.To_Lower_Case (To_String (Value)); begin Col.Col_Type := String_To_Type (Type_Name); Col.Size := String_To_Length (Type_Name); end; Value := Stmt.Get_Unbounded_String (3); Col.Is_Null := Value = "0"; Value := Stmt.Get_Unbounded_String (5); Col.Is_Primary := Value = "1"; Last := Col; Stmt.Next; end loop; end Load_Table_Schema; -- ------------------------------ -- Load the database schema -- ------------------------------ procedure Load_Schema (C : in ADO.Connections.Database_Connection'Class; Schema : out Schema_Definition) is Stmt : Query_Statement := Create.Create_Statement (C.Create_Statement ("SELECT NAME FROM sqlite_master")); Table : Table_Definition; Last : Table_Definition := null; begin Schema.Schema := new ADO.Schemas.Schema; Stmt.Execute; while Stmt.Has_Elements loop declare Name : constant String := Stmt.Get_String (0); begin if not Util.Strings.Starts_With (Name, "sqlite_") then Table := new ADO.Schemas.Table; Table.Name := To_Unbounded_String (Name); if Last /= null then Last.Next_Table := Table; else Schema.Schema.First_Table := Table; end if; Load_Table_Schema (C, Table); Last := Table; end if; end; Stmt.Next; end loop; end Load_Schema; end ADO.Schemas.Sqlite;
with DDS.Request_Reply.Replier.Typed_Replier_Generic; with Dds.Builtin_String_DataReader; with Dds.Builtin_String_DataWriter; package DDS.Request_Reply.Tests.Simple.String_Replier is new DDS.Request_Reply.Replier.Typed_Replier_Generic (Reply_DataWriter => Dds.Builtin_String_DataWriter, Request_DataReader => Dds.Builtin_String_DataReader);
-- Copyright 2013-2016 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. with Pck; use Pck; procedure Foo is type Multi is array (1 .. 1, 2 .. 3, 4 .. 6) of Integer; M : Multi := (others => (others => (others => 0))); -- Use a fake type for importing our C multi-dimensional array. -- It's only to make sure the C unit gets linked in, regardless -- of possible optimizations. type Void_Star is access integer; E : Void_Star; pragma Import (C, E, "global_3dim_for_gdb_testing"); begin Do_Nothing (M'Address); -- STOP Do_Nothing (E'Address); end Foo;
with Day1.Test; package body Day1_Suite is function Suite return Access_Test_Suite is Ret : constant Access_Test_Suite := new Test_Suite; begin Ret.Add_Test (new Day1.Test.Test); return Ret; end Suite; end Day1_Suite;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY COMPONENTS -- -- -- -- S Y S T E M . C O M P A R E _ A R R A Y _ U N S I G N E D _ 3 2 -- -- -- -- B o d y -- -- -- -- Copyright (C) 2002-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.Address_Operations; use System.Address_Operations; with Ada.Unchecked_Conversion; package body System.Compare_Array_Unsigned_32 is type Word is mod 2 ** 32; for Word'Size use 32; -- Used to process operands by words type Uword is new Word; for Uword'Alignment use 1; -- Used to process operands when unaligned type WP is access Word; type UP is access Uword; function W is new Ada.Unchecked_Conversion (Address, WP); function U is new Ada.Unchecked_Conversion (Address, UP); ----------------------- -- Compare_Array_U32 -- ----------------------- function Compare_Array_U32 (Left : System.Address; Right : System.Address; Left_Len : Natural; Right_Len : Natural) return Integer is Clen : Natural := Natural'Min (Left_Len, Right_Len); -- Number of elements left to compare L : Address := Left; R : Address := Right; -- Pointers to next elements to compare begin -- Case of going by aligned words if ModA (OrA (Left, Right), 4) = 0 then while Clen /= 0 loop if W (L).all /= W (R).all then if W (L).all > W (R).all then return +1; else return -1; end if; end if; Clen := Clen - 1; L := AddA (L, 4); R := AddA (R, 4); end loop; -- Case of going by unaligned words else while Clen /= 0 loop if U (L).all /= U (R).all then if U (L).all > U (R).all then return +1; else return -1; end if; end if; Clen := Clen - 1; L := AddA (L, 4); R := AddA (R, 4); end loop; end if; -- Here if common section equal, result decided by lengths if Left_Len = Right_Len then return 0; elsif Left_Len > Right_Len then return +1; else return -1; end if; end Compare_Array_U32; end System.Compare_Array_Unsigned_32;
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- T E X T _ I O -- -- -- -- S p e c -- -- -- -- $Revision: 2 $ -- -- -- -- This specification is adapted from the Ada Reference Manual for use with -- -- GNAT. In accordance with the copyright of that document, you can freely -- -- copy and modify this specification, provided that if you redistribute a -- -- modified version, any changes that you have made are clearly indicated. -- -- -- ------------------------------------------------------------------------------ pragma Ada_95; with Ada.Text_IO; package Text_IO renames Ada.Text_IO;
package ABR is type T_ABR is limited private; Cle_Presente_Exception : Exception; -- une clé est déjà présente dans un ABR Cle_Absente_Exception : Exception; -- une clé est absente d'un ABR -- Initialiser un ABR Abr. L'ABR est vide. procedure Initialiser(Abr: out T_ABR) with Post => Est_Vide (Abr); -- Est-ce qu'un ABR Abr est vide ? function Est_Vide (Abr : T_Abr) return Boolean; -- Obtenir le nombre d'éléments d'un ABR. function Taille (Abr : in T_ABR) return Integer with Post => Taille'Result >= 0 and (Taille'Result = 0) = Est_Vide (Abr); -- Insérer la donnée Donnée associée à la clé Clé dans l'ABR Abr. -- Exception : Cle_Presente_Exception si la clé est déjà dans l'Abr. procedure Inserer (Abr : in out T_ABR ; Cle : in Character ; Donnee : in Integer) with Post => La_Donnee (Abr, Cle) = Donnee -- donnée insérée ; -- XXX and Taille (Abr) = Taille (Abr)'Old + 1; -- un élément de plus -- Modifier la donnée Donnée associée à la clé Clé dans l'ABR Abr. -- Exception : Cle_Absente_Exception si Clé n'est pas utilisée dans l'Abr procedure Modifier (Abr : in out T_ABR ; Cle : in Character ; Donnee : in Integer) with Post => La_Donnee (Abr, Cle) = Donnee; -- donnée mise à jour -- Supprimer la donnée associée à la clé Clé dans l'ABR Abr. -- Exception : Cle_Absente_Exception si Clé n'est pas utilisée dans l'Abr procedure Supprimer (Abr : in out T_ABR ; Cle : in Character) with Post => Taille (Abr) = Taille (Abr)'Old - 1; -- un élément de moins -- Obtenir la donnée associée à la clé Cle dans l'ABR Abr. -- Exception : Cle_Absente_Exception si Clé n'est pas utilisée dans l'Abr function La_Donnee (Abr : in T_ABR ; Cle : in Character) return Integer; -- Supprimer tous les éléments d'un ABR. -- Doit être utilisée dès qu'on sait qu'un ABR ne sera plus utilisé. procedure Vider (Abr : in out T_ABR) with Post => Est_Vide (Abr); -- Afficher un ABR Abr dans l'ordre croissant des clés (parcours infixe) procedure Afficher (Abr : in T_Abr); -- Afficher un ABR Abr (en faisant apparaître la strucre grâce à une -- indendation et un signe '<', '>', '/' pour indiquer la sous-arbre -- gauche, '>' pour un sous arbre droit et '/' pour la racine) -- Exemple : -- -- / Cle1 : Valeur1 -- < Cle2 : Valeur2 -- > Cle3 : Valeur3 -- > Cle4 : Valeur 4 -- < Cle5 : Valeur 5 procedure Afficher_Debug (Abr : in T_Abr); private type T_Noeud; type T_ABR is access T_Noeud; type T_Noeud is record Cle: Character; Donnee : Integer; Sous_Arbre_Gauche : T_ABR; Sous_Arbre_Droit : T_ABR; -- Invariant -- Pour tout noeud N dans Sous_Arbre_Gauche, N.Cle < Cle -- Pour tout noeud N dans Sous_Arbre_Droit, N.Cle > Cle end record; end ABR;
package FLTK.Widgets.Groups.Windows.Double is type Double_Window is new Window with private; type Double_Window_Reference (Data : not null access Double_Window'Class) is limited null record with Implicit_Dereference => Data; package Forge is function Create (X, Y, W, H : in Integer; Text : in String) return Double_Window; function Create (W, H : in Integer; Text : in String) return Double_Window; end Forge; procedure Show (This : in out Double_Window); procedure Hide (This : in out Double_Window); procedure Flush (This : in out Double_Window); procedure Draw (This : in out Double_Window); function Handle (This : in out Double_Window; Event : in Event_Kind) return Event_Outcome; private type Double_Window is new Window with null record; overriding procedure Finalize (This : in out Double_Window); pragma Inline (Show); pragma Inline (Hide); pragma Inline (Flush); pragma Inline (Draw); pragma Inline (Handle); end FLTK.Widgets.Groups.Windows.Double;
-- -- Main routines testing/illustrating the mixins. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- with Ada.Text_IO; use Ada.Text_IO; with base_iface; use base_iface; with base_type; use base_type; with generic_mixin; with generic_mixin_compositor; with oop_mixin_compositor; procedure run_mixins is begin Put_Line("Starting methods mixin demo,"); Put_Line("generic_mixin"); declare -- this adds the methods but the "direct inheritance" is not as visually evident -- that can be shown via public/private parts as shown in .. package P_base1 is new generic_mixin(Base=>The_Type); type Mixin is new P_base1.Derived with null record; -- type Stub is tagged null record; package P_stub is new generic_mixin(Base=>Stub); type Extension is new P_stub.Derived with null record; -- M : Mixin; E : Extension; begin Put_Line(" direct declaration:"); Put_Line(" mixin:"); M.method; M.simple; M.compound; M.redispatching; -- Put_Line(" extension:"); E.simple; E.compound; E.redispatching; end; declare -- this uses the compositor, hiding generic instantiation but exposing -- (logic of) type inheritance (see the corresponding module). use generic_mixin_compositor; M : Mixin; E : Extension; MC : Mixin_Child; begin Put_Line(" compositor:"); Put_Line(" extension:"); E.simple; E.compound; E.redispatching; -- Put_Line(" mixin:"); M.method; M.simple; M.compound; M.redispatching; M.class_wide; -- Put_Line(" Mixin_Child:"); MC.method; MC.simple; MC.compound; -- this should output gm:simple MC.redispatching; -- this should output MC:simple MC.class_wide; end; -- Put_Line("non-generic (OOP) mixin"); declare -- Only one version is provided in this case. -- Explicit declaration directly here would be impractical and messy. -- The composition is much more clearly illustrated by keeping all the relevant code -- in the separate (compositor) module. use oop_mixin_compositor; M : Mixin; E : Extension; MC : Mixin_Child; begin Put_Line(" compositor (only):"); Put_Line(" extension:"); E.simple; E.compound; E.redispatching; -- Put_Line(" mixin:"); M.method; M.simple; M.compound; M.redispatching; M.class_wide; -- Put_Line(" Mixin_Child:"); MC.method; MC.simple; MC.compound; -- this should output gm:simple MC.redispatching; -- this outputs gm:simple MC.class_wide; -- this outputs MC:simple end; end run_mixins;
with Numerics, Ada.Text_IO, Auto_Differentiation.Integrator, Chebyshev; use Numerics, Ada.Text_IO, Auto_Differentiation.Integrator, Chebyshev; procedure Auto_Differentiation.Lagrangian is -- Set Up Parameters ----------------- Control : Control_Type := (N => 2, Dt => 0.01, Eps => 1.0e-10, Err => 1.0, K => 7); N : Nat renames Control.N; α : constant Real := 100.0; ------------------------------- function KE (Q, Q_Dot : in AD_Vector; N : in Nat) return AD_Type is C : constant AD_Type := Cos (Q (1) + Q (2)); Cp2 : constant AD_Type := C + 2.0; C4p6 : constant AD_Type := 4.0 * C + 6.1; T_Dot : AD_Type renames Q_Dot (1); S_Dot : AD_Type renames Q_Dot (2); begin return (0.5 * C4p6 * T_Dot ** 2 + 0.55 * S_Dot ** 2 + Cp2 * T_Dot * S_Dot); end KE; ------------------------------- function PE (Q : in AD_Vector; N : in Nat) return AD_Type is PE_G, PE_M : AD_Type; T : AD_Type renames Q (1); S : AD_Type renames Q (2); Tmp : AD_Type := Cos (0.5 * (T + S)); Cs : constant AD_Type := Cos (S); Ct : constant AD_Type := Cos (T); C2tps : constant AD_Type := Cos (2.0 * T + S); Ctp2s : constant AD_Type := Cos (T + 2.0 * S); begin Tmp := 0.5 / Tmp; PE_G := Ct + C2tps; PE_M := Cos (2.0 * T) - 3.0 * Ct ** 2 + Cos (2.0 * S) - 3.0 * Cs ** 2 + (Tmp ** 3) * Cos (2.0 * (T + S)) - 3.0 * (Tmp ** 5) * ((Ct + C2tps) * (Cs + Ctp2s)); return ((α / 6.0) * PE_M + PE_G); end PE; ------------------------------- function Lagrangian (X : in Real_Vector; N : in Nat) return AD_Type is Q : AD_Vector := Var (X (1 .. N), 2 * N, 1); Q_Dot : AD_Vector := Var (X (N + 1 .. 2 * N), 2 * N, N + 1); begin pragma Assert (abs (X (1) + X (2)) < π, "singularity error: t + s = pi"); return KE (Q, Q_Dot, N) - PE (Q, N); end Lagrangian; ------------------------------- -- Initial Conditions ---- Var : Variable := (N2 => 2 * N, X => (0.0, 0.0, -2.0, 10.0), T => 0.0); X : Real_Vector renames Var.X; ------------------------------- XYZ : File_Type; Y : Real_Vector (1 .. 2 * N * Control.K); Dt : constant Real := 0.01; Time : Real := Var.T; PTime : Real; A : array (1 .. 2 * N) of Real_Vector (1 .. Control.K); begin Create (XYZ, Name => "out.xyz"); Put_Line ("T, x1, y1, x2, y2"); Print_Data_L (XYZ, Var); Print_XYZ (XYZ, Var); Setup (N, Control.K); while Var.T < 5.2 loop Y := Collocation (Lagrangian'Access, Var, Control); for I in 1 .. 2 * N loop for K in 1 .. Control.K loop A (I) (K) := Y (2 * N * (K - 1) + I); end loop; end loop; for I in 1 .. 2 * N loop A (I) := CGL_Transform (A (I)); end loop; PTime := Var.T + Control.Dt; while Time < PTime loop for I in 1 .. 2 * N loop Var.X (I) := Interpolate (A (I), Time, Var.T, Var.T + Control.Dt); end loop; Var.T := Time; Print_XYZ (XYZ, Var); Print_Data_L (XYZ, Var); Time := Time + Dt; end loop; Var.T := PTime; for I in 1 .. 2 * N loop Var.X (I) := Y (Y'Last - 2 * N + I); end loop; end loop; Print_Data_L (XYZ, Var); Close (XYZ); end Auto_Differentiation.Lagrangian;
-- C35703A.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 'FIRST AND 'LAST EXIST AND CAN BE ASSIGNED. CHECK THAT -- 'FIRST IS LESS THAN OR EQUAL TO 'LAST. -- BAW 5 SEPT 80 -- R.WILLIAMS 8/21/86 ADDED A TYPE DECLARED WITHOUT A RANGE -- CONSTRAINT. RENAMED TO -B. ADDED EXCEPTION -- HANDLERS. -- GMT 6/29/87 MOVED THE CALL TO REPORT.TEST INTO A NEWLY -- CREATED PACKAGE NAMED SHOW_TEST_HEADER. WITH REPORT; USE REPORT; PROCEDURE C35703A IS TYPE REAL1 IS DIGITS 2 RANGE 0.25..0.5; TYPE REAL2 IS DIGITS 3; PACKAGE SHOW_TEST_HEADER IS -- PURPOSE OF THIS PACKAGE: -- WE WANT THE TEST HEADER INFORMATION TO BE -- PRINTED BEFORE ANY OF THE PASS/FAIL MESSAGES. END SHOW_TEST_HEADER; PACKAGE BODY SHOW_TEST_HEADER IS BEGIN TEST( "C35703A", "CHECK THAT FIRST AND LAST CAN BE ASSIGNED " & "AND THAT FIRST <= LAST" ); END SHOW_TEST_HEADER; PACKAGE XPKG IS X : REAL1; END XPKG; PACKAGE BODY XPKG IS BEGIN X := REAL1'FIRST; EXCEPTION WHEN CONSTRAINT_ERROR => FAILED ( "CONSTRAINT_ERROR RAISED BY ASSIGNMENT OF " & "REAL1'FIRST" ); WHEN OTHERS => FAILED ( "OTHER EXCEPTION RAISED BY ASSIGNMENT OF " & "REAL1'FIRST" ); END XPKG; PACKAGE YPKG IS Y : REAL1; END YPKG; PACKAGE BODY YPKG IS BEGIN Y := REAL1'LAST; EXCEPTION WHEN CONSTRAINT_ERROR => FAILED ( "CONSTRAINT_ERROR RAISED BY ASSIGNMENT OF " & "REAL1'LAST" ); WHEN OTHERS => FAILED ( "OTHER EXCEPTION RAISED BY ASSIGNMENT OF " & "REAL1'LAST" ); END YPKG; PACKAGE APKG IS A : REAL2; END APKG; PACKAGE BODY APKG IS BEGIN A := REAL2'FIRST; EXCEPTION WHEN CONSTRAINT_ERROR => FAILED ( "CONSTRAINT_ERROR RAISED BY ASSIGNMENT OF " & "REAL2'FIRST" ); WHEN OTHERS => FAILED ( "OTHER EXCEPTION RAISED BY ASSIGNMENT OF " & "REAL2'FIRST" ); END APKG; PACKAGE BPKG IS B : REAL2; END BPKG; PACKAGE BODY BPKG IS BEGIN B := REAL2'LAST; EXCEPTION WHEN CONSTRAINT_ERROR => FAILED ( "CONSTRAINT_ERROR RAISED BY ASSIGNMENT OF " & "REAL2'LAST" ); WHEN OTHERS => FAILED ( "OTHER EXCEPTION RAISED BY ASSIGNMENT OF " & "REAL2'LAST" ); END BPKG; BEGIN DECLARE USE XPKG; USE YPKG; BEGIN IF X > Y THEN FAILED ( "REAL1'FIRST IS GREATER THAN REAL1'LAST" ); END IF; END; DECLARE USE APKG; USE BPKG; BEGIN IF A > B THEN FAILED ( "REAL2'FIRST IS GREATER THEN REAL2'LAST" ); END IF; END; RESULT; END C35703A;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011-2012, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ with AMF.Internals.Tables.CMOF_Attributes; with AMF.Internals.Element_Collections; package body AMF.Internals.CMOF_Relationships is use AMF.Internals.Tables.CMOF_Attributes; ------------------------- -- Get_Related_Element -- ------------------------- overriding function Get_Related_Element (Self : not null access constant CMOF_Relationship_Proxy) return AMF.CMOF.Elements.Collections.Set_Of_CMOF_Element is begin return AMF.CMOF.Elements.Collections.Wrap (AMF.Internals.Element_Collections.Wrap (Internal_Get_Related_Element (Self.Element))); end Get_Related_Element; end AMF.Internals.CMOF_Relationships;
-- C49022C.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 NAMED NUMBER DECLARATIONS (REAL) MAY USE EXPRESSIONS -- WITH REALS. -- BAW 29 SEPT 80 -- TBN 10/24/85 RENAMED FROM C4A011A.ADA. ADDED RELATIONAL -- OPERATORS AND NAMED NUMBERS. WITH REPORT; PROCEDURE C49022C IS USE REPORT; ADD1 : CONSTANT := 2.5 + 1.5; ADD2 : CONSTANT := 2.5 + (-1.5); ADD3 : CONSTANT := (-2.5) + 1.5; ADD4 : CONSTANT := (-2.5) + (-1.5); SUB1 : CONSTANT := 2.5 - 1.5; SUB2 : CONSTANT := 2.5 - (-1.5); SUB3 : CONSTANT := (-2.5) - 1.5; SUB4 : CONSTANT := (-2.5) - (-1.5); MUL1 : CONSTANT := 2.5 * 1.5; MUL2 : CONSTANT := 2.5 * (-1.5); MUL3 : CONSTANT := (-2.5) * 1.5; MUL4 : CONSTANT := (-2.5) * (-1.5); MLR1 : CONSTANT := 2 * 1.5; MLR2 : CONSTANT := (-2) * 1.5; MLR3 : CONSTANT := 2 * (-1.5); MLR4 : CONSTANT := (-2) * (-1.5); MLL1 : CONSTANT := 1.5 * 2 ; MLL2 : CONSTANT := 1.5 * (-2); MLL3 : CONSTANT :=(-1.5) * 2 ; MLL4 : CONSTANT :=(-1.5) * (-2); DIV1 : CONSTANT := 3.75 / 2.5; DIV2 : CONSTANT := 3.75 / (-2.5); DIV3 : CONSTANT := (-3.75) / 2.5; DIV4 : CONSTANT := (-3.75) / (-2.5); DVI1 : CONSTANT := 3.0 / 2; DVI2 : CONSTANT := (-3.0) / 2; DVI3 : CONSTANT := 3.0 / (-2); DVI4 : CONSTANT := (-3.0) / (-2); EXP1 : CONSTANT := 2.0 ** 1; EXP2 : CONSTANT := 2.0 ** (-1); EXP3 : CONSTANT := (-2.0) ** 1; EXP4 : CONSTANT := (-2.0) ** (-1); ABS1 : CONSTANT := ABS( - 3.75 ); ABS2 : CONSTANT := ABS( + 3.75 ); TOT1 : CONSTANT := ADD1 + SUB4 - MUL1 + DIV1 - EXP2 + ABS1; LES1 : CONSTANT := BOOLEAN'POS (1.5 < 2.0); LES2 : CONSTANT := BOOLEAN'POS (1.5 < (-2.0)); LES3 : CONSTANT := BOOLEAN'POS ((-1.5) < (-2.0)); LES4 : CONSTANT := BOOLEAN'POS (ADD2 < SUB1); GRE1 : CONSTANT := BOOLEAN'POS (2.0 > 1.5); GRE2 : CONSTANT := BOOLEAN'POS ((-2.0) > 1.5); GRE3 : CONSTANT := BOOLEAN'POS ((-2.0) > (-1.5)); GRE4 : CONSTANT := BOOLEAN'POS (ADD1 > SUB1); LEQ1 : CONSTANT := BOOLEAN'POS (1.5 <= 2.0); LEQ2 : CONSTANT := BOOLEAN'POS (1.5 <= (-2.0)); LEQ3 : CONSTANT := BOOLEAN'POS ((-1.5) <= (-2.0)); LEQ4 : CONSTANT := BOOLEAN'POS (ADD2 <= SUB1); GEQ1 : CONSTANT := BOOLEAN'POS (2.0 >= 1.5); GEQ2 : CONSTANT := BOOLEAN'POS ((-2.0) >= 1.5); GEQ3 : CONSTANT := BOOLEAN'POS ((-2.0) >= (-1.5)); GEQ4 : CONSTANT := BOOLEAN'POS (ADD1 >= SUB2); EQU1 : CONSTANT := BOOLEAN'POS (1.5 = 2.0); EQU2 : CONSTANT := BOOLEAN'POS ((-1.5) = 2.0); EQU3 : CONSTANT := BOOLEAN'POS ((-1.5) = (-1.5)); EQU4 : CONSTANT := BOOLEAN'POS (ADD1 = SUB2); NEQ1 : CONSTANT := BOOLEAN'POS (1.5 /= 1.5); NEQ2 : CONSTANT := BOOLEAN'POS ((-1.5) /= 1.5); NEQ3 : CONSTANT := BOOLEAN'POS ((-1.5) /= (-2.0)); NEQ4 : CONSTANT := BOOLEAN'POS (ADD1 /= SUB2); BEGIN TEST("C49022C","CHECK THAT NAMED NUMBER DECLARATIONS (REAL) " & "MAY USE EXPRESSIONS WITH REALS."); IF ADD1 /= 4.0 OR ADD2 /= 1.0 OR ADD3 /= -1.0 OR ADD4 /= -4.0 THEN FAILED("ERROR IN THE ADDING OPERATOR +"); END IF; IF SUB1 /= 1.0 OR SUB2 /= 4.0 OR SUB3 /= -4.0 OR SUB4 /= -1.0 THEN FAILED("ERROR IN THE ADDING OPERATOR -"); END IF; IF MUL1 /= 3.75 OR MUL2 /= -3.75 OR MUL3 /= -3.75 OR MUL4 /= 3.75 THEN FAILED("ERROR IN THE MULTIPLYING OPERATOR *"); END IF; IF MLR1 /= 3.0 OR MLR2 /= -3.0 OR MLR3 /= -3.0 OR MLR4 /= 3.0 THEN FAILED("ERROR IN THE MULTIPLYING OPERATOR *"); END IF; IF MLL1 /= 3.0 OR MLL2 /= -3.0 OR MLL3 /= -3.0 OR MLL4 /= 3.0 THEN FAILED("ERROR IN THE MULTIPLYING OPERATOR *"); END IF; IF DIV1 /= 1.5 OR DIV2 /= -1.5 OR DIV3 /= -1.5 OR DIV4 /= 1.5 THEN FAILED("ERROR IN THE MULTIPLYING OPERATOR /"); END IF; IF DVI1 /= 1.5 OR DVI2 /= -1.5 OR DVI3 /= -1.5 OR DVI4 /= 1.5 THEN FAILED("ERROR IN THE MULTIPLYING OPERATOR /"); END IF; IF EXP1 /= 2.0 OR EXP2 /= 0.5 OR EXP3 /= -2.0 OR EXP4 /= -0.5 THEN FAILED("ERROR IN THE EXPONENTIATING OPERATOR"); END IF; IF ABS1 /= 3.75 OR ABS2 /= 3.75 THEN FAILED("ERROR IN THE ABS OPERATOR"); END IF; IF TOT1 /= 4.00 THEN FAILED("ERROR IN USE OF NAMED NUMBERS WITH OPERATORS"); END IF; IF LES1 /= 1 OR LES2 /= 0 OR LES3 /= 0 OR LES4 /= 0 THEN FAILED("ERROR IN THE LESS THAN OPERATOR"); END IF; IF GRE1 /= 1 OR GRE2 /= 0 OR GRE3 /= 0 OR GRE4 /= 1 THEN FAILED("ERROR IN THE GREATER THAN OPERATOR"); END IF; IF LEQ1 /= 1 OR LEQ2 /= 0 OR LEQ3 /= 0 OR LEQ4 /= 1 THEN FAILED("ERROR IN THE LESS THAN EQUAL OPERATOR"); END IF; IF GEQ1 /= 1 OR GEQ2 /= 0 OR GEQ3 /= 0 OR GEQ4 /= 1 THEN FAILED("ERROR IN THE GREATER THAN EQUAL OPERATOR"); END IF; IF EQU1 /= 0 OR EQU2 /= 0 OR EQU3 /= 1 OR EQU4 /= 1 THEN FAILED("ERROR IN THE EQUAL OPERATOR"); END IF; IF NEQ1 /= 0 OR NEQ2 /= 1 OR NEQ3 /= 1 OR NEQ4 /= 0 THEN FAILED("ERROR IN THE NOT EQUAL OPERATOR"); END IF; RESULT; END C49022C;
-- -- Copyright 2018 The wookey project team <wookey@ssi.gouv.fr> -- - Ryad Benadjila -- - Arnauld Michelizza -- - Mathieu Renard -- - Philippe Thierry -- - Philippe Trebuchet -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. -- -- with ewok.perm; use ewok.perm; with ewok.exported.devices; use ewok.exported.devices; with ewok.exported.interrupts; use ewok.exported.interrupts; with ewok.exported.gpios; use ewok.exported.gpios; with ewok.interrupts; use ewok.interrupts; with ewok.sanitize; with ewok.gpio; with ewok.exti; with ewok.debug; with ewok.devices.perms; with soc.devmap; use soc.devmap; with soc.interrupts; use soc.interrupts; with soc.nvic; with soc.gpio; with soc.rcc; with types.c; package body ewok.devices with spark_mode => off is --pragma debug_policy (IGNORE); function get_task_from_id (dev_id : t_registered_device_id) return t_task_id is begin return registered_device(dev_id).task_id; end get_task_from_id; function get_user_device (dev_id : t_registered_device_id) return t_checked_user_device_access is begin return registered_device(dev_id).udev'access; end get_user_device; function get_device_size (dev_id : t_registered_device_id) return unsigned_32 is begin -- Pure GPIO devices are registed has 'NO_PERIPH', has they are -- not a SoC local mappable peripheral but pure IO. -- These devices have no size (e.g. LEDs, Buttons....) if registered_device(dev_id).periph_id /= NO_PERIPH then return soc.devmap.periphs(registered_device(dev_id).periph_id).size; else return 0; end if; end get_device_size; function get_device_addr (dev_id : t_registered_device_id) return system_address is begin -- Pure GPIO devices are registed has 'NO_PERIPH', has they are -- not a SoC local mappable peripheral but pure IO. -- These devices have no address (e.g. LEDs, Buttons....) if registered_device(dev_id).periph_id /= NO_PERIPH then return soc.devmap.periphs(registered_device(dev_id).periph_id).addr; else return 0; end if; end get_device_addr; function is_device_region_ro (dev_id : t_registered_device_id) return boolean is begin return soc.devmap.periphs(registered_device(dev_id).periph_id).ro; end is_device_region_ro; function get_device_subregions_mask (dev_id : t_registered_device_id) return unsigned_8 is begin return soc.devmap.periphs(registered_device(dev_id).periph_id).subregions; end get_device_subregions_mask; function get_interrupt_config_from_interrupt (interrupt : soc.interrupts.t_interrupt) return ewok.exported.interrupts.t_interrupt_config_access is dev_id : t_device_id; begin -- Retrieving the dev_id from the interrupt dev_id := ewok.interrupts.get_device_from_interrupt (interrupt); if dev_id = ID_DEV_UNUSED then return NULL; end if; -- Looking at each interrupts configured for this device -- to retrieve the proper interrupt configuration informations for i in 1 .. registered_device(dev_id).udev.interrupt_num loop if registered_device(dev_id).udev.interrupts(i).interrupt = interrupt then return registered_device(dev_id).udev.interrupts(i)'access; end if; end loop; return NULL; end get_interrupt_config_from_interrupt; ------------------------ -- Device registering -- ------------------------ procedure get_registered_device_entry (dev_id : out t_device_id; success : out boolean) is begin for id in registered_device'range loop if registered_device(id).status = DEV_STATE_UNUSED then registered_device(id).status := DEV_STATE_RESERVED; dev_id := id; success := true; return; end if; end loop; dev_id := ID_DEV_UNUSED; success := false; end get_registered_device_entry; procedure release_registered_device_entry (dev_id : t_registered_device_id) is begin registered_device(dev_id).status := DEV_STATE_UNUSED; registered_device(dev_id).task_id := ID_UNUSED; registered_device(dev_id).periph_id := NO_PERIPH; -- FIXME initialize registered_device(dev_id).udev with 0 values end release_registered_device_entry; procedure register_device (task_id : in t_task_id; udev : in ewok.exported.devices.t_user_device_access; dev_id : out t_device_id; success : out boolean) is periph_id: soc.devmap.t_periph_id; len : constant natural := types.c.len (udev.all.name); name : string (1 .. len); found : boolean; begin -- Convert C name to Ada string type for further log messages types.c.to_ada (name, udev.all.name); -- Is it an existing device ? -- Note: GPIOs (size = 0) are not considered as devices despite a task -- can register them. Thus, we don't look for them in soc.devmap.periphs -- table. if udev.all.size /= 0 then periph_id := soc.devmap.find_periph (udev.all.base_addr, udev.all.size); if periph_id = NO_PERIPH then pragma DEBUG (debug.log (debug.ERROR, "Device not existing: " & name)); success := false; return; end if; end if; -- Is it already used ? -- Note: GPIOs alone are not considered as devices. When the user -- declares lone GPIOs, periph_id is NO_PERIPH for id in registered_device'range loop if registered_device(id).status /= DEV_STATE_UNUSED and then registered_device(id).periph_id /= NO_PERIPH and then registered_device(id).periph_id = periph_id then pragma DEBUG (debug.log (debug.ERROR, "Device already used: " & name)); success := false; return; end if; end loop; -- Are the GPIOs already used ? for i in 1 .. udev.gpio_num loop if ewok.gpio.is_used (udev.gpios(i).kref) then pragma DEBUG (debug.log (debug.ERROR, "GPIOs already used: " & name)); success := false; return; end if; end loop; -- Are the related EXTIs already used ? for i in 1 .. udev.gpio_num loop if boolean (udev.gpios(i).settings.set_exti) and then ewok.exti.is_used (udev.gpios(i).kref) then pragma DEBUG (debug.log (debug.ERROR, "EXTIs already used: " & name)); success := false; return; end if; end loop; -- We verify that the interrupts declared by this device really belong -- to it for declared_it in 1 .. udev.interrupt_num loop found := false; inner_loop: for i in soc.devmap.periphs(periph_id).interrupt_list'range loop if soc.devmap.periphs(periph_id).interrupt_list(i) = udev.interrupts(declared_it).interrupt then found := true; exit inner_loop; end if; end loop inner_loop; if not found then pragma DEBUG (debug.log (debug.ERROR, "Invalid interrupts: " & name)); success := false; return; end if; end loop; -- Is it possible to register interrupt handlers ? for i in 1 .. udev.interrupt_num loop if ewok.interrupts.is_interrupt_already_used (udev.interrupts(i).interrupt) then pragma DEBUG (debug.log (debug.ERROR, "Interrupts already used: " & name)); success := false; return; end if; end loop; -- Is it possible to register a device ? get_registered_device_entry (dev_id, success); if not success then pragma DEBUG (debug.log (debug.ERROR, "register_device(): no free slot!")); return; end if; -- Registering the device pragma DEBUG (debug.log (debug.INFO, "Registered device: " & name)); registered_device(dev_id).udev := t_checked_user_device (udev.all); registered_device(dev_id).task_id := task_id; registered_device(dev_id).periph_id := periph_id; registered_device(dev_id).status := DEV_STATE_REGISTERED; -- Registering GPIOs for i in 1 .. udev.gpio_num loop ewok.gpio.register (task_id, dev_id, registered_device(dev_id).udev.gpios(i)'access, success); if not success then raise program_error; end if; pragma DEBUG (debug.log (debug.INFO, "Registered GPIO port" & soc.gpio.t_gpio_port_index'image (udev.gpios(i).kref.port) & " pin " & soc.gpio.t_gpio_pin_index'image (udev.gpios(i).kref.pin))); end loop; -- Registering EXTIs for i in 1 .. udev.gpio_num loop ewok.exti.register (udev.gpios(i)'access, success); if not success then raise program_error; end if; end loop; -- Registering handlers for i in 1 .. udev.interrupt_num loop ewok.interrupts.set_interrupt_handler (udev.interrupts(i).interrupt, udev.interrupts(i).handler, task_id, dev_id, success); if not success then raise program_error; end if; end loop; success := true; end register_device; procedure release_device (task_id : in t_task_id; dev_id : in t_registered_device_id; success : out boolean) is begin -- That device belongs to the task? if registered_device(dev_id).task_id /= task_id then success := false; return; end if; -- Releasing GPIOs and EXTIs for i in 1 .. registered_device(dev_id).udev.gpio_num loop ewok.gpio.release (task_id, dev_id, registered_device(dev_id).udev.gpios(i)'access); ewok.exti.release (registered_device(dev_id).udev.gpios(i)'access); end loop; -- Releasing interrupts for i in 1 .. registered_device(dev_id).udev.interrupt_num loop ewok.interrupts.reset_interrupt_handler (registered_device(dev_id).udev.interrupts(i).interrupt, task_id, dev_id); end loop; -- Releasing the device release_registered_device_entry (dev_id); success := true; end release_device; procedure enable_device (dev_id : in t_registered_device_id; success : out boolean) is irq : soc.nvic.t_irq_index; interrupt : t_interrupt; begin -- Check if the device was already configured -- the device can be registered (first mapping) or enabled (successive (un)mappings) if registered_device(dev_id).status /= DEV_STATE_REGISTERED and registered_device(dev_id).status /= DEV_STATE_ENABLED then raise program_error; end if; -- Configure and enable GPIOs for i in 1 .. registered_device(dev_id).udev.gpio_num loop ewok.gpio.config (registered_device(dev_id).udev.gpios(i)'access); if registered_device(dev_id).udev.gpios(i).exti_trigger /= GPIO_EXTI_TRIGGER_NONE then ewok.exti.enable (registered_device(dev_id).udev.gpios(i).kref); end if; end loop; -- For each interrupt, enable its associated IRQ in the NVIC for i in 1 .. registered_device(dev_id).udev.interrupt_num loop interrupt := registered_device(dev_id).udev.interrupts(i).interrupt; irq := soc.nvic.to_irq_number (interrupt); soc.nvic.enable_irq (irq); pragma DEBUG (debug.log (debug.INFO, "IRQ enabled: " & soc.nvic.t_irq_index'image (irq))); end loop; -- Enable device's clock if registered_device(dev_id).periph_id /= NO_PERIPH then if registered_device(dev_id).status = DEV_STATE_REGISTERED then soc.rcc.enable_clock (registered_device(dev_id).periph_id); end if; pragma DEBUG (debug.log (debug.INFO, "Enabled device: " & soc.devmap.periphs(registered_device(dev_id).periph_id).name)); end if; registered_device(dev_id).status := DEV_STATE_ENABLED; success := true; end enable_device; function sanitize_user_defined_interrupt (udev : in ewok.exported.devices.t_user_device_access; config : in ewok.exported.interrupts.t_interrupt_config; task_id : in t_task_id) return boolean is begin if not ewok.sanitize.is_word_in_txt_slot (to_system_address (config.handler), task_id) then pragma DEBUG (debug.log (debug.ERROR, "Handler not in .text section")); return false; end if; if config.interrupt not in INT_WWDG .. INT_HASH_RNG then pragma DEBUG (debug.log (debug.ERROR, "Interrupt not in range")); return false; end if; if config.mode = ISR_FORCE_MAINTHREAD and then not ewok.perm.ressource_is_granted (PERM_RES_TSK_FISR, task_id) then pragma DEBUG (debug.log (debug.ERROR, "ISR_FORCE_MAINTHREAD not allowed")); return false; end if; -- -- Verify posthooks -- for i in 1 .. MAX_POSTHOOK_INSTR loop if not config.posthook.action(i).instr'valid then pragma DEBUG (debug.log (debug.ERROR, "Posthook: invalid action requested")); return false; end if; case config.posthook.action(i).instr is when POSTHOOK_NIL => null; when POSTHOOK_READ => if config.posthook.action(i).read.offset > udev.all.size - 4 or (config.posthook.action(i).read.offset and 2#11#) > 0 then pragma DEBUG (debug.log (debug.ERROR, "Posthook: wrong READ offset")); return false; end if; when POSTHOOK_WRITE => if config.posthook.action(i).write.offset > udev.all.size - 4 or (config.posthook.action(i).write.offset and 2#11#) > 0 then pragma DEBUG (debug.log (debug.ERROR, "Posthook: wrong WRITE offset")); return false; end if; when POSTHOOK_WRITE_REG => if config.posthook.action(i).write_reg.offset_dest > udev.all.size - 4 or (config.posthook.action(i).write_reg.offset_dest and 2#11#) > 0 or config.posthook.action(i).write_reg.offset_src > udev.all.size - 4 or (config.posthook.action(i).write_reg.offset_src and 2#11#) > 0 then pragma DEBUG (debug.log (debug.ERROR, "Posthook: wrong AND offset")); return false; end if; when POSTHOOK_WRITE_MASK => if config.posthook.action(i).write_mask.offset_dest > udev.all.size - 4 or (config.posthook.action(i).write_mask.offset_dest and 2#11#) > 0 or config.posthook.action(i).write_mask.offset_src > udev.all.size - 4 or (config.posthook.action(i).write_mask.offset_src and 2#11#) > 0 or config.posthook.action(i).write_mask.offset_mask > udev.all.size - 4 or (config.posthook.action(i).write_mask.offset_mask and 2#11#) > 0 then pragma DEBUG (debug.log (debug.ERROR, "Posthook: wrong MASK offset")); return false; end if; end case; end loop; return true; end sanitize_user_defined_interrupt; function sanitize_user_defined_gpio (udev : in ewok.exported.devices.t_user_device_access; config : in ewok.exported.gpios.t_gpio_config; task_id : in t_task_id) return boolean is pragma unreferenced (udev); begin if config.exti_trigger /= GPIO_EXTI_TRIGGER_NONE and then not ewok.perm.ressource_is_granted (PERM_RES_DEV_EXTI, task_id) then pragma DEBUG (debug.log (debug.ERROR, "PERM_RES_DEV_EXTI not allowed")); return false; end if; if config.exti_handler /= 0 and then not ewok.sanitize.is_word_in_txt_slot (config.exti_handler, task_id) then pragma DEBUG (debug.log (debug.ERROR, "EXTI handler not in .text section")); return false; end if; if not config.exti_lock'valid then pragma DEBUG (debug.log (debug.ERROR, "EXTI invalid lock mode")); return false; end if; return true; end sanitize_user_defined_gpio; function sanitize_user_defined_device (udev : in ewok.exported.devices.t_user_device_access; task_id : in t_task_id) return boolean is len : constant natural := types.c.len (udev.all.name); name : string (1 .. natural'min (t_device_name'length, len)); periph_id: soc.devmap.t_periph_id; ok : boolean; begin if udev.all.name(t_device_name'last) /= ASCII.NUL then types.c.to_ada (name, udev.all.name(1 .. t_device_name'length)); pragma DEBUG (debug.log (debug.ERROR, "Out-of-bound device name: " & name)); return false; else types.c.to_ada (name, udev.all.name); end if; if udev.all.size /= 0 then periph_id := soc.devmap.find_periph (udev.all.base_addr, udev.all.size); if periph_id = NO_PERIPH then pragma DEBUG (debug.log (debug.ERROR, "Device at addr" & system_address'image (udev.all.base_addr) & -- " with size" & unsigned_32'image (udev.all.size) & ": not found")); return false; end if; if not ewok.perm.ressource_is_granted (ewok.devices.perms.permissions(periph_id), task_id) then pragma DEBUG (debug.log (debug.ERROR, "No access to device: " & name)); return false; end if; end if; for i in 1 .. udev.all.interrupt_num loop ok := sanitize_user_defined_interrupt (udev, udev.all.interrupts(i), task_id); if not ok then pragma DEBUG (debug.log (debug.ERROR, name & ": invalid udev.interrupts parameter")); return false; end if; end loop; for i in 1 .. udev.all.gpio_num loop ok := sanitize_user_defined_gpio (udev, udev.all.gpios(i), task_id); if not ok then pragma DEBUG (debug.log (debug.ERROR, name & ": invalid udev.gpios parameter")); return false; end if; end loop; if udev.all.map_mode = DEV_MAP_VOLUNTARY then if not ewok.perm.ressource_is_granted (PERM_RES_MEM_DYNAMIC_MAP, task_id) then pragma DEBUG (debug.log (debug.ERROR, name & ": voluntary mapping not permited")); return false; end if; end if; return true; end sanitize_user_defined_device; end ewok.devices;
with Piles; with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Characters.Latin_1; -- des constantes comme Apostrophe (Latin1 ?!?!) use Ada.Characters.Latin_1; -- Programme de test du module Pile. procedure Utiliser_Piles is -- Utiliser la pile pour en montrer les possibilités sur un exemples. --! Attention, même si on utiliser « pragma Assert », on ne peut pas --! vraiment considérer cette procédure comme un programme de tests. --! Il est souhaitables que chaque programmes de test soit court, --! indépendant des autres et teste un aspect. procedure Utiliser_Pile_Caractere is package Pile_Caractere_3 is new Piles (Capacite => 3, T_Element => Character); --! On a nommé les paramètres de généricité. On peut ne pas les --! nommer à condition de respecter l'ordre --! --! package Pile_Caractere_3 is --! new Piles (3, Character); use Pile_Caractere_3; procedure Afficher_Pile is new Afficher (Afficher_Element => Put); Pile : T_Pile; begin Put_Line ("Tester_Pile_Caractere"); -- initilaiser la pile Initialiser (Pile); pragma Assert (Est_Vide (Pile)); -- empiler un premier élément Empiler (Pile, 'A'); pragma Assert (not Est_Vide (Pile)); pragma Assert (not Est_Pleine (Pile)); pragma Assert ('A' = Sommet (Pile)); -- remplir la pile Empiler (Pile, 'B'); pragma Assert ('B' = Sommet (Pile)); Empiler (Pile, 'C'); pragma Assert ('C' = Sommet (Pile)); pragma Assert (not Est_Vide (Pile)); pragma Assert (Est_Pleine (Pile)); -- Afficher la pile Afficher_Pile (Pile); New_Line; -- supprimer un éléments Depiler (Pile); pragma Assert (not Est_Pleine (Pile)); pragma Assert ('B' = Sommet (Pile)); -- ajouter un élément Empiler (Pile, 'D'); pragma Assert ('D' = Sommet (Pile)); pragma Assert (Est_Pleine (Pile)); -- Afficher la pile Afficher_Pile (Pile); New_Line; -- vider la pile Depiler (Pile); pragma Assert (not Est_Vide (Pile)); pragma Assert ('B' = Sommet (Pile)); Depiler (Pile); pragma Assert (not Est_Vide (Pile)); pragma Assert ('A' = Sommet (Pile)); Depiler (Pile); pragma Assert (Est_Vide (Pile)); -- Afficher la pile Afficher_Pile (Pile); New_Line; end Utiliser_Pile_Caractere; procedure Utiliser_Pile_Entier is -- Capacite de la pile de test. Capacite : constant Integer := 10; package Pile_Integer is new Piles(Capacite, Integer); use Pile_Integer; -- Afficher un entier. --! On ne peut pas directement utliser Put car cette procédure ne --! prend pas qu'un seul paramètre. Elle n'a donc pas la bonne --! signature. --! Pour éviter de devoir définir cette procédure plusieurs fois, on --! pourrait la définir dans un autre module ou unité, par exemple --! afficher_un_entier.ads/.adb. procedure Afficher_Entier (N: in Integer) is begin Put (N, 1); end Afficher_Entier; procedure Afficher is new Pile_Integer.Afficher (Afficher_Entier); --! On pourrait ne pas mettre Pile_Integer et --! nommer Afficher_Entier simplement Afficher. P1 : T_Pile; begin Put_Line ("Tester_Pile_Entier"); -- initilaiser la pile Initialiser (P1); pragma Assert (Est_Vide (P1)); -- remplir la pile for I in 1..Capacite loop Empiler (P1, I); end loop; pragma Assert (Est_Pleine (P1)); -- Afficher la pile Afficher (P1); New_Line; -- vider la pile for I in reverse 1..Capacite loop pragma Assert (I = Sommet (P1)); Depiler (P1); end loop; pragma Assert (Est_Vide (P1)); end Utiliser_Pile_Entier; procedure Illustrer_Surcharge is package Pile_Integer is new Piles(10, Integer); use Pile_Integer; procedure Afficher (N: in Integer) is begin Put (N, 1); end Afficher; procedure Afficher is new Pile_Integer.Afficher (Afficher); --! Il y a deux procédures qui s'appelle Afficher : --! 1. Afficher (Integer), --! 2. Afficher (Pile_Integer.T_Pile) : instance de la 1. --! --! Ceci ne pose pas de problème car en fonction du paramètre --! effectif fourni : entier ou T_Pile, le compilateur saura --! laquelle choisir. --! --! Remarque : on doit mettre Pile_Integer.Afficher parce que --! Ada ne veut pas que l'instance Afficher (T_Pile) porte le même nom --! que la procédure générique (risque de masquage). P : T_Pile; begin Put_Line ("Illustrer_Surcharge"); Initialiser (P); Empiler (P, 5); Put ("5 = "); Afficher (5); New_Line; --! la 1 : afficher entier Put ("P = "); Afficher (P); New_Line; --! la 2 : afficher pile --! Décommenter la ligne suivante et compiler pour voir l'erreur --! signalée par le compilateur et les versions de Afficher qu'il --! connait. -- Afficher("XXX"); end Illustrer_Surcharge; -- Afficher le caractère C entre apostrophes. procedure Afficher(C : in Character) is begin Put (Apostrophe & C & Apostrophe); end Afficher; procedure Illustrer_Plusieurs_Afficher_Pour_Meme_Pile is package PPC3 is new Piles (Capacite => 3, T_Element => Character); use PPC3; procedure Afficher is new PPC3.Afficher (Put); procedure Afficher_Apostrophe is new PPC3.Afficher (Afficher); --! Ici, il faut un nom différent pour les deux procédures car --! elles ont la même signature : une T_Pile de PPC3. P: T_Pile; begin Put_Line ("Illustrer_Plusieurs_Afficher_Pour_Meme_Pile"); Initialiser (P); Empiler (P, 'A'); Put ("P = "); Afficher (P); New_Line; Put ("P = "); Afficher_Apostrophe (P); New_Line; end Illustrer_Plusieurs_Afficher_Pour_Meme_Pile; -- Montrer deux instances du même module dans le même sous-programme. procedure Illustrer_Plusieurs_Piles is package PPC1 is new Piles(3, Character); use PPC1; procedure Afficher is new PPC1.Afficher (Put); package PPC2 is new Piles(10, Character); use PPC2; procedure Afficher is new PPC2.Afficher (Put); procedure Afficher_Apostrophe is new PPC2.Afficher (Afficher); PC1 : PPC1.T_Pile; PC2 : PPC2.T_Pile; begin Put_Line ("Illustrer_Plusieurs_Piles"); --! Décommenter la ligne suivante et compiler pour voir l'erreur --! signalée par le compilateur et les versions de Afficher qu'il --! connait. -- Afficher("XXX"); -- Initialiser les piles Initialiser (PC1); Initialiser (PC2); -- Ajouter des éléments dans les piles for C in Character range 'A'..'C' loop Empiler (PC1, C); Empiler (PC2, C); end loop; -- Afficher les piles Put ("PC1 = "); Afficher (PC1); New_Line; Put ("PC2 = "); Afficher (PC2); New_Line; Put ("PC2 = "); Afficher_Apostrophe (PC2); New_Line; -- Ne pas respecter un contrat for C in Character range 'A'..'Z' loop Empiler (PC1, C); end loop; Afficher (PC1); end Illustrer_Plusieurs_Piles; begin Utiliser_Pile_Caractere; Utiliser_Pile_Entier; Illustrer_Surcharge; Illustrer_Plusieurs_Afficher_Pour_Meme_Pile; Illustrer_Plusieurs_Piles; end Utiliser_Piles;
with Libadalang.Analysis; use Libadalang.Analysis; with Rejuvenation.Navigation; use Rejuvenation.Navigation; package Rewriters is type Rewriter is tagged private; -- To be usable in an Ada.Containers.Vectors, -- a Rewriter can't be abstract and can't be an interface function Rewrite (R : Rewriter; Node : Ada_Node'Class; Top_Level : Boolean := True) return String; function Rewrite_Context (R : Rewriter; Node : Ada_Node'Class) return Ada_Node with Post => Is_Reflexive_Ancestor (Rewrite_Context'Result, Node); type Any_Rewriter is access Rewriter'Class; type Any_Constant_Rewriter is access constant Rewriter'Class; private type Rewriter is tagged null record; function Rewrite_Context (R : Rewriter; Node : Ada_Node'Class) return Ada_Node is (Node.As_Ada_Node); end Rewriters;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . I M G _ C H A R -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2019, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ package body System.Img_Char is --------------------- -- Image_Character -- --------------------- procedure Image_Character (V : Character; S : in out String; P : out Natural) is pragma Assert (S'First = 1); subtype Cname is String (1 .. 3); subtype C0_Range is Character range Character'Val (16#00#) .. Character'Val (16#1F#); C0 : constant array (C0_Range) of Cname := (Character'Val (16#00#) => "NUL", Character'Val (16#01#) => "SOH", Character'Val (16#02#) => "STX", Character'Val (16#03#) => "ETX", Character'Val (16#04#) => "EOT", Character'Val (16#05#) => "ENQ", Character'Val (16#06#) => "ACK", Character'Val (16#07#) => "BEL", Character'Val (16#08#) => "BS ", Character'Val (16#09#) => "HT ", Character'Val (16#0A#) => "LF ", Character'Val (16#0B#) => "VT ", Character'Val (16#0C#) => "FF ", Character'Val (16#0D#) => "CR ", Character'Val (16#0E#) => "SO ", Character'Val (16#0F#) => "SI ", Character'Val (16#10#) => "DLE", Character'Val (16#11#) => "DC1", Character'Val (16#12#) => "DC2", Character'Val (16#13#) => "DC3", Character'Val (16#14#) => "DC4", Character'Val (16#15#) => "NAK", Character'Val (16#16#) => "SYN", Character'Val (16#17#) => "ETB", Character'Val (16#18#) => "CAN", Character'Val (16#19#) => "EM ", Character'Val (16#1A#) => "SUB", Character'Val (16#1B#) => "ESC", Character'Val (16#1C#) => "FS ", Character'Val (16#1D#) => "GS ", Character'Val (16#1E#) => "RS ", Character'Val (16#1F#) => "US "); subtype C1_Range is Character range Character'Val (16#7F#) .. Character'Val (16#9F#); C1 : constant array (C1_Range) of Cname := (Character'Val (16#7F#) => "DEL", Character'Val (16#80#) => "res", Character'Val (16#81#) => "res", Character'Val (16#82#) => "BPH", Character'Val (16#83#) => "NBH", Character'Val (16#84#) => "res", Character'Val (16#85#) => "NEL", Character'Val (16#86#) => "SSA", Character'Val (16#87#) => "ESA", Character'Val (16#88#) => "HTS", Character'Val (16#89#) => "HTJ", Character'Val (16#8A#) => "VTS", Character'Val (16#8B#) => "PLD", Character'Val (16#8C#) => "PLU", Character'Val (16#8D#) => "RI ", Character'Val (16#8E#) => "SS2", Character'Val (16#8F#) => "SS3", Character'Val (16#90#) => "DCS", Character'Val (16#91#) => "PU1", Character'Val (16#92#) => "PU2", Character'Val (16#93#) => "STS", Character'Val (16#94#) => "CCH", Character'Val (16#95#) => "MW ", Character'Val (16#96#) => "SPA", Character'Val (16#97#) => "EPA", Character'Val (16#98#) => "SOS", Character'Val (16#99#) => "res", Character'Val (16#9A#) => "SCI", Character'Val (16#9B#) => "CSI", Character'Val (16#9C#) => "ST ", Character'Val (16#9D#) => "OSC", Character'Val (16#9E#) => "PM ", Character'Val (16#9F#) => "APC"); begin -- Control characters are represented by their names (RM 3.5(32)) if V in C0_Range then S (1 .. 3) := C0 (V); P := (if S (3) = ' ' then 2 else 3); elsif V in C1_Range then S (1 .. 3) := C1 (V); if S (1) /= 'r' then P := (if S (3) = ' ' then 2 else 3); -- Special case, res means RESERVED_nnn where nnn is the three digit -- decimal value corresponding to the code position (more efficient -- to compute than to store). else declare VP : constant Natural := Character'Pos (V); begin S (1 .. 9) := "RESERVED_"; S (10) := Character'Val (48 + VP / 100); S (11) := Character'Val (48 + (VP / 10) mod 10); S (12) := Character'Val (48 + VP mod 10); P := 12; end; end if; -- Normal characters yield the character enclosed in quotes (RM 3.5(32)) else S (1) := '''; S (2) := V; S (3) := '''; P := 3; end if; end Image_Character; ------------------------ -- Image_Character_05 -- ------------------------ procedure Image_Character_05 (V : Character; S : in out String; P : out Natural) is pragma Assert (S'First = 1); begin if V = Character'Val (16#00AD#) then P := 11; S (1 .. P) := "SOFT_HYPHEN"; else Image_Character (V, S, P); end if; end Image_Character_05; end System.Img_Char;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . W W D _ W C H A R -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2005 Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package contains routines for [Wide_]Wide_Character'[Wide_]Wide_Width package System.Wwd_WChar is pragma Pure; function Wide_Width_Wide_Character (Lo, Hi : Wide_Character) return Natural; -- Compute Wide_Width attribute for non-static type derived from -- Wide_Character. The arguments are the low and high bounds for -- the type. EM is the wide-character encoding method. function Wide_Width_Wide_Wide_Character (Lo, Hi : Wide_Wide_Character) return Natural; -- Compute Wide_Width attribute for non-static type derived from -- Wide_Wide_Character. The arguments are the low and high bounds for -- the type. EM is the wide-character encoding method. function Wide_Wide_Width_Wide_Character (Lo, Hi : Wide_Character) return Natural; -- Compute Wide_Wide_Width attribute for non-static type derived from -- Wide_Character. The arguments are the low and high bounds for -- the type. EM is the wide-character encoding method. function Wide_Wide_Width_Wide_Wide_Char (Lo, Hi : Wide_Wide_Character) return Natural; -- Compute Wide_Wide_Width attribute for non-static type derived from -- Wide_Wide_Character. The arguments are the low and high bounds for -- the type. EM is the wide-character encoding method. end System.Wwd_WChar;
package body ACO.Messages is function CAN_Id (Msg : Message) return Id_Type is (Msg.CAN_Id.Id); function Func_Code (Msg : Message) return Function_Code is (Msg.CAN_Id.Code); function Node_Id (Msg : Message) return Node_Nr is (Msg.CAN_Id.Node); function Create (CAN_Id : Id_Type; RTR : Boolean; DLC : Data_Length; Data : Msg_Data) return Message is begin return (CAN_Id => (True, CAN_Id), RTR => RTR, Length => DLC, Data => Data); end Create; function Create (CAN_Id : Id_Type; RTR : Boolean; Data : Data_Array) return Message is Len : constant Natural := Msg_Data'Length - Data'Length; Fill : constant Data_Array (Msg_Data'First .. Msg_Data'First + Len - 1) := (others => Fill_Data); begin return (CAN_Id => (True, CAN_Id), RTR => RTR, Length => Data'Length, Data => Data & Fill); end Create; function Create (Code : Function_Code; Node : Node_Nr; RTR : Boolean; Data : Data_Array) return Message is Tmp : constant CAN_Id_Type := (False, Code, Node); begin return Create (CAN_Id => Tmp.Id, RTR => RTR, Data => Data); end Create; function Trim (S : String) return String is (if S'Length > 1 and then S (S'First) = ' ' then S (S'First + 1 .. S'Last) else S); function Image (Msg : in Message) return String is -- Yuck, but avoids Unbounded_String Data : constant String := "[" & Trim (Msg.Data (0)'Img) & "," & Msg.Data (1)'Img & "," & Msg.Data (2)'Img & "," & Msg.Data (3)'Img & "," & Msg.Data (4)'Img & "," & Msg.Data (5)'Img & "," & Msg.Data (6)'Img & "," & Msg.Data (7)'Img & "]"; begin return "<message" & " code=""" & Trim (Msg.CAN_Id.Code'Img) & """" & " node=""" & Trim (Msg.CAN_Id.Node'Img) & """" & " rtr=""" & Trim (Msg.RTR'Img) & """" & " dlc=""" & Trim (Msg.Length'Img) & """" & ">" & Data & "</message>"; end Image; function Image (CAN_Id : CAN_Id_Type) return String is begin return Trim (CAN_Id.Id'Img) & " (Node=" & Trim (CAN_Id.Node'Img) & ", Code=" & Trim (CAN_Id.Code'Img) & ")"; end Image; procedure Print (Stream : not null access Ada.Streams.Root_Stream_Type'Class; Msg : in Message) is use Ada.Streams; -- Plain text S : constant String := Image (Msg); Buffer : Stream_Element_Array (1 .. Stream_Element_Offset (S'Length)); begin for I in Buffer'Range loop Buffer (I) := Stream_Element (Character'Pos (S (Natural (I)))); end loop; Stream.Write (Buffer); end Print; end ACO.Messages;
pragma License (Unrestricted); -- implementation unit specialized for POSIX (Darwin, FreeBSD, or Linux) with Ada.Command_Line; with Ada.IO_Exceptions; with Ada.Streams.Naked_Stream_IO; with C.sys.types; package System.Native_Processes is use type C.sys.types.pid_t; subtype Command_Type is C.char_ptr_ptr; procedure Free (X : in out Command_Type); function Image (Command : Command_Type) return String; procedure Value ( Command_Line : String; Command : aliased out Command_Type); procedure Append ( Command : aliased in out Command_Type; New_Item : String); procedure Append ( Command : aliased in out Command_Type; First : Positive; Last : Natural); -- Copy arguments from argv. procedure Append_Argument ( Command_Line : in out String; Last : in out Natural; Argument : String); -- Child process type type Process is new C.sys.types.pid_t; Null_Process : constant Process := -1; -- Child process management function Is_Open (Child : Process) return Boolean; pragma Inline (Is_Open); Process_Disable_Controlled : constant Boolean := True; procedure Create ( Child : in out Process; Command : Command_Type; Directory : String := ""; Search_Path : Boolean := False; Input : Ada.Streams.Naked_Stream_IO.Non_Controlled_File_Type; Output : Ada.Streams.Naked_Stream_IO.Non_Controlled_File_Type; Error : Ada.Streams.Naked_Stream_IO.Non_Controlled_File_Type); procedure Create ( Child : in out Process; Command_Line : String; Directory : String := ""; Search_Path : Boolean := False; Input : Ada.Streams.Naked_Stream_IO.Non_Controlled_File_Type; Output : Ada.Streams.Naked_Stream_IO.Non_Controlled_File_Type; Error : Ada.Streams.Naked_Stream_IO.Non_Controlled_File_Type); procedure Close (Child : in out Process) is null; pragma Inline (Close); -- [gcc-7] can not skip calling null procedure procedure Wait ( Child : in out Process; Status : out Ada.Command_Line.Exit_Status); procedure Wait_Immediate ( Child : in out Process; Terminated : out Boolean; Status : out Ada.Command_Line.Exit_Status); procedure Abort_Process (Child : Process); procedure Forced_Abort_Process (Child : Process); -- Pass a command to the shell procedure Shell ( Command : Command_Type; Status : out Ada.Command_Line.Exit_Status); procedure Shell ( Command_Line : String; Status : out Ada.Command_Line.Exit_Status); -- Exceptions Name_Error : exception renames Ada.IO_Exceptions.Name_Error; Use_Error : exception renames Ada.IO_Exceptions.Use_Error; Device_Error : exception renames Ada.IO_Exceptions.Device_Error; end System.Native_Processes;
<?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>udpRxEngine</name> <module_structure>Pipeline</module_structure> <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>rxUdpDataIn_V_data_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>2147483647</coreId> <rtlModuleName/> </Obj> <bitwidth>512</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>rxUdpDataIn_V_keep_V</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>3621216858</coreId> <rtlModuleName/> </Obj> <bitwidth>64</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>rxUdpDataIn_V_strb_V</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>202</coreId> <rtlModuleName/> </Obj> <bitwidth>64</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_4"> <Value> <Obj> <type>1</type> <id>4</id> <name>rxUdpDataIn_V_last_V</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>117</coreId> <rtlModuleName/> </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="_5"> <Value> <Obj> <type>1</type> <id>8</id> <name>ureMetaData</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName>FIFO</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4268996984</coreId> <rtlModuleName/> </Obj> <bitwidth>128</bitwidth> </Value> <direction>1</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_6"> <Value> <Obj> <type>1</type> <id>9</id> <name>ureDataPayload</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName>FIFO</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>117</coreId> <rtlModuleName/> </Obj> <bitwidth>1024</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>77</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_7"> <Value> <Obj> <type>0</type> <id>20</id> <name>ure_state_load</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>117</lineNumber> <contextFuncName>udpRxEngine</contextFuncName> <contextNormFuncName>udpRxEngine</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second class_id="11" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first> <second>udpRxEngine</second> </first> <second>117</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269179568</coreId> <rtlModuleName/> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>113</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>21</id> <name>p_Val2_s</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>674</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>get</second> </first> <second>674</second> </item> </second> </item> </inlineStackInfo> <originalName>__Val2__</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4268450768</coreId> <rtlModuleName/> </Obj> <bitwidth>512</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>114</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <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="_9"> <Value> <Obj> <type>0</type> <id>22</id> <name>p_Val2_8</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>674</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>get</second> </first> <second>674</second> </item> </second> </item> </inlineStackInfo> <originalName>__Val2__</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4268776640</coreId> <rtlModuleName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>115</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>47</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>23</id> <name>_ln117</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>117</lineNumber> <contextFuncName>udpRxEngine</contextFuncName> <contextNormFuncName>udpRxEngine</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first> <second>udpRxEngine</second> </first> <second>117</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269239552</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>8</count> <item_version>0</item_version> <item>116</item> <item>117</item> <item>119</item> <item>120</item> <item>122</item> <item>123</item> <item>125</item> <item>126</item> </oprand_edges> <opcode>switch</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.65</m_delay> <m_topoIndex>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>25</id> <name>trunc_ln414</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>414</lineNumber> <contextFuncName>operator=&amp;lt;512, false&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_512_false</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>operator=&amp;lt;512, false&amp;gt;</second> </first> <second>414</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>trunc_ln414_fu_402_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4268464368</coreId> <rtlModuleName/> </Obj> <bitwidth>288</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>367</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>48</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>26</id> <name>trunc_ln414_1</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>414</lineNumber> <contextFuncName>operator=&amp;lt;64, false&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_64_false</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>operator=&amp;lt;64, false&amp;gt;</second> </first> <second>414</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>trunc_ln414_1_fu_406_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4268451296</coreId> <rtlModuleName/> </Obj> <bitwidth>36</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>368</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>49</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>27</id> <name>or_ln</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>write</contextFuncName> <contextNormFuncName>write</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first> <second>write</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>or_ln_fu_410_p5</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>577</bitwidth> </Value> <oprand_edges> <count>5</count> <item_version>0</item_version> <item>369</item> <item>370</item> <item>371</item> <item>372</item> <item>373</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="_14"> <Value> <Obj> <type>0</type> <id>28</id> <name>zext_ln174</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>write</contextFuncName> <contextNormFuncName>write</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first> <second>write</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln174_fu_422_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4268457184</coreId> <rtlModuleName/> </Obj> <bitwidth>1024</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>374</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>51</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>29</id> <name>ureDataPayload_write_ln174</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>write</contextFuncName> <contextNormFuncName>write</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first> <second>write</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control>auto</control> <opType>fifo</opType> <implIndex>memory</implIndex> <coreName>FIFO</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>78</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>375</item> <item>376</item> <item>377</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.15</m_delay> <m_topoIndex>52</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>30</id> <name>ure_state_write_ln177</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>177</lineNumber> <contextFuncName>udpRxEngine</contextFuncName> <contextNormFuncName>udpRxEngine</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first> <second>udpRxEngine</second> </first> <second>177</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1701984826</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>378</item> <item>379</item> <item>572</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.41</m_delay> <m_topoIndex>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>31</id> <name>br_ln178</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>178</lineNumber> <contextFuncName>udpRxEngine</contextFuncName> <contextNormFuncName>udpRxEngine</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first> <second>udpRxEngine</second> </first> <second>178</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4267510608</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>380</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>53</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>33</id> <name>tmp_8</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>267</lineNumber> <contextFuncName>empty</contextFuncName> <contextNormFuncName>empty</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</first> <second>empty</second> </first> <second>267</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName/> <control>auto</control> <opType>adapter</opType> <implIndex>axi4stream</implIndex> <coreName>axis</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>123</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>6</count> <item_version>0</item_version> <item>283</item> <item>284</item> <item>285</item> <item>286</item> <item>287</item> <item>288</item> </oprand_edges> <opcode>nbreadreq</opcode> <m_Display>0</m_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="_19"> <Value> <Obj> <type>0</type> <id>34</id> <name>br_ln147</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>147</lineNumber> <contextFuncName>udpRxEngine</contextFuncName> <contextNormFuncName>udpRxEngine</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first> <second>udpRxEngine</second> </first> <second>147</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>289</item> <item>290</item> <item>291</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>36</id> <name>empty_105</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>283</lineNumber> <contextFuncName>read</contextFuncName> <contextNormFuncName>read</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</first> <second>read</second> </first> <second>283</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control>auto</control> <opType>adapter</opType> <implIndex>axi4stream</implIndex> <coreName>axis</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>123</coreId> <rtlModuleName/> </Obj> <bitwidth>641</bitwidth> </Value> <oprand_edges> <count>6</count> <item_version>0</item_version> <item>292</item> <item>293</item> <item>294</item> <item>295</item> <item>296</item> <item>580</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="_21"> <Value> <Obj> <type>0</type> <id>37</id> <name>tmp_24</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>283</lineNumber> <contextFuncName>read</contextFuncName> <contextNormFuncName>read</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</first> <second>read</second> </first> <second>283</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269871792</coreId> <rtlModuleName/> </Obj> <bitwidth>512</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>297</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_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="_22"> <Value> <Obj> <type>0</type> <id>38</id> <name>tmp_25</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>283</lineNumber> <contextFuncName>read</contextFuncName> <contextNormFuncName>read</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</first> <second>read</second> </first> <second>283</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <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>298</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>39</id> <name>tmp_26</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>283</lineNumber> <contextFuncName>read</contextFuncName> <contextNormFuncName>read</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</first> <second>read</second> </first> <second>283</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269869072</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>299</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_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="_24"> <Value> <Obj> <type>0</type> <id>40</id> <name>trunc_ln674</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>674</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>get</second> </first> <second>674</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>trunc_ln674_fu_427_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>288</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>300</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>54</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>41</id> <name>trunc_ln674_10</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>674</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>get</second> </first> <second>674</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>trunc_ln674_10_fu_431_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>36</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>301</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>55</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>42</id> <name>trunc_ln674_11</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>674</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>get</second> </first> <second>674</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>trunc_ln674_11_fu_240_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269863632</coreId> <rtlModuleName/> </Obj> <bitwidth>224</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>302</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>10</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>43</id> <name>trunc_ln674_12</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>674</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>get</second> </first> <second>674</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>trunc_ln674_12_fu_244_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269867520</coreId> <rtlModuleName/> </Obj> <bitwidth>28</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>303</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="_28"> <Value> <Obj> <type>0</type> <id>44</id> <name>p_Result_20_i</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>674</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>get</second> </first> <second>674</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>reg_222</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269860912</coreId> <rtlModuleName/> </Obj> <bitwidth>288</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>304</item> <item>305</item> <item>306</item> <item>307</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>12</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>45</id> <name>p_Result_s</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>414</lineNumber> <contextFuncName>operator=&amp;lt;512, false&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_512_false</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>operator=&amp;lt;512, false&amp;gt;</second> </first> <second>414</second> </item> </second> </item> </inlineStackInfo> <originalName>__Result__</originalName> <rtlName>p_Result_s_fu_435_p5</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269865904</coreId> <rtlModuleName/> </Obj> <bitwidth>512</bitwidth> </Value> <oprand_edges> <count>5</count> <item_version>0</item_version> <item>309</item> <item>310</item> <item>311</item> <item>313</item> <item>315</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>56</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>46</id> <name>prevWord_data_V_1_write_ln414</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>414</lineNumber> <contextFuncName>operator=&amp;lt;512, false&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_512_false</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>operator=&amp;lt;512, false&amp;gt;</second> </first> <second>414</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1651847013</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>316</item> <item>317</item> <item>573</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.38</m_delay> <m_topoIndex>57</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>47</id> <name>p_Result_21_i</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>674</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>get</second> </first> <second>674</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>reg_226</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>542329928</coreId> <rtlModuleName/> </Obj> <bitwidth>36</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>318</item> <item>319</item> <item>320</item> <item>321</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>13</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>48</id> <name>p_Result_18</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>414</lineNumber> <contextFuncName>operator=&amp;lt;64, false&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_64_false</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>operator=&amp;lt;64, false&amp;gt;</second> </first> <second>414</second> </item> </second> </item> </inlineStackInfo> <originalName>__Result__</originalName> <rtlName>p_Result_18_fu_453_p5</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4268498016</coreId> <rtlModuleName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>5</count> <item_version>0</item_version> <item>323</item> <item>324</item> <item>325</item> <item>326</item> <item>328</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>58</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>49</id> <name>prevWord_keep_V_1_write_ln414</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>414</lineNumber> <contextFuncName>operator=&amp;lt;64, false&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_64_false</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>operator=&amp;lt;64, false&amp;gt;</second> </first> <second>414</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4268493504</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>329</item> <item>330</item> <item>574</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.38</m_delay> <m_topoIndex>59</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>50</id> <name>br_ln161</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>161</lineNumber> <contextFuncName>udpRxEngine</contextFuncName> <contextNormFuncName>udpRxEngine</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first> <second>udpRxEngine</second> </first> <second>161</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4268494560</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>331</item> <item>332</item> <item>333</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.38</m_delay> <m_topoIndex>14</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>52</id> <name>tmp_20</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>819</lineNumber> <contextFuncName>operator bool</contextFuncName> <contextNormFuncName>operator_bool</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>operator bool</second> </first> <second>819</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_20_fu_248_p3</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>335</item> <item>336</item> <item>337</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>15</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>53</id> <name>br_ln162</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>162</lineNumber> <contextFuncName>udpRxEngine</contextFuncName> <contextNormFuncName>udpRxEngine</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first> <second>udpRxEngine</second> </first> <second>162</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>176</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>338</item> <item>339</item> <item>340</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>16</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>55</id> <name>ure_state_write_ln166</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>166</lineNumber> <contextFuncName>udpRxEngine</contextFuncName> <contextNormFuncName>udpRxEngine</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first> <second>udpRxEngine</second> </first> <second>166</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>784</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>344</item> <item>345</item> <item>579</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.41</m_delay> <m_topoIndex>17</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>56</id> <name>br_ln0</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269472272</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>346</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.38</m_delay> <m_topoIndex>18</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>58</id> <name>ure_state_write_ln163</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>163</lineNumber> <contextFuncName>udpRxEngine</contextFuncName> <contextNormFuncName>udpRxEngine</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first> <second>udpRxEngine</second> </first> <second>163</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269462880</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>341</item> <item>342</item> <item>578</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.41</m_delay> <m_topoIndex>19</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>59</id> <name>br_ln163</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>163</lineNumber> <contextFuncName>udpRxEngine</contextFuncName> <contextNormFuncName>udpRxEngine</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first> <second>udpRxEngine</second> </first> <second>163</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269455856</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>343</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.38</m_delay> <m_topoIndex>20</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_41"> <Value> <Obj> <type>0</type> <id>61</id> <name>sendWord_last_V</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>sendWord.last.V</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>792874312</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>6</count> <item_version>0</item_version> <item>348</item> <item>349</item> <item>350</item> <item>351</item> <item>352</item> <item>353</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>60</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>62</id> <name>tmp_30_i</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>write</contextFuncName> <contextNormFuncName>write</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first> <second>write</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>tmp_30_i_fu_471_p6</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269453232</coreId> <rtlModuleName/> </Obj> <bitwidth>577</bitwidth> </Value> <oprand_edges> <count>6</count> <item_version>0</item_version> <item>355</item> <item>356</item> <item>357</item> <item>358</item> <item>359</item> <item>360</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="_43"> <Value> <Obj> <type>0</type> <id>63</id> <name>zext_ln174_3</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>write</contextFuncName> <contextNormFuncName>write</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first> <second>write</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln174_3_fu_483_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269457680</coreId> <rtlModuleName/> </Obj> <bitwidth>1024</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>361</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="_44"> <Value> <Obj> <type>0</type> <id>64</id> <name>ureDataPayload_write_ln174</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>write</contextFuncName> <contextNormFuncName>write</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first> <second>write</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control>auto</control> <opType>fifo</opType> <implIndex>memory</implIndex> <coreName>FIFO</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>78</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>362</item> <item>363</item> <item>364</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.15</m_delay> <m_topoIndex>63</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>65</id> <name>br_ln170</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>170</lineNumber> <contextFuncName>udpRxEngine</contextFuncName> <contextNormFuncName>udpRxEngine</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first> <second>udpRxEngine</second> </first> <second>170</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269450608</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>365</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>64</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_46"> <Value> <Obj> <type>0</type> <id>67</id> <name>br_ln171</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>171</lineNumber> <contextFuncName>udpRxEngine</contextFuncName> <contextNormFuncName>udpRxEngine</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first> <second>udpRxEngine</second> </first> <second>171</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269456528</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>366</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>21</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_47"> <Value> <Obj> <type>0</type> <id>69</id> <name>tmp</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>267</lineNumber> <contextFuncName>empty</contextFuncName> <contextNormFuncName>empty</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</first> <second>empty</second> </first> <second>267</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName/> <control>auto</control> <opType>adapter</opType> <implIndex>axi4stream</implIndex> <coreName>axis</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>123</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>6</count> <item_version>0</item_version> <item>128</item> <item>129</item> <item>130</item> <item>131</item> <item>132</item> <item>134</item> </oprand_edges> <opcode>nbreadreq</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>22</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_48"> <Value> <Obj> <type>0</type> <id>70</id> <name>br_ln119</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>119</lineNumber> <contextFuncName>udpRxEngine</contextFuncName> <contextNormFuncName>udpRxEngine</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first> <second>udpRxEngine</second> </first> <second>119</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269445504</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>135</item> <item>136</item> <item>137</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>23</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_49"> <Value> <Obj> <type>0</type> <id>72</id> <name>empty</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>283</lineNumber> <contextFuncName>read</contextFuncName> <contextNormFuncName>read</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</first> <second>read</second> </first> <second>283</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control>auto</control> <opType>adapter</opType> <implIndex>axi4stream</implIndex> <coreName>axis</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>123</coreId> <rtlModuleName/> </Obj> <bitwidth>641</bitwidth> </Value> <oprand_edges> <count>6</count> <item_version>0</item_version> <item>139</item> <item>140</item> <item>141</item> <item>142</item> <item>143</item> <item>581</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>24</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_50"> <Value> <Obj> <type>0</type> <id>73</id> <name>tmp_21</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>283</lineNumber> <contextFuncName>read</contextFuncName> <contextNormFuncName>read</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</first> <second>read</second> </first> <second>283</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269979968</coreId> <rtlModuleName/> </Obj> <bitwidth>512</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>144</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>25</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_51"> <Value> <Obj> <type>0</type> <id>74</id> <name>tmp_22</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>283</lineNumber> <contextFuncName>read</contextFuncName> <contextNormFuncName>read</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</first> <second>read</second> </first> <second>283</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269978544</coreId> <rtlModuleName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>145</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>26</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_52"> <Value> <Obj> <type>0</type> <id>75</id> <name>tmp_23</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>283</lineNumber> <contextFuncName>read</contextFuncName> <contextNormFuncName>read</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_axi_sdata.h</first> <second>read</second> </first> <second>283</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp</originalName> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269552464</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>146</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>27</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_53"> <Value> <Obj> <type>0</type> <id>76</id> <name>p_Result_148_i</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>674</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>get</second> </first> <second>674</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>p_Result_148_i_reg_580</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269557336</coreId> <rtlModuleName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>148</item> <item>149</item> <item>151</item> <item>153</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>28</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_54"> <Value> <Obj> <type>0</type> <id>77</id> <name>p_Result_148_1_i</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>674</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>get</second> </first> <second>674</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>p_Result_148_1_i_reg_585</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269551056</coreId> <rtlModuleName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>154</item> <item>155</item> <item>157</item> <item>159</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>29</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_55"> <Value> <Obj> <type>0</type> <id>78</id> <name>p_Result_148_2_i</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>674</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>get</second> </first> <second>674</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>p_Result_148_2_i_reg_590</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>160</item> <item>161</item> <item>163</item> <item>165</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="_56"> <Value> <Obj> <type>0</type> <id>79</id> <name>p_Result_148_3_i</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>674</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>get</second> </first> <second>674</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>p_Result_148_3_i_reg_595</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269462296</coreId> <rtlModuleName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>166</item> <item>167</item> <item>169</item> <item>171</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>31</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_57"> <Value> <Obj> <type>0</type> <id>80</id> <name>p_Result_151_i</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>674</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>get</second> </first> <second>674</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>p_Result_151_i_reg_600</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>176</coreId> <rtlModuleName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>172</item> <item>173</item> <item>175</item> <item>177</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>32</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_58"> <Value> <Obj> <type>0</type> <id>81</id> <name>p_Result_151_1_i</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>674</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>get</second> </first> <second>674</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>p_Result_151_1_i_reg_605</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4268501136</coreId> <rtlModuleName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>178</item> <item>179</item> <item>181</item> <item>183</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="_59"> <Value> <Obj> <type>0</type> <id>82</id> <name>p_Result_151_2_i</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>674</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>get</second> </first> <second>674</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>p_Result_151_2_i_reg_610</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>184</item> <item>185</item> <item>187</item> <item>189</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>34</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_60"> <Value> <Obj> <type>0</type> <id>83</id> <name>p_Result_151_3_i</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>674</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>get</second> </first> <second>674</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>p_Result_151_3_i_reg_615</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4269869024</coreId> <rtlModuleName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>190</item> <item>191</item> <item>193</item> <item>195</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>35</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_61"> <Value> <Obj> <type>0</type> <id>84</id> <name>p_Result_154_i</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>674</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>get</second> </first> <second>674</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>p_Result_154_i_reg_620</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>196</item> <item>197</item> <item>199</item> <item>201</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>36</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_62"> <Value> <Obj> <type>0</type> <id>85</id> <name>p_Result_154_1_i</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>674</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>get</second> </first> <second>674</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>p_Result_154_1_i_reg_625</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>202</item> <item>203</item> <item>205</item> <item>207</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>37</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_63"> <Value> <Obj> <type>0</type> <id>86</id> <name>p_Result_157_i</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>674</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>get</second> </first> <second>674</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>p_Result_157_i_reg_630</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>208</item> <item>209</item> <item>211</item> <item>213</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>38</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_64"> <Value> <Obj> <type>0</type> <id>87</id> <name>p_Result_157_1_i</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>674</lineNumber> <contextFuncName>get</contextFuncName> <contextNormFuncName>get</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>get</second> </first> <second>674</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>p_Result_157_1_i_reg_635</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4268883424</coreId> <rtlModuleName/> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>214</item> <item>215</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>39</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_65"> <Value> <Obj> <type>0</type> <id>88</id> <name>p_Result_19</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>414</lineNumber> <contextFuncName>operator=&amp;lt;512, false&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_512_false</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>operator=&amp;lt;512, false&amp;gt;</second> </first> <second>414</second> </item> </second> </item> </inlineStackInfo> <originalName>__Result__</originalName> <rtlName>reg_222</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4268884656</coreId> <rtlModuleName/> </Obj> <bitwidth>288</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>221</item> <item>222</item> <item>224</item> <item>226</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>40</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_66"> <Value> <Obj> <type>0</type> <id>89</id> <name>zext_ln414</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>414</lineNumber> <contextFuncName>operator=&amp;lt;512, false&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_512_false</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>operator=&amp;lt;512, false&amp;gt;</second> </first> <second>414</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln414_fu_488_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4268896624</coreId> <rtlModuleName/> </Obj> <bitwidth>512</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>227</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>65</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_67"> <Value> <Obj> <type>0</type> <id>90</id> <name>p_Result_20</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>414</lineNumber> <contextFuncName>operator=&amp;lt;64, false&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_64_false</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>operator=&amp;lt;64, false&amp;gt;</second> </first> <second>414</second> </item> </second> </item> </inlineStackInfo> <originalName>__Result__</originalName> <rtlName>reg_226</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>176</coreId> <rtlModuleName/> </Obj> <bitwidth>36</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>229</item> <item>230</item> <item>232</item> <item>234</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>41</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_68"> <Value> <Obj> <type>0</type> <id>91</id> <name>zext_ln414_2</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>414</lineNumber> <contextFuncName>operator=&amp;lt;64, false&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_64_false</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/ap_int_ref.h</first> <second>operator=&amp;lt;64, false&amp;gt;</second> </first> <second>414</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln414_2_fu_492_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4268489952</coreId> <rtlModuleName/> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>235</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="_69"> <Value> <Obj> <type>0</type> <id>92</id> <name>or_ln174_1</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>write</contextFuncName> <contextNormFuncName>write</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first> <second>write</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>or_ln174_1_fu_496_p14</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4268491496</coreId> <rtlModuleName/> </Obj> <bitwidth>97</bitwidth> </Value> <oprand_edges> <count>14</count> <item_version>0</item_version> <item>237</item> <item>239</item> <item>240</item> <item>241</item> <item>242</item> <item>243</item> <item>244</item> <item>245</item> <item>246</item> <item>247</item> <item>248</item> <item>249</item> <item>250</item> <item>251</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>67</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_70"> <Value> <Obj> <type>0</type> <id>93</id> <name>zext_ln174_1</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>write</contextFuncName> <contextNormFuncName>write</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first> <second>write</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>ureMetaData_din</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4267510608</coreId> <rtlModuleName/> </Obj> <bitwidth>128</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>252</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>68</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_71"> <Value> <Obj> <type>0</type> <id>94</id> <name>ureMetaData_write_ln174</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>write</contextFuncName> <contextNormFuncName>write</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first> <second>write</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control>auto</control> <opType>fifo</opType> <implIndex>memory</implIndex> <coreName>FIFO</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>78</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>254</item> <item>255</item> <item>256</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.15</m_delay> <m_topoIndex>69</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_72"> <Value> <Obj> <type>0</type> <id>95</id> <name>br_ln138</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>138</lineNumber> <contextFuncName>udpRxEngine</contextFuncName> <contextNormFuncName>udpRxEngine</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first> <second>udpRxEngine</second> </first> <second>138</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1969513832</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>257</item> <item>258</item> <item>259</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>42</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_73"> <Value> <Obj> <type>0</type> <id>97</id> <name>ure_state_write_ln141</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>141</lineNumber> <contextFuncName>udpRxEngine</contextFuncName> <contextNormFuncName>udpRxEngine</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first> <second>udpRxEngine</second> </first> <second>141</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1936484384</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>274</item> <item>275</item> <item>575</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.41</m_delay> <m_topoIndex>43</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_74"> <Value> <Obj> <type>0</type> <id>98</id> <name>br_ln0</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>673195817</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>276</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>44</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_75"> <Value> <Obj> <type>0</type> <id>100</id> <name>or_ln174_2</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>write</contextFuncName> <contextNormFuncName>write</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first> <second>write</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>or_ln174_2_fu_519_p5</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4267510608</coreId> <rtlModuleName/> </Obj> <bitwidth>577</bitwidth> </Value> <oprand_edges> <count>5</count> <item_version>0</item_version> <item>261</item> <item>263</item> <item>264</item> <item>266</item> <item>267</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>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_76"> <Value> <Obj> <type>0</type> <id>101</id> <name>zext_ln174_2</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>write</contextFuncName> <contextNormFuncName>write</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first> <second>write</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName>zext_ln174_2_fu_531_p1</rtlName> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>1024</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>268</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>71</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_77"> <Value> <Obj> <type>0</type> <id>102</id> <name>ureDataPayload_write_ln174</name> <fileName>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</fileName> <fileDirectory>..</fileDirectory> <lineNumber>174</lineNumber> <contextFuncName>write</contextFuncName> <contextNormFuncName>write</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/tools/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot/hls_stream_39.h</first> <second>write</second> </first> <second>174</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control>auto</control> <opType>fifo</opType> <implIndex>memory</implIndex> <coreName>FIFO</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>78</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>270</item> <item>271</item> <item>272</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.15</m_delay> <m_topoIndex>72</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_78"> <Value> <Obj> <type>0</type> <id>103</id> <name>br_ln139</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>139</lineNumber> <contextFuncName>udpRxEngine</contextFuncName> <contextNormFuncName>udpRxEngine</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first> <second>udpRxEngine</second> </first> <second>139</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1701263930</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>273</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>73</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_79"> <Value> <Obj> <type>0</type> <id>105</id> <name>prevWord_data_V_1_write_ln143</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>udpRxEngine</contextFuncName> <contextNormFuncName>udpRxEngine</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first> <second>udpRxEngine</second> </first> <second>143</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>0</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>277</item> <item>278</item> <item>576</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.38</m_delay> <m_topoIndex>74</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_80"> <Value> <Obj> <type>0</type> <id>106</id> <name>prevWord_keep_V_1_write_ln143</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>143</lineNumber> <contextFuncName>udpRxEngine</contextFuncName> <contextNormFuncName>udpRxEngine</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first> <second>udpRxEngine</second> </first> <second>143</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4268892392</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>279</item> <item>280</item> <item>577</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.38</m_delay> <m_topoIndex>75</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_81"> <Value> <Obj> <type>0</type> <id>107</id> <name>br_ln144</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>144</lineNumber> <contextFuncName>udpRxEngine</contextFuncName> <contextNormFuncName>udpRxEngine</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first> <second>udpRxEngine</second> </first> <second>144</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4268893480</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>281</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>76</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_82"> <Value> <Obj> <type>0</type> <id>109</id> <name>br_ln145</name> <fileName>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</fileName> <fileDirectory>..</fileDirectory> <lineNumber>145</lineNumber> <contextFuncName>udpRxEngine</contextFuncName> <contextNormFuncName>udpRxEngine</contextNormFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>/home/ubuntu/xup_vitis_network_example/NetLayers/100G-fpga-network-stack-core/synthesis_results_HMB/..//hls/UDP/udp.cpp</first> <second>udpRxEngine</second> </first> <second>145</second> </item> </second> </item> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>151666223</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>282</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>45</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_83"> <Value> <Obj> <type>0</type> <id>111</id> <name>_ln0</name> <fileName/> <fileDirectory/> <lineNumber>0</lineNumber> <contextFuncName/> <contextNormFuncName/> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName/> <rtlName/> <control/> <opType/> <implIndex/> <coreName/> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>828321841</coreId> <rtlModuleName/> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>77</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>39</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_84"> <Value> <Obj> <type>2</type> <id>118</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>4269869872</coreId> <rtlModuleName/> </Obj> <bitwidth>2</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_85"> <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>62</coreId> <rtlModuleName/> </Obj> <bitwidth>2</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_86"> <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>1598377026</coreId> <rtlModuleName/> </Obj> <bitwidth>2</bitwidth> </Value> <const_type>0</const_type> <content>2</content> </item> <item class_id_reference="16" object_id="_87"> <Value> <Obj> <type>2</type> <id>133</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>1634168934</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_88"> <Value> <Obj> <type>2</type> <id>150</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>1936290661</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>120</content> </item> <item class_id_reference="16" object_id="_89"> <Value> <Obj> <type>2</type> <id>152</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>1885414944</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>127</content> </item> <item class_id_reference="16" object_id="_90"> <Value> <Obj> <type>2</type> <id>156</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>1869635878</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>112</content> </item> <item class_id_reference="16" object_id="_91"> <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>1852795251</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>119</content> </item> <item class_id_reference="16" object_id="_92"> <Value> <Obj> <type>2</type> <id>162</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>1663056755</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>104</content> </item> <item class_id_reference="16" object_id="_93"> <Value> <Obj> <type>2</type> <id>164</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>4268503856</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>111</content> </item> <item class_id_reference="16" object_id="_94"> <Value> <Obj> <type>2</type> <id>168</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>4268504464</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>96</content> </item> <item class_id_reference="16" object_id="_95"> <Value> <Obj> <type>2</type> <id>170</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>4268505072</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>103</content> </item> <item class_id_reference="16" object_id="_96"> <Value> <Obj> <type>2</type> <id>174</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>4268505760</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>152</content> </item> <item class_id_reference="16" object_id="_97"> <Value> <Obj> <type>2</type> <id>176</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>4268506368</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>159</content> </item> <item class_id_reference="16" object_id="_98"> <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>4268506816</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>144</content> </item> <item class_id_reference="16" object_id="_99"> <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>4268507248</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>151</content> </item> <item class_id_reference="16" object_id="_100"> <Value> <Obj> <type>2</type> <id>186</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>4267510608</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>136</content> </item> <item class_id_reference="16" object_id="_101"> <Value> <Obj> <type>2</type> <id>188</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>4267510608</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>143</content> </item> <item class_id_reference="16" object_id="_102"> <Value> <Obj> <type>2</type> <id>192</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>784</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>128</content> </item> <item class_id_reference="16" object_id="_103"> <Value> <Obj> <type>2</type> <id>194</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>176</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>135</content> </item> <item class_id_reference="16" object_id="_104"> <Value> <Obj> <type>2</type> <id>198</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>0</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>168</content> </item> <item class_id_reference="16" object_id="_105"> <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>0</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>175</content> </item> <item class_id_reference="16" object_id="_106"> <Value> <Obj> <type>2</type> <id>204</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>0</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>160</content> </item> <item class_id_reference="16" object_id="_107"> <Value> <Obj> <type>2</type> <id>206</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>1702258035</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>167</content> </item> <item class_id_reference="16" object_id="_108"> <Value> <Obj> <type>2</type> <id>210</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>4269874512</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>184</content> </item> <item class_id_reference="16" object_id="_109"> <Value> <Obj> <type>2</type> <id>212</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>4269877712</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>191</content> </item> <item class_id_reference="16" object_id="_110"> <Value> <Obj> <type>2</type> <id>216</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>4267510608</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>176</content> </item> <item class_id_reference="16" object_id="_111"> <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>4267510608</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>183</content> </item> <item class_id_reference="16" object_id="_112"> <Value> <Obj> <type>2</type> <id>223</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>176</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>224</content> </item> <item class_id_reference="16" object_id="_113"> <Value> <Obj> <type>2</type> <id>225</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>784</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>511</content> </item> <item class_id_reference="16" object_id="_114"> <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>4268511472</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>28</content> </item> <item class_id_reference="16" object_id="_115"> <Value> <Obj> <type>2</type> <id>233</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>539770422</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>63</content> </item> <item class_id_reference="16" object_id="_116"> <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>0</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>262</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>3881269184</coreId> <rtlModuleName/> </Obj> <bitwidth>29</bitwidth> </Value> <const_type>0</const_type> <content>268435456</content> </item> <item class_id_reference="16" object_id="_118"> <Value> <Obj> <type>2</type> <id>265</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>0</coreId> <rtlModuleName/> </Obj> <bitwidth>224</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_119"> <Value> <Obj> <type>2</type> <id>312</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>4267510608</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_120"> <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>4267510608</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>287</content> </item> <item class_id_reference="16" object_id="_121"> <Value> <Obj> <type>2</type> <id>327</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>4269649400</coreId> <rtlModuleName/> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>35</content> </item> <item class_id_reference="16" object_id="_122"> <Value> <Obj> <type>2</type> <id>347</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>1869575215</coreId> <rtlModuleName/> </Obj> <bitwidth>1</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>16</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_123"> <Obj> <type>3</type> <id>24</id> <name>entry</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>0</coreId> <rtlModuleName/> </Obj> <node_objs> <count>4</count> <item_version>0</item_version> <item>20</item> <item>21</item> <item>22</item> <item>23</item> </node_objs> </item> <item class_id_reference="18" object_id="_124"> <Obj> <type>3</type> <id>32</id> <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>0</coreId> <rtlModuleName/> </Obj> <node_objs> <count>7</count> <item_version>0</item_version> <item>25</item> <item>26</item> <item>27</item> <item>28</item> <item>29</item> <item>30</item> <item>31</item> </node_objs> </item> <item class_id_reference="18" object_id="_125"> <Obj> <type>3</type> <id>35</id> <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>64</coreId> <rtlModuleName/> </Obj> <node_objs> <count>2</count> <item_version>0</item_version> <item>33</item> <item>34</item> </node_objs> </item> <item class_id_reference="18" object_id="_126"> <Obj> <type>3</type> <id>51</id> <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>64</coreId> <rtlModuleName/> </Obj> <node_objs> <count>15</count> <item_version>0</item_version> <item>36</item> <item>37</item> <item>38</item> <item>39</item> <item>40</item> <item>41</item> <item>42</item> <item>43</item> <item>44</item> <item>45</item> <item>46</item> <item>47</item> <item>48</item> <item>49</item> <item>50</item> </node_objs> </item> <item class_id_reference="18" object_id="_127"> <Obj> <type>3</type> <id>54</id> <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>3886629600</coreId> <rtlModuleName/> </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="_128"> <Obj> <type>3</type> <id>57</id> <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>4269470472</coreId> <rtlModuleName/> </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="_129"> <Obj> <type>3</type> <id>60</id> <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>4269458480</coreId> <rtlModuleName/> </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="_130"> <Obj> <type>3</type> <id>66</id> <name>._crit_edge19.i</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>33</coreId> <rtlModuleName/> </Obj> <node_objs> <count>5</count> <item_version>0</item_version> <item>61</item> <item>62</item> <item>63</item> <item>64</item> <item>65</item> </node_objs> </item> <item class_id_reference="18" object_id="_131"> <Obj> <type>3</type> <id>68</id> <name>._crit_edge18.i</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>4269455248</coreId> <rtlModuleName/> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>67</item> </node_objs> </item> <item class_id_reference="18" object_id="_132"> <Obj> <type>3</type> <id>71</id> <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>826045550</coreId> <rtlModuleName/> </Obj> <node_objs> <count>2</count> <item_version>0</item_version> <item>69</item> <item>70</item> </node_objs> </item> <item class_id_reference="18" object_id="_133"> <Obj> <type>3</type> <id>96</id> <name>_Z8byteSwapILi16EE7ap_uintIXT_EES1_.exit.i</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>4269450000</coreId> <rtlModuleName/> </Obj> <node_objs> <count>24</count> <item_version>0</item_version> <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> </node_objs> </item> <item class_id_reference="18" object_id="_134"> <Obj> <type>3</type> <id>99</id> <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>1819242088</coreId> <rtlModuleName/> </Obj> <node_objs> <count>2</count> <item_version>0</item_version> <item>97</item> <item>98</item> </node_objs> </item> <item class_id_reference="18" object_id="_135"> <Obj> <type>3</type> <id>104</id> <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>1299211381</coreId> <rtlModuleName/> </Obj> <node_objs> <count>4</count> <item_version>0</item_version> <item>100</item> <item>101</item> <item>102</item> <item>103</item> </node_objs> </item> <item class_id_reference="18" object_id="_136"> <Obj> <type>3</type> <id>108</id> <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>1969627239</coreId> <rtlModuleName/> </Obj> <node_objs> <count>3</count> <item_version>0</item_version> <item>105</item> <item>106</item> <item>107</item> </node_objs> </item> <item class_id_reference="18" object_id="_137"> <Obj> <type>3</type> <id>110</id> <name>._crit_edge17.i</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>757935405</coreId> <rtlModuleName/> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>109</item> </node_objs> </item> <item class_id_reference="18" object_id="_138"> <Obj> <type>3</type> <id>112</id> <name>udpRxEngine.exit</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>825307437</coreId> <rtlModuleName/> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>111</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>218</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_139"> <id>113</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_140"> <id>114</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_141"> <id>115</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_142"> <id>116</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="_143"> <id>117</id> <edge_type>2</edge_type> <source_obj>112</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_144"> <id>119</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_145"> <id>120</id> <edge_type>2</edge_type> <source_obj>71</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_146"> <id>122</id> <edge_type>1</edge_type> <source_obj>121</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_147"> <id>123</id> <edge_type>2</edge_type> <source_obj>35</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_148"> <id>125</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_149"> <id>126</id> <edge_type>2</edge_type> <source_obj>32</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_150"> <id>129</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_151"> <id>130</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_152"> <id>131</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_153"> <id>132</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_154"> <id>134</id> <edge_type>1</edge_type> <source_obj>133</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_155"> <id>135</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="_156"> <id>136</id> <edge_type>2</edge_type> <source_obj>110</source_obj> <sink_obj>70</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_157"> <id>137</id> <edge_type>2</edge_type> <source_obj>96</source_obj> <sink_obj>70</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_158"> <id>140</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_159"> <id>141</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_160"> <id>142</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_161"> <id>143</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_162"> <id>144</id> <edge_type>1</edge_type> <source_obj>72</source_obj> <sink_obj>73</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_163"> <id>145</id> <edge_type>1</edge_type> <source_obj>72</source_obj> <sink_obj>74</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_164"> <id>146</id> <edge_type>1</edge_type> <source_obj>72</source_obj> <sink_obj>75</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_165"> <id>149</id> <edge_type>1</edge_type> <source_obj>73</source_obj> <sink_obj>76</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_166"> <id>151</id> <edge_type>1</edge_type> <source_obj>150</source_obj> <sink_obj>76</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_167"> <id>153</id> <edge_type>1</edge_type> <source_obj>152</source_obj> <sink_obj>76</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_168"> <id>155</id> <edge_type>1</edge_type> <source_obj>73</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_169"> <id>157</id> <edge_type>1</edge_type> <source_obj>156</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_170"> <id>159</id> <edge_type>1</edge_type> <source_obj>158</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_171"> <id>161</id> <edge_type>1</edge_type> <source_obj>73</source_obj> <sink_obj>78</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_172"> <id>163</id> <edge_type>1</edge_type> <source_obj>162</source_obj> <sink_obj>78</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_173"> <id>165</id> <edge_type>1</edge_type> <source_obj>164</source_obj> <sink_obj>78</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_174"> <id>167</id> <edge_type>1</edge_type> <source_obj>73</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_175"> <id>169</id> <edge_type>1</edge_type> <source_obj>168</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_176"> <id>171</id> <edge_type>1</edge_type> <source_obj>170</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_177"> <id>173</id> <edge_type>1</edge_type> <source_obj>73</source_obj> <sink_obj>80</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_178"> <id>175</id> <edge_type>1</edge_type> <source_obj>174</source_obj> <sink_obj>80</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_179"> <id>177</id> <edge_type>1</edge_type> <source_obj>176</source_obj> <sink_obj>80</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_180"> <id>179</id> <edge_type>1</edge_type> <source_obj>73</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_181"> <id>181</id> <edge_type>1</edge_type> <source_obj>180</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_182"> <id>183</id> <edge_type>1</edge_type> <source_obj>182</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_183"> <id>185</id> <edge_type>1</edge_type> <source_obj>73</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_184"> <id>187</id> <edge_type>1</edge_type> <source_obj>186</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_185"> <id>189</id> <edge_type>1</edge_type> <source_obj>188</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_186"> <id>191</id> <edge_type>1</edge_type> <source_obj>73</source_obj> <sink_obj>83</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_187"> <id>193</id> <edge_type>1</edge_type> <source_obj>192</source_obj> <sink_obj>83</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_188"> <id>195</id> <edge_type>1</edge_type> <source_obj>194</source_obj> <sink_obj>83</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_189"> <id>197</id> <edge_type>1</edge_type> <source_obj>73</source_obj> <sink_obj>84</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_190"> <id>199</id> <edge_type>1</edge_type> <source_obj>198</source_obj> <sink_obj>84</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_191"> <id>201</id> <edge_type>1</edge_type> <source_obj>200</source_obj> <sink_obj>84</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_192"> <id>203</id> <edge_type>1</edge_type> <source_obj>73</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_193"> <id>205</id> <edge_type>1</edge_type> <source_obj>204</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_194"> <id>207</id> <edge_type>1</edge_type> <source_obj>206</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_195"> <id>209</id> <edge_type>1</edge_type> <source_obj>73</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_196"> <id>211</id> <edge_type>1</edge_type> <source_obj>210</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_197"> <id>213</id> <edge_type>1</edge_type> <source_obj>212</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_198"> <id>215</id> <edge_type>1</edge_type> <source_obj>73</source_obj> <sink_obj>87</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_199"> <id>217</id> <edge_type>1</edge_type> <source_obj>216</source_obj> <sink_obj>87</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_200"> <id>219</id> <edge_type>1</edge_type> <source_obj>218</source_obj> <sink_obj>87</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_201"> <id>222</id> <edge_type>1</edge_type> <source_obj>73</source_obj> <sink_obj>88</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_202"> <id>224</id> <edge_type>1</edge_type> <source_obj>223</source_obj> <sink_obj>88</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_203"> <id>226</id> <edge_type>1</edge_type> <source_obj>225</source_obj> <sink_obj>88</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_204"> <id>227</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="_205"> <id>230</id> <edge_type>1</edge_type> <source_obj>74</source_obj> <sink_obj>90</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_206"> <id>232</id> <edge_type>1</edge_type> <source_obj>231</source_obj> <sink_obj>90</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_207"> <id>234</id> <edge_type>1</edge_type> <source_obj>233</source_obj> <sink_obj>90</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_208"> <id>235</id> <edge_type>1</edge_type> <source_obj>90</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_209"> <id>239</id> <edge_type>1</edge_type> <source_obj>238</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_210"> <id>240</id> <edge_type>1</edge_type> <source_obj>87</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_211"> <id>241</id> <edge_type>1</edge_type> <source_obj>86</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_212"> <id>242</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_213"> <id>243</id> <edge_type>1</edge_type> <source_obj>84</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_214"> <id>244</id> <edge_type>1</edge_type> <source_obj>83</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_215"> <id>245</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_216"> <id>246</id> <edge_type>1</edge_type> <source_obj>81</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_217"> <id>247</id> <edge_type>1</edge_type> <source_obj>80</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_218"> <id>248</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_219"> <id>249</id> <edge_type>1</edge_type> <source_obj>78</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_220"> <id>250</id> <edge_type>1</edge_type> <source_obj>77</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_221"> <id>251</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_222"> <id>252</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="_223"> <id>255</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>94</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_224"> <id>256</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="_225"> <id>257</id> <edge_type>1</edge_type> <source_obj>75</source_obj> <sink_obj>95</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_226"> <id>258</id> <edge_type>2</edge_type> <source_obj>99</source_obj> <sink_obj>95</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_227"> <id>259</id> <edge_type>2</edge_type> <source_obj>104</source_obj> <sink_obj>95</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_228"> <id>263</id> <edge_type>1</edge_type> <source_obj>262</source_obj> <sink_obj>100</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_229"> <id>264</id> <edge_type>1</edge_type> <source_obj>90</source_obj> <sink_obj>100</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_230"> <id>266</id> <edge_type>1</edge_type> <source_obj>265</source_obj> <sink_obj>100</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_231"> <id>267</id> <edge_type>1</edge_type> <source_obj>88</source_obj> <sink_obj>100</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_232"> <id>268</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>101</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_233"> <id>271</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>102</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_234"> <id>272</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="_235"> <id>273</id> <edge_type>2</edge_type> <source_obj>108</source_obj> <sink_obj>103</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_236"> <id>274</id> <edge_type>1</edge_type> <source_obj>121</source_obj> <sink_obj>97</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_237"> <id>275</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>97</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_238"> <id>276</id> <edge_type>2</edge_type> <source_obj>108</source_obj> <sink_obj>98</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_239"> <id>277</id> <edge_type>1</edge_type> <source_obj>89</source_obj> <sink_obj>105</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_240"> <id>278</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>105</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_241"> <id>279</id> <edge_type>1</edge_type> <source_obj>91</source_obj> <sink_obj>106</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_242"> <id>280</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>106</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_243"> <id>281</id> <edge_type>2</edge_type> <source_obj>110</source_obj> <sink_obj>107</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_244"> <id>282</id> <edge_type>2</edge_type> <source_obj>112</source_obj> <sink_obj>109</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_245"> <id>284</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_246"> <id>285</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_247"> <id>286</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_248"> <id>287</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_249"> <id>288</id> <edge_type>1</edge_type> <source_obj>133</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_250"> <id>289</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_251"> <id>290</id> <edge_type>2</edge_type> <source_obj>68</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_252"> <id>291</id> <edge_type>2</edge_type> <source_obj>51</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_253"> <id>293</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_254"> <id>294</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_255"> <id>295</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_256"> <id>296</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_257"> <id>297</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="_258"> <id>298</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_259"> <id>299</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_260"> <id>300</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_261"> <id>301</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_262"> <id>302</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="_263"> <id>303</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_264"> <id>305</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_265"> <id>306</id> <edge_type>1</edge_type> <source_obj>223</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_266"> <id>307</id> <edge_type>1</edge_type> <source_obj>225</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_267"> <id>310</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_268"> <id>311</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="_269"> <id>313</id> <edge_type>1</edge_type> <source_obj>312</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_270"> <id>315</id> <edge_type>1</edge_type> <source_obj>314</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_271"> <id>316</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="_272"> <id>317</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_273"> <id>319</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_274"> <id>320</id> <edge_type>1</edge_type> <source_obj>231</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_275"> <id>321</id> <edge_type>1</edge_type> <source_obj>233</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_276"> <id>324</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_277"> <id>325</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="_278"> <id>326</id> <edge_type>1</edge_type> <source_obj>312</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_279"> <id>328</id> <edge_type>1</edge_type> <source_obj>327</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_280"> <id>329</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_281"> <id>330</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_282"> <id>331</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_283"> <id>332</id> <edge_type>2</edge_type> <source_obj>66</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_284"> <id>333</id> <edge_type>2</edge_type> <source_obj>54</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_285"> <id>336</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_286"> <id>337</id> <edge_type>1</edge_type> <source_obj>231</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_287"> <id>338</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="_288"> <id>339</id> <edge_type>2</edge_type> <source_obj>57</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_289"> <id>340</id> <edge_type>2</edge_type> <source_obj>60</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_290"> <id>341</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_291"> <id>342</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_292"> <id>343</id> <edge_type>2</edge_type> <source_obj>66</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_293"> <id>344</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_294"> <id>345</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_295"> <id>346</id> <edge_type>2</edge_type> <source_obj>66</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_296"> <id>348</id> <edge_type>1</edge_type> <source_obj>347</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_297"> <id>349</id> <edge_type>2</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="_298"> <id>350</id> <edge_type>1</edge_type> <source_obj>238</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_299"> <id>351</id> <edge_type>2</edge_type> <source_obj>57</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_300"> <id>352</id> <edge_type>1</edge_type> <source_obj>347</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_301"> <id>353</id> <edge_type>2</edge_type> <source_obj>51</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_302"> <id>356</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_303"> <id>357</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_304"> <id>358</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_305"> <id>359</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_306"> <id>360</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_307"> <id>361</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="_308"> <id>363</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_309"> <id>364</id> <edge_type>1</edge_type> <source_obj>63</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_310"> <id>365</id> <edge_type>2</edge_type> <source_obj>68</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_311"> <id>366</id> <edge_type>2</edge_type> <source_obj>112</source_obj> <sink_obj>67</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_312"> <id>367</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_313"> <id>368</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_314"> <id>370</id> <edge_type>1</edge_type> <source_obj>262</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_315"> <id>371</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_316"> <id>372</id> <edge_type>1</edge_type> <source_obj>265</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_317"> <id>373</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_318"> <id>374</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_319"> <id>376</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_320"> <id>377</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="_321"> <id>378</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_322"> <id>379</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_323"> <id>380</id> <edge_type>2</edge_type> <source_obj>112</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_324"> <id>549</id> <edge_type>2</edge_type> <source_obj>24</source_obj> <sink_obj>112</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_325"> <id>550</id> <edge_type>2</edge_type> <source_obj>24</source_obj> <sink_obj>71</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_326"> <id>551</id> <edge_type>2</edge_type> <source_obj>24</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_327"> <id>552</id> <edge_type>2</edge_type> <source_obj>24</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_328"> <id>553</id> <edge_type>2</edge_type> <source_obj>32</source_obj> <sink_obj>112</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_329"> <id>554</id> <edge_type>2</edge_type> <source_obj>35</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_330"> <id>555</id> <edge_type>2</edge_type> <source_obj>35</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_331"> <id>556</id> <edge_type>2</edge_type> <source_obj>51</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_332"> <id>557</id> <edge_type>2</edge_type> <source_obj>51</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_333"> <id>558</id> <edge_type>2</edge_type> <source_obj>54</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_334"> <id>559</id> <edge_type>2</edge_type> <source_obj>54</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_335"> <id>560</id> <edge_type>2</edge_type> <source_obj>57</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_336"> <id>561</id> <edge_type>2</edge_type> <source_obj>60</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_337"> <id>562</id> <edge_type>2</edge_type> <source_obj>66</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_338"> <id>563</id> <edge_type>2</edge_type> <source_obj>68</source_obj> <sink_obj>112</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_339"> <id>564</id> <edge_type>2</edge_type> <source_obj>71</source_obj> <sink_obj>96</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_340"> <id>565</id> <edge_type>2</edge_type> <source_obj>71</source_obj> <sink_obj>110</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_341"> <id>566</id> <edge_type>2</edge_type> <source_obj>96</source_obj> <sink_obj>104</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_342"> <id>567</id> <edge_type>2</edge_type> <source_obj>96</source_obj> <sink_obj>99</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_343"> <id>568</id> <edge_type>2</edge_type> <source_obj>99</source_obj> <sink_obj>108</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_344"> <id>569</id> <edge_type>2</edge_type> <source_obj>104</source_obj> <sink_obj>108</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_345"> <id>570</id> <edge_type>2</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="_346"> <id>571</id> <edge_type>2</edge_type> <source_obj>110</source_obj> <sink_obj>112</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_347"> <id>572</id> <edge_type>4</edge_type> <source_obj>20</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_348"> <id>573</id> <edge_type>4</edge_type> <source_obj>21</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_349"> <id>574</id> <edge_type>4</edge_type> <source_obj>22</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_350"> <id>575</id> <edge_type>4</edge_type> <source_obj>20</source_obj> <sink_obj>97</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_351"> <id>576</id> <edge_type>4</edge_type> <source_obj>21</source_obj> <sink_obj>105</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_352"> <id>577</id> <edge_type>4</edge_type> <source_obj>22</source_obj> <sink_obj>106</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_353"> <id>578</id> <edge_type>4</edge_type> <source_obj>20</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_354"> <id>579</id> <edge_type>4</edge_type> <source_obj>20</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_355"> <id>580</id> <edge_type>4</edge_type> <source_obj>33</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_356"> <id>581</id> <edge_type>4</edge_type> <source_obj>69</source_obj> <sink_obj>72</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="_357"> <mId>1</mId> <mTag>udpRxEngine</mTag> <mNormTag>udpRxEngine</mNormTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>16</count> <item_version>0</item_version> <item>24</item> <item>32</item> <item>35</item> <item>51</item> <item>54</item> <item>57</item> <item>60</item> <item>66</item> <item>68</item> <item>71</item> <item>96</item> <item>99</item> <item>104</item> <item>108</item> <item>110</item> <item>112</item> </basic_blocks> <mII>1</mII> <mDepth>2</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>1</mMinLatency> <mMaxLatency>1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"/> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_358"> <states class_id="25" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_359"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>45</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_360"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_361"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_362"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_363"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_364"> <id>34</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_365"> <id>36</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_366"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_367"> <id>38</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_368"> <id>39</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_369"> <id>42</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_370"> <id>43</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_371"> <id>44</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_372"> <id>47</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_373"> <id>50</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_374"> <id>52</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_375"> <id>53</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_376"> <id>55</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_377"> <id>56</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_378"> <id>58</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_379"> <id>59</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_380"> <id>67</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_381"> <id>69</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_382"> <id>70</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_383"> <id>72</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_384"> <id>73</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_385"> <id>74</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_386"> <id>75</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_387"> <id>76</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_388"> <id>77</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_389"> <id>78</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_390"> <id>79</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_391"> <id>80</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_392"> <id>81</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_393"> <id>82</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_394"> <id>83</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_395"> <id>84</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_396"> <id>85</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_397"> <id>86</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_398"> <id>87</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_399"> <id>88</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_400"> <id>90</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_401"> <id>95</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_402"> <id>97</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_403"> <id>98</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_404"> <id>109</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_405"> <id>2</id> <operations> <count>42</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_406"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_407"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_408"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_409"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_410"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_411"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_412"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_413"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_414"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_415"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_416"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_417"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_418"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_419"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_420"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_421"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_422"> <id>29</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_423"> <id>31</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_424"> <id>40</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_425"> <id>41</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_426"> <id>45</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_427"> <id>46</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_428"> <id>48</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_429"> <id>49</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_430"> <id>61</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_431"> <id>62</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_432"> <id>63</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_433"> <id>64</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_434"> <id>65</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_435"> <id>89</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_436"> <id>91</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_437"> <id>92</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_438"> <id>93</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_439"> <id>94</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_440"> <id>100</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_441"> <id>101</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_442"> <id>102</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_443"> <id>103</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_444"> <id>105</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_445"> <id>106</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_446"> <id>107</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_447"> <id>111</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_448"> <inState>1</inState> <outState>2</outState> <condition class_id="31" tracking_level="0" version="0"> <id>-1</id> <sop class_id="32" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="34" tracking_level="1" version="0" object_id="_449"> <dp_component_resource class_id="35" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="36" tracking_level="0" version="0"> <first>regslice_both_rxUdpDataIn_V_data_V_U (udp_regslice_both)</first> <second class_id="37" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>regslice_both_rxUdpDataIn_V_keep_V_U (udp_regslice_both)</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>regslice_both_rxUdpDataIn_V_last_V_U (udp_regslice_both)</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>regslice_both_rxUdpDataIn_V_strb_V_U (udp_regslice_both)</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> </dp_component_resource> <dp_expression_resource> <count>12</count> <item_version>0</item_version> <item> <first>ap_block_pp0_stage0_01001 ( or ) </first> <second> <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>2</second> </item> </second> </item> <item> <first>ap_block_state1_pp0_stage0_iter0 ( 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_state2_pp0_stage0_iter1 ( 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_condition_206 ( 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_condition_243 ( 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_predicate_op26_read_state1 ( 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_predicate_op75_write_state2 ( 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_predicate_op81_write_state2 ( 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_predicate_op84_write_state2 ( 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_predicate_op8_read_state1 ( 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>grp_nbreadreq_fu_134_p6 ( 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>2</second> </item> </second> </item> </dp_expression_resource> <dp_fifo_resource> <count>0</count> <item_version>0</item_version> </dp_fifo_resource> <dp_memory_resource> <count>0</count> <item_version>0</item_version> </dp_memory_resource> <dp_multiplexer_resource> <count>10</count> <item_version>0</item_version> <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_phi_reg_pp0_iter1_sendWord_last_V_reg_174</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>3</second> </item> <item> <first>(1Bits)</first> <second>1</second> </item> <item> <first>(2Count)</first> <second>3</second> </item> <item> <first>LUT</first> <second>14</second> </item> </second> </item> <item> <first>prevWord_data_V_1</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>2</second> </item> <item> <first>(1Bits)</first> <second>512</second> </item> <item> <first>(2Count)</first> <second>1024</second> </item> <item> <first>LUT</first> <second>9</second> </item> </second> </item> <item> <first>prevWord_keep_V_1</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>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>rxUdpDataIn_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>ureDataPayload_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>ureDataPayload_din</first> <second> <count>4</count> <item_version>0</item_version> <item> <first>(0Size)</first> <second>4</second> </item> <item> <first>(1Bits)</first> <second>1024</second> </item> <item> <first>(2Count)</first> <second>4096</second> </item> <item> <first>LUT</first> <second>20</second> </item> </second> </item> <item> <first>ureMetaData_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>ure_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>14</second> </item> </second> </item> </dp_multiplexer_resource> <dp_register_resource> <count>28</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>1</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>1</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_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_phi_reg_pp0_iter1_sendWord_last_V_reg_174</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>p_Result_148_1_i_reg_585</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>p_Result_148_2_i_reg_590</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>p_Result_148_3_i_reg_595</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>p_Result_148_i_reg_580</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>p_Result_151_1_i_reg_605</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>p_Result_151_2_i_reg_610</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>p_Result_151_3_i_reg_615</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>p_Result_151_i_reg_600</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>p_Result_154_1_i_reg_625</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>p_Result_154_i_reg_620</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>p_Result_157_1_i_reg_635</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>p_Result_157_i_reg_630</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>prevWord_data_V_1</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>512</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>512</second> </item> </second> </item> <item> <first>prevWord_keep_V_1</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>reg_222</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>288</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>288</second> </item> </second> </item> <item> <first>reg_226</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>36</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>36</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_23_reg_576</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_8_reg_552</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_572</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_ln674_11_reg_559</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>224</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>224</second> </item> </second> </item> <item> <first>trunc_ln674_12_reg_564</first> <second> <count>3</count> <item_version>0</item_version> <item> <first>(Bits)</first> <second>28</second> </item> <item> <first>(Consts)</first> <second>0</second> </item> <item> <first>FF</first> <second>28</second> </item> </second> </item> <item> <first>ure_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>ure_state_load_reg_548</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> </dp_register_resource> <dp_dsp_resource> <count>4</count> <item_version>0</item_version> <item> <first>regslice_both_rxUdpDataIn_V_data_V_U</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>regslice_both_rxUdpDataIn_V_keep_V_U</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>regslice_both_rxUdpDataIn_V_last_V_U</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> <item> <first>regslice_both_rxUdpDataIn_V_strb_V_U</first> <second> <count>0</count> <item_version>0</item_version> </second> </item> </dp_dsp_resource> <dp_component_map class_id="39" tracking_level="0" version="0"> <count>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>77</count> <item_version>0</item_version> <item class_id="41" tracking_level="0" version="0"> <first>20</first> <second class_id="42" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>23</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>31</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>34</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>36</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>0</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>0</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>42</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>43</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>44</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>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>0</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>49</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>50</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>52</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>53</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>55</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>56</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>58</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>59</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>61</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>62</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>63</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>64</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>65</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>67</first> <second> <first>0</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>0</first> <second>0</second> </second> </item> <item> <first>72</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>73</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>74</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>75</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>76</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>77</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>78</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>79</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>80</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>81</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>82</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>83</first> <second> <first>0</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>0</second> </second> </item> <item> <first>86</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>87</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>88</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>89</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>90</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>91</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>92</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>93</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>94</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>95</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>97</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>98</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>100</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>101</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>102</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>103</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>105</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>106</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>107</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>109</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>111</first> <second> <first>1</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="43" tracking_level="0" version="0"> <count>16</count> <item_version>0</item_version> <item class_id="44" tracking_level="0" version="0"> <first>24</first> <second class_id="45" tracking_level="0" version="0"> <first>0</first> <second>1</second> </second> </item> <item> <first>32</first> <second> <first>0</first> <second>1</second> </second> </item> <item> <first>35</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>51</first> <second> <first>0</first> <second>1</second> </second> </item> <item> <first>54</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>57</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>60</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>66</first> <second> <first>0</first> <second>1</second> </second> </item> <item> <first>68</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>71</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>96</first> <second> <first>0</first> <second>1</second> </second> </item> <item> <first>99</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>104</first> <second> <first>0</first> <second>1</second> </second> </item> <item> <first>108</first> <second> <first>0</first> <second>1</second> </second> </item> <item> <first>110</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>112</first> <second> <first>1</first> <second>1</second> </second> </item> </bblk_ent_exit> <regions class_id="46" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="47" tracking_level="1" version="0" object_id="_450"> <region_name>udpRxEngine</region_name> <basic_blocks> <count>16</count> <item_version>0</item_version> <item>24</item> <item>32</item> <item>35</item> <item>51</item> <item>54</item> <item>57</item> <item>60</item> <item>66</item> <item>68</item> <item>71</item> <item>96</item> <item>99</item> <item>104</item> <item>108</item> <item>110</item> <item>112</item> </basic_blocks> <nodes> <count>0</count> <item_version>0</item_version> </nodes> <anchor_node>-1</anchor_node> <region_type>8</region_type> <interval>1</interval> <pipe_depth>2</pipe_depth> <mDBIIViolationVec class_id="48" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </mDBIIViolationVec> </item> </regions> <dp_fu_nodes class_id="49" tracking_level="0" version="0"> <count>52</count> <item_version>0</item_version> <item class_id="50" tracking_level="0" version="0"> <first>134</first> <second> <count>2</count> <item_version>0</item_version> <item>33</item> <item>69</item> </second> </item> <item> <first>148</first> <second> <count>2</count> <item_version>0</item_version> <item>36</item> <item>72</item> </second> </item> <item> <first>160</first> <second> <count>3</count> <item_version>0</item_version> <item>29</item> <item>64</item> <item>102</item> </second> </item> <item> <first>167</first> <second> <count>1</count> <item_version>0</item_version> <item>94</item> </second> </item> <item> <first>179</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>190</first> <second> <count>2</count> <item_version>0</item_version> <item>37</item> <item>73</item> </second> </item> <item> <first>194</first> <second> <count>2</count> <item_version>0</item_version> <item>38</item> <item>74</item> </second> </item> <item> <first>198</first> <second> <count>2</count> <item_version>0</item_version> <item>39</item> <item>75</item> </second> </item> <item> <first>202</first> <second> <count>2</count> <item_version>0</item_version> <item>44</item> <item>88</item> </second> </item> <item> <first>212</first> <second> <count>2</count> <item_version>0</item_version> <item>47</item> <item>90</item> </second> </item> <item> <first>230</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>234</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>240</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>244</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>248</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>256</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>262</first> <second> <count>1</count> <item_version>0</item_version> <item>58</item> </second> </item> <item> <first>268</first> <second> <count>1</count> <item_version>0</item_version> <item>76</item> </second> </item> <item> <first>278</first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> <item> <first>288</first> <second> <count>1</count> <item_version>0</item_version> <item>78</item> </second> </item> <item> <first>298</first> <second> <count>1</count> <item_version>0</item_version> <item>79</item> </second> </item> <item> <first>308</first> <second> <count>1</count> <item_version>0</item_version> <item>80</item> </second> </item> <item> <first>318</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>328</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>338</first> <second> <count>1</count> <item_version>0</item_version> <item>83</item> </second> </item> <item> <first>348</first> <second> <count>1</count> <item_version>0</item_version> <item>84</item> </second> </item> <item> <first>358</first> <second> <count>1</count> <item_version>0</item_version> <item>85</item> </second> </item> <item> <first>368</first> <second> <count>1</count> <item_version>0</item_version> <item>86</item> </second> </item> <item> <first>378</first> <second> <count>1</count> <item_version>0</item_version> <item>87</item> </second> </item> <item> <first>388</first> <second> <count>1</count> <item_version>0</item_version> <item>97</item> </second> </item> <item> <first>394</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>398</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>402</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>406</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>410</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>422</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>427</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>41</item> </second> </item> <item> <first>435</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>447</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>453</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>465</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>471</first> <second> <count>1</count> <item_version>0</item_version> <item>62</item> </second> </item> <item> <first>483</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>488</first> <second> <count>1</count> <item_version>0</item_version> <item>89</item> </second> </item> <item> <first>492</first> <second> <count>1</count> <item_version>0</item_version> <item>91</item> </second> </item> <item> <first>496</first> <second> <count>1</count> <item_version>0</item_version> <item>92</item> </second> </item> <item> <first>514</first> <second> <count>1</count> <item_version>0</item_version> <item>93</item> </second> </item> <item> <first>519</first> <second> <count>1</count> <item_version>0</item_version> <item>100</item> </second> </item> <item> <first>531</first> <second> <count>1</count> <item_version>0</item_version> <item>101</item> </second> </item> <item> <first>536</first> <second> <count>1</count> <item_version>0</item_version> <item>105</item> </second> </item> <item> <first>542</first> <second> <count>1</count> <item_version>0</item_version> <item>106</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="52" tracking_level="0" version="0"> <count>37</count> <item_version>0</item_version> <item class_id="53" tracking_level="0" version="0"> <first>grp_fu_190</first> <second> <count>2</count> <item_version>0</item_version> <item>37</item> <item>73</item> </second> </item> <item> <first>grp_fu_194</first> <second> <count>2</count> <item_version>0</item_version> <item>38</item> <item>74</item> </second> </item> <item> <first>grp_fu_198</first> <second> <count>2</count> <item_version>0</item_version> <item>39</item> <item>75</item> </second> </item> <item> <first>grp_fu_202</first> <second> <count>2</count> <item_version>0</item_version> <item>44</item> <item>88</item> </second> </item> <item> <first>grp_fu_212</first> <second> <count>2</count> <item_version>0</item_version> <item>47</item> <item>90</item> </second> </item> <item> <first>or_ln174_1_fu_496</first> <second> <count>1</count> <item_version>0</item_version> <item>92</item> </second> </item> <item> <first>or_ln174_2_fu_519</first> <second> <count>1</count> <item_version>0</item_version> <item>100</item> </second> </item> <item> <first>or_ln_fu_410</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>p_Result_148_1_i_fu_278</first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> <item> <first>p_Result_148_2_i_fu_288</first> <second> <count>1</count> <item_version>0</item_version> <item>78</item> </second> </item> <item> <first>p_Result_148_3_i_fu_298</first> <second> <count>1</count> <item_version>0</item_version> <item>79</item> </second> </item> <item> <first>p_Result_148_i_fu_268</first> <second> <count>1</count> <item_version>0</item_version> <item>76</item> </second> </item> <item> <first>p_Result_151_1_i_fu_318</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>p_Result_151_2_i_fu_328</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>p_Result_151_3_i_fu_338</first> <second> <count>1</count> <item_version>0</item_version> <item>83</item> </second> </item> <item> <first>p_Result_151_i_fu_308</first> <second> <count>1</count> <item_version>0</item_version> <item>80</item> </second> </item> <item> <first>p_Result_154_1_i_fu_358</first> <second> <count>1</count> <item_version>0</item_version> <item>85</item> </second> </item> <item> <first>p_Result_154_i_fu_348</first> <second> <count>1</count> <item_version>0</item_version> <item>84</item> </second> </item> <item> <first>p_Result_157_1_i_fu_378</first> <second> <count>1</count> <item_version>0</item_version> <item>87</item> </second> </item> <item> <first>p_Result_157_i_fu_368</first> <second> <count>1</count> <item_version>0</item_version> <item>86</item> </second> </item> <item> <first>p_Result_18_fu_453</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>p_Result_s_fu_435</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>sendWord_last_V_phi_fu_179</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>tmp_20_fu_248</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>tmp_30_i_fu_471</first> <second> <count>1</count> <item_version>0</item_version> <item>62</item> </second> </item> <item> <first>trunc_ln414_1_fu_406</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>trunc_ln414_fu_402</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>trunc_ln674_10_fu_431</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>trunc_ln674_11_fu_240</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>trunc_ln674_12_fu_244</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>trunc_ln674_fu_427</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>zext_ln174_1_fu_514</first> <second> <count>1</count> <item_version>0</item_version> <item>93</item> </second> </item> <item> <first>zext_ln174_2_fu_531</first> <second> <count>1</count> <item_version>0</item_version> <item>101</item> </second> </item> <item> <first>zext_ln174_3_fu_483</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>zext_ln174_fu_422</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>zext_ln414_2_fu_492</first> <second> <count>1</count> <item_version>0</item_version> <item>91</item> </second> </item> <item> <first>zext_ln414_fu_488</first> <second> <count>1</count> <item_version>0</item_version> <item>89</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>15</count> <item_version>0</item_version> <item> <first>grp_nbreadreq_fu_134</first> <second> <count>2</count> <item_version>0</item_version> <item>33</item> <item>69</item> </second> </item> <item> <first>grp_read_fu_148</first> <second> <count>2</count> <item_version>0</item_version> <item>36</item> <item>72</item> </second> </item> <item> <first>grp_write_fu_160</first> <second> <count>3</count> <item_version>0</item_version> <item>29</item> <item>64</item> <item>102</item> </second> </item> <item> <first>p_Val2_8_load_fu_398</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>p_Val2_s_load_fu_394</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>store_ln141_store_fu_388</first> <second> <count>1</count> <item_version>0</item_version> <item>97</item> </second> </item> <item> <first>store_ln143_store_fu_536</first> <second> <count>1</count> <item_version>0</item_version> <item>105</item> </second> </item> <item> <first>store_ln143_store_fu_542</first> <second> <count>1</count> <item_version>0</item_version> <item>106</item> </second> </item> <item> <first>store_ln163_store_fu_262</first> <second> <count>1</count> <item_version>0</item_version> <item>58</item> </second> </item> <item> <first>store_ln166_store_fu_256</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>store_ln177_store_fu_234</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>store_ln414_store_fu_447</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>store_ln414_store_fu_465</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>ure_state_load_load_fu_230</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>write_ln174_write_fu_167</first> <second> <count>1</count> <item_version>0</item_version> <item>94</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="54" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>21</count> <item_version>0</item_version> <item> <first>174</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>222</first> <second> <count>2</count> <item_version>0</item_version> <item>44</item> <item>88</item> </second> </item> <item> <first>226</first> <second> <count>2</count> <item_version>0</item_version> <item>47</item> <item>90</item> </second> </item> <item> <first>548</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>552</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>559</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>564</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>572</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>576</first> <second> <count>1</count> <item_version>0</item_version> <item>75</item> </second> </item> <item> <first>580</first> <second> <count>1</count> <item_version>0</item_version> <item>76</item> </second> </item> <item> <first>585</first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> <item> <first>590</first> <second> <count>1</count> <item_version>0</item_version> <item>78</item> </second> </item> <item> <first>595</first> <second> <count>1</count> <item_version>0</item_version> <item>79</item> </second> </item> <item> <first>600</first> <second> <count>1</count> <item_version>0</item_version> <item>80</item> </second> </item> <item> <first>605</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>610</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>615</first> <second> <count>1</count> <item_version>0</item_version> <item>83</item> </second> </item> <item> <first>620</first> <second> <count>1</count> <item_version>0</item_version> <item>84</item> </second> </item> <item> <first>625</first> <second> <count>1</count> <item_version>0</item_version> <item>85</item> </second> </item> <item> <first>630</first> <second> <count>1</count> <item_version>0</item_version> <item>86</item> </second> </item> <item> <first>635</first> <second> <count>1</count> <item_version>0</item_version> <item>87</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>21</count> <item_version>0</item_version> <item> <first>p_Result_148_1_i_reg_585</first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> <item> <first>p_Result_148_2_i_reg_590</first> <second> <count>1</count> <item_version>0</item_version> <item>78</item> </second> </item> <item> <first>p_Result_148_3_i_reg_595</first> <second> <count>1</count> <item_version>0</item_version> <item>79</item> </second> </item> <item> <first>p_Result_148_i_reg_580</first> <second> <count>1</count> <item_version>0</item_version> <item>76</item> </second> </item> <item> <first>p_Result_151_1_i_reg_605</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>p_Result_151_2_i_reg_610</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>p_Result_151_3_i_reg_615</first> <second> <count>1</count> <item_version>0</item_version> <item>83</item> </second> </item> <item> <first>p_Result_151_i_reg_600</first> <second> <count>1</count> <item_version>0</item_version> <item>80</item> </second> </item> <item> <first>p_Result_154_1_i_reg_625</first> <second> <count>1</count> <item_version>0</item_version> <item>85</item> </second> </item> <item> <first>p_Result_154_i_reg_620</first> <second> <count>1</count> <item_version>0</item_version> <item>84</item> </second> </item> <item> <first>p_Result_157_1_i_reg_635</first> <second> <count>1</count> <item_version>0</item_version> <item>87</item> </second> </item> <item> <first>p_Result_157_i_reg_630</first> <second> <count>1</count> <item_version>0</item_version> <item>86</item> </second> </item> <item> <first>reg_222</first> <second> <count>2</count> <item_version>0</item_version> <item>44</item> <item>88</item> </second> </item> <item> <first>reg_226</first> <second> <count>2</count> <item_version>0</item_version> <item>47</item> <item>90</item> </second> </item> <item> <first>sendWord_last_V_reg_174</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>tmp_23_reg_576</first> <second> <count>1</count> <item_version>0</item_version> <item>75</item> </second> </item> <item> <first>tmp_8_reg_552</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>tmp_reg_572</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>trunc_ln674_11_reg_559</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>trunc_ln674_12_reg_564</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>ure_state_load_reg_548</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>1</count> <item_version>0</item_version> <item> <first>174</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>1</count> <item_version>0</item_version> <item> <first>sendWord_last_V_reg_174</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="55" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="56" tracking_level="0" version="0"> <first>rxUdpDataIn_V_data_V</first> <second> <count>2</count> <item_version>0</item_version> <item> <first>nbreadreq</first> <second> <count>2</count> <item_version>0</item_version> <item>69</item> <item>33</item> </second> </item> <item> <first>read</first> <second> <count>2</count> <item_version>0</item_version> <item>72</item> <item>36</item> </second> </item> </second> </item> <item> <first>rxUdpDataIn_V_keep_V</first> <second> <count>2</count> <item_version>0</item_version> <item> <first>nbreadreq</first> <second> <count>2</count> <item_version>0</item_version> <item>69</item> <item>33</item> </second> </item> <item> <first>read</first> <second> <count>2</count> <item_version>0</item_version> <item>72</item> <item>36</item> </second> </item> </second> </item> <item> <first>rxUdpDataIn_V_last_V</first> <second> <count>2</count> <item_version>0</item_version> <item> <first>nbreadreq</first> <second> <count>2</count> <item_version>0</item_version> <item>69</item> <item>33</item> </second> </item> <item> <first>read</first> <second> <count>2</count> <item_version>0</item_version> <item>72</item> <item>36</item> </second> </item> </second> </item> <item> <first>rxUdpDataIn_V_strb_V</first> <second> <count>2</count> <item_version>0</item_version> <item> <first>nbreadreq</first> <second> <count>2</count> <item_version>0</item_version> <item>69</item> <item>33</item> </second> </item> <item> <first>read</first> <second> <count>2</count> <item_version>0</item_version> <item>72</item> <item>36</item> </second> </item> </second> </item> <item> <first>ureDataPayload</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>write</first> <second> <count>3</count> <item_version>0</item_version> <item>102</item> <item>64</item> <item>29</item> </second> </item> </second> </item> <item> <first>ureMetaData</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>write</first> <second> <count>1</count> <item_version>0</item_version> <item>94</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core> <count>2</count> <item_version>0</item_version> <item> <first>8</first> <second> <first>1151</first> <second>7</second> </second> </item> <item> <first>9</first> <second> <first>1151</first> <second>7</second> </second> </item> </port2core> <node2core> <count>8</count> <item_version>0</item_version> <item> <first>29</first> <second> <first>1151</first> <second>7</second> </second> </item> <item> <first>33</first> <second> <first>888</first> <second>111</second> </second> </item> <item> <first>36</first> <second> <first>888</first> <second>111</second> </second> </item> <item> <first>64</first> <second> <first>1151</first> <second>7</second> </second> </item> <item> <first>69</first> <second> <first>888</first> <second>111</second> </second> </item> <item> <first>72</first> <second> <first>888</first> <second>111</second> </second> </item> <item> <first>94</first> <second> <first>1151</first> <second>7</second> </second> </item> <item> <first>102</first> <second> <first>1151</first> <second>7</second> </second> </item> </node2core> </syndb> </boost_serialization>
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ADA.NUMERICS.LONG_LONG_ELEMENTARY_FUNCTIONS -- -- -- -- S p e c -- -- -- -- $Revision$ -- -- -- 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.Numerics.Generic_Elementary_Functions; package Ada.Numerics.Long_Long_Elementary_Functions is new Ada.Numerics.Generic_Elementary_Functions (Long_Long_Float); pragma Pure (Long_Long_Elementary_Functions);
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 5 0 -- -- -- -- 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. -- -- -- ------------------------------------------------------------------------------ -- Handling of packed arrays with Component_Size = 50 package System.Pack_50 is pragma Preelaborate; Bits : constant := 50; type Bits_50 is mod 2 ** Bits; for Bits_50'Size use Bits; -- In all subprograms below, Rev_SSO is set True if the array has the -- non-default scalar storage order. function Get_50 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_50 with Inline; -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is extracted and returned. procedure Set_50 (Arr : System.Address; N : Natural; E : Bits_50; Rev_SSO : Boolean) with Inline; -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is set to the given value. function GetU_50 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_50 with Inline; -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is extracted and returned. This version -- is used when Arr may represent an unaligned address. procedure SetU_50 (Arr : System.Address; N : Natural; E : Bits_50; Rev_SSO : Boolean) with Inline; -- Arr is the address of the packed array, N is the zero-based -- subscript. This element is set to the given value. This version -- is used when Arr may represent an unaligned address end System.Pack_50;
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="14"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>linebuffer_Loop_1_pr</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>in_axi_stream_V_value_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>stream&amp;lt;AxiPackedStencil&amp;lt;unsigned char, 1, 1, 1, 1&amp;gt; &amp;gt;.V.value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>in_axi_stream_V_last_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>stream&amp;lt;AxiPackedStencil&amp;lt;unsigned char, 1, 1, 1, 1&amp;gt; &amp;gt;.V.last.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>in_stream_V_value_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName>FIFO_SRL</coreName> </Obj> <bitwidth>8</bitwidth> </Value> <direction>1</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_4"> <Value> <Obj> <type>0</type> <id>6</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>24</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_5"> <Value> <Obj> <type>0</type> <id>8</id> <name>indvar_flatten</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>36</item> <item>37</item> <item>38</item> <item>39</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>9</id> <name>exitcond_flatten</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>40</item> <item>42</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>10</id> <name>indvar_flatten_next</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>43</item> <item>45</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>11</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>46</item> <item>47</item> <item>48</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>16</id> <name>empty_16</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d</fileDirectory> <lineNumber>554</lineNumber> <contextFuncName>linebuffer&amp;lt;4, 4, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="11" tracking_level="0" version="0"> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d</first> <second class_id="12" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="13" tracking_level="0" version="0"> <first class_id="14" tracking_level="0" version="0"> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;4, 4, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</second> </first> <second>554</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>9</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>26</item> <item>27</item> <item>28</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>17</id> <name>tmp_value_V</name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d</fileDirectory> <lineNumber>554</lineNumber> <contextFuncName>linebuffer&amp;lt;4, 4, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;4, 4, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</second> </first> <second>554</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>29</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>18</id> <name></name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d</fileDirectory> <lineNumber>554</lineNumber> <contextFuncName>linebuffer&amp;lt;4, 4, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;4, 4, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</second> </first> <second>554</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>31</item> <item>32</item> <item>33</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>20</id> <name></name> <fileName>../../../lib_files/Linebuffer.h</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d</fileDirectory> <lineNumber>552</lineNumber> <contextFuncName>linebuffer&amp;lt;4, 4, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/conv2d</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>../../../lib_files/Linebuffer.h</first> <second>linebuffer&amp;lt;4, 4, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, unsigned char&amp;gt;</second> </first> <second>552</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>34</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>22</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_14"> <Value> <Obj> <type>2</type> <id>35</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_15"> <Value> <Obj> <type>2</type> <id>41</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <const_type>0</const_type> <content>16</content> </item> <item class_id_reference="16" object_id="_16"> <Value> <Obj> <type>2</type> <id>44</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_17"> <Obj> <type>3</type> <id>7</id> <name>newFuncRoot</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>6</item> </node_objs> </item> <item class_id_reference="18" object_id="_18"> <Obj> <type>3</type> <id>12</id> <name>.preheader.i</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>4</count> <item_version>0</item_version> <item>8</item> <item>9</item> <item>10</item> <item>11</item> </node_objs> </item> <item class_id_reference="18" object_id="_19"> <Obj> <type>3</type> <id>21</id> <name>.preheader4.i</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>4</count> <item_version>0</item_version> <item>16</item> <item>17</item> <item>18</item> <item>20</item> </node_objs> </item> <item class_id_reference="18" object_id="_20"> <Obj> <type>3</type> <id>23</id> <name>.critedge.exitStub</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>22</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>22</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_21"> <id>24</id> <edge_type>2</edge_type> <source_obj>12</source_obj> <sink_obj>6</sink_obj> </item> <item class_id_reference="20" object_id="_22"> <id>27</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_23"> <id>28</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_24"> <id>29</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_25"> <id>32</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_26"> <id>33</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>18</sink_obj> </item> <item class_id_reference="20" object_id="_27"> <id>34</id> <edge_type>2</edge_type> <source_obj>12</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_28"> <id>36</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_29"> <id>37</id> <edge_type>2</edge_type> <source_obj>7</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_30"> <id>38</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_31"> <id>39</id> <edge_type>2</edge_type> <source_obj>21</source_obj> <sink_obj>8</sink_obj> </item> <item class_id_reference="20" object_id="_32"> <id>40</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_33"> <id>42</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_34"> <id>43</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_35"> <id>45</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>10</sink_obj> </item> <item class_id_reference="20" object_id="_36"> <id>46</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_37"> <id>47</id> <edge_type>2</edge_type> <source_obj>21</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_38"> <id>48</id> <edge_type>2</edge_type> <source_obj>23</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_39"> <id>108</id> <edge_type>2</edge_type> <source_obj>7</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_40"> <id>109</id> <edge_type>2</edge_type> <source_obj>12</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_41"> <id>110</id> <edge_type>2</edge_type> <source_obj>12</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_42"> <id>111</id> <edge_type>2</edge_type> <source_obj>21</source_obj> <sink_obj>12</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_43"> <mId>1</mId> <mTag>linebuffer_Loop_1_pr</mTag> <mType>0</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>4</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>18</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_44"> <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>7</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_45"> <mId>3</mId> <mTag>Loop 1</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>12</item> <item>21</item> </basic_blocks> <mII>1</mII> <mDepth>2</mDepth> <mMinTripCount>16</mMinTripCount> <mMaxTripCount>16</mMaxTripCount> <mMinLatency>16</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_46"> <mId>4</mId> <mTag>Return</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>23</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_47"> <states class_id="25" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_48"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>3</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_49"> <id>4</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_50"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_51"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_52"> <id>2</id> <operations> <count>6</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_53"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_54"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_55"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_56"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_57"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_58"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_59"> <id>3</id> <operations> <count>6</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_60"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_61"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_62"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_63"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_64"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_65"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_66"> <id>4</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_67"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_68"> <inState>1</inState> <outState>2</outState> <condition class_id="31" tracking_level="0" version="0"> <id>12</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="_69"> <inState>3</inState> <outState>2</outState> <condition> <id>20</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_70"> <inState>2</inState> <outState>4</outState> <condition> <id>19</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item class_id="34" tracking_level="0" version="0"> <first class_id="35" tracking_level="0" version="0"> <first>9</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_71"> <inState>2</inState> <outState>3</outState> <condition> <id>21</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>9</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="-1"></res> <node_label_latency class_id="37" tracking_level="0" version="0"> <count>10</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>6</first> <second class_id="39" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>8</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>9</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>10</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>11</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>16</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>18</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>2</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="40" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="41" tracking_level="0" version="0"> <first>7</first> <second class_id="42" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>12</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>21</first> <second> <first>1</first> <second>2</second> </second> </item> <item> <first>23</first> <second> <first>2</first> <second>2</second> </second> </item> </bblk_ent_exit> <regions class_id="43" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="44" tracking_level="1" version="0" object_id="_72"> <region_name>Loop 1</region_name> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>12</item> <item>21</item> </basic_blocks> <nodes> <count>0</count> <item_version>0</item_version> </nodes> <anchor_node>-1</anchor_node> <region_type>8</region_type> <interval>1</interval> <pipe_depth>2</pipe_depth> </item> </regions> <dp_fu_nodes class_id="45" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="46" tracking_level="0" version="0"> <first>48</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>56</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>67</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>74</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>80</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>86</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="48" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="49" tracking_level="0" version="0"> <first>exitcond_flatten_fu_74</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>indvar_flatten_next_fu_80</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>indvar_flatten_phi_fu_67</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>tmp_value_V_fu_86</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>2</count> <item_version>0</item_version> <item> <first>StgValue_17_write_fu_56</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>empty_16_read_fu_48</first> <second> <count>1</count> <item_version>0</item_version> <item>16</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="50" 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>63</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>90</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>94</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>99</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>4</count> <item_version>0</item_version> <item> <first>exitcond_flatten_reg_90</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>indvar_flatten_next_reg_94</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>indvar_flatten_reg_63</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>tmp_value_V_reg_99</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>1</count> <item_version>0</item_version> <item> <first>63</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>1</count> <item_version>0</item_version> <item> <first>indvar_flatten_reg_63</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes 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>in_axi_stream_V_last_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>16</item> </second> </item> </second> </item> <item> <first>in_axi_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>16</item> </second> </item> </second> </item> <item> <first>in_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>18</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="53" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="54" tracking_level="0" version="0"> <first>3</first> <second>FIFO_SRL</second> </item> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
<?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></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>sigmoid_plan</name> <module_structure>Pipeline</module_structure> <ret_bitwidth>16</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></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>in.V</originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1953394531</coreId> <rtlModuleName></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>74</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_2"> <Value> <Obj> <type>0</type> <id>7</id> <name>in_read</name> <fileName>Sigmoid.cpp</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</fileDirectory> <lineNumber>38</lineNumber> <contextFuncName>sigmoid_plan</contextFuncName> <contextNormFuncName>sigmoid_plan</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_plan</second> </first> <second>38</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>741749052</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>83</item> <item>84</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>8</id> <name>icmp_ln1549</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>icmp</opType> <implIndex>auto</implIndex> <coreName>Cmp</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>9</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>85</item> <item>87</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>34</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_4"> <Value> <Obj> <type>0</type> <id>9</id> <name>icmp_ln938</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>icmp</opType> <implIndex>auto</implIndex> <coreName>Cmp</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>9</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>88</item> <item>90</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>35</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_5"> <Value> <Obj> <type>0</type> <id>10</id> <name>p_Result_s</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_int_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>741749052</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>92</item> <item>93</item> <item>95</item> <item>97</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>11</id> <name>p_Result_6</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_int_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>741814588</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>99</item> <item>101</item> <item>102</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>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>12</id> <name>l</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_int_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>741749052</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>104</item> <item>105</item> <item>107</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>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>13</id> <name>sub_ln947</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>sub</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>109</item> <item>110</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>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>14</id> <name>trunc_ln947</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4294967295</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>111</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>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>15</id> <name>lsb_index</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></rtlName> <control>auto</control> <opType>add</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>112</item> <item>114</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>15</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>16</id> <name>tmp_2</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4294967295</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>31</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>116</item> <item>117</item> <item>119</item> <item>121</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>16</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>17</id> <name>icmp_ln949</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>icmp</opType> <implIndex>auto</implIndex> <coreName>Cmp</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>9</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>122</item> <item>124</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>17</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>18</id> <name>trunc_ln950</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4266621376</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>125</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="_14"> <Value> <Obj> <type>0</type> <id>19</id> <name>sub_ln950</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>sub</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>127</item> <item>128</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>18</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>20</id> <name>zext_ln950</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4294967295</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>129</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>19</m_topoIndex> <m_clusterGroupNumber>1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>21</id> <name>lshr_ln950</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>lshr</opType> <implIndex>auto_pipe</implIndex> <coreName>Shifter</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>75</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>130</item> <item>131</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>20</m_topoIndex> <m_clusterGroupNumber>1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>22</id> <name>p_Result_2</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></rtlName> <control>auto</control> <opType>and</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>132</item> <item>133</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>21</m_topoIndex> <m_clusterGroupNumber>1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>23</id> <name>icmp_ln950</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>icmp</opType> <implIndex>auto</implIndex> <coreName>Cmp</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>9</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>134</item> <item>135</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>22</m_topoIndex> <m_clusterGroupNumber>1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>24</id> <name>tmp_3</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>4266624064</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>137</item> <item>138</item> <item>139</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>23</m_topoIndex> <m_clusterGroupNumber>2</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>25</id> <name>xor_ln952</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>xor</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>140</item> <item>141</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>24</m_topoIndex> <m_clusterGroupNumber>2</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>26</id> <name>and_ln949</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>and</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>142</item> <item>143</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>25</m_topoIndex> <m_clusterGroupNumber>2</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>27</id> <name>add_ln952</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>add</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>144</item> <item>146</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>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>28</id> <name>shl_ln952</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>shl</opType> <implIndex>auto_pipe</implIndex> <coreName>Shifter</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>75</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>148</item> <item>149</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>26</m_topoIndex> <m_clusterGroupNumber>3</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>29</id> <name>and_ln952</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>and</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>150</item> <item>151</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>27</m_topoIndex> <m_clusterGroupNumber>3</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>30</id> <name>p_Result_3</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></rtlName> <control>auto</control> <opType>icmp</opType> <implIndex>auto</implIndex> <coreName>Cmp</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>9</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>152</item> <item>153</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>28</m_topoIndex> <m_clusterGroupNumber>3</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>31</id> <name>a</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></rtlName> <control>auto</control> <opType>or</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>154</item> <item>155</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>29</m_topoIndex> <m_clusterGroupNumber>2</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>32</id> <name>zext_ln960</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1629498427</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>156</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>33</id> <name>icmp_ln961</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>icmp</opType> <implIndex>auto</implIndex> <coreName>Cmp</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>9</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>157</item> <item>158</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>30</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>34</id> <name>add_ln961</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>add</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>159</item> <item>161</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>31</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>35</id> <name>zext_ln961</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>744846188</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>162</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>36</id> <name>lshr_ln961</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>lshr</opType> <implIndex>auto_pipe</implIndex> <coreName>Shifter</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>75</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>163</item> <item>164</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>37</id> <name>sub_ln962</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>sub</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>166</item> <item>167</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>32</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>38</id> <name>zext_ln962</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>742092909</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>168</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>39</m_topoIndex> <m_clusterGroupNumber>4</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>39</id> <name>shl_ln962</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>shl</opType> <implIndex>auto_pipe</implIndex> <coreName>Shifter</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>75</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>169</item> <item>170</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>40</id> <name>tobool29_i_i282</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>and</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>171</item> <item>172</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>33</m_topoIndex> <m_clusterGroupNumber>2</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>41</id> <name>m</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></rtlName> <control>auto</control> <opType>select</opType> <implIndex>auto_sel</implIndex> <coreName>Sel</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>73</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>173</item> <item>174</item> <item>175</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>42</id> <name>zext_ln964</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1769239916</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>176</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>43</id> <name>m_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></rtlName> <control>auto</control> <opType>add</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>177</item> <item>178</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>44</id> <name>m_4</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1730569589</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>63</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>180</item> <item>181</item> <item>182</item> <item>184</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>45</id> <name>zext_ln965</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1650418789</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>185</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>48</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_41"> <Value> <Obj> <type>0</type> <id>46</id> <name>p_Result_4</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1734439968</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>187</item> <item>188</item> <item>189</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>45</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>47</id> <name>select_ln946</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>select</opType> <implIndex>auto_sel</implIndex> <coreName>Sel</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>73</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>190</item> <item>192</item> <item>194</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>49</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_43"> <Value> <Obj> <type>0</type> <id>48</id> <name>trunc_ln946</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1952917093</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>195</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>9</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_44"> <Value> <Obj> <type>0</type> <id>49</id> <name>sub_ln968</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>add</opType> <implIndex>tadder</implIndex> <coreName>TAddSub</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>10</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>197</item> <item>198</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>50</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>50</id> <name>add_ln968</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>add</opType> <implIndex>tadder</implIndex> <coreName>TAddSub</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>10</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>199</item> <item>200</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>51</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_46"> <Value> <Obj> <type>0</type> <id>51</id> <name>tmp</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>942747953</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>12</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>202</item> <item>204</item> <item>205</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>52</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_47"> <Value> <Obj> <type>0</type> <id>52</id> <name>p_Result_7</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1751344500</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>5</count> <item_version>0</item_version> <item>207</item> <item>208</item> <item>209</item> <item>211</item> <item>212</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>53</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_48"> <Value> <Obj> <type>0</type> <id>53</id> <name>bitcast_ln741</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_common.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>2020501868</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>213</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>55</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_49"> <Value> <Obj> <type>0</type> <id>54</id> <name>trunc_ln3</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>793988168</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>52</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>215</item> <item>216</item> <item>217</item> <item>218</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>46</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_50"> <Value> <Obj> <type>0</type> <id>55</id> <name>icmp_ln1560</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>icmp</opType> <implIndex>auto</implIndex> <coreName>Cmp</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>9</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>219</item> <item>221</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>56</id> <name>icmp_ln1560_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>icmp</opType> <implIndex>auto</implIndex> <coreName>Cmp</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>9</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>222</item> <item>224</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>47</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_52"> <Value> <Obj> <type>0</type> <id>57</id> <name>or_ln1560</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>or</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>225</item> <item>226</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>57</m_topoIndex> <m_clusterGroupNumber>5</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_53"> <Value> <Obj> <type>0</type> <id>58</id> <name>tmp_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>dcmp</opType> <implIndex>auto</implIndex> <coreName>DCompare</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>38</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>227</item> <item>229</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>59</id> <name>and_ln1560</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>and</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>230</item> <item>231</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>58</m_topoIndex> <m_clusterGroupNumber>5</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_55"> <Value> <Obj> <type>0</type> <id>60</id> <name>xor_ln1560</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>xor</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>232</item> <item>233</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>59</m_topoIndex> <m_clusterGroupNumber>5</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_56"> <Value> <Obj> <type>0</type> <id>61</id> <name>tmp_5</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1633836916</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>235</item> <item>236</item> <item>238</item> <item>239</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>10</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_57"> <Value> <Obj> <type>0</type> <id>62</id> <name>icmp_ln1549_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>icmp</opType> <implIndex>auto</implIndex> <coreName>Cmp</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>9</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>240</item> <item>242</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>11</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_58"> <Value> <Obj> <type>0</type> <id>63</id> <name>trunc_ln4</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</fileDirectory> <lineNumber>1385</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>1385</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1819242088</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>11</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>244</item> <item>245</item> <item>247</item> <item>248</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>12</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_59"> <Value> <Obj> <type>0</type> <id>64</id> <name>zext_ln1385</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</fileDirectory> <lineNumber>1385</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>1385</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1902080097</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>249</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>60</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_60"> <Value> <Obj> <type>0</type> <id>65</id> <name>x0_V</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</fileDirectory> <lineNumber>712</lineNumber> <contextFuncName>operator=&amp;lt;17, 5, false, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_17_5_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;17, 5, false, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>712</second> </item> </second> </item> </inlineStackInfo> <originalName>x0.V</originalName> <rtlName></rtlName> <control>auto</control> <opType>add</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>250</item> <item>252</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.35</m_delay> <m_topoIndex>61</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_61"> <Value> <Obj> <type>0</type> <id>66</id> <name>trunc_ln1385_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</fileDirectory> <lineNumber>1385</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>1385</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1949265519</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>254</item> <item>255</item> <item>257</item> <item>258</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>13</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_62"> <Value> <Obj> <type>0</type> <id>67</id> <name>x0_V_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</fileDirectory> <lineNumber>712</lineNumber> <contextFuncName>operator=&amp;lt;17, 5, false, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_17_5_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;17, 5, false, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>712</second> </item> </second> </item> </inlineStackInfo> <originalName>x0.V</originalName> <rtlName></rtlName> <control>auto</control> <opType>add</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>259</item> <item>261</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.35</m_delay> <m_topoIndex>62</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_63"> <Value> <Obj> <type>0</type> <id>68</id> <name>trunc_ln1385_2</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</fileDirectory> <lineNumber>1385</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>1385</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>875896876</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>262</item> <item>263</item> <item>265</item> <item>267</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>14</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_64"> <Value> <Obj> <type>0</type> <id>69</id> <name>x0_V_2</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</fileDirectory> <lineNumber>712</lineNumber> <contextFuncName>operator=&amp;lt;17, 5, false, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_17_5_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;17, 5, false, AP_TRN, AP_WRAP, 0&amp;gt;</second> </first> <second>712</second> </item> </second> </item> </inlineStackInfo> <originalName>x0.V</originalName> <rtlName></rtlName> <control>auto</control> <opType>add</opType> <implIndex>fabric</implIndex> <coreName>Adder</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>268</item> <item>270</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.35</m_delay> <m_topoIndex>63</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_65"> <Value> <Obj> <type>0</type> <id>70</id> <name>or_ln938</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>or</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>271</item> <item>272</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>64</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_66"> <Value> <Obj> <type>0</type> <id>71</id> <name>or_ln1560_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>or</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>273</item> <item>274</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>65</m_topoIndex> <m_clusterGroupNumber>6</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_67"> <Value> <Obj> <type>0</type> <id>72</id> <name>xor_ln938</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>xor</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>275</item> <item>276</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>66</m_topoIndex> <m_clusterGroupNumber>7</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_68"> <Value> <Obj> <type>0</type> <id>73</id> <name>and_ln1549</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>and</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>277</item> <item>278</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>67</m_topoIndex> <m_clusterGroupNumber>7</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_69"> <Value> <Obj> <type>0</type> <id>74</id> <name>and_ln1549_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>and</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>279</item> <item>280</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>68</m_topoIndex> <m_clusterGroupNumber>7</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_70"> <Value> <Obj> <type>0</type> <id>75</id> <name>or_ln1549</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>or</opType> <implIndex>auto</implIndex> <coreName>LogicGate</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>74</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>281</item> <item>282</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>69</m_topoIndex> <m_clusterGroupNumber>7</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_71"> <Value> <Obj> <type>0</type> <id>76</id> <name>select_ln1549</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>select</opType> <implIndex>auto_sel</implIndex> <coreName>Sel</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>73</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>283</item> <item>285</item> <item>286</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>70</m_topoIndex> <m_clusterGroupNumber>8</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_72"> <Value> <Obj> <type>0</type> <id>77</id> <name>select_ln1549_1</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>select</opType> <implIndex>auto_sel</implIndex> <coreName>Sel</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>73</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>287</item> <item>288</item> <item>289</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.50</m_delay> <m_topoIndex>71</m_topoIndex> <m_clusterGroupNumber>6</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_73"> <Value> <Obj> <type>0</type> <id>78</id> <name>select_ln1549_2</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</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></originalName> <rtlName></rtlName> <control>auto</control> <opType>select</opType> <implIndex>auto_sel</implIndex> <coreName>Sel</coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>73</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>290</item> <item>291</item> <item>292</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.50</m_delay> <m_topoIndex>72</m_topoIndex> <m_clusterGroupNumber>8</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_74"> <Value> <Obj> <type>0</type> <id>79</id> <name>shl_ln</name> <fileName>C:/Xilinx/Vitis_HLS/2021.1/common/technology/autopilot\ap_fixed_base.h</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</fileDirectory> <lineNumber>740</lineNumber> <contextFuncName>operator=&amp;lt;16, 4, false, AP_TRN, AP_WRAP, 0&amp;gt;</contextFuncName> <contextNormFuncName>operator_assign_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>740</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1869182051</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>16</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>294</item> <item>295</item> <item>297</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>73</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_75"> <Value> <Obj> <type>0</type> <id>80</id> <name>_ln56</name> <fileName>Sigmoid.cpp</fileName> <fileDirectory>C:\Users\Sunnyday\AppData\Roaming\Xilinx\Vitis</fileDirectory> <lineNumber>56</lineNumber> <contextFuncName>sigmoid_plan</contextFuncName> <contextNormFuncName>sigmoid_plan</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_plan</second> </first> <second>56</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>674985063</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>298</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>74</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>36</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_76"> <Value> <Obj> <type>2</type> <id>86</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1953394531</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>16</bitwidth> </Value> <const_type>0</const_type> <content>20479</content> </item> <item class_id_reference="16" object_id="_77"> <Value> <Obj> <type>2</type> <id>89</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1953394531</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>16</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_78"> <Value> <Obj> <type>2</type> <id>94</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1936482662</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>15</content> </item> <item class_id_reference="16" object_id="_79"> <Value> <Obj> <type>2</type> <id>96</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1953394531</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_80"> <Value> <Obj> <type>2</type> <id>100</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1953394531</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>16</bitwidth> </Value> <const_type>0</const_type> <content>65535</content> </item> <item class_id_reference="16" object_id="_81"> <Value> <Obj> <type>2</type> <id>106</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1953394531</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_82"> <Value> <Obj> <type>2</type> <id>108</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1953394531</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>16</content> </item> <item class_id_reference="16" object_id="_83"> <Value> <Obj> <type>2</type> <id>113</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>858860852</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>4294967243</content> </item> <item class_id_reference="16" object_id="_84"> <Value> <Obj> <type>2</type> <id>118</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1629888623</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_85"> <Value> <Obj> <type>2</type> <id>120</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1214215017</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>31</content> </item> <item class_id_reference="16" object_id="_86"> <Value> <Obj> <type>2</type> <id>123</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1852795252</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>31</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_87"> <Value> <Obj> <type>2</type> <id>126</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>640236400</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>5</bitwidth> </Value> <const_type>0</const_type> <content>6</content> </item> <item class_id_reference="16" object_id="_88"> <Value> <Obj> <type>2</type> <id>145</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1769239916</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>16</bitwidth> </Value> <const_type>0</const_type> <content>65483</content> </item> <item class_id_reference="16" object_id="_89"> <Value> <Obj> <type>2</type> <id>147</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1919950882</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>16</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_90"> <Value> <Obj> <type>2</type> <id>160</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1601134448</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>4294967242</content> </item> <item class_id_reference="16" object_id="_91"> <Value> <Obj> <type>2</type> <id>165</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>574452846</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>54</content> </item> <item class_id_reference="16" object_id="_92"> <Value> <Obj> <type>2</type> <id>183</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1949265519</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>63</content> </item> <item class_id_reference="16" object_id="_93"> <Value> <Obj> <type>2</type> <id>191</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1834971487</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>1023</content> </item> <item class_id_reference="16" object_id="_94"> <Value> <Obj> <type>2</type> <id>193</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1834970975</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>1022</content> </item> <item class_id_reference="16" object_id="_95"> <Value> <Obj> <type>2</type> <id>196</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>543649385</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>4</content> </item> <item class_id_reference="16" object_id="_96"> <Value> <Obj> <type>2</type> <id>203</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1701978146</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>1</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_97"> <Value> <Obj> <type>2</type> <id>210</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>539119430</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>52</content> </item> <item class_id_reference="16" object_id="_98"> <Value> <Obj> <type>2</type> <id>220</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1818849391</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>11</bitwidth> </Value> <const_type>0</const_type> <content>2047</content> </item> <item class_id_reference="16" object_id="_99"> <Value> <Obj> <type>2</type> <id>223</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>644182881</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>52</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_100"> <Value> <Obj> <type>2</type> <id>228</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1685024095</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>1</const_type> <content>2.375</content> </item> <item class_id_reference="16" object_id="_101"> <Value> <Obj> <type>2</type> <id>237</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1717530721</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>12</content> </item> <item class_id_reference="16" object_id="_102"> <Value> <Obj> <type>2</type> <id>241</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>841962316</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>4</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_103"> <Value> <Obj> <type>2</type> <id>246</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1868767291</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>5</content> </item> <item class_id_reference="16" object_id="_104"> <Value> <Obj> <type>2</type> <id>251</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1834970975</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>13</bitwidth> </Value> <const_type>0</const_type> <content>3456</content> </item> <item class_id_reference="16" object_id="_105"> <Value> <Obj> <type>2</type> <id>256</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1852402793</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>3</content> </item> <item class_id_reference="16" object_id="_106"> <Value> <Obj> <type>2</type> <id>260</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1935762015</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>13</bitwidth> </Value> <const_type>0</const_type> <content>2560</content> </item> <item class_id_reference="16" object_id="_107"> <Value> <Obj> <type>2</type> <id>264</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1730569587</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>2</content> </item> <item class_id_reference="16" object_id="_108"> <Value> <Obj> <type>2</type> <id>266</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>825046065</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>14</content> </item> <item class_id_reference="16" object_id="_109"> <Value> <Obj> <type>2</type> <id>269</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>976974951</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>13</bitwidth> </Value> <const_type>0</const_type> <content>2048</content> </item> <item class_id_reference="16" object_id="_110"> <Value> <Obj> <type>2</type> <id>284</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1818322464</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>13</bitwidth> </Value> <const_type>0</const_type> <content>4096</content> </item> <item class_id_reference="16" object_id="_111"> <Value> <Obj> <type>2</type> <id>296</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>673201011</coreId> <rtlModuleName></rtlModuleName> </Obj> <bitwidth>3</bitwidth> </Value> <const_type>0</const_type> <content>0</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="_112"> <Obj> <type>3</type> <id>81</id> <name>sigmoid_plan</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <contextNormFuncName></contextNormFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <control></control> <opType></opType> <implIndex></implIndex> <coreName></coreName> <isStorage>0</isStorage> <storageDepth>0</storageDepth> <coreId>1397508191</coreId> <rtlModuleName></rtlModuleName> </Obj> <node_objs> <count>74</count> <item_version>0</item_version> <item>7</item> <item>8</item> <item>9</item> <item>10</item> <item>11</item> <item>12</item> <item>13</item> <item>14</item> <item>15</item> <item>16</item> <item>17</item> <item>18</item> <item>19</item> <item>20</item> <item>21</item> <item>22</item> <item>23</item> <item>24</item> <item>25</item> <item>26</item> <item>27</item> <item>28</item> <item>29</item> <item>30</item> <item>31</item> <item>32</item> <item>33</item> <item>34</item> <item>35</item> <item>36</item> <item>37</item> <item>38</item> <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> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>150</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_113"> <id>84</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>7</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_114"> <id>85</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>8</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_115"> <id>87</id> <edge_type>1</edge_type> <source_obj>86</source_obj> <sink_obj>8</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_116"> <id>88</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>9</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_117"> <id>90</id> <edge_type>1</edge_type> <source_obj>89</source_obj> <sink_obj>9</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_118"> <id>93</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>10</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_119"> <id>95</id> <edge_type>1</edge_type> <source_obj>94</source_obj> <sink_obj>10</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_120"> <id>97</id> <edge_type>1</edge_type> <source_obj>96</source_obj> <sink_obj>10</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_121"> <id>101</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>11</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_122"> <id>102</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>11</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_123"> <id>105</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="_124"> <id>107</id> <edge_type>1</edge_type> <source_obj>106</source_obj> <sink_obj>12</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_125"> <id>109</id> <edge_type>1</edge_type> <source_obj>108</source_obj> <sink_obj>13</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_126"> <id>110</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="_127"> <id>111</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="_128"> <id>112</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_129"> <id>114</id> <edge_type>1</edge_type> <source_obj>113</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_130"> <id>117</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_131"> <id>119</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_132"> <id>121</id> <edge_type>1</edge_type> <source_obj>120</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_133"> <id>122</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="_134"> <id>124</id> <edge_type>1</edge_type> <source_obj>123</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_135"> <id>125</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>18</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_136"> <id>127</id> <edge_type>1</edge_type> <source_obj>126</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_137"> <id>128</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_138"> <id>129</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="_139"> <id>130</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_140"> <id>131</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="_141"> <id>132</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_142"> <id>133</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="_143"> <id>134</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="_144"> <id>135</id> <edge_type>1</edge_type> <source_obj>89</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_145"> <id>138</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_146"> <id>139</id> <edge_type>1</edge_type> <source_obj>120</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_147"> <id>140</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="_148"> <id>141</id> <edge_type>1</edge_type> <source_obj>106</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_149"> <id>142</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_150"> <id>143</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>26</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_151"> <id>144</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_152"> <id>146</id> <edge_type>1</edge_type> <source_obj>145</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_153"> <id>148</id> <edge_type>1</edge_type> <source_obj>147</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_154"> <id>149</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_155"> <id>150</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="_156"> <id>151</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_157"> <id>152</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="_158"> <id>153</id> <edge_type>1</edge_type> <source_obj>89</source_obj> <sink_obj>30</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_159"> <id>154</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="_160"> <id>155</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>31</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_161"> <id>156</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_162"> <id>157</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_163"> <id>158</id> <edge_type>1</edge_type> <source_obj>96</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_164"> <id>159</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_165"> <id>161</id> <edge_type>1</edge_type> <source_obj>160</source_obj> <sink_obj>34</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_166"> <id>162</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>35</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_167"> <id>163</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_168"> <id>164</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="_169"> <id>166</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_170"> <id>167</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_171"> <id>168</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>38</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_172"> <id>169</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>39</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_173"> <id>170</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="_174"> <id>171</id> <edge_type>1</edge_type> <source_obj>31</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_175"> <id>172</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_176"> <id>173</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_177"> <id>174</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_178"> <id>175</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_179"> <id>176</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="_180"> <id>177</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="_181"> <id>178</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_182"> <id>181</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="_183"> <id>182</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_184"> <id>184</id> <edge_type>1</edge_type> <source_obj>183</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_185"> <id>185</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="_186"> <id>188</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_187"> <id>189</id> <edge_type>1</edge_type> <source_obj>165</source_obj> <sink_obj>46</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_188"> <id>190</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_189"> <id>192</id> <edge_type>1</edge_type> <source_obj>191</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_190"> <id>194</id> <edge_type>1</edge_type> <source_obj>193</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_191"> <id>195</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_192"> <id>197</id> <edge_type>1</edge_type> <source_obj>196</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_193"> <id>198</id> <edge_type>1</edge_type> <source_obj>48</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_194"> <id>199</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="_195"> <id>200</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>50</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_196"> <id>204</id> <edge_type>1</edge_type> <source_obj>203</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_197"> <id>205</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="_198"> <id>208</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_199"> <id>209</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="_200"> <id>211</id> <edge_type>1</edge_type> <source_obj>210</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_201"> <id>212</id> <edge_type>1</edge_type> <source_obj>183</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_202"> <id>213</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="_203"> <id>216</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_204"> <id>217</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_205"> <id>218</id> <edge_type>1</edge_type> <source_obj>210</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_206"> <id>219</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_207"> <id>221</id> <edge_type>1</edge_type> <source_obj>220</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_208"> <id>222</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_209"> <id>224</id> <edge_type>1</edge_type> <source_obj>223</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_210"> <id>225</id> <edge_type>1</edge_type> <source_obj>56</source_obj> <sink_obj>57</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_211"> <id>226</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="_212"> <id>227</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_213"> <id>229</id> <edge_type>1</edge_type> <source_obj>228</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_214"> <id>230</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_215"> <id>231</id> <edge_type>1</edge_type> <source_obj>58</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_216"> <id>232</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="_217"> <id>233</id> <edge_type>1</edge_type> <source_obj>106</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_218"> <id>236</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_219"> <id>238</id> <edge_type>1</edge_type> <source_obj>237</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_220"> <id>239</id> <edge_type>1</edge_type> <source_obj>94</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_221"> <id>240</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_222"> <id>242</id> <edge_type>1</edge_type> <source_obj>241</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_223"> <id>245</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_224"> <id>247</id> <edge_type>1</edge_type> <source_obj>246</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_225"> <id>248</id> <edge_type>1</edge_type> <source_obj>94</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_226"> <id>249</id> <edge_type>1</edge_type> <source_obj>63</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_227"> <id>250</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="_228"> <id>252</id> <edge_type>1</edge_type> <source_obj>251</source_obj> <sink_obj>65</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_229"> <id>255</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_230"> <id>257</id> <edge_type>1</edge_type> <source_obj>256</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_231"> <id>258</id> <edge_type>1</edge_type> <source_obj>94</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_232"> <id>259</id> <edge_type>1</edge_type> <source_obj>66</source_obj> <sink_obj>67</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_233"> <id>261</id> <edge_type>1</edge_type> <source_obj>260</source_obj> <sink_obj>67</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_234"> <id>263</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_235"> <id>265</id> <edge_type>1</edge_type> <source_obj>264</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_236"> <id>267</id> <edge_type>1</edge_type> <source_obj>266</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_237"> <id>268</id> <edge_type>1</edge_type> <source_obj>68</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_238"> <id>270</id> <edge_type>1</edge_type> <source_obj>269</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_239"> <id>271</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>70</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_240"> <id>272</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>70</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_241"> <id>273</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="_242"> <id>274</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>71</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_243"> <id>275</id> <edge_type>1</edge_type> <source_obj>70</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_244"> <id>276</id> <edge_type>1</edge_type> <source_obj>106</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_245"> <id>277</id> <edge_type>1</edge_type> <source_obj>62</source_obj> <sink_obj>73</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_246"> <id>278</id> <edge_type>1</edge_type> <source_obj>72</source_obj> <sink_obj>73</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_247"> <id>279</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="_248"> <id>280</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>74</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_249"> <id>281</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>75</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_250"> <id>282</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="_251"> <id>283</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>76</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_252"> <id>285</id> <edge_type>1</edge_type> <source_obj>284</source_obj> <sink_obj>76</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_253"> <id>286</id> <edge_type>1</edge_type> <source_obj>67</source_obj> <sink_obj>76</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_254"> <id>287</id> <edge_type>1</edge_type> <source_obj>71</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_255"> <id>288</id> <edge_type>1</edge_type> <source_obj>69</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_256"> <id>289</id> <edge_type>1</edge_type> <source_obj>65</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_257"> <id>290</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="_258"> <id>291</id> <edge_type>1</edge_type> <source_obj>76</source_obj> <sink_obj>78</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_259"> <id>292</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="_260"> <id>295</id> <edge_type>1</edge_type> <source_obj>78</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_261"> <id>297</id> <edge_type>1</edge_type> <source_obj>296</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_262"> <id>298</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>80</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="_263"> <mId>1</mId> <mTag>sigmoid_plan</mTag> <mNormTag>sigmoid_plan</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>81</item> </basic_blocks> <mII>1</mII> <mDepth>7</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>6</mMinLatency> <mMaxLatency>6</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_264"> <states class_id="25" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_265"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>14</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_266"> <id>7</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_267"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_268"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_269"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_270"> <id>13</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_271"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_272"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_273"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_274"> <id>48</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_275"> <id>61</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_276"> <id>62</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_277"> <id>63</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_278"> <id>66</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_279"> <id>68</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_280"> <id>2</id> <operations> <count>19</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_281"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_282"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_283"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_284"> <id>19</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_285"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_286"> <id>21</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_287"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_288"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_289"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_290"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_291"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_292"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_293"> <id>29</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_294"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_295"> <id>31</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_296"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_297"> <id>34</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_298"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_299"> <id>40</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_300"> <id>3</id> <operations> <count>14</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_301"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_302"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_303"> <id>32</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_304"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_305"> <id>36</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_306"> <id>38</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_307"> <id>39</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_308"> <id>41</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_309"> <id>42</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_310"> <id>43</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_311"> <id>44</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_312"> <id>46</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_313"> <id>54</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_314"> <id>56</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_315"> <id>4</id> <operations> <count>7</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_316"> <id>45</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_317"> <id>47</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_318"> <id>49</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_319"> <id>50</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_320"> <id>51</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_321"> <id>52</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_322"> <id>55</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_323"> <id>5</id> <operations> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_324"> <id>53</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_325"> <id>58</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_326"> <id>6</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_327"> <id>57</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_328"> <id>58</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_329"> <id>59</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_330"> <id>60</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_331"> <id>7</id> <operations> <count>20</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_332"> <id>2</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_333"> <id>3</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_334"> <id>4</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_335"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_336"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_337"> <id>64</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_338"> <id>65</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_339"> <id>67</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_340"> <id>69</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_341"> <id>70</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_342"> <id>71</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_343"> <id>72</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_344"> <id>73</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_345"> <id>74</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_346"> <id>75</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_347"> <id>76</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_348"> <id>77</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_349"> <id>78</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_350"> <id>79</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_351"> <id>80</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_352"> <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="_353"> <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="_354"> <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="_355"> <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="_356"> <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="_357"> <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> </transitions> </fsm> <res class_id="-1"></res> <node_label_latency class_id="35" tracking_level="0" version="0"> <count>74</count> <item_version>0</item_version> <item class_id="36" tracking_level="0" version="0"> <first>7</first> <second class_id="37" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>8</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>9</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>10</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>11</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>12</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>13</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>14</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>15</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>16</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>18</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>20</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>21</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>23</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>24</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>31</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>32</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>34</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>35</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>36</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>1</first> <second>0</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>0</second> </second> </item> <item> <first>43</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>44</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>2</first> <second>0</second> </second> </item> <item> <first>47</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>49</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>50</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>51</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>52</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>53</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>54</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>55</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>56</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>57</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>58</first> <second> <first>4</first> <second>1</second> </second> </item> <item> <first>59</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>60</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>61</first> <second> <first>0</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>6</first> <second>0</second> </second> </item> <item> <first>65</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>66</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>67</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>68</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>69</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>70</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>71</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>72</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>73</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>74</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>75</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>76</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>77</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>78</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>79</first> <second> <first>6</first> <second>0</second> </second> </item> <item> <first>80</first> <second> <first>6</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="38" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="39" tracking_level="0" version="0"> <first>81</first> <second class_id="40" tracking_level="0" version="0"> <first>0</first> <second>6</second> </second> </item> </bblk_ent_exit> <regions class_id="41" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="42" tracking_level="1" version="0" object_id="_358"> <region_name>sigmoid_plan</region_name> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>81</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>7</pipe_depth> <mDBIIViolationVec class_id="43" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </mDBIIViolationVec> </item> </regions> <dp_fu_nodes class_id="44" tracking_level="0" version="0"> <count>73</count> <item_version>0</item_version> <item class_id="45" tracking_level="0" version="0"> <first>120</first> <second> <count>1</count> <item_version>0</item_version> <item>7</item> </second> </item> <item> <first>126</first> <second> <count>2</count> <item_version>0</item_version> <item>58</item> <item>58</item> </second> </item> <item> <first>131</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>141</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>149</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>157</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>163</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>167</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>171</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>177</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>181</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>191</first> <second> <count>1</count> <item_version>0</item_version> <item>62</item> </second> </item> <item> <first>197</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>207</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>217</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>227</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>232</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>242</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>248</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>253</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>257</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>263</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>268</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>274</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>282</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>288</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>28</item> </second> </item> <item> <first>299</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>304</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>310</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>316</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>322</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>327</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>332</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>338</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>343</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>348</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>351</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>36</item> </second> </item> <item> <first>360</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>363</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>369</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>376</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>379</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>385</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>395</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>403</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>413</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>419</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>422</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>429</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>434</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>440</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>448</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>460</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>466</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>470</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>474</first> <second> <count>1</count> <item_version>0</item_version> <item>59</item> </second> </item> <item> <first>480</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>486</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>489</first> <second> <count>1</count> <item_version>0</item_version> <item>65</item> </second> </item> <item> <first>495</first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>500</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>505</first> <second> <count>1</count> <item_version>0</item_version> <item>70</item> </second> </item> <item> <first>509</first> <second> <count>1</count> <item_version>0</item_version> <item>71</item> </second> </item> <item> <first>514</first> <second> <count>1</count> <item_version>0</item_version> <item>72</item> </second> </item> <item> <first>520</first> <second> <count>1</count> <item_version>0</item_version> <item>73</item> </second> </item> <item> <first>525</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> <item> <first>530</first> <second> <count>1</count> <item_version>0</item_version> <item>75</item> </second> </item> <item> <first>535</first> <second> <count>1</count> <item_version>0</item_version> <item>76</item> </second> </item> <item> <first>542</first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> <item> <first>550</first> <second> <count>1</count> <item_version>0</item_version> <item>78</item> </second> </item> <item> <first>558</first> <second> <count>1</count> <item_version>0</item_version> <item>79</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="47" tracking_level="0" version="0"> <count>71</count> <item_version>0</item_version> <item class_id="48" tracking_level="0" version="0"> <first>a_fu_310</first> <second> <count>1</count> <item_version>0</item_version> <item>31</item> </second> </item> <item> <first>add_ln952_fu_171</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>add_ln961_fu_322</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>add_ln968_fu_434</first> <second> <count>1</count> <item_version>0</item_version> <item>50</item> </second> </item> <item> <first>and_ln1549_1_fu_525</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> <item> <first>and_ln1549_fu_520</first> <second> <count>1</count> <item_version>0</item_version> <item>73</item> </second> </item> <item> <first>and_ln1560_fu_474</first> <second> <count>1</count> <item_version>0</item_version> <item>59</item> </second> </item> <item> <first>and_ln949_fu_288</first> <second> <count>1</count> <item_version>0</item_version> <item>26</item> </second> </item> <item> <first>and_ln952_fu_299</first> <second> <count>1</count> <item_version>0</item_version> <item>29</item> </second> </item> <item> <first>bitcast_ln741_fu_466</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>icmp_ln1549_1_fu_191</first> <second> <count>1</count> <item_version>0</item_version> <item>62</item> </second> </item> <item> <first>icmp_ln1549_fu_338</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>icmp_ln1560_1_fu_413</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>icmp_ln1560_fu_460</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>icmp_ln938_fu_343</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>icmp_ln949_fu_242</first> <second> <count>1</count> <item_version>0</item_version> <item>17</item> </second> </item> <item> <first>icmp_ln950_fu_268</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>icmp_ln961_fu_316</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>l_fu_149</first> <second> <count>1</count> <item_version>0</item_version> <item>12</item> </second> </item> <item> <first>lsb_index_fu_227</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>lshr_ln950_fu_257</first> <second> <count>1</count> <item_version>0</item_version> <item>21</item> </second> </item> <item> <first>lshr_ln961_fu_354</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>m_1_fu_379</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>m_4_fu_385</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>m_fu_369</first> <second> <count>1</count> <item_version>0</item_version> <item>41</item> </second> </item> <item> <first>or_ln1549_fu_530</first> <second> <count>1</count> <item_version>0</item_version> <item>75</item> </second> </item> <item> <first>or_ln1560_1_fu_509</first> <second> <count>1</count> <item_version>0</item_version> <item>71</item> </second> </item> <item> <first>or_ln1560_fu_470</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>or_ln938_fu_505</first> <second> <count>1</count> <item_version>0</item_version> <item>70</item> </second> </item> <item> <first>p_Result_2_fu_263</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>p_Result_3_fu_304</first> <second> <count>1</count> <item_version>0</item_version> <item>30</item> </second> </item> <item> <first>p_Result_4_fu_395</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>p_Result_6_fu_141</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>p_Result_7_fu_448</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>p_Result_s_fu_131</first> <second> <count>1</count> <item_version>0</item_version> <item>10</item> </second> </item> <item> <first>select_ln1549_1_fu_542</first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> <item> <first>select_ln1549_2_fu_550</first> <second> <count>1</count> <item_version>0</item_version> <item>78</item> </second> </item> <item> <first>select_ln1549_fu_535</first> <second> <count>1</count> <item_version>0</item_version> <item>76</item> </second> </item> <item> <first>select_ln946_fu_422</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>shl_ln952_fu_294</first> <second> <count>1</count> <item_version>0</item_version> <item>28</item> </second> </item> <item> <first>shl_ln962_fu_363</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>shl_ln_fu_558</first> <second> <count>1</count> <item_version>0</item_version> <item>79</item> </second> </item> <item> <first>sub_ln947_fu_157</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>sub_ln950_fu_248</first> <second> <count>1</count> <item_version>0</item_version> <item>19</item> </second> </item> <item> <first>sub_ln962_fu_327</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>sub_ln968_fu_429</first> <second> <count>1</count> <item_version>0</item_version> <item>49</item> </second> </item> <item> <first>tmp_2_fu_232</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>tmp_3_fu_274</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>tmp_5_fu_181</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>tmp_fu_440</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>tobool29_i_i282_fu_332</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>trunc_ln1385_1_fu_207</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>trunc_ln1385_2_fu_217</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>trunc_ln3_fu_403</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>trunc_ln4_fu_197</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>trunc_ln946_fu_177</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>trunc_ln947_fu_163</first> <second> <count>1</count> <item_version>0</item_version> <item>14</item> </second> </item> <item> <first>trunc_ln950_fu_167</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>x0_V_1_fu_495</first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>x0_V_2_fu_500</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>x0_V_fu_489</first> <second> <count>1</count> <item_version>0</item_version> <item>65</item> </second> </item> <item> <first>xor_ln1560_fu_480</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>xor_ln938_fu_514</first> <second> <count>1</count> <item_version>0</item_version> <item>72</item> </second> </item> <item> <first>xor_ln952_fu_282</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>zext_ln1385_fu_486</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>zext_ln950_fu_253</first> <second> <count>1</count> <item_version>0</item_version> <item>20</item> </second> </item> <item> <first>zext_ln960_fu_348</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>zext_ln961_fu_351</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>zext_ln962_fu_360</first> <second> <count>1</count> <item_version>0</item_version> <item>38</item> </second> </item> <item> <first>zext_ln964_fu_376</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>zext_ln965_fu_419</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>1</count> <item_version>0</item_version> <item> <first>grp_fu_126</first> <second> <count>2</count> <item_version>0</item_version> <item>58</item> <item>58</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_120</first> <second> <count>1</count> <item_version>0</item_version> <item>7</item> </second> </item> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="49" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>22</count> <item_version>0</item_version> <item> <first>566</first> <second> <count>1</count> <item_version>0</item_version> <item>7</item> </second> </item> <item> <first>575</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>582</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>587</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>592</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>597</first> <second> <count>1</count> <item_version>0</item_version> <item>62</item> </second> </item> <item> <first>602</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>607</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>612</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>617</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>622</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>627</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>632</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>637</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>644</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>649</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>654</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>659</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>664</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>669</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>674</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>679</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>22</count> <item_version>0</item_version> <item> <first>add_ln952_reg_587</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>add_ln961_reg_622</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>bitcast_ln741_reg_674</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>icmp_ln1549_1_reg_597</first> <second> <count>1</count> <item_version>0</item_version> <item>62</item> </second> </item> <item> <first>icmp_ln1549_reg_637</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>icmp_ln1560_1_reg_659</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>icmp_ln1560_reg_669</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>icmp_ln938_reg_644</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>icmp_ln961_reg_617</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>in_read_reg_566</first> <second> <count>1</count> <item_version>0</item_version> <item>7</item> </second> </item> <item> <first>m_4_reg_649</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>p_Result_4_reg_654</first> <second> <count>1</count> <item_version>0</item_version> <item>46</item> </second> </item> <item> <first>p_Result_7_reg_664</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>sub_ln947_reg_575</first> <second> <count>1</count> <item_version>0</item_version> <item>13</item> </second> </item> <item> <first>sub_ln962_reg_627</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>tobool29_i_i282_reg_632</first> <second> <count>1</count> <item_version>0</item_version> <item>40</item> </second> </item> <item> <first>trunc_ln1385_1_reg_607</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>trunc_ln1385_2_reg_612</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>trunc_ln4_reg_602</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>trunc_ln946_reg_592</first> <second> <count>1</count> <item_version>0</item_version> <item>48</item> </second> </item> <item> <first>trunc_ln950_reg_582</first> <second> <count>1</count> <item_version>0</item_version> <item>18</item> </second> </item> <item> <first>xor_ln1560_reg_679</first> <second> <count>1</count> <item_version>0</item_version> <item>60</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="50" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="51" 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>7</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>46</count> <item_version>0</item_version> <item> <first>8</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>9</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>13</first> <second> <first>10</first> <second>4</second> </second> </item> <item> <first>15</first> <second> <first>8</first> <second>4</second> </second> </item> <item> <first>17</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>19</first> <second> <first>10</first> <second>4</second> </second> </item> <item> <first>21</first> <second> <first>21</first> <second>2</second> </second> </item> <item> <first>22</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>23</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>25</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>8</first> <second>4</second> </second> </item> <item> <first>28</first> <second> <first>20</first> <second>2</second> </second> </item> <item> <first>29</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>31</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>34</first> <second> <first>8</first> <second>4</second> </second> </item> <item> <first>36</first> <second> <first>21</first> <second>2</second> </second> </item> <item> <first>37</first> <second> <first>10</first> <second>4</second> </second> </item> <item> <first>39</first> <second> <first>20</first> <second>2</second> </second> </item> <item> <first>40</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>49</first> <second>107</second> </second> </item> <item> <first>43</first> <second> <first>8</first> <second>4</second> </second> </item> <item> <first>47</first> <second> <first>49</first> <second>107</second> </second> </item> <item> <first>49</first> <second> <first>8</first> <second>156</second> </second> </item> <item> <first>50</first> <second> <first>8</first> <second>156</second> </second> </item> <item> <first>55</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>56</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>57</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>58</first> <second> <first>513</first> <second>0</second> </second> </item> <item> <first>59</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>60</first> <second> <first>25</first> <second>0</second> </second> </item> <item> <first>62</first> <second> <first>45</first> <second>0</second> </second> </item> <item> <first>65</first> <second> <first>8</first> <second>4</second> </second> </item> <item> <first>67</first> <second> <first>8</first> <second>4</second> </second> </item> <item> <first>69</first> <second> <first>8</first> <second>4</second> </second> </item> <item> <first>70</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>71</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>72</first> <second> <first>25</first> <second>0</second> </second> </item> <item> <first>73</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>74</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>75</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>76</first> <second> <first>49</first> <second>107</second> </second> </item> <item> <first>77</first> <second> <first>49</first> <second>107</second> </second> </item> <item> <first>78</first> <second> <first>49</first> <second>107</second> </second> </item> </node2core> </syndb> </boost_serialization>
------------------------------------------------------------------------------ -- -- -- 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 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. -- -- -- ------------------------------------------------------------------------------ package HAL.SDMMC is pragma Preelaborate; type SD_Error is (OK, Error, Timeout_Error, Command_Timeout_Error, Unsupported_Card, Rx_Overrun, Tx_Underrun, Request_Not_Applicable, CRC_Check_Fail, Illegal_Cmd, Address_Out_Of_Range, Address_Missaligned, Block_Length_Error, Erase_Seq_Error, Bad_Erase_Parameter, Write_Protection_Violation, Lock_Unlock_Failed, Card_ECC_Failed, Card_ECC_Disabled, CC_Error, General_Unknown_Error, Stream_Read_Underrun, Stream_Write_Underrun, CID_CSD_Overwrite, WP_Erase_Skip, Erase_Reset, AKE_SEQ_Error, Invalid_Voltage_Range, Startbit_Not_Detected, DMA_Alignment_Error); -- Wide bus mode type Wide_Bus_Mode is ( -- Default bus mode: SDMMC_D0 is used. Wide_Bus_1B, -- 4-wide bus mode: SDMMC_D[3:0] used. Wide_Bus_4B, -- 8-wide bus mode: SDMMC_D[7:0] used. Wide_Bus_8B) with Size => 2; for Wide_Bus_Mode use (Wide_Bus_1B => 0, Wide_Bus_4B => 1, Wide_Bus_8B => 2); type Supported_SD_Memory_Cards is (STD_Capacity_SD_Card_V1_1, STD_Capacity_SD_Card_v2_0, High_Capacity_SD_Card, Multimedia_Card, Secure_Digital_IO_Card, High_Speed_Multimedia_Card, Secure_Digital_IO_Combo_Card, High_Capacity_MMC_Card); type Card_Specific_Data_Register is record CSD_Structure : UInt8; System_Specification_Version : UInt8; Reserved : UInt8; Data_Read_Access_Time_1 : UInt8; Data_Read_Access_Time_2 : UInt8; -- In CLK Cycles Max_Data_Transfer_Rate : UInt8; Card_Command_Class : UInt16; Max_Read_Data_Block_Length : UInt8; Partial_Block_For_Read_Allowed : Boolean; Write_Block_Missalignment : Boolean; Read_Block_Missalignment : Boolean; DSR_Implemented : Boolean; Reserved_2 : UInt8; Device_Size : UInt32; Max_Read_Current_At_VDD_Min : UInt8; Max_Read_Current_At_VDD_Max : UInt8; Max_Write_Current_At_VDD_Min : UInt8; Max_Write_Current_At_VDD_Max : UInt8; Device_Size_Multiplier : UInt8; Erase_Group_Size : UInt8; Erase_Group_Size_Multiplier : UInt8; Write_Protect_Group_Size : UInt8; Write_Protect_Group_Enable : Boolean; Manufacturer_Default_ECC : UInt8; Write_Speed_Factor : UInt8; Max_Write_Data_Block_Length : UInt8; Partial_Blocks_For_Write_Allowed : Boolean; Reserved_3 : UInt8; Content_Protection_Application : Boolean; File_Format_Group : Boolean; Copy_Flag : Boolean; Permanent_Write_Protection : Boolean; Temporary_Write_Protection : Boolean; File_Format : UInt8; ECC_Code : UInt8; CSD_CRC : UInt8; Reserved_4 : UInt8; -- Always 1 end record; type Card_Revision is record Major : UInt4; Minor : UInt4; end record with Pack; type Manufacturing_Year is range 2000 .. 2255; type Manufacturing_Month is (January, February, March, April, May, June, July, August, September, October, November, December) with Size => 4; type Manufacturing_Date_Type is record Year : Manufacturing_Year; Month : Manufacturing_Month; end record; type Card_Identification_Data_Register is record Manufacturer_ID : UInt8; OEM_Application_ID : String (1 .. 2); Product_Name : String (1 .. 5); Product_Revision : Card_Revision; Product_Serial_Number : UInt32; Reserved_1 : UInt8; Manufacturing_Date : Manufacturing_Date_Type; CID_CRC : UInt8; Reserved_2 : UInt8; -- Always 1 end record; type SDCard_Configuration_Register is record SCR_Structure : UInt8; SD_Spec : UInt8; Data_Stat_After_Erase : UInt8; SD_Security : UInt8; SD_Bus_Widths : UInt8; SD_Spec3 : Boolean; Ex_Security : UInt8; SD_Spec4 : Boolean; Reserved_1 : UInt8; CMD_Support : UInt8; Reserved_2 : UInt32; end record; type Card_Information is record SD_CSD : Card_Specific_Data_Register; SD_CID : Card_Identification_Data_Register; Card_Capacity : UInt64; Card_Block_Size : UInt32; RCA : UInt16; -- SD relative card address Card_Type : Supported_SD_Memory_Cards := STD_Capacity_SD_Card_V1_1; end record; type SD_Command is new UInt6; -- Resets the SD memory card Go_Idle_State : constant SD_Command := 0; -- Sends host capacity support information and activates the card's -- initialization process Send_Op_Cond : constant SD_Command := 1; -- Only for MMC -- Asks any card connected to the host to send the CID numbers on the -- CMD line. All_Send_CID : constant SD_Command := 2; -- Asks the card to publish a new relative address (RCA). Send_Relative_Addr : constant SD_Command := 3; -- Programs the DSR of all cards. Set_DSR : constant SD_Command := 4; -- Sends host capacity support information (HCS) and asks the accessed -- card to send its operating condition register (OCR) content in the -- response on the CMD line. SDMMC_Send_Op_Cond : constant SD_Command := 5; -- Checks switchable function (mode 0) and switch card function (mode 1). Switch_Func : constant SD_Command := 6; -- Selects the card by its own relative address and gets deselected by -- any other address Select_Card : constant SD_Command := 7; Deselect_Card : constant SD_Command := 7; -- Sends SD Memory Card interface condition Send_If_Cond : constant SD_Command := 8; -- Addressed card sends its card specific data Send_CSD : constant SD_Command := 9; -- Addressed card sends its card identification (CID) on the CMD line. Send_CID : constant SD_Command := 10; Read_Dat_Until_Stop : constant SD_Command := 11; Stop_Transmission : constant SD_Command := 12; Send_Status : constant SD_Command := 13; HS_Bustest_Read : constant SD_Command := 14; Go_Inactive_State : constant SD_Command := 15; Set_Blocklen : constant SD_Command := 16; Read_Single_Block : constant SD_Command := 17; Read_Multi_Block : constant SD_Command := 18; HS_Bustest_Write : constant SD_Command := 19; Write_Dat_Until_Stop : constant SD_Command := 20; Set_Block_Count : constant SD_Command := 23; -- Only for MMC Write_Single_Block : constant SD_Command := 24; Write_Multi_Block : constant SD_Command := 25; Prog_CID : constant SD_Command := 26; Prog_CSD : constant SD_Command := 27; Set_Write_Prot : constant SD_Command := 28; Clr_Write_Prot : constant SD_Command := 29; Send_Write_Prot : constant SD_Command := 30; SD_Erase_Grp_Start : constant SD_Command := 32; SD_Erase_Grp_End : constant SD_Command := 33; Erase_Grp_Start : constant SD_Command := 35; Erase_Grp_End : constant SD_Command := 36; Erase : constant SD_Command := 38; Fast_IO : constant SD_Command := 39; Go_IRQ_State : constant SD_Command := 40; Lock_Unlock : constant SD_Command := 42; App_Cmd : constant SD_Command := 55; Gen_Cmd : constant SD_Command := 56; -- SD-Card speciric commands -- App_Cmd should be sent before sending these commands subtype SD_Specific_Command is SD_Command; SD_App_Set_Bus_Width : constant SD_Specific_Command := 6; SD_App_Status : constant SD_Specific_Command := 13; SD_App_Secure_Read_Multi_Block : constant SD_Specific_Command := 18; SD_App_Send_Num_Write_Blocks : constant SD_Specific_Command := 22; SD_App_Set_Write_Block_Erase_Count : constant SD_Specific_Command := 23; SD_App_Secure_Write_Multi_Block : constant SD_Specific_Command := 25; SD_App_Secure_Erase : constant SD_Specific_Command := 38; SD_App_Send_Op_Cond : constant SD_Specific_Command := 41; SD_App_Get_MKB : constant SD_Specific_Command := 43; SD_App_Get_MID : constant SD_Specific_Command := 44; SD_App_Set_CER_RN1 : constant SD_Specific_Command := 45; SD_App_Get_CER_RN2 : constant SD_Specific_Command := 46; SD_App_Set_CER_RES2 : constant SD_Specific_Command := 47; SD_App_Get_CER_RES1 : constant SD_Specific_Command := 48; SD_App_Change_Secure_Area : constant SD_Specific_Command := 49; SD_App_Send_SCR : constant SD_Specific_Command := 51; type Rsp_Kind is (Rsp_Invalid, -- Unknown/invalid command Rsp_No, -- No response. Rsp_R1, Rsp_R1B, Rsp_R2, Rsp_R3, Rsp_R6, Rsp_R7 -- Response with format ); -- Response format type Tfr_Kind is (Tfr_Invalid, Tfr_No, Tfr_Read, Tfr_Write, Tfr_Read_Multi, Tfr_Write_Multi); -- Transfer type Cmd_Desc_Type is record Cmd : SD_Command; Rsp : Rsp_Kind; Tfr : Tfr_Kind; end record; type Cmd_Desc_Array is array (SD_Command) of Cmd_Desc_Type; type ACmd_Desc_Array is array (SD_Specific_Command) of Cmd_Desc_Type; Cmd_Desc : constant Cmd_Desc_Array := (Go_Idle_State => (Cmd => Go_Idle_State, Rsp => Rsp_No, Tfr => Tfr_No), Send_Op_Cond => (Cmd => Send_Op_Cond, Rsp => Rsp_R3, Tfr => Tfr_No), All_Send_CID => (Cmd => All_Send_CID, Rsp => Rsp_R2, Tfr => Tfr_No), Send_Relative_Addr => (Cmd => Send_Relative_Addr, Rsp => Rsp_R3, Tfr => Tfr_No), Switch_Func => (Cmd => Switch_Func, Rsp => Rsp_R1, Tfr => Tfr_Read), Select_Card => (Cmd => Select_Card, Rsp => Rsp_R1B, Tfr => Tfr_No), Send_If_Cond => (Cmd => Send_If_Cond, Rsp => Rsp_R7, Tfr => Tfr_No), Send_CSD => (Cmd => Send_CSD, Rsp => Rsp_R2, Tfr => Tfr_No), Send_CID => (Cmd => Send_CID, Rsp => Rsp_R2, Tfr => Tfr_No), Stop_Transmission => (Cmd => Stop_Transmission, Rsp => Rsp_R1, Tfr => Tfr_No), Read_Single_Block => (Cmd => Read_Single_Block, Rsp => Rsp_R1, Tfr => Tfr_Read), Read_Multi_Block => (Cmd => Read_Multi_Block, Rsp => Rsp_R1, Tfr => Tfr_Read_Multi), Send_Status => (Cmd => Send_Status, Rsp => Rsp_R1, Tfr => Tfr_No), Set_Blocklen => (Cmd => Set_Blocklen, Rsp => Rsp_R1, Tfr => Tfr_No), App_Cmd => (Cmd => App_Cmd, Rsp => Rsp_R1, Tfr => Tfr_No), Write_Single_Block => (Cmd => Write_Single_Block, Rsp => Rsp_R1, Tfr => Tfr_Write), Write_Multi_Block => (Cmd => Write_Multi_Block, Rsp => Rsp_R1, Tfr => Tfr_Write_Multi), others => (Cmd => 0, Rsp => Rsp_Invalid, Tfr => Tfr_Invalid)); Acmd_Desc : constant ACmd_Desc_Array := (SD_App_Set_Bus_Width => (Cmd => SD_App_Set_Bus_Width, Rsp => Rsp_R1, Tfr => Tfr_No), SD_App_Send_Op_Cond => (Cmd => SD_App_Send_Op_Cond, Rsp => Rsp_R3, Tfr => Tfr_No), SD_App_Send_SCR => (Cmd => SD_App_Send_SCR, Rsp => Rsp_R1, Tfr => Tfr_Read), others => (Cmd => 0, Rsp => Rsp_Invalid, Tfr => Tfr_Invalid)); type SDMMC_Driver is limited interface; procedure Delay_Milliseconds (This : SDMMC_Driver; Amount : Natural) is abstract; -- Do not use directly 'delay until' so that this package can still be -- used with the zfp profile procedure Reset (This : in out SDMMC_Driver; Status : out SD_Error) is abstract; -- Initialize the driver, enable clocking. procedure Set_Clock (This : in out SDMMC_Driver; Freq : Natural) is abstract; -- Set clock frequency. procedure Set_Bus_Size (This : in out SDMMC_Driver; Mode : Wide_Bus_Mode) is abstract; -- Set host bus size; the command must have been set to the card. procedure Send_Cmd (This : in out SDMMC_Driver; Cmd : Cmd_Desc_Type; Arg : UInt32; Status : out SD_Error) is abstract; -- Send a command (without data transfer) and wait for result. procedure Read_Cmd (This : in out SDMMC_Driver; Cmd : Cmd_Desc_Type; Arg : UInt32; Buf : out UInt32_Array; Status : out SD_Error) is abstract; -- Read data command procedure Read_Rsp48 (This : in out SDMMC_Driver; Rsp : out UInt32) is abstract; -- Read the 32 interesting bits of the last 48bits response (start bit, -- transmission bit, command index, crc and end bit are discarded). -- Cannot fail. procedure Read_Rsp136 (This : in out SDMMC_Driver; W0, W1, W2, W3 : out UInt32) is abstract; -- Read the 128 interesting bits of the last 136 bit response. -- W0 is the MSB, W3 the LSB -- Cannot fail. procedure Send_Cmd (This : in out SDMMC_Driver'Class; Cmd : SD_Command; Arg : UInt32; Status : out SD_Error); -- Wrapper for Send_Cmd using a generic command. procedure Send_ACmd (This : in out SDMMC_Driver'Class; Cmd : SD_Specific_Command; Rca : UInt16; Arg : UInt32; Status : out SD_Error); -- Send application specific command end HAL.SDMMC;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2020, AdaCore -- -- Copyright (C) 2020, Simon Wright (simon@pushface.org) -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- The algorithms used here are derived from Pimoroni's code at -- https://github.com/pimoroni/pmw3901-python. with HAL.GPIO; with HAL.SPI; with HAL.Time; with Interfaces; package PMW3901 is SPI_Error : exception; type PMW3901_Flow_Sensor (Port : not null HAL.SPI.Any_SPI_Port; CS : not null HAL.GPIO.Any_GPIO_Point; Timing : not null HAL.Time.Any_Delays) is limited private; type Run_Mode is range 0 .. 3 with Size => 2; type Motion is record Frame_From_0 : Boolean; Mode : Run_Mode; Raw_From_0 : Boolean; Motion_Occurred : Boolean; Observation : HAL.UInt8; Delta_X : Interfaces.Integer_16; Delta_Y : Interfaces.Integer_16; S_Qual : HAL.UInt8; Raw_Data_Sum : HAL.UInt8; Max_Raw_Data : HAL.UInt8; Min_Raw_Data : HAL.UInt8; Shutter_Upper : HAL.UInt8; -- Shutter is big-endian! Shutter_Lower : HAL.UInt8; end record; function Is_Valid (M : Motion) return Boolean; function Is_Initialized (This : PMW3901_Flow_Sensor) return Boolean; procedure Initialize (This : in out PMW3901_Flow_Sensor) with Pre => not Is_Initialized (This); -- NB: does NOT init/configure SPI and GPIO IO, which must be done -- (elsewhere) prior to calling this routine. procedure Calibrate (This : in out PMW3901_Flow_Sensor) with Pre => Is_Initialized (This); function Read_Motion (This : in out PMW3901_Flow_Sensor) return Motion with Pre => Is_Initialized (This); private type PMW3901_Flow_Sensor (Port : not null HAL.SPI.Any_SPI_Port; CS : not null HAL.GPIO.Any_GPIO_Point; Timing : not null HAL.Time.Any_Delays) is limited record Initialized : Boolean := False; end record; function Is_Initialized (This : PMW3901_Flow_Sensor) return Boolean is (This.Initialized); for Motion use record Frame_From_0 at 0 range 0 .. 0; Mode at 0 range 1 .. 2; Raw_From_0 at 0 range 4 .. 4; Motion_Occurred at 0 range 7 .. 7; Observation at 1 range 0 .. 7; Delta_X at 2 range 0 .. 15; Delta_Y at 4 range 0 .. 15; S_Qual at 6 range 0 .. 7; Raw_Data_Sum at 7 range 0 .. 7; Max_Raw_Data at 8 range 0 .. 7; Min_Raw_Data at 9 range 0 .. 7; Shutter_Upper at 10 range 0 .. 7; Shutter_Lower at 11 range 0 .. 7; end record; for Motion'Size use 12 * 8; end PMW3901;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- A D A . E X C E P T I O N S -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2011, Free Software Foundation, Inc. -- -- Copyright (C) 2012, Rolf Ebert -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ package body Ada.Exceptions is procedure Reset; pragma Import (Ada, Reset); for Reset'Address use 0; pragma No_Return (Reset); procedure Default_Handler (Msg : System.Address; Line : Integer); pragma Export (C, Default_Handler, "__gnat_last_chance_handler"); pragma Weak_External (Default_Handler); pragma No_Return (Default_Handler); procedure Default_Handler (Msg : System.Address; Line : Integer) is pragma Unreferenced (Msg); pragma Unreferenced (Line); begin Reset; end Default_Handler; procedure Last_Chance_Handler (Msg : System.Address; Line : Integer); pragma Import (C, Last_Chance_Handler, "__gnat_last_chance_handler"); pragma No_Return (Last_Chance_Handler); procedure Raise_Exception (E : Exception_Id; Message : String := "") is pragma Unreferenced (E); begin Last_Chance_Handler (Message'Address, 0); end Raise_Exception; end Ada.Exceptions;
------------------------------------------------------------------------------- -- Copyright (c) 2019, Daniel King -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- * Redistributions of source code must retain the above copyright -- notice, this list of conditions and the following disclaimer. -- * Redistributions in binary form must reproduce the above copyright -- notice, this list of conditions and the following disclaimer in the -- documentation and/or other materials provided with the distribution. -- * The name of the copyright holder may not be used to endorse or promote -- Products derived from this software without specific prior written -- permission. -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY -- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -- THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ------------------------------------------------------------------------------- with AUnit.Assertions; use AUnit.Assertions; with Interfaces; use Interfaces; package body Ketje_Tests is -- Test that performing an encrypt then a decrypt yields the original plaintext. -- -- The test is repeated for varying lengths of AAD preceding the encryption/decryption. procedure Test_Encrypt_Decrypt (T : in out Test) is Ctx : MonkeyWrap.Context; Key : constant Byte_Array (1 .. 8) := (others => 16#AA#); Nonce : constant Byte_Array (1 .. 8) := (others => 16#55#); AAD : constant Byte_Array (1 .. 50) := (others => 16#FF#); PT1 : Byte_Array (1 .. 1024); CT1 : Byte_Array (1 .. 1024) := (others => 0); PT2 : Byte_Array (1 .. 1024) := (others => 0); begin for I in 0 .. PT1'Length - 1 loop PT1 (PT1'First + I) := Byte (I mod 256); end loop; for N in 0 .. AAD'Length loop MonkeyWrap.Init (Ctx => Ctx, Key => Key, Nonce => Nonce); MonkeyWrap.Update_Auth_Data (Ctx => Ctx, Data => AAD (1 .. N)); MonkeyWrap.Update_Encrypt (Ctx => Ctx, Plaintext => PT1, Ciphertext => CT1); MonkeyWrap.Init (Ctx => Ctx, Key => Key, Nonce => Nonce); MonkeyWrap.Update_Auth_Data (Ctx => Ctx, Data => AAD (1 .. N)); MonkeyWrap.Update_Decrypt (Ctx => Ctx, Ciphertext => CT1, Plaintext => PT2); Assert (PT1 = PT2, "Decryption resulted in different plaintext with AAD'Length =" & Integer'Image (N)); end loop; end Test_Encrypt_Decrypt; -- Test that processing the same AAD with varying calls to -- Update_Auth_Data produces the same tag. -- -- This ensures that data can be streamed in any way and still -- produce the same result. procedure Test_Streaming_AAD (T : in out Test) is Ctx : MonkeyWrap.Context; Key : constant Byte_Array (1 .. 8) := (others => 16#AA#); Nonce : constant Byte_Array (1 .. 8) := (others => 16#55#); AAD : Byte_Array (1 .. 256); Tag1 : Byte_Array (1 .. 256); Tag2 : Byte_Array (1 .. 256); Offset : Natural; Remaining : Natural; begin for I in 0 .. AAD'Length - 1 loop AAD (AAD'First + I) := Byte (I mod 256); end loop; -- Generate reference tag MonkeyWrap.Init (Ctx, Key, Nonce); MonkeyWrap.Update_Auth_Data (Ctx, AAD); MonkeyWrap.Extract_Tag (Ctx, Tag1); for Chunk_Size in 1 .. AAD'Length loop MonkeyWrap.Init (Ctx => Ctx, Key => Key, Nonce => Nonce); Offset := 0; Remaining := AAD'Length; -- Process AAD in chunks while Remaining > 0 loop pragma Loop_Invariant (Offset + Remaining = AAD'Length); if Remaining >= Chunk_Size then MonkeyWrap.Update_Auth_Data (Ctx => Ctx, Data => AAD (AAD'First + Offset .. AAD'First + Offset + Chunk_Size - 1)); Offset := Offset + Chunk_Size; Remaining := Remaining - Chunk_Size; else MonkeyWrap.Update_Auth_Data (Ctx => Ctx, Data => AAD (AAD'First + Offset .. AAD'Last)); Offset := Offset + Remaining; Remaining := 0; end if; end loop; -- Generate tag MonkeyWrap.Extract_Tag (Ctx, Tag2); Assert (Tag1 = Tag2, "Wrong tag for chunk size =" & Integer'Image (Chunk_Size)); end loop; end Test_Streaming_AAD; -- Test that processing the same plaintext with varying calls to -- Update_Encrypt produces the same ciphertext. -- -- This ensures that data can be streamed in any way and still -- produce the same result. procedure Test_Streaming_Encryption (T : in out Test) is Ctx : MonkeyWrap.Context; Key : constant Byte_Array (1 .. 8) := (others => 16#AA#); Nonce : constant Byte_Array (1 .. 8) := (others => 16#55#); PT : Byte_Array (1 .. 256); CT1 : Byte_Array (1 .. 256); CT2 : Byte_Array (1 .. 256); Tag1 : Byte_Array (1 .. 256); Tag2 : Byte_Array (1 .. 256); Offset : Natural; Remaining : Natural; begin for I in 0 .. PT'Length - 1 loop PT (PT'First + I) := Byte (I mod 256); end loop; -- Generate reference ciphertext & tag MonkeyWrap.Init (Ctx, Key, Nonce); MonkeyWrap.Update_Encrypt (Ctx, PT, CT1); MonkeyWrap.Extract_Tag (Ctx, Tag1); for Chunk_Size in 1 .. PT'Length loop MonkeyWrap.Init (Ctx, Key, Nonce); Offset := 0; Remaining := PT'Length; CT2 := (others => 0); -- Process plaintext in chunks while Remaining > 0 loop pragma Loop_Invariant (Offset + Remaining = PT'Length); if Remaining >= Chunk_Size then MonkeyWrap.Update_Encrypt (Ctx => Ctx, Plaintext => PT (PT'First + Offset .. PT'First + Offset + Chunk_Size - 1), Ciphertext => CT2 (CT2'First + Offset .. CT2'First + Offset + Chunk_Size - 1)); Offset := Offset + Chunk_Size; Remaining := Remaining - Chunk_Size; else MonkeyWrap.Update_Encrypt (Ctx => Ctx, Plaintext => PT (PT'First + Offset .. PT'Last), Ciphertext => CT2 (CT2'First + Offset .. CT2'Last)); Offset := Offset + Remaining; Remaining := 0; end if; end loop; -- Generate tag MonkeyWrap.Extract_Tag (Ctx, Tag2); Assert (CT1 = CT2, "Wrong ciphertext for chunk size =" & Integer'Image (Chunk_Size)); Assert (Tag1 = Tag2, "Wrong tag for chunk size =" & Integer'Image (Chunk_Size)); end loop; end Test_Streaming_Encryption; -- Test that processing the same ciphertext with varying calls to -- Update_Decrypt produces the same ciphertext. -- -- This ensures that data can be streamed in any way and still -- produce the same result. procedure Test_Streaming_Decryption (T : in out Test) is Ctx : MonkeyWrap.Context; Key : constant Byte_Array (1 .. 8) := (others => 16#AA#); Nonce : constant Byte_Array (1 .. 8) := (others => 16#55#); CT : Byte_Array (1 .. 256); PT1 : Byte_Array (1 .. 256); PT2 : Byte_Array (1 .. 256); Tag1 : Byte_Array (1 .. 256); Tag2 : Byte_Array (1 .. 256); Offset : Natural; Remaining : Natural; begin for I in 0 .. CT'Length - 1 loop CT (CT'First + I) := Byte (I mod 256); end loop; -- Generate reference plaintext & tag MonkeyWrap.Init (Ctx, Key, Nonce); MonkeyWrap.Update_Decrypt (Ctx, CT, PT1); MonkeyWrap.Extract_Tag (Ctx, Tag1); for Chunk_Size in 1 .. CT'Length loop MonkeyWrap.Init (Ctx, Key, Nonce); Offset := 0; Remaining := CT'Length; PT2 := (others => 0); -- Process plaintext in chunks while Remaining > 0 loop pragma Loop_Invariant (Offset + Remaining = CT'Length); if Remaining >= Chunk_Size then MonkeyWrap.Update_Decrypt (Ctx => Ctx, Ciphertext => CT (CT'First + Offset .. CT'First + Offset + Chunk_Size - 1), Plaintext => PT2 (PT2'First + Offset .. PT2'First + Offset + Chunk_Size - 1)); Offset := Offset + Chunk_Size; Remaining := Remaining - Chunk_Size; else MonkeyWrap.Update_Decrypt (Ctx => Ctx, Ciphertext => CT (CT'First + Offset .. CT'Last), Plaintext => PT2 (PT2'First + Offset .. PT2'Last)); Offset := Offset + Remaining; Remaining := 0; end if; end loop; -- Generate tag MonkeyWrap.Extract_Tag (Ctx, Tag2); Assert (PT1 = PT2, "Wrong plaintext for chunk size =" & Integer'Image (Chunk_Size)); Assert (Tag1 = Tag2, "Wrong tag for chunk size =" & Integer'Image (Chunk_Size)); end loop; end Test_Streaming_Decryption; -- Test that extracting the same tag with varying calls to -- Extract_Tag produces the same ciphertext. -- -- This ensures that data can be streamed in any way and still -- produce the same result. procedure Test_Streaming_Tag (T : in out Test) is Ctx : MonkeyWrap.Context; Key : constant Byte_Array (1 .. 8) := (others => 16#AA#); Nonce : constant Byte_Array (1 .. 8) := (others => 16#55#); Tag1 : Byte_Array (1 .. 256); Tag2 : Byte_Array (1 .. 256); Offset : Natural; Remaining : Natural; begin -- Generate reference tag MonkeyWrap.Init (Ctx, Key, Nonce); MonkeyWrap.Extract_Tag (Ctx, Tag1); for Chunk_Size in 1 .. Tag1'Length loop MonkeyWrap.Init (Ctx => Ctx, Key => Key, Nonce => Nonce); Offset := 0; Remaining := Tag1'Length; Tag2 := (others => 0); -- Process tag in chunks while Remaining > 0 loop pragma Loop_Invariant (Offset + Remaining = Tag1'Length); if Remaining >= Chunk_Size then MonkeyWrap.Extract_Tag (Ctx => Ctx, Tag => Tag2 (Tag2'First + Offset .. Tag2'First + Offset + Chunk_Size - 1)); Offset := Offset + Chunk_Size; Remaining := Remaining - Chunk_Size; else MonkeyWrap.Extract_Tag (Ctx => Ctx, Tag => Tag2 (Tag2'First + Offset .. Tag2'Last)); Offset := Offset + Remaining; Remaining := 0; end if; end loop; Assert (Tag1 = Tag2, "Wrong tag for chunk size =" & Integer'Image (Chunk_Size)); end loop; end Test_Streaming_Tag; -- Test that Verify_Tag produces the correct results for valid and -- invalid tags. procedure Test_Verify_Tag (T : in out Test) is Ctx : MonkeyWrap.Context; Key : constant Byte_Array (1 .. 8) := (others => 16#AA#); Nonce : constant Byte_Array (1 .. 8) := (others => 16#55#); Tag : Byte_Array (1 .. 256); Valid : Boolean; begin -- Generate reference tag MonkeyWrap.Init (Ctx, Key, Nonce); MonkeyWrap.Extract_Tag (Ctx, Tag); -- Check that the valid tag is detected as valid MonkeyWrap.Init (Ctx, Key, Nonce); MonkeyWrap.Verify_Tag (Ctx, Tag, Valid); Assert (Valid, "Verify_Tag false positive"); -- Check that the tag is invalid for a completely wrong tag for B of Tag loop B := B xor 16#FF#; end loop; MonkeyWrap.Init (Ctx, Key, Nonce); MonkeyWrap.Verify_Tag (Ctx, Tag, Valid); Assert (not Valid, "Verify_Tag false negative"); -- Put the tag back to normal for B of Tag loop B := B xor 16#FF#; end loop; -- Test that a corrupted bit in the middle of a streamed tag -- is detected, and that the Valid flag sticks to "invalid". Tag (180) := Tag (180) xor 16#08#; MonkeyWrap.Init (Ctx, Key, Nonce); MonkeyWrap.Verify_Tag (Ctx, Tag (1 .. 63), Valid); Assert (Valid, "Verify_Tag false positive in chunk 1"); MonkeyWrap.Verify_Tag (Ctx, Tag (64 .. 127), Valid); Assert (Valid, "Verify_Tag false positive in chunk 2"); MonkeyWrap.Verify_Tag (Ctx, Tag (128 .. 191), Valid); -- byte 180 is invalid Assert (not Valid, "Verify_Tag false negative in chunk 3"); -- Valid should stick to false, even though the last chunk -- of data is still valid. MonkeyWrap.Verify_Tag (Ctx, Tag (192 .. 256), Valid); Assert (not Valid, "Verify_Tag false negative in chunk 4"); end Test_Verify_Tag; -- Test that verifying the same tag with varying calls to -- Verify_Tag produces the same result. -- -- This ensures that data can be streamed in any way and still -- produce the same result. procedure Test_Streaming_Verify_Tag (T : in out Test) is Ctx : MonkeyWrap.Context; Key : constant Byte_Array (1 .. 8) := (others => 16#AA#); Nonce : constant Byte_Array (1 .. 8) := (others => 16#55#); Tag : Byte_Array (1 .. 256); Valid : Boolean; Offset : Natural; Remaining : Natural; begin -- Generate reference tag MonkeyWrap.Init (Ctx, Key, Nonce); MonkeyWrap.Extract_Tag (Ctx, Tag); for Chunk_Size in 1 .. Tag'Length loop MonkeyWrap.Init (Ctx => Ctx, Key => Key, Nonce => Nonce); Offset := 0; Remaining := Tag'Length; -- Process tag in chunks while Remaining > 0 loop pragma Loop_Invariant (Offset + Remaining = Tag'Length); if Remaining >= Chunk_Size then MonkeyWrap.Verify_Tag (Ctx => Ctx, Tag => Tag (Tag'First + Offset .. Tag'First + Offset + Chunk_Size - 1), Valid => Valid); Offset := Offset + Chunk_Size; Remaining := Remaining - Chunk_Size; else MonkeyWrap.Verify_Tag (Ctx => Ctx, Tag => Tag (Tag'First + Offset .. Tag'Last), Valid => Valid); Offset := Offset + Remaining; Remaining := 0; end if; Assert (Valid, "Invalid tag at offset =" & Integer'Image (Offset) & ", chunk size =" & Integer'Image (Chunk_Size)); end loop; end loop; end Test_Streaming_Verify_Tag; end Ketje_Tests;
pragma Warnings (Off); pragma Ada_95; pragma Source_File_Name (ada_main, Spec_File_Name => "b__mainair.ads"); pragma Source_File_Name (ada_main, Body_File_Name => "b__mainair.adb"); pragma Suppress (Overflow_Check); with Ada.Exceptions; package body ada_main is E072 : Short_Integer; pragma Import (Ada, E072, "system__os_lib_E"); E008 : Short_Integer; pragma Import (Ada, E008, "ada__exceptions_E"); E013 : Short_Integer; pragma Import (Ada, E013, "system__soft_links_E"); E025 : Short_Integer; pragma Import (Ada, E025, "system__exception_table_E"); E040 : Short_Integer; pragma Import (Ada, E040, "ada__containers_E"); E068 : Short_Integer; pragma Import (Ada, E068, "ada__io_exceptions_E"); E052 : Short_Integer; pragma Import (Ada, E052, "ada__strings_E"); E054 : Short_Integer; pragma Import (Ada, E054, "ada__strings__maps_E"); E058 : Short_Integer; pragma Import (Ada, E058, "ada__strings__maps__constants_E"); E078 : Short_Integer; pragma Import (Ada, E078, "interfaces__c_E"); E027 : Short_Integer; pragma Import (Ada, E027, "system__exceptions_E"); E080 : Short_Integer; pragma Import (Ada, E080, "system__object_reader_E"); E047 : Short_Integer; pragma Import (Ada, E047, "system__dwarf_lines_E"); E021 : Short_Integer; pragma Import (Ada, E021, "system__soft_links__initialize_E"); E039 : Short_Integer; pragma Import (Ada, E039, "system__traceback__symbolic_E"); E134 : Short_Integer; pragma Import (Ada, E134, "ada__numerics_E"); E103 : Short_Integer; pragma Import (Ada, E103, "ada__tags_E"); E101 : Short_Integer; pragma Import (Ada, E101, "ada__streams_E"); E115 : Short_Integer; pragma Import (Ada, E115, "system__file_control_block_E"); E114 : Short_Integer; pragma Import (Ada, E114, "system__finalization_root_E"); E112 : Short_Integer; pragma Import (Ada, E112, "ada__finalization_E"); E111 : Short_Integer; pragma Import (Ada, E111, "system__file_io_E"); E142 : Short_Integer; pragma Import (Ada, E142, "ada__calendar_E"); E099 : Short_Integer; pragma Import (Ada, E099, "ada__text_io_E"); E140 : Short_Integer; pragma Import (Ada, E140, "system__random_seed_E"); E150 : Short_Integer; pragma Import (Ada, E150, "coords_E"); E136 : Short_Integer; pragma Import (Ada, E136, "aircraft_E"); Sec_Default_Sized_Stacks : array (1 .. 1) of aliased System.Secondary_Stack.SS_Stack (System.Parameters.Runtime_Default_Sec_Stack_Size); Local_Priority_Specific_Dispatching : constant String := ""; Local_Interrupt_States : constant String := ""; Is_Elaborated : Boolean := False; procedure finalize_library is begin E099 := E099 - 1; declare procedure F1; pragma Import (Ada, F1, "ada__text_io__finalize_spec"); begin F1; end; declare procedure F2; pragma Import (Ada, F2, "system__file_io__finalize_body"); begin E111 := E111 - 1; F2; end; declare procedure Reraise_Library_Exception_If_Any; pragma Import (Ada, Reraise_Library_Exception_If_Any, "__gnat_reraise_library_exception_if_any"); begin Reraise_Library_Exception_If_Any; end; end finalize_library; procedure adafinal is procedure s_stalib_adafinal; pragma Import (Ada, s_stalib_adafinal, "system__standard_library__adafinal"); procedure Runtime_Finalize; pragma Import (C, Runtime_Finalize, "__gnat_runtime_finalize"); begin if not Is_Elaborated then return; end if; Is_Elaborated := False; Runtime_Finalize; s_stalib_adafinal; end adafinal; type No_Param_Proc is access procedure; pragma Favor_Top_Level (No_Param_Proc); procedure adainit is Main_Priority : Integer; pragma Import (C, Main_Priority, "__gl_main_priority"); Time_Slice_Value : Integer; pragma Import (C, Time_Slice_Value, "__gl_time_slice_val"); WC_Encoding : Character; pragma Import (C, WC_Encoding, "__gl_wc_encoding"); Locking_Policy : Character; pragma Import (C, Locking_Policy, "__gl_locking_policy"); Queuing_Policy : Character; pragma Import (C, Queuing_Policy, "__gl_queuing_policy"); Task_Dispatching_Policy : Character; pragma Import (C, Task_Dispatching_Policy, "__gl_task_dispatching_policy"); Priority_Specific_Dispatching : System.Address; pragma Import (C, Priority_Specific_Dispatching, "__gl_priority_specific_dispatching"); Num_Specific_Dispatching : Integer; pragma Import (C, Num_Specific_Dispatching, "__gl_num_specific_dispatching"); Main_CPU : Integer; pragma Import (C, Main_CPU, "__gl_main_cpu"); Interrupt_States : System.Address; pragma Import (C, Interrupt_States, "__gl_interrupt_states"); Num_Interrupt_States : Integer; pragma Import (C, Num_Interrupt_States, "__gl_num_interrupt_states"); Unreserve_All_Interrupts : Integer; pragma Import (C, Unreserve_All_Interrupts, "__gl_unreserve_all_interrupts"); Detect_Blocking : Integer; pragma Import (C, Detect_Blocking, "__gl_detect_blocking"); Default_Stack_Size : Integer; pragma Import (C, Default_Stack_Size, "__gl_default_stack_size"); Default_Secondary_Stack_Size : System.Parameters.Size_Type; pragma Import (C, Default_Secondary_Stack_Size, "__gnat_default_ss_size"); Bind_Env_Addr : System.Address; pragma Import (C, Bind_Env_Addr, "__gl_bind_env_addr"); procedure Runtime_Initialize (Install_Handler : Integer); pragma Import (C, Runtime_Initialize, "__gnat_runtime_initialize"); Finalize_Library_Objects : No_Param_Proc; pragma Import (C, Finalize_Library_Objects, "__gnat_finalize_library_objects"); Binder_Sec_Stacks_Count : Natural; pragma Import (Ada, Binder_Sec_Stacks_Count, "__gnat_binder_ss_count"); Default_Sized_SS_Pool : System.Address; pragma Import (Ada, Default_Sized_SS_Pool, "__gnat_default_ss_pool"); begin if Is_Elaborated then return; end if; Is_Elaborated := True; Main_Priority := -1; Time_Slice_Value := -1; WC_Encoding := 'b'; Locking_Policy := ' '; Queuing_Policy := ' '; Task_Dispatching_Policy := ' '; Priority_Specific_Dispatching := Local_Priority_Specific_Dispatching'Address; Num_Specific_Dispatching := 0; Main_CPU := -1; Interrupt_States := Local_Interrupt_States'Address; Num_Interrupt_States := 0; Unreserve_All_Interrupts := 0; Detect_Blocking := 0; Default_Stack_Size := -1; ada_main'Elab_Body; Default_Secondary_Stack_Size := System.Parameters.Runtime_Default_Sec_Stack_Size; Binder_Sec_Stacks_Count := 1; Default_Sized_SS_Pool := Sec_Default_Sized_Stacks'Address; Runtime_Initialize (1); Finalize_Library_Objects := finalize_library'access; Ada.Exceptions'Elab_Spec; System.Soft_Links'Elab_Spec; System.Exception_Table'Elab_Body; E025 := E025 + 1; Ada.Containers'Elab_Spec; E040 := E040 + 1; Ada.Io_Exceptions'Elab_Spec; E068 := E068 + 1; Ada.Strings'Elab_Spec; E052 := E052 + 1; Ada.Strings.Maps'Elab_Spec; E054 := E054 + 1; Ada.Strings.Maps.Constants'Elab_Spec; E058 := E058 + 1; Interfaces.C'Elab_Spec; E078 := E078 + 1; System.Exceptions'Elab_Spec; E027 := E027 + 1; System.Object_Reader'Elab_Spec; E080 := E080 + 1; System.Dwarf_Lines'Elab_Spec; E047 := E047 + 1; System.Os_Lib'Elab_Body; E072 := E072 + 1; System.Soft_Links.Initialize'Elab_Body; E021 := E021 + 1; E013 := E013 + 1; System.Traceback.Symbolic'Elab_Body; E039 := E039 + 1; E008 := E008 + 1; Ada.Numerics'Elab_Spec; E134 := E134 + 1; Ada.Tags'Elab_Spec; Ada.Tags'Elab_Body; E103 := E103 + 1; Ada.Streams'Elab_Spec; E101 := E101 + 1; System.File_Control_Block'Elab_Spec; E115 := E115 + 1; System.Finalization_Root'Elab_Spec; E114 := E114 + 1; Ada.Finalization'Elab_Spec; E112 := E112 + 1; System.File_Io'Elab_Body; E111 := E111 + 1; Ada.Calendar'Elab_Spec; Ada.Calendar'Elab_Body; E142 := E142 + 1; Ada.Text_Io'Elab_Spec; Ada.Text_Io'Elab_Body; E099 := E099 + 1; System.Random_Seed'Elab_Body; E140 := E140 + 1; E150 := E150 + 1; E136 := E136 + 1; end adainit; procedure Ada_Main_Program; pragma Import (Ada, Ada_Main_Program, "_ada_mainair"); function main (argc : Integer; argv : System.Address; envp : System.Address) return Integer is procedure Initialize (Addr : System.Address); pragma Import (C, Initialize, "__gnat_initialize"); procedure Finalize; pragma Import (C, Finalize, "__gnat_finalize"); SEH : aliased array (1 .. 2) of Integer; Ensure_Reference : aliased System.Address := Ada_Main_Program_Name'Address; pragma Volatile (Ensure_Reference); begin if gnat_argc = 0 then gnat_argc := argc; gnat_argv := argv; end if; gnat_envp := envp; Initialize (SEH'Address); adainit; Ada_Main_Program; adafinal; Finalize; return (gnat_exit_status); end; -- BEGIN Object file/option list -- C:\GNAT\2020\bin\ada homework2\obj\card_dir.o -- C:\GNAT\2020\bin\ada homework2\obj\coords.o -- C:\GNAT\2020\bin\ada homework2\obj\aircraft.o -- C:\GNAT\2020\bin\ada homework2\obj\mainair.o -- -LC:\GNAT\2020\bin\ada homework2\obj\ -- -LC:\GNAT\2020\bin\ada homework2\obj\ -- -LC:/gnat/2020/lib/gcc/x86_64-pc-mingw32/9.3.1/adalib/ -- -static -- -lgnat -- -Wl,--stack=0x2000000 -- END Object file/option list end ada_main;
with Asis.Elements; with Asis.Statements; package body Asis_Adapter.Element.Paths is ------------ -- EXPORTED: ------------ procedure Do_Pre_Child_Processing (Element : in Asis.Element; State : in out Class) is Parent_Name : constant String := Module_Name; Module_Name : constant String := Parent_Name & ".Do_Pre_Child_Processing"; Result : a_nodes_h.Path_Struct := a_nodes_h.Support.Default_Path_Struct; Path_Kind : constant Asis.Path_Kinds := Asis.Elements.Path_Kind (Element); procedure Add_Case_Path_Alternative_Choices is begin Add_Element_List (This => State, Elements_In => Asis.Statements.Case_Path_Alternative_Choices (Element), Dot_Label_Name => "Case_Path_Alternative_Choices", List_Out => Result.Case_Path_Alternative_Choices, Add_Edges => True); end; procedure Add_Condition_Expression is ID : constant a_nodes_h.Element_ID := Get_Element_ID (Asis.Statements.Condition_Expression (Element)); begin State.Add_To_Dot_Label_And_Edge ("Condition_Expression", ID); Result.Condition_Expression := ID; end; procedure Add_Guard is ID : constant a_nodes_h.Element_ID := Get_Element_ID (Asis.Statements.Guard (Element)); begin State.Add_To_Dot_Label_And_Edge ("Guard", ID); Result.Guard := ID; end; procedure Add_Sequence_Of_Statements is begin if Path_Kind in Asis.A_Statement_Path then Add_Element_List (This => State, Elements_In => Asis.Statements.Sequence_Of_Statements (Element), Dot_Label_Name => "Sequence_Of_Statements", List_Out => Result.Sequence_Of_Statements, Add_Edges => True); else -- Asis.Statements.Sequence_Of_Statements doesn't like paths outside -- A_Statement_Path: State.Add_Not_Implemented; end if; end; procedure Add_Common_Items is begin State.Add_To_Dot_Label ("Path_Kind", Path_Kind'Image); Result.Path_Kind := To_Path_Kinds (Path_Kind); Add_Sequence_Of_Statements; -- Has Add_Not_Implemented end Add_Common_Items; use all type Asis.Path_Kinds; begin If Path_Kind /= Not_A_Path then Add_Common_Items; -- Has Add_Not_Implemented end if; case Path_Kind is when Not_A_Path => raise Program_Error with Module_Name & " called with: " & Path_Kind'Image; when An_If_Path => Add_Condition_Expression; when An_Elsif_Path => Add_Condition_Expression; when An_Else_Path => null; -- No more info when A_Case_Path => Add_Case_Path_Alternative_Choices; when A_Select_Path => Add_Guard; when An_Or_Path => Add_Guard; when A_Then_Abort_Path => null; -- No more info when A_Case_Expression_Path => -- A2012 Add_Case_Path_Alternative_Choices; when An_If_Expression_Path => -- A2012 Add_Condition_Expression; when An_Elsif_Expression_Path => -- A2012 Add_Condition_Expression; when An_Else_Expression_Path => -- A2012 null; -- No more info end case; State.A_Element.Element_Kind := a_nodes_h.A_Path; State.A_Element.The_Union.Path := Result; end Do_Pre_Child_Processing; end Asis_Adapter.Element.Paths;
-- Copyright 2017-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 B is procedure Read_Small with Inline_Always; procedure Doit; end B;
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- G N A T . S P I T B O L . P A T T E R N S -- -- -- -- B o d y -- -- -- -- Copyright (C) 1998-2019, AdaCore -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Note: the data structures and general approach used in this implementation -- are derived from the original MINIMAL sources for SPITBOL. The code is not -- a direct translation, but the approach is followed closely. In particular, -- we use the one stack approach developed in the SPITBOL implementation. with Ada.Strings.Unbounded.Aux; use Ada.Strings.Unbounded.Aux; with GNAT.Debug_Utilities; use GNAT.Debug_Utilities; with System; use System; with Ada.Unchecked_Conversion; with Ada.Unchecked_Deallocation; package body GNAT.Spitbol.Patterns is ------------------------ -- Internal Debugging -- ------------------------ Internal_Debug : constant Boolean := False; -- Set this flag to True to activate some built-in debugging traceback -- These are all lines output with PutD and Put_LineD. procedure New_LineD; pragma Inline (New_LineD); -- Output new blank line with New_Line if Internal_Debug is True procedure PutD (Str : String); pragma Inline (PutD); -- Output string with Put if Internal_Debug is True procedure Put_LineD (Str : String); pragma Inline (Put_LineD); -- Output string with Put_Line if Internal_Debug is True ----------------------------- -- Local Type Declarations -- ----------------------------- subtype String_Ptr is Ada.Strings.Unbounded.String_Access; subtype File_Ptr is Ada.Text_IO.File_Access; function To_Address is new Ada.Unchecked_Conversion (PE_Ptr, Address); -- Used only for debugging output purposes subtype AFC is Ada.Finalization.Controlled; N : constant PE_Ptr := null; -- Shorthand used to initialize Copy fields to null type Natural_Ptr is access all Natural; type Pattern_Ptr is access all Pattern; -------------------------------------------------- -- Description of Algorithm and Data Structures -- -------------------------------------------------- -- A pattern structure is represented as a linked graph of nodes -- with the following structure: -- +------------------------------------+ -- I Pcode I -- +------------------------------------+ -- I Index I -- +------------------------------------+ -- I Pthen I -- +------------------------------------+ -- I parameter(s) I -- +------------------------------------+ -- Pcode is a code value indicating the type of the pattern node. This -- code is used both as the discriminant value for the record, and as -- the case index in the main match routine that branches to the proper -- match code for the given element. -- Index is a serial index number. The use of these serial index -- numbers is described in a separate section. -- Pthen is a pointer to the successor node, i.e the node to be matched -- if the attempt to match the node succeeds. If this is the last node -- of the pattern to be matched, then Pthen points to a dummy node -- of kind PC_EOP (end of pattern), which initializes pattern exit. -- The parameter or parameters are present for certain node types, -- and the type varies with the pattern code. type Pattern_Code is ( PC_Arb_Y, PC_Assign, PC_Bal, PC_BreakX_X, PC_Cancel, PC_EOP, PC_Fail, PC_Fence, PC_Fence_X, PC_Fence_Y, PC_R_Enter, PC_R_Remove, PC_R_Restore, PC_Rest, PC_Succeed, PC_Unanchored, PC_Alt, PC_Arb_X, PC_Arbno_S, PC_Arbno_X, PC_Rpat, PC_Pred_Func, PC_Assign_Imm, PC_Assign_OnM, PC_Any_VP, PC_Break_VP, PC_BreakX_VP, PC_NotAny_VP, PC_NSpan_VP, PC_Span_VP, PC_String_VP, PC_Write_Imm, PC_Write_OnM, PC_Null, PC_String, PC_String_2, PC_String_3, PC_String_4, PC_String_5, PC_String_6, PC_Setcur, PC_Any_CH, PC_Break_CH, PC_BreakX_CH, PC_Char, PC_NotAny_CH, PC_NSpan_CH, PC_Span_CH, PC_Any_CS, PC_Break_CS, PC_BreakX_CS, PC_NotAny_CS, PC_NSpan_CS, PC_Span_CS, PC_Arbno_Y, PC_Len_Nat, PC_Pos_Nat, PC_RPos_Nat, PC_RTab_Nat, PC_Tab_Nat, PC_Pos_NF, PC_Len_NF, PC_RPos_NF, PC_RTab_NF, PC_Tab_NF, PC_Pos_NP, PC_Len_NP, PC_RPos_NP, PC_RTab_NP, PC_Tab_NP, PC_Any_VF, PC_Break_VF, PC_BreakX_VF, PC_NotAny_VF, PC_NSpan_VF, PC_Span_VF, PC_String_VF); type IndexT is range 0 .. +(2 **15 - 1); type PE (Pcode : Pattern_Code) is record Index : IndexT; -- Serial index number of pattern element within pattern Pthen : PE_Ptr; -- Successor element, to be matched after this one case Pcode is when PC_Arb_Y | PC_Assign | PC_Bal | PC_BreakX_X | PC_Cancel | PC_EOP | PC_Fail | PC_Fence | PC_Fence_X | PC_Fence_Y | PC_Null | PC_R_Enter | PC_R_Remove | PC_R_Restore | PC_Rest | PC_Succeed | PC_Unanchored => null; when PC_Alt | PC_Arb_X | PC_Arbno_S | PC_Arbno_X => Alt : PE_Ptr; when PC_Rpat => PP : Pattern_Ptr; when PC_Pred_Func => BF : Boolean_Func; when PC_Assign_Imm | PC_Assign_OnM | PC_Any_VP | PC_Break_VP | PC_BreakX_VP | PC_NotAny_VP | PC_NSpan_VP | PC_Span_VP | PC_String_VP => VP : VString_Ptr; when PC_Write_Imm | PC_Write_OnM => FP : File_Ptr; when PC_String => Str : String_Ptr; when PC_String_2 => Str2 : String (1 .. 2); when PC_String_3 => Str3 : String (1 .. 3); when PC_String_4 => Str4 : String (1 .. 4); when PC_String_5 => Str5 : String (1 .. 5); when PC_String_6 => Str6 : String (1 .. 6); when PC_Setcur => Var : Natural_Ptr; when PC_Any_CH | PC_Break_CH | PC_BreakX_CH | PC_Char | PC_NotAny_CH | PC_NSpan_CH | PC_Span_CH => Char : Character; when PC_Any_CS | PC_Break_CS | PC_BreakX_CS | PC_NotAny_CS | PC_NSpan_CS | PC_Span_CS => CS : Character_Set; when PC_Arbno_Y | PC_Len_Nat | PC_Pos_Nat | PC_RPos_Nat | PC_RTab_Nat | PC_Tab_Nat => Nat : Natural; when PC_Pos_NF | PC_Len_NF | PC_RPos_NF | PC_RTab_NF | PC_Tab_NF => NF : Natural_Func; when PC_Pos_NP | PC_Len_NP | PC_RPos_NP | PC_RTab_NP | PC_Tab_NP => NP : Natural_Ptr; when PC_Any_VF | PC_Break_VF | PC_BreakX_VF | PC_NotAny_VF | PC_NSpan_VF | PC_Span_VF | PC_String_VF => VF : VString_Func; end case; end record; subtype PC_Has_Alt is Pattern_Code range PC_Alt .. PC_Arbno_X; -- Range of pattern codes that has an Alt field. This is used in the -- recursive traversals, since these links must be followed. EOP_Element : aliased constant PE := (PC_EOP, 0, N); -- This is the end of pattern element, and is thus the representation of -- a null pattern. It has a zero index element since it is never placed -- inside a pattern. Furthermore it does not need a successor, since it -- marks the end of the pattern, so that no more successors are needed. EOP : constant PE_Ptr := EOP_Element'Unrestricted_Access; -- This is the end of pattern pointer, that is used in the Pthen pointer -- of other nodes to signal end of pattern. -- The following array is used to determine if a pattern used as an -- argument for Arbno is eligible for treatment using the simple Arbno -- structure (i.e. it is a pattern that is guaranteed to match at least -- one character on success, and not to make any entries on the stack. OK_For_Simple_Arbno : constant array (Pattern_Code) of Boolean := (PC_Any_CS | PC_Any_CH | PC_Any_VF | PC_Any_VP | PC_Char | PC_Len_Nat | PC_NotAny_CS | PC_NotAny_CH | PC_NotAny_VF | PC_NotAny_VP | PC_Span_CS | PC_Span_CH | PC_Span_VF | PC_Span_VP | PC_String | PC_String_2 | PC_String_3 | PC_String_4 | PC_String_5 | PC_String_6 => True, others => False); ------------------------------- -- The Pattern History Stack -- ------------------------------- -- The pattern history stack is used for controlling backtracking when -- a match fails. The idea is to stack entries that give a cursor value -- to be restored, and a node to be reestablished as the current node to -- attempt an appropriate rematch operation. The processing for a pattern -- element that has rematch alternatives pushes an appropriate entry or -- entry on to the stack, and the proceeds. If a match fails at any point, -- the top element of the stack is popped off, resetting the cursor and -- the match continues by accessing the node stored with this entry. type Stack_Entry is record Cursor : Integer; -- Saved cursor value that is restored when this entry is popped -- from the stack if a match attempt fails. Occasionally, this -- field is used to store a history stack pointer instead of a -- cursor. Such cases are noted in the documentation and the value -- stored is negative since stack pointer values are always negative. Node : PE_Ptr; -- This pattern element reference is reestablished as the current -- Node to be matched (which will attempt an appropriate rematch). end record; subtype Stack_Range is Integer range -Stack_Size .. -1; type Stack_Type is array (Stack_Range) of Stack_Entry; -- The type used for a history stack. The actual instance of the stack -- is declared as a local variable in the Match routine, to properly -- handle recursive calls to Match. All stack pointer values are negative -- to distinguish them from normal cursor values. -- Note: the pattern matching stack is used only to handle backtracking. -- If no backtracking occurs, its entries are never accessed, and never -- popped off, and in particular it is normal for a successful match -- to terminate with entries on the stack that are simply discarded. -- Note: in subsequent diagrams of the stack, we always place element -- zero (the deepest element) at the top of the page, then build the -- stack down on the page with the most recent (top of stack) element -- being the bottom-most entry on the page. -- Stack checking is handled by labeling every pattern with the maximum -- number of stack entries that are required, so a single check at the -- start of matching the pattern suffices. There are two exceptions. -- First, the count does not include entries for recursive pattern -- references. Such recursions must therefore perform a specific -- stack check with respect to the number of stack entries required -- by the recursive pattern that is accessed and the amount of stack -- that remains unused. -- Second, the count includes only one iteration of an Arbno pattern, -- so a specific check must be made on subsequent iterations that there -- is still enough stack space left. The Arbno node has a field that -- records the number of stack entries required by its argument for -- this purpose. --------------------------------------------------- -- Use of Serial Index Field in Pattern Elements -- --------------------------------------------------- -- The serial index numbers for the pattern elements are assigned as -- a pattern is constructed from its constituent elements. Note that there -- is never any sharing of pattern elements between patterns (copies are -- always made), so the serial index numbers are unique to a particular -- pattern as referenced from the P field of a value of type Pattern. -- The index numbers meet three separate invariants, which are used for -- various purposes as described in this section. -- First, the numbers uniquely identify the pattern elements within a -- pattern. If Num is the number of elements in a given pattern, then -- the serial index numbers for the elements of this pattern will range -- from 1 .. Num, so that each element has a separate value. -- The purpose of this assignment is to provide a convenient auxiliary -- data structure mechanism during operations which must traverse a -- pattern (e.g. copy and finalization processing). Once constructed -- patterns are strictly read only. This is necessary to allow sharing -- of patterns between tasks. This means that we cannot go marking the -- pattern (e.g. with a visited bit). Instead we construct a separate -- vector that contains the necessary information indexed by the Index -- values in the pattern elements. For this purpose the only requirement -- is that they be uniquely assigned. -- Second, the pattern element referenced directly, i.e. the leading -- pattern element, is always the maximum numbered element and therefore -- indicates the total number of elements in the pattern. More precisely, -- the element referenced by the P field of a pattern value, or the -- element returned by any of the internal pattern construction routines -- in the body (that return a value of type PE_Ptr) always is this -- maximum element, -- The purpose of this requirement is to allow an immediate determination -- of the number of pattern elements within a pattern. This is used to -- properly size the vectors used to contain auxiliary information for -- traversal as described above. -- Third, as compound pattern structures are constructed, the way in which -- constituent parts of the pattern are constructed is stylized. This is -- an automatic consequence of the way that these compound structures -- are constructed, and basically what we are doing is simply documenting -- and specifying the natural result of the pattern construction. The -- section describing compound pattern structures gives details of the -- numbering of each compound pattern structure. -- The purpose of specifying the stylized numbering structures for the -- compound patterns is to help simplify the processing in the Image -- function, since it eases the task of retrieving the original recursive -- structure of the pattern from the flat graph structure of elements. -- This use in the Image function is the only point at which the code -- makes use of the stylized structures. type Ref_Array is array (IndexT range <>) of PE_Ptr; -- This type is used to build an array whose N'th entry references the -- element in a pattern whose Index value is N. See Build_Ref_Array. procedure Build_Ref_Array (E : PE_Ptr; RA : out Ref_Array); -- Given a pattern element which is the leading element of a pattern -- structure, and a Ref_Array with bounds 1 .. E.Index, fills in the -- Ref_Array so that its N'th entry references the element of the -- referenced pattern whose Index value is N. ------------------------------- -- Recursive Pattern Matches -- ------------------------------- -- The pattern primitive (+P) where P is a Pattern_Ptr or Pattern_Func -- causes a recursive pattern match. This cannot be handled by an actual -- recursive call to the outer level Match routine, since this would not -- allow for possible backtracking into the region matched by the inner -- pattern. Indeed this is the classical clash between recursion and -- backtracking, and a simple recursive stack structure does not suffice. -- This section describes how this recursion and the possible associated -- backtracking is handled. We still use a single stack, but we establish -- the concept of nested regions on this stack, each of which has a stack -- base value pointing to the deepest stack entry of the region. The base -- value for the outer level is zero. -- When a recursive match is established, two special stack entries are -- made. The first entry is used to save the original node that starts -- the recursive match. This is saved so that the successor field of -- this node is accessible at the end of the match, but it is never -- popped and executed. -- The second entry corresponds to a standard new region action. A -- PC_R_Remove node is stacked, whose cursor field is used to store -- the outer stack base, and the stack base is reset to point to -- this PC_R_Remove node. Then the recursive pattern is matched and -- it can make history stack entries in the normal matter, so now -- the stack looks like: -- (stack entries made by outer level) -- (Special entry, node is (+P) successor -- cursor entry is not used) -- (PC_R_Remove entry, "cursor" value is (negative) <-- Stack base -- saved base value for the enclosing region) -- (stack entries made by inner level) -- If a subsequent failure occurs and pops the PC_R_Remove node, it -- removes itself and the special entry immediately underneath it, -- restores the stack base value for the enclosing region, and then -- again signals failure to look for alternatives that were stacked -- before the recursion was initiated. -- Now we need to consider what happens if the inner pattern succeeds, as -- signalled by accessing the special PC_EOP pattern primitive. First we -- recognize the nested case by looking at the Base value. If this Base -- value is Stack'First, then the entire match has succeeded, but if the -- base value is greater than Stack'First, then we have successfully -- matched an inner pattern, and processing continues at the outer level. -- There are two cases. The simple case is when the inner pattern has made -- no stack entries, as recognized by the fact that the current stack -- pointer is equal to the current base value. In this case it is fine to -- remove all trace of the recursion by restoring the outer base value and -- using the special entry to find the appropriate successor node. -- The more complex case arises when the inner match does make stack -- entries. In this case, the PC_EOP processing stacks a special entry -- whose cursor value saves the saved inner base value (the one that -- references the corresponding PC_R_Remove value), and whose node -- pointer references a PC_R_Restore node, so the stack looks like: -- (stack entries made by outer level) -- (Special entry, node is (+P) successor, -- cursor entry is not used) -- (PC_R_Remove entry, "cursor" value is (negative) -- saved base value for the enclosing region) -- (stack entries made by inner level) -- (PC_Region_Replace entry, "cursor" value is (negative) -- stack pointer value referencing the PC_R_Remove entry). -- If the entire match succeeds, then these stack entries are, as usual, -- ignored and abandoned. If on the other hand a subsequent failure -- causes the PC_Region_Replace entry to be popped, it restores the -- inner base value from its saved "cursor" value and then fails again. -- Note that it is OK that the cursor is temporarily clobbered by this -- pop, since the second failure will reestablish a proper cursor value. --------------------------------- -- Compound Pattern Structures -- --------------------------------- -- This section discusses the compound structures used to represent -- constructed patterns. It shows the graph structures of pattern -- elements that are constructed, and in the case of patterns that -- provide backtracking possibilities, describes how the history -- stack is used to control the backtracking. Finally, it notes the -- way in which the Index numbers are assigned to the structure. -- In all diagrams, solid lines (built with minus signs or vertical -- bars, represent successor pointers (Pthen fields) with > or V used -- to indicate the direction of the pointer. The initial node of the -- structure is in the upper left of the diagram. A dotted line is an -- alternative pointer from the element above it to the element below -- it. See individual sections for details on how alternatives are used. ------------------- -- Concatenation -- ------------------- -- In the pattern structures listed in this section, a line that looks -- like ----> with nothing to the right indicates an end of pattern -- (EOP) pointer that represents the end of the match. -- When a pattern concatenation (L & R) occurs, the resulting structure -- is obtained by finding all such EOP pointers in L, and replacing -- them to point to R. This is the most important flattening that -- occurs in constructing a pattern, and it means that the pattern -- matching circuitry does not have to keep track of the structure -- of a pattern with respect to concatenation, since the appropriate -- successor is always at hand. -- Concatenation itself generates no additional possibilities for -- backtracking, but the constituent patterns of the concatenated -- structure will make stack entries as usual. The maximum amount -- of stack required by the structure is thus simply the sum of the -- maximums required by L and R. -- The index numbering of a concatenation structure works by leaving -- the numbering of the right hand pattern, R, unchanged and adjusting -- the numbers in the left hand pattern, L up by the count of elements -- in R. This ensures that the maximum numbered element is the leading -- element as required (given that it was the leading element in L). ----------------- -- Alternation -- ----------------- -- A pattern (L or R) constructs the structure: -- +---+ +---+ -- | A |---->| L |----> -- +---+ +---+ -- . -- . -- +---+ -- | R |----> -- +---+ -- The A element here is a PC_Alt node, and the dotted line represents -- the contents of the Alt field. When the PC_Alt element is matched, -- it stacks a pointer to the leading element of R on the history stack -- so that on subsequent failure, a match of R is attempted. -- The A node is the highest numbered element in the pattern. The -- original index numbers of R are unchanged, but the index numbers -- of the L pattern are adjusted up by the count of elements in R. -- Note that the difference between the index of the L leading element -- the index of the R leading element (after building the alt structure) -- indicates the number of nodes in L, and this is true even after the -- structure is incorporated into some larger structure. For example, -- if the A node has index 16, and L has index 15 and R has index -- 5, then we know that L has 10 (15-5) elements in it. -- Suppose that we now concatenate this structure to another pattern -- with 9 elements in it. We will now have the A node with an index -- of 25, L with an index of 24 and R with an index of 14. We still -- know that L has 10 (24-14) elements in it, numbered 15-24, and -- consequently the successor of the alternation structure has an -- index with a value less than 15. This is used in Image to figure -- out the original recursive structure of a pattern. -- To clarify the interaction of the alternation and concatenation -- structures, here is a more complex example of the structure built -- for the pattern: -- (V or W or X) (Y or Z) -- where A,B,C,D,E are all single element patterns: -- +---+ +---+ +---+ +---+ -- I A I---->I V I---+-->I A I---->I Y I----> -- +---+ +---+ I +---+ +---+ -- . I . -- . I . -- +---+ +---+ I +---+ -- I A I---->I W I-->I I Z I----> -- +---+ +---+ I +---+ -- . I -- . I -- +---+ I -- I X I------------>+ -- +---+ -- The numbering of the nodes would be as follows: -- +---+ +---+ +---+ +---+ -- I 8 I---->I 7 I---+-->I 3 I---->I 2 I----> -- +---+ +---+ I +---+ +---+ -- . I . -- . I . -- +---+ +---+ I +---+ -- I 6 I---->I 5 I-->I I 1 I----> -- +---+ +---+ I +---+ -- . I -- . I -- +---+ I -- I 4 I------------>+ -- +---+ -- Note: The above structure actually corresponds to -- (A or (B or C)) (D or E) -- rather than -- ((A or B) or C) (D or E) -- which is the more natural interpretation, but in fact alternation -- is associative, and the construction of an alternative changes the -- left grouped pattern to the right grouped pattern in any case, so -- that the Image function produces a more natural looking output. --------- -- Arb -- --------- -- An Arb pattern builds the structure -- +---+ -- | X |----> -- +---+ -- . -- . -- +---+ -- | Y |----> -- +---+ -- The X node is a PC_Arb_X node, which matches null, and stacks a -- pointer to Y node, which is the PC_Arb_Y node that matches one -- extra character and restacks itself. -- The PC_Arb_X node is numbered 2, and the PC_Arb_Y node is 1 ------------------------- -- Arbno (simple case) -- ------------------------- -- The simple form of Arbno can be used where the pattern always -- matches at least one character if it succeeds, and it is known -- not to make any history stack entries. In this case, Arbno (P) -- can construct the following structure: -- +-------------+ -- | ^ -- V | -- +---+ | -- | S |----> | -- +---+ | -- . | -- . | -- +---+ | -- | P |---------->+ -- +---+ -- The S (PC_Arbno_S) node matches null stacking a pointer to the -- pattern P. If a subsequent failure causes P to be matched and -- this match succeeds, then node A gets restacked to try another -- instance if needed by a subsequent failure. -- The node numbering of the constituent pattern P is not affected. -- The S node has a node number of P.Index + 1. -------------------------- -- Arbno (complex case) -- -------------------------- -- A call to Arbno (P), where P can match null (or at least is not -- known to require a non-null string) and/or P requires pattern stack -- entries, constructs the following structure: -- +--------------------------+ -- | ^ -- V | -- +---+ | -- | X |----> | -- +---+ | -- . | -- . | -- +---+ +---+ +---+ | -- | E |---->| P |---->| Y |--->+ -- +---+ +---+ +---+ -- The node X (PC_Arbno_X) matches null, stacking a pointer to the -- E-P-X structure used to match one Arbno instance. -- Here E is the PC_R_Enter node which matches null and creates two -- stack entries. The first is a special entry whose node field is -- not used at all, and whose cursor field has the initial cursor. -- The second entry corresponds to a standard new region action. A -- PC_R_Remove node is stacked, whose cursor field is used to store -- the outer stack base, and the stack base is reset to point to -- this PC_R_Remove node. Then the pattern P is matched, and it can -- make history stack entries in the normal manner, so now the stack -- looks like: -- (stack entries made before assign pattern) -- (Special entry, node field not used, -- used only to save initial cursor) -- (PC_R_Remove entry, "cursor" value is (negative) <-- Stack Base -- saved base value for the enclosing region) -- (stack entries made by matching P) -- If the match of P fails, then the PC_R_Remove entry is popped and -- it removes both itself and the special entry underneath it, -- restores the outer stack base, and signals failure. -- If the match of P succeeds, then node Y, the PC_Arbno_Y node, pops -- the inner region. There are two possibilities. If matching P left -- no stack entries, then all traces of the inner region can be removed. -- If there are stack entries, then we push an PC_Region_Replace stack -- entry whose "cursor" value is the inner stack base value, and then -- restore the outer stack base value, so the stack looks like: -- (stack entries made before assign pattern) -- (Special entry, node field not used, -- used only to save initial cursor) -- (PC_R_Remove entry, "cursor" value is (negative) -- saved base value for the enclosing region) -- (stack entries made by matching P) -- (PC_Region_Replace entry, "cursor" value is (negative) -- stack pointer value referencing the PC_R_Remove entry). -- Now that we have matched another instance of the Arbno pattern, -- we need to move to the successor. There are two cases. If the -- Arbno pattern matched null, then there is no point in seeking -- alternatives, since we would just match a whole bunch of nulls. -- In this case we look through the alternative node, and move -- directly to its successor (i.e. the successor of the Arbno -- pattern). If on the other hand a non-null string was matched, -- we simply follow the successor to the alternative node, which -- sets up for another possible match of the Arbno pattern. -- As noted in the section on stack checking, the stack count (and -- hence the stack check) for a pattern includes only one iteration -- of the Arbno pattern. To make sure that multiple iterations do not -- overflow the stack, the Arbno node saves the stack count required -- by a single iteration, and the Concat function increments this to -- include stack entries required by any successor. The PC_Arbno_Y -- node uses this count to ensure that sufficient stack remains -- before proceeding after matching each new instance. -- The node numbering of the constituent pattern P is not affected. -- Where N is the number of nodes in P, the Y node is numbered N + 1, -- the E node is N + 2, and the X node is N + 3. ---------------------- -- Assign Immediate -- ---------------------- -- Immediate assignment (P * V) constructs the following structure -- +---+ +---+ +---+ -- | E |---->| P |---->| A |----> -- +---+ +---+ +---+ -- Here E is the PC_R_Enter node which matches null and creates two -- stack entries. The first is a special entry whose node field is -- not used at all, and whose cursor field has the initial cursor. -- The second entry corresponds to a standard new region action. A -- PC_R_Remove node is stacked, whose cursor field is used to store -- the outer stack base, and the stack base is reset to point to -- this PC_R_Remove node. Then the pattern P is matched, and it can -- make history stack entries in the normal manner, so now the stack -- looks like: -- (stack entries made before assign pattern) -- (Special entry, node field not used, -- used only to save initial cursor) -- (PC_R_Remove entry, "cursor" value is (negative) <-- Stack Base -- saved base value for the enclosing region) -- (stack entries made by matching P) -- If the match of P fails, then the PC_R_Remove entry is popped -- and it removes both itself and the special entry underneath it, -- restores the outer stack base, and signals failure. -- If the match of P succeeds, then node A, which is the actual -- PC_Assign_Imm node, executes the assignment (using the stack -- base to locate the entry with the saved starting cursor value), -- and the pops the inner region. There are two possibilities, if -- matching P left no stack entries, then all traces of the inner -- region can be removed. If there are stack entries, then we push -- an PC_Region_Replace stack entry whose "cursor" value is the -- inner stack base value, and then restore the outer stack base -- value, so the stack looks like: -- (stack entries made before assign pattern) -- (Special entry, node field not used, -- used only to save initial cursor) -- (PC_R_Remove entry, "cursor" value is (negative) -- saved base value for the enclosing region) -- (stack entries made by matching P) -- (PC_Region_Replace entry, "cursor" value is the (negative) -- stack pointer value referencing the PC_R_Remove entry). -- If a subsequent failure occurs, the PC_Region_Replace node restores -- the inner stack base value and signals failure to explore rematches -- of the pattern P. -- The node numbering of the constituent pattern P is not affected. -- Where N is the number of nodes in P, the A node is numbered N + 1, -- and the E node is N + 2. --------------------- -- Assign On Match -- --------------------- -- The assign on match (**) pattern is quite similar to the assign -- immediate pattern, except that the actual assignment has to be -- delayed. The following structure is constructed: -- +---+ +---+ +---+ -- | E |---->| P |---->| A |----> -- +---+ +---+ +---+ -- The operation of this pattern is identical to that described above -- for deferred assignment, up to the point where P has been matched. -- The A node, which is the PC_Assign_OnM node first pushes a -- PC_Assign node onto the history stack. This node saves the ending -- cursor and acts as a flag for the final assignment, as further -- described below. -- It then stores a pointer to itself in the special entry node field. -- This was otherwise unused, and is now used to retrieve the address -- of the variable to be assigned at the end of the pattern. -- After that the inner region is terminated in the usual manner, -- by stacking a PC_R_Restore entry as described for the assign -- immediate case. Note that the optimization of completely -- removing the inner region does not happen in this case, since -- we have at least one stack entry (the PC_Assign one we just made). -- The stack now looks like: -- (stack entries made before assign pattern) -- (Special entry, node points to copy of -- the PC_Assign_OnM node, and the -- cursor field saves the initial cursor). -- (PC_R_Remove entry, "cursor" value is (negative) -- saved base value for the enclosing region) -- (stack entries made by matching P) -- (PC_Assign entry, saves final cursor) -- (PC_Region_Replace entry, "cursor" value is (negative) -- stack pointer value referencing the PC_R_Remove entry). -- If a subsequent failure causes the PC_Assign node to execute it -- simply removes itself and propagates the failure. -- If the match succeeds, then the history stack is scanned for -- PC_Assign nodes, and the assignments are executed (examination -- of the above diagram will show that all the necessary data is -- at hand for the assignment). -- To optimize the common case where no assign-on-match operations -- are present, a global flag Assign_OnM is maintained which is -- initialize to False, and gets set True as part of the execution -- of the PC_Assign_OnM node. The scan of the history stack for -- PC_Assign entries is done only if this flag is set. -- The node numbering of the constituent pattern P is not affected. -- Where N is the number of nodes in P, the A node is numbered N + 1, -- and the E node is N + 2. --------- -- Bal -- --------- -- Bal builds a single node: -- +---+ -- | B |----> -- +---+ -- The node B is the PC_Bal node which matches a parentheses balanced -- string, starting at the current cursor position. It then updates -- the cursor past this matched string, and stacks a pointer to itself -- with this updated cursor value on the history stack, to extend the -- matched string on a subsequent failure. -- Since this is a single node it is numbered 1 (the reason we include -- it in the compound patterns section is that it backtracks). ------------ -- BreakX -- ------------ -- BreakX builds the structure -- +---+ +---+ -- | B |---->| A |----> -- +---+ +---+ -- ^ . -- | . -- | +---+ -- +<------| X | -- +---+ -- Here the B node is the BreakX_xx node that performs a normal Break -- function. The A node is an alternative (PC_Alt) node that matches -- null, but stacks a pointer to node X (the PC_BreakX_X node) which -- extends the match one character (to eat up the previously detected -- break character), and then rematches the break. -- The B node is numbered 3, the alternative node is 1, and the X -- node is 2. ----------- -- Fence -- ----------- -- Fence builds a single node: -- +---+ -- | F |----> -- +---+ -- The element F, PC_Fence, matches null, and stacks a pointer to a -- PC_Cancel element which will abort the match on a subsequent failure. -- Since this is a single element it is numbered 1 (the reason we -- include it in the compound patterns section is that it backtracks). -------------------- -- Fence Function -- -------------------- -- A call to the Fence function builds the structure: -- +---+ +---+ +---+ -- | E |---->| P |---->| X |----> -- +---+ +---+ +---+ -- Here E is the PC_R_Enter node which matches null and creates two -- stack entries. The first is a special entry which is not used at -- all in the fence case (it is present merely for uniformity with -- other cases of region enter operations). -- The second entry corresponds to a standard new region action. A -- PC_R_Remove node is stacked, whose cursor field is used to store -- the outer stack base, and the stack base is reset to point to -- this PC_R_Remove node. Then the pattern P is matched, and it can -- make history stack entries in the normal manner, so now the stack -- looks like: -- (stack entries made before fence pattern) -- (Special entry, not used at all) -- (PC_R_Remove entry, "cursor" value is (negative) <-- Stack Base -- saved base value for the enclosing region) -- (stack entries made by matching P) -- If the match of P fails, then the PC_R_Remove entry is popped -- and it removes both itself and the special entry underneath it, -- restores the outer stack base, and signals failure. -- If the match of P succeeds, then node X, the PC_Fence_X node, gets -- control. One might be tempted to think that at this point, the -- history stack entries made by matching P can just be removed since -- they certainly are not going to be used for rematching (that is -- whole point of Fence after all). However, this is wrong, because -- it would result in the loss of possible assign-on-match entries -- for deferred pattern assignments. -- Instead what we do is to make a special entry whose node references -- PC_Fence_Y, and whose cursor saves the inner stack base value, i.e. -- the pointer to the PC_R_Remove entry. Then the outer stack base -- pointer is restored, so the stack looks like: -- (stack entries made before assign pattern) -- (Special entry, not used at all) -- (PC_R_Remove entry, "cursor" value is (negative) -- saved base value for the enclosing region) -- (stack entries made by matching P) -- (PC_Fence_Y entry, "cursor" value is (negative) stack -- pointer value referencing the PC_R_Remove entry). -- If a subsequent failure occurs, then the PC_Fence_Y entry removes -- the entire inner region, including all entries made by matching P, -- and alternatives prior to the Fence pattern are sought. -- The node numbering of the constituent pattern P is not affected. -- Where N is the number of nodes in P, the X node is numbered N + 1, -- and the E node is N + 2. ------------- -- Succeed -- ------------- -- Succeed builds a single node: -- +---+ -- | S |----> -- +---+ -- The node S is the PC_Succeed node which matches null, and stacks -- a pointer to itself on the history stack, so that a subsequent -- failure repeats the same match. -- Since this is a single node it is numbered 1 (the reason we include -- it in the compound patterns section is that it backtracks). --------------------- -- Write Immediate -- --------------------- -- The structure built for a write immediate operation (P * F, where -- F is a file access value) is: -- +---+ +---+ +---+ -- | E |---->| P |---->| W |----> -- +---+ +---+ +---+ -- Here E is the PC_R_Enter node and W is the PC_Write_Imm node. The -- handling is identical to that described above for Assign Immediate, -- except that at the point where a successful match occurs, the matched -- substring is written to the referenced file. -- The node numbering of the constituent pattern P is not affected. -- Where N is the number of nodes in P, the W node is numbered N + 1, -- and the E node is N + 2. -------------------- -- Write On Match -- -------------------- -- The structure built for a write on match operation (P ** F, where -- F is a file access value) is: -- +---+ +---+ +---+ -- | E |---->| P |---->| W |----> -- +---+ +---+ +---+ -- Here E is the PC_R_Enter node and W is the PC_Write_OnM node. The -- handling is identical to that described above for Assign On Match, -- except that at the point where a successful match has completed, -- the matched substring is written to the referenced file. -- The node numbering of the constituent pattern P is not affected. -- Where N is the number of nodes in P, the W node is numbered N + 1, -- and the E node is N + 2. ----------------------- -- Constant Patterns -- ----------------------- -- The following pattern elements are referenced only from the pattern -- history stack. In each case the processing for the pattern element -- results in pattern match abort, or further failure, so there is no -- need for a successor and no need for a node number CP_Assign : aliased PE := (PC_Assign, 0, N); CP_Cancel : aliased PE := (PC_Cancel, 0, N); CP_Fence_Y : aliased PE := (PC_Fence_Y, 0, N); CP_R_Remove : aliased PE := (PC_R_Remove, 0, N); CP_R_Restore : aliased PE := (PC_R_Restore, 0, N); ----------------------- -- Local Subprograms -- ----------------------- function Alternate (L, R : PE_Ptr) return PE_Ptr; function "or" (L, R : PE_Ptr) return PE_Ptr renames Alternate; -- Build pattern structure corresponding to the alternation of L, R. -- (i.e. try to match L, and if that fails, try to match R). function Arbno_Simple (P : PE_Ptr) return PE_Ptr; -- Build simple Arbno pattern, P is a pattern that is guaranteed to -- match at least one character if it succeeds and to require no -- stack entries under all circumstances. The result returned is -- a simple Arbno structure as previously described. function Bracket (E, P, A : PE_Ptr) return PE_Ptr; -- Given two single node pattern elements E and A, and a (possible -- complex) pattern P, construct the concatenation E-->P-->A and -- return a pointer to E. The concatenation does not affect the -- node numbering in P. A has a number one higher than the maximum -- number in P, and E has a number two higher than the maximum -- number in P (see for example the Assign_Immediate structure to -- understand a typical use of this function). function BreakX_Make (B : PE_Ptr) return Pattern; -- Given a pattern element for a Break pattern, returns the -- corresponding BreakX compound pattern structure. function Concat (L, R : PE_Ptr; Incr : Natural) return PE_Ptr; -- Creates a pattern element that represents a concatenation of the -- two given pattern elements (i.e. the pattern L followed by R). -- The result returned is always the same as L, but the pattern -- referenced by L is modified to have R as a successor. This -- procedure does not copy L or R, so if a copy is required, it -- is the responsibility of the caller. The Incr parameter is an -- amount to be added to the Nat field of any P_Arbno_Y node that is -- in the left operand, it represents the additional stack space -- required by the right operand. function C_To_PE (C : PChar) return PE_Ptr; -- Given a character, constructs a pattern element that matches -- the single character. function Copy (P : PE_Ptr) return PE_Ptr; -- Creates a copy of the pattern element referenced by the given -- pattern element reference. This is a deep copy, which means that -- it follows the Next and Alt pointers. function Image (P : PE_Ptr) return String; -- Returns the image of the address of the referenced pattern element. -- This is equivalent to Image (To_Address (P)); function Is_In (C : Character; Str : String) return Boolean; pragma Inline (Is_In); -- Determines if the character C is in string Str procedure Logic_Error; -- Called to raise Program_Error with an appropriate message if an -- internal logic error is detected. function Str_BF (A : Boolean_Func) return String; function Str_FP (A : File_Ptr) return String; function Str_NF (A : Natural_Func) return String; function Str_NP (A : Natural_Ptr) return String; function Str_PP (A : Pattern_Ptr) return String; function Str_VF (A : VString_Func) return String; function Str_VP (A : VString_Ptr) return String; -- These are debugging routines, which return a representation of the -- given access value (they are called only by Image and Dump) procedure Set_Successor (Pat : PE_Ptr; Succ : PE_Ptr); -- Adjusts all EOP pointers in Pat to point to Succ. No other changes -- are made. In particular, Succ is unchanged, and no index numbers -- are modified. Note that Pat may not be equal to EOP on entry. function S_To_PE (Str : PString) return PE_Ptr; -- Given a string, constructs a pattern element that matches the string procedure Uninitialized_Pattern; pragma No_Return (Uninitialized_Pattern); -- Called to raise Program_Error with an appropriate error message if -- an uninitialized pattern is used in any pattern construction or -- pattern matching operation. procedure XMatch (Subject : String; Pat_P : PE_Ptr; Pat_S : Natural; Start : out Natural; Stop : out Natural); -- This is the common pattern match routine. It is passed a string and -- a pattern, and it indicates success or failure, and on success the -- section of the string matched. It does not perform any assignments -- to the subject string, so pattern replacement is for the caller. -- -- Subject The subject string. The lower bound is always one. In the -- Match procedures, it is fine to use strings whose lower bound -- is not one, but we perform a one time conversion before the -- call to XMatch, so that XMatch does not have to be bothered -- with strange lower bounds. -- -- Pat_P Points to initial pattern element of pattern to be matched -- -- Pat_S Maximum required stack entries for pattern to be matched -- -- Start If match is successful, starting index of matched section. -- This value is always non-zero. A value of zero is used to -- indicate a failed match. -- -- Stop If match is successful, ending index of matched section. -- This can be zero if we match the null string at the start, -- in which case Start is set to zero, and Stop to one. If the -- Match fails, then the contents of Stop is undefined. procedure XMatchD (Subject : String; Pat_P : PE_Ptr; Pat_S : Natural; Start : out Natural; Stop : out Natural); -- Identical in all respects to XMatch, except that trace information is -- output on Standard_Output during execution of the match. This is the -- version that is called if the original Match call has Debug => True. --------- -- "&" -- --------- function "&" (L : PString; R : Pattern) return Pattern is begin return (AFC with R.Stk, Concat (S_To_PE (L), Copy (R.P), R.Stk)); end "&"; function "&" (L : Pattern; R : PString) return Pattern is begin return (AFC with L.Stk, Concat (Copy (L.P), S_To_PE (R), 0)); end "&"; function "&" (L : PChar; R : Pattern) return Pattern is begin return (AFC with R.Stk, Concat (C_To_PE (L), Copy (R.P), R.Stk)); end "&"; function "&" (L : Pattern; R : PChar) return Pattern is begin return (AFC with L.Stk, Concat (Copy (L.P), C_To_PE (R), 0)); end "&"; function "&" (L : Pattern; R : Pattern) return Pattern is begin return (AFC with L.Stk + R.Stk, Concat (Copy (L.P), Copy (R.P), R.Stk)); end "&"; --------- -- "*" -- --------- -- Assign immediate -- +---+ +---+ +---+ -- | E |---->| P |---->| A |----> -- +---+ +---+ +---+ -- The node numbering of the constituent pattern P is not affected. -- Where N is the number of nodes in P, the A node is numbered N + 1, -- and the E node is N + 2. function "*" (P : Pattern; Var : VString_Var) return Pattern is Pat : constant PE_Ptr := Copy (P.P); E : constant PE_Ptr := new PE'(PC_R_Enter, 0, EOP); A : constant PE_Ptr := new PE'(PC_Assign_Imm, 0, EOP, Var'Unrestricted_Access); begin return (AFC with P.Stk + 3, Bracket (E, Pat, A)); end "*"; function "*" (P : PString; Var : VString_Var) return Pattern is Pat : constant PE_Ptr := S_To_PE (P); E : constant PE_Ptr := new PE'(PC_R_Enter, 0, EOP); A : constant PE_Ptr := new PE'(PC_Assign_Imm, 0, EOP, Var'Unrestricted_Access); begin return (AFC with 3, Bracket (E, Pat, A)); end "*"; function "*" (P : PChar; Var : VString_Var) return Pattern is Pat : constant PE_Ptr := C_To_PE (P); E : constant PE_Ptr := new PE'(PC_R_Enter, 0, EOP); A : constant PE_Ptr := new PE'(PC_Assign_Imm, 0, EOP, Var'Unrestricted_Access); begin return (AFC with 3, Bracket (E, Pat, A)); end "*"; -- Write immediate -- +---+ +---+ +---+ -- | E |---->| P |---->| W |----> -- +---+ +---+ +---+ -- The node numbering of the constituent pattern P is not affected. -- Where N is the number of nodes in P, the W node is numbered N + 1, -- and the E node is N + 2. function "*" (P : Pattern; Fil : File_Access) return Pattern is Pat : constant PE_Ptr := Copy (P.P); E : constant PE_Ptr := new PE'(PC_R_Enter, 0, EOP); W : constant PE_Ptr := new PE'(PC_Write_Imm, 0, EOP, Fil); begin return (AFC with 3, Bracket (E, Pat, W)); end "*"; function "*" (P : PString; Fil : File_Access) return Pattern is Pat : constant PE_Ptr := S_To_PE (P); E : constant PE_Ptr := new PE'(PC_R_Enter, 0, EOP); W : constant PE_Ptr := new PE'(PC_Write_Imm, 0, EOP, Fil); begin return (AFC with 3, Bracket (E, Pat, W)); end "*"; function "*" (P : PChar; Fil : File_Access) return Pattern is Pat : constant PE_Ptr := C_To_PE (P); E : constant PE_Ptr := new PE'(PC_R_Enter, 0, EOP); W : constant PE_Ptr := new PE'(PC_Write_Imm, 0, EOP, Fil); begin return (AFC with 3, Bracket (E, Pat, W)); end "*"; ---------- -- "**" -- ---------- -- Assign on match -- +---+ +---+ +---+ -- | E |---->| P |---->| A |----> -- +---+ +---+ +---+ -- The node numbering of the constituent pattern P is not affected. -- Where N is the number of nodes in P, the A node is numbered N + 1, -- and the E node is N + 2. function "**" (P : Pattern; Var : VString_Var) return Pattern is Pat : constant PE_Ptr := Copy (P.P); E : constant PE_Ptr := new PE'(PC_R_Enter, 0, EOP); A : constant PE_Ptr := new PE'(PC_Assign_OnM, 0, EOP, Var'Unrestricted_Access); begin return (AFC with P.Stk + 3, Bracket (E, Pat, A)); end "**"; function "**" (P : PString; Var : VString_Var) return Pattern is Pat : constant PE_Ptr := S_To_PE (P); E : constant PE_Ptr := new PE'(PC_R_Enter, 0, EOP); A : constant PE_Ptr := new PE'(PC_Assign_OnM, 0, EOP, Var'Unrestricted_Access); begin return (AFC with 3, Bracket (E, Pat, A)); end "**"; function "**" (P : PChar; Var : VString_Var) return Pattern is Pat : constant PE_Ptr := C_To_PE (P); E : constant PE_Ptr := new PE'(PC_R_Enter, 0, EOP); A : constant PE_Ptr := new PE'(PC_Assign_OnM, 0, EOP, Var'Unrestricted_Access); begin return (AFC with 3, Bracket (E, Pat, A)); end "**"; -- Write on match -- +---+ +---+ +---+ -- | E |---->| P |---->| W |----> -- +---+ +---+ +---+ -- The node numbering of the constituent pattern P is not affected. -- Where N is the number of nodes in P, the W node is numbered N + 1, -- and the E node is N + 2. function "**" (P : Pattern; Fil : File_Access) return Pattern is Pat : constant PE_Ptr := Copy (P.P); E : constant PE_Ptr := new PE'(PC_R_Enter, 0, EOP); W : constant PE_Ptr := new PE'(PC_Write_OnM, 0, EOP, Fil); begin return (AFC with P.Stk + 3, Bracket (E, Pat, W)); end "**"; function "**" (P : PString; Fil : File_Access) return Pattern is Pat : constant PE_Ptr := S_To_PE (P); E : constant PE_Ptr := new PE'(PC_R_Enter, 0, EOP); W : constant PE_Ptr := new PE'(PC_Write_OnM, 0, EOP, Fil); begin return (AFC with 3, Bracket (E, Pat, W)); end "**"; function "**" (P : PChar; Fil : File_Access) return Pattern is Pat : constant PE_Ptr := C_To_PE (P); E : constant PE_Ptr := new PE'(PC_R_Enter, 0, EOP); W : constant PE_Ptr := new PE'(PC_Write_OnM, 0, EOP, Fil); begin return (AFC with 3, Bracket (E, Pat, W)); end "**"; --------- -- "+" -- --------- function "+" (Str : VString_Var) return Pattern is begin return (AFC with 0, new PE'(PC_String_VP, 1, EOP, Str'Unrestricted_Access)); end "+"; function "+" (Str : VString_Func) return Pattern is begin return (AFC with 0, new PE'(PC_String_VF, 1, EOP, Str)); end "+"; function "+" (P : Pattern_Var) return Pattern is begin return (AFC with 3, new PE'(PC_Rpat, 1, EOP, P'Unrestricted_Access)); end "+"; function "+" (P : Boolean_Func) return Pattern is begin return (AFC with 3, new PE'(PC_Pred_Func, 1, EOP, P)); end "+"; ---------- -- "or" -- ---------- function "or" (L : PString; R : Pattern) return Pattern is begin return (AFC with R.Stk + 1, S_To_PE (L) or Copy (R.P)); end "or"; function "or" (L : Pattern; R : PString) return Pattern is begin return (AFC with L.Stk + 1, Copy (L.P) or S_To_PE (R)); end "or"; function "or" (L : PString; R : PString) return Pattern is begin return (AFC with 1, S_To_PE (L) or S_To_PE (R)); end "or"; function "or" (L : Pattern; R : Pattern) return Pattern is begin return (AFC with Natural'Max (L.Stk, R.Stk) + 1, Copy (L.P) or Copy (R.P)); end "or"; function "or" (L : PChar; R : Pattern) return Pattern is begin return (AFC with 1, C_To_PE (L) or Copy (R.P)); end "or"; function "or" (L : Pattern; R : PChar) return Pattern is begin return (AFC with 1, Copy (L.P) or C_To_PE (R)); end "or"; function "or" (L : PChar; R : PChar) return Pattern is begin return (AFC with 1, C_To_PE (L) or C_To_PE (R)); end "or"; function "or" (L : PString; R : PChar) return Pattern is begin return (AFC with 1, S_To_PE (L) or C_To_PE (R)); end "or"; function "or" (L : PChar; R : PString) return Pattern is begin return (AFC with 1, C_To_PE (L) or S_To_PE (R)); end "or"; ------------ -- Adjust -- ------------ -- No two patterns share the same pattern elements, so the adjust -- procedure for a Pattern assignment must do a deep copy of the -- pattern element structure. procedure Adjust (Object : in out Pattern) is begin Object.P := Copy (Object.P); end Adjust; --------------- -- Alternate -- --------------- function Alternate (L, R : PE_Ptr) return PE_Ptr is begin -- If the left pattern is null, then we just add the alternation -- node with an index one greater than the right hand pattern. if L = EOP then return new PE'(PC_Alt, R.Index + 1, EOP, R); -- If the left pattern is non-null, then build a reference vector -- for its elements, and adjust their index values to accommodate -- the right hand elements. Then add the alternation node. else declare Refs : Ref_Array (1 .. L.Index); begin Build_Ref_Array (L, Refs); for J in Refs'Range loop Refs (J).Index := Refs (J).Index + R.Index; end loop; end; return new PE'(PC_Alt, L.Index + 1, L, R); end if; end Alternate; --------- -- Any -- --------- function Any (Str : String) return Pattern is begin return (AFC with 0, new PE'(PC_Any_CS, 1, EOP, To_Set (Str))); end Any; function Any (Str : VString) return Pattern is begin return Any (S (Str)); end Any; function Any (Str : Character) return Pattern is begin return (AFC with 0, new PE'(PC_Any_CH, 1, EOP, Str)); end Any; function Any (Str : Character_Set) return Pattern is begin return (AFC with 0, new PE'(PC_Any_CS, 1, EOP, Str)); end Any; function Any (Str : not null access VString) return Pattern is begin return (AFC with 0, new PE'(PC_Any_VP, 1, EOP, VString_Ptr (Str))); end Any; function Any (Str : VString_Func) return Pattern is begin return (AFC with 0, new PE'(PC_Any_VF, 1, EOP, Str)); end Any; --------- -- Arb -- --------- -- +---+ -- | X |----> -- +---+ -- . -- . -- +---+ -- | Y |----> -- +---+ -- The PC_Arb_X element is numbered 2, and the PC_Arb_Y element is 1 function Arb return Pattern is Y : constant PE_Ptr := new PE'(PC_Arb_Y, 1, EOP); X : constant PE_Ptr := new PE'(PC_Arb_X, 2, EOP, Y); begin return (AFC with 1, X); end Arb; ----------- -- Arbno -- ----------- function Arbno (P : PString) return Pattern is begin if P'Length = 0 then return (AFC with 0, EOP); else return (AFC with 0, Arbno_Simple (S_To_PE (P))); end if; end Arbno; function Arbno (P : PChar) return Pattern is begin return (AFC with 0, Arbno_Simple (C_To_PE (P))); end Arbno; function Arbno (P : Pattern) return Pattern is Pat : constant PE_Ptr := Copy (P.P); begin if P.Stk = 0 and then OK_For_Simple_Arbno (Pat.Pcode) then return (AFC with 0, Arbno_Simple (Pat)); end if; -- This is the complex case, either the pattern makes stack entries -- or it is possible for the pattern to match the null string (more -- accurately, we don't know that this is not the case). -- +--------------------------+ -- | ^ -- V | -- +---+ | -- | X |----> | -- +---+ | -- . | -- . | -- +---+ +---+ +---+ | -- | E |---->| P |---->| Y |--->+ -- +---+ +---+ +---+ -- The node numbering of the constituent pattern P is not affected. -- Where N is the number of nodes in P, the Y node is numbered N + 1, -- the E node is N + 2, and the X node is N + 3. declare E : constant PE_Ptr := new PE'(PC_R_Enter, 0, EOP); X : constant PE_Ptr := new PE'(PC_Arbno_X, 0, EOP, E); Y : constant PE_Ptr := new PE'(PC_Arbno_Y, 0, X, P.Stk + 3); EPY : constant PE_Ptr := Bracket (E, Pat, Y); begin X.Alt := EPY; X.Index := EPY.Index + 1; return (AFC with P.Stk + 3, X); end; end Arbno; ------------------ -- Arbno_Simple -- ------------------ -- +-------------+ -- | ^ -- V | -- +---+ | -- | S |----> | -- +---+ | -- . | -- . | -- +---+ | -- | P |---------->+ -- +---+ -- The node numbering of the constituent pattern P is not affected. -- The S node has a node number of P.Index + 1. -- Note that we know that P cannot be EOP, because a null pattern -- does not meet the requirements for simple Arbno. function Arbno_Simple (P : PE_Ptr) return PE_Ptr is S : constant PE_Ptr := new PE'(PC_Arbno_S, P.Index + 1, EOP, P); begin Set_Successor (P, S); return S; end Arbno_Simple; --------- -- Bal -- --------- function Bal return Pattern is begin return (AFC with 1, new PE'(PC_Bal, 1, EOP)); end Bal; ------------- -- Bracket -- ------------- function Bracket (E, P, A : PE_Ptr) return PE_Ptr is begin if P = EOP then E.Pthen := A; E.Index := 2; A.Index := 1; else E.Pthen := P; Set_Successor (P, A); E.Index := P.Index + 2; A.Index := P.Index + 1; end if; return E; end Bracket; ----------- -- Break -- ----------- function Break (Str : String) return Pattern is begin return (AFC with 0, new PE'(PC_Break_CS, 1, EOP, To_Set (Str))); end Break; function Break (Str : VString) return Pattern is begin return Break (S (Str)); end Break; function Break (Str : Character) return Pattern is begin return (AFC with 0, new PE'(PC_Break_CH, 1, EOP, Str)); end Break; function Break (Str : Character_Set) return Pattern is begin return (AFC with 0, new PE'(PC_Break_CS, 1, EOP, Str)); end Break; function Break (Str : not null access VString) return Pattern is begin return (AFC with 0, new PE'(PC_Break_VP, 1, EOP, Str.all'Unchecked_Access)); end Break; function Break (Str : VString_Func) return Pattern is begin return (AFC with 0, new PE'(PC_Break_VF, 1, EOP, Str)); end Break; ------------ -- BreakX -- ------------ function BreakX (Str : String) return Pattern is begin return BreakX_Make (new PE'(PC_BreakX_CS, 3, N, To_Set (Str))); end BreakX; function BreakX (Str : VString) return Pattern is begin return BreakX (S (Str)); end BreakX; function BreakX (Str : Character) return Pattern is begin return BreakX_Make (new PE'(PC_BreakX_CH, 3, N, Str)); end BreakX; function BreakX (Str : Character_Set) return Pattern is begin return BreakX_Make (new PE'(PC_BreakX_CS, 3, N, Str)); end BreakX; function BreakX (Str : not null access VString) return Pattern is begin return BreakX_Make (new PE'(PC_BreakX_VP, 3, N, VString_Ptr (Str))); end BreakX; function BreakX (Str : VString_Func) return Pattern is begin return BreakX_Make (new PE'(PC_BreakX_VF, 3, N, Str)); end BreakX; ----------------- -- BreakX_Make -- ----------------- -- +---+ +---+ -- | B |---->| A |----> -- +---+ +---+ -- ^ . -- | . -- | +---+ -- +<------| X | -- +---+ -- The B node is numbered 3, the alternative node is 1, and the X -- node is 2. function BreakX_Make (B : PE_Ptr) return Pattern is X : constant PE_Ptr := new PE'(PC_BreakX_X, 2, B); A : constant PE_Ptr := new PE'(PC_Alt, 1, EOP, X); begin B.Pthen := A; return (AFC with 2, B); end BreakX_Make; --------------------- -- Build_Ref_Array -- --------------------- procedure Build_Ref_Array (E : PE_Ptr; RA : out Ref_Array) is procedure Record_PE (E : PE_Ptr); -- Record given pattern element if not already recorded in RA, -- and also record any referenced pattern elements recursively. --------------- -- Record_PE -- --------------- procedure Record_PE (E : PE_Ptr) is begin PutD (" Record_PE called with PE_Ptr = " & Image (E)); if E = EOP or else RA (E.Index) /= null then Put_LineD (", nothing to do"); return; else Put_LineD (", recording" & IndexT'Image (E.Index)); RA (E.Index) := E; Record_PE (E.Pthen); if E.Pcode in PC_Has_Alt then Record_PE (E.Alt); end if; end if; end Record_PE; -- Start of processing for Build_Ref_Array begin New_LineD; Put_LineD ("Entering Build_Ref_Array"); Record_PE (E); New_LineD; end Build_Ref_Array; ------------- -- C_To_PE -- ------------- function C_To_PE (C : PChar) return PE_Ptr is begin return new PE'(PC_Char, 1, EOP, C); end C_To_PE; ------------ -- Cancel -- ------------ function Cancel return Pattern is begin return (AFC with 0, new PE'(PC_Cancel, 1, EOP)); end Cancel; ------------ -- Concat -- ------------ -- Concat needs to traverse the left operand performing the following -- set of fixups: -- a) Any successor pointers (Pthen fields) that are set to EOP are -- reset to point to the second operand. -- b) Any PC_Arbno_Y node has its stack count field incremented -- by the parameter Incr provided for this purpose. -- d) Num fields of all pattern elements in the left operand are -- adjusted to include the elements of the right operand. -- Note: we do not use Set_Successor in the processing for Concat, since -- there is no point in doing two traversals, we may as well do everything -- at the same time. function Concat (L, R : PE_Ptr; Incr : Natural) return PE_Ptr is begin if L = EOP then return R; elsif R = EOP then return L; else declare Refs : Ref_Array (1 .. L.Index); -- We build a reference array for L whose N'th element points to -- the pattern element of L whose original Index value is N. P : PE_Ptr; begin Build_Ref_Array (L, Refs); for J in Refs'Range loop P := Refs (J); P.Index := P.Index + R.Index; if P.Pcode = PC_Arbno_Y then P.Nat := P.Nat + Incr; end if; if P.Pthen = EOP then P.Pthen := R; end if; if P.Pcode in PC_Has_Alt and then P.Alt = EOP then P.Alt := R; end if; end loop; end; return L; end if; end Concat; ---------- -- Copy -- ---------- function Copy (P : PE_Ptr) return PE_Ptr is begin if P = null then Uninitialized_Pattern; else declare Refs : Ref_Array (1 .. P.Index); -- References to elements in P, indexed by Index field Copy : Ref_Array (1 .. P.Index); -- Holds copies of elements of P, indexed by Index field E : PE_Ptr; begin Build_Ref_Array (P, Refs); -- Now copy all nodes for J in Refs'Range loop Copy (J) := new PE'(Refs (J).all); end loop; -- Adjust all internal references for J in Copy'Range loop E := Copy (J); -- Adjust successor pointer to point to copy if E.Pthen /= EOP then E.Pthen := Copy (E.Pthen.Index); end if; -- Adjust Alt pointer if there is one to point to copy if E.Pcode in PC_Has_Alt and then E.Alt /= EOP then E.Alt := Copy (E.Alt.Index); end if; -- Copy referenced string if E.Pcode = PC_String then E.Str := new String'(E.Str.all); end if; end loop; return Copy (P.Index); end; end if; end Copy; ---------- -- Dump -- ---------- procedure Dump (P : Pattern) is procedure Write_Node_Id (E : PE_Ptr; Cols : Natural); -- Writes out a string identifying the given pattern element. Cols is -- the column indentation level. ------------------- -- Write_Node_Id -- ------------------- procedure Write_Node_Id (E : PE_Ptr; Cols : Natural) is begin if E = EOP then Put ("EOP"); for J in 4 .. Cols loop Put (' '); end loop; else declare Str : String (1 .. Cols); N : Natural := Natural (E.Index); begin Put ("#"); for J in reverse Str'Range loop Str (J) := Character'Val (48 + N mod 10); N := N / 10; end loop; Put (Str); end; end if; end Write_Node_Id; -- Local variables Cols : Natural := 2; -- Number of columns used for pattern numbers, minimum is 2 E : PE_Ptr; subtype Count is Ada.Text_IO.Count; Scol : Count; -- Used to keep track of column in dump output -- Start of processing for Dump begin New_Line; Put ("Pattern Dump Output (pattern at " & Image (P'Address) & ", S = " & Natural'Image (P.Stk) & ')'); New_Line; Scol := Col; while Col < Scol loop Put ('-'); end loop; New_Line; -- If uninitialized pattern, dump line and we are done if P.P = null then Put_Line ("Uninitialized pattern value"); return; end if; -- If null pattern, just dump it and we are all done if P.P = EOP then Put_Line ("EOP (null pattern)"); return; end if; declare Refs : Ref_Array (1 .. P.P.Index); -- We build a reference array whose N'th element points to the -- pattern element whose Index value is N. begin Build_Ref_Array (P.P, Refs); -- Set number of columns required for node numbers while 10 ** Cols - 1 < Integer (P.P.Index) loop Cols := Cols + 1; end loop; -- Now dump the nodes in reverse sequence. We output them in reverse -- sequence since this corresponds to the natural order used to -- construct the patterns. for J in reverse Refs'Range loop E := Refs (J); Write_Node_Id (E, Cols); Set_Col (Count (Cols) + 4); Put (Image (E)); Put (" "); Put (Pattern_Code'Image (E.Pcode)); Put (" "); Set_Col (21 + Count (Cols) + Address_Image_Length); Write_Node_Id (E.Pthen, Cols); Set_Col (24 + 2 * Count (Cols) + Address_Image_Length); case E.Pcode is when PC_Alt | PC_Arb_X | PC_Arbno_S | PC_Arbno_X => Write_Node_Id (E.Alt, Cols); when PC_Rpat => Put (Str_PP (E.PP)); when PC_Pred_Func => Put (Str_BF (E.BF)); when PC_Assign_Imm | PC_Assign_OnM | PC_Any_VP | PC_Break_VP | PC_BreakX_VP | PC_NotAny_VP | PC_NSpan_VP | PC_Span_VP | PC_String_VP => Put (Str_VP (E.VP)); when PC_Write_Imm | PC_Write_OnM => Put (Str_FP (E.FP)); when PC_String => Put (Image (E.Str.all)); when PC_String_2 => Put (Image (E.Str2)); when PC_String_3 => Put (Image (E.Str3)); when PC_String_4 => Put (Image (E.Str4)); when PC_String_5 => Put (Image (E.Str5)); when PC_String_6 => Put (Image (E.Str6)); when PC_Setcur => Put (Str_NP (E.Var)); when PC_Any_CH | PC_Break_CH | PC_BreakX_CH | PC_Char | PC_NotAny_CH | PC_NSpan_CH | PC_Span_CH => Put (''' & E.Char & '''); when PC_Any_CS | PC_Break_CS | PC_BreakX_CS | PC_NotAny_CS | PC_NSpan_CS | PC_Span_CS => Put ('"' & To_Sequence (E.CS) & '"'); when PC_Arbno_Y | PC_Len_Nat | PC_Pos_Nat | PC_RPos_Nat | PC_RTab_Nat | PC_Tab_Nat => Put (S (E.Nat)); when PC_Pos_NF | PC_Len_NF | PC_RPos_NF | PC_RTab_NF | PC_Tab_NF => Put (Str_NF (E.NF)); when PC_Pos_NP | PC_Len_NP | PC_RPos_NP | PC_RTab_NP | PC_Tab_NP => Put (Str_NP (E.NP)); when PC_Any_VF | PC_Break_VF | PC_BreakX_VF | PC_NotAny_VF | PC_NSpan_VF | PC_Span_VF | PC_String_VF => Put (Str_VF (E.VF)); when others => null; end case; New_Line; end loop; New_Line; end; end Dump; ---------- -- Fail -- ---------- function Fail return Pattern is begin return (AFC with 0, new PE'(PC_Fail, 1, EOP)); end Fail; ----------- -- Fence -- ----------- -- Simple case function Fence return Pattern is begin return (AFC with 1, new PE'(PC_Fence, 1, EOP)); end Fence; -- Function case -- +---+ +---+ +---+ -- | E |---->| P |---->| X |----> -- +---+ +---+ +---+ -- The node numbering of the constituent pattern P is not affected. -- Where N is the number of nodes in P, the X node is numbered N + 1, -- and the E node is N + 2. function Fence (P : Pattern) return Pattern is Pat : constant PE_Ptr := Copy (P.P); E : constant PE_Ptr := new PE'(PC_R_Enter, 0, EOP); X : constant PE_Ptr := new PE'(PC_Fence_X, 0, EOP); begin return (AFC with P.Stk + 1, Bracket (E, Pat, X)); end Fence; -------------- -- Finalize -- -------------- procedure Finalize (Object : in out Pattern) is procedure Free is new Ada.Unchecked_Deallocation (PE, PE_Ptr); procedure Free is new Ada.Unchecked_Deallocation (String, String_Ptr); begin -- Nothing to do if already freed if Object.P = null then return; -- Otherwise we must free all elements else declare Refs : Ref_Array (1 .. Object.P.Index); -- References to elements in pattern to be finalized begin Build_Ref_Array (Object.P, Refs); for J in Refs'Range loop if Refs (J).Pcode = PC_String then Free (Refs (J).Str); end if; Free (Refs (J)); end loop; Object.P := null; end; end if; end Finalize; ----------- -- Image -- ----------- function Image (P : PE_Ptr) return String is begin return Image (To_Address (P)); end Image; function Image (P : Pattern) return String is begin return S (Image (P)); end Image; function Image (P : Pattern) return VString is Kill_Ampersand : Boolean := False; -- Set True to delete next & to be output to Result Result : VString := Nul; -- The result is accumulated here, using Append Refs : Ref_Array (1 .. P.P.Index); -- We build a reference array whose N'th element points to the -- pattern element whose Index value is N. procedure Delete_Ampersand; -- Deletes the ampersand at the end of Result procedure Image_Seq (E : PE_Ptr; Succ : PE_Ptr; Paren : Boolean); -- E refers to a pattern structure whose successor is given by Succ. -- This procedure appends to Result a representation of this pattern. -- The Paren parameter indicates whether parentheses are required if -- the output is more than one element. procedure Image_One (E : in out PE_Ptr); -- E refers to a pattern structure. This procedure appends to Result -- a representation of the single simple or compound pattern structure -- at the start of E and updates E to point to its successor. ---------------------- -- Delete_Ampersand -- ---------------------- procedure Delete_Ampersand is L : constant Natural := Length (Result); begin if L > 2 then Delete (Result, L - 1, L); end if; end Delete_Ampersand; --------------- -- Image_One -- --------------- procedure Image_One (E : in out PE_Ptr) is ER : PE_Ptr := E.Pthen; -- Successor set as result in E unless reset begin case E.Pcode is when PC_Cancel => Append (Result, "Cancel"); when PC_Alt => Alt : declare Elmts_In_L : constant IndexT := E.Pthen.Index - E.Alt.Index; -- Number of elements in left pattern of alternation Lowest_In_L : constant IndexT := E.Index - Elmts_In_L; -- Number of lowest index in elements of left pattern E1 : PE_Ptr; begin -- The successor of the alternation node must have a lower -- index than any node that is in the left pattern or a -- higher index than the alternation node itself. while ER /= EOP and then ER.Index >= Lowest_In_L and then ER.Index < E.Index loop ER := ER.Pthen; end loop; Append (Result, '('); E1 := E; loop Image_Seq (E1.Pthen, ER, False); Append (Result, " or "); E1 := E1.Alt; exit when E1.Pcode /= PC_Alt; end loop; Image_Seq (E1, ER, False); Append (Result, ')'); end Alt; when PC_Any_CS => Append (Result, "Any (" & Image (To_Sequence (E.CS)) & ')'); when PC_Any_VF => Append (Result, "Any (" & Str_VF (E.VF) & ')'); when PC_Any_VP => Append (Result, "Any (" & Str_VP (E.VP) & ')'); when PC_Arb_X => Append (Result, "Arb"); when PC_Arbno_S => Append (Result, "Arbno ("); Image_Seq (E.Alt, E, False); Append (Result, ')'); when PC_Arbno_X => Append (Result, "Arbno ("); Image_Seq (E.Alt.Pthen, Refs (E.Index - 2), False); Append (Result, ')'); when PC_Assign_Imm => Delete_Ampersand; Append (Result, "* " & Str_VP (Refs (E.Index).VP)); when PC_Assign_OnM => Delete_Ampersand; Append (Result, "** " & Str_VP (Refs (E.Index).VP)); when PC_Any_CH => Append (Result, "Any ('" & E.Char & "')"); when PC_Bal => Append (Result, "Bal"); when PC_Break_CH => Append (Result, "Break ('" & E.Char & "')"); when PC_Break_CS => Append (Result, "Break (" & Image (To_Sequence (E.CS)) & ')'); when PC_Break_VF => Append (Result, "Break (" & Str_VF (E.VF) & ')'); when PC_Break_VP => Append (Result, "Break (" & Str_VP (E.VP) & ')'); when PC_BreakX_CH => Append (Result, "BreakX ('" & E.Char & "')"); ER := ER.Pthen; when PC_BreakX_CS => Append (Result, "BreakX (" & Image (To_Sequence (E.CS)) & ')'); ER := ER.Pthen; when PC_BreakX_VF => Append (Result, "BreakX (" & Str_VF (E.VF) & ')'); ER := ER.Pthen; when PC_BreakX_VP => Append (Result, "BreakX (" & Str_VP (E.VP) & ')'); ER := ER.Pthen; when PC_Char => Append (Result, ''' & E.Char & '''); when PC_Fail => Append (Result, "Fail"); when PC_Fence => Append (Result, "Fence"); when PC_Fence_X => Append (Result, "Fence ("); Image_Seq (E.Pthen, Refs (E.Index - 1), False); Append (Result, ")"); ER := Refs (E.Index - 1).Pthen; when PC_Len_Nat => Append (Result, "Len (" & E.Nat & ')'); when PC_Len_NF => Append (Result, "Len (" & Str_NF (E.NF) & ')'); when PC_Len_NP => Append (Result, "Len (" & Str_NP (E.NP) & ')'); when PC_NotAny_CH => Append (Result, "NotAny ('" & E.Char & "')"); when PC_NotAny_CS => Append (Result, "NotAny (" & Image (To_Sequence (E.CS)) & ')'); when PC_NotAny_VF => Append (Result, "NotAny (" & Str_VF (E.VF) & ')'); when PC_NotAny_VP => Append (Result, "NotAny (" & Str_VP (E.VP) & ')'); when PC_NSpan_CH => Append (Result, "NSpan ('" & E.Char & "')"); when PC_NSpan_CS => Append (Result, "NSpan (" & Image (To_Sequence (E.CS)) & ')'); when PC_NSpan_VF => Append (Result, "NSpan (" & Str_VF (E.VF) & ')'); when PC_NSpan_VP => Append (Result, "NSpan (" & Str_VP (E.VP) & ')'); when PC_Null => Append (Result, """"""); when PC_Pos_Nat => Append (Result, "Pos (" & E.Nat & ')'); when PC_Pos_NF => Append (Result, "Pos (" & Str_NF (E.NF) & ')'); when PC_Pos_NP => Append (Result, "Pos (" & Str_NP (E.NP) & ')'); when PC_R_Enter => Kill_Ampersand := True; when PC_Rest => Append (Result, "Rest"); when PC_Rpat => Append (Result, "(+ " & Str_PP (E.PP) & ')'); when PC_Pred_Func => Append (Result, "(+ " & Str_BF (E.BF) & ')'); when PC_RPos_Nat => Append (Result, "RPos (" & E.Nat & ')'); when PC_RPos_NF => Append (Result, "RPos (" & Str_NF (E.NF) & ')'); when PC_RPos_NP => Append (Result, "RPos (" & Str_NP (E.NP) & ')'); when PC_RTab_Nat => Append (Result, "RTab (" & E.Nat & ')'); when PC_RTab_NF => Append (Result, "RTab (" & Str_NF (E.NF) & ')'); when PC_RTab_NP => Append (Result, "RTab (" & Str_NP (E.NP) & ')'); when PC_Setcur => Append (Result, "Setcur (" & Str_NP (E.Var) & ')'); when PC_Span_CH => Append (Result, "Span ('" & E.Char & "')"); when PC_Span_CS => Append (Result, "Span (" & Image (To_Sequence (E.CS)) & ')'); when PC_Span_VF => Append (Result, "Span (" & Str_VF (E.VF) & ')'); when PC_Span_VP => Append (Result, "Span (" & Str_VP (E.VP) & ')'); when PC_String => Append (Result, Image (E.Str.all)); when PC_String_2 => Append (Result, Image (E.Str2)); when PC_String_3 => Append (Result, Image (E.Str3)); when PC_String_4 => Append (Result, Image (E.Str4)); when PC_String_5 => Append (Result, Image (E.Str5)); when PC_String_6 => Append (Result, Image (E.Str6)); when PC_String_VF => Append (Result, "(+" & Str_VF (E.VF) & ')'); when PC_String_VP => Append (Result, "(+" & Str_VP (E.VP) & ')'); when PC_Succeed => Append (Result, "Succeed"); when PC_Tab_Nat => Append (Result, "Tab (" & E.Nat & ')'); when PC_Tab_NF => Append (Result, "Tab (" & Str_NF (E.NF) & ')'); when PC_Tab_NP => Append (Result, "Tab (" & Str_NP (E.NP) & ')'); when PC_Write_Imm => Append (Result, '('); Image_Seq (E, Refs (E.Index - 1), True); Append (Result, " * " & Str_FP (Refs (E.Index - 1).FP)); ER := Refs (E.Index - 1).Pthen; when PC_Write_OnM => Append (Result, '('); Image_Seq (E.Pthen, Refs (E.Index - 1), True); Append (Result, " ** " & Str_FP (Refs (E.Index - 1).FP)); ER := Refs (E.Index - 1).Pthen; -- Other pattern codes should not appear as leading elements when PC_Arb_Y | PC_Arbno_Y | PC_Assign | PC_BreakX_X | PC_EOP | PC_Fence_Y | PC_R_Remove | PC_R_Restore | PC_Unanchored => Append (Result, "???"); end case; E := ER; end Image_One; --------------- -- Image_Seq -- --------------- procedure Image_Seq (E : PE_Ptr; Succ : PE_Ptr; Paren : Boolean) is Indx : constant Natural := Length (Result); E1 : PE_Ptr := E; Mult : Boolean := False; begin -- The image of EOP is "" (the null string) if E = EOP then Append (Result, """"""); -- Else generate appropriate concatenation sequence else loop Image_One (E1); exit when E1 = Succ; exit when E1 = EOP; Mult := True; if Kill_Ampersand then Kill_Ampersand := False; else Append (Result, " & "); end if; end loop; end if; if Mult and Paren then Insert (Result, Indx + 1, "("); Append (Result, ")"); end if; end Image_Seq; -- Start of processing for Image begin Build_Ref_Array (P.P, Refs); Image_Seq (P.P, EOP, False); return Result; end Image; ----------- -- Is_In -- ----------- function Is_In (C : Character; Str : String) return Boolean is begin for J in Str'Range loop if Str (J) = C then return True; end if; end loop; return False; end Is_In; --------- -- Len -- --------- function Len (Count : Natural) return Pattern is begin -- Note, the following is not just an optimization, it is needed -- to ensure that Arbno (Len (0)) does not generate an infinite -- matching loop (since PC_Len_Nat is OK_For_Simple_Arbno). if Count = 0 then return (AFC with 0, new PE'(PC_Null, 1, EOP)); else return (AFC with 0, new PE'(PC_Len_Nat, 1, EOP, Count)); end if; end Len; function Len (Count : Natural_Func) return Pattern is begin return (AFC with 0, new PE'(PC_Len_NF, 1, EOP, Count)); end Len; function Len (Count : not null access Natural) return Pattern is begin return (AFC with 0, new PE'(PC_Len_NP, 1, EOP, Natural_Ptr (Count))); end Len; ----------------- -- Logic_Error -- ----------------- procedure Logic_Error is begin raise Program_Error with "Internal logic error in GNAT.Spitbol.Patterns"; end Logic_Error; ----------- -- Match -- ----------- function Match (Subject : VString; Pat : Pattern) return Boolean is S : Big_String_Access; L : Natural; Start : Natural; Stop : Natural; pragma Unreferenced (Stop); begin Get_String (Subject, S, L); if Debug_Mode then XMatchD (S (1 .. L), Pat.P, Pat.Stk, Start, Stop); else XMatch (S (1 .. L), Pat.P, Pat.Stk, Start, Stop); end if; return Start /= 0; end Match; function Match (Subject : String; Pat : Pattern) return Boolean is Start, Stop : Natural; pragma Unreferenced (Stop); subtype String1 is String (1 .. Subject'Length); begin if Debug_Mode then XMatchD (String1 (Subject), Pat.P, Pat.Stk, Start, Stop); else XMatch (String1 (Subject), Pat.P, Pat.Stk, Start, Stop); end if; return Start /= 0; end Match; function Match (Subject : VString_Var; Pat : Pattern; Replace : VString) return Boolean is Start : Natural; Stop : Natural; S : Big_String_Access; L : Natural; begin Get_String (Subject, S, L); if Debug_Mode then XMatchD (S (1 .. L), Pat.P, Pat.Stk, Start, Stop); else XMatch (S (1 .. L), Pat.P, Pat.Stk, Start, Stop); end if; if Start = 0 then return False; else Get_String (Replace, S, L); Replace_Slice (Subject'Unrestricted_Access.all, Start, Stop, S (1 .. L)); return True; end if; end Match; function Match (Subject : VString_Var; Pat : Pattern; Replace : String) return Boolean is Start : Natural; Stop : Natural; S : Big_String_Access; L : Natural; begin Get_String (Subject, S, L); if Debug_Mode then XMatchD (S (1 .. L), Pat.P, Pat.Stk, Start, Stop); else XMatch (S (1 .. L), Pat.P, Pat.Stk, Start, Stop); end if; if Start = 0 then return False; else Replace_Slice (Subject'Unrestricted_Access.all, Start, Stop, Replace); return True; end if; end Match; procedure Match (Subject : VString; Pat : Pattern) is S : Big_String_Access; L : Natural; Start : Natural; Stop : Natural; pragma Unreferenced (Start, Stop); begin Get_String (Subject, S, L); if Debug_Mode then XMatchD (S (1 .. L), Pat.P, Pat.Stk, Start, Stop); else XMatch (S (1 .. L), Pat.P, Pat.Stk, Start, Stop); end if; end Match; procedure Match (Subject : String; Pat : Pattern) is Start, Stop : Natural; pragma Unreferenced (Start, Stop); subtype String1 is String (1 .. Subject'Length); begin if Debug_Mode then XMatchD (String1 (Subject), Pat.P, Pat.Stk, Start, Stop); else XMatch (String1 (Subject), Pat.P, Pat.Stk, Start, Stop); end if; end Match; procedure Match (Subject : in out VString; Pat : Pattern; Replace : VString) is Start : Natural; Stop : Natural; S : Big_String_Access; L : Natural; begin Get_String (Subject, S, L); if Debug_Mode then XMatchD (S (1 .. L), Pat.P, Pat.Stk, Start, Stop); else XMatch (S (1 .. L), Pat.P, Pat.Stk, Start, Stop); end if; if Start /= 0 then Get_String (Replace, S, L); Replace_Slice (Subject, Start, Stop, S (1 .. L)); end if; end Match; procedure Match (Subject : in out VString; Pat : Pattern; Replace : String) is Start : Natural; Stop : Natural; S : Big_String_Access; L : Natural; begin Get_String (Subject, S, L); if Debug_Mode then XMatchD (S (1 .. L), Pat.P, Pat.Stk, Start, Stop); else XMatch (S (1 .. L), Pat.P, Pat.Stk, Start, Stop); end if; if Start /= 0 then Replace_Slice (Subject, Start, Stop, Replace); end if; end Match; function Match (Subject : VString; Pat : PString) return Boolean is Pat_Len : constant Natural := Pat'Length; S : Big_String_Access; L : Natural; begin Get_String (Subject, S, L); if Anchored_Mode then if Pat_Len > L then return False; else return Pat = S (1 .. Pat_Len); end if; else for J in 1 .. L - Pat_Len + 1 loop if Pat = S (J .. J + (Pat_Len - 1)) then return True; end if; end loop; return False; end if; end Match; function Match (Subject : String; Pat : PString) return Boolean is Pat_Len : constant Natural := Pat'Length; Sub_Len : constant Natural := Subject'Length; SFirst : constant Natural := Subject'First; begin if Anchored_Mode then if Pat_Len > Sub_Len then return False; else return Pat = Subject (SFirst .. SFirst + Pat_Len - 1); end if; else for J in SFirst .. SFirst + Sub_Len - Pat_Len loop if Pat = Subject (J .. J + (Pat_Len - 1)) then return True; end if; end loop; return False; end if; end Match; function Match (Subject : VString_Var; Pat : PString; Replace : VString) return Boolean is Start : Natural; Stop : Natural; S : Big_String_Access; L : Natural; begin Get_String (Subject, S, L); if Debug_Mode then XMatchD (S (1 .. L), S_To_PE (Pat), 0, Start, Stop); else XMatch (S (1 .. L), S_To_PE (Pat), 0, Start, Stop); end if; if Start = 0 then return False; else Get_String (Replace, S, L); Replace_Slice (Subject'Unrestricted_Access.all, Start, Stop, S (1 .. L)); return True; end if; end Match; function Match (Subject : VString_Var; Pat : PString; Replace : String) return Boolean is Start : Natural; Stop : Natural; S : Big_String_Access; L : Natural; begin Get_String (Subject, S, L); if Debug_Mode then XMatchD (S (1 .. L), S_To_PE (Pat), 0, Start, Stop); else XMatch (S (1 .. L), S_To_PE (Pat), 0, Start, Stop); end if; if Start = 0 then return False; else Replace_Slice (Subject'Unrestricted_Access.all, Start, Stop, Replace); return True; end if; end Match; procedure Match (Subject : VString; Pat : PString) is S : Big_String_Access; L : Natural; Start : Natural; Stop : Natural; pragma Unreferenced (Start, Stop); begin Get_String (Subject, S, L); if Debug_Mode then XMatchD (S (1 .. L), S_To_PE (Pat), 0, Start, Stop); else XMatch (S (1 .. L), S_To_PE (Pat), 0, Start, Stop); end if; end Match; procedure Match (Subject : String; Pat : PString) is Start, Stop : Natural; pragma Unreferenced (Start, Stop); subtype String1 is String (1 .. Subject'Length); begin if Debug_Mode then XMatchD (String1 (Subject), S_To_PE (Pat), 0, Start, Stop); else XMatch (String1 (Subject), S_To_PE (Pat), 0, Start, Stop); end if; end Match; procedure Match (Subject : in out VString; Pat : PString; Replace : VString) is Start : Natural; Stop : Natural; S : Big_String_Access; L : Natural; begin Get_String (Subject, S, L); if Debug_Mode then XMatchD (S (1 .. L), S_To_PE (Pat), 0, Start, Stop); else XMatch (S (1 .. L), S_To_PE (Pat), 0, Start, Stop); end if; if Start /= 0 then Get_String (Replace, S, L); Replace_Slice (Subject, Start, Stop, S (1 .. L)); end if; end Match; procedure Match (Subject : in out VString; Pat : PString; Replace : String) is Start : Natural; Stop : Natural; S : Big_String_Access; L : Natural; begin Get_String (Subject, S, L); if Debug_Mode then XMatchD (S (1 .. L), S_To_PE (Pat), 0, Start, Stop); else XMatch (S (1 .. L), S_To_PE (Pat), 0, Start, Stop); end if; if Start /= 0 then Replace_Slice (Subject, Start, Stop, Replace); end if; end Match; function Match (Subject : VString_Var; Pat : Pattern; Result : Match_Result_Var) return Boolean is Start : Natural; Stop : Natural; S : Big_String_Access; L : Natural; begin Get_String (Subject, S, L); if Debug_Mode then XMatchD (S (1 .. L), Pat.P, Pat.Stk, Start, Stop); else XMatch (S (1 .. L), Pat.P, Pat.Stk, Start, Stop); end if; if Start = 0 then Result'Unrestricted_Access.all.Var := null; return False; else Result'Unrestricted_Access.all.Var := Subject'Unrestricted_Access; Result'Unrestricted_Access.all.Start := Start; Result'Unrestricted_Access.all.Stop := Stop; return True; end if; end Match; procedure Match (Subject : in out VString; Pat : Pattern; Result : out Match_Result) is Start : Natural; Stop : Natural; S : Big_String_Access; L : Natural; begin Get_String (Subject, S, L); if Debug_Mode then XMatchD (S (1 .. L), Pat.P, Pat.Stk, Start, Stop); else XMatch (S (1 .. L), Pat.P, Pat.Stk, Start, Stop); end if; if Start = 0 then Result.Var := null; else Result.Var := Subject'Unrestricted_Access; Result.Start := Start; Result.Stop := Stop; end if; end Match; --------------- -- New_LineD -- --------------- procedure New_LineD is begin if Internal_Debug then New_Line; end if; end New_LineD; ------------ -- NotAny -- ------------ function NotAny (Str : String) return Pattern is begin return (AFC with 0, new PE'(PC_NotAny_CS, 1, EOP, To_Set (Str))); end NotAny; function NotAny (Str : VString) return Pattern is begin return NotAny (S (Str)); end NotAny; function NotAny (Str : Character) return Pattern is begin return (AFC with 0, new PE'(PC_NotAny_CH, 1, EOP, Str)); end NotAny; function NotAny (Str : Character_Set) return Pattern is begin return (AFC with 0, new PE'(PC_NotAny_CS, 1, EOP, Str)); end NotAny; function NotAny (Str : not null access VString) return Pattern is begin return (AFC with 0, new PE'(PC_NotAny_VP, 1, EOP, VString_Ptr (Str))); end NotAny; function NotAny (Str : VString_Func) return Pattern is begin return (AFC with 0, new PE'(PC_NotAny_VF, 1, EOP, Str)); end NotAny; ----------- -- NSpan -- ----------- function NSpan (Str : String) return Pattern is begin return (AFC with 0, new PE'(PC_NSpan_CS, 1, EOP, To_Set (Str))); end NSpan; function NSpan (Str : VString) return Pattern is begin return NSpan (S (Str)); end NSpan; function NSpan (Str : Character) return Pattern is begin return (AFC with 0, new PE'(PC_NSpan_CH, 1, EOP, Str)); end NSpan; function NSpan (Str : Character_Set) return Pattern is begin return (AFC with 0, new PE'(PC_NSpan_CS, 1, EOP, Str)); end NSpan; function NSpan (Str : not null access VString) return Pattern is begin return (AFC with 0, new PE'(PC_NSpan_VP, 1, EOP, VString_Ptr (Str))); end NSpan; function NSpan (Str : VString_Func) return Pattern is begin return (AFC with 0, new PE'(PC_NSpan_VF, 1, EOP, Str)); end NSpan; --------- -- Pos -- --------- function Pos (Count : Natural) return Pattern is begin return (AFC with 0, new PE'(PC_Pos_Nat, 1, EOP, Count)); end Pos; function Pos (Count : Natural_Func) return Pattern is begin return (AFC with 0, new PE'(PC_Pos_NF, 1, EOP, Count)); end Pos; function Pos (Count : not null access Natural) return Pattern is begin return (AFC with 0, new PE'(PC_Pos_NP, 1, EOP, Natural_Ptr (Count))); end Pos; ---------- -- PutD -- ---------- procedure PutD (Str : String) is begin if Internal_Debug then Put (Str); end if; end PutD; --------------- -- Put_LineD -- --------------- procedure Put_LineD (Str : String) is begin if Internal_Debug then Put_Line (Str); end if; end Put_LineD; ------------- -- Replace -- ------------- procedure Replace (Result : in out Match_Result; Replace : VString) is S : Big_String_Access; L : Natural; begin Get_String (Replace, S, L); if Result.Var /= null then Replace_Slice (Result.Var.all, Result.Start, Result.Stop, S (1 .. L)); Result.Var := null; end if; end Replace; ---------- -- Rest -- ---------- function Rest return Pattern is begin return (AFC with 0, new PE'(PC_Rest, 1, EOP)); end Rest; ---------- -- Rpos -- ---------- function Rpos (Count : Natural) return Pattern is begin return (AFC with 0, new PE'(PC_RPos_Nat, 1, EOP, Count)); end Rpos; function Rpos (Count : Natural_Func) return Pattern is begin return (AFC with 0, new PE'(PC_RPos_NF, 1, EOP, Count)); end Rpos; function Rpos (Count : not null access Natural) return Pattern is begin return (AFC with 0, new PE'(PC_RPos_NP, 1, EOP, Natural_Ptr (Count))); end Rpos; ---------- -- Rtab -- ---------- function Rtab (Count : Natural) return Pattern is begin return (AFC with 0, new PE'(PC_RTab_Nat, 1, EOP, Count)); end Rtab; function Rtab (Count : Natural_Func) return Pattern is begin return (AFC with 0, new PE'(PC_RTab_NF, 1, EOP, Count)); end Rtab; function Rtab (Count : not null access Natural) return Pattern is begin return (AFC with 0, new PE'(PC_RTab_NP, 1, EOP, Natural_Ptr (Count))); end Rtab; ------------- -- S_To_PE -- ------------- function S_To_PE (Str : PString) return PE_Ptr is Len : constant Natural := Str'Length; begin case Len is when 0 => return new PE'(PC_Null, 1, EOP); when 1 => return new PE'(PC_Char, 1, EOP, Str (Str'First)); when 2 => return new PE'(PC_String_2, 1, EOP, Str); when 3 => return new PE'(PC_String_3, 1, EOP, Str); when 4 => return new PE'(PC_String_4, 1, EOP, Str); when 5 => return new PE'(PC_String_5, 1, EOP, Str); when 6 => return new PE'(PC_String_6, 1, EOP, Str); when others => return new PE'(PC_String, 1, EOP, new String'(Str)); end case; end S_To_PE; ------------------- -- Set_Successor -- ------------------- -- Note: this procedure is not used by the normal concatenation circuit, -- since other fixups are required on the left operand in this case, and -- they might as well be done all together. procedure Set_Successor (Pat : PE_Ptr; Succ : PE_Ptr) is begin if Pat = null then Uninitialized_Pattern; elsif Pat = EOP then Logic_Error; else declare Refs : Ref_Array (1 .. Pat.Index); -- We build a reference array for L whose N'th element points to -- the pattern element of L whose original Index value is N. P : PE_Ptr; begin Build_Ref_Array (Pat, Refs); for J in Refs'Range loop P := Refs (J); if P.Pthen = EOP then P.Pthen := Succ; end if; if P.Pcode in PC_Has_Alt and then P.Alt = EOP then P.Alt := Succ; end if; end loop; end; end if; end Set_Successor; ------------ -- Setcur -- ------------ function Setcur (Var : not null access Natural) return Pattern is begin return (AFC with 0, new PE'(PC_Setcur, 1, EOP, Natural_Ptr (Var))); end Setcur; ---------- -- Span -- ---------- function Span (Str : String) return Pattern is begin return (AFC with 0, new PE'(PC_Span_CS, 1, EOP, To_Set (Str))); end Span; function Span (Str : VString) return Pattern is begin return Span (S (Str)); end Span; function Span (Str : Character) return Pattern is begin return (AFC with 0, new PE'(PC_Span_CH, 1, EOP, Str)); end Span; function Span (Str : Character_Set) return Pattern is begin return (AFC with 0, new PE'(PC_Span_CS, 1, EOP, Str)); end Span; function Span (Str : not null access VString) return Pattern is begin return (AFC with 0, new PE'(PC_Span_VP, 1, EOP, VString_Ptr (Str))); end Span; function Span (Str : VString_Func) return Pattern is begin return (AFC with 0, new PE'(PC_Span_VF, 1, EOP, Str)); end Span; ------------ -- Str_BF -- ------------ function Str_BF (A : Boolean_Func) return String is function To_A is new Ada.Unchecked_Conversion (Boolean_Func, Address); begin return "BF(" & Image (To_A (A)) & ')'; end Str_BF; ------------ -- Str_FP -- ------------ function Str_FP (A : File_Ptr) return String is begin return "FP(" & Image (A.all'Address) & ')'; end Str_FP; ------------ -- Str_NF -- ------------ function Str_NF (A : Natural_Func) return String is function To_A is new Ada.Unchecked_Conversion (Natural_Func, Address); begin return "NF(" & Image (To_A (A)) & ')'; end Str_NF; ------------ -- Str_NP -- ------------ function Str_NP (A : Natural_Ptr) return String is begin return "NP(" & Image (A.all'Address) & ')'; end Str_NP; ------------ -- Str_PP -- ------------ function Str_PP (A : Pattern_Ptr) return String is begin return "PP(" & Image (A.all'Address) & ')'; end Str_PP; ------------ -- Str_VF -- ------------ function Str_VF (A : VString_Func) return String is function To_A is new Ada.Unchecked_Conversion (VString_Func, Address); begin return "VF(" & Image (To_A (A)) & ')'; end Str_VF; ------------ -- Str_VP -- ------------ function Str_VP (A : VString_Ptr) return String is begin return "VP(" & Image (A.all'Address) & ')'; end Str_VP; ------------- -- Succeed -- ------------- function Succeed return Pattern is begin return (AFC with 1, new PE'(PC_Succeed, 1, EOP)); end Succeed; --------- -- Tab -- --------- function Tab (Count : Natural) return Pattern is begin return (AFC with 0, new PE'(PC_Tab_Nat, 1, EOP, Count)); end Tab; function Tab (Count : Natural_Func) return Pattern is begin return (AFC with 0, new PE'(PC_Tab_NF, 1, EOP, Count)); end Tab; function Tab (Count : not null access Natural) return Pattern is begin return (AFC with 0, new PE'(PC_Tab_NP, 1, EOP, Natural_Ptr (Count))); end Tab; --------------------------- -- Uninitialized_Pattern -- --------------------------- procedure Uninitialized_Pattern is begin raise Program_Error with "uninitialized value of type GNAT.Spitbol.Patterns.Pattern"; end Uninitialized_Pattern; ------------ -- XMatch -- ------------ procedure XMatch (Subject : String; Pat_P : PE_Ptr; Pat_S : Natural; Start : out Natural; Stop : out Natural) is Node : PE_Ptr; -- Pointer to current pattern node. Initialized from Pat_P, and then -- updated as the match proceeds through its constituent elements. Length : constant Natural := Subject'Length; -- Length of string (= Subject'Last, since Subject'First is always 1) Cursor : Integer := 0; -- If the value is non-negative, then this value is the index showing -- the current position of the match in the subject string. The next -- character to be matched is at Subject (Cursor + 1). Note that since -- our view of the subject string in XMatch always has a lower bound -- of one, regardless of original bounds, that this definition exactly -- corresponds to the cursor value as referenced by functions like Pos. -- -- If the value is negative, then this is a saved stack pointer, -- typically a base pointer of an inner or outer region. Cursor -- temporarily holds such a value when it is popped from the stack -- by Fail. In all cases, Cursor is reset to a proper non-negative -- cursor value before the match proceeds (e.g. by propagating the -- failure and popping a "real" cursor value from the stack. PE_Unanchored : aliased PE := (PC_Unanchored, 0, Pat_P); -- Dummy pattern element used in the unanchored case Stack : Stack_Type; -- The pattern matching failure stack for this call to Match Stack_Ptr : Stack_Range; -- Current stack pointer. This points to the top element of the stack -- that is currently in use. At the outer level this is the special -- entry placed on the stack according to the anchor mode. Stack_Init : constant Stack_Range := Stack'First + 1; -- This is the initial value of the Stack_Ptr and Stack_Base. The -- initial (Stack'First) element of the stack is not used so that -- when we pop the last element off, Stack_Ptr is still in range. Stack_Base : Stack_Range; -- This value is the stack base value, i.e. the stack pointer for the -- first history stack entry in the current stack region. See separate -- section on handling of recursive pattern matches. Assign_OnM : Boolean := False; -- Set True if assign-on-match or write-on-match operations may be -- present in the history stack, which must then be scanned on a -- successful match. procedure Pop_Region; pragma Inline (Pop_Region); -- Used at the end of processing of an inner region. If the inner -- region left no stack entries, then all trace of it is removed. -- Otherwise a PC_Restore_Region entry is pushed to ensure proper -- handling of alternatives in the inner region. procedure Push (Node : PE_Ptr); pragma Inline (Push); -- Make entry in pattern matching stack with current cursor value procedure Push_Region; pragma Inline (Push_Region); -- This procedure makes a new region on the history stack. The -- caller first establishes the special entry on the stack, but -- does not push the stack pointer. Then this call stacks a -- PC_Remove_Region node, on top of this entry, using the cursor -- field of the PC_Remove_Region entry to save the outer level -- stack base value, and resets the stack base to point to this -- PC_Remove_Region node. ---------------- -- Pop_Region -- ---------------- procedure Pop_Region is begin -- If nothing was pushed in the inner region, we can just get -- rid of it entirely, leaving no traces that it was ever there if Stack_Ptr = Stack_Base then Stack_Ptr := Stack_Base - 2; Stack_Base := Stack (Stack_Ptr + 2).Cursor; -- If stuff was pushed in the inner region, then we have to -- push a PC_R_Restore node so that we properly handle possible -- rematches within the region. else Stack_Ptr := Stack_Ptr + 1; Stack (Stack_Ptr).Cursor := Stack_Base; Stack (Stack_Ptr).Node := CP_R_Restore'Access; Stack_Base := Stack (Stack_Base).Cursor; end if; end Pop_Region; ---------- -- Push -- ---------- procedure Push (Node : PE_Ptr) is begin Stack_Ptr := Stack_Ptr + 1; Stack (Stack_Ptr).Cursor := Cursor; Stack (Stack_Ptr).Node := Node; end Push; ----------------- -- Push_Region -- ----------------- procedure Push_Region is begin Stack_Ptr := Stack_Ptr + 2; Stack (Stack_Ptr).Cursor := Stack_Base; Stack (Stack_Ptr).Node := CP_R_Remove'Access; Stack_Base := Stack_Ptr; end Push_Region; -- Start of processing for XMatch begin if Pat_P = null then Uninitialized_Pattern; end if; -- Check we have enough stack for this pattern. This check deals with -- every possibility except a match of a recursive pattern, where we -- make a check at each recursion level. if Pat_S >= Stack_Size - 1 then raise Pattern_Stack_Overflow; end if; -- In anchored mode, the bottom entry on the stack is an abort entry if Anchored_Mode then Stack (Stack_Init).Node := CP_Cancel'Access; Stack (Stack_Init).Cursor := 0; -- In unanchored more, the bottom entry on the stack references -- the special pattern element PE_Unanchored, whose Pthen field -- points to the initial pattern element. The cursor value in this -- entry is the number of anchor moves so far. else Stack (Stack_Init).Node := PE_Unanchored'Unchecked_Access; Stack (Stack_Init).Cursor := 0; end if; Stack_Ptr := Stack_Init; Stack_Base := Stack_Ptr; Cursor := 0; Node := Pat_P; goto Match; ----------------------------------------- -- Main Pattern Matching State Control -- ----------------------------------------- -- This is a state machine which uses gotos to change state. The -- initial state is Match, to initiate the matching of the first -- element, so the goto Match above starts the match. In the -- following descriptions, we indicate the global values that -- are relevant for the state transition. -- Come here if entire match fails <<Match_Fail>> Start := 0; Stop := 0; return; -- Come here if entire match succeeds -- Cursor current position in subject string <<Match_Succeed>> Start := Stack (Stack_Init).Cursor + 1; Stop := Cursor; -- Scan history stack for deferred assignments or writes if Assign_OnM then for S in Stack_Init .. Stack_Ptr loop if Stack (S).Node = CP_Assign'Access then declare Inner_Base : constant Stack_Range := Stack (S + 1).Cursor; Special_Entry : constant Stack_Range := Inner_Base - 1; Node_OnM : constant PE_Ptr := Stack (Special_Entry).Node; Start : constant Natural := Stack (Special_Entry).Cursor + 1; Stop : constant Natural := Stack (S).Cursor; begin if Node_OnM.Pcode = PC_Assign_OnM then Set_Unbounded_String (Node_OnM.VP.all, Subject (Start .. Stop)); elsif Node_OnM.Pcode = PC_Write_OnM then Put_Line (Node_OnM.FP.all, Subject (Start .. Stop)); else Logic_Error; end if; end; end if; end loop; end if; return; -- Come here if attempt to match current element fails -- Stack_Base current stack base -- Stack_Ptr current stack pointer <<Fail>> Cursor := Stack (Stack_Ptr).Cursor; Node := Stack (Stack_Ptr).Node; Stack_Ptr := Stack_Ptr - 1; goto Match; -- Come here if attempt to match current element succeeds -- Cursor current position in subject string -- Node pointer to node successfully matched -- Stack_Base current stack base -- Stack_Ptr current stack pointer <<Succeed>> Node := Node.Pthen; -- Come here to match the next pattern element -- Cursor current position in subject string -- Node pointer to node to be matched -- Stack_Base current stack base -- Stack_Ptr current stack pointer <<Match>> -------------------------------------------------- -- Main Pattern Match Element Matching Routines -- -------------------------------------------------- -- Here is the case statement that processes the current node. The -- processing for each element does one of five things: -- goto Succeed to move to the successor -- goto Match_Succeed if the entire match succeeds -- goto Match_Fail if the entire match fails -- goto Fail to signal failure of current match -- Processing is NOT allowed to fall through case Node.Pcode is -- Cancel when PC_Cancel => goto Match_Fail; -- Alternation when PC_Alt => Push (Node.Alt); Node := Node.Pthen; goto Match; -- Any (one character case) when PC_Any_CH => if Cursor < Length and then Subject (Cursor + 1) = Node.Char then Cursor := Cursor + 1; goto Succeed; else goto Fail; end if; -- Any (character set case) when PC_Any_CS => if Cursor < Length and then Is_In (Subject (Cursor + 1), Node.CS) then Cursor := Cursor + 1; goto Succeed; else goto Fail; end if; -- Any (string function case) when PC_Any_VF => declare U : constant VString := Node.VF.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); if Cursor < Length and then Is_In (Subject (Cursor + 1), S (1 .. L)) then Cursor := Cursor + 1; goto Succeed; else goto Fail; end if; end; -- Any (string pointer case) when PC_Any_VP => declare U : constant VString := Node.VP.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); if Cursor < Length and then Is_In (Subject (Cursor + 1), S (1 .. L)) then Cursor := Cursor + 1; goto Succeed; else goto Fail; end if; end; -- Arb (initial match) when PC_Arb_X => Push (Node.Alt); Node := Node.Pthen; goto Match; -- Arb (extension) when PC_Arb_Y => if Cursor < Length then Cursor := Cursor + 1; Push (Node); goto Succeed; else goto Fail; end if; -- Arbno_S (simple Arbno initialize). This is the node that -- initiates the match of a simple Arbno structure. when PC_Arbno_S => Push (Node.Alt); Node := Node.Pthen; goto Match; -- Arbno_X (Arbno initialize). This is the node that initiates -- the match of a complex Arbno structure. when PC_Arbno_X => Push (Node.Alt); Node := Node.Pthen; goto Match; -- Arbno_Y (Arbno rematch). This is the node that is executed -- following successful matching of one instance of a complex -- Arbno pattern. when PC_Arbno_Y => declare Null_Match : constant Boolean := Cursor = Stack (Stack_Base - 1).Cursor; begin Pop_Region; -- If arbno extension matched null, then immediately fail if Null_Match then goto Fail; end if; -- Here we must do a stack check to make sure enough stack -- is left. This check will happen once for each instance of -- the Arbno pattern that is matched. The Nat field of a -- PC_Arbno pattern contains the maximum stack entries needed -- for the Arbno with one instance and the successor pattern if Stack_Ptr + Node.Nat >= Stack'Last then raise Pattern_Stack_Overflow; end if; goto Succeed; end; -- Assign. If this node is executed, it means the assign-on-match -- or write-on-match operation will not happen after all, so we -- is propagate the failure, removing the PC_Assign node. when PC_Assign => goto Fail; -- Assign immediate. This node performs the actual assignment when PC_Assign_Imm => Set_Unbounded_String (Node.VP.all, Subject (Stack (Stack_Base - 1).Cursor + 1 .. Cursor)); Pop_Region; goto Succeed; -- Assign on match. This node sets up for the eventual assignment when PC_Assign_OnM => Stack (Stack_Base - 1).Node := Node; Push (CP_Assign'Access); Pop_Region; Assign_OnM := True; goto Succeed; -- Bal when PC_Bal => if Cursor >= Length or else Subject (Cursor + 1) = ')' then goto Fail; elsif Subject (Cursor + 1) = '(' then declare Paren_Count : Natural := 1; begin loop Cursor := Cursor + 1; if Cursor >= Length then goto Fail; elsif Subject (Cursor + 1) = '(' then Paren_Count := Paren_Count + 1; elsif Subject (Cursor + 1) = ')' then Paren_Count := Paren_Count - 1; exit when Paren_Count = 0; end if; end loop; end; end if; Cursor := Cursor + 1; Push (Node); goto Succeed; -- Break (one character case) when PC_Break_CH => while Cursor < Length loop if Subject (Cursor + 1) = Node.Char then goto Succeed; else Cursor := Cursor + 1; end if; end loop; goto Fail; -- Break (character set case) when PC_Break_CS => while Cursor < Length loop if Is_In (Subject (Cursor + 1), Node.CS) then goto Succeed; else Cursor := Cursor + 1; end if; end loop; goto Fail; -- Break (string function case) when PC_Break_VF => declare U : constant VString := Node.VF.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); while Cursor < Length loop if Is_In (Subject (Cursor + 1), S (1 .. L)) then goto Succeed; else Cursor := Cursor + 1; end if; end loop; goto Fail; end; -- Break (string pointer case) when PC_Break_VP => declare U : constant VString := Node.VP.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); while Cursor < Length loop if Is_In (Subject (Cursor + 1), S (1 .. L)) then goto Succeed; else Cursor := Cursor + 1; end if; end loop; goto Fail; end; -- BreakX (one character case) when PC_BreakX_CH => while Cursor < Length loop if Subject (Cursor + 1) = Node.Char then goto Succeed; else Cursor := Cursor + 1; end if; end loop; goto Fail; -- BreakX (character set case) when PC_BreakX_CS => while Cursor < Length loop if Is_In (Subject (Cursor + 1), Node.CS) then goto Succeed; else Cursor := Cursor + 1; end if; end loop; goto Fail; -- BreakX (string function case) when PC_BreakX_VF => declare U : constant VString := Node.VF.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); while Cursor < Length loop if Is_In (Subject (Cursor + 1), S (1 .. L)) then goto Succeed; else Cursor := Cursor + 1; end if; end loop; goto Fail; end; -- BreakX (string pointer case) when PC_BreakX_VP => declare U : constant VString := Node.VP.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); while Cursor < Length loop if Is_In (Subject (Cursor + 1), S (1 .. L)) then goto Succeed; else Cursor := Cursor + 1; end if; end loop; goto Fail; end; -- BreakX_X (BreakX extension). See section on "Compound Pattern -- Structures". This node is the alternative that is stacked to -- skip past the break character and extend the break. when PC_BreakX_X => Cursor := Cursor + 1; goto Succeed; -- Character (one character string) when PC_Char => if Cursor < Length and then Subject (Cursor + 1) = Node.Char then Cursor := Cursor + 1; goto Succeed; else goto Fail; end if; -- End of Pattern when PC_EOP => if Stack_Base = Stack_Init then goto Match_Succeed; -- End of recursive inner match. See separate section on -- handing of recursive pattern matches for details. else Node := Stack (Stack_Base - 1).Node; Pop_Region; goto Match; end if; -- Fail when PC_Fail => goto Fail; -- Fence (built in pattern) when PC_Fence => Push (CP_Cancel'Access); goto Succeed; -- Fence function node X. This is the node that gets control -- after a successful match of the fenced pattern. when PC_Fence_X => Stack_Ptr := Stack_Ptr + 1; Stack (Stack_Ptr).Cursor := Stack_Base; Stack (Stack_Ptr).Node := CP_Fence_Y'Access; Stack_Base := Stack (Stack_Base).Cursor; goto Succeed; -- Fence function node Y. This is the node that gets control on -- a failure that occurs after the fenced pattern has matched. -- Note: the Cursor at this stage is actually the inner stack -- base value. We don't reset this, but we do use it to strip -- off all the entries made by the fenced pattern. when PC_Fence_Y => Stack_Ptr := Cursor - 2; goto Fail; -- Len (integer case) when PC_Len_Nat => if Cursor + Node.Nat > Length then goto Fail; else Cursor := Cursor + Node.Nat; goto Succeed; end if; -- Len (Integer function case) when PC_Len_NF => declare N : constant Natural := Node.NF.all; begin if Cursor + N > Length then goto Fail; else Cursor := Cursor + N; goto Succeed; end if; end; -- Len (integer pointer case) when PC_Len_NP => if Cursor + Node.NP.all > Length then goto Fail; else Cursor := Cursor + Node.NP.all; goto Succeed; end if; -- NotAny (one character case) when PC_NotAny_CH => if Cursor < Length and then Subject (Cursor + 1) /= Node.Char then Cursor := Cursor + 1; goto Succeed; else goto Fail; end if; -- NotAny (character set case) when PC_NotAny_CS => if Cursor < Length and then not Is_In (Subject (Cursor + 1), Node.CS) then Cursor := Cursor + 1; goto Succeed; else goto Fail; end if; -- NotAny (string function case) when PC_NotAny_VF => declare U : constant VString := Node.VF.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); if Cursor < Length and then not Is_In (Subject (Cursor + 1), S (1 .. L)) then Cursor := Cursor + 1; goto Succeed; else goto Fail; end if; end; -- NotAny (string pointer case) when PC_NotAny_VP => declare U : constant VString := Node.VP.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); if Cursor < Length and then not Is_In (Subject (Cursor + 1), S (1 .. L)) then Cursor := Cursor + 1; goto Succeed; else goto Fail; end if; end; -- NSpan (one character case) when PC_NSpan_CH => while Cursor < Length and then Subject (Cursor + 1) = Node.Char loop Cursor := Cursor + 1; end loop; goto Succeed; -- NSpan (character set case) when PC_NSpan_CS => while Cursor < Length and then Is_In (Subject (Cursor + 1), Node.CS) loop Cursor := Cursor + 1; end loop; goto Succeed; -- NSpan (string function case) when PC_NSpan_VF => declare U : constant VString := Node.VF.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); while Cursor < Length and then Is_In (Subject (Cursor + 1), S (1 .. L)) loop Cursor := Cursor + 1; end loop; goto Succeed; end; -- NSpan (string pointer case) when PC_NSpan_VP => declare U : constant VString := Node.VP.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); while Cursor < Length and then Is_In (Subject (Cursor + 1), S (1 .. L)) loop Cursor := Cursor + 1; end loop; goto Succeed; end; -- Null string when PC_Null => goto Succeed; -- Pos (integer case) when PC_Pos_Nat => if Cursor = Node.Nat then goto Succeed; else goto Fail; end if; -- Pos (Integer function case) when PC_Pos_NF => declare N : constant Natural := Node.NF.all; begin if Cursor = N then goto Succeed; else goto Fail; end if; end; -- Pos (integer pointer case) when PC_Pos_NP => if Cursor = Node.NP.all then goto Succeed; else goto Fail; end if; -- Predicate function when PC_Pred_Func => if Node.BF.all then goto Succeed; else goto Fail; end if; -- Region Enter. Initiate new pattern history stack region when PC_R_Enter => Stack (Stack_Ptr + 1).Cursor := Cursor; Push_Region; goto Succeed; -- Region Remove node. This is the node stacked by an R_Enter. -- It removes the special format stack entry right underneath, and -- then restores the outer level stack base and signals failure. -- Note: the cursor value at this stage is actually the (negative) -- stack base value for the outer level. when PC_R_Remove => Stack_Base := Cursor; Stack_Ptr := Stack_Ptr - 1; goto Fail; -- Region restore node. This is the node stacked at the end of an -- inner level match. Its function is to restore the inner level -- region, so that alternatives in this region can be sought. -- Note: the Cursor at this stage is actually the negative of the -- inner stack base value, which we use to restore the inner region. when PC_R_Restore => Stack_Base := Cursor; goto Fail; -- Rest when PC_Rest => Cursor := Length; goto Succeed; -- Initiate recursive match (pattern pointer case) when PC_Rpat => Stack (Stack_Ptr + 1).Node := Node.Pthen; Push_Region; if Stack_Ptr + Node.PP.all.Stk >= Stack_Size then raise Pattern_Stack_Overflow; else Node := Node.PP.all.P; goto Match; end if; -- RPos (integer case) when PC_RPos_Nat => if Cursor = (Length - Node.Nat) then goto Succeed; else goto Fail; end if; -- RPos (integer function case) when PC_RPos_NF => declare N : constant Natural := Node.NF.all; begin if Length - Cursor = N then goto Succeed; else goto Fail; end if; end; -- RPos (integer pointer case) when PC_RPos_NP => if Cursor = (Length - Node.NP.all) then goto Succeed; else goto Fail; end if; -- RTab (integer case) when PC_RTab_Nat => if Cursor <= (Length - Node.Nat) then Cursor := Length - Node.Nat; goto Succeed; else goto Fail; end if; -- RTab (integer function case) when PC_RTab_NF => declare N : constant Natural := Node.NF.all; begin if Length - Cursor >= N then Cursor := Length - N; goto Succeed; else goto Fail; end if; end; -- RTab (integer pointer case) when PC_RTab_NP => if Cursor <= (Length - Node.NP.all) then Cursor := Length - Node.NP.all; goto Succeed; else goto Fail; end if; -- Cursor assignment when PC_Setcur => Node.Var.all := Cursor; goto Succeed; -- Span (one character case) when PC_Span_CH => declare P : Natural; begin P := Cursor; while P < Length and then Subject (P + 1) = Node.Char loop P := P + 1; end loop; if P /= Cursor then Cursor := P; goto Succeed; else goto Fail; end if; end; -- Span (character set case) when PC_Span_CS => declare P : Natural; begin P := Cursor; while P < Length and then Is_In (Subject (P + 1), Node.CS) loop P := P + 1; end loop; if P /= Cursor then Cursor := P; goto Succeed; else goto Fail; end if; end; -- Span (string function case) when PC_Span_VF => declare U : constant VString := Node.VF.all; S : Big_String_Access; L : Natural; P : Natural; begin Get_String (U, S, L); P := Cursor; while P < Length and then Is_In (Subject (P + 1), S (1 .. L)) loop P := P + 1; end loop; if P /= Cursor then Cursor := P; goto Succeed; else goto Fail; end if; end; -- Span (string pointer case) when PC_Span_VP => declare U : constant VString := Node.VP.all; S : Big_String_Access; L : Natural; P : Natural; begin Get_String (U, S, L); P := Cursor; while P < Length and then Is_In (Subject (P + 1), S (1 .. L)) loop P := P + 1; end loop; if P /= Cursor then Cursor := P; goto Succeed; else goto Fail; end if; end; -- String (two character case) when PC_String_2 => if (Length - Cursor) >= 2 and then Subject (Cursor + 1 .. Cursor + 2) = Node.Str2 then Cursor := Cursor + 2; goto Succeed; else goto Fail; end if; -- String (three character case) when PC_String_3 => if (Length - Cursor) >= 3 and then Subject (Cursor + 1 .. Cursor + 3) = Node.Str3 then Cursor := Cursor + 3; goto Succeed; else goto Fail; end if; -- String (four character case) when PC_String_4 => if (Length - Cursor) >= 4 and then Subject (Cursor + 1 .. Cursor + 4) = Node.Str4 then Cursor := Cursor + 4; goto Succeed; else goto Fail; end if; -- String (five character case) when PC_String_5 => if (Length - Cursor) >= 5 and then Subject (Cursor + 1 .. Cursor + 5) = Node.Str5 then Cursor := Cursor + 5; goto Succeed; else goto Fail; end if; -- String (six character case) when PC_String_6 => if (Length - Cursor) >= 6 and then Subject (Cursor + 1 .. Cursor + 6) = Node.Str6 then Cursor := Cursor + 6; goto Succeed; else goto Fail; end if; -- String (case of more than six characters) when PC_String => declare Len : constant Natural := Node.Str'Length; begin if (Length - Cursor) >= Len and then Node.Str.all = Subject (Cursor + 1 .. Cursor + Len) then Cursor := Cursor + Len; goto Succeed; else goto Fail; end if; end; -- String (function case) when PC_String_VF => declare U : constant VString := Node.VF.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); if (Length - Cursor) >= L and then S (1 .. L) = Subject (Cursor + 1 .. Cursor + L) then Cursor := Cursor + L; goto Succeed; else goto Fail; end if; end; -- String (pointer case) when PC_String_VP => declare U : constant VString := Node.VP.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); if (Length - Cursor) >= L and then S (1 .. L) = Subject (Cursor + 1 .. Cursor + L) then Cursor := Cursor + L; goto Succeed; else goto Fail; end if; end; -- Succeed when PC_Succeed => Push (Node); goto Succeed; -- Tab (integer case) when PC_Tab_Nat => if Cursor <= Node.Nat then Cursor := Node.Nat; goto Succeed; else goto Fail; end if; -- Tab (integer function case) when PC_Tab_NF => declare N : constant Natural := Node.NF.all; begin if Cursor <= N then Cursor := N; goto Succeed; else goto Fail; end if; end; -- Tab (integer pointer case) when PC_Tab_NP => if Cursor <= Node.NP.all then Cursor := Node.NP.all; goto Succeed; else goto Fail; end if; -- Unanchored movement when PC_Unanchored => -- All done if we tried every position if Cursor > Length then goto Match_Fail; -- Otherwise extend the anchor point, and restack ourself else Cursor := Cursor + 1; Push (Node); goto Succeed; end if; -- Write immediate. This node performs the actual write when PC_Write_Imm => Put_Line (Node.FP.all, Subject (Stack (Stack_Base - 1).Cursor + 1 .. Cursor)); Pop_Region; goto Succeed; -- Write on match. This node sets up for the eventual write when PC_Write_OnM => Stack (Stack_Base - 1).Node := Node; Push (CP_Assign'Access); Pop_Region; Assign_OnM := True; goto Succeed; end case; -- We are NOT allowed to fall though this case statement, since every -- match routine must end by executing a goto to the appropriate point -- in the finite state machine model. pragma Warnings (Off); Logic_Error; pragma Warnings (On); end XMatch; ------------- -- XMatchD -- ------------- -- Maintenance note: There is a LOT of code duplication between XMatch -- and XMatchD. This is quite intentional, the point is to avoid any -- unnecessary debugging overhead in the XMatch case, but this does mean -- that any changes to XMatchD must be mirrored in XMatch. In case of -- any major changes, the proper approach is to delete XMatch, make the -- changes to XMatchD, and then make a copy of XMatchD, removing all -- calls to Dout, and all Put and Put_Line operations. This copy becomes -- the new XMatch. procedure XMatchD (Subject : String; Pat_P : PE_Ptr; Pat_S : Natural; Start : out Natural; Stop : out Natural) is Node : PE_Ptr; -- Pointer to current pattern node. Initialized from Pat_P, and then -- updated as the match proceeds through its constituent elements. Length : constant Natural := Subject'Length; -- Length of string (= Subject'Last, since Subject'First is always 1) Cursor : Integer := 0; -- If the value is non-negative, then this value is the index showing -- the current position of the match in the subject string. The next -- character to be matched is at Subject (Cursor + 1). Note that since -- our view of the subject string in XMatch always has a lower bound -- of one, regardless of original bounds, that this definition exactly -- corresponds to the cursor value as referenced by functions like Pos. -- -- If the value is negative, then this is a saved stack pointer, -- typically a base pointer of an inner or outer region. Cursor -- temporarily holds such a value when it is popped from the stack -- by Fail. In all cases, Cursor is reset to a proper non-negative -- cursor value before the match proceeds (e.g. by propagating the -- failure and popping a "real" cursor value from the stack. PE_Unanchored : aliased PE := (PC_Unanchored, 0, Pat_P); -- Dummy pattern element used in the unanchored case Region_Level : Natural := 0; -- Keeps track of recursive region level. This is used only for -- debugging, it is the number of saved history stack base values. Stack : Stack_Type; -- The pattern matching failure stack for this call to Match Stack_Ptr : Stack_Range; -- Current stack pointer. This points to the top element of the stack -- that is currently in use. At the outer level this is the special -- entry placed on the stack according to the anchor mode. Stack_Init : constant Stack_Range := Stack'First + 1; -- This is the initial value of the Stack_Ptr and Stack_Base. The -- initial (Stack'First) element of the stack is not used so that -- when we pop the last element off, Stack_Ptr is still in range. Stack_Base : Stack_Range; -- This value is the stack base value, i.e. the stack pointer for the -- first history stack entry in the current stack region. See separate -- section on handling of recursive pattern matches. Assign_OnM : Boolean := False; -- Set True if assign-on-match or write-on-match operations may be -- present in the history stack, which must then be scanned on a -- successful match. procedure Dout (Str : String); -- Output string to standard error with bars indicating region level procedure Dout (Str : String; A : Character); -- Calls Dout with the string S ('A') procedure Dout (Str : String; A : Character_Set); -- Calls Dout with the string S ("A") procedure Dout (Str : String; A : Natural); -- Calls Dout with the string S (A) procedure Dout (Str : String; A : String); -- Calls Dout with the string S ("A") function Img (P : PE_Ptr) return String; -- Returns a string of the form #nnn where nnn is P.Index procedure Pop_Region; pragma Inline (Pop_Region); -- Used at the end of processing of an inner region. If the inner -- region left no stack entries, then all trace of it is removed. -- Otherwise a PC_Restore_Region entry is pushed to ensure proper -- handling of alternatives in the inner region. procedure Push (Node : PE_Ptr); pragma Inline (Push); -- Make entry in pattern matching stack with current cursor value procedure Push_Region; pragma Inline (Push_Region); -- This procedure makes a new region on the history stack. The -- caller first establishes the special entry on the stack, but -- does not push the stack pointer. Then this call stacks a -- PC_Remove_Region node, on top of this entry, using the cursor -- field of the PC_Remove_Region entry to save the outer level -- stack base value, and resets the stack base to point to this -- PC_Remove_Region node. ---------- -- Dout -- ---------- procedure Dout (Str : String) is begin for J in 1 .. Region_Level loop Put ("| "); end loop; Put_Line (Str); end Dout; procedure Dout (Str : String; A : Character) is begin Dout (Str & " ('" & A & "')"); end Dout; procedure Dout (Str : String; A : Character_Set) is begin Dout (Str & " (" & Image (To_Sequence (A)) & ')'); end Dout; procedure Dout (Str : String; A : Natural) is begin Dout (Str & " (" & A & ')'); end Dout; procedure Dout (Str : String; A : String) is begin Dout (Str & " (" & Image (A) & ')'); end Dout; --------- -- Img -- --------- function Img (P : PE_Ptr) return String is begin return "#" & Integer (P.Index) & " "; end Img; ---------------- -- Pop_Region -- ---------------- procedure Pop_Region is begin Region_Level := Region_Level - 1; -- If nothing was pushed in the inner region, we can just get -- rid of it entirely, leaving no traces that it was ever there if Stack_Ptr = Stack_Base then Stack_Ptr := Stack_Base - 2; Stack_Base := Stack (Stack_Ptr + 2).Cursor; -- If stuff was pushed in the inner region, then we have to -- push a PC_R_Restore node so that we properly handle possible -- rematches within the region. else Stack_Ptr := Stack_Ptr + 1; Stack (Stack_Ptr).Cursor := Stack_Base; Stack (Stack_Ptr).Node := CP_R_Restore'Access; Stack_Base := Stack (Stack_Base).Cursor; end if; end Pop_Region; ---------- -- Push -- ---------- procedure Push (Node : PE_Ptr) is begin Stack_Ptr := Stack_Ptr + 1; Stack (Stack_Ptr).Cursor := Cursor; Stack (Stack_Ptr).Node := Node; end Push; ----------------- -- Push_Region -- ----------------- procedure Push_Region is begin Region_Level := Region_Level + 1; Stack_Ptr := Stack_Ptr + 2; Stack (Stack_Ptr).Cursor := Stack_Base; Stack (Stack_Ptr).Node := CP_R_Remove'Access; Stack_Base := Stack_Ptr; end Push_Region; -- Start of processing for XMatchD begin New_Line; Put_Line ("Initiating pattern match, subject = " & Image (Subject)); Put ("--------------------------------------"); for J in 1 .. Length loop Put ('-'); end loop; New_Line; Put_Line ("subject length = " & Length); if Pat_P = null then Uninitialized_Pattern; end if; -- Check we have enough stack for this pattern. This check deals with -- every possibility except a match of a recursive pattern, where we -- make a check at each recursion level. if Pat_S >= Stack_Size - 1 then raise Pattern_Stack_Overflow; end if; -- In anchored mode, the bottom entry on the stack is an abort entry if Anchored_Mode then Stack (Stack_Init).Node := CP_Cancel'Access; Stack (Stack_Init).Cursor := 0; -- In unanchored more, the bottom entry on the stack references -- the special pattern element PE_Unanchored, whose Pthen field -- points to the initial pattern element. The cursor value in this -- entry is the number of anchor moves so far. else Stack (Stack_Init).Node := PE_Unanchored'Unchecked_Access; Stack (Stack_Init).Cursor := 0; end if; Stack_Ptr := Stack_Init; Stack_Base := Stack_Ptr; Cursor := 0; Node := Pat_P; goto Match; ----------------------------------------- -- Main Pattern Matching State Control -- ----------------------------------------- -- This is a state machine which uses gotos to change state. The -- initial state is Match, to initiate the matching of the first -- element, so the goto Match above starts the match. In the -- following descriptions, we indicate the global values that -- are relevant for the state transition. -- Come here if entire match fails <<Match_Fail>> Dout ("match fails"); New_Line; Start := 0; Stop := 0; return; -- Come here if entire match succeeds -- Cursor current position in subject string <<Match_Succeed>> Dout ("match succeeds"); Start := Stack (Stack_Init).Cursor + 1; Stop := Cursor; Dout ("first matched character index = " & Start); Dout ("last matched character index = " & Stop); Dout ("matched substring = " & Image (Subject (Start .. Stop))); -- Scan history stack for deferred assignments or writes if Assign_OnM then for S in Stack'First .. Stack_Ptr loop if Stack (S).Node = CP_Assign'Access then declare Inner_Base : constant Stack_Range := Stack (S + 1).Cursor; Special_Entry : constant Stack_Range := Inner_Base - 1; Node_OnM : constant PE_Ptr := Stack (Special_Entry).Node; Start : constant Natural := Stack (Special_Entry).Cursor + 1; Stop : constant Natural := Stack (S).Cursor; begin if Node_OnM.Pcode = PC_Assign_OnM then Set_Unbounded_String (Node_OnM.VP.all, Subject (Start .. Stop)); Dout (Img (Stack (S).Node) & "deferred assignment of " & Image (Subject (Start .. Stop))); elsif Node_OnM.Pcode = PC_Write_OnM then Put_Line (Node_OnM.FP.all, Subject (Start .. Stop)); Dout (Img (Stack (S).Node) & "deferred write of " & Image (Subject (Start .. Stop))); else Logic_Error; end if; end; end if; end loop; end if; New_Line; return; -- Come here if attempt to match current element fails -- Stack_Base current stack base -- Stack_Ptr current stack pointer <<Fail>> Cursor := Stack (Stack_Ptr).Cursor; Node := Stack (Stack_Ptr).Node; Stack_Ptr := Stack_Ptr - 1; if Cursor >= 0 then Dout ("failure, cursor reset to " & Cursor); end if; goto Match; -- Come here if attempt to match current element succeeds -- Cursor current position in subject string -- Node pointer to node successfully matched -- Stack_Base current stack base -- Stack_Ptr current stack pointer <<Succeed>> Dout ("success, cursor = " & Cursor); Node := Node.Pthen; -- Come here to match the next pattern element -- Cursor current position in subject string -- Node pointer to node to be matched -- Stack_Base current stack base -- Stack_Ptr current stack pointer <<Match>> -------------------------------------------------- -- Main Pattern Match Element Matching Routines -- -------------------------------------------------- -- Here is the case statement that processes the current node. The -- processing for each element does one of five things: -- goto Succeed to move to the successor -- goto Match_Succeed if the entire match succeeds -- goto Match_Fail if the entire match fails -- goto Fail to signal failure of current match -- Processing is NOT allowed to fall through case Node.Pcode is -- Cancel when PC_Cancel => Dout (Img (Node) & "matching Cancel"); goto Match_Fail; -- Alternation when PC_Alt => Dout (Img (Node) & "setting up alternative " & Img (Node.Alt)); Push (Node.Alt); Node := Node.Pthen; goto Match; -- Any (one character case) when PC_Any_CH => Dout (Img (Node) & "matching Any", Node.Char); if Cursor < Length and then Subject (Cursor + 1) = Node.Char then Cursor := Cursor + 1; goto Succeed; else goto Fail; end if; -- Any (character set case) when PC_Any_CS => Dout (Img (Node) & "matching Any", Node.CS); if Cursor < Length and then Is_In (Subject (Cursor + 1), Node.CS) then Cursor := Cursor + 1; goto Succeed; else goto Fail; end if; -- Any (string function case) when PC_Any_VF => declare U : constant VString := Node.VF.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); Dout (Img (Node) & "matching Any", S (1 .. L)); if Cursor < Length and then Is_In (Subject (Cursor + 1), S (1 .. L)) then Cursor := Cursor + 1; goto Succeed; else goto Fail; end if; end; -- Any (string pointer case) when PC_Any_VP => declare U : constant VString := Node.VP.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); Dout (Img (Node) & "matching Any", S (1 .. L)); if Cursor < Length and then Is_In (Subject (Cursor + 1), S (1 .. L)) then Cursor := Cursor + 1; goto Succeed; else goto Fail; end if; end; -- Arb (initial match) when PC_Arb_X => Dout (Img (Node) & "matching Arb"); Push (Node.Alt); Node := Node.Pthen; goto Match; -- Arb (extension) when PC_Arb_Y => Dout (Img (Node) & "extending Arb"); if Cursor < Length then Cursor := Cursor + 1; Push (Node); goto Succeed; else goto Fail; end if; -- Arbno_S (simple Arbno initialize). This is the node that -- initiates the match of a simple Arbno structure. when PC_Arbno_S => Dout (Img (Node) & "setting up Arbno alternative " & Img (Node.Alt)); Push (Node.Alt); Node := Node.Pthen; goto Match; -- Arbno_X (Arbno initialize). This is the node that initiates -- the match of a complex Arbno structure. when PC_Arbno_X => Dout (Img (Node) & "setting up Arbno alternative " & Img (Node.Alt)); Push (Node.Alt); Node := Node.Pthen; goto Match; -- Arbno_Y (Arbno rematch). This is the node that is executed -- following successful matching of one instance of a complex -- Arbno pattern. when PC_Arbno_Y => declare Null_Match : constant Boolean := Cursor = Stack (Stack_Base - 1).Cursor; begin Dout (Img (Node) & "extending Arbno"); Pop_Region; -- If arbno extension matched null, then immediately fail if Null_Match then Dout ("Arbno extension matched null, so fails"); goto Fail; end if; -- Here we must do a stack check to make sure enough stack -- is left. This check will happen once for each instance of -- the Arbno pattern that is matched. The Nat field of a -- PC_Arbno pattern contains the maximum stack entries needed -- for the Arbno with one instance and the successor pattern if Stack_Ptr + Node.Nat >= Stack'Last then raise Pattern_Stack_Overflow; end if; goto Succeed; end; -- Assign. If this node is executed, it means the assign-on-match -- or write-on-match operation will not happen after all, so we -- is propagate the failure, removing the PC_Assign node. when PC_Assign => Dout (Img (Node) & "deferred assign/write cancelled"); goto Fail; -- Assign immediate. This node performs the actual assignment when PC_Assign_Imm => Dout (Img (Node) & "executing immediate assignment of " & Image (Subject (Stack (Stack_Base - 1).Cursor + 1 .. Cursor))); Set_Unbounded_String (Node.VP.all, Subject (Stack (Stack_Base - 1).Cursor + 1 .. Cursor)); Pop_Region; goto Succeed; -- Assign on match. This node sets up for the eventual assignment when PC_Assign_OnM => Dout (Img (Node) & "registering deferred assignment"); Stack (Stack_Base - 1).Node := Node; Push (CP_Assign'Access); Pop_Region; Assign_OnM := True; goto Succeed; -- Bal when PC_Bal => Dout (Img (Node) & "matching or extending Bal"); if Cursor >= Length or else Subject (Cursor + 1) = ')' then goto Fail; elsif Subject (Cursor + 1) = '(' then declare Paren_Count : Natural := 1; begin loop Cursor := Cursor + 1; if Cursor >= Length then goto Fail; elsif Subject (Cursor + 1) = '(' then Paren_Count := Paren_Count + 1; elsif Subject (Cursor + 1) = ')' then Paren_Count := Paren_Count - 1; exit when Paren_Count = 0; end if; end loop; end; end if; Cursor := Cursor + 1; Push (Node); goto Succeed; -- Break (one character case) when PC_Break_CH => Dout (Img (Node) & "matching Break", Node.Char); while Cursor < Length loop if Subject (Cursor + 1) = Node.Char then goto Succeed; else Cursor := Cursor + 1; end if; end loop; goto Fail; -- Break (character set case) when PC_Break_CS => Dout (Img (Node) & "matching Break", Node.CS); while Cursor < Length loop if Is_In (Subject (Cursor + 1), Node.CS) then goto Succeed; else Cursor := Cursor + 1; end if; end loop; goto Fail; -- Break (string function case) when PC_Break_VF => declare U : constant VString := Node.VF.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); Dout (Img (Node) & "matching Break", S (1 .. L)); while Cursor < Length loop if Is_In (Subject (Cursor + 1), S (1 .. L)) then goto Succeed; else Cursor := Cursor + 1; end if; end loop; goto Fail; end; -- Break (string pointer case) when PC_Break_VP => declare U : constant VString := Node.VP.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); Dout (Img (Node) & "matching Break", S (1 .. L)); while Cursor < Length loop if Is_In (Subject (Cursor + 1), S (1 .. L)) then goto Succeed; else Cursor := Cursor + 1; end if; end loop; goto Fail; end; -- BreakX (one character case) when PC_BreakX_CH => Dout (Img (Node) & "matching BreakX", Node.Char); while Cursor < Length loop if Subject (Cursor + 1) = Node.Char then goto Succeed; else Cursor := Cursor + 1; end if; end loop; goto Fail; -- BreakX (character set case) when PC_BreakX_CS => Dout (Img (Node) & "matching BreakX", Node.CS); while Cursor < Length loop if Is_In (Subject (Cursor + 1), Node.CS) then goto Succeed; else Cursor := Cursor + 1; end if; end loop; goto Fail; -- BreakX (string function case) when PC_BreakX_VF => declare U : constant VString := Node.VF.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); Dout (Img (Node) & "matching BreakX", S (1 .. L)); while Cursor < Length loop if Is_In (Subject (Cursor + 1), S (1 .. L)) then goto Succeed; else Cursor := Cursor + 1; end if; end loop; goto Fail; end; -- BreakX (string pointer case) when PC_BreakX_VP => declare U : constant VString := Node.VP.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); Dout (Img (Node) & "matching BreakX", S (1 .. L)); while Cursor < Length loop if Is_In (Subject (Cursor + 1), S (1 .. L)) then goto Succeed; else Cursor := Cursor + 1; end if; end loop; goto Fail; end; -- BreakX_X (BreakX extension). See section on "Compound Pattern -- Structures". This node is the alternative that is stacked -- to skip past the break character and extend the break. when PC_BreakX_X => Dout (Img (Node) & "extending BreakX"); Cursor := Cursor + 1; goto Succeed; -- Character (one character string) when PC_Char => Dout (Img (Node) & "matching '" & Node.Char & '''); if Cursor < Length and then Subject (Cursor + 1) = Node.Char then Cursor := Cursor + 1; goto Succeed; else goto Fail; end if; -- End of Pattern when PC_EOP => if Stack_Base = Stack_Init then Dout ("end of pattern"); goto Match_Succeed; -- End of recursive inner match. See separate section on -- handing of recursive pattern matches for details. else Dout ("terminating recursive match"); Node := Stack (Stack_Base - 1).Node; Pop_Region; goto Match; end if; -- Fail when PC_Fail => Dout (Img (Node) & "matching Fail"); goto Fail; -- Fence (built in pattern) when PC_Fence => Dout (Img (Node) & "matching Fence"); Push (CP_Cancel'Access); goto Succeed; -- Fence function node X. This is the node that gets control -- after a successful match of the fenced pattern. when PC_Fence_X => Dout (Img (Node) & "matching Fence function"); Stack_Ptr := Stack_Ptr + 1; Stack (Stack_Ptr).Cursor := Stack_Base; Stack (Stack_Ptr).Node := CP_Fence_Y'Access; Stack_Base := Stack (Stack_Base).Cursor; Region_Level := Region_Level - 1; goto Succeed; -- Fence function node Y. This is the node that gets control on -- a failure that occurs after the fenced pattern has matched. -- Note: the Cursor at this stage is actually the inner stack -- base value. We don't reset this, but we do use it to strip -- off all the entries made by the fenced pattern. when PC_Fence_Y => Dout (Img (Node) & "pattern matched by Fence caused failure"); Stack_Ptr := Cursor - 2; goto Fail; -- Len (integer case) when PC_Len_Nat => Dout (Img (Node) & "matching Len", Node.Nat); if Cursor + Node.Nat > Length then goto Fail; else Cursor := Cursor + Node.Nat; goto Succeed; end if; -- Len (Integer function case) when PC_Len_NF => declare N : constant Natural := Node.NF.all; begin Dout (Img (Node) & "matching Len", N); if Cursor + N > Length then goto Fail; else Cursor := Cursor + N; goto Succeed; end if; end; -- Len (integer pointer case) when PC_Len_NP => Dout (Img (Node) & "matching Len", Node.NP.all); if Cursor + Node.NP.all > Length then goto Fail; else Cursor := Cursor + Node.NP.all; goto Succeed; end if; -- NotAny (one character case) when PC_NotAny_CH => Dout (Img (Node) & "matching NotAny", Node.Char); if Cursor < Length and then Subject (Cursor + 1) /= Node.Char then Cursor := Cursor + 1; goto Succeed; else goto Fail; end if; -- NotAny (character set case) when PC_NotAny_CS => Dout (Img (Node) & "matching NotAny", Node.CS); if Cursor < Length and then not Is_In (Subject (Cursor + 1), Node.CS) then Cursor := Cursor + 1; goto Succeed; else goto Fail; end if; -- NotAny (string function case) when PC_NotAny_VF => declare U : constant VString := Node.VF.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); Dout (Img (Node) & "matching NotAny", S (1 .. L)); if Cursor < Length and then not Is_In (Subject (Cursor + 1), S (1 .. L)) then Cursor := Cursor + 1; goto Succeed; else goto Fail; end if; end; -- NotAny (string pointer case) when PC_NotAny_VP => declare U : constant VString := Node.VP.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); Dout (Img (Node) & "matching NotAny", S (1 .. L)); if Cursor < Length and then not Is_In (Subject (Cursor + 1), S (1 .. L)) then Cursor := Cursor + 1; goto Succeed; else goto Fail; end if; end; -- NSpan (one character case) when PC_NSpan_CH => Dout (Img (Node) & "matching NSpan", Node.Char); while Cursor < Length and then Subject (Cursor + 1) = Node.Char loop Cursor := Cursor + 1; end loop; goto Succeed; -- NSpan (character set case) when PC_NSpan_CS => Dout (Img (Node) & "matching NSpan", Node.CS); while Cursor < Length and then Is_In (Subject (Cursor + 1), Node.CS) loop Cursor := Cursor + 1; end loop; goto Succeed; -- NSpan (string function case) when PC_NSpan_VF => declare U : constant VString := Node.VF.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); Dout (Img (Node) & "matching NSpan", S (1 .. L)); while Cursor < Length and then Is_In (Subject (Cursor + 1), S (1 .. L)) loop Cursor := Cursor + 1; end loop; goto Succeed; end; -- NSpan (string pointer case) when PC_NSpan_VP => declare U : constant VString := Node.VP.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); Dout (Img (Node) & "matching NSpan", S (1 .. L)); while Cursor < Length and then Is_In (Subject (Cursor + 1), S (1 .. L)) loop Cursor := Cursor + 1; end loop; goto Succeed; end; when PC_Null => Dout (Img (Node) & "matching null"); goto Succeed; -- Pos (integer case) when PC_Pos_Nat => Dout (Img (Node) & "matching Pos", Node.Nat); if Cursor = Node.Nat then goto Succeed; else goto Fail; end if; -- Pos (Integer function case) when PC_Pos_NF => declare N : constant Natural := Node.NF.all; begin Dout (Img (Node) & "matching Pos", N); if Cursor = N then goto Succeed; else goto Fail; end if; end; -- Pos (integer pointer case) when PC_Pos_NP => Dout (Img (Node) & "matching Pos", Node.NP.all); if Cursor = Node.NP.all then goto Succeed; else goto Fail; end if; -- Predicate function when PC_Pred_Func => Dout (Img (Node) & "matching predicate function"); if Node.BF.all then goto Succeed; else goto Fail; end if; -- Region Enter. Initiate new pattern history stack region when PC_R_Enter => Dout (Img (Node) & "starting match of nested pattern"); Stack (Stack_Ptr + 1).Cursor := Cursor; Push_Region; goto Succeed; -- Region Remove node. This is the node stacked by an R_Enter. -- It removes the special format stack entry right underneath, and -- then restores the outer level stack base and signals failure. -- Note: the cursor value at this stage is actually the (negative) -- stack base value for the outer level. when PC_R_Remove => Dout ("failure, match of nested pattern terminated"); Stack_Base := Cursor; Region_Level := Region_Level - 1; Stack_Ptr := Stack_Ptr - 1; goto Fail; -- Region restore node. This is the node stacked at the end of an -- inner level match. Its function is to restore the inner level -- region, so that alternatives in this region can be sought. -- Note: the Cursor at this stage is actually the negative of the -- inner stack base value, which we use to restore the inner region. when PC_R_Restore => Dout ("failure, search for alternatives in nested pattern"); Region_Level := Region_Level + 1; Stack_Base := Cursor; goto Fail; -- Rest when PC_Rest => Dout (Img (Node) & "matching Rest"); Cursor := Length; goto Succeed; -- Initiate recursive match (pattern pointer case) when PC_Rpat => Stack (Stack_Ptr + 1).Node := Node.Pthen; Push_Region; Dout (Img (Node) & "initiating recursive match"); if Stack_Ptr + Node.PP.all.Stk >= Stack_Size then raise Pattern_Stack_Overflow; else Node := Node.PP.all.P; goto Match; end if; -- RPos (integer case) when PC_RPos_Nat => Dout (Img (Node) & "matching RPos", Node.Nat); if Cursor = (Length - Node.Nat) then goto Succeed; else goto Fail; end if; -- RPos (integer function case) when PC_RPos_NF => declare N : constant Natural := Node.NF.all; begin Dout (Img (Node) & "matching RPos", N); if Length - Cursor = N then goto Succeed; else goto Fail; end if; end; -- RPos (integer pointer case) when PC_RPos_NP => Dout (Img (Node) & "matching RPos", Node.NP.all); if Cursor = (Length - Node.NP.all) then goto Succeed; else goto Fail; end if; -- RTab (integer case) when PC_RTab_Nat => Dout (Img (Node) & "matching RTab", Node.Nat); if Cursor <= (Length - Node.Nat) then Cursor := Length - Node.Nat; goto Succeed; else goto Fail; end if; -- RTab (integer function case) when PC_RTab_NF => declare N : constant Natural := Node.NF.all; begin Dout (Img (Node) & "matching RPos", N); if Length - Cursor >= N then Cursor := Length - N; goto Succeed; else goto Fail; end if; end; -- RTab (integer pointer case) when PC_RTab_NP => Dout (Img (Node) & "matching RPos", Node.NP.all); if Cursor <= (Length - Node.NP.all) then Cursor := Length - Node.NP.all; goto Succeed; else goto Fail; end if; -- Cursor assignment when PC_Setcur => Dout (Img (Node) & "matching Setcur"); Node.Var.all := Cursor; goto Succeed; -- Span (one character case) when PC_Span_CH => declare P : Natural := Cursor; begin Dout (Img (Node) & "matching Span", Node.Char); while P < Length and then Subject (P + 1) = Node.Char loop P := P + 1; end loop; if P /= Cursor then Cursor := P; goto Succeed; else goto Fail; end if; end; -- Span (character set case) when PC_Span_CS => declare P : Natural := Cursor; begin Dout (Img (Node) & "matching Span", Node.CS); while P < Length and then Is_In (Subject (P + 1), Node.CS) loop P := P + 1; end loop; if P /= Cursor then Cursor := P; goto Succeed; else goto Fail; end if; end; -- Span (string function case) when PC_Span_VF => declare U : constant VString := Node.VF.all; S : Big_String_Access; L : Natural; P : Natural; begin Get_String (U, S, L); Dout (Img (Node) & "matching Span", S (1 .. L)); P := Cursor; while P < Length and then Is_In (Subject (P + 1), S (1 .. L)) loop P := P + 1; end loop; if P /= Cursor then Cursor := P; goto Succeed; else goto Fail; end if; end; -- Span (string pointer case) when PC_Span_VP => declare U : constant VString := Node.VP.all; S : Big_String_Access; L : Natural; P : Natural; begin Get_String (U, S, L); Dout (Img (Node) & "matching Span", S (1 .. L)); P := Cursor; while P < Length and then Is_In (Subject (P + 1), S (1 .. L)) loop P := P + 1; end loop; if P /= Cursor then Cursor := P; goto Succeed; else goto Fail; end if; end; -- String (two character case) when PC_String_2 => Dout (Img (Node) & "matching " & Image (Node.Str2)); if (Length - Cursor) >= 2 and then Subject (Cursor + 1 .. Cursor + 2) = Node.Str2 then Cursor := Cursor + 2; goto Succeed; else goto Fail; end if; -- String (three character case) when PC_String_3 => Dout (Img (Node) & "matching " & Image (Node.Str3)); if (Length - Cursor) >= 3 and then Subject (Cursor + 1 .. Cursor + 3) = Node.Str3 then Cursor := Cursor + 3; goto Succeed; else goto Fail; end if; -- String (four character case) when PC_String_4 => Dout (Img (Node) & "matching " & Image (Node.Str4)); if (Length - Cursor) >= 4 and then Subject (Cursor + 1 .. Cursor + 4) = Node.Str4 then Cursor := Cursor + 4; goto Succeed; else goto Fail; end if; -- String (five character case) when PC_String_5 => Dout (Img (Node) & "matching " & Image (Node.Str5)); if (Length - Cursor) >= 5 and then Subject (Cursor + 1 .. Cursor + 5) = Node.Str5 then Cursor := Cursor + 5; goto Succeed; else goto Fail; end if; -- String (six character case) when PC_String_6 => Dout (Img (Node) & "matching " & Image (Node.Str6)); if (Length - Cursor) >= 6 and then Subject (Cursor + 1 .. Cursor + 6) = Node.Str6 then Cursor := Cursor + 6; goto Succeed; else goto Fail; end if; -- String (case of more than six characters) when PC_String => declare Len : constant Natural := Node.Str'Length; begin Dout (Img (Node) & "matching " & Image (Node.Str.all)); if (Length - Cursor) >= Len and then Node.Str.all = Subject (Cursor + 1 .. Cursor + Len) then Cursor := Cursor + Len; goto Succeed; else goto Fail; end if; end; -- String (function case) when PC_String_VF => declare U : constant VString := Node.VF.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); Dout (Img (Node) & "matching " & Image (S (1 .. L))); if (Length - Cursor) >= L and then S (1 .. L) = Subject (Cursor + 1 .. Cursor + L) then Cursor := Cursor + L; goto Succeed; else goto Fail; end if; end; -- String (vstring pointer case) when PC_String_VP => declare U : constant VString := Node.VP.all; S : Big_String_Access; L : Natural; begin Get_String (U, S, L); Dout (Img (Node) & "matching " & Image (S (1 .. L))); if (Length - Cursor) >= L and then S (1 .. L) = Subject (Cursor + 1 .. Cursor + L) then Cursor := Cursor + L; goto Succeed; else goto Fail; end if; end; -- Succeed when PC_Succeed => Dout (Img (Node) & "matching Succeed"); Push (Node); goto Succeed; -- Tab (integer case) when PC_Tab_Nat => Dout (Img (Node) & "matching Tab", Node.Nat); if Cursor <= Node.Nat then Cursor := Node.Nat; goto Succeed; else goto Fail; end if; -- Tab (integer function case) when PC_Tab_NF => declare N : constant Natural := Node.NF.all; begin Dout (Img (Node) & "matching Tab ", N); if Cursor <= N then Cursor := N; goto Succeed; else goto Fail; end if; end; -- Tab (integer pointer case) when PC_Tab_NP => Dout (Img (Node) & "matching Tab ", Node.NP.all); if Cursor <= Node.NP.all then Cursor := Node.NP.all; goto Succeed; else goto Fail; end if; -- Unanchored movement when PC_Unanchored => Dout ("attempting to move anchor point"); -- All done if we tried every position if Cursor > Length then goto Match_Fail; -- Otherwise extend the anchor point, and restack ourself else Cursor := Cursor + 1; Push (Node); goto Succeed; end if; -- Write immediate. This node performs the actual write when PC_Write_Imm => Dout (Img (Node) & "executing immediate write of " & Subject (Stack (Stack_Base - 1).Cursor + 1 .. Cursor)); Put_Line (Node.FP.all, Subject (Stack (Stack_Base - 1).Cursor + 1 .. Cursor)); Pop_Region; goto Succeed; -- Write on match. This node sets up for the eventual write when PC_Write_OnM => Dout (Img (Node) & "registering deferred write"); Stack (Stack_Base - 1).Node := Node; Push (CP_Assign'Access); Pop_Region; Assign_OnM := True; goto Succeed; end case; -- We are NOT allowed to fall though this case statement, since every -- match routine must end by executing a goto to the appropriate point -- in the finite state machine model. pragma Warnings (Off); Logic_Error; pragma Warnings (On); end XMatchD; end GNAT.Spitbol.Patterns;
-- { dg-do compile } procedure equal_access is PA, PB : access procedure := null; begin if PA /= PB then null; end if; end;
----------------------------------------------------------------------- -- security-oauth -- OAuth Security -- Copyright (C) 2012, 2013 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Ada.Numerics.Discrete_Random; with Interfaces; with Ada.Streams; with Util.Log.Loggers; with Util.Strings; with Util.Http.Clients; with Util.Properties.JSON; with Util.Encoders.Base64; with Util.Encoders.HMAC.SHA1; -- The <b>Security.OAuth.Clients</b> package implements the client OAuth 2.0 authorization. -- -- Note: OAuth 1.0 could be implemented but since it's being deprecated it's not worth doing it. package body Security.OAuth.Clients is Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("Security.OAuth.Clients"); -- ------------------------------ -- Access Token -- ------------------------------ package Id_Random is new Ada.Numerics.Discrete_Random (Interfaces.Unsigned_32); protected type Random is procedure Generate (Into : out Ada.Streams.Stream_Element_Array); private -- Random number generator used for ID generation. Random : Id_Random.Generator; end Random; protected body Random is procedure Generate (Into : out Ada.Streams.Stream_Element_Array) is use Ada.Streams; use Interfaces; Size : constant Ada.Streams.Stream_Element_Offset := Into'Last / 4; begin -- Generate the random sequence. for I in 0 .. Size loop declare Value : constant Unsigned_32 := Id_Random.Random (Random); begin Into (4 * I) := Stream_Element (Value and 16#0FF#); Into (4 * I + 1) := Stream_Element (Shift_Right (Value, 8) and 16#0FF#); Into (4 * I + 2) := Stream_Element (Shift_Right (Value, 16) and 16#0FF#); Into (4 * I + 3) := Stream_Element (Shift_Right (Value, 24) and 16#0FF#); end; end loop; end Generate; end Random; Random_Generator : Random; -- ------------------------------ -- Generate a random nonce with at last the number of random bits. -- The number of bits is rounded up to a multiple of 32. -- The random bits are then converted to base64url in the returned string. -- ------------------------------ function Create_Nonce (Bits : in Positive := 256) return String is use type Ada.Streams.Stream_Element_Offset; Rand_Count : constant Ada.Streams.Stream_Element_Offset := Ada.Streams.Stream_Element_Offset (4 * ((Bits + 31) / 32)); Rand : Ada.Streams.Stream_Element_Array (0 .. Rand_Count - 1); Buffer : Ada.Streams.Stream_Element_Array (0 .. Rand_Count * 3); Encoder : Util.Encoders.Base64.Encoder; Last : Ada.Streams.Stream_Element_Offset; Encoded : Ada.Streams.Stream_Element_Offset; begin -- Generate the random sequence. Random_Generator.Generate (Rand); -- Encode the random stream in base64url and save it into the result string. Encoder.Set_URL_Mode (True); Encoder.Transform (Data => Rand, Into => Buffer, Last => Last, Encoded => Encoded); declare Result : String (1 .. Natural (Encoded + 1)); begin for I in 0 .. Encoded loop Result (Natural (I + 1)) := Character'Val (Buffer (I)); end loop; return Result; end; end Create_Nonce; -- ------------------------------ -- Get the principal name. This is the OAuth access token. -- ------------------------------ function Get_Name (From : in Access_Token) return String is begin return From.Access_Id; end Get_Name; -- ------------------------------ -- Get the id_token that was returned by the authentication process. -- ------------------------------ function Get_Id_Token (From : in OpenID_Token) return String is begin return From.Id_Token; end Get_Id_Token; -- ------------------------------ -- Get the application identifier. -- ------------------------------ function Get_Application_Identifier (App : in Application) return String is begin return Ada.Strings.Unbounded.To_String (App.Client_Id); end Get_Application_Identifier; -- ------------------------------ -- Set the application identifier used by the OAuth authorization server -- to identify the application (for example, the App ID in Facebook). -- ------------------------------ procedure Set_Application_Identifier (App : in out Application; Client : in String) is use Ada.Strings.Unbounded; begin App.Client_Id := To_Unbounded_String (Client); App.Protect := App.Client_Id & App.Callback; end Set_Application_Identifier; -- ------------------------------ -- Set the application secret defined in the OAuth authorization server -- for the application (for example, the App Secret in Facebook). -- ------------------------------ procedure Set_Application_Secret (App : in out Application; Secret : in String) is begin App.Secret := Ada.Strings.Unbounded.To_Unbounded_String (Secret); App.Key := App.Secret; end Set_Application_Secret; -- ------------------------------ -- Set the redirection callback that will be used to redirect the user -- back to the application after the OAuth authorization is finished. -- ------------------------------ procedure Set_Application_Callback (App : in out Application; URI : in String) is use Ada.Strings.Unbounded; begin App.Callback := To_Unbounded_String (URI); App.Protect := App.Client_Id & App.Callback; end Set_Application_Callback; -- ------------------------------ -- Set the OAuth authorization server URI that the application must use -- to exchange the OAuth code into an access token. -- ------------------------------ procedure Set_Provider_URI (App : in out Application; URI : in String) is begin App.Request_URI := Ada.Strings.Unbounded.To_Unbounded_String (URI); end Set_Provider_URI; -- ------------------------------ -- Build a unique opaque value used to prevent cross-site request forgery. -- The <b>Nonce</b> parameters is an optional but recommended unique value -- used only once. The state value will be returned back by the OAuth provider. -- This protects the <tt>client_id</tt> and <tt>redirect_uri</tt> parameters. -- ------------------------------ function Get_State (App : in Application; Nonce : in String) return String is use Ada.Strings.Unbounded; Data : constant String := Nonce & To_String (App.Protect); Hmac : String := Util.Encoders.HMAC.SHA1.Sign_Base64 (Key => To_String (App.Key), Data => Data, URL => True); begin -- Avoid the '=' at end of HMAC since it could be replaced by %C20 which is annoying... Hmac (Hmac'Last) := '.'; return Hmac; end Get_State; -- ------------------------------ -- Get the authenticate parameters to build the URI to redirect the user to -- the OAuth authorization form. -- ------------------------------ function Get_Auth_Params (App : in Application; State : in String; Scope : in String := "") return String is begin return Security.OAuth.Client_Id & "=" & Ada.Strings.Unbounded.To_String (App.Client_Id) & "&" & Security.OAuth.Redirect_Uri & "=" & Ada.Strings.Unbounded.To_String (App.Callback) & "&" & Security.OAuth.Scope & "=" & Scope & "&" & Security.OAuth.State & "=" & State; end Get_Auth_Params; -- ------------------------------ -- Verify that the <b>State</b> opaque value was created by the <b>Get_State</b> -- operation with the given client and redirect URL. -- ------------------------------ function Is_Valid_State (App : in Application; Nonce : in String; State : in String) return Boolean is Hmac : constant String := Application'Class (App).Get_State (Nonce); begin return Hmac = State; end Is_Valid_State; -- ------------------------------ -- Exchange the OAuth code into an access token. -- ------------------------------ function Request_Access_Token (App : in Application; Code : in String) return Access_Token_Access is Client : Util.Http.Clients.Client; Response : Util.Http.Clients.Response; Data : constant String := Security.OAuth.Grant_Type & "=authorization_code" & "&" & Security.OAuth.Code & "=" & Code & "&" & Security.OAuth.Redirect_Uri & "=" & Ada.Strings.Unbounded.To_String (App.Callback) & "&" & Security.OAuth.Client_Id & "=" & Ada.Strings.Unbounded.To_String (App.Client_Id) & "&" & Security.OAuth.Client_Secret & "=" & Ada.Strings.Unbounded.To_String (App.Secret); URI : constant String := Ada.Strings.Unbounded.To_String (App.Request_URI); begin Log.Info ("Getting access token from {0}", URI); Client.Post (URL => URI, Data => Data, Reply => Response); if Response.Get_Status /= Util.Http.SC_OK then Log.Warn ("Cannot get access token from {0}: status is {1} Body {2}", URI, Natural'Image (Response.Get_Status), Response.Get_Body); return null; end if; -- Decode the response. declare Content : constant String := Response.Get_Body; Content_Type : constant String := Response.Get_Header ("Content-Type"); Pos : Natural := Util.Strings.Index (Content_Type, ';'); Last : Natural; Expires : Natural; begin if Pos = 0 then Pos := Content_Type'Last; else Pos := Pos - 1; end if; Log.Debug ("Content type: {0}", Content_Type); Log.Debug ("Data: {0}", Content); -- Facebook sends the access token as a 'text/plain' content. if Content_Type (Content_Type'First .. Pos) = "text/plain" then Pos := Util.Strings.Index (Content, '='); if Pos = 0 then Log.Error ("Invalid access token response: '{0}'", Content); return null; end if; if Content (Content'First .. Pos) /= "access_token=" then Log.Error ("The 'access_token' parameter is missing in response: '{0}'", Content); return null; end if; Last := Util.Strings.Index (Content, '&', Pos + 1); if Last = 0 then Log.Error ("Invalid 'access_token' parameter: '{0}'", Content); return null; end if; if Content (Last .. Last + 8) /= "&expires=" then Log.Error ("Invalid 'expires' parameter: '{0}'", Content); return null; end if; Expires := Natural'Value (Content (Last + 9 .. Content'Last)); return Application'Class (App).Create_Access_Token (Content (Pos + 1 .. Last - 1), "", "", Expires); elsif Content_Type (Content_Type'First .. Pos) = "application/json" then declare P : Util.Properties.Manager; begin Util.Properties.JSON.Parse_JSON (P, Content); Expires := Natural'Value (P.Get ("expires_in")); return Application'Class (App).Create_Access_Token (P.Get ("access_token"), P.Get ("refresh_token", ""), P.Get ("id_token", ""), Expires); end; else Log.Error ("Content type {0} not supported for access token response", Content_Type); Log.Error ("Response: {0}", Content); return null; end if; end; end Request_Access_Token; -- ------------------------------ -- Create the access token -- ------------------------------ function Create_Access_Token (App : in Application; Token : in String; Refresh : in String; Id_Token : in String; Expires : in Natural) return Access_Token_Access is pragma Unreferenced (App, Expires); begin if Id_Token'Length > 0 then declare Result : constant OpenID_Token_Access := new OpenID_Token '(Len => Token'Length, Id_Len => Id_Token'Length, Refresh_Len => Refresh'Length, Access_Id => Token, Id_Token => Id_Token, Refresh_Token => Refresh); begin return Result.all'Access; end; else return new Access_Token '(Len => Token'Length, Access_Id => Token); end if; end Create_Access_Token; end Security.OAuth.Clients;
------------------------------------------------------------------------------ -- Copyright (C) 2020 by Heisenbug Ltd. (gh+spat@heisenbug.eu) -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Version 2, -- as published by Sam Hocevar. See the LICENSE file for more details. ------------------------------------------------------------------------------ pragma License (Unrestricted); ------------------------------------------------------------------------------ -- -- SPARK Proof Analysis Tool -- -- S.P.A.T. - Collection of checks that should succeed before creating -- objects from the JSON data. -- ------------------------------------------------------------------------------ package SPAT.Preconditions is type Accepted_Value_Types is array (JSON_Value_Type) of Boolean with Pack => True; Number_Kind : constant Accepted_Value_Types; --------------------------------------------------------------------------- -- Ensure_Field -- -- Check that the given JSON object contains an object named Field with -- type of Kind. -- If the field is not found or the type is different from the expected -- one, a warning is issued, unless Is_Optional is True. -- Returns True if so, False otherwise. --------------------------------------------------------------------------- function Ensure_Field (Object : in JSON_Value; Field : in UTF8_String; Kind : in JSON_Value_Type; Is_Optional : in Boolean := False) return Boolean; --------------------------------------------------------------------------- -- Ensure_Field -- -- Check that the given JSON object contains an object named Field with -- on of the types in Kind. -- Returns True if so, False otherwise. --------------------------------------------------------------------------- function Ensure_Field (Object : in JSON_Value; Field : in UTF8_String; Kinds_Allowed : in Accepted_Value_Types) return Boolean; --------------------------------------------------------------------------- -- Ensure_Rule_Severity -- -- Checks that the given JSON object contains a rule and a severity object. -- Returns True if so, False otherwise. --------------------------------------------------------------------------- function Ensure_Rule_Severity (Object : in JSON_Value) return Boolean; private -- Make JSON type enumeration literals directly visible. use all type JSON_Value_Type; Number_Kind : constant Accepted_Value_Types := Accepted_Value_Types'(JSON_Int_Type | JSON_Float_Type => True, others => False); end SPAT.Preconditions;
-- CE2102O.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 USE_ERROR IS RAISED WHEN RESETTING A FILE OF MODE -- IN_FILE, WHEN IN_FILE MODE IS NOT SUPPORTED FOR RESET BY THE -- IMPLEMENTATION FOR SEQUENTIAL FILES. -- APPLICABILITY CRITERIA: -- THIS TEST IS APPLICABLE ONLY TO IMPLEMENTATIONS WHICH DO NOT -- SUPPORT RESET WITH IN_FILE MODE FOR SEQUENTIAL FILES. -- HISTORY: -- TBN 07/23/87 CREATED ORIGINAL TEST. WITH REPORT; USE REPORT; WITH SEQUENTIAL_IO; PROCEDURE CE2102O IS BEGIN TEST ("CE2102O", "CHECK THAT USE_ERROR IS RAISED WHEN RESETTING " & "A FILE OF MODE IN_FILE, WHEN IN_FILE MODE IS " & "NOT SUPPORTED FOR RESET BY THE IMPLEMENTATION " & "FOR SEQUENTIAL FILES"); DECLARE PACKAGE SEQ IS NEW SEQUENTIAL_IO (BOOLEAN); USE SEQ; FILE1 : FILE_TYPE; INCOMPLETE : EXCEPTION; VAR1 : BOOLEAN := FALSE; BEGIN BEGIN CREATE (FILE1, OUT_FILE, LEGAL_FILE_NAME); EXCEPTION WHEN USE_ERROR => NOT_APPLICABLE ("USE_ERROR RAISED ON CREATE FOR " & "OUT_FILE MODE"); RAISE INCOMPLETE; WHEN NAME_ERROR => NOT_APPLICABLE ("NAME_ERROR RAISED ON CREATE FOR " & "OUT_FILE MODE"); RAISE INCOMPLETE; WHEN OTHERS => FAILED ("UNEXPECTED EXCEPTION RAISED ON CREATE"); RAISE INCOMPLETE; END; WRITE (FILE1, VAR1); CLOSE (FILE1); BEGIN BEGIN OPEN (FILE1, IN_FILE, LEGAL_FILE_NAME); EXCEPTION WHEN USE_ERROR => NOT_APPLICABLE ("OPEN WITH IN_FILE MODE NOT " & "SUPPORTED"); RAISE INCOMPLETE; WHEN OTHERS => FAILED ("UNEXPECTED EXCEPTION RAISED ON OPEN"); RAISE INCOMPLETE; END; BEGIN RESET (FILE1); NOT_APPLICABLE ("RESET FOR IN_FILE MODE IS " & "SUPPORTED"); EXCEPTION WHEN USE_ERROR => NULL; WHEN OTHERS => FAILED ("UNEXPECTED EXCEPTION RAISED ON " & "RESET"); END; EXCEPTION WHEN INCOMPLETE => NULL; END; BEGIN DELETE (FILE1); EXCEPTION WHEN USE_ERROR => NULL; END; EXCEPTION WHEN INCOMPLETE => NULL; END; RESULT; END CE2102O;
------------------------------------------------------------------------------ -- -- -- Ada binding for OpenGL/WebGL -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2016-2018, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ private with WebAPI.WebGL.Framebuffers; private with WebAPI.WebGL.Rendering_Contexts; with OpenGL.Renderbuffers; with OpenGL.Textures; package OpenGL.Framebuffers is pragma Preelaborate; type OpenGL_Framebuffer is tagged limited private; function Create (Self : in out OpenGL_Framebuffer'Class) return Boolean; procedure Create (Self : in out OpenGL_Framebuffer'Class); procedure Delete (Self : in out OpenGL_Framebuffer'Class); function Bind (Self : in out OpenGL_Framebuffer'Class) return Boolean; procedure Bind (Self : in out OpenGL_Framebuffer'Class); procedure Release (Self : in out OpenGL_Framebuffer'Class); procedure Read_Pixels (Self : in out OpenGL_Framebuffer'Class; X : OpenGL.GLint; Y : OpenGL.GLint; Width : OpenGL.GLsizei; Height : OpenGL.GLsizei; Data : out OpenGL.GLubyte_Vector_4_Array); procedure Set_Renderbuffer (Self : in out OpenGL_Framebuffer'Class; Renderbuffer : OpenGL.Renderbuffers.OpenGL_Renderbuffer'Class; Attachment : OpenGL.GLenum); procedure Set_Texture (Self : in out OpenGL_Framebuffer'Class; Texture : OpenGL.Textures.OpenGL_Texture'Class; Attachment : OpenGL.GLenum); private type OpenGL_Framebuffer is tagged limited record Framebuffer : WebAPI.WebGL.Framebuffers.WebGL_Framebuffer_Access; Context : WebAPI.WebGL.Rendering_Contexts.WebGL_Rendering_Context_Access; end record; end OpenGL.Framebuffers;
package body Mod_Inv is procedure X_GCD(A, B: in Natural; D, X, Y: out Integer) is -- the Extended Euclidean Algorithm -- finds (D, X, Y) with D = GCD(A, B) = A*X + B*Y R: Natural := A mod B; begin if R=0 then D := B; X := 0; Y := 1; else X_GCD(B, R, D, Y, X); Y := Y - (A/B)*X; end if; end X_GCD; function Inverse(A, M: Integer) return Integer is -- computes the multiplicative inverse of A mod M, using X_GCD Result, GCD, Dummy: Integer; begin X_GCD(A, M, GCD, Result, Dummy); if GCD /= 1 then -- inverse does not exist! raise Constraint_Error with "GCD (" & Integer'Image(A) & "," & Integer'Image(M) & " ) =" & Integer'Image(GCD) & " /= 1"; else -- make sure Result is in {0, ..., M-1} if Result < 0 then return Result+M; else return Result; end if; end if; end Inverse; end Mod_Inv;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- F R O N T E N D -- -- -- -- 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. -- -- -- ------------------------------------------------------------------------------ -- Top level of the front-end. This procedure is used by the different -- gnat drivers. procedure Frontend;
----------------------------------------------------------------------- -- babel -- Backup Application -- Copyright (C) 2014, 2015 Stephane.Carrez -- Written by Stephane.Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Util.Systems.Types; package Babel is subtype Uid_Type is Util.Systems.Types.uid_t; subtype Gid_Type is Util.Systems.Types.gid_t; end Babel;
-- CC1308A.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 FORMAL SUBPROGRAM PARAMETERS MAY OVERLOAD EACH OTHER -- AND OTHER VISIBLE SUBPROGRAMS AND ENUMERATION LITERALS WITHIN AND -- OUTSIDE OF THE GENERIC UNIT. -- HISTORY: -- DAT 09/08/81 CREATED ORIGINAL TEST. -- SPS 10/26/82 -- SPS 02/09/83 -- BCB 08/09/88 REPLACED THE OLD TEST WITH A VERSION BASED ON -- AIG 6.6/T2. WITH REPORT; USE REPORT; PROCEDURE CC1308A IS TYPE ENUM IS (F1,F2,F3,F4,F5,F6,F7); FUNCTION F1 (X : INTEGER) RETURN INTEGER IS BEGIN RETURN 2*X; END F1; PROCEDURE F1 (X : IN OUT INTEGER) IS BEGIN X := 3*X; END F1; PROCEDURE F2 (Y : IN OUT INTEGER; Z : IN OUT BOOLEAN) IS BEGIN Y := 2*Y; Z := NOT Z; END F2; PROCEDURE F2 (Y : IN OUT INTEGER) IS BEGIN Y := 3*Y; END F2; PROCEDURE F3 (B : BOOLEAN := FALSE; A : IN OUT INTEGER) IS BEGIN A := 2*A; END F3; PROCEDURE F3 (A : IN OUT INTEGER) IS BEGIN A := 3*A; END F3; PROCEDURE F4 (C : IN OUT INTEGER) IS BEGIN C := 2*C; END F4; PROCEDURE F4 (C : IN OUT BOOLEAN) IS BEGIN C := NOT C; END F4; PROCEDURE F5 (D : IN OUT INTEGER; E : IN OUT BOOLEAN) IS BEGIN D := 2*D; E := NOT E; END F5; PROCEDURE F5 (E : IN OUT BOOLEAN; D : IN OUT INTEGER) IS BEGIN E := NOT E; D := 3*D; END F5; FUNCTION F6 (G : INTEGER) RETURN INTEGER IS BEGIN RETURN 2*G; END F6; FUNCTION F6 (G : INTEGER) RETURN BOOLEAN IS BEGIN RETURN TRUE; END F6; FUNCTION F7 RETURN INTEGER IS BEGIN RETURN 25; END F7; FUNCTION F7 RETURN BOOLEAN IS BEGIN RETURN FALSE; END F7; BEGIN TEST ("CC1308A", "CHECK THAT FORMAL SUBPROGRAM PARAMETERS MAY " & "OVERLOAD EACH OTHER AND OTHER VISIBLE " & "SUBPROGRAMS AND ENUMERATION LITERALS WITHIN " & "AND OUTSIDE OF THE GENERIC UNIT"); DECLARE GENERIC WITH FUNCTION F1 (X : INTEGER) RETURN INTEGER; WITH PROCEDURE F1 (X : IN OUT INTEGER); WITH PROCEDURE F2 (Y : IN OUT INTEGER; Z : IN OUT BOOLEAN); WITH PROCEDURE F2 (Y : IN OUT INTEGER); WITH PROCEDURE F3 (B : BOOLEAN := FALSE; A : IN OUT INTEGER); WITH PROCEDURE F3 (A : IN OUT INTEGER); WITH PROCEDURE F4 (C : IN OUT INTEGER); WITH PROCEDURE F4 (C : IN OUT BOOLEAN); WITH PROCEDURE F5 (D : IN OUT INTEGER; E : IN OUT BOOLEAN); WITH PROCEDURE F5 (E : IN OUT BOOLEAN; D : IN OUT INTEGER); WITH FUNCTION F6 (G : INTEGER) RETURN INTEGER; WITH FUNCTION F6 (G : INTEGER) RETURN BOOLEAN; WITH FUNCTION F7 RETURN INTEGER; WITH FUNCTION F7 RETURN BOOLEAN; PACKAGE P IS TYPE EN IS (F1,F2,F3,F4,F5,F6,F7); END P; PACKAGE BODY P IS X1, X2, Y1, Y2, A1, A2, C1, D1, D2, G1 : INTEGER := IDENT_INT(5); VAL : INTEGER := IDENT_INT(0); Z1, B1, C2, E1, E2, BOOL : BOOLEAN := IDENT_BOOL(FALSE); BEGIN VAL := F1(X1); IF NOT EQUAL(VAL,10) THEN FAILED ("CASE 1 - WRONG VALUE RETURNED FROM " & "FUNCTION"); END IF; F1(X2); IF NOT EQUAL(X2,15) THEN FAILED ("CASE 1 - WRONG VALUE ASSIGNED INSIDE " & "PROCEDURE"); END IF; F2(Y1,Z1); IF NOT EQUAL(Y1,10) OR Z1 /= TRUE THEN FAILED ("CASE 2 - WRONG VALUES ASSIGNED INSIDE " & "PROCEDURE"); END IF; F2(Y2); IF NOT EQUAL(Y2,15) THEN FAILED ("CASE 2 - WRONG VALUE ASSIGNED INSIDE " & "PROCEDURE"); END IF; F3(B1,A1); IF NOT EQUAL(A1,10) OR B1 /= FALSE THEN FAILED ("CASE 3 - WRONG VALUES ASSIGNED INSIDE " & "PROCEDURE"); END IF; F3(A2); IF NOT EQUAL(A2,15) THEN FAILED ("CASE 3 - WRONG VALUE ASSIGNED INSIDE " & "PROCEDURE"); END IF; F4(C1); IF NOT EQUAL(C1,10) THEN FAILED ("CASE 4 - WRONG VALUE ASSIGNED INSIDE " & "PROCEDURE - BASE TYPE INTEGER"); END IF; F4(C2); IF C2 /= TRUE THEN FAILED ("CASE 4 - WRONG VALUE ASSIGNED INSIDE " & "PROCEDURE - BASE TYPE BOOLEAN"); END IF; F5(D1,E1); IF NOT EQUAL(D1,10) OR E1 /= TRUE THEN FAILED ("CASE 5 - WRONG VALUES ASSIGNED INSIDE " & "PROCEDURE - ORDER WAS INTEGER, BOOLEAN"); END IF; F5(E2,D2); IF E2 /= TRUE OR NOT EQUAL(D2,15) THEN FAILED ("CASE 5 - WRONG VALUES ASSIGNED INSIDE " & "PROCEDURE - ORDER WAS BOOLEAN, INTEGER"); END IF; VAL := F6(G1); IF NOT EQUAL(VAL,10) THEN FAILED ("CASE 6 - WRONG VALUE RETURNED FROM " & "FUNCTION - TYPE INTEGER"); END IF; BOOL := F6(G1); IF BOOL /= TRUE THEN FAILED ("CASE 6 - WRONG VALUE RETURNED FROM " & "FUNCTION - TYPE BOOLEAN"); END IF; VAL := F7; IF NOT EQUAL(VAL,25) THEN FAILED ("CASE 7 - WRONG VALUE RETURNED FROM " & "PARAMETERLESS FUNCTION - TYPE INTEGER"); END IF; BOOL := F7; IF BOOL /= FALSE THEN FAILED ("CASE 7 - WRONG VALUE RETURNED FROM " & "PARAMETERLESS FUNCTION - TYPE BOOLEAN"); END IF; END P; PACKAGE NEW_P IS NEW P (F1, F1, F2, F2, F3, F3, F4, F4, F5, F5, F6, F6, F7, F7); BEGIN NULL; END; RESULT; END CC1308A;
-- Copyright 2008, 2009, 2010, 2011 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. procedure Bar is type Index is (Zero, One, Two); type Vector is array (Index) of Integer; type IVector is array (Integer range 2 .. 5) of Integer; Table : Vector := (0, 1, 2); ITable : IVector := (2, 3, 4, 5); begin Table (Zero) := 5; -- START ITable (3) := 10; end Bar;
----------------------------------------------------------------------- -- asf-helpers-beans -- Helper packages to write ASF applications -- Copyright (C) 2012, 2017 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Util.Beans.Objects; with ASF.Contexts.Faces; package body ASF.Helpers.Beans is -- ------------------------------ -- Get a bean instance associated under the given name from the current faces context. -- A null value is returned if the bean does not exist or is not of the good type. -- ------------------------------ function Get_Bean (Name : in String) return Element_Access is use type ASF.Contexts.Faces.Faces_Context_Access; use type Util.Beans.Basic.Readonly_Bean_Access; Context : constant ASF.Contexts.Faces.Faces_Context_Access := ASF.Contexts.Faces.Current; begin if Context = null then return null; end if; declare Bean : constant Util.Beans.Basic.Readonly_Bean_Access := Context.Get_Bean (Name); begin if Bean = null or else not (Bean.all in Element_Type'Class) then return null; else return Element_Type'Class (Bean.all)'Access; end if; end; end Get_Bean; -- ------------------------------ -- Get a bean instance associated under the given name from the request. -- A null value is returned if the bean does not exist or is not of the good type. -- ------------------------------ function Get_Request_Bean (Request : in ASF.Requests.Request'Class; Name : in String) return Element_Access is Value : constant Util.Beans.Objects.Object := Request.Get_Attribute (Name); Bean : constant access Util.Beans.Basic.Readonly_Bean'Class := Util.Beans.Objects.To_Bean (Value); begin if Bean = null or else not (Bean.all in Element_Type'Class) then return null; else return Element_Type'Class (Bean.all)'Access; end if; end Get_Request_Bean; end ASF.Helpers.Beans;
-- -- Copyright 2021 (C) Holger Rodriguez -- -- SPDX-License-Identifier: BSD-3-Clause -- with Interfaces; with Edc_Client.Matrix.Types; use Edc_Client.Matrix.Types; package body Edc_Client.Matrix.Common is -------------------------------------------------------------------------- -- Returns the charactor for the nibble (= lower 4 bit value of a byte) -------------------------------------------------------------------------- function Nibble_To_Char (Nibble : HAL.UInt8) return Character is type N_2_C is array (HAL.UInt8 (0) .. HAL.UInt8 (15)) of Character; N_2_C_Map : constant N_2_C := ( 16#0# => '0', 16#1# => '1', 16#2# => '2', 16#3# => '3', 16#4# => '4', 16#5# => '5', 16#6# => '6', 16#7# => '7', 16#8# => '8', 16#9# => '9', 16#A# => 'A', 16#B# => 'B', 16#C# => 'C', 16#D# => 'D', 16#E# => 'E', 16#F# => 'F' ); begin return N_2_C_Map (Nibble); end Nibble_To_Char; -------------------------------------------------------------------------- -- see .ads procedure Show_Byte (Value : HAL.UInt8; Side : Character; Block : Character) is use HAL; use Interfaces; Command : Byte_String := "MSB000"; MSN : Interfaces.Unsigned_8; LSN : Interfaces.Unsigned_8; begin Command (2) := Side; Command (4) := Block; MSN := Interfaces.Shift_Right (Interfaces.Unsigned_8 (Value), 4); Command (5) := Edc_Client.Matrix.Common.Nibble_To_Char (UInt8 (MSN)); LSN := Interfaces.Unsigned_8 (Value) and 16#F#; Command (6) := Edc_Client.Matrix.Common.Nibble_To_Char (UInt8 (LSN)); Transmitter (Command); end Show_Byte; -------------------------------------------------------------------------- -- see .ads procedure Show_Word (Value : HAL.UInt16; Side : Character; Block : Character) is use HAL; use Interfaces; Command : Word_String := "MSW00000"; MSB : constant Interfaces.Unsigned_8 := Interfaces.Unsigned_8 (Interfaces. Shift_Right (Interfaces.Unsigned_16 (Value), 8)); LSB : constant Interfaces.Unsigned_8 := Interfaces.Unsigned_8 (Value and 16#FF#); MSN : Interfaces.Unsigned_8; LSN : Interfaces.Unsigned_8; begin Command (2) := Side; Command (4) := Block; MSN := Interfaces.Shift_Right (MSB, 4); Command (5) := Edc_Client.Matrix.Common.Nibble_To_Char (UInt8 (MSN)); LSN := MSB and 16#F#; Command (6) := Edc_Client.Matrix.Common.Nibble_To_Char (UInt8 (LSN)); MSN := Interfaces.Shift_Right (LSB, 4); Command (7) := Edc_Client.Matrix.Common.Nibble_To_Char (UInt8 (MSN)); LSN := LSB and 16#F#; Command (8) := Edc_Client.Matrix.Common.Nibble_To_Char (UInt8 (LSN)); Transmitter (Command); end Show_Word; end Edc_Client.Matrix.Common;
with System, Interfaces.C.Strings, Ada.Unchecked_Conversion; use type System.Address, Interfaces.C.int, Interfaces.C.Strings.chars_ptr; package body FLTK.Menu_Items is function new_fl_menu_item (T : in Interfaces.C.char_array; C : in System.Address; S, F : in Interfaces.C.unsigned_long) return System.Address; pragma Import (C, new_fl_menu_item, "new_fl_menu_item"); pragma Inline (new_fl_menu_item); procedure free_fl_menu_item (MI : in System.Address); pragma Import (C, free_fl_menu_item, "free_fl_menu_item"); pragma Inline (free_fl_menu_item); function fl_menu_item_get_user_data (MI : in System.Address) return System.Address; pragma Import (C, fl_menu_item_get_user_data, "fl_menu_item_get_user_data"); pragma Inline (fl_menu_item_get_user_data); procedure fl_menu_item_set_user_data (MI, C : in System.Address); pragma Import (C, fl_menu_item_set_user_data, "fl_menu_item_set_user_data"); pragma Inline (fl_menu_item_set_user_data); procedure fl_menu_item_do_callback (MI, W : in System.Address); pragma Import (C, fl_menu_item_do_callback, "fl_menu_item_do_callback"); pragma Inline (fl_menu_item_do_callback); function fl_menu_item_checkbox (MI : in System.Address) return Interfaces.C.int; pragma Import (C, fl_menu_item_checkbox, "fl_menu_item_checkbox"); pragma Inline (fl_menu_item_checkbox); function fl_menu_item_radio (MI : in System.Address) return Interfaces.C.int; pragma Import (C, fl_menu_item_radio, "fl_menu_item_radio"); pragma Inline (fl_menu_item_radio); function fl_menu_item_value (MI : in System.Address) return Interfaces.C.int; pragma Import (C, fl_menu_item_value, "fl_menu_item_value"); pragma Inline (fl_menu_item_value); procedure fl_menu_item_set (MI : in System.Address); pragma Import (C, fl_menu_item_set, "fl_menu_item_set"); pragma Inline (fl_menu_item_set); procedure fl_menu_item_clear (MI : in System.Address); pragma Import (C, fl_menu_item_clear, "fl_menu_item_clear"); pragma Inline (fl_menu_item_clear); procedure fl_menu_item_setonly (MI : in System.Address); pragma Import (C, fl_menu_item_setonly, "fl_menu_item_setonly"); pragma Inline (fl_menu_item_setonly); function fl_menu_item_get_label (MI : in System.Address) return Interfaces.C.Strings.chars_ptr; pragma Import (C, fl_menu_item_get_label, "fl_menu_item_get_label"); pragma Inline (fl_menu_item_get_label); procedure fl_menu_item_set_label (MI : in System.Address; T : in Interfaces.C.char_array); pragma Import (C, fl_menu_item_set_label, "fl_menu_item_set_label"); pragma Inline (fl_menu_item_set_label); function fl_menu_item_get_labelcolor (MI : in System.Address) return Interfaces.C.unsigned; pragma Import (C, fl_menu_item_get_labelcolor, "fl_menu_item_get_labelcolor"); pragma Inline (fl_menu_item_get_labelcolor); procedure fl_menu_item_set_labelcolor (MI : in System.Address; C : in Interfaces.C.unsigned); pragma Import (C, fl_menu_item_set_labelcolor, "fl_menu_item_set_labelcolor"); pragma Inline (fl_menu_item_set_labelcolor); function fl_menu_item_get_labelfont (MI : in System.Address) return Interfaces.C.int; pragma Import (C, fl_menu_item_get_labelfont, "fl_menu_item_get_labelfont"); pragma Inline (fl_menu_item_get_labelfont); procedure fl_menu_item_set_labelfont (MI : in System.Address; F : in Interfaces.C.int); pragma Import (C, fl_menu_item_set_labelfont, "fl_menu_item_set_labelfont"); pragma Inline (fl_menu_item_set_labelfont); function fl_menu_item_get_labelsize (MI : in System.Address) return Interfaces.C.int; pragma Import (C, fl_menu_item_get_labelsize, "fl_menu_item_get_labelsize"); pragma Inline (fl_menu_item_get_labelsize); procedure fl_menu_item_set_labelsize (MI : in System.Address; S : in Interfaces.C.int); pragma Import (C, fl_menu_item_set_labelsize, "fl_menu_item_set_labelsize"); pragma Inline (fl_menu_item_set_labelsize); function fl_menu_item_get_labeltype (MI : in System.Address) return Interfaces.C.int; pragma Import (C, fl_menu_item_get_labeltype, "fl_menu_item_get_labeltype"); pragma Inline (fl_menu_item_get_labeltype); procedure fl_menu_item_set_labeltype (MI : in System.Address; T : in Interfaces.C.int); pragma Import (C, fl_menu_item_set_labeltype, "fl_menu_item_set_labeltype"); pragma Inline (fl_menu_item_set_labeltype); function fl_menu_item_get_shortcut (MI : in System.Address) return Interfaces.C.int; pragma Import (C, fl_menu_item_get_shortcut, "fl_menu_item_get_shortcut"); pragma Inline (fl_menu_item_get_shortcut); procedure fl_menu_item_set_shortcut (MI : in System.Address; S : in Interfaces.C.int); pragma Import (C, fl_menu_item_set_shortcut, "fl_menu_item_set_shortcut"); pragma Inline (fl_menu_item_set_shortcut); function fl_menu_item_get_flags (MI : in System.Address) return Interfaces.C.unsigned_long; pragma Import (C, fl_menu_item_get_flags, "fl_menu_item_get_flags"); pragma Inline (fl_menu_item_get_flags); procedure fl_menu_item_set_flags (MI : in System.Address; F : in Interfaces.C.unsigned_long); pragma Import (C, fl_menu_item_set_flags, "fl_menu_item_set_flags"); pragma Inline (fl_menu_item_set_flags); procedure fl_menu_item_activate (MI : in System.Address); pragma Import (C, fl_menu_item_activate, "fl_menu_item_activate"); pragma Inline (fl_menu_item_activate); procedure fl_menu_item_deactivate (MI : in System.Address); pragma Import (C, fl_menu_item_deactivate, "fl_menu_item_deactivate"); pragma Inline (fl_menu_item_deactivate); procedure fl_menu_item_show (MI : in System.Address); pragma Import (C, fl_menu_item_show, "fl_menu_item_show"); pragma Inline (fl_menu_item_show); procedure fl_menu_item_hide (MI : in System.Address); pragma Import (C, fl_menu_item_hide, "fl_menu_item_hide"); pragma Inline (fl_menu_item_hide); function fl_menu_item_active (MI : in System.Address) return Interfaces.C.int; pragma Import (C, fl_menu_item_active, "fl_menu_item_active"); pragma Inline (fl_menu_item_active); function fl_menu_item_visible (MI : in System.Address) return Interfaces.C.int; pragma Import (C, fl_menu_item_visible, "fl_menu_item_visible"); pragma Inline (fl_menu_item_visible); function fl_menu_item_activevisible (MI : in System.Address) return Interfaces.C.int; pragma Import (C, fl_menu_item_activevisible, "fl_menu_item_activevisible"); pragma Inline (fl_menu_item_activevisible); procedure Finalize (This : in out Menu_Item) is begin if This.Void_Ptr /= System.Null_Address and then This in Menu_Item'Class then if This.Needs_Dealloc then free_fl_menu_item (This.Void_Ptr); end if; This.Void_Ptr := System.Null_Address; end if; end Finalize; package Callback_Convert is function To_Pointer is new Ada.Unchecked_Conversion (System.Address, FLTK.Widgets.Widget_Callback); function To_Address is new Ada.Unchecked_Conversion (FLTK.Widgets.Widget_Callback, System.Address); end Callback_Convert; package body Forge is function Create (Text : in String; Action : in FLTK.Widgets.Widget_Callback := null; Shortcut : in Key_Combo := No_Key; Flags : in Menu_Flag := Flag_Normal) return Menu_Item is begin return Item : Menu_Item do Item.Void_Ptr := new_fl_menu_item (Interfaces.C.To_C (Text), Callback_Convert.To_Address (Action), To_C (Shortcut), Interfaces.C.unsigned_long (Flags)); end return; end Create; pragma Inline (Create); end Forge; function Get_Callback (Item : in Menu_Item) return FLTK.Widgets.Widget_Callback is begin return Callback_Convert.To_Pointer (fl_menu_item_get_user_data (Item.Void_Ptr)); end Get_Callback; procedure Set_Callback (Item : in out Menu_Item; Func : in FLTK.Widgets.Widget_Callback) is begin fl_menu_item_set_user_data (Item.Void_Ptr, Callback_Convert.To_Address (Func)); end Set_Callback; procedure Do_Callback (Item : in out Menu_Item; Widget : in out FLTK.Widgets.Widget'Class) is begin fl_menu_item_do_callback (Item.Void_Ptr, Wrapper (Widget).Void_Ptr); end Do_Callback; function Has_Checkbox (Item : in Menu_Item) return Boolean is begin return fl_menu_item_checkbox (Item.Void_Ptr) /= 0; end Has_Checkbox; function Is_Radio (Item : in Menu_Item) return Boolean is begin return fl_menu_item_radio (Item.Void_Ptr) /= 0; end Is_Radio; function Get_State (Item : in Menu_Item) return Boolean is begin return fl_menu_item_value (Item.Void_Ptr) /= 0; end Get_State; procedure Set_State (Item : in out Menu_Item; To : in Boolean) is begin if To then fl_menu_item_set (Item.Void_Ptr); else fl_menu_item_clear (Item.Void_Ptr); end if; end Set_State; procedure Set_Only (Item : in out Menu_Item) is begin fl_menu_item_setonly (Item.Void_Ptr); end Set_Only; function Get_Label (Item : in Menu_Item) return String is Ptr : Interfaces.C.Strings.chars_ptr := fl_menu_item_get_label (Item.Void_Ptr); begin if Ptr = Interfaces.C.Strings.Null_Ptr then return ""; else return Interfaces.C.Strings.Value (Ptr); end if; end Get_Label; procedure Set_Label (Item : in out Menu_Item; Text : in String) is begin fl_menu_item_set_label (Item.Void_Ptr, Interfaces.C.To_C (Text)); end Set_Label; function Get_Label_Color (Item : in Menu_Item) return Color is begin return Color (fl_menu_item_get_labelcolor (Item.Void_Ptr)); end Get_Label_Color; procedure Set_Label_Color (Item : in out Menu_Item; To : in Color) is begin fl_menu_item_set_labelcolor (Item.Void_Ptr, Interfaces.C.unsigned (To)); end Set_Label_Color; function Get_Label_Font (Item : in Menu_Item) return Font_Kind is begin return Font_Kind'Val (fl_menu_item_get_labelfont (Item.Void_Ptr)); end Get_Label_Font; procedure Set_Label_Font (Item : in out Menu_Item; To : in Font_Kind) is begin fl_menu_item_set_labelfont (Item.Void_Ptr, Font_Kind'Pos (To)); end Set_Label_Font; function Get_Label_Size (Item : in Menu_Item) return Font_Size is begin return Font_Size (fl_menu_item_get_labelsize (Item.Void_Ptr)); end Get_Label_Size; procedure Set_Label_Size (Item : in out Menu_Item; To : in Font_Size) is begin fl_menu_item_set_labelsize (Item.Void_Ptr, Interfaces.C.int (To)); end Set_Label_Size; function Get_Label_Type (Item : in Menu_Item) return Label_Kind is begin return Label_Kind'Val (fl_menu_item_get_labeltype (Item.Void_Ptr)); end Get_Label_Type; procedure Set_Label_Type (Item : in out Menu_Item; To : in Label_Kind) is begin fl_menu_item_set_labeltype (Item.Void_Ptr, Label_Kind'Pos (To)); end Set_Label_Type; function Get_Shortcut (Item : in Menu_Item) return Key_Combo is begin return To_Ada (Interfaces.C.unsigned_long (fl_menu_item_get_shortcut (Item.Void_Ptr))); end Get_Shortcut; procedure Set_Shortcut (Item : in out Menu_Item; To : in Key_Combo) is begin fl_menu_item_set_shortcut (Item.Void_Ptr, Interfaces.C.int (To_C (To))); end Set_Shortcut; function Get_Flags (Item : in Menu_Item) return Menu_Flag is begin return Menu_Flag (fl_menu_item_get_flags (Item.Void_Ptr)); end Get_Flags; procedure Set_Flags (Item : in out Menu_Item; To : in Menu_Flag) is begin fl_menu_item_set_flags (Item.Void_Ptr, Interfaces.C.unsigned_long (To)); end Set_Flags; procedure Activate (Item : in out Menu_Item) is begin fl_menu_item_activate (Item.Void_Ptr); end Activate; procedure Deactivate (Item : in out Menu_Item) is begin fl_menu_item_deactivate (Item.Void_Ptr); end Deactivate; procedure Show (Item : in out Menu_Item) is begin fl_menu_item_show (Item.Void_Ptr); end Show; procedure Hide (Item : in out Menu_Item) is begin fl_menu_item_hide (Item.Void_Ptr); end Hide; function Is_Active (Item : in Menu_Item) return Boolean is begin return fl_menu_item_active (Item.Void_Ptr) /= 0; end Is_Active; function Is_Visible (Item : in Menu_Item) return Boolean is begin return fl_menu_item_visible (Item.Void_Ptr) /= 0; end Is_Visible; function Is_Active_And_Visible (Item : in Menu_Item) return Boolean is begin return fl_menu_item_activevisible (Item.Void_Ptr) /= 0; end Is_Active_And_Visible; end FLTK.Menu_Items;
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces.C; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_glx_context_tag_iterator_t is -- Item -- type Item is record data : access xcb.xcb_glx_context_tag_t; the_rem : aliased Interfaces.C.int; index : aliased Interfaces.C.int; end record; -- Item_Array -- type Item_Array is array (Interfaces.C .size_t range <>) of aliased xcb.xcb_glx_context_tag_iterator_t .Item; -- Pointer -- package C_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_glx_context_tag_iterator_t.Item, Element_Array => xcb.xcb_glx_context_tag_iterator_t.Item_Array, Default_Terminator => (others => <>)); subtype Pointer is C_Pointers.Pointer; -- Pointer_Array -- type Pointer_Array is array (Interfaces.C .size_t range <>) of aliased xcb.xcb_glx_context_tag_iterator_t .Pointer; -- Pointer_Pointer -- package C_Pointer_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_glx_context_tag_iterator_t.Pointer, Element_Array => xcb.xcb_glx_context_tag_iterator_t.Pointer_Array, Default_Terminator => null); subtype Pointer_Pointer is C_Pointer_Pointers.Pointer; end xcb.xcb_glx_context_tag_iterator_t;
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" private with GL.Low_Level; package GL.Objects.Shaders is pragma Preelaborate; type Shader_Type is (Fragment_Shader, Vertex_Shader, Geometry_Shader, Tess_Evaluation_Shader, Tess_Control_Shader); type Shader (Kind : Shader_Type) is new GL_Object with private; procedure Set_Source (Subject : Shader; Source : String); function Source (Subject : Shader) return String; procedure Compile (Subject : Shader); procedure Release_Shader_Compiler; function Compile_Status (Subject : Shader) return Boolean; function Info_Log (Subject : Shader) return String; -- low-level. creates a Shader object linking to the given OpenGL ID. -- doesn't take ownership of the ID and therefore doesn't automatically -- delete it when the last reference vanishes. function Create_From_Id (Id : UInt) return Shader; private type Shader (Kind : Shader_Type) is new GL_Object with null record; overriding procedure Internal_Create_Id (Object : Shader; Id : out UInt); overriding procedure Internal_Release_Id (Object : Shader; Id : UInt); for Shader_Type use (Fragment_Shader => 16#8B30#, Vertex_Shader => 16#8B31#, Geometry_Shader => 16#8DD9#, Tess_Evaluation_Shader => 16#8E87#, Tess_Control_Shader => 16#8E88#); for Shader_Type'Size use Low_Level.Enum'Size; end GL.Objects.Shaders;
with Ada.Containers.Vectors; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; package Utils is package Str_Vector is new Ada.Containers.Vectors (Index_Type => Natural, Element_Type => Unbounded_String); end Utils;
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt private with Replicant.Platform; package PortScan.Packages is -- This routine first removes all invalid packages (package from removed -- port or older version) and inserts the origins of the remaining packages -- into the port list for a limited tree scan. procedure preclean_repository (repository : String); -- If performing a limited build run (likely 99% of the use cases), only -- the queued packages will be checked. The checks are limited to finding -- options changes and dependency changes. Obsolete packages (related or -- unrelated to upcoming build) are not removed; this would occur in -- clean_repository(). These old packages will not interfere at this step. procedure limited_sanity_check (repository : String; dry_run : Boolean; suppress_remote : Boolean); -- Iterate through the final build queue to remove any packages that -- match the current package names (currently unused) procedure remove_queue_packages (repository : String); -- This procedure empties the given repository without discrimination. -- (Well, it's limited to "*.txz" matches, but normally that's everything) -- (currently unused) procedure wipe_out_repository (repository : String); -- Sometimes, especially with the single ports-mgmt/pkg check, there is -- nothing left to do after the sanity check. Let's provide a way to -- detect that case. function queue_is_empty return Boolean; -- Returns the size of the queue before it was pared down. function original_queue_size return Natural; -- After the initial queue is created, and before the limited sanity -- check, we go through each port and check if it has cached options. -- If it does, then it's checked for validity. If it has too many or -- too few options, or an option's name doesn't match, the port is -- printed to stdout. The rest of the ports are checked, but at that -- point the function has failed. function limited_cached_options_check return Boolean; -- Returns True on success; stores value in global external_repository function located_external_repository return Boolean; -- Returns the value of the stored external repository function top_external_repository return String; -- Given the full path of a package, query it for the port origin function query_origin (fullpath : String) return String; -- Given the full path of a package plus its port origin, return origin(@flavor) function query_full_origin (fullpath, origin : String) return String; -- Given the full path of a package, query it for the package base name function query_pkgbase (fullpath : String) return String; private type dim_packages is array (scanners) of string_crate.Vector; stored_packages : dim_packages; stored_origins : dim_packages; pkgscan_progress : dim_progress := (others => 0); pkgscan_total : Natural := 0; abi_formats : Replicant.package_abi; external_repository : JT.Text; original_queue_len : AC.Count_Type; obsolete_pkg_log : TIO.File_Type; obsolete_log_open : Boolean := False; -- Debugging purposes only, can be turned on by environment variable debug_dep_check : Boolean := False; debug_opt_check : Boolean := False; -- This function returns "True" if the scanned options exactly match -- the options in the already-built package. Usually it's already known -- that a package exists before the function is called, but an existence -- check will be performed just in case (failure returns "False") function passed_option_check (repository : String; id : port_id; skip_exist_check : Boolean := False) return Boolean; -- This function returns "True" if the scanned dependencies match exactly -- what the current ports tree has. function passed_dependency_check (query_result : JT.Text; id : port_id) return Boolean; -- This function returns "True" if the scanned package has the expected -- package ABI, e.g. dragonfly:4.6:x86:64, freebsd:10:amd64 function passed_abi_check (repository : String; id : port_id; skip_exist_check : Boolean := False) return Boolean; -- This calculates the ABI for the platform and stores it. The value is -- used by passed_abi_check() procedure establish_package_architecture; -- Scan directory that contains the packages (*.txz) and stores the -- file names in the container. Returns False if no packages are found. function scan_repository (repository : String) return Boolean; -- standard method to spawn commands in this package (and get output) function generic_system_command (command : String) return JT.Text; -- Evaluates the stored options. If none exists, return True -- If Exists and all the options match exactly what has already been -- scanned for the port (names, not values) then return True else False. function passed_options_cache_check (id : port_id) return Boolean; -- For each package in the query, check the ABI and options (this is the -- only time they are checked). If those pass, query the dependencies, -- store the result, and check them. Set the "deletion" flag as needed. -- The dependency check is NOT performed yet. procedure initial_package_scan (repository : String; id : port_id); -- Same as above, but for packages in the external repository procedure remote_package_scan (id : port_id); -- The result of the dependency query giving "id" port_id function result_of_dependency_query (repository : String; id : port_id) return JT.Text; -- Using the same make_queue as was used to scan the ports, use tasks -- (up to 32) to do the initial scanning of the ports, including getting -- the pkg dependency query. procedure parallel_package_scan (repository : String; remote_scan : Boolean; show_progress : Boolean); -- Prior to this procedure, the list of existing packages is split as -- a balanced array so this scan will query the package for its origin -- and package name. If the origin still exists, the port will be -- scanned for the current package name. If either check fails, the -- package will be deleted, otherwise the origin will be preserved for -- a further in-depth check. procedure parallel_preliminary_package_scan (repository : String; show_progress : Boolean); -- given a port_id, return the package name (no .txz extension!) function id2pkgname (id : port_id) return String; -- Turn on option and dependency debug checks programmatically procedure activate_debugging_code; -- Given an origin (already validated) and the name of the package in -- focus, return True if "make -V PKGFILE:T" matches the filename function current_package_name (origin, file_name : String) return Boolean; -- Dedicated progress meter for prescanning packages function package_scan_progress return String; -- Open log to document packages that get deleted and the reason why procedure start_obsolete_package_logging; -- Write to log if open and optionally output a copy to screen. procedure obsolete_notice (message : String; write_to_screen : Boolean); end PortScan.Packages;
with Ada.Text_IO; use Ada.Text_IO; with Ada.Text_IO.Text_Streams; use Ada.Text_IO; with Ada.Streams; use Ada.Streams; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Command_Line; use Ada.Command_Line; with AWS.Default; with AWS.Net; use AWS; with AWS.Net.SSL; use AWS.Net; with Aids.Env; use Aids; with Aids.Utilities; use Aids.Utilities; procedure Freenode is type Irc_Credentials is record Host : Unbounded_String; Port : Positive; Nick : Unbounded_String; Pass : Unbounded_String; Channel : Unbounded_String; end record; procedure Print_Irc_Credentials(C: in Irc_Credentials) is begin Put_Line("Host: " & To_String(C.Host)); Put_Line("Port:" & Positive'Image(C.Port)); Put_Line("Nick: " & To_String(C.Nick)); Put_Line("Pass: [REDACTED]"); Put_Line("Channel: " & To_String(C.Channel)); end; function Irc_Credentials_From_File(File_Path: String) return Irc_Credentials is -- Key extraction functions. Function Extract ( Key : String ) return String with Inline; Function Extract ( Key : String ) return Unbounded_String with Inline; Function Extract ( Key : String ) return Positive with Inline; E: Env.Typ := Env.Slurp(File_Path); Key_Not_Found : exception; -- Base Extraction; provides for the key-not-found exception. Function Extract ( Key : String ) return String is Begin Return E(Key); Exception when Constraint_Error => raise Key_Not_Found with (File_Path & ": key `" & Key & "` not found"); End Extract; -- Extract & convert to an Unbounded_String. Function Extract ( Key : String ) return Unbounded_String is ( To_Unbounded_String( Source => Extract(Key) ) ); -- Extract and convert to a Positive. Function Extract ( Key : String ) return Positive is Value : String renames Extract( Key ); Begin Return Positive'Value( Value ); Exception when Constraint_Error => raise Constraint_Error with ''' & Value & "' could not be converted to a positive number."; End Extract; begin return Result : constant Irc_Credentials := ( Nick => Extract("NICK"), Pass => Extract("PASS"), Channel => Extract("CHANNEL"), Host => Extract("HOST"), Port => Extract("PORT") ); end; procedure Send_Line(Client: in out SSL.Socket_Type; Line: in String) is CRLF : Constant String := (Character'Val(13), Character'Val(10)); begin Client.Send(String_To_Chunk(Line & CRLF)); end; -- NOTE: stolen from https://github.com/AdaCore/aws/blob/master/regtests/0243_sshort/sshort.adb#L156 procedure Secure_Connection(Credentials: Irc_Credentials) is Client: SSL.Socket_Type; Config: SSL.Config; begin Put_Line("Establishing secure (Kapp) connection to " & To_String(Credentials.Host) & ":" & Integer'Image(Credentials.Port)); SSL.Initialize(Config, ""); Client.Set_Config(Config); Client.Connect(To_String(Credentials.Host), Credentials.Port); Send_Line( Client, "PASS oauth:" & To_String(Credentials.Pass)); Send_Line( Client, "NICK " & To_String(Credentials.Nick)); Send_Line( Client, "JOIN " & To_String(Credentials.Channel)); Send_Line( Client, "PRIVMSG " & To_String(Credentials.Channel) & " :tsodinPog"); while true loop declare Chunk: Stream_Element_Array := Client.Receive; begin Put(Chunk_Image(Chunk)); end; end loop; end; Not_Enough_Arguments: exception; begin if Argument_Count not in Positive then raise Not_Enough_Arguments; end if; declare Twitch: Irc_Credentials := Irc_Credentials_From_File(Argument(1)); begin Print_Irc_Credentials(Twitch); Secure_Connection(Twitch); end; end;
-- { dg-do compile } -- { dg-options "-O -gnatp" } package body Invariant_Index is procedure Proc (S : String) is N : constant Integer := S'Length; begin Name_Buffer (1 + N .. Name_Len + N) := Name_Buffer (1 .. Name_Len); Name_Buffer (1 .. N) := S; Name_Len := Name_Len + N; end; end Invariant_Index;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with kv.avm.Log; with kv.avm.Tuples; package body kv.avm.Brokers is use kv.avm.Registers; use kv.avm.Control; use kv.avm.Log; use Actor_Maps; ----------------------------------------------------------------------------- procedure Execute (Self : in out Broker_Type; Machine : in out kv.avm.Control.Control_Interface'CLASS; Input : in kv.avm.Registers.Register_Type; Output : out kv.avm.Registers.Register_Type; Status : out kv.avm.Control.Status_Type) is Parameters : kv.avm.Tuples.Tuple_Type; Operation : kv.avm.Registers.Register_Type; Key : kv.avm.Registers.Register_Type; begin Parameters := Input.Folded_Tuple; Operation := Parameters.Peek(0).all; Key := Parameters.Peek(1).all; Put_Line("Broker.Execute called with operation " & Reg_Img(Operation) & ", key " & Reg_Img(Key)); Status := Active; if Operation.The_String = "Get" then Output := (Format => Actor_Reference, Instance => Self.Get(+Key.The_String)); elsif Operation.The_String = "Has" then Output := (Format => Bit_Or_Boolean, Bit => Self.Is_Available(+Key.The_String)); elsif Operation.The_String = "Add" then Self.Add(Parameters.Peek(2).Instance, +Key.The_String); Output := Make_U(0); else Status := Error; end if; end Execute; ----------------------------------------------------------------------------- procedure Add (Self : in out Broker_Type; Actor_Reference : in kv.avm.Actor_References.Actor_Reference_Type; Name : in String) is begin Self.Registrar.Insert(Name, Actor_Reference); end Add; ----------------------------------------------------------------------------- procedure Delete (Self : in out Broker_Type; Name : in String) is begin Self.Registrar.Delete(Name); end Delete; ----------------------------------------------------------------------------- function Is_Available (Self : in Broker_Type; Name : in String) return Boolean is begin return Self.Registrar.Contains(Name); end Is_Available; ----------------------------------------------------------------------------- function Get (Self : in Broker_Type; Name : in String) return kv.avm.Actor_References.Actor_Reference_Type is begin return Self.Registrar.Element(Name); end Get; end kv.avm.Brokers;
-------------------------------------------------------------------------------- -- MIT License -- -- Copyright (c) 2021 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.Mat3x3; use Vulkan.Math.Mat3x3; -------------------------------------------------------------------------------- --< @group Vulkan Math Basic Types -------------------------------------------------------------------------------- --< @summary --< This package provides a single precision floating point matrix with 2 rows --< and 2 columns. -------------------------------------------------------------------------------- package Vulkan.Math.Mat3x3.Test is -- Test Harness for Mat3x3 regression tests procedure Test_Mat3x3; end Vulkan.Math.Mat3x3.Test;
------------------------------------------------------------------------------ -- meals.ads -- -- A package containing the public data type Meal. A meal consists of an en- -- tree, an optional soup, and an optional dessert. Three meal operations are -- provided: -- -- Random_Meal A random meal. -- Price (M) The price of meal M. -- S & M concatentates unbounded string S and text of M. ------------------------------------------------------------------------------ with Randoms, Ada.Strings.Unbounded; use Randoms, Ada.Strings.Unbounded; package Meals is type Entree_Selection is ( Paella, Wu_Hsiang_Chi, Bogracs_Gulyas, Spanokopita, Moui_Nagden, Sambal_Goreng_Udang ); type Soup_Selection is ( No_Soup, Albondigas ); type Dessert_Selection is ( No_Dessert, Berog ); type Meal is record Entree : Entree_Selection; Soup : Soup_Selection; Dessert : Dessert_Selection; end record; function Random_Meal return Meal; function Price (M: Meal) return Float; function "&" (S: Unbounded_String; M: Meal) return Unbounded_String; end Meals;
-- Copyright 2008-2019 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. package Homonym is procedure Start_Test; end Homonym;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 1 2 -- -- -- -- B o d y -- -- -- -- Copyright (C) 1992-2014, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with System.Storage_Elements; with System.Unsigned_Types; package body System.Pack_12 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_12; 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_12 or SetU_12 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_12 -- ------------ function Get_12 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_12 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_12; ------------- -- GetU_12 -- ------------- function GetU_12 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_12 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_12; ------------ -- Set_12 -- ------------ procedure Set_12 (Arr : System.Address; N : Natural; E : Bits_12; 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_12; ------------- -- SetU_12 -- ------------- procedure SetU_12 (Arr : System.Address; N : Natural; E : Bits_12; 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_12; end System.Pack_12;
with Ada.Wide_Wide_Text_IO; use Ada.Wide_Wide_Text_IO; procedure Test is begin Put ("Unicode """ & ''' & """" & Wide_Wide_Character'Val (10)); end Test;
----------------------------------------------------------------------- -- util-http-clients-mockups -- HTTP Clients -- Copyright (C) 2011, 2012, 2017, 2020, 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Util.Files; with Util.Http.Mockups; package body Util.Http.Clients.Mockups is use Ada.Strings.Unbounded; Manager : aliased File_Http_Manager; -- ------------------------------ -- Register the Http manager. -- ------------------------------ procedure Register is begin Default_Http_Manager := Manager'Access; end Register; -- ------------------------------ -- Set the path of the file that contains the response for the next -- <b>Do_Get</b> and <b>Do_Post</b> calls. -- ------------------------------ procedure Set_File (Path : in String) is begin Manager.File := To_Unbounded_String (Path); end Set_File; procedure Create (Manager : in File_Http_Manager; Http : in out Client'Class) is pragma Unreferenced (Manager); begin Http.Delegate := new Util.Http.Mockups.Mockup_Request; end Create; overriding procedure Do_Get (Manager : in File_Http_Manager; Http : in Client'Class; URI : in String; Reply : out Response'Class) is pragma Unreferenced (Http, URI); Rep : constant Util.Http.Mockups.Mockup_Response_Access := new Util.Http.Mockups.Mockup_Response; Content : Ada.Strings.Unbounded.Unbounded_String; begin Reply.Delegate := Rep.all'Access; Util.Files.Read_File (Path => To_String (Manager.File), Into => Content, Max_Size => 100000); Rep.Set_Body (To_String (Content)); Rep.Set_Status (SC_OK); end Do_Get; overriding procedure Do_Head (Manager : in File_Http_Manager; Http : in Client'Class; URI : in String; Reply : out Response'Class) is pragma Unreferenced (Manager, Http, URI); Rep : constant Util.Http.Mockups.Mockup_Response_Access := new Util.Http.Mockups.Mockup_Response; begin Reply.Delegate := Rep.all'Access; Rep.Set_Body (""); Rep.Set_Status (SC_OK); end Do_Head; overriding procedure Do_Post (Manager : in File_Http_Manager; Http : in Client'Class; URI : in String; Data : in String; Reply : out Response'Class) is pragma Unreferenced (Data); begin Manager.Do_Get (Http, URI, Reply); end Do_Post; overriding procedure Do_Put (Manager : in File_Http_Manager; Http : in Client'Class; URI : in String; Data : in String; Reply : out Response'Class) is pragma Unreferenced (Data); begin Manager.Do_Get (Http, URI, Reply); end Do_Put; overriding procedure Do_Patch (Manager : in File_Http_Manager; Http : in Client'Class; URI : in String; Data : in String; Reply : out Response'Class) is pragma Unreferenced (Data); begin Manager.Do_Get (Http, URI, Reply); end Do_Patch; overriding procedure Do_Delete (Manager : in File_Http_Manager; Http : in Client'Class; URI : in String; Reply : out Response'Class) is begin Manager.Do_Get (Http, URI, Reply); end Do_Delete; overriding procedure Do_Options (Manager : in File_Http_Manager; Http : in Client'Class; URI : in String; Reply : out Response'Class) is begin Manager.Do_Get (Http, URI, Reply); end Do_Options; -- ------------------------------ -- Set the timeout for the connection. -- ------------------------------ overriding procedure Set_Timeout (Manager : in File_Http_Manager; Http : in Client'Class; Timeout : in Duration) is pragma Unreferenced (Manager, Http, Timeout); begin null; end Set_Timeout; end Util.Http.Clients.Mockups;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- G N A T . T A S K _ L O C K -- -- -- -- S p e c -- -- -- -- $Revision$ -- -- -- Copyright (C) 1998-2001 Ada Core Technologies, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, -- -- MA 02111-1307, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT is maintained by Ada Core Technologies Inc (http://www.gnat.com). -- -- -- ------------------------------------------------------------------------------ -- Simple task lock and unlock routines -- A small package containing a task lock and unlock routines for creating -- a critical region. The lock involved is a global lock, shared by all -- tasks, and by all calls to these routines, so these routines should be -- used with care to avoid unnecessary reduction of concurrency. -- These routines may be used in a non-tasking program, and in that case -- they have no effect (they do NOT cause the tasking runtime to be loaded). package GNAT.Task_Lock is pragma Elaborate_Body (Task_Lock); procedure Lock; pragma Inline (Lock); -- Acquires the global lock, starts the execution of a critical region -- which no other task can enter until the locking task calls Unlock procedure Unlock; pragma Inline (Unlock); -- Releases the global lock, allowing another task to successfully -- complete a Lock operation. Terminates the critical region. -- The recommended protocol for using these two procedures is as -- follows: -- Locked_Processing : begin -- Lock; -- ... -- TSL.Unlock; -- -- exception -- when others => -- Unlock; -- raise; -- end Locked_Processing; -- This ensures that the lock is not left set if an exception is raised -- explicitly or implicitly during the critical locked region. -- Note on multiple calls to Lock: It is permissible to call Lock -- more than once with no intervening Unlock from a single task, -- and the lock will not be released until the corresponding number -- of Unlock operations has been performed. For example: -- GNAT.Task_Lock.Lock; -- acquires lock -- GNAT.Task_Lock.Lock; -- no effect -- GNAT.Task_Lock.Lock; -- no effect -- GNAT.Task_Lock.Unlock; -- no effect -- GNAT.Task_Lock.Unlock; -- no effect -- GNAT.Task_Lock.Unlock; -- releases lock -- However, as previously noted, the Task_Lock facility should only -- be used for very local locks where the probability of conflict is -- low, so usually this kind of nesting is not a good idea in any case. -- In more complex locking situations, it is more appropriate to define -- an appropriate protected type to provide the required locking. end GNAT.Task_Lock;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- G N A T . H E A P _ S O R T _ G -- -- -- -- S p e c -- -- -- -- Copyright (C) 1995-2021, AdaCore -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Heapsort generic package using formal procedures -- This package provides a generic heapsort routine that can be used with -- different types of data. -- See also GNAT.Heap_Sort, a version that works with subprogram access -- parameters, allowing code sharing. The generic version is slightly more -- efficient but does not allow code sharing and has an interface that is -- more awkward to use. -- There is also GNAT.Heap_Sort_A, which is now considered obsolete, but -- was an older version working with subprogram parameters. This version -- is retained for backwards compatibility with old versions of GNAT. -- This heapsort algorithm uses approximately N*log(N) compares in the -- worst case and is in place with no additional storage required. See -- the body for exact details of the algorithm used. generic -- The data to be sorted is assumed to be indexed by integer values from -- 1 to N, where N is the number of items to be sorted. In addition, the -- index value zero is used for a temporary location used during the sort. with procedure Move (From : Natural; To : Natural); -- A procedure that moves the data item with index value From to the data -- item with index value To (the old value in To being lost). An index -- value of zero is used for moves from and to a single temporary location. -- For best efficiency, this routine should be marked as inlined. with function Lt (Op1, Op2 : Natural) return Boolean; -- A function that compares two items and returns True if the item with -- index Op1 is less than the item with Index Op2, and False if the Op1 -- item is greater than the Op2 item. If the two items are equal, then -- it does not matter whether True or False is returned (it is slightly -- more efficient to return False). For best efficiency, this routine -- should be marked as inlined. -- Note on use of temporary location -- There are two ways of providing for the index value zero to represent -- a temporary value. Either an extra location can be allocated at the -- start of the array, or alternatively the Move and Lt subprograms can -- test for the case of zero and treat it specially. In any case it is -- desirable to specify the two subprograms as inlined and the tests for -- zero will in this case be resolved at instantiation time. package GNAT.Heap_Sort_G is pragma Pure; procedure Sort (N : Natural); -- This procedures sorts items in the range from 1 to N into ascending -- order making calls to Lt to do required comparisons, and Move to move -- items around. Note that, as described above, both Move and Lt use a -- single temporary location with index value zero. This sort is not -- stable, i.e. the order of equal elements in the input is not preserved. end GNAT.Heap_Sort_G;
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes.Formal_Package_Associations is function Create (Formal_Parameter : Program.Elements.Expressions.Expression_Access; Arrow_Token : Program.Lexical_Elements.Lexical_Element_Access; Actual_Parameter : Program.Elements.Expressions.Expression_Access; Box_Token : Program.Lexical_Elements.Lexical_Element_Access) return Formal_Package_Association is begin return Result : Formal_Package_Association := (Formal_Parameter => Formal_Parameter, Arrow_Token => Arrow_Token, Actual_Parameter => Actual_Parameter, Box_Token => Box_Token, Enclosing_Element => null) do Initialize (Result); end return; end Create; function Create (Formal_Parameter : Program.Elements.Expressions.Expression_Access; Actual_Parameter : Program.Elements.Expressions.Expression_Access; Is_Part_Of_Implicit : Boolean := False; Is_Part_Of_Inherited : Boolean := False; Is_Part_Of_Instance : Boolean := False) return Implicit_Formal_Package_Association is begin return Result : Implicit_Formal_Package_Association := (Formal_Parameter => Formal_Parameter, Actual_Parameter => Actual_Parameter, Is_Part_Of_Implicit => Is_Part_Of_Implicit, Is_Part_Of_Inherited => Is_Part_Of_Inherited, Is_Part_Of_Instance => Is_Part_Of_Instance, Enclosing_Element => null) do Initialize (Result); end return; end Create; overriding function Formal_Parameter (Self : Base_Formal_Package_Association) return Program.Elements.Expressions.Expression_Access is begin return Self.Formal_Parameter; end Formal_Parameter; overriding function Actual_Parameter (Self : Base_Formal_Package_Association) return Program.Elements.Expressions.Expression_Access is begin return Self.Actual_Parameter; end Actual_Parameter; overriding function Arrow_Token (Self : Formal_Package_Association) return Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Arrow_Token; end Arrow_Token; overriding function Box_Token (Self : Formal_Package_Association) return Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Box_Token; end Box_Token; overriding function Is_Part_Of_Implicit (Self : Implicit_Formal_Package_Association) return Boolean is begin return Self.Is_Part_Of_Implicit; end Is_Part_Of_Implicit; overriding function Is_Part_Of_Inherited (Self : Implicit_Formal_Package_Association) return Boolean is begin return Self.Is_Part_Of_Inherited; end Is_Part_Of_Inherited; overriding function Is_Part_Of_Instance (Self : Implicit_Formal_Package_Association) return Boolean is begin return Self.Is_Part_Of_Instance; end Is_Part_Of_Instance; procedure Initialize (Self : aliased in out Base_Formal_Package_Association'Class) is begin if Self.Formal_Parameter.Assigned then Set_Enclosing_Element (Self.Formal_Parameter, Self'Unchecked_Access); end if; if Self.Actual_Parameter.Assigned then Set_Enclosing_Element (Self.Actual_Parameter, Self'Unchecked_Access); end if; null; end Initialize; overriding function Is_Formal_Package_Association_Element (Self : Base_Formal_Package_Association) return Boolean is pragma Unreferenced (Self); begin return True; end Is_Formal_Package_Association_Element; overriding function Is_Association_Element (Self : Base_Formal_Package_Association) return Boolean is pragma Unreferenced (Self); begin return True; end Is_Association_Element; overriding procedure Visit (Self : not null access Base_Formal_Package_Association; Visitor : in out Program.Element_Visitors.Element_Visitor'Class) is begin Visitor.Formal_Package_Association (Self); end Visit; overriding function To_Formal_Package_Association_Text (Self : aliased in out Formal_Package_Association) return Program.Elements.Formal_Package_Associations .Formal_Package_Association_Text_Access is begin return Self'Unchecked_Access; end To_Formal_Package_Association_Text; overriding function To_Formal_Package_Association_Text (Self : aliased in out Implicit_Formal_Package_Association) return Program.Elements.Formal_Package_Associations .Formal_Package_Association_Text_Access is pragma Unreferenced (Self); begin return null; end To_Formal_Package_Association_Text; end Program.Nodes.Formal_Package_Associations;
-------------------------------------------------------------------------------- -- 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. -------------------------------------------------------------------------------- package body Vulkan.Math.GenIType is function Apply_Func_IVI_IVI_IVB_RVI( IVI1, IVI2 : in Vkm_GenIType; IVB1 : in Vkm_GenBType) return Vkm_GenIType is result : Vkm_GenIType := (last_index => IVI1.last_index, others => <>); begin for index in result.data'Range loop result.data(index) := Func(IVI1.data(index), IVI2.data(index), IVB1.data(index)); end loop; return result; end Apply_Func_IVI_IVI_IVB_RVI; ---------------------------------------------------------------------------- function Apply_Func_IVI_IVI_RVB( IVI1, IVI2 : in Vkm_GenIType) return Vkm_GenBType is result : Vkm_GenBType := (last_index => IVI1.last_index, others => <>); begin for index in result.data'Range loop result.data(index) := Func(IVI1.data(index),IVI2.data(index)); end loop; return result; end Apply_Func_IVI_IVI_RVB; ---------------------------------------------------------------------------- function Apply_Func_IVU_RVI( IVU1 : in Vkm_GenUType) return Vkm_GenIType is result : Vkm_GenIType := (last_index => IVU1.last_index, others => <>); begin for index in result.data'Range loop result.data(index) := Func(IVU1.data(index)); end loop; return result; end Apply_Func_IVU_RVI; end Vulkan.Math.GenIType;