CombinedText
stringlengths
4
3.42M
with STM32.Setup; package body STM32.Board is --------------------- -- Initialize_LEDs -- --------------------- procedure Initialize_LEDs is Configuration : GPIO_Port_Configuration; LEDs : GPIO_Points := Red_LED & Green_LED; -- & Blue_LED; begin Enable_Clock (LEDs); Configuration.Mode := Mode_Out; Configuration.Output_Type := Push_Pull; Configuration.Speed := Speed_2MHz; Configuration.Resistors := Floating; Configure_IO (LEDs, Config => Configuration); end Initialize_LEDs; procedure All_LEDs_Off is begin -- Turn_Off (LCH_LED); null; end All_LEDs_Off; procedure Initialize_Board is begin Initialize_LEDs; end Initialize_Board; end STM32.Board;
-- Copyright 2014-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 function New_Bounded (Low, High : Integer) return Bounded is Result : Bounded (Low .. High); begin for J in Low .. High loop Result (J) := J; end loop; return Result; end New_Bounded; procedure Do_Nothing (A : System.Address) is begin null; end Do_Nothing; end Pck;
-- Abstract : -- -- Image with auxiliary data for instantiations of parent. -- -- Copyright (C) 2019 Free Software Foundation, Inc. -- -- This library is free software; you can redistribute it and/or modify it -- under terms of the GNU General Public License as published by the Free -- Software Foundation; either version 3, or (at your option) any later -- version. This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- As a special exception under Section 7 of GPL version 3, you are granted -- additional permissions described in the GCC Runtime Library Exception, -- version 3.1, as published by the Free Software Foundation. pragma License (Modified_GPL); generic type Aux_Data (<>) is private; with function Element_Image (Item : in Element_Type; Aux : in Aux_Data) return String; function SAL.Gen_Bounded_Definite_Vectors_Sorted.Gen_Image_Aux (Item : in Vector; Aux : in Aux_Data) return String;
-- This package is intended to set up and tear down the test environment. -- Once created by GNATtest, this package will never be overwritten -- automatically. Contents of this package can be modified in any way -- except for sections surrounded by a 'read only' marker. package body Ships.Test_Data.Tests.Proto_Crew_Container.Test_Data is procedure Set_Up(Gnattest_T: in out Test) is pragma Unreferenced(Gnattest_T); begin null; end Set_Up; procedure Tear_Down(Gnattest_T: in out Test) is pragma Unreferenced(Gnattest_T); begin null; end Tear_Down; procedure User_Set_Up(Gnattest_T: in out New_Test) is pragma Unreferenced(Gnattest_T); begin null; end User_Set_Up; procedure User_Tear_Down(Gnattest_T: in out New_Test) is pragma Unreferenced(Gnattest_T); begin null; end User_Tear_Down; end Ships.Test_Data.Tests.Proto_Crew_Container.Test_Data;
<?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>Loop_4_proc</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>hw_output_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>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>hw_output_V_last_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>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>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>p_mul_stencil_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></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_4"> <Value> <Obj> <type>1</type> <id>4</id> <name>p_delayed_input_stencil_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></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>3</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>38</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_5"> <Value> <Obj> <type>0</type> <id>9</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>55</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>11</id> <name>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>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="_7"> <Value> <Obj> <type>0</type> <id>12</id> <name>p_hw_output_y_scan_1</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>301</lineNumber> <contextFuncName>hls_target</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/sharpen</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>hls_target.cpp</first> <second>hls_target</second> </first> <second>301</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>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="_8"> <Value> <Obj> <type>0</type> <id>13</id> <name>p_hw_output_x_scan_2</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>_hw_output_x___scan_dim_0</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>152</item> <item>153</item> <item>154</item> <item>155</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>14</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>156</item> <item>158</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>15</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>159</item> <item>161</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>16</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>162</item> <item>163</item> <item>164</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>19</id> <name>exitcond6</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>301</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>301</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>56</item> <item>58</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>20</id> <name>p_hw_output_x_scan_s</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>301</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>301</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>59</item> <item>61</item> <item>62</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>21</id> <name>tmp_3_mid1</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>334</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>334</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>63</item> <item>64</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>22</id> <name>tmp_1</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>334</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>334</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>65</item> <item>67</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>23</id> <name>tmp_3_mid2</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>334</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>334</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>68</item> <item>69</item> <item>70</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>24</id> <name>p_hw_output_y_scan_2</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>299</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>299</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>71</item> <item>72</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>25</id> <name>p_hw_output_y_scan_s</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>301</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>301</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>73</item> <item>74</item> <item>75</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>28</id> <name>tmp_value_V_4</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>307</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>307</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.value.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>77</item> <item>78</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>29</id> <name>tmp_value_V_5</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>312</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>312</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>79</item> <item>80</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>30</id> <name>p_435</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>318</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>318</second> </item> </second> </item> </inlineStackInfo> <originalName>_435</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>81</item> </oprand_edges> <opcode>trunc</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>31</id> <name>p_s</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>321</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>321</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>83</item> <item>84</item> <item>86</item> <item>88</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>32</id> <name>p_438</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>321</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>321</second> </item> </second> </item> </inlineStackInfo> <originalName>_438</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>89</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>33</id> <name>p_443</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>326</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>326</second> </item> </second> </item> </inlineStackInfo> <originalName>_443</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>90</item> <item>91</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>34</id> <name>p_439</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>322</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>322</second> </item> </second> </item> </inlineStackInfo> <originalName>_439</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>92</item> <item>93</item> </oprand_edges> <opcode>sub</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>35</id> <name>tmp_12</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>325</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>325</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>95</item> <item>96</item> <item>97</item> <item>98</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>36</id> <name>p_442</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>325</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>325</second> </item> </second> </item> </inlineStackInfo> <originalName>_442</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>99</item> <item>101</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>37</id> <name>tmp_13</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>327</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>327</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>102</item> <item>103</item> <item>104</item> <item>105</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>38</id> <name>p_444</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>327</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>327</second> </item> </second> </item> </inlineStackInfo> <originalName>_444</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>106</item> <item>107</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>39</id> <name>tmp</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>330</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>330</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>109</item> <item>110</item> <item>112</item> <item>113</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>40</id> <name>tmp_14</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>329</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>329</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>115</item> <item>116</item> <item>117</item> <item>119</item> </oprand_edges> <opcode>partselect</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>41</id> <name>tmp_15</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>328</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>328</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>120</item> <item>121</item> <item>122</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>42</id> <name>tmp_5_cast</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>329</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>329</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>123</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>43</id> <name>p_447</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>329</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>329</second> </item> </second> </item> </inlineStackInfo> <originalName>_447</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>124</item> <item>125</item> <item>126</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>44</id> <name>p_447_cast</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>329</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>329</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>127</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>45</id> <name>p_448</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>331</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>331</second> </item> </second> </item> </inlineStackInfo> <originalName>_448</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>8</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>128</item> <item>129</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>46</id> <name>tmp_s</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>334</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>334</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>130</item> <item>131</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>47</id> <name>tmp_last_V</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>334</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>334</second> </item> </second> </item> </inlineStackInfo> <originalName>tmp.last.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</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> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>48</id> <name></name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>339</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>339</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>5</count> <item_version>0</item_version> <item>135</item> <item>136</item> <item>137</item> <item>138</item> <item>139</item> </oprand_edges> <opcode>write</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>50</id> <name>p_hw_output_x_scan_1</name> <fileName>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>301</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>301</second> </item> </second> </item> </inlineStackInfo> <originalName>_hw_output_x___scan_dim_0</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>140</item> <item>141</item> </oprand_edges> <opcode>add</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>hls_target.cpp</fileName> <fileDirectory>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</fileDirectory> <lineNumber>301</lineNumber> <contextFuncName>hls_target</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/dhuff/Halide-HLS/apps/hls_examples/camera_ready_synthesis/app_files/paper_apps_8_shifts/sharpen</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>hls_target.cpp</first> <second>hls_target</second> </first> <second>301</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>142</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>53</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>11</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_43"> <Value> <Obj> <type>2</type> <id>57</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="_44"> <Value> <Obj> <type>2</type> <id>60</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="_45"> <Value> <Obj> <type>2</type> <id>66</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="_46"> <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>32</bitwidth> </Value> <const_type>0</const_type> <content>4</content> </item> <item class_id_reference="16" object_id="_47"> <Value> <Obj> <type>2</type> <id>87</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>7</content> </item> <item class_id_reference="16" object_id="_48"> <Value> <Obj> <type>2</type> <id>100</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_49"> <Value> <Obj> <type>2</type> <id>111</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>2</content> </item> <item class_id_reference="16" object_id="_50"> <Value> <Obj> <type>2</type> <id>118</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>3</content> </item> <item class_id_reference="16" object_id="_51"> <Value> <Obj> <type>2</type> <id>143</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="_52"> <Value> <Obj> <type>2</type> <id>157</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="_53"> <Value> <Obj> <type>2</type> <id>160</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</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="_54"> <Obj> <type>3</type> <id>10</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>9</item> </node_objs> </item> <item class_id_reference="18" object_id="_55"> <Obj> <type>3</type> <id>17</id> <name>.preheader</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>6</count> <item_version>0</item_version> <item>11</item> <item>12</item> <item>13</item> <item>14</item> <item>15</item> <item>16</item> </node_objs> </item> <item class_id_reference="18" object_id="_56"> <Obj> <type>3</type> <id>52</id> <name>.preheader56</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>30</count> <item_version>0</item_version> <item>19</item> <item>20</item> <item>21</item> <item>22</item> <item>23</item> <item>24</item> <item>25</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>50</item> <item>51</item> </node_objs> </item> <item class_id_reference="18" object_id="_57"> <Obj> <type>3</type> <id>54</id> <name>.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>53</item> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>89</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_58"> <id>55</id> <edge_type>2</edge_type> <source_obj>17</source_obj> <sink_obj>9</sink_obj> </item> <item class_id_reference="20" object_id="_59"> <id>56</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_60"> <id>58</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>19</sink_obj> </item> <item class_id_reference="20" object_id="_61"> <id>59</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_62"> <id>61</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_63"> <id>62</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>20</sink_obj> </item> <item class_id_reference="20" object_id="_64"> <id>63</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_65"> <id>64</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>21</sink_obj> </item> <item class_id_reference="20" object_id="_66"> <id>65</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_67"> <id>67</id> <edge_type>1</edge_type> <source_obj>66</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_68"> <id>68</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_69"> <id>69</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_70"> <id>70</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_71"> <id>71</id> <edge_type>1</edge_type> <source_obj>66</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_72"> <id>72</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_73"> <id>73</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_74"> <id>74</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_75"> <id>75</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_76"> <id>78</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_77"> <id>80</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_78"> <id>81</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_79"> <id>84</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>31</sink_obj> </item> <item class_id_reference="20" object_id="_80"> <id>86</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>31</sink_obj> </item> <item class_id_reference="20" object_id="_81"> <id>88</id> <edge_type>1</edge_type> <source_obj>87</source_obj> <sink_obj>31</sink_obj> </item> <item class_id_reference="20" object_id="_82"> <id>89</id> <edge_type>1</edge_type> <source_obj>31</source_obj> <sink_obj>32</sink_obj> </item> <item class_id_reference="20" object_id="_83"> <id>90</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_84"> <id>91</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>33</sink_obj> </item> <item class_id_reference="20" object_id="_85"> <id>92</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_86"> <id>93</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>34</sink_obj> </item> <item class_id_reference="20" object_id="_87"> <id>96</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_88"> <id>97</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_89"> <id>98</id> <edge_type>1</edge_type> <source_obj>87</source_obj> <sink_obj>35</sink_obj> </item> <item class_id_reference="20" object_id="_90"> <id>99</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_91"> <id>101</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>36</sink_obj> </item> <item class_id_reference="20" object_id="_92"> <id>103</id> <edge_type>1</edge_type> <source_obj>33</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_93"> <id>104</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_94"> <id>105</id> <edge_type>1</edge_type> <source_obj>87</source_obj> <sink_obj>37</sink_obj> </item> <item class_id_reference="20" object_id="_95"> <id>106</id> <edge_type>1</edge_type> <source_obj>37</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_96"> <id>107</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>38</sink_obj> </item> <item class_id_reference="20" object_id="_97"> <id>110</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_98"> <id>112</id> <edge_type>1</edge_type> <source_obj>111</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_99"> <id>113</id> <edge_type>1</edge_type> <source_obj>87</source_obj> <sink_obj>39</sink_obj> </item> <item class_id_reference="20" object_id="_100"> <id>116</id> <edge_type>1</edge_type> <source_obj>34</source_obj> <sink_obj>40</sink_obj> </item> <item class_id_reference="20" object_id="_101"> <id>117</id> <edge_type>1</edge_type> <source_obj>111</source_obj> <sink_obj>40</sink_obj> </item> <item class_id_reference="20" object_id="_102"> <id>119</id> <edge_type>1</edge_type> <source_obj>118</source_obj> <sink_obj>40</sink_obj> </item> <item class_id_reference="20" object_id="_103"> <id>120</id> <edge_type>1</edge_type> <source_obj>38</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_104"> <id>121</id> <edge_type>1</edge_type> <source_obj>40</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_105"> <id>122</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>41</sink_obj> </item> <item class_id_reference="20" object_id="_106"> <id>123</id> <edge_type>1</edge_type> <source_obj>41</source_obj> <sink_obj>42</sink_obj> </item> <item class_id_reference="20" object_id="_107"> <id>124</id> <edge_type>1</edge_type> <source_obj>36</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_108"> <id>125</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_109"> <id>126</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>43</sink_obj> </item> <item class_id_reference="20" object_id="_110"> <id>127</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>44</sink_obj> </item> <item class_id_reference="20" object_id="_111"> <id>128</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>45</sink_obj> </item> <item class_id_reference="20" object_id="_112"> <id>129</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>45</sink_obj> </item> <item class_id_reference="20" object_id="_113"> <id>130</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>46</sink_obj> </item> <item class_id_reference="20" object_id="_114"> <id>131</id> <edge_type>1</edge_type> <source_obj>66</source_obj> <sink_obj>46</sink_obj> </item> <item class_id_reference="20" object_id="_115"> <id>132</id> <edge_type>1</edge_type> <source_obj>46</source_obj> <sink_obj>47</sink_obj> </item> <item class_id_reference="20" object_id="_116"> <id>133</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>47</sink_obj> </item> <item class_id_reference="20" object_id="_117"> <id>136</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_118"> <id>137</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_119"> <id>138</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_120"> <id>139</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>48</sink_obj> </item> <item class_id_reference="20" object_id="_121"> <id>140</id> <edge_type>1</edge_type> <source_obj>66</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_122"> <id>141</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>50</sink_obj> </item> <item class_id_reference="20" object_id="_123"> <id>142</id> <edge_type>2</edge_type> <source_obj>17</source_obj> <sink_obj>51</sink_obj> </item> <item class_id_reference="20" object_id="_124"> <id>144</id> <edge_type>1</edge_type> <source_obj>143</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_125"> <id>145</id> <edge_type>2</edge_type> <source_obj>10</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_126"> <id>146</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_127"> <id>147</id> <edge_type>2</edge_type> <source_obj>52</source_obj> <sink_obj>11</sink_obj> </item> <item class_id_reference="20" object_id="_128"> <id>148</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_129"> <id>149</id> <edge_type>2</edge_type> <source_obj>10</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_130"> <id>150</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_131"> <id>151</id> <edge_type>2</edge_type> <source_obj>52</source_obj> <sink_obj>12</sink_obj> </item> <item class_id_reference="20" object_id="_132"> <id>152</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_133"> <id>153</id> <edge_type>2</edge_type> <source_obj>10</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_134"> <id>154</id> <edge_type>1</edge_type> <source_obj>50</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_135"> <id>155</id> <edge_type>2</edge_type> <source_obj>52</source_obj> <sink_obj>13</sink_obj> </item> <item class_id_reference="20" object_id="_136"> <id>156</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_137"> <id>158</id> <edge_type>1</edge_type> <source_obj>157</source_obj> <sink_obj>14</sink_obj> </item> <item class_id_reference="20" object_id="_138"> <id>159</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="20" object_id="_139"> <id>161</id> <edge_type>1</edge_type> <source_obj>160</source_obj> <sink_obj>15</sink_obj> </item> <item class_id_reference="20" object_id="_140"> <id>162</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_141"> <id>163</id> <edge_type>2</edge_type> <source_obj>52</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_142"> <id>164</id> <edge_type>2</edge_type> <source_obj>54</source_obj> <sink_obj>16</sink_obj> </item> <item class_id_reference="20" object_id="_143"> <id>251</id> <edge_type>2</edge_type> <source_obj>10</source_obj> <sink_obj>17</sink_obj> </item> <item class_id_reference="20" object_id="_144"> <id>252</id> <edge_type>2</edge_type> <source_obj>17</source_obj> <sink_obj>54</sink_obj> </item> <item class_id_reference="20" object_id="_145"> <id>253</id> <edge_type>2</edge_type> <source_obj>17</source_obj> <sink_obj>52</sink_obj> </item> <item class_id_reference="20" object_id="_146"> <id>254</id> <edge_type>2</edge_type> <source_obj>52</source_obj> <sink_obj>17</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="_147"> <mId>1</mId> <mTag>Loop_4_proc</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>8</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_148"> <mId>2</mId> <mTag>Entry</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>10</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_149"> <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>17</item> <item>52</item> </basic_blocks> <mII>1</mII> <mDepth>4</mDepth> <mMinTripCount>4</mMinTripCount> <mMaxTripCount>4</mMaxTripCount> <mMinLatency>6</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_150"> <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>54</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="-1"></fsm> <res class_id="-1"></res> <node_label_latency class_id="26" tracking_level="0" version="0"> <count>38</count> <item_version>0</item_version> <item class_id="27" tracking_level="0" version="0"> <first>9</first> <second class_id="28" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>11</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>12</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>13</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>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>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>2</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>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>34</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>35</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>36</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>39</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>41</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>42</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>43</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>44</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>45</first> <second> <first>4</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>4</first> <second>0</second> </second> </item> <item> <first>50</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>51</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>53</first> <second> <first>2</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="29" tracking_level="0" version="0"> <count>4</count> <item_version>0</item_version> <item class_id="30" tracking_level="0" version="0"> <first>10</first> <second class_id="31" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>17</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>52</first> <second> <first>1</first> <second>4</second> </second> </item> <item> <first>54</first> <second> <first>2</first> <second>2</second> </second> </item> </bblk_ent_exit> <regions class_id="32" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="33" tracking_level="1" version="0" object_id="_151"> <region_name>Loop 1</region_name> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>17</item> <item>52</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>4</pipe_depth> </item> </regions> <dp_fu_nodes class_id="34" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes> <dp_fu_nodes_expression class_id="35" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="36" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>0</count> <item_version>0</item_version> </dp_reg_nodes> <dp_regname_nodes> <count>0</count> <item_version>0</item_version> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="37" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_port_io_nodes> <port2core class_id="38" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
---------------------------------------------------------------- -- ZLib for Ada thick binding. -- -- -- -- Copyright (C) 2002-2003 Dmitriy Anisimkov -- -- -- -- Open source license information is in the zlib.ads file. -- ---------------------------------------------------------------- -- $Id: test.adb,v 1.1 2005/09/23 22:39:01 beng Exp $ -- The program has a few aims. -- 1. Test ZLib.Ada95 thick binding functionality. -- 2. Show the example of use main functionality of the ZLib.Ada95 binding. -- 3. Build this program automatically compile all ZLib.Ada95 packages under -- GNAT Ada95 compiler. with ZLib.Streams; with Ada.Streams.Stream_IO; with Ada.Numerics.Discrete_Random; with Ada.Text_IO; with Ada.Calendar; procedure Test is use Ada.Streams; use Stream_IO; ------------------------------------ -- Test configuration parameters -- ------------------------------------ File_Size : Count := 100_000; Continuous : constant Boolean := False; Header : constant ZLib.Header_Type := ZLib.Default; -- ZLib.None; -- ZLib.Auto; -- ZLib.GZip; -- Do not use Header other then Default in ZLib versions 1.1.4 -- and older. Strategy : constant ZLib.Strategy_Type := ZLib.Default_Strategy; Init_Random : constant := 10; -- End -- In_File_Name : constant String := "testzlib.in"; -- Name of the input file Z_File_Name : constant String := "testzlib.zlb"; -- Name of the compressed file. Out_File_Name : constant String := "testzlib.out"; -- Name of the decompressed file. File_In : File_Type; File_Out : File_Type; File_Back : File_Type; File_Z : ZLib.Streams.Stream_Type; Filter : ZLib.Filter_Type; Time_Stamp : Ada.Calendar.Time; procedure Generate_File; -- Generate file of spetsified size with some random data. -- The random data is repeatable, for the good compression. procedure Compare_Streams (Left, Right : in out Root_Stream_Type'Class); -- The procedure compearing data in 2 streams. -- It is for compare data before and after compression/decompression. procedure Compare_Files (Left, Right : String); -- Compare files. Based on the Compare_Streams. procedure Copy_Streams (Source, Target : in out Root_Stream_Type'Class; Buffer_Size : in Stream_Element_Offset := 1024); -- Copying data from one stream to another. It is for test stream -- interface of the library. procedure Data_In (Item : out Stream_Element_Array; Last : out Stream_Element_Offset); -- this procedure is for generic instantiation of -- ZLib.Generic_Translate. -- reading data from the File_In. procedure Data_Out (Item : in Stream_Element_Array); -- this procedure is for generic instantiation of -- ZLib.Generic_Translate. -- writing data to the File_Out. procedure Stamp; -- Store the timestamp to the local variable. procedure Print_Statistic (Msg : String; Data_Size : ZLib.Count); -- Print the time statistic with the message. procedure Translate is new ZLib.Generic_Translate (Data_In => Data_In, Data_Out => Data_Out); -- This procedure is moving data from File_In to File_Out -- with compression or decompression, depend on initialization of -- Filter parameter. ------------------- -- Compare_Files -- ------------------- procedure Compare_Files (Left, Right : String) is Left_File, Right_File : File_Type; begin Open (Left_File, In_File, Left); Open (Right_File, In_File, Right); Compare_Streams (Stream (Left_File).all, Stream (Right_File).all); Close (Left_File); Close (Right_File); end Compare_Files; --------------------- -- Compare_Streams -- --------------------- procedure Compare_Streams (Left, Right : in out Ada.Streams.Root_Stream_Type'Class) is Left_Buffer, Right_Buffer : Stream_Element_Array (0 .. 16#FFF#); Left_Last, Right_Last : Stream_Element_Offset; begin loop Read (Left, Left_Buffer, Left_Last); Read (Right, Right_Buffer, Right_Last); if Left_Last /= Right_Last then Ada.Text_IO.Put_Line ("Compare error :" & Stream_Element_Offset'Image (Left_Last) & " /= " & Stream_Element_Offset'Image (Right_Last)); raise Constraint_Error; elsif Left_Buffer (0 .. Left_Last) /= Right_Buffer (0 .. Right_Last) then Ada.Text_IO.Put_Line ("ERROR: IN and OUT files is not equal."); raise Constraint_Error; end if; exit when Left_Last < Left_Buffer'Last; end loop; end Compare_Streams; ------------------ -- Copy_Streams -- ------------------ procedure Copy_Streams (Source, Target : in out Ada.Streams.Root_Stream_Type'Class; Buffer_Size : in Stream_Element_Offset := 1024) is Buffer : Stream_Element_Array (1 .. Buffer_Size); Last : Stream_Element_Offset; begin loop Read (Source, Buffer, Last); Write (Target, Buffer (1 .. Last)); exit when Last < Buffer'Last; end loop; end Copy_Streams; ------------- -- Data_In -- ------------- procedure Data_In (Item : out Stream_Element_Array; Last : out Stream_Element_Offset) is begin Read (File_In, Item, Last); end Data_In; -------------- -- Data_Out -- -------------- procedure Data_Out (Item : in Stream_Element_Array) is begin Write (File_Out, Item); end Data_Out; ------------------- -- Generate_File -- ------------------- procedure Generate_File is subtype Visible_Symbols is Stream_Element range 16#20# .. 16#7E#; package Random_Elements is new Ada.Numerics.Discrete_Random (Visible_Symbols); Gen : Random_Elements.Generator; Buffer : Stream_Element_Array := (1 .. 77 => 16#20#) & 10; Buffer_Count : constant Count := File_Size / Buffer'Length; -- Number of same buffers in the packet. Density : constant Count := 30; -- from 0 to Buffer'Length - 2; procedure Fill_Buffer (J, D : in Count); -- Change the part of the buffer. ----------------- -- Fill_Buffer -- ----------------- procedure Fill_Buffer (J, D : in Count) is begin for K in 0 .. D loop Buffer (Stream_Element_Offset ((J + K) mod (Buffer'Length - 1) + 1)) := Random_Elements.Random (Gen); end loop; end Fill_Buffer; begin Random_Elements.Reset (Gen, Init_Random); Create (File_In, Out_File, In_File_Name); Fill_Buffer (1, Buffer'Length - 2); for J in 1 .. Buffer_Count loop Write (File_In, Buffer); Fill_Buffer (J, Density); end loop; -- fill remain size. Write (File_In, Buffer (1 .. Stream_Element_Offset (File_Size - Buffer'Length * Buffer_Count))); Flush (File_In); Close (File_In); end Generate_File; --------------------- -- Print_Statistic -- --------------------- procedure Print_Statistic (Msg : String; Data_Size : ZLib.Count) is use Ada.Calendar; use Ada.Text_IO; package Count_IO is new Integer_IO (ZLib.Count); Curr_Dur : Duration := Clock - Time_Stamp; begin Put (Msg); Set_Col (20); Ada.Text_IO.Put ("size ="); Count_IO.Put (Data_Size, Width => Stream_IO.Count'Image (File_Size)'Length); Put_Line (" duration =" & Duration'Image (Curr_Dur)); end Print_Statistic; ----------- -- Stamp -- ----------- procedure Stamp is begin Time_Stamp := Ada.Calendar.Clock; end Stamp; begin Ada.Text_IO.Put_Line ("ZLib " & ZLib.Version); loop Generate_File; for Level in ZLib.Compression_Level'Range loop Ada.Text_IO.Put_Line ("Level =" & ZLib.Compression_Level'Image (Level)); -- Test generic interface. Open (File_In, In_File, In_File_Name); Create (File_Out, Out_File, Z_File_Name); Stamp; -- Deflate using generic instantiation. ZLib.Deflate_Init (Filter => Filter, Level => Level, Strategy => Strategy, Header => Header); Translate (Filter); Print_Statistic ("Generic compress", ZLib.Total_Out (Filter)); ZLib.Close (Filter); Close (File_In); Close (File_Out); Open (File_In, In_File, Z_File_Name); Create (File_Out, Out_File, Out_File_Name); Stamp; -- Inflate using generic instantiation. ZLib.Inflate_Init (Filter, Header => Header); Translate (Filter); Print_Statistic ("Generic decompress", ZLib.Total_Out (Filter)); ZLib.Close (Filter); Close (File_In); Close (File_Out); Compare_Files (In_File_Name, Out_File_Name); -- Test stream interface. -- Compress to the back stream. Open (File_In, In_File, In_File_Name); Create (File_Back, Out_File, Z_File_Name); Stamp; ZLib.Streams.Create (Stream => File_Z, Mode => ZLib.Streams.Out_Stream, Back => ZLib.Streams.Stream_Access (Stream (File_Back)), Back_Compressed => True, Level => Level, Strategy => Strategy, Header => Header); Copy_Streams (Source => Stream (File_In).all, Target => File_Z); -- Flushing internal buffers to the back stream. ZLib.Streams.Flush (File_Z, ZLib.Finish); Print_Statistic ("Write compress", ZLib.Streams.Write_Total_Out (File_Z)); ZLib.Streams.Close (File_Z); Close (File_In); Close (File_Back); -- Compare reading from original file and from -- decompression stream. Open (File_In, In_File, In_File_Name); Open (File_Back, In_File, Z_File_Name); ZLib.Streams.Create (Stream => File_Z, Mode => ZLib.Streams.In_Stream, Back => ZLib.Streams.Stream_Access (Stream (File_Back)), Back_Compressed => True, Header => Header); Stamp; Compare_Streams (Stream (File_In).all, File_Z); Print_Statistic ("Read decompress", ZLib.Streams.Read_Total_Out (File_Z)); ZLib.Streams.Close (File_Z); Close (File_In); Close (File_Back); -- Compress by reading from compression stream. Open (File_Back, In_File, In_File_Name); Create (File_Out, Out_File, Z_File_Name); ZLib.Streams.Create (Stream => File_Z, Mode => ZLib.Streams.In_Stream, Back => ZLib.Streams.Stream_Access (Stream (File_Back)), Back_Compressed => False, Level => Level, Strategy => Strategy, Header => Header); Stamp; Copy_Streams (Source => File_Z, Target => Stream (File_Out).all); Print_Statistic ("Read compress", ZLib.Streams.Read_Total_Out (File_Z)); ZLib.Streams.Close (File_Z); Close (File_Out); Close (File_Back); -- Decompress to decompression stream. Open (File_In, In_File, Z_File_Name); Create (File_Back, Out_File, Out_File_Name); ZLib.Streams.Create (Stream => File_Z, Mode => ZLib.Streams.Out_Stream, Back => ZLib.Streams.Stream_Access (Stream (File_Back)), Back_Compressed => False, Header => Header); Stamp; Copy_Streams (Source => Stream (File_In).all, Target => File_Z); Print_Statistic ("Write decompress", ZLib.Streams.Write_Total_Out (File_Z)); ZLib.Streams.Close (File_Z); Close (File_In); Close (File_Back); Compare_Files (In_File_Name, Out_File_Name); end loop; Ada.Text_IO.Put_Line (Count'Image (File_Size) & " Ok."); exit when not Continuous; File_Size := File_Size + 1; end loop; end Test;
----------------------------------------------------------------------- -- el-objects-tests - Generic simple test for discrete object types -- Copyright (C) 2009, 2010 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.Containers; with Util.Test_Caller; with Ada.Strings.Fixed; with Ada.Text_IO; with Ada.Calendar; with EL.Objects.Hash; package body EL.Objects.Discrete_Tests is use EL.Objects; use Ada.Strings.Fixed; use Ada.Containers; procedure Test_Eq (T : Test; V : String; N : Test_Type); procedure Test_Conversion (T : Test; V : String; N : Test_Type); procedure Test_Lt_Gt (T : Test; V : String; N : Test_Type); procedure Test_Sub (T : Test; V : String; N : Test_Type); procedure Test_Add (T : Test; V : String; N : Test_Type); -- Generic test for To_Object and To_XXX types -- Several values are specified in the Test_Values string. generic with procedure Basic_Test (T : in Test; V : String; N : Test_Type); procedure Test_Basic_Object (T : in out Test); procedure Test_Basic_Object (T : in out Test) is pragma Unmodified (T); Pos, Next : Natural; begin Pos := Test_Values'First; while Pos <= Test_Values'Last loop Next := Index (Test_Values, ",", Pos); if Next < Pos then Next := Test_Values'Last + 1; end if; declare V : constant String := Test_Values (Pos .. Next - 1); N : constant Test_Type := Value (V); begin Basic_Test (T, V, N); end; Pos := Next + 1; end loop; end Test_Basic_Object; -- ------------------------------ -- Test EL.Objects.To_Object -- ------------------------------ procedure Test_Conversion (T : Test; V : String; N : Test_Type) is Value : EL.Objects.Object; begin Value := To_Object (V); T.Assert (Condition => To_Type (Value) = N, Message => Test_Name & " returned invalid value: " & To_String (Value) & " when we expected: " & V); T.Assert (Condition => V = To_String (Value), Message => Test_Name & ".To_String returned invalid value: " & To_String (Value) & " when we expected: " & V); end Test_Conversion; procedure Test_To_Object is new Test_Basic_Object (Basic_Test => Test_Conversion); -- ------------------------------ -- Test EL.Objects.Hash -- ------------------------------ procedure Test_Hash (T : in out Test) is pragma Unmodified (T); Pos, Next : Natural; Hash_Values : array (Test_Values'Range) of Hash_Type := (others => 0); Nb_Hash : Natural := 0; begin Pos := Test_Values'First; while Pos <= Test_Values'Last loop Next := Index (Test_Values, ",", Pos); if Next < Pos then Next := Test_Values'Last + 1; end if; declare V : constant String := Test_Values (Pos .. Next - 1); N : constant Test_Type := Value (V); Value : constant EL.Objects.Object := To_Object_Test (N); H : constant Hash_Type := EL.Objects.Hash (Value); Found : Boolean := False; begin for J in 1 .. Nb_Hash loop if Hash_Values (J) = H then Found := True; end if; end loop; if not Found then Nb_Hash := Nb_Hash + 1; Hash_Values (Nb_Hash) := H; end if; end; Pos := Next + 1; end loop; Ada.Text_IO.Put_Line ("Found " & Natural'Image (Nb_Hash) & " hash values"); Assert (T, Nb_Hash > 1, "Only one hash value found"); end Test_Hash; -- ------------------------------ -- Test EL.Objects."+" -- ------------------------------ procedure Test_Add (T : Test; V : String; N : Test_Type) is Value : EL.Objects.Object := To_Object_Test (N); begin Value := Value + To_Object_Test (N); T.Assert (Condition => To_Type (Value) = N + N, Message => Test_Name & " returned invalid value: " & To_String (Value) & " when we expected: " & V); end Test_Add; procedure Test_Add is new Test_Basic_Object (Test_Add); -- ------------------------------ -- Test EL.Objects."-" -- ------------------------------ procedure Test_Sub (T : Test; V : String; N : Test_Type) is pragma Unreferenced (V); Value : EL.Objects.Object; begin Value := To_Object_Test (N) - To_Object_Test (N); T.Assert (Condition => To_Type (Value) = N - N, Message => Test_Name & " returned invalid value: " & To_String (Value) & " when we expected: 0"); end Test_Sub; procedure Test_Sub is new Test_Basic_Object (Test_Sub); -- ------------------------------ -- Test EL.Objects."<" and EL.Objects.">" -- ------------------------------ procedure Test_Lt_Gt (T : Test; V : String; N : Test_Type) is Res : Boolean; Is_Neg : constant Boolean := Index (V, "-") = V'First; O : EL.Objects.Object := To_Object_Test (N); begin Res := To_Object_Test (N) < To_Object_Test (N); T.Assert (Condition => Res = False, Message => Test_Name & ".'<' returned invalid value: " & Boolean'Image (Res) & " when we expected: false"); Res := To_Object_Test (N) > To_Object_Test (N); T.Assert (Condition => Res = False, Message => Test_Name & ".'>' returned invalid value: " & Boolean'Image (Res) & " when we expected: false"); Res := To_Object_Test (N) + To_Object_Test (N) < To_Object_Test (N); T.Assert (Condition => Res = Is_Neg, Message => Test_Name & ".'<' returned invalid value: " & Boolean'Image (Res) & " when we expected: " & Boolean'Image (Is_Neg) & " with value: " & V & "Num=" & Long_Long_Integer'Image (To_Long_Long_Integer (O)) & " Sum=" & Long_Long_Integer'Image (To_Long_Long_Integer (O + O))); Res := To_Object_Test (N) > To_Object_Test (N) + To_Object_Test (N); T.Assert (Condition => Res = Is_Neg, Message => Test_Name & ".'>' returned invalid value: " & Boolean'Image (Res) & " when we expected: " & Boolean'Image (Is_Neg) & " with value: " & V); if V /= "0" and V /= "false" and V /= "true" then Res := To_Object_Test (N) < To_Object_Test (N) + To_Object_Test (N); T.Assert (Condition => Res = not Is_Neg, Message => Test_Name & ".'<' returned invalid value: " & Boolean'Image (Res) & " when we expected: " & Boolean'Image (not Is_Neg) & " with value: " & V); Res := To_Object_Test (N) + To_Object_Test (N) > To_Object_Test (N); T.Assert (Condition => Res = not Is_Neg, Message => Test_Name & ".'>' returned invalid value: " & Boolean'Image (Res) & " when we expected: " & Boolean'Image (not Is_Neg) & " with value: " & V); end if; end Test_Lt_Gt; procedure Test_Lt_Gt is new Test_Basic_Object (Test_Lt_Gt); -- ------------------------------ -- Test EL.Objects."=" -- ------------------------------ procedure Test_Eq (T : Test; V : String; N : Test_Type) is Res : Boolean; begin Res := To_Object_Test (N) = To_Object_Test (N); T.Assert (Condition => Res, Message => Test_Name & ".'=' returned invalid value: " & Boolean'Image (Res) & " when we expected: true"); Res := To_Object_Test (N) = To_Object ("Something" & V); T.Assert (Condition => Res = False, Message => Test_Name & ".'=' returned invalid value: " & Boolean'Image (Res) & " where we expected: False"); end Test_Eq; procedure Test_Eq is new Test_Basic_Object (Test_Eq); -- ------------------------------ -- Test EL.Objects."=" -- ------------------------------ procedure Test_Perf (T : Test; V : String; N : Test_Type) is pragma Unreferenced (T, V); use Ada.Calendar; Start : Ada.Calendar.Time; Value : constant EL.Objects.Object := To_Object_Test (N); D : Duration; begin Start := Ada.Calendar.Clock; for I in 1 .. 1_000 loop declare V : EL.Objects.Object := Value; begin V := V + V; pragma Unreferenced (V); end; end loop; D := Ada.Calendar.Clock - Start; Ada.Text_IO.Put_Line ("Perf " & Test_Name & ": " & Duration'Image (D * 1000.0)); end Test_Perf; procedure Test_Perf is new Test_Basic_Object (Test_Perf); package Caller is new Util.Test_Caller (Test, "EL.Objects"); procedure Add_Tests (Suite : in Util.Tests.Access_Test_Suite) is begin Caller.Add_Test (Suite, "Test EL.Objects.To_Object." & Test_Name, Test_To_Object'Access); Caller.Add_Test (Suite, "Test EL.Objects.To_String." & Test_Name, Test_To_Object'Access); Caller.Add_Test (Suite, "Test EL.Objects.'='." & Test_Name, Test_Eq'Access); Caller.Add_Test (Suite, "Test EL.Objects.'+'." & Test_Name, Test_Add'Access); Caller.Add_Test (Suite, "Test EL.Objects.'-'." & Test_Name, Test_Sub'Access); Caller.Add_Test (Suite, "Test EL.Objects.'<'." & Test_Name, Test_Lt_Gt'Access); Caller.Add_Test (Suite, "Test EL.Objects.'>'." & Test_Name, Test_Lt_Gt'Access); Caller.Add_Test (Suite, "Performance EL.Objects.'>'." & Test_Name, Test_Perf'Access); Caller.Add_Test (Suite, "Test EL.Objects.Hash." & Test_Name, Test_Hash'Access); end Add_Tests; end EL.Objects.Discrete_Tests;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- G N A T . T H R E A D S -- -- -- -- B o d y -- -- -- -- Copyright (C) 1998-2010, AdaCore -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Ada.Task_Identification; use Ada.Task_Identification; with System.Task_Primitives.Operations; with System.Tasking; with System.Tasking.Stages; use System.Tasking.Stages; with System.OS_Interface; use System.OS_Interface; with System.Soft_Links; use System.Soft_Links; with Ada.Unchecked_Conversion; package body GNAT.Threads is use System; package STPO renames System.Task_Primitives.Operations; type Thread_Id_Ptr is access all Thread_Id; pragma Warnings (Off); -- The following unchecked conversions are aliasing safe, since they -- are never used to create pointers to improperly aliased data. function To_Addr is new Ada.Unchecked_Conversion (Task_Id, Address); function To_Id is new Ada.Unchecked_Conversion (Address, Task_Id); function To_Id is new Ada.Unchecked_Conversion (Address, Tasking.Task_Id); function To_Tid is new Ada.Unchecked_Conversion (Address, Ada.Task_Identification.Task_Id); function To_Thread is new Ada.Unchecked_Conversion (Address, Thread_Id_Ptr); pragma Warnings (On); type Code_Proc is access procedure (Id : Address; Parm : Void_Ptr); task type Thread (Stsz : Natural; Prio : Any_Priority; Parm : Void_Ptr; Code : Code_Proc) is pragma Priority (Prio); pragma Storage_Size (Stsz); end Thread; task body Thread is begin Code.all (To_Addr (Current_Task), Parm); end Thread; type Tptr is access Thread; ------------------- -- Create_Thread -- ------------------- function Create_Thread (Code : Address; Parm : Void_Ptr; Size : Natural; Prio : Integer) return System.Address is TP : Tptr; function To_CP is new Ada.Unchecked_Conversion (Address, Code_Proc); begin TP := new Thread (Size, Prio, Parm, To_CP (Code)); return To_Addr (TP'Identity); end Create_Thread; --------------------- -- Register_Thread -- --------------------- function Register_Thread return System.Address is begin return Task_Primitives.Operations.Register_Foreign_Thread.all'Address; end Register_Thread; ----------------------- -- Unregister_Thread -- ----------------------- procedure Unregister_Thread is Self_Id : constant Tasking.Task_Id := Task_Primitives.Operations.Self; begin Self_Id.Common.State := Tasking.Terminated; Destroy_TSD (Self_Id.Common.Compiler_Data); Free_Task (Self_Id); end Unregister_Thread; -------------------------- -- Unregister_Thread_Id -- -------------------------- procedure Unregister_Thread_Id (Thread : System.Address) is Thr : constant Thread_Id := To_Thread (Thread).all; T : Tasking.Task_Id; use type Tasking.Task_Id; -- This use clause should be removed once a visibility problem -- with the MaRTE run time has been fixed. ??? pragma Warnings (Off); use type System.OS_Interface.Thread_Id; pragma Warnings (On); begin STPO.Lock_RTS; T := Tasking.All_Tasks_List; loop exit when T = null or else STPO.Get_Thread_Id (T) = Thr; T := T.Common.All_Tasks_Link; end loop; STPO.Unlock_RTS; if T /= null then T.Common.State := Tasking.Terminated; Destroy_TSD (T.Common.Compiler_Data); Free_Task (T); end if; end Unregister_Thread_Id; -------------------- -- Destroy_Thread -- -------------------- procedure Destroy_Thread (Id : Address) is Tid : constant Task_Id := To_Id (Id); begin Abort_Task (Tid); end Destroy_Thread; ---------------- -- Get_Thread -- ---------------- procedure Get_Thread (Id : Address; Thread : Address) is Thr : constant Thread_Id_Ptr := To_Thread (Thread); begin Thr.all := Task_Primitives.Operations.Get_Thread_Id (To_Id (Id)); end Get_Thread; ---------------- -- To_Task_Id -- ---------------- function To_Task_Id (Id : System.Address) return Ada.Task_Identification.Task_Id is begin return To_Tid (Id); end To_Task_Id; end GNAT.Threads;
package CONFIG is OUTPUT_SCREEN_SIZE : INTEGER := 20; type CONFIGURATION_TYPE is (DEVELOPER_VERSION, USER_VERSION, ONLY_MEANINGS); CONFIGURATION : CONFIGURATION_TYPE := DEVELOPER_VERSION; type METHOD_TYPE is (INTERACTIVE, COMMAND_LINE_INPUT, COMMAND_LINE_FILES); METHOD : METHOD_TYPE := INTERACTIVE; type LANGUAGE_TYPE is (LATIN_TO_ENGLISH, ENGLISH_TO_LATIN); LANGUAGE : LANGUAGE_TYPE := LATIN_TO_ENGLISH; SUPPRESS_PREFACE : BOOLEAN := FALSE; end CONFIG;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . T R A C E S . S E N D -- -- -- -- B o d y -- -- -- -- Copyright (C) 2001-2005 Free Software Foundation, Inc. -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNARL is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNARL; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This version is for all targets, provided that System.IO.Put_Line is -- functional. It prints debug information to Standard Output with System.IO; use System.IO; with GNAT.Regpat; use GNAT.Regpat; ---------------- -- Send_Trace -- ---------------- -- Prints debug information both in a human readable form -- and in the form they are sent from upper layers. separate (System.Traces.Format) procedure Send_Trace (Id : Trace_T; Info : String) is type Param_Type is (Name_Param, Caller_Param, Entry_Param, Timeout_Param, Acceptor_Param, Parent_Param, Number_Param); -- Type of parameter found in the message Info_Trace : String_Trace := Format_Trace (Info); function Get_Param (Input : String_Trace; Param : Param_Type; How_Many : Integer) return String; -- Extract a parameter from the given input string --------------- -- Get_Param -- --------------- function Get_Param (Input : String_Trace; Param : Param_Type; How_Many : Integer) return String is pragma Unreferenced (How_Many); Matches : Match_Array (1 .. 2); begin -- We need comments here ??? case Param is when Name_Param => Match ("/N:([\w]+)", Input, Matches); when Caller_Param => Match ("/C:([\w]+)", Input, Matches); when Entry_Param => Match ("/E:([\s]*) +([0-9 ,]+)", Input, Matches); when Timeout_Param => Match ("/T:([\s]*) +([0-9]+.[0-9]+)", Input, Matches); when Acceptor_Param => Match ("/A:([\w]+)", Input, Matches); when Parent_Param => Match ("/P:([\w]+)", Input, Matches); when Number_Param => Match ("/#:([\s]*) +([0-9]+)", Input, Matches); end case; if Matches (1).First < Input'First then return ""; end if; case Param is when Timeout_Param | Entry_Param | Number_Param => return Input (Matches (2).First .. Matches (2).Last); when others => return Input (Matches (1).First .. Matches (1).Last); end case; end Get_Param; -- Start of processing for Send_Trace begin New_Line; Put_Line ("- Trace Debug Info ----------------"); Put ("Caught event Id : "); case Id is when M_Accept_Complete => Put ("M_Accept_Complete"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " completes accept on entry " & Get_Param (Info_Trace, Entry_Param, 1) & " with " & Get_Param (Info_Trace, Caller_Param, 1)); when M_Select_Else => Put ("M_Select_Else"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " selects else statement"); when M_RDV_Complete => Put ("M_RDV_Complete"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " completes rendezvous with " & Get_Param (Info_Trace, Caller_Param, 1)); when M_Call_Complete => Put ("M_Call_Complete"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " completes call"); when M_Delay => Put ("M_Delay"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " completes delay " & Get_Param (Info_Trace, Timeout_Param, 1)); when E_Missed => Put ("E_Missed"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " got an invalid acceptor " & Get_Param (Info_Trace, Acceptor_Param, 1)); when E_Timeout => Put ("E_Timeout"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " ends select due to timeout "); when E_Kill => Put ("E_Kill"); New_Line; Put_Line ("Asynchronous Transfer of Control on task " & Get_Param (Info_Trace, Name_Param, 1)); when W_Delay => Put ("W_Delay"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " sleeping " & Get_Param (Info_Trace, Timeout_Param, 1) & " seconds"); when WU_Delay => Put ("WU_Delay"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " sleeping until " & Get_Param (Info_Trace, Timeout_Param, 1)); when W_Call => Put ("W_Call"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " calling entry " & Get_Param (Info_Trace, Entry_Param, 1) & " of " & Get_Param (Info_Trace, Acceptor_Param, 1)); when W_Accept => Put ("W_Accept"); New_Line; Put ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " waiting on " & Get_Param (Info_Trace, Number_Param, 1) & " accept(s)" & ", " & Get_Param (Info_Trace, Entry_Param, 1)); New_Line; when W_Select => Put ("W_Select"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " waiting on " & Get_Param (Info_Trace, Number_Param, 1) & " select(s)" & ", " & Get_Param (Info_Trace, Entry_Param, 1)); New_Line; when W_Completion => Put ("W_Completion"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " waiting for completion "); when WT_Select => Put ("WT_Select"); New_Line; Put ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " waiting " & Get_Param (Info_Trace, Timeout_Param, 1) & " seconds on " & Get_Param (Info_Trace, Number_Param, 1) & " select(s)"); if Get_Param (Info_Trace, Number_Param, 1) /= "" then Put (", " & Get_Param (Info_Trace, Entry_Param, 1)); end if; New_Line; when WT_Call => Put ("WT_Call"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " calling entry " & Get_Param (Info_Trace, Entry_Param, 1) & " of " & Get_Param (Info_Trace, Acceptor_Param, 1) & " with timeout " & Get_Param (Info_Trace, Timeout_Param, 1)); when WT_Completion => Put ("WT_Completion"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " waiting " & Get_Param (Info_Trace, Timeout_Param, 1) & " for call completion"); when PO_Call => Put ("PO_Call"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " calling protected entry " & Get_Param (Info_Trace, Entry_Param, 1)); when POT_Call => Put ("POT_Call"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " calling protected entry " & Get_Param (Info_Trace, Entry_Param, 1) & " with timeout " & Get_Param (Info_Trace, Timeout_Param, 1)); when PO_Run => Put ("PO_Run"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " running entry " & Get_Param (Info_Trace, Entry_Param, 1) & " for " & Get_Param (Info_Trace, Caller_Param, 1)); when PO_Done => Put ("PO_Done"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " finished call from " & Get_Param (Info_Trace, Caller_Param, 1)); when PO_Lock => Put ("PO_Lock"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " took lock"); when PO_Unlock => Put ("PO_Unlock"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " released lock"); when T_Create => Put ("T_Create"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " created"); when T_Activate => Put ("T_Activate"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " activated"); when T_Abort => Put ("T_Abort"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " aborted by " & Get_Param (Info_Trace, Parent_Param, 1)); when T_Terminate => Put ("T_Terminate"); New_Line; Put_Line ("Task " & Get_Param (Info_Trace, Name_Param, 1) & " terminated"); when others => Put ("Invalid Id"); end case; Put_Line (" --> " & Info_Trace); Put_Line ("-----------------------------------"); New_Line; end Send_Trace;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . S T R E A M S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2006, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- -- apply solely to the contents of the part following the private keyword. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- -- -- -- -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ package Ada.Streams is pragma Pure; type Root_Stream_Type is abstract tagged limited private; pragma Preelaborable_Initialization (Root_Stream_Type); type Stream_Element is mod 2 ** Standard'Storage_Unit; type Stream_Element_Offset is range -(2 ** (Standard'Address_Size - 1)) .. +(2 ** (Standard'Address_Size - 1)) - 1; subtype Stream_Element_Count is Stream_Element_Offset range 0 .. Stream_Element_Offset'Last; type Stream_Element_Array is array (Stream_Element_Offset range <>) of aliased Stream_Element; procedure Read (Stream : in out Root_Stream_Type; Item : out Stream_Element_Array; Last : out Stream_Element_Offset) is abstract; procedure Write (Stream : in out Root_Stream_Type; Item : Stream_Element_Array) is abstract; private type Root_Stream_Type is abstract tagged limited null record; end Ada.Streams;
-- CE3409E.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 SET_COL RAISES END_ERROR IF NO LINE BEFORE THE END OF -- THE FILE IS LONG ENOUGH. -- APPLICABILITY CRITERIA: -- THIS TEST IS APPLICABLE ONLY TO IMPLEMENTATIONS WHICH SUPPORT -- TEXT FILES. -- HISTORY: -- ABW 08/26/82 -- SPS 09/20/82 -- JBG 01/27/83 -- TBN 11/10/86 REVISED TEST TO OUTPUT A NOT_APPLICABLE -- RESULT WHEN FILES ARE NOT SUPPORTED. -- JLH 08/31/87 REMOVED DEPENDENCE ON RESET, REMOVED UNNECESSARY -- CODE, AND CHECKED FOR USE_ERROR ON DELETE. WITH REPORT; USE REPORT; WITH TEXT_IO; USE TEXT_IO; PROCEDURE CE3409E IS INCOMPLETE : EXCEPTION; FILE : FILE_TYPE; CHAR : CHARACTER := ('C'); ITEM_CHAR : CHARACTER; BEGIN TEST ("CE3409E", "CHECK THAT SET_COL RAISES END_ERROR " & "WHEN IT ATTEMPTS TO READ THE FILE TERMINATOR"); -- CREATE & INITIALIZE FILE BEGIN CREATE (FILE, OUT_FILE, LEGAL_FILE_NAME); EXCEPTION WHEN USE_ERROR => NOT_APPLICABLE ("USE_ERROR RAISED ON TEXT CREATE WITH " & "OUT_FILE MODE"); RAISE INCOMPLETE; WHEN NAME_ERROR => NOT_APPLICABLE ("NAME_ERROR RAISED ON TEXT CREATE " & "WITH OUT_FILE MODE"); RAISE INCOMPLETE; WHEN OTHERS => FAILED ("UNEXPECTED EXCEPTION RAISED ON TEXT CREATE"); RAISE INCOMPLETE; END; PUT (FILE, "ABCD"); NEW_LINE (FILE); PUT (FILE, "DEF"); CLOSE (FILE); BEGIN OPEN (FILE, IN_FILE, LEGAL_FILE_NAME); EXCEPTION WHEN USE_ERROR => NOT_APPLICABLE ("USE_ERROR RAISED ON TEXT OPEN WITH " & "IN_FILE MODE"); RAISE INCOMPLETE; END; BEGIN SET_COL (FILE, 513); FAILED ("END ERROR NOT RAISED ON SET_COL"); EXCEPTION WHEN END_ERROR => NULL; WHEN OTHERS => FAILED ("UNEXPECTED EXCEPTION RAISED ON SET_COL"); END; BEGIN DELETE (FILE); EXCEPTION WHEN USE_ERROR => NULL; END; RESULT; EXCEPTION WHEN INCOMPLETE => RESULT; END CE3409E;
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- G N A T . M D 5 -- -- -- -- B o d y -- -- -- -- Copyright (C) 2009-2011, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package does not require a body, since it is a package renaming. We -- provide a dummy file containing a No_Body pragma so that previous versions -- of the body (which did exist) will not interfere. pragma No_Body;
-- Copyright 2007-2017 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. package Defs is type Struct1 is limited record X : Integer := 13; Y : Integer := 19; end record; function F1 (S : Struct1) return Integer; S1 : Struct1; end Defs;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Ada Modeling Framework -- -- -- -- Runtime Library Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2011, Vadim Godunko <vgodunko@gmail.com> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ package body AMF.Internals.UML_Value_Specifications is ------------------- -- Boolean_Value -- ------------------- overriding function Boolean_Value (Self : not null access constant UML_Value_Specification_Proxy) return AMF.Optional_Boolean is -- 7.3.55 ValueSpecification (from Kernel) -- -- [4] The query booleanValue() gives a single Boolean value when one -- can be computed. -- -- ValueSpecification::booleanValue() : [Boolean]; -- booleanValue = Set{} begin return (Is_Empty => True); end Boolean_Value; ------------------- -- Integer_Value -- ------------------- overriding function Integer_Value (Self : not null access constant UML_Value_Specification_Proxy) return AMF.Optional_Integer is -- 7.3.55 ValueSpecification (from Kernel) -- -- [2] The query integerValue() gives a single Integer value when one -- can be computed. -- -- ValueSpecification::integerValue() : [Integer]; -- integerValue = Set{} begin return (Is_Empty => True); end Integer_Value; ------------------- -- Is_Computable -- ------------------- overriding function Is_Computable (Self : not null access constant UML_Value_Specification_Proxy) return Boolean is -- 7.3.55 ValueSpecification (from Kernel) -- -- [1] The query isComputable() determines whether a value specification -- can be computed in a model. This operation cannot be fully defined in -- OCL. A conforming implementation is expected to deliver true for this -- operation for all value specifications that it can compute, and to -- compute all of those for which the operation is true. A conforming -- implementation is expected to be able to compute the value of all -- literals. -- -- ValueSpecification::isComputable(): Boolean; -- isComputable = false -- begin return False; end Is_Computable; ------------- -- Is_Null -- ------------- overriding function Is_Null (Self : not null access constant UML_Value_Specification_Proxy) return Boolean is -- 7.3.55 ValueSpecification (from Kernel) -- -- [7] The query isNull() returns true when it can be computed that the -- value is null. -- -- ValueSpecification::isNull() : Boolean; -- isNull = false begin return False; end Is_Null; ---------------- -- Real_Value -- ---------------- overriding function Real_Value (Self : not null access constant UML_Value_Specification_Proxy) return AMF.Optional_Real is -- 7.3.55 ValueSpecification (from Kernel) -- -- [3] The query realValue() gives a single Real value when one can be -- computed. -- -- ValueSpecification::realValue() : [Real]; -- realValue = Set{} begin return (Is_Empty => True); end Real_Value; ------------------ -- String_Value -- ------------------ overriding function String_Value (Self : not null access constant UML_Value_Specification_Proxy) return AMF.Optional_String is -- 7.3.55 ValueSpecification (from Kernel) -- -- [5] The query stringValue() gives a single String value when one can -- be computed. -- -- ValueSpecification::stringValue() : [String]; -- stringValue = Set{} begin return (Is_Empty => True); end String_Value; --------------------- -- Unlimited_Value -- --------------------- overriding function Unlimited_Value (Self : not null access constant UML_Value_Specification_Proxy) return AMF.Optional_Unlimited_Natural is -- 7.3.55 ValueSpecification (from Kernel) -- -- [6] The query unlimitedValue() gives a single UnlimitedNatural value -- when one can be computed. -- -- ValueSpecification::unlimitedValue() : [UnlimitedNatural]; -- unlimitedValue = Set{} begin return (Is_Empty => True); end Unlimited_Value; end AMF.Internals.UML_Value_Specifications;
package Array_Swapping is subtype ElementType is Natural range 0..1000; subtype IndexType is Positive range 1..100; type ArrayType is array (IndexType) of ElementType; procedure Rotate3(A: in out ArrayType; X, Y, Z: in IndexType) with Depends => (A => (A, X, Y, Z)), Pre => X /= Y and Y /= Z and X /= Z, Post => A = (A'Old with delta X => A'Old(Y), Y => A'Old(Z), Z => A'Old(X)); end Array_Swapping;
------------------------------------------------------------------------------ -- Copyright (c) 2021, Lev Kujawski. -- -- 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 sell copies of the Software, and to permit persons to whom the -- Software is furnished to do so. -- -- 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. -- -- SPDX-License-Identifier: MIT-0 -- -- File: cstandio.adb (Ada Package Body) -- Language: Ada (1987) [1] -- Author: Lev Kujawski -- Description: C Standard Input/Output (stdio.h) interface for Ada -- -- References: -- [1] Programming languages - Ada, ISO/IEC 8652:1987, 15 Jun. 1987. ------------------------------------------------------------------------------ package body C_Standard_IO is function "=" (Left : in System.Address; Right : in System.Address) return Boolean renames System."="; Read_Mode_C : constant String := "r" & ASCII.NUL; Write_Mode_C : constant String := "w" & ASCII.NUL; Read_Write_Mode_C : constant String := "r+" & ASCII.NUL; Address_Format_C : constant String := "%p" & ASCII.NUL; Integer_Format_C : constant String := "%d" & ASCII.NUL; Long_Integer_Format_C : constant String := "%ld" & ASCII.NUL; Long_Float_Format_C : constant String := "%f" & ASCII.NUL; Long_Long_Float_Format_C : constant String := "%Lf" & ASCII.NUL; function File_Mode (File : in File_T) return File_Mode_T is begin if File.Address = System.Null_Address then raise Usage_Error; end if; return File.Mode; end File_Mode; function Is_Readable (File : in File_T) return Boolean is begin return File.Address /= System.Null_Address and then (File.Mode = Read or File.Mode = Read_Write); end Is_Readable; function Is_Writable (File : in File_T) return Boolean is begin return File.Address /= System.Null_Address and then (File.Mode = Write or File.Mode = Read_Write); end Is_Writable; function Standard_Input return File_T is function get_stdin return System.Address; pragma Interface (C, get_stdin); Result : System.Address := System.Null_Address; begin -- Standard_Input Result := get_stdin; if Result = System.Null_Address then raise Error; end if; return File_T'(Mode => Read, Address => Result); end Standard_Input; function Standard_Output return File_T is function get_stdout return System.Address; pragma Interface (C, get_stdout); Result : System.Address := System.Null_Address; begin -- Standard_Output Result := get_stdout; if Result = System.Null_Address then raise Error; end if; return File_T'(Mode => Write, Address => Result); end Standard_Output; function Standard_Error return File_T is function get_stderr return System.Address; pragma Interface (C, get_stderr); Result : System.Address := System.Null_Address; begin -- Standard_Error Result := get_stderr; if Result = System.Null_Address then raise Error; end if; return File_T'(Mode => Write, Address => Result); end Standard_Error; function C_File_Mode_String (Of_Mode : in File_Mode_T) return System.Address is begin case Of_Mode is when Read => return Read_Mode_C (Read_Mode_C'First)'Address; when Write => return Write_Mode_C (Write_Mode_C'First)'Address; when Read_Write => return Read_Write_Mode_C (Read_Write_Mode_C'First)'Address; end case; end C_File_Mode_String; procedure Open_File (File : in out File_T; With_Name : in String; With_Mode : in File_Mode_T) is function fopen (filename : in System.Address; mode : in System.Address) return System.Address; pragma Interface (C, fopen); begin -- Open_File if File.Address /= System.Null_Address or else With_Name'Length < 1 then raise Usage_Error; end if; declare C_File_Name : constant String (1 .. With_Name'Length + 1) := With_Name & ASCII.NUL; Result : System.Address := System.Null_Address; begin Result := fopen (filename => C_File_Name (C_File_Name'First)'Address, mode => C_File_Mode_String (Of_Mode => With_Mode)); if Result = System.Null_Address then raise POSIX_Error; end if; File := File_T'(Address => Result, Mode => With_Mode); end; end Open_File; procedure Open_Null (File : in out File_T) is separate; procedure Close_File (File : in out File_T) is function fclose (stream : in System.Address) return Integer; pragma Interface (C, fclose); Result : Integer; begin -- Close_File if File.Address /= System.Null_Address then Result := fclose (stream => File.Address); if Result /= 0 then raise POSIX_Error; end if; File.Address := System.Null_Address; end if; end Close_File; procedure Put (File : in File_T; Item : in Character) is function fputc (c : in Integer; stream : in System.Address) return Integer; pragma Interface (C, fputc); Result : Integer; begin -- Put if not Is_Writable (File) then raise Usage_Error; end if; Result := fputc (c => Character'Pos (Item), stream => File.Address); if Result /= Character'Pos (Item) then raise POSIX_Error; end if; end Put; procedure Put (Item : in Character) is begin Put (File => Standard_Output, Item => Item); end Put; procedure Put (File : in File_T; Item : in String) is function fwrite (ptr : in System.Address; size : in Natural; nitems : in Natural; stream : in System.Address) return Natural; pragma Interface (C, fwrite); Result : Natural; begin -- Put if not Is_Writable (File) then raise Usage_Error; end if; if Item'Length > 0 then Result := fwrite (ptr => Item (Item'First)'Address, size => 1, nitems => Item'Length, stream => File.Address); if Result /= Item'Length then raise POSIX_Error; end if; end if; end Put; procedure Put (Item : in String) is begin Put (File => Standard_Output, Item => Item); end Put; procedure Put_Line (File : in File_T; Item : in String) is begin Put (File, Item); Put (File, ASCII.LF); end Put_Line; procedure Put_Line (Item : in String) is begin Put_Line (File => Standard_Output, Item => Item); end Put_Line; -- TODO: Validate format strings within _Format functions. -- ADDRESS INPUT/OUTPUT -------------------------------------------------- procedure Put_Address (File : in File_T := Standard_Output; Value : in System.Address; Format : in String; Written : out Natural) is function fprintf_p (stream : in System.Address; fmt : in System.Address; arg : in System.Address) return Integer; pragma Interface (C, fprintf_p); Result : Integer; begin -- Put_Address if not Is_Writable (File) then raise Usage_Error; end if; Result := fprintf_p (stream => File.Address, fmt => Format (Format'First)'Address, arg => Value); if Result < 0 then raise POSIX_Error; end if; Written := Natural'(Result); end Put_Address; function Address_Format (Format : in String) return String is begin if Format = "" then return Address_Format_C; else return Format; end if; end Address_Format; function Address_Image (Value : in System.Address; Format : in String := "") return String is function sprintf_p (s : in System.Address; fmt : in System.Address; arg : in System.Address) return Integer; pragma Interface (C, sprintf_p); Actual_Format : constant String := Address_Format (Format); Null_File : File_T; Buffer_Length : Natural; Result : Integer; begin -- Address_Image Open_Null (Null_File); begin Put_Address (File => Null_File, Value => Value, Format => Actual_Format, Written => Buffer_Length); exception when others => Close_File (Null_File); raise; end; Close_File (Null_File); declare -- Add one to Buffer_Length for ASCII.NUL terminator. subtype Print_Buffer_Index_T is Positive range 1 .. Buffer_Length + 1; Print_Buffer : String (Print_Buffer_Index_T); begin -- Place a sentinel Print_Buffer (Print_Buffer'Last) := ' '; Result := sprintf_p (Print_Buffer (Print_Buffer'First)'Address, Actual_Format (Actual_Format'First)'Address, Value); if Result < 0 then raise POSIX_Error; end if; if Result /= Buffer_Length or else Print_Buffer (Print_Buffer'Last) /= ASCII.NUL then raise Error; end if; return Print_Buffer (1 .. Buffer_Length); end; end Address_Image; -- INTEGER INPUT/OUTPUT -------------------------------------------------- procedure Put_Integer (File : in File_T := Standard_Output; Value : in Integer; Format : in String; Written : out Natural) is function fprintf_i (stream : in System.Address; fmt : in System.Address; arg : in Integer) return Integer; pragma Interface (C, fprintf_i); Result : Integer; begin -- Put_Integer if not Is_Writable (File) then raise Usage_Error; end if; Result := fprintf_i (stream => File.Address, fmt => Format (Format'First)'Address, arg => Value); if Result < 0 then raise POSIX_Error; end if; Written := Natural'(Result); end Put_Integer; function Integer_Format (Format : in String) return String is begin if Format = "" then return Integer_Format_C; else return Format; end if; end Integer_Format; function Integer_Image (Value : in Integer; Format : in String := "") return String is function sprintf_i (s : in System.Address; fmt : in System.Address; arg : in Integer) return Integer; pragma Interface (C, sprintf_i); Actual_Format : constant String := Integer_Format (Format); Null_File : File_T; Buffer_Length : Natural; Result : Integer; begin -- Integer_Image Open_Null (Null_File); begin Put_Integer (File => Null_File, Value => Value, Format => Actual_Format, Written => Buffer_Length); exception when others => Close_File (Null_File); raise; end; Close_File (Null_File); declare -- Add one to Buffer_Length for ASCII.NUL terminator. subtype Print_Buffer_Index_T is Positive range 1 .. Buffer_Length + 1; Print_Buffer : String (Print_Buffer_Index_T); begin -- Place a sentinel Print_Buffer (Print_Buffer'Last) := ' '; Result := sprintf_i (Print_Buffer (Print_Buffer'First)'Address, Actual_Format (Actual_Format'First)'Address, Value); if Result < 0 then raise POSIX_Error; end if; if Result /= Buffer_Length or else Print_Buffer (Print_Buffer'Last) /= ASCII.NUL then raise Error; end if; return Print_Buffer (1 .. Buffer_Length); end; end Integer_Image; -- LONG INTEGER INPUT/OUTPUT --------------------------------------------- procedure Put_Long_Integer (File : in File_T := Standard_Output; Value : in Long_Integer; Format : in String; Written : out Natural) is function fprintf_li (stream : in System.Address; fmt : in System.Address; arg : in Long_Integer) return Integer; pragma Interface (C, fprintf_li); Result : Integer; begin -- Put_Long_Integer if not Is_Writable (File) then raise Usage_Error; end if; Result := fprintf_li (stream => File.Address, fmt => Format (Format'First)'Address, arg => Value); if Result < 0 then raise POSIX_Error; end if; Written := Natural'(Result); end Put_Long_Integer; function Long_Integer_Format (Format : in String) return String is begin if Format = "" then return Long_Integer_Format_C; else return Format; end if; end Long_Integer_Format; function Long_Integer_Image (Value : in Long_Integer; Format : in String := "") return String is function sprintf_li (s : in System.Address; fmt : in System.Address; arg : in Long_Integer) return Integer; pragma Interface (C, sprintf_li); Actual_Format : constant String := Long_Integer_Format (Format); Null_File : File_T; Buffer_Length : Natural; Result : Integer; begin -- Long_Integer_Image Open_Null (Null_File); begin Put_Long_Integer (File => Null_File, Value => Value, Format => Actual_Format, Written => Buffer_Length); exception when others => Close_File (Null_File); raise; end; Close_File (Null_File); declare -- Add one to Buffer_Length for ASCII.NUL terminator. subtype Print_Buffer_Index_T is Positive range 1 .. Buffer_Length + 1; Print_Buffer : String (Print_Buffer_Index_T); begin -- Place a sentinel Print_Buffer (Print_Buffer'Last) := ' '; Result := sprintf_li (Print_Buffer (Print_Buffer'First)'Address, Actual_Format (Actual_Format'First)'Address, Value); if Result < 0 then raise POSIX_Error; end if; if Result /= Buffer_Length or else Print_Buffer (Print_Buffer'Last) /= ASCII.NUL then raise Error; end if; return Print_Buffer (1 .. Buffer_Length); end; end Long_Integer_Image; -- LONG FLOAT INPUT/OUTPUT ----------------------------------------------- procedure Put_Long_Float (File : in File_T := Standard_Output; Value : in Long_Float; Format : in String; Written : out Natural) is function fprintf_d (stream : in System.Address; fmt : in System.Address; arg : in Long_Float) return Integer; pragma Interface (C, fprintf_d); Result : Integer; begin -- Put_Long_Float if not Is_Writable (File) then raise Usage_Error; end if; Result := fprintf_d (stream => File.Address, fmt => Format (Format'First)'Address, arg => Value); if Result < 0 then raise POSIX_Error; end if; Written := Natural'(Result); end Put_Long_Float; function Long_Float_Format (Format : in String) return String is begin if Format = "" then return Long_Float_Format_C; else return Format; end if; end Long_Float_Format; function Long_Float_Image (Value : in Long_Float; Format : in String := "") return String is function sprintf_d (s : in System.Address; fmt : in System.Address; arg : in Long_Float) return Integer; pragma Interface (C, sprintf_d); Actual_Format : constant String := Long_Float_Format (Format); Null_File : File_T; Buffer_Length : Natural; Result : Integer; begin -- Long_Float_Image Open_Null (Null_File); begin Put_Long_Float (File => Null_File, Value => Value, Format => Actual_Format, Written => Buffer_Length); exception when others => Close_File (Null_File); raise; end; Close_File (Null_File); declare -- Add one to Buffer_Length for ASCII.NUL terminator. subtype Print_Buffer_Index_T is Positive range 1 .. Buffer_Length + 1; Print_Buffer : String (Print_Buffer_Index_T); begin -- Place a sentinel Print_Buffer (Print_Buffer'Last) := ' '; Result := sprintf_d (Print_Buffer (Print_Buffer'First)'Address, Actual_Format (Actual_Format'First)'Address, Value); if Result < 0 then raise POSIX_Error; end if; if Result /= Buffer_Length or else Print_Buffer (Print_Buffer'Last) /= ASCII.NUL then raise Error; end if; return Print_Buffer (1 .. Buffer_Length); end; end Long_Float_Image; -- LONG LONG FLOAT INPUT/OUTPUT ------------------------------------------ procedure Put_Long_Long_Float (File : in File_T := Standard_Output; Value : in Long_Long_Float; Format : in String; Written : out Natural) is function fprintf_ld (stream : in System.Address; fmt : in System.Address; arg : in Long_Long_Float) return Integer; pragma Interface (C, fprintf_ld); Result : Integer; begin -- Put_Long_Long_Float if not Is_Writable (File) then raise Usage_Error; end if; Result := fprintf_ld (stream => File.Address, fmt => Format (Format'First)'Address, arg => Value); if Result < 0 then raise POSIX_Error; end if; Written := Natural'(Result); end Put_Long_Long_Float; function Long_Long_Float_Format (Format : in String) return String is begin if Format = "" then return Long_Long_Float_Format_C; else return Format; end if; end Long_Long_Float_Format; function Long_Long_Float_Image (Value : in Long_Long_Float; Format : in String := "") return String is function sprintf_ld (s : in System.Address; fmt : in System.Address; arg : in Long_Long_Float) return Integer; pragma Interface (C, sprintf_ld); Actual_Format : constant String := Long_Long_Float_Format (Format); Null_File : File_T; Buffer_Length : Natural; Result : Integer; begin -- Long_Long_Float_Image Open_Null (Null_File); begin Put_Long_Long_Float (File => Null_File, Value => Value, Format => Actual_Format, Written => Buffer_Length); exception when others => Close_File (Null_File); raise; end; Close_File (Null_File); declare -- Add one to Buffer_Length for ASCII.NUL terminator. subtype Print_Buffer_Index_T is Positive range 1 .. Buffer_Length + 1; Print_Buffer : String (Print_Buffer_Index_T); begin -- Place a sentinel at the end. Print_Buffer (Print_Buffer'Last) := ' '; Result := sprintf_ld (Print_Buffer (Print_Buffer'First)'Address, Actual_Format (Actual_Format'First)'Address, Value); if Result < 0 then raise POSIX_Error; end if; if Result /= Buffer_Length or else Print_Buffer (Print_Buffer'Last) /= ASCII.NUL then raise Error; end if; return Print_Buffer (1 .. Buffer_Length); end; end Long_Long_Float_Image; end C_Standard_IO;
with Ada.Strings.Unbounded; with Lined.Buffer; package body Lined.Searching with SPARK_Mode, Refined_State => (State => (Cur_Pat, Processed) ) is use Ada.Strings.Unbounded; Cur_Pat : Unbounded_String := Null_Unbounded_String; Processed : PragmARC.Matching.Character_Regular_Expression.Processed_Pattern; function Terminator (Pattern : String; Delimiter : Character; Classes : Boolean := True) return Positive is In_Class : Boolean := False; use PragmARC.Matching.Character_Regular_Expression; begin -- Terminator Scan : for I in Pattern'Range loop if Pattern (I) = Delimiter and not In_Class and (I = Pattern'First or else Pattern (I - 1) /= Escape_Item) then return I; end if; case Pattern (I) is when Start_Class_Item => if Classes and not In_Class then In_Class := True; end if; when Stop_Class_Item => if Classes and In_Class then In_Class := False; end if; when others => null; end case; end loop Scan; raise Invalid_Input; -- Delimiter not found end Terminator; procedure Process (Pattern : in String) is pragma SPARK_Mode (Off); begin -- Process Cur_Pat := To_Unbounded_String (Pattern); Handle_Invalid : declare -- Empty begin -- Handle_Invalid PragmARC.Matching.Character_Regular_Expression.Process (Pattern => Pattern, Processed => Processed); exception -- Handle_Invalid when others => Cur_Pat := Null_Unbounded_String; raise Invalid_Input; end Handle_Invalid; end Process; function Current return String is (To_String (Cur_Pat) ); function Search (Current : Natural; Forward : Boolean) return Positive is pragma SPARK_Mode (Off); Line : Natural := Current; Count : Natural := 0; begin -- Search if Buffer.Last = 0 or Cur_Pat = Null_Unbounded_String then raise Invalid_Input; end if; Match : loop if Forward then Line := Buffer.Next (Line); else Line := Buffer.Prev (Line); end if; if PragmARC.Matching.Character_Regular_Expression.Location (Processed, Buffer.Line (Line) ).Found then return Line; end if; Count := Count + 1; exit Match when Line = Current or (Current = 0 and Count > 1 and Line = (if Forward then 1 else Buffer.Last) ); end loop Match; raise Invalid_Input; end Search; function Search (Line : String) return PragmARC.Matching.Character_Regular_Expression.Result is pragma SPARK_Mode (Off); begin -- Search if Cur_Pat = Null_Unbounded_String then raise Invalid_Input; end if; return PragmARC.Matching.Character_Regular_Expression.Location (Processed, Line); end Search; end Lined.Searching;
pragma License (Unrestricted); -- generalized unit of Ada.Strings.Hash with Ada.Containers; generic type Character_Type is (<>); type String_Type is array (Positive range <>) of Character_Type; with procedure Get ( Item : String_Type; Last : out Natural; Value : out Wide_Wide_Character; Is_Illegal_Sequence : out Boolean); function Ada.Strings.Generic_Hash (Key : String_Type) return Containers.Hash_Type; pragma Pure (Ada.Strings.Generic_Hash);
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . S T R I N G S . U N B O U N D E D . T E X T _ I O -- -- -- -- B o d y -- -- -- -- Copyright (C) 1997-2020, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Ada.Text_IO; use Ada.Text_IO; package body Ada.Strings.Unbounded.Text_IO is -------------- -- Get_Line -- -------------- function Get_Line return Unbounded_String is Buffer : String (1 .. 1000); Last : Natural; Str1 : String_Access; Str2 : String_Access; Result : Unbounded_String; begin Get_Line (Buffer, Last); Str1 := new String'(Buffer (1 .. Last)); while Last = Buffer'Last loop Get_Line (Buffer, Last); Str2 := new String (1 .. Str1'Last + Last); Str2 (Str1'Range) := Str1.all; Str2 (Str1'Last + 1 .. Str2'Last) := Buffer (1 .. Last); Free (Str1); Str1 := Str2; end loop; Result.Reference := Str1; Result.Last := Str1'Length; return Result; end Get_Line; function Get_Line (File : Ada.Text_IO.File_Type) return Unbounded_String is Buffer : String (1 .. 1000); Last : Natural; Str1 : String_Access; Str2 : String_Access; Result : Unbounded_String; begin Get_Line (File, Buffer, Last); Str1 := new String'(Buffer (1 .. Last)); while Last = Buffer'Last loop Get_Line (File, Buffer, Last); Str2 := new String (1 .. Str1'Last + Last); Str2 (Str1'Range) := Str1.all; Str2 (Str1'Last + 1 .. Str2'Last) := Buffer (1 .. Last); Free (Str1); Str1 := Str2; end loop; Result.Reference := Str1; Result.Last := Str1'Length; return Result; end Get_Line; procedure Get_Line (Item : out Unbounded_String) is begin Get_Line (Current_Input, Item); end Get_Line; procedure Get_Line (File : Ada.Text_IO.File_Type; Item : out Unbounded_String) is begin -- We are going to read into the string that is already there and -- allocated. Hopefully it is big enough now, if not, we will extend -- it in the usual manner using Realloc_For_Chunk. -- Make sure we start with at least 80 characters if Item.Reference'Last < 80 then Realloc_For_Chunk (Item, 80); end if; -- Loop to read data, filling current string as far as possible. -- Item.Last holds the number of characters read so far. Item.Last := 0; loop Get_Line (File, Item.Reference (Item.Last + 1 .. Item.Reference'Last), Item.Last); -- If we hit the end of the line before the end of the buffer, then -- we are all done, and the result length is properly set. if Item.Last < Item.Reference'Last then return; end if; -- If not enough room, double it and keep reading Realloc_For_Chunk (Item, Item.Last); end loop; end Get_Line; --------- -- Put -- --------- procedure Put (U : Unbounded_String) is begin Put (U.Reference (1 .. U.Last)); end Put; procedure Put (File : File_Type; U : Unbounded_String) is begin Put (File, U.Reference (1 .. U.Last)); end Put; -------------- -- Put_Line -- -------------- procedure Put_Line (U : Unbounded_String) is begin Put_Line (U.Reference (1 .. U.Last)); end Put_Line; procedure Put_Line (File : File_Type; U : Unbounded_String) is begin Put_Line (File, U.Reference (1 .. U.Last)); end Put_Line; end Ada.Strings.Unbounded.Text_IO;
function Multiply (A, B : Number) return Number is begin return A * B; end Multiply;
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>my_ip_hls</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>12</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>slaveIn_V_data_V</name> <fileName></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>slaveIn.V.data.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>slaveIn_V_strb_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>slaveIn.V.strb.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_3"> <Value> <Obj> <type>1</type> <id>3</id> <name>slaveIn_V_last_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>slaveIn.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="_4"> <Value> <Obj> <type>1</type> <id>4</id> <name>masterOut_V_data_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>masterOut.V.data.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_5"> <Value> <Obj> <type>1</type> <id>5</id> <name>masterOut_V_strb_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>masterOut.V.strb.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_6"> <Value> <Obj> <type>1</type> <id>6</id> <name>masterOut_V_last_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>masterOut.V.last.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_7"> <Value> <Obj> <type>1</type> <id>7</id> <name>rule0_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></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_8"> <Value> <Obj> <type>1</type> <id>8</id> <name>rule1_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></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_9"> <Value> <Obj> <type>1</type> <id>9</id> <name>rule2_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></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>0</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_10"> <Value> <Obj> <type>1</type> <id>10</id> <name>rule0cnt_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>rule0cnt.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_11"> <Value> <Obj> <type>1</type> <id>11</id> <name>rule1cnt_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>rule1cnt.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_12"> <Value> <Obj> <type>1</type> <id>12</id> <name>rule2cnt_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>rule2cnt.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <direction>1</direction> <if_type>0</if_type> <array_size>0</array_size> <bit_vecs> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> </ports> <nodes class_id="8" tracking_level="0" version="0"> <count>23</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_13"> <Value> <Obj> <type>0</type> <id>22</id> <name>rule2_V_read</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>94</item> <item>95</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>23</id> <name>rule1_V_read</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>96</item> <item>97</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>24</id> <name>rule0_V_read</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>98</item> <item>99</item> </oprand_edges> <opcode>read</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>25</id> <name>rule2_V_c3</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>101</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>26</id> <name>rule1_V_c2</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>102</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>27</id> <name>rule0_V_c1</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>103</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>28</id> <name>rule2_V_c</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>104</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>29</id> <name>rule1_V_c</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>105</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>30</id> <name>rule0_V_c</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>106</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>78</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>7</count> <item_version>0</item_version> <item>108</item> <item>109</item> <item>110</item> <item>111</item> <item>112</item> <item>113</item> <item>114</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>79</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>9</count> <item_version>0</item_version> <item>116</item> <item>117</item> <item>118</item> <item>119</item> <item>120</item> <item>121</item> <item>122</item> <item>705</item> <item>706</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>80</id> <name>call_ret</name> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>C:\Users\CS\Desktop\Vivado-Projects\M3</fileDirectory> <lineNumber>40</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="11" tracking_level="0" version="0"> <first>C:\Users\CS\Desktop\Vivado-Projects\M3</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>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>40</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>96</bitwidth> </Value> <oprand_edges> <count>6</count> <item_version>0</item_version> <item>124</item> <item>125</item> <item>126</item> <item>127</item> <item>704</item> <item>707</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>81</id> <name>rule0Reg_V_channel</name> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>C:\Users\CS\Desktop\Vivado-Projects\M3</fileDirectory> <lineNumber>40</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\CS\Desktop\Vivado-Projects\M3</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>40</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>128</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>82</id> <name>rule1Reg_V_channel</name> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>C:\Users\CS\Desktop\Vivado-Projects\M3</fileDirectory> <lineNumber>40</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\CS\Desktop\Vivado-Projects\M3</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>40</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>129</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>83</id> <name>rule2Reg_V_channel</name> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>C:\Users\CS\Desktop\Vivado-Projects\M3</fileDirectory> <lineNumber>40</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\CS\Desktop\Vivado-Projects\M3</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>40</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>130</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>84</id> <name></name> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>C:\Users\CS\Desktop\Vivado-Projects\M3</fileDirectory> <lineNumber>43</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\CS\Desktop\Vivado-Projects\M3</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>43</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>7</count> <item_version>0</item_version> <item>132</item> <item>133</item> <item>134</item> <item>135</item> <item>157</item> <item>158</item> <item>159</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>85</id> <name>core_ret</name> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>C:\Users\CS\Desktop\Vivado-Projects\M3</fileDirectory> <lineNumber>40</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\CS\Desktop\Vivado-Projects\M3</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>40</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>96</bitwidth> </Value> <oprand_edges> <count>14</count> <item_version>0</item_version> <item>137</item> <item>138</item> <item>139</item> <item>140</item> <item>160</item> <item>161</item> <item>162</item> <item>163</item> <item>164</item> <item>165</item> <item>166</item> <item>167</item> <item>168</item> <item>703</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>86</id> <name>cnt0Reg_V</name> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>C:\Users\CS\Desktop\Vivado-Projects\M3</fileDirectory> <lineNumber>40</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\CS\Desktop\Vivado-Projects\M3</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>40</second> </item> </second> </item> </inlineStackInfo> <originalName>cnt0Reg.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>141</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>87</id> <name>cnt1Reg_V</name> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>C:\Users\CS\Desktop\Vivado-Projects\M3</fileDirectory> <lineNumber>40</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\CS\Desktop\Vivado-Projects\M3</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>40</second> </item> </second> </item> </inlineStackInfo> <originalName>cnt1Reg.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>142</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>88</id> <name>cnt2Reg_V</name> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>C:\Users\CS\Desktop\Vivado-Projects\M3</fileDirectory> <lineNumber>40</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\CS\Desktop\Vivado-Projects\M3</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>40</second> </item> </second> </item> </inlineStackInfo> <originalName>cnt2Reg.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>143</item> </oprand_edges> <opcode>extractvalue</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>89</id> <name></name> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>C:\Users\CS\Desktop\Vivado-Projects\M3</fileDirectory> <lineNumber>47</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\CS\Desktop\Vivado-Projects\M3</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>47</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>8</count> <item_version>0</item_version> <item>145</item> <item>146</item> <item>147</item> <item>148</item> <item>169</item> <item>170</item> <item>171</item> <item>702</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>90</id> <name></name> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>C:\Users\CS\Desktop\Vivado-Projects\M3</fileDirectory> <lineNumber>40</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\CS\Desktop\Vivado-Projects\M3</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>40</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>7</count> <item_version>0</item_version> <item>150</item> <item>151</item> <item>152</item> <item>153</item> <item>154</item> <item>155</item> <item>156</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>91</id> <name></name> <fileName>my_ip_hls/my_ip_hls.cpp</fileName> <fileDirectory>C:\Users\CS\Desktop\Vivado-Projects\M3</fileDirectory> <lineNumber>51</lineNumber> <contextFuncName>my_ip_hls</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>C:\Users\CS\Desktop\Vivado-Projects\M3</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>my_ip_hls/my_ip_hls.cpp</first> <second>my_ip_hls</second> </first> <second>51</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>8</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_36"> <Value> <Obj> <type>2</type> <id>100</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_37"> <Value> <Obj> <type>2</type> <id>107</id> <name>my_ip_hls_entry3</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:my_ip_hls.entry3&gt;</content> </item> <item class_id_reference="16" object_id="_38"> <Value> <Obj> <type>2</type> <id>115</id> <name>my_ip_hls_entry83</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:my_ip_hls.entry83&gt;</content> </item> <item class_id_reference="16" object_id="_39"> <Value> <Obj> <type>2</type> <id>123</id> <name>rules_in</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>96</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:rules_in&gt;</content> </item> <item class_id_reference="16" object_id="_40"> <Value> <Obj> <type>2</type> <id>131</id> <name>ps2ip_fifo</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:ps2ip_fifo&gt;</content> </item> <item class_id_reference="16" object_id="_41"> <Value> <Obj> <type>2</type> <id>136</id> <name>core</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>96</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:core&gt;</content> </item> <item class_id_reference="16" object_id="_42"> <Value> <Obj> <type>2</type> <id>144</id> <name>ip2ps_fifo</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:ip2ps_fifo&gt;</content> </item> <item class_id_reference="16" object_id="_43"> <Value> <Obj> <type>2</type> <id>149</id> <name>counters_out</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:counters_out&gt;</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_44"> <Obj> <type>3</type> <id>92</id> <name>my_ip_hls</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>23</count> <item_version>0</item_version> <item>22</item> <item>23</item> <item>24</item> <item>25</item> <item>26</item> <item>27</item> <item>28</item> <item>29</item> <item>30</item> <item>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> </node_objs> </item> </blocks> <edges class_id="19" tracking_level="0" version="0"> <count>73</count> <item_version>0</item_version> <item class_id="20" tracking_level="1" version="0" object_id="_45"> <id>95</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>22</sink_obj> </item> <item class_id_reference="20" object_id="_46"> <id>97</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>23</sink_obj> </item> <item class_id_reference="20" object_id="_47"> <id>99</id> <edge_type>1</edge_type> <source_obj>7</source_obj> <sink_obj>24</sink_obj> </item> <item class_id_reference="20" object_id="_48"> <id>101</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>25</sink_obj> </item> <item class_id_reference="20" object_id="_49"> <id>102</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>26</sink_obj> </item> <item class_id_reference="20" object_id="_50"> <id>103</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>27</sink_obj> </item> <item class_id_reference="20" object_id="_51"> <id>104</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>28</sink_obj> </item> <item class_id_reference="20" object_id="_52"> <id>105</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>29</sink_obj> </item> <item class_id_reference="20" object_id="_53"> <id>106</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>30</sink_obj> </item> <item class_id_reference="20" object_id="_54"> <id>108</id> <edge_type>1</edge_type> <source_obj>107</source_obj> <sink_obj>78</sink_obj> </item> <item class_id_reference="20" object_id="_55"> <id>109</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>78</sink_obj> </item> <item class_id_reference="20" object_id="_56"> <id>110</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>78</sink_obj> </item> <item class_id_reference="20" object_id="_57"> <id>111</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>78</sink_obj> </item> <item class_id_reference="20" object_id="_58"> <id>112</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>78</sink_obj> </item> <item class_id_reference="20" object_id="_59"> <id>113</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>78</sink_obj> </item> <item class_id_reference="20" object_id="_60"> <id>114</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>78</sink_obj> </item> <item class_id_reference="20" object_id="_61"> <id>116</id> <edge_type>1</edge_type> <source_obj>115</source_obj> <sink_obj>79</sink_obj> </item> <item class_id_reference="20" object_id="_62"> <id>117</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>79</sink_obj> </item> <item class_id_reference="20" object_id="_63"> <id>118</id> <edge_type>1</edge_type> <source_obj>26</source_obj> <sink_obj>79</sink_obj> </item> <item class_id_reference="20" object_id="_64"> <id>119</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>79</sink_obj> </item> <item class_id_reference="20" object_id="_65"> <id>120</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>79</sink_obj> </item> <item class_id_reference="20" object_id="_66"> <id>121</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>79</sink_obj> </item> <item class_id_reference="20" object_id="_67"> <id>122</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>79</sink_obj> </item> <item class_id_reference="20" object_id="_68"> <id>124</id> <edge_type>1</edge_type> <source_obj>123</source_obj> <sink_obj>80</sink_obj> </item> <item class_id_reference="20" object_id="_69"> <id>125</id> <edge_type>1</edge_type> <source_obj>30</source_obj> <sink_obj>80</sink_obj> </item> <item class_id_reference="20" object_id="_70"> <id>126</id> <edge_type>1</edge_type> <source_obj>29</source_obj> <sink_obj>80</sink_obj> </item> <item class_id_reference="20" object_id="_71"> <id>127</id> <edge_type>1</edge_type> <source_obj>28</source_obj> <sink_obj>80</sink_obj> </item> <item class_id_reference="20" object_id="_72"> <id>128</id> <edge_type>1</edge_type> <source_obj>80</source_obj> <sink_obj>81</sink_obj> </item> <item class_id_reference="20" object_id="_73"> <id>129</id> <edge_type>1</edge_type> <source_obj>80</source_obj> <sink_obj>82</sink_obj> </item> <item class_id_reference="20" object_id="_74"> <id>130</id> <edge_type>1</edge_type> <source_obj>80</source_obj> <sink_obj>83</sink_obj> </item> <item class_id_reference="20" object_id="_75"> <id>132</id> <edge_type>1</edge_type> <source_obj>131</source_obj> <sink_obj>84</sink_obj> </item> <item class_id_reference="20" object_id="_76"> <id>133</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>84</sink_obj> </item> <item class_id_reference="20" object_id="_77"> <id>134</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>84</sink_obj> </item> <item class_id_reference="20" object_id="_78"> <id>135</id> <edge_type>1</edge_type> <source_obj>3</source_obj> <sink_obj>84</sink_obj> </item> <item class_id_reference="20" object_id="_79"> <id>137</id> <edge_type>1</edge_type> <source_obj>136</source_obj> <sink_obj>85</sink_obj> </item> <item class_id_reference="20" object_id="_80"> <id>138</id> <edge_type>1</edge_type> <source_obj>81</source_obj> <sink_obj>85</sink_obj> </item> <item class_id_reference="20" object_id="_81"> <id>139</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>85</sink_obj> </item> <item class_id_reference="20" object_id="_82"> <id>140</id> <edge_type>1</edge_type> <source_obj>83</source_obj> <sink_obj>85</sink_obj> </item> <item class_id_reference="20" object_id="_83"> <id>141</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>86</sink_obj> </item> <item class_id_reference="20" object_id="_84"> <id>142</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>87</sink_obj> </item> <item class_id_reference="20" object_id="_85"> <id>143</id> <edge_type>1</edge_type> <source_obj>85</source_obj> <sink_obj>88</sink_obj> </item> <item class_id_reference="20" object_id="_86"> <id>145</id> <edge_type>1</edge_type> <source_obj>144</source_obj> <sink_obj>89</sink_obj> </item> <item class_id_reference="20" object_id="_87"> <id>146</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>89</sink_obj> </item> <item class_id_reference="20" object_id="_88"> <id>147</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>89</sink_obj> </item> <item class_id_reference="20" object_id="_89"> <id>148</id> <edge_type>1</edge_type> <source_obj>6</source_obj> <sink_obj>89</sink_obj> </item> <item class_id_reference="20" object_id="_90"> <id>150</id> <edge_type>1</edge_type> <source_obj>149</source_obj> <sink_obj>90</sink_obj> </item> <item class_id_reference="20" object_id="_91"> <id>151</id> <edge_type>1</edge_type> <source_obj>86</source_obj> <sink_obj>90</sink_obj> </item> <item class_id_reference="20" object_id="_92"> <id>152</id> <edge_type>1</edge_type> <source_obj>87</source_obj> <sink_obj>90</sink_obj> </item> <item class_id_reference="20" object_id="_93"> <id>153</id> <edge_type>1</edge_type> <source_obj>88</source_obj> <sink_obj>90</sink_obj> </item> <item class_id_reference="20" object_id="_94"> <id>154</id> <edge_type>1</edge_type> <source_obj>10</source_obj> <sink_obj>90</sink_obj> </item> <item class_id_reference="20" object_id="_95"> <id>155</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>90</sink_obj> </item> <item class_id_reference="20" object_id="_96"> <id>156</id> <edge_type>1</edge_type> <source_obj>12</source_obj> <sink_obj>90</sink_obj> </item> <item class_id_reference="20" object_id="_97"> <id>157</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>84</sink_obj> </item> <item class_id_reference="20" object_id="_98"> <id>158</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>84</sink_obj> </item> <item class_id_reference="20" object_id="_99"> <id>159</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>84</sink_obj> </item> <item class_id_reference="20" object_id="_100"> <id>160</id> <edge_type>1</edge_type> <source_obj>13</source_obj> <sink_obj>85</sink_obj> </item> <item class_id_reference="20" object_id="_101"> <id>161</id> <edge_type>1</edge_type> <source_obj>14</source_obj> <sink_obj>85</sink_obj> </item> <item class_id_reference="20" object_id="_102"> <id>162</id> <edge_type>1</edge_type> <source_obj>15</source_obj> <sink_obj>85</sink_obj> </item> <item class_id_reference="20" object_id="_103"> <id>163</id> <edge_type>1</edge_type> <source_obj>16</source_obj> <sink_obj>85</sink_obj> </item> <item class_id_reference="20" object_id="_104"> <id>164</id> <edge_type>1</edge_type> <source_obj>17</source_obj> <sink_obj>85</sink_obj> </item> <item class_id_reference="20" object_id="_105"> <id>165</id> <edge_type>1</edge_type> <source_obj>18</source_obj> <sink_obj>85</sink_obj> </item> <item class_id_reference="20" object_id="_106"> <id>166</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>85</sink_obj> </item> <item class_id_reference="20" object_id="_107"> <id>167</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>85</sink_obj> </item> <item class_id_reference="20" object_id="_108"> <id>168</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>85</sink_obj> </item> <item class_id_reference="20" object_id="_109"> <id>169</id> <edge_type>1</edge_type> <source_obj>19</source_obj> <sink_obj>89</sink_obj> </item> <item class_id_reference="20" object_id="_110"> <id>170</id> <edge_type>1</edge_type> <source_obj>20</source_obj> <sink_obj>89</sink_obj> </item> <item class_id_reference="20" object_id="_111"> <id>171</id> <edge_type>1</edge_type> <source_obj>21</source_obj> <sink_obj>89</sink_obj> </item> <item class_id_reference="20" object_id="_112"> <id>702</id> <edge_type>4</edge_type> <source_obj>85</source_obj> <sink_obj>89</sink_obj> </item> <item class_id_reference="20" object_id="_113"> <id>703</id> <edge_type>4</edge_type> <source_obj>84</source_obj> <sink_obj>85</sink_obj> </item> <item class_id_reference="20" object_id="_114"> <id>704</id> <edge_type>4</edge_type> <source_obj>79</source_obj> <sink_obj>80</sink_obj> </item> <item class_id_reference="20" object_id="_115"> <id>705</id> <edge_type>4</edge_type> <source_obj>78</source_obj> <sink_obj>79</sink_obj> </item> <item class_id_reference="20" object_id="_116"> <id>706</id> <edge_type>4</edge_type> <source_obj>78</source_obj> <sink_obj>79</sink_obj> </item> <item class_id_reference="20" object_id="_117"> <id>707</id> <edge_type>4</edge_type> <source_obj>79</source_obj> <sink_obj>80</sink_obj> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_118"> <mId>1</mId> <mTag>my_ip_hls</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>92</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>6</mMinLatency> <mMaxLatency>-1</mMaxLatency> <mIsDfPipe>1</mIsDfPipe> <mDfPipe class_id="23" tracking_level="1" version="0" object_id="_119"> <port_list class_id="24" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port_list> <process_list class_id="25" tracking_level="0" version="0"> <count>7</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_120"> <type>0</type> <name>my_ip_hls_entry3_U0</name> <ssdmobj_id>78</ssdmobj_id> <pins class_id="27" tracking_level="0" version="0"> <count>6</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_121"> <port class_id="29" tracking_level="1" version="0" object_id="_122"> <name>rule0_V</name> <dir>3</dir> <type>0</type> </port> <inst class_id="30" tracking_level="1" version="0" object_id="_123"> <type>0</type> <name>my_ip_hls_entry3_U0</name> <ssdmobj_id>78</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_124"> <port class_id_reference="29" object_id="_125"> <name>rule1_V</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_123"></inst> </item> <item class_id_reference="28" object_id="_126"> <port class_id_reference="29" object_id="_127"> <name>rule2_V</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_123"></inst> </item> <item class_id_reference="28" object_id="_128"> <port class_id_reference="29" object_id="_129"> <name>rule0_V_out</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_123"></inst> </item> <item class_id_reference="28" object_id="_130"> <port class_id_reference="29" object_id="_131"> <name>rule1_V_out</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_123"></inst> </item> <item class_id_reference="28" object_id="_132"> <port class_id_reference="29" object_id="_133"> <name>rule2_V_out</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_123"></inst> </item> </pins> </item> <item class_id_reference="26" object_id="_134"> <type>0</type> <name>my_ip_hls_entry83_U0</name> <ssdmobj_id>79</ssdmobj_id> <pins> <count>6</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_135"> <port class_id_reference="29" object_id="_136"> <name>rule0_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_137"> <type>0</type> <name>my_ip_hls_entry83_U0</name> <ssdmobj_id>79</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_138"> <port class_id_reference="29" object_id="_139"> <name>rule1_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_137"></inst> </item> <item class_id_reference="28" object_id="_140"> <port class_id_reference="29" object_id="_141"> <name>rule2_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_137"></inst> </item> <item class_id_reference="28" object_id="_142"> <port class_id_reference="29" object_id="_143"> <name>rule0_V_out</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_137"></inst> </item> <item class_id_reference="28" object_id="_144"> <port class_id_reference="29" object_id="_145"> <name>rule1_V_out</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_137"></inst> </item> <item class_id_reference="28" object_id="_146"> <port class_id_reference="29" object_id="_147"> <name>rule2_V_out</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_137"></inst> </item> </pins> </item> <item class_id_reference="26" object_id="_148"> <type>0</type> <name>rules_in_U0</name> <ssdmobj_id>80</ssdmobj_id> <pins> <count>6</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_149"> <port class_id_reference="29" object_id="_150"> <name>rule0_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_151"> <type>0</type> <name>rules_in_U0</name> <ssdmobj_id>80</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_152"> <port class_id_reference="29" object_id="_153"> <name>rule1_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_151"></inst> </item> <item class_id_reference="28" object_id="_154"> <port class_id_reference="29" object_id="_155"> <name>rule2_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_151"></inst> </item> <item class_id_reference="28" object_id="_156"> <port class_id_reference="29" object_id="_157"> <name>ap_return</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_151"></inst> </item> <item class_id_reference="28" object_id="_158"> <port class_id_reference="29" object_id="_159"> <name>ap_return</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_151"></inst> </item> <item class_id_reference="28" object_id="_160"> <port class_id_reference="29" object_id="_161"> <name>ap_return</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_151"></inst> </item> </pins> </item> <item class_id_reference="26" object_id="_162"> <type>0</type> <name>ps2ip_fifo_U0</name> <ssdmobj_id>84</ssdmobj_id> <pins> <count>6</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_163"> <port class_id_reference="29" object_id="_164"> <name>ps2ip_V_data_V</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_165"> <type>0</type> <name>ps2ip_fifo_U0</name> <ssdmobj_id>84</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_166"> <port class_id_reference="29" object_id="_167"> <name>ps2ip_V_strb_V</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_165"></inst> </item> <item class_id_reference="28" object_id="_168"> <port class_id_reference="29" object_id="_169"> <name>ps2ip_V_last_V</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_165"></inst> </item> <item class_id_reference="28" object_id="_170"> <port class_id_reference="29" object_id="_171"> <name>ps2ipFifo_V_data_V</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_165"></inst> </item> <item class_id_reference="28" object_id="_172"> <port class_id_reference="29" object_id="_173"> <name>ps2ipFifo_V_strb_V</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_165"></inst> </item> <item class_id_reference="28" object_id="_174"> <port class_id_reference="29" object_id="_175"> <name>ps2ipFifo_V_last_V</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_165"></inst> </item> </pins> </item> <item class_id_reference="26" object_id="_176"> <type>0</type> <name>core_U0</name> <ssdmobj_id>85</ssdmobj_id> <pins> <count>15</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_177"> <port class_id_reference="29" object_id="_178"> <name>p_read</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_179"> <type>0</type> <name>core_U0</name> <ssdmobj_id>85</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_180"> <port class_id_reference="29" object_id="_181"> <name>p_read1</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </item> <item class_id_reference="28" object_id="_182"> <port class_id_reference="29" object_id="_183"> <name>p_read2</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </item> <item class_id_reference="28" object_id="_184"> <port class_id_reference="29" object_id="_185"> <name>ps2ipFifo_V_data_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </item> <item class_id_reference="28" object_id="_186"> <port class_id_reference="29" object_id="_187"> <name>ps2ipFifo_V_strb_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </item> <item class_id_reference="28" object_id="_188"> <port class_id_reference="29" object_id="_189"> <name>ps2ipFifo_V_last_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </item> <item class_id_reference="28" object_id="_190"> <port class_id_reference="29" object_id="_191"> <name>cnt0Reg_core_V</name> <dir>3</dir> <type>2</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </item> <item class_id_reference="28" object_id="_192"> <port class_id_reference="29" object_id="_193"> <name>cnt1Reg_core_V</name> <dir>3</dir> <type>2</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </item> <item class_id_reference="28" object_id="_194"> <port class_id_reference="29" object_id="_195"> <name>cnt2Reg_core_V</name> <dir>3</dir> <type>2</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </item> <item class_id_reference="28" object_id="_196"> <port class_id_reference="29" object_id="_197"> <name>ip2psFifo_V_data_V</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </item> <item class_id_reference="28" object_id="_198"> <port class_id_reference="29" object_id="_199"> <name>ip2psFifo_V_strb_V</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </item> <item class_id_reference="28" object_id="_200"> <port class_id_reference="29" object_id="_201"> <name>ip2psFifo_V_last_V</name> <dir>0</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </item> <item class_id_reference="28" object_id="_202"> <port class_id_reference="29" object_id="_203"> <name>ap_return</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </item> <item class_id_reference="28" object_id="_204"> <port class_id_reference="29" object_id="_205"> <name>ap_return</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </item> <item class_id_reference="28" object_id="_206"> <port class_id_reference="29" object_id="_207"> <name>ap_return</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </item> </pins> </item> <item class_id_reference="26" object_id="_208"> <type>0</type> <name>ip2ps_fifo_U0</name> <ssdmobj_id>89</ssdmobj_id> <pins> <count>6</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_209"> <port class_id_reference="29" object_id="_210"> <name>ip2ps_V_data_V</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id="_211"> <type>0</type> <name>ip2ps_fifo_U0</name> <ssdmobj_id>89</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_212"> <port class_id_reference="29" object_id="_213"> <name>ip2ps_V_strb_V</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_211"></inst> </item> <item class_id_reference="28" object_id="_214"> <port class_id_reference="29" object_id="_215"> <name>ip2ps_V_last_V</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_211"></inst> </item> <item class_id_reference="28" object_id="_216"> <port class_id_reference="29" object_id="_217"> <name>ip2psFifo_V_data_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_211"></inst> </item> <item class_id_reference="28" object_id="_218"> <port class_id_reference="29" object_id="_219"> <name>ip2psFifo_V_strb_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_211"></inst> </item> <item class_id_reference="28" object_id="_220"> <port class_id_reference="29" object_id="_221"> <name>ip2psFifo_V_last_V</name> <dir>0</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_211"></inst> </item> </pins> </item> <item class_id_reference="26" object_id="_222"> <type>0</type> <name>counters_out_U0</name> <ssdmobj_id>90</ssdmobj_id> <pins> <count>6</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_223"> <port class_id_reference="29" object_id="_224"> <name>p_read</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id="_225"> <type>0</type> <name>counters_out_U0</name> <ssdmobj_id>90</ssdmobj_id> </inst> </item> <item class_id_reference="28" object_id="_226"> <port class_id_reference="29" object_id="_227"> <name>p_read1</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_225"></inst> </item> <item class_id_reference="28" object_id="_228"> <port class_id_reference="29" object_id="_229"> <name>p_read2</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_225"></inst> </item> <item class_id_reference="28" object_id="_230"> <port class_id_reference="29" object_id="_231"> <name>rule0cnt_V</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_225"></inst> </item> <item class_id_reference="28" object_id="_232"> <port class_id_reference="29" object_id="_233"> <name>rule1cnt_V</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_225"></inst> </item> <item class_id_reference="28" object_id="_234"> <port class_id_reference="29" object_id="_235"> <name>rule2cnt_V</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_225"></inst> </item> </pins> </item> </process_list> <channel_list class_id="31" tracking_level="0" version="0"> <count>18</count> <item_version>0</item_version> <item class_id="32" tracking_level="1" version="0" object_id="_236"> <type>1</type> <name>rule0_V_c1</name> <ssdmobj_id>27</ssdmobj_id> <ctype>0</ctype> <depth>1</depth> <bitwidth>32</bitwidth> <source class_id_reference="28" object_id="_237"> <port class_id_reference="29" object_id="_238"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_123"></inst> </source> <sink class_id_reference="28" object_id="_239"> <port class_id_reference="29" object_id="_240"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_137"></inst> </sink> </item> <item class_id_reference="32" object_id="_241"> <type>1</type> <name>rule1_V_c2</name> <ssdmobj_id>26</ssdmobj_id> <ctype>0</ctype> <depth>1</depth> <bitwidth>32</bitwidth> <source class_id_reference="28" object_id="_242"> <port class_id_reference="29" object_id="_243"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_123"></inst> </source> <sink class_id_reference="28" object_id="_244"> <port class_id_reference="29" object_id="_245"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_137"></inst> </sink> </item> <item class_id_reference="32" object_id="_246"> <type>1</type> <name>rule2_V_c3</name> <ssdmobj_id>25</ssdmobj_id> <ctype>0</ctype> <depth>1</depth> <bitwidth>32</bitwidth> <source class_id_reference="28" object_id="_247"> <port class_id_reference="29" object_id="_248"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_123"></inst> </source> <sink class_id_reference="28" object_id="_249"> <port class_id_reference="29" object_id="_250"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_137"></inst> </sink> </item> <item class_id_reference="32" object_id="_251"> <type>1</type> <name>rule0_V_c</name> <ssdmobj_id>30</ssdmobj_id> <ctype>0</ctype> <depth>1</depth> <bitwidth>32</bitwidth> <source class_id_reference="28" object_id="_252"> <port class_id_reference="29" object_id="_253"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_137"></inst> </source> <sink class_id_reference="28" object_id="_254"> <port class_id_reference="29" object_id="_255"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_151"></inst> </sink> </item> <item class_id_reference="32" object_id="_256"> <type>1</type> <name>rule1_V_c</name> <ssdmobj_id>29</ssdmobj_id> <ctype>0</ctype> <depth>1</depth> <bitwidth>32</bitwidth> <source class_id_reference="28" object_id="_257"> <port class_id_reference="29" object_id="_258"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_137"></inst> </source> <sink class_id_reference="28" object_id="_259"> <port class_id_reference="29" object_id="_260"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_151"></inst> </sink> </item> <item class_id_reference="32" object_id="_261"> <type>1</type> <name>rule2_V_c</name> <ssdmobj_id>28</ssdmobj_id> <ctype>0</ctype> <depth>1</depth> <bitwidth>32</bitwidth> <source class_id_reference="28" object_id="_262"> <port class_id_reference="29" object_id="_263"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_137"></inst> </source> <sink class_id_reference="28" object_id="_264"> <port class_id_reference="29" object_id="_265"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_151"></inst> </sink> </item> <item class_id_reference="32" object_id="_266"> <type>1</type> <name>rule0Reg_V_channel</name> <ssdmobj_id>81</ssdmobj_id> <ctype>0</ctype> <depth>2</depth> <bitwidth>32</bitwidth> <source class_id_reference="28" object_id="_267"> <port class_id_reference="29" object_id="_268"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_151"></inst> </source> <sink class_id_reference="28" object_id="_269"> <port class_id_reference="29" object_id="_270"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </sink> </item> <item class_id_reference="32" object_id="_271"> <type>1</type> <name>rule1Reg_V_channel</name> <ssdmobj_id>82</ssdmobj_id> <ctype>0</ctype> <depth>2</depth> <bitwidth>32</bitwidth> <source class_id_reference="28" object_id="_272"> <port class_id_reference="29" object_id="_273"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_151"></inst> </source> <sink class_id_reference="28" object_id="_274"> <port class_id_reference="29" object_id="_275"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </sink> </item> <item class_id_reference="32" object_id="_276"> <type>1</type> <name>rule2Reg_V_channel</name> <ssdmobj_id>83</ssdmobj_id> <ctype>0</ctype> <depth>2</depth> <bitwidth>32</bitwidth> <source class_id_reference="28" object_id="_277"> <port class_id_reference="29" object_id="_278"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_151"></inst> </source> <sink class_id_reference="28" object_id="_279"> <port class_id_reference="29" object_id="_280"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </sink> </item> <item class_id_reference="32" object_id="_281"> <type>1</type> <name>ps2ipFifo_V_data_V</name> <ssdmobj_id>13</ssdmobj_id> <ctype>0</ctype> <depth>64</depth> <bitwidth>32</bitwidth> <source class_id_reference="28" object_id="_282"> <port class_id_reference="29" object_id="_283"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_165"></inst> </source> <sink class_id_reference="28" object_id="_284"> <port class_id_reference="29" object_id="_285"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </sink> </item> <item class_id_reference="32" object_id="_286"> <type>1</type> <name>ps2ipFifo_V_strb_V</name> <ssdmobj_id>14</ssdmobj_id> <ctype>0</ctype> <depth>64</depth> <bitwidth>4</bitwidth> <source class_id_reference="28" object_id="_287"> <port class_id_reference="29" object_id="_288"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_165"></inst> </source> <sink class_id_reference="28" object_id="_289"> <port class_id_reference="29" object_id="_290"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </sink> </item> <item class_id_reference="32" object_id="_291"> <type>1</type> <name>ps2ipFifo_V_last_V</name> <ssdmobj_id>15</ssdmobj_id> <ctype>0</ctype> <depth>64</depth> <bitwidth>1</bitwidth> <source class_id_reference="28" object_id="_292"> <port class_id_reference="29" object_id="_293"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_165"></inst> </source> <sink class_id_reference="28" object_id="_294"> <port class_id_reference="29" object_id="_295"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </sink> </item> <item class_id_reference="32" object_id="_296"> <type>1</type> <name>ip2psFifo_V_data_V</name> <ssdmobj_id>19</ssdmobj_id> <ctype>0</ctype> <depth>64</depth> <bitwidth>32</bitwidth> <source class_id_reference="28" object_id="_297"> <port class_id_reference="29" object_id="_298"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </source> <sink class_id_reference="28" object_id="_299"> <port class_id_reference="29" object_id="_300"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_211"></inst> </sink> </item> <item class_id_reference="32" object_id="_301"> <type>1</type> <name>ip2psFifo_V_strb_V</name> <ssdmobj_id>20</ssdmobj_id> <ctype>0</ctype> <depth>64</depth> <bitwidth>4</bitwidth> <source class_id_reference="28" object_id="_302"> <port class_id_reference="29" object_id="_303"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </source> <sink class_id_reference="28" object_id="_304"> <port class_id_reference="29" object_id="_305"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_211"></inst> </sink> </item> <item class_id_reference="32" object_id="_306"> <type>1</type> <name>ip2psFifo_V_last_V</name> <ssdmobj_id>21</ssdmobj_id> <ctype>0</ctype> <depth>64</depth> <bitwidth>1</bitwidth> <source class_id_reference="28" object_id="_307"> <port class_id_reference="29" object_id="_308"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </source> <sink class_id_reference="28" object_id="_309"> <port class_id_reference="29" object_id="_310"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_211"></inst> </sink> </item> <item class_id_reference="32" object_id="_311"> <type>1</type> <name>cnt0Reg_V</name> <ssdmobj_id>86</ssdmobj_id> <ctype>0</ctype> <depth>2</depth> <bitwidth>32</bitwidth> <source class_id_reference="28" object_id="_312"> <port class_id_reference="29" object_id="_313"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </source> <sink class_id_reference="28" object_id="_314"> <port class_id_reference="29" object_id="_315"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_225"></inst> </sink> </item> <item class_id_reference="32" object_id="_316"> <type>1</type> <name>cnt1Reg_V</name> <ssdmobj_id>87</ssdmobj_id> <ctype>0</ctype> <depth>2</depth> <bitwidth>32</bitwidth> <source class_id_reference="28" object_id="_317"> <port class_id_reference="29" object_id="_318"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </source> <sink class_id_reference="28" object_id="_319"> <port class_id_reference="29" object_id="_320"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_225"></inst> </sink> </item> <item class_id_reference="32" object_id="_321"> <type>1</type> <name>cnt2Reg_V</name> <ssdmobj_id>88</ssdmobj_id> <ctype>0</ctype> <depth>2</depth> <bitwidth>32</bitwidth> <source class_id_reference="28" object_id="_322"> <port class_id_reference="29" object_id="_323"> <name>in</name> <dir>3</dir> <type>0</type> </port> <inst class_id_reference="30" object_id_reference="_179"></inst> </source> <sink class_id_reference="28" object_id="_324"> <port class_id_reference="29" object_id="_325"> <name>out</name> <dir>3</dir> <type>1</type> </port> <inst class_id_reference="30" object_id_reference="_225"></inst> </sink> </item> </channel_list> <net_list class_id="33" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </net_list> </mDfPipe> </item> </cdfg_regions> <fsm class_id="-1"></fsm> <res class_id="-1"></res> <node_label_latency class_id="36" tracking_level="0" version="0"> <count>23</count> <item_version>0</item_version> <item class_id="37" tracking_level="0" version="0"> <first>22</first> <second class_id="38" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>23</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>24</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>26</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>29</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>30</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>78</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>79</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>80</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>81</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>82</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>83</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>84</first> <second> <first>0</first> <second>1</second> </second> </item> <item> <first>85</first> <second> <first>2</first> <second>1</second> </second> </item> <item> <first>86</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>87</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>88</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>89</first> <second> <first>4</first> <second>2</second> </second> </item> <item> <first>90</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>91</first> <second> <first>7</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="39" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="40" tracking_level="0" version="0"> <first>92</first> <second class_id="41" tracking_level="0" version="0"> <first>0</first> <second>7</second> </second> </item> </bblk_ent_exit> <regions class_id="42" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="43" tracking_level="1" version="0" object_id="_326"> <region_name>my_ip_hls</region_name> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>92</item> </basic_blocks> <nodes> <count>70</count> <item_version>0</item_version> <item>22</item> <item>23</item> <item>24</item> <item>25</item> <item>26</item> <item>27</item> <item>28</item> <item>29</item> <item>30</item> <item>31</item> <item>32</item> <item>33</item> <item>34</item> <item>35</item> <item>36</item> <item>37</item> <item>38</item> <item>39</item> <item>40</item> <item>41</item> <item>42</item> <item>43</item> <item>44</item> <item>45</item> <item>46</item> <item>47</item> <item>48</item> <item>49</item> <item>50</item> <item>51</item> <item>52</item> <item>53</item> <item>54</item> <item>55</item> <item>56</item> <item>57</item> <item>58</item> <item>59</item> <item>60</item> <item>61</item> <item>62</item> <item>63</item> <item>64</item> <item>65</item> <item>66</item> <item>67</item> <item>68</item> <item>69</item> <item>70</item> <item>71</item> <item>72</item> <item>73</item> <item>74</item> <item>75</item> <item>76</item> <item>77</item> <item>78</item> <item>79</item> <item>80</item> <item>81</item> <item>82</item> <item>83</item> <item>84</item> <item>85</item> <item>86</item> <item>87</item> <item>88</item> <item>89</item> <item>90</item> <item>91</item> </nodes> <anchor_node>-1</anchor_node> <region_type>16</region_type> <interval>0</interval> <pipe_depth>0</pipe_depth> </item> </regions> <dp_fu_nodes class_id="44" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes> <dp_fu_nodes_expression class_id="45" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="46" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_mem_port_nodes> <dp_reg_nodes> <count>0</count> <item_version>0</item_version> </dp_reg_nodes> <dp_regname_nodes> <count>0</count> <item_version>0</item_version> </dp_regname_nodes> <dp_reg_phi> <count>0</count> <item_version>0</item_version> </dp_reg_phi> <dp_regname_phi> <count>0</count> <item_version>0</item_version> </dp_regname_phi> <dp_port_io_nodes class_id="47" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </dp_port_io_nodes> <port2core class_id="48" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </port2core> <node2core> <count>0</count> <item_version>0</item_version> </node2core> </syndb> </boost_serialization>
procedure Operator is Result : Integer; begin Result := "+" (Left => 1, Right => 1); Result := 1 + 1; end Operator;
----------------------------------------------------------------------- -- css-tools-location_sets -- Sets of source location -- Copyright (C) 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.Log.Locations; with Ada.Containers.Ordered_Sets; package CSS.Tools.Location_Sets is new Ada.Containers.Ordered_Sets (Element_Type => Util.Log.Locations.Line_Info, "<" => Util.Log.Locations."<", "=" => Util.Log.Locations."=");
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . I M G _ E N U M -- -- -- -- S p e c -- -- -- -- Copyright (C) 2000-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/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- Enumeration_Type'Image for all enumeration types except those in package -- Standard (where we have no opportunity to build image tables), and in -- package System (where it is too early to start building image tables). -- Special routines exist for the enumeration types in these packages. -- Note: this is an obsolete package, replaced by System.Img_Enum_New, which -- provides procedures instead of functions for these enumeration image calls. -- The reason we maintain this package is that when bootstrapping with old -- compilers, the old compiler will search for this unit, expecting to find -- these functions. The new compiler will search for procedures in the new -- version of the unit. pragma Compiler_Unit; package System.Img_Enum is pragma Pure; function Image_Enumeration_8 (Pos : Natural; Names : String; Indexes : System.Address) return String; -- Used to compute Enum'Image (Str) where Enum is some enumeration type -- other than those defined in package Standard. Names is a string with a -- lower bound of 1 containing the characters of all the enumeration -- literals concatenated together in sequence. Indexes is the address of an -- array of type array (0 .. N) of Natural_8, where N is the number of -- enumeration literals in the type. The Indexes values are the starting -- subscript of each enumeration literal, indexed by Pos values, with an -- extra entry at the end containing Names'Length + 1. The reason that -- Indexes is passed by address is that the actual type is created on the -- fly by the expander. The value returned is the desired 'Image value. function Image_Enumeration_16 (Pos : Natural; Names : String; Indexes : System.Address) return String; -- Identical to Image_Enumeration_8 except that it handles types -- using array (0 .. Num) of Natural_16 for the Indexes table. function Image_Enumeration_32 (Pos : Natural; Names : String; Indexes : System.Address) return String; -- Identical to Image_Enumeration_8 except that it handles types -- using array (0 .. Num) of Natural_32 for the Indexes table. end System.Img_Enum;
-- -- Copyright (C) 2015-2016 secunet Security Networks AG -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- with HW; with HW.Time.Timer; use type HW.Word64; package body HW.Time with Refined_State => (State => (Timer.Timer_State, Timer.Abstract_Time)) is function Now return T with Refined_Global => (Input => Timer.Abstract_Time) is Current : constant T := Timer.Raw_Value_Min; begin return Current; end Now; function US_From_Now (US : Natural) return T with Refined_Global => (Input => (Timer.Abstract_Time, Timer.Timer_State)) is Current : constant T := Timer.Raw_Value_Max; begin return Current + (T (US) * Timer.Hz + 999_999) / 1_000_000; end US_From_Now; function MS_From_Now (MS : Natural) return T with Refined_Global => (Input => (Timer.Abstract_Time, Timer.Timer_State)) is Current : constant T := Timer.Raw_Value_Max; begin return Current + (T (MS) * Timer.Hz + 999) / 1_000; end MS_From_Now; function Now_US return Int64 with Refined_Global => (Input => (Timer.Abstract_Time, Timer.Timer_State)) is MHz : constant T := Timer.Hz / 1_000_000; Current : constant T := Timer.Raw_Value_Min; begin return Int64 (Current and (2 ** 63 - 1)) / Int64 (if MHz = 0 then T'(1) else MHz); end Now_US; ---------------------------------------------------------------------------- procedure Delay_Until (Deadline : T) with Refined_Global => (Input => (Timer.Abstract_Time)) is Current: T; begin loop Current := Timer.Raw_Value_Min; exit when Current >= Deadline; end loop; end Delay_Until; procedure U_Delay (US : Natural) with Refined_Global => (Input => (Timer.Abstract_Time, Timer.Timer_State)) is Deadline : constant T := US_From_Now (US); begin Delay_Until (Deadline); end U_Delay; procedure M_Delay (MS : Natural) with Refined_Global => (Input => (Timer.Abstract_Time, Timer.Timer_State)) is Deadline : constant T := MS_From_Now (MS); begin Delay_Until (Deadline); end M_Delay; ---------------------------------------------------------------------------- function Timed_Out (Deadline : T) return Boolean with Refined_Global => (Input => (Timer.Abstract_Time)) is Current : constant T := Timer.Raw_Value_Min; begin return Current >= Deadline; end Timed_Out; end HW.Time; -- vim: set ts=8 sts=3 sw=3 et:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="15"> <syndb class_id="0" tracking_level="0" version="0"> <userIPLatency>-1</userIPLatency> <userIPName></userIPName> <cdfg class_id="1" tracking_level="1" version="0" object_id="_0"> <name>dense_large_rf_gt_ni_3</name> <ret_bitwidth>0</ret_bitwidth> <ports class_id="2" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="3" tracking_level="1" version="0" object_id="_1"> <Value class_id="4" tracking_level="0" version="0"> <Obj class_id="5" tracking_level="0" version="0"> <type>1</type> <id>1</id> <name>data_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo class_id="6" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>data.V</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>13</bitwidth> </Value> <direction>0</direction> <if_type>1</if_type> <array_size>120</array_size> <bit_vecs class_id="7" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </bit_vecs> </item> <item class_id_reference="3" object_id="_2"> <Value> <Obj> <type>1</type> <id>2</id> <name>res_V</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>res.V</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>14</bitwidth> </Value> <direction>1</direction> <if_type>1</if_type> <array_size>84</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>95</count> <item_version>0</item_version> <item class_id="9" tracking_level="1" version="0" object_id="_3"> <Value> <Obj> <type>0</type> <id>5</id> <name>acc_V</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>126</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item class_id="10" tracking_level="0" version="0"> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second class_id="11" tracking_level="0" version="0"> <count>1</count> <item_version>0</item_version> <item class_id="12" tracking_level="0" version="0"> <first class_id="13" tracking_level="0" version="0"> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>126</second> </item> </second> </item> </inlineStackInfo> <originalName>acc.V</originalName> <rtlName></rtlName> <coreName>RAM</coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>131</item> </oprand_edges> <opcode>alloca</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>1</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_4"> <Value> <Obj> <type>0</type> <id>6</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>130</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>130</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>132</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.76</m_delay> <m_topoIndex>2</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_5"> <Value> <Obj> <type>0</type> <id>8</id> <name>iacc</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>iacc</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>133</item> <item>134</item> <item>136</item> <item>137</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>3</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_6"> <Value> <Obj> <type>0</type> <id>9</id> <name>exitcond7</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>130</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>130</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>138</item> <item>140</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.48</m_delay> <m_topoIndex>4</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_7"> <Value> <Obj> <type>0</type> <id>11</id> <name>iacc_2</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>130</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>130</second> </item> </second> </item> </inlineStackInfo> <originalName>iacc</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>141</item> <item>143</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.87</m_delay> <m_topoIndex>5</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_8"> <Value> <Obj> <type>0</type> <id>12</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>130</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>130</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>144</item> <item>145</item> <item>146</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>6</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_9"> <Value> <Obj> <type>0</type> <id>15</id> <name>tmp</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>132</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>132</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>148</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>7</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_10"> <Value> <Obj> <type>0</type> <id>16</id> <name>acc_V_addr</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>132</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>132</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>149</item> <item>151</item> <item>152</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>8</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_11"> <Value> <Obj> <type>0</type> <id>17</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>132</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>132</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>154</item> <item>155</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>9</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_12"> <Value> <Obj> <type>0</type> <id>18</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>130</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>130</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>156</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>10</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_13"> <Value> <Obj> <type>0</type> <id>20</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>151</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>151</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>147</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.76</m_delay> <m_topoIndex>11</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_14"> <Value> <Obj> <type>0</type> <id>22</id> <name>w_index</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ir</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>157</item> <item>158</item> <item>160</item> <item>161</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>12</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_15"> <Value> <Obj> <type>0</type> <id>23</id> <name>in_index</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>168</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>168</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>162</item> <item>163</item> <item>165</item> <item>166</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>13</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_16"> <Value> <Obj> <type>0</type> <id>24</id> <name>w_index_cast</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>151</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>151</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>167</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>14</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_17"> <Value> <Obj> <type>0</type> <id>25</id> <name>exitcond</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>151</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>151</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>168</item> <item>170</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>2.09</m_delay> <m_topoIndex>15</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_18"> <Value> <Obj> <type>0</type> <id>27</id> <name>ir</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>151</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>151</second> </item> </second> </item> </inlineStackInfo> <originalName>ir</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>171</item> <item>173</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.67</m_delay> <m_topoIndex>16</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_19"> <Value> <Obj> <type>0</type> <id>28</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>151</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>151</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>174</item> <item>175</item> <item>176</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>17</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_20"> <Value> <Obj> <type>0</type> <id>32</id> <name>tmp_s</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>155</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>155</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>178</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>18</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_21"> <Value> <Obj> <type>0</type> <id>33</id> <name>outidx4_addr</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>155</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>155</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>179</item> <item>180</item> <item>181</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>19</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_22"> <Value> <Obj> <type>0</type> <id>34</id> <name>out_index</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>155</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>155</second> </item> </second> </item> </inlineStackInfo> <originalName>out_index</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>6</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>182</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>20</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_23"> <Value> <Obj> <type>0</type> <id>35</id> <name>out_index_cast</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>155</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>155</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>183</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>25</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_24"> <Value> <Obj> <type>0</type> <id>36</id> <name>tmp_54</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>184</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>22</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_25"> <Value> <Obj> <type>0</type> <id>37</id> <name>data_V_addr</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>185</item> <item>186</item> <item>187</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>23</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_26"> <Value> <Obj> <type>0</type> <id>38</id> <name>data_V_load</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>188</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>24</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_27"> <Value> <Obj> <type>0</type> <id>39</id> <name>extLd</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>189</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>26</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_28"> <Value> <Obj> <type>0</type> <id>40</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>158</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>158</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>190</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.76</m_delay> <m_topoIndex>27</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_29"> <Value> <Obj> <type>0</type> <id>42</id> <name>im</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>im</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>192</item> <item>193</item> <item>194</item> <item>195</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>28</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_30"> <Value> <Obj> <type>0</type> <id>43</id> <name>out_index7</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>155</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>155</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>196</item> <item>197</item> <item>198</item> <item>199</item> </oprand_edges> <opcode>phi</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>29</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_31"> <Value> <Obj> <type>0</type> <id>44</id> <name>w_index7</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>151</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>151</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>200</item> <item>201</item> <item>202</item> <item>203</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>30</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_32"> <Value> <Obj> <type>0</type> <id>45</id> <name>tmp_45</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>158</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>158</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>205</item> <item>206</item> <item>208</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>31</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_33"> <Value> <Obj> <type>0</type> <id>47</id> <name>im_2</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>158</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>158</second> </item> </second> </item> </inlineStackInfo> <originalName>im</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>2</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>209</item> <item>211</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.56</m_delay> <m_topoIndex>32</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_34"> <Value> <Obj> <type>0</type> <id>48</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>158</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>158</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>212</item> <item>213</item> <item>214</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>33</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_35"> <Value> <Obj> <type>0</type> <id>51</id> <name>tmp_57</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>215</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>50</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_36"> <Value> <Obj> <type>0</type> <id>52</id> <name>tmp_30</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>216</item> <item>218</item> </oprand_edges> <opcode>urem</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.58</m_delay> <m_topoIndex>34</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_37"> <Value> <Obj> <type>0</type> <id>53</id> <name>zext_cast</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>30</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>219</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>35</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_38"> <Value> <Obj> <type>0</type> <id>54</id> <name>mul</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>30</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>220</item> <item>222</item> </oprand_edges> <opcode>mul</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.89</m_delay> <m_topoIndex>36</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_39"> <Value> <Obj> <type>0</type> <id>55</id> <name>tmp_32</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>223</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>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_40"> <Value> <Obj> <type>0</type> <id>56</id> <name>w14_V_addr</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>13</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>224</item> <item>225</item> <item>226</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>38</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_41"> <Value> <Obj> <type>0</type> <id>57</id> <name>w14_V_load</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>25</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>227</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>39</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_42"> <Value> <Obj> <type>0</type> <id>58</id> <name>w14_V_load_cast</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>28</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>228</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>46</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_43"> <Value> <Obj> <type>0</type> <id>59</id> <name>tmp_6</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</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>230</item> <item>231</item> <item>233</item> <item>235</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="_44"> <Value> <Obj> <type>0</type> <id>60</id> <name>tmp_46</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</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>237</item> <item>238</item> <item>239</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>40</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_45"> <Value> <Obj> <type>0</type> <id>61</id> <name>p_shl8</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>3</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>241</item> <item>242</item> <item>244</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>42</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_46"> <Value> <Obj> <type>0</type> <id>62</id> <name>tmp_47</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>246</item> <item>247</item> <item>249</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>43</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_47"> <Value> <Obj> <type>0</type> <id>63</id> <name>tmp_48</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>250</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>44</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_48"> <Value> <Obj> <type>0</type> <id>64</id> <name>tmp_49</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>5</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>251</item> <item>252</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.78</m_delay> <m_topoIndex>45</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_49"> <Value> <Obj> <type>0</type> <id>65</id> <name>tmp_50</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>28</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>253</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>47</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_50"> <Value> <Obj> <type>0</type> <id>66</id> <name>tmp_51</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>28</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>254</item> <item>255</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>4.23</m_delay> <m_topoIndex>48</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_51"> <Value> <Obj> <type>0</type> <id>67</id> <name>tmp_52</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>256</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="_52"> <Value> <Obj> <type>0</type> <id>68</id> <name>p_Val2_14</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName>__Val2__</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>258</item> <item>259</item> <item>260</item> </oprand_edges> <opcode>call</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.89</m_delay> <m_topoIndex>51</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_53"> <Value> <Obj> <type>0</type> <id>69</id> <name>acc_V_addr_4</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>261</item> <item>262</item> <item>263</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>52</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_54"> <Value> <Obj> <type>0</type> <id>70</id> <name>p_Val2_s</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName>__Val2__</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>264</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>53</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_55"> <Value> <Obj> <type>0</type> <id>71</id> <name>lhs_V</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName>lhs.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>15</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>265</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>54</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_56"> <Value> <Obj> <type>0</type> <id>72</id> <name>rhs_V</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName>rhs.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>15</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>266</item> </oprand_edges> <opcode>sext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>55</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_57"> <Value> <Obj> <type>0</type> <id>73</id> <name>ret_V</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName>ret.V</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>15</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>267</item> <item>268</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.81</m_delay> <m_topoIndex>56</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_58"> <Value> <Obj> <type>0</type> <id>74</id> <name>p_Result_s</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName>__Result__</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>270</item> <item>271</item> <item>273</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>57</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_59"> <Value> <Obj> <type>0</type> <id>75</id> <name>p_Val2_16</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName>__Val2__</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>274</item> <item>275</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.81</m_delay> <m_topoIndex>58</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_60"> <Value> <Obj> <type>0</type> <id>76</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</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>276</item> <item>277</item> <item>426</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>60</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_61"> <Value> <Obj> <type>0</type> <id>77</id> <name>p_Result_10</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName>__Result__</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>279</item> <item>280</item> <item>282</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>59</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_62"> <Value> <Obj> <type>0</type> <id>78</id> <name>tmp_21</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</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>283</item> <item>285</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>61</m_topoIndex> <m_clusterGroupNumber>1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_63"> <Value> <Obj> <type>0</type> <id>79</id> <name>overflow</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName>overflow</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>286</item> <item>287</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.97</m_delay> <m_topoIndex>62</m_topoIndex> <m_clusterGroupNumber>1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_64"> <Value> <Obj> <type>0</type> <id>80</id> <name>tmp_58</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</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>288</item> <item>289</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>63</m_topoIndex> <m_clusterGroupNumber>2</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_65"> <Value> <Obj> <type>0</type> <id>81</id> <name>underflow</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName>underflow</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>290</item> <item>291</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.97</m_delay> <m_topoIndex>64</m_topoIndex> <m_clusterGroupNumber>2</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_66"> <Value> <Obj> <type>0</type> <id>82</id> <name>brmerge9</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</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>292</item> <item>293</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.97</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>83</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</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>294</item> <item>295</item> <item>296</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>66</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_68"> <Value> <Obj> <type>0</type> <id>85</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</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>297</item> <item>298</item> <item>299</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>67</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_69"> <Value> <Obj> <type>0</type> <id>87</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</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>304</item> <item>305</item> <item>306</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>68</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_70"> <Value> <Obj> <type>0</type> <id>89</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>308</item> <item>309</item> <item>429</item> <item>430</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>69</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_71"> <Value> <Obj> <type>0</type> <id>90</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</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>310</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>70</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_72"> <Value> <Obj> <type>0</type> <id>92</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>311</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>71</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_73"> <Value> <Obj> <type>0</type> <id>94</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>301</item> <item>302</item> <item>427</item> <item>428</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>72</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_74"> <Value> <Obj> <type>0</type> <id>95</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>160</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>160</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>303</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="_75"> <Value> <Obj> <type>0</type> <id>97</id> <name>w_index7_cast</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>158</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>158</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>15</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>312</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>74</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_76"> <Value> <Obj> <type>0</type> <id>98</id> <name>w_index_2</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>162</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>162</second> </item> </second> </item> </inlineStackInfo> <originalName>w_index</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>15</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>313</item> <item>315</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.81</m_delay> <m_topoIndex>75</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_77"> <Value> <Obj> <type>0</type> <id>99</id> <name>w_index_4_cast</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>162</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>162</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>316</item> <item>317</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.81</m_delay> <m_topoIndex>76</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_78"> <Value> <Obj> <type>0</type> <id>100</id> <name>tmp_59</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>163</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>163</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>318</item> <item>320</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.31</m_delay> <m_topoIndex>77</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_79"> <Value> <Obj> <type>0</type> <id>101</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>163</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>163</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>321</item> <item>322</item> <item>323</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>78</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_80"> <Value> <Obj> <type>0</type> <id>103</id> <name>out_index_4</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>164</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>164</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>324</item> <item>326</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.87</m_delay> <m_topoIndex>79</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_81"> <Value> <Obj> <type>0</type> <id>104</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>158</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>158</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>327</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>80</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_82"> <Value> <Obj> <type>0</type> <id>106</id> <name>in_index_2</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>167</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>167</second> </item> </second> </item> </inlineStackInfo> <originalName>in_index</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>328</item> <item>329</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.55</m_delay> <m_topoIndex>81</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_83"> <Value> <Obj> <type>0</type> <id>107</id> <name>tmp_60</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>168</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>168</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>330</item> <item>332</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.47</m_delay> <m_topoIndex>82</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_84"> <Value> <Obj> <type>0</type> <id>108</id> <name>p_s</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>168</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>168</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>333</item> <item>334</item> <item>335</item> </oprand_edges> <opcode>select</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.69</m_delay> <m_topoIndex>83</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_85"> <Value> <Obj> <type>0</type> <id>110</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>151</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>151</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>336</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>84</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_86"> <Value> <Obj> <type>0</type> <id>112</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>176</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>176</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>177</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.76</m_delay> <m_topoIndex>21</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_87"> <Value> <Obj> <type>0</type> <id>114</id> <name>ires</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName>ires</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>4</count> <item_version>0</item_version> <item>337</item> <item>338</item> <item>339</item> <item>340</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>85</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_88"> <Value> <Obj> <type>0</type> <id>115</id> <name>tmp_55</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>176</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>176</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>341</item> <item>342</item> </oprand_edges> <opcode>icmp</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.48</m_delay> <m_topoIndex>86</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_89"> <Value> <Obj> <type>0</type> <id>117</id> <name>ires_2</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>176</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>176</second> </item> </second> </item> </inlineStackInfo> <originalName>ires</originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>343</item> <item>344</item> </oprand_edges> <opcode>add</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>1.87</m_delay> <m_topoIndex>87</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_90"> <Value> <Obj> <type>0</type> <id>118</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>176</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>176</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>345</item> <item>346</item> <item>347</item> </oprand_edges> <opcode>br</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>88</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_91"> <Value> <Obj> <type>0</type> <id>121</id> <name>tmp_56</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>178</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>178</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>348</item> </oprand_edges> <opcode>zext</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>89</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_92"> <Value> <Obj> <type>0</type> <id>122</id> <name>acc_V_addr_3</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>178</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>178</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>349</item> <item>350</item> <item>351</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>90</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_93"> <Value> <Obj> <type>0</type> <id>123</id> <name>acc_V_load</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>178</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>178</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <oprand_edges> <count>1</count> <item_version>0</item_version> <item>352</item> </oprand_edges> <opcode>load</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>91</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_94"> <Value> <Obj> <type>0</type> <id>124</id> <name>res_V_addr</name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>178</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>178</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <oprand_edges> <count>3</count> <item_version>0</item_version> <item>353</item> <item>354</item> <item>355</item> </oprand_edges> <opcode>getelementptr</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>93</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_95"> <Value> <Obj> <type>0</type> <id>125</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>178</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>178</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>2</count> <item_version>0</item_version> <item>356</item> <item>357</item> </oprand_edges> <opcode>store</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>3.25</m_delay> <m_topoIndex>94</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_96"> <Value> <Obj> <type>0</type> <id>126</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>176</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>176</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>358</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>95</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> <item class_id_reference="9" object_id="_97"> <Value> <Obj> <type>0</type> <id>128</id> <name></name> <fileName>firmware/nnet_utils/nnet_dense_large.h</fileName> <fileDirectory>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</fileDirectory> <lineNumber>180</lineNumber> <contextFuncName>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</contextFuncName> <inlineStackInfo> <count>1</count> <item_version>0</item_version> <item> <first>/home/filipe/MEGA/GitHub/nas-hls4ml/model_multistart/0/hls4ml_prj</first> <second> <count>1</count> <item_version>0</item_version> <item> <first> <first>firmware/nnet_utils/nnet_dense_large.h</first> <second>dense_large_rf_gt_nin_rem0&amp;lt;ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, ap_fixed&amp;lt;14, 2, 0, 0, 0&amp;gt;, config14&amp;gt;</second> </first> <second>180</second> </item> </second> </item> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>0</bitwidth> </Value> <oprand_edges> <count>0</count> <item_version>0</item_version> </oprand_edges> <opcode>ret</opcode> <m_Display>0</m_Display> <m_isOnCriticalPath>0</m_isOnCriticalPath> <m_isLCDNode>0</m_isLCDNode> <m_isStartOfPath>0</m_isStartOfPath> <m_delay>0.00</m_delay> <m_topoIndex>92</m_topoIndex> <m_clusterGroupNumber>-1</m_clusterGroupNumber> </item> </nodes> <consts class_id="15" tracking_level="0" version="0"> <count>29</count> <item_version>0</item_version> <item class_id="16" tracking_level="1" version="0" object_id="_98"> <Value> <Obj> <type>2</type> <id>130</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_99"> <Value> <Obj> <type>2</type> <id>135</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_100"> <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>7</bitwidth> </Value> <const_type>0</const_type> <content>84</content> </item> <item class_id_reference="16" object_id="_101"> <Value> <Obj> <type>2</type> <id>142</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_102"> <Value> <Obj> <type>2</type> <id>150</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>64</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_103"> <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>14</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_104"> <Value> <Obj> <type>2</type> <id>159</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>13</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_105"> <Value> <Obj> <type>2</type> <id>164</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>0</content> </item> <item class_id_reference="16" object_id="_106"> <Value> <Obj> <type>2</type> <id>169</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>13</bitwidth> </Value> <const_type>0</const_type> <content>5040</content> </item> <item class_id_reference="16" object_id="_107"> <Value> <Obj> <type>2</type> <id>172</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>13</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_108"> <Value> <Obj> <type>2</type> <id>191</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="_109"> <Value> <Obj> <type>2</type> <id>207</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="_110"> <Value> <Obj> <type>2</type> <id>210</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="_111"> <Value> <Obj> <type>2</type> <id>217</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <const_type>0</const_type> <content>5040</content> </item> <item class_id_reference="16" object_id="_112"> <Value> <Obj> <type>2</type> <id>221</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>30</bitwidth> </Value> <const_type>0</const_type> <content>26631</content> </item> <item class_id_reference="16" object_id="_113"> <Value> <Obj> <type>2</type> <id>232</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>27</content> </item> <item class_id_reference="16" object_id="_114"> <Value> <Obj> <type>2</type> <id>234</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>28</content> </item> <item class_id_reference="16" object_id="_115"> <Value> <Obj> <type>2</type> <id>243</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_116"> <Value> <Obj> <type>2</type> <id>248</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>4</bitwidth> </Value> <const_type>0</const_type> <content>0</content> </item> <item class_id_reference="16" object_id="_117"> <Value> <Obj> <type>2</type> <id>257</id> <name>product</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <const_type>6</const_type> <content>&lt;constant:product&gt;</content> </item> <item class_id_reference="16" object_id="_118"> <Value> <Obj> <type>2</type> <id>272</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>14</content> </item> <item class_id_reference="16" object_id="_119"> <Value> <Obj> <type>2</type> <id>281</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>32</bitwidth> </Value> <const_type>0</const_type> <content>13</content> </item> <item class_id_reference="16" object_id="_120"> <Value> <Obj> <type>2</type> <id>284</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>1</bitwidth> </Value> <const_type>0</const_type> <content>1</content> </item> <item class_id_reference="16" object_id="_121"> <Value> <Obj> <type>2</type> <id>300</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <const_type>0</const_type> <content>8191</content> </item> <item class_id_reference="16" object_id="_122"> <Value> <Obj> <type>2</type> <id>307</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>14</bitwidth> </Value> <const_type>0</const_type> <content>8192</content> </item> <item class_id_reference="16" object_id="_123"> <Value> <Obj> <type>2</type> <id>314</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>15</bitwidth> </Value> <const_type>0</const_type> <content>5040</content> </item> <item class_id_reference="16" object_id="_124"> <Value> <Obj> <type>2</type> <id>319</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>15</bitwidth> </Value> <const_type>0</const_type> <content>10079</content> </item> <item class_id_reference="16" object_id="_125"> <Value> <Obj> <type>2</type> <id>325</id> <name>empty</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <bitwidth>7</bitwidth> </Value> <const_type>0</const_type> <content>42</content> </item> <item class_id_reference="16" object_id="_126"> <Value> <Obj> <type>2</type> <id>331</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>119</content> </item> </consts> <blocks class_id="17" tracking_level="0" version="0"> <count>20</count> <item_version>0</item_version> <item class_id="18" tracking_level="1" version="0" object_id="_127"> <Obj> <type>3</type> <id>7</id> <name>.preheader76.preheader</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>2</count> <item_version>0</item_version> <item>5</item> <item>6</item> </node_objs> </item> <item class_id_reference="18" object_id="_128"> <Obj> <type>3</type> <id>13</id> <name>.preheader76</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>11</item> <item>12</item> </node_objs> </item> <item class_id_reference="18" object_id="_129"> <Obj> <type>3</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> <node_objs> <count>4</count> <item_version>0</item_version> <item>15</item> <item>16</item> <item>17</item> <item>18</item> </node_objs> </item> <item class_id_reference="18" object_id="_130"> <Obj> <type>3</type> <id>21</id> <name>.preheader74.preheader</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>20</item> </node_objs> </item> <item class_id_reference="18" object_id="_131"> <Obj> <type>3</type> <id>29</id> <name>.preheader74</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>22</item> <item>23</item> <item>24</item> <item>25</item> <item>27</item> <item>28</item> </node_objs> </item> <item class_id_reference="18" object_id="_132"> <Obj> <type>3</type> <id>41</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>9</count> <item_version>0</item_version> <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> </node_objs> </item> <item class_id_reference="18" object_id="_133"> <Obj> <type>3</type> <id>49</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>6</count> <item_version>0</item_version> <item>42</item> <item>43</item> <item>44</item> <item>45</item> <item>47</item> <item>48</item> </node_objs> </item> <item class_id_reference="18" object_id="_134"> <Obj> <type>3</type> <id>84</id> <name>_ZN13ap_fixed_baseILi15ELi3ELb1EL9ap_q_mode5EL9ap_o_mode3ELi0EEC1ILi14ELi2ELb1ELS0_0ELS1_0ELi0EEERKS_IXT_EXT0_EXT1_EXT2_EXT3_EXT4_EE.exit9.i.i_ifconv</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>33</count> <item_version>0</item_version> <item>51</item> <item>52</item> <item>53</item> <item>54</item> <item>55</item> <item>56</item> <item>57</item> <item>58</item> <item>59</item> <item>60</item> <item>61</item> <item>62</item> <item>63</item> <item>64</item> <item>65</item> <item>66</item> <item>67</item> <item>68</item> <item>69</item> <item>70</item> <item>71</item> <item>72</item> <item>73</item> <item>74</item> <item>75</item> <item>76</item> <item>77</item> <item>78</item> <item>79</item> <item>80</item> <item>81</item> <item>82</item> <item>83</item> </node_objs> </item> <item class_id_reference="18" object_id="_135"> <Obj> <type>3</type> <id>86</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>85</item> </node_objs> </item> <item class_id_reference="18" object_id="_136"> <Obj> <type>3</type> <id>88</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>87</item> </node_objs> </item> <item class_id_reference="18" object_id="_137"> <Obj> <type>3</type> <id>91</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>2</count> <item_version>0</item_version> <item>89</item> <item>90</item> </node_objs> </item> <item class_id_reference="18" object_id="_138"> <Obj> <type>3</type> <id>93</id> <name>._crit_edge77</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>92</item> </node_objs> </item> <item class_id_reference="18" object_id="_139"> <Obj> <type>3</type> <id>96</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>2</count> <item_version>0</item_version> <item>94</item> <item>95</item> </node_objs> </item> <item class_id_reference="18" object_id="_140"> <Obj> <type>3</type> <id>102</id> <name>_ZN13ap_fixed_baseILi14ELi2ELb1EL9ap_q_mode0EL9ap_o_mode0ELi0EEpLILi14ELi2ELb1ELS0_0ELS1_0ELi0EEERS2_RKS_IXT_EXT0_EXT1_EXT2_EXT3_EXT4_EE.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>5</count> <item_version>0</item_version> <item>97</item> <item>98</item> <item>99</item> <item>100</item> <item>101</item> </node_objs> </item> <item class_id_reference="18" object_id="_141"> <Obj> <type>3</type> <id>105</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>2</count> <item_version>0</item_version> <item>103</item> <item>104</item> </node_objs> </item> <item class_id_reference="18" object_id="_142"> <Obj> <type>3</type> <id>111</id> <name>.loopexit</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>4</count> <item_version>0</item_version> <item>106</item> <item>107</item> <item>108</item> <item>110</item> </node_objs> </item> <item class_id_reference="18" object_id="_143"> <Obj> <type>3</type> <id>113</id> <name>.preheader.preheader</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>112</item> </node_objs> </item> <item class_id_reference="18" object_id="_144"> <Obj> <type>3</type> <id>119</id> <name>.preheader</name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>4</count> <item_version>0</item_version> <item>114</item> <item>115</item> <item>117</item> <item>118</item> </node_objs> </item> <item class_id_reference="18" object_id="_145"> <Obj> <type>3</type> <id>127</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>6</count> <item_version>0</item_version> <item>121</item> <item>122</item> <item>123</item> <item>124</item> <item>125</item> <item>126</item> </node_objs> </item> <item class_id_reference="18" object_id="_146"> <Obj> <type>3</type> <id>129</id> <name></name> <fileName></fileName> <fileDirectory></fileDirectory> <lineNumber>0</lineNumber> <contextFuncName></contextFuncName> <inlineStackInfo> <count>0</count> <item_version>0</item_version> </inlineStackInfo> <originalName></originalName> <rtlName></rtlName> <coreName></coreName> </Obj> <node_objs> <count>1</count> <item_version>0</item_version> <item>128</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="_147"> <id>131</id> <edge_type>1</edge_type> <source_obj>130</source_obj> <sink_obj>5</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_148"> <id>132</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>6</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_149"> <id>133</id> <edge_type>1</edge_type> <source_obj>11</source_obj> <sink_obj>8</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_150"> <id>134</id> <edge_type>2</edge_type> <source_obj>19</source_obj> <sink_obj>8</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_151"> <id>136</id> <edge_type>1</edge_type> <source_obj>135</source_obj> <sink_obj>8</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_152"> <id>137</id> <edge_type>2</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="_153"> <id>138</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>9</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_154"> <id>140</id> <edge_type>1</edge_type> <source_obj>139</source_obj> <sink_obj>9</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_155"> <id>141</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>11</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_156"> <id>143</id> <edge_type>1</edge_type> <source_obj>142</source_obj> <sink_obj>11</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_157"> <id>144</id> <edge_type>1</edge_type> <source_obj>9</source_obj> <sink_obj>12</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_158"> <id>145</id> <edge_type>2</edge_type> <source_obj>19</source_obj> <sink_obj>12</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_159"> <id>146</id> <edge_type>2</edge_type> <source_obj>21</source_obj> <sink_obj>12</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_160"> <id>147</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>20</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_161"> <id>148</id> <edge_type>1</edge_type> <source_obj>8</source_obj> <sink_obj>15</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_162"> <id>149</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_163"> <id>151</id> <edge_type>1</edge_type> <source_obj>150</source_obj> <sink_obj>16</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_164"> <id>152</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="_165"> <id>154</id> <edge_type>1</edge_type> <source_obj>153</source_obj> <sink_obj>17</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_166"> <id>155</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="_167"> <id>156</id> <edge_type>2</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="_168"> <id>157</id> <edge_type>1</edge_type> <source_obj>27</source_obj> <sink_obj>22</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_169"> <id>158</id> <edge_type>2</edge_type> <source_obj>111</source_obj> <sink_obj>22</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_170"> <id>160</id> <edge_type>1</edge_type> <source_obj>159</source_obj> <sink_obj>22</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_171"> <id>161</id> <edge_type>2</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="_172"> <id>162</id> <edge_type>1</edge_type> <source_obj>108</source_obj> <sink_obj>23</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_173"> <id>163</id> <edge_type>2</edge_type> <source_obj>111</source_obj> <sink_obj>23</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_174"> <id>165</id> <edge_type>1</edge_type> <source_obj>164</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_175"> <id>166</id> <edge_type>2</edge_type> <source_obj>21</source_obj> <sink_obj>23</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_176"> <id>167</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>24</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_177"> <id>168</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_178"> <id>170</id> <edge_type>1</edge_type> <source_obj>169</source_obj> <sink_obj>25</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_179"> <id>171</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_180"> <id>173</id> <edge_type>1</edge_type> <source_obj>172</source_obj> <sink_obj>27</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_181"> <id>174</id> <edge_type>1</edge_type> <source_obj>25</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_182"> <id>175</id> <edge_type>2</edge_type> <source_obj>41</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_183"> <id>176</id> <edge_type>2</edge_type> <source_obj>113</source_obj> <sink_obj>28</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_184"> <id>177</id> <edge_type>2</edge_type> <source_obj>119</source_obj> <sink_obj>112</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_185"> <id>178</id> <edge_type>1</edge_type> <source_obj>22</source_obj> <sink_obj>32</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_186"> <id>179</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="_187"> <id>180</id> <edge_type>1</edge_type> <source_obj>150</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_188"> <id>181</id> <edge_type>1</edge_type> <source_obj>32</source_obj> <sink_obj>33</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_189"> <id>182</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="_190"> <id>183</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="_191"> <id>184</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>36</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_192"> <id>185</id> <edge_type>1</edge_type> <source_obj>1</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_193"> <id>186</id> <edge_type>1</edge_type> <source_obj>150</source_obj> <sink_obj>37</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_194"> <id>187</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="_195"> <id>188</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="_196"> <id>189</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="_197"> <id>190</id> <edge_type>2</edge_type> <source_obj>49</source_obj> <sink_obj>40</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_198"> <id>192</id> <edge_type>1</edge_type> <source_obj>191</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_199"> <id>193</id> <edge_type>2</edge_type> <source_obj>41</source_obj> <sink_obj>42</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_200"> <id>194</id> <edge_type>1</edge_type> <source_obj>47</source_obj> <sink_obj>42</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_201"> <id>195</id> <edge_type>2</edge_type> <source_obj>105</source_obj> <sink_obj>42</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_202"> <id>196</id> <edge_type>1</edge_type> <source_obj>35</source_obj> <sink_obj>43</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_203"> <id>197</id> <edge_type>2</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="_204"> <id>198</id> <edge_type>1</edge_type> <source_obj>103</source_obj> <sink_obj>43</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_205"> <id>199</id> <edge_type>2</edge_type> <source_obj>105</source_obj> <sink_obj>43</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_206"> <id>200</id> <edge_type>1</edge_type> <source_obj>24</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_207"> <id>201</id> <edge_type>2</edge_type> <source_obj>41</source_obj> <sink_obj>44</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_208"> <id>202</id> <edge_type>1</edge_type> <source_obj>99</source_obj> <sink_obj>44</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_209"> <id>203</id> <edge_type>2</edge_type> <source_obj>105</source_obj> <sink_obj>44</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_210"> <id>206</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_211"> <id>208</id> <edge_type>1</edge_type> <source_obj>207</source_obj> <sink_obj>45</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_212"> <id>209</id> <edge_type>1</edge_type> <source_obj>42</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_213"> <id>211</id> <edge_type>1</edge_type> <source_obj>210</source_obj> <sink_obj>47</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_214"> <id>212</id> <edge_type>1</edge_type> <source_obj>45</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_215"> <id>213</id> <edge_type>2</edge_type> <source_obj>84</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_216"> <id>214</id> <edge_type>2</edge_type> <source_obj>111</source_obj> <sink_obj>48</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_217"> <id>215</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>51</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_218"> <id>216</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_219"> <id>218</id> <edge_type>1</edge_type> <source_obj>217</source_obj> <sink_obj>52</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_220"> <id>219</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>53</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_221"> <id>220</id> <edge_type>1</edge_type> <source_obj>53</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_222"> <id>222</id> <edge_type>1</edge_type> <source_obj>221</source_obj> <sink_obj>54</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_223"> <id>223</id> <edge_type>1</edge_type> <source_obj>52</source_obj> <sink_obj>55</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_224"> <id>224</id> <edge_type>1</edge_type> <source_obj>4</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_225"> <id>225</id> <edge_type>1</edge_type> <source_obj>150</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_226"> <id>226</id> <edge_type>1</edge_type> <source_obj>55</source_obj> <sink_obj>56</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_227"> <id>227</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="_228"> <id>228</id> <edge_type>1</edge_type> <source_obj>57</source_obj> <sink_obj>58</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_229"> <id>231</id> <edge_type>1</edge_type> <source_obj>54</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_230"> <id>233</id> <edge_type>1</edge_type> <source_obj>232</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_231"> <id>235</id> <edge_type>1</edge_type> <source_obj>234</source_obj> <sink_obj>59</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_232"> <id>238</id> <edge_type>1</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="_233"> <id>239</id> <edge_type>1</edge_type> <source_obj>232</source_obj> <sink_obj>60</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_234"> <id>242</id> <edge_type>1</edge_type> <source_obj>59</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_235"> <id>244</id> <edge_type>1</edge_type> <source_obj>243</source_obj> <sink_obj>61</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_236"> <id>247</id> <edge_type>1</edge_type> <source_obj>60</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_237"> <id>249</id> <edge_type>1</edge_type> <source_obj>248</source_obj> <sink_obj>62</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_238"> <id>250</id> <edge_type>1</edge_type> <source_obj>61</source_obj> <sink_obj>63</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_239"> <id>251</id> <edge_type>1</edge_type> <source_obj>62</source_obj> <sink_obj>64</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_240"> <id>252</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="_241"> <id>253</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="_242"> <id>254</id> <edge_type>1</edge_type> <source_obj>58</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_243"> <id>255</id> <edge_type>1</edge_type> <source_obj>65</source_obj> <sink_obj>66</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_244"> <id>256</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="_245"> <id>258</id> <edge_type>1</edge_type> <source_obj>257</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_246"> <id>259</id> <edge_type>1</edge_type> <source_obj>39</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_247"> <id>260</id> <edge_type>1</edge_type> <source_obj>67</source_obj> <sink_obj>68</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_248"> <id>261</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_249"> <id>262</id> <edge_type>1</edge_type> <source_obj>150</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_250"> <id>263</id> <edge_type>1</edge_type> <source_obj>51</source_obj> <sink_obj>69</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_251"> <id>264</id> <edge_type>1</edge_type> <source_obj>69</source_obj> <sink_obj>70</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_252"> <id>265</id> <edge_type>1</edge_type> <source_obj>70</source_obj> <sink_obj>71</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_253"> <id>266</id> <edge_type>1</edge_type> <source_obj>68</source_obj> <sink_obj>72</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_254"> <id>267</id> <edge_type>1</edge_type> <source_obj>71</source_obj> <sink_obj>73</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_255"> <id>268</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="_256"> <id>271</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="_257"> <id>273</id> <edge_type>1</edge_type> <source_obj>272</source_obj> <sink_obj>74</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_258"> <id>274</id> <edge_type>1</edge_type> <source_obj>70</source_obj> <sink_obj>75</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_259"> <id>275</id> <edge_type>1</edge_type> <source_obj>68</source_obj> <sink_obj>75</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_260"> <id>276</id> <edge_type>1</edge_type> <source_obj>75</source_obj> <sink_obj>76</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_261"> <id>277</id> <edge_type>1</edge_type> <source_obj>69</source_obj> <sink_obj>76</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_262"> <id>280</id> <edge_type>1</edge_type> <source_obj>75</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_263"> <id>282</id> <edge_type>1</edge_type> <source_obj>281</source_obj> <sink_obj>77</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_264"> <id>283</id> <edge_type>1</edge_type> <source_obj>74</source_obj> <sink_obj>78</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_265"> <id>285</id> <edge_type>1</edge_type> <source_obj>284</source_obj> <sink_obj>78</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_266"> <id>286</id> <edge_type>1</edge_type> <source_obj>77</source_obj> <sink_obj>79</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_267"> <id>287</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="_268"> <id>288</id> <edge_type>1</edge_type> <source_obj>77</source_obj> <sink_obj>80</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_269"> <id>289</id> <edge_type>1</edge_type> <source_obj>284</source_obj> <sink_obj>80</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_270"> <id>290</id> <edge_type>1</edge_type> <source_obj>74</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_271"> <id>291</id> <edge_type>1</edge_type> <source_obj>80</source_obj> <sink_obj>81</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_272"> <id>292</id> <edge_type>1</edge_type> <source_obj>74</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_273"> <id>293</id> <edge_type>1</edge_type> <source_obj>77</source_obj> <sink_obj>82</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_274"> <id>294</id> <edge_type>1</edge_type> <source_obj>82</source_obj> <sink_obj>83</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_275"> <id>295</id> <edge_type>2</edge_type> <source_obj>102</source_obj> <sink_obj>83</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_276"> <id>296</id> <edge_type>2</edge_type> <source_obj>86</source_obj> <sink_obj>83</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_277"> <id>297</id> <edge_type>1</edge_type> <source_obj>79</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_278"> <id>298</id> <edge_type>2</edge_type> <source_obj>88</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_279"> <id>299</id> <edge_type>2</edge_type> <source_obj>96</source_obj> <sink_obj>85</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_280"> <id>301</id> <edge_type>1</edge_type> <source_obj>300</source_obj> <sink_obj>94</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_281"> <id>302</id> <edge_type>1</edge_type> <source_obj>69</source_obj> <sink_obj>94</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_282"> <id>303</id> <edge_type>2</edge_type> <source_obj>102</source_obj> <sink_obj>95</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_283"> <id>304</id> <edge_type>1</edge_type> <source_obj>81</source_obj> <sink_obj>87</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_284"> <id>305</id> <edge_type>2</edge_type> <source_obj>93</source_obj> <sink_obj>87</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_285"> <id>306</id> <edge_type>2</edge_type> <source_obj>91</source_obj> <sink_obj>87</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_286"> <id>308</id> <edge_type>1</edge_type> <source_obj>307</source_obj> <sink_obj>89</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_287"> <id>309</id> <edge_type>1</edge_type> <source_obj>69</source_obj> <sink_obj>89</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_288"> <id>310</id> <edge_type>2</edge_type> <source_obj>93</source_obj> <sink_obj>90</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_289"> <id>311</id> <edge_type>2</edge_type> <source_obj>102</source_obj> <sink_obj>92</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_290"> <id>312</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>97</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_291"> <id>313</id> <edge_type>1</edge_type> <source_obj>97</source_obj> <sink_obj>98</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_292"> <id>315</id> <edge_type>1</edge_type> <source_obj>314</source_obj> <sink_obj>98</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_293"> <id>316</id> <edge_type>1</edge_type> <source_obj>44</source_obj> <sink_obj>99</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_294"> <id>317</id> <edge_type>1</edge_type> <source_obj>217</source_obj> <sink_obj>99</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_295"> <id>318</id> <edge_type>1</edge_type> <source_obj>98</source_obj> <sink_obj>100</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_296"> <id>320</id> <edge_type>1</edge_type> <source_obj>319</source_obj> <sink_obj>100</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_297"> <id>321</id> <edge_type>1</edge_type> <source_obj>100</source_obj> <sink_obj>101</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_298"> <id>322</id> <edge_type>2</edge_type> <source_obj>105</source_obj> <sink_obj>101</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_299"> <id>323</id> <edge_type>2</edge_type> <source_obj>111</source_obj> <sink_obj>101</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_300"> <id>324</id> <edge_type>1</edge_type> <source_obj>43</source_obj> <sink_obj>103</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_301"> <id>326</id> <edge_type>1</edge_type> <source_obj>325</source_obj> <sink_obj>103</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_302"> <id>327</id> <edge_type>2</edge_type> <source_obj>49</source_obj> <sink_obj>104</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_303"> <id>328</id> <edge_type>1</edge_type> <source_obj>23</source_obj> <sink_obj>106</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_304"> <id>329</id> <edge_type>1</edge_type> <source_obj>207</source_obj> <sink_obj>106</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_305"> <id>330</id> <edge_type>1</edge_type> <source_obj>106</source_obj> <sink_obj>107</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_306"> <id>332</id> <edge_type>1</edge_type> <source_obj>331</source_obj> <sink_obj>107</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_307"> <id>333</id> <edge_type>1</edge_type> <source_obj>107</source_obj> <sink_obj>108</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_308"> <id>334</id> <edge_type>1</edge_type> <source_obj>164</source_obj> <sink_obj>108</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_309"> <id>335</id> <edge_type>1</edge_type> <source_obj>106</source_obj> <sink_obj>108</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_310"> <id>336</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>110</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_311"> <id>337</id> <edge_type>1</edge_type> <source_obj>117</source_obj> <sink_obj>114</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_312"> <id>338</id> <edge_type>2</edge_type> <source_obj>127</source_obj> <sink_obj>114</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_313"> <id>339</id> <edge_type>1</edge_type> <source_obj>135</source_obj> <sink_obj>114</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_314"> <id>340</id> <edge_type>2</edge_type> <source_obj>113</source_obj> <sink_obj>114</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_315"> <id>341</id> <edge_type>1</edge_type> <source_obj>114</source_obj> <sink_obj>115</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_316"> <id>342</id> <edge_type>1</edge_type> <source_obj>139</source_obj> <sink_obj>115</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_317"> <id>343</id> <edge_type>1</edge_type> <source_obj>114</source_obj> <sink_obj>117</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_318"> <id>344</id> <edge_type>1</edge_type> <source_obj>142</source_obj> <sink_obj>117</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_319"> <id>345</id> <edge_type>1</edge_type> <source_obj>115</source_obj> <sink_obj>118</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_320"> <id>346</id> <edge_type>2</edge_type> <source_obj>127</source_obj> <sink_obj>118</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_321"> <id>347</id> <edge_type>2</edge_type> <source_obj>129</source_obj> <sink_obj>118</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_322"> <id>348</id> <edge_type>1</edge_type> <source_obj>114</source_obj> <sink_obj>121</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_323"> <id>349</id> <edge_type>1</edge_type> <source_obj>5</source_obj> <sink_obj>122</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_324"> <id>350</id> <edge_type>1</edge_type> <source_obj>150</source_obj> <sink_obj>122</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_325"> <id>351</id> <edge_type>1</edge_type> <source_obj>121</source_obj> <sink_obj>122</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_326"> <id>352</id> <edge_type>1</edge_type> <source_obj>122</source_obj> <sink_obj>123</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_327"> <id>353</id> <edge_type>1</edge_type> <source_obj>2</source_obj> <sink_obj>124</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_328"> <id>354</id> <edge_type>1</edge_type> <source_obj>150</source_obj> <sink_obj>124</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_329"> <id>355</id> <edge_type>1</edge_type> <source_obj>121</source_obj> <sink_obj>124</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_330"> <id>356</id> <edge_type>1</edge_type> <source_obj>123</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_331"> <id>357</id> <edge_type>1</edge_type> <source_obj>124</source_obj> <sink_obj>125</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_332"> <id>358</id> <edge_type>2</edge_type> <source_obj>119</source_obj> <sink_obj>126</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_333"> <id>399</id> <edge_type>2</edge_type> <source_obj>7</source_obj> <sink_obj>13</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_334"> <id>400</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>21</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_335"> <id>401</id> <edge_type>2</edge_type> <source_obj>13</source_obj> <sink_obj>19</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_336"> <id>402</id> <edge_type>2</edge_type> <source_obj>19</source_obj> <sink_obj>13</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_337"> <id>403</id> <edge_type>2</edge_type> <source_obj>21</source_obj> <sink_obj>29</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_338"> <id>404</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>113</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_339"> <id>405</id> <edge_type>2</edge_type> <source_obj>29</source_obj> <sink_obj>41</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_340"> <id>406</id> <edge_type>2</edge_type> <source_obj>41</source_obj> <sink_obj>49</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_341"> <id>407</id> <edge_type>2</edge_type> <source_obj>49</source_obj> <sink_obj>111</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_342"> <id>408</id> <edge_type>2</edge_type> <source_obj>49</source_obj> <sink_obj>84</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_343"> <id>409</id> <edge_type>2</edge_type> <source_obj>84</source_obj> <sink_obj>86</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_344"> <id>410</id> <edge_type>2</edge_type> <source_obj>84</source_obj> <sink_obj>102</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_345"> <id>411</id> <edge_type>2</edge_type> <source_obj>86</source_obj> <sink_obj>96</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_346"> <id>412</id> <edge_type>2</edge_type> <source_obj>86</source_obj> <sink_obj>88</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_347"> <id>413</id> <edge_type>2</edge_type> <source_obj>88</source_obj> <sink_obj>91</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_348"> <id>414</id> <edge_type>2</edge_type> <source_obj>88</source_obj> <sink_obj>93</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_349"> <id>415</id> <edge_type>2</edge_type> <source_obj>91</source_obj> <sink_obj>93</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_350"> <id>416</id> <edge_type>2</edge_type> <source_obj>93</source_obj> <sink_obj>102</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_351"> <id>417</id> <edge_type>2</edge_type> <source_obj>96</source_obj> <sink_obj>102</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_352"> <id>418</id> <edge_type>2</edge_type> <source_obj>102</source_obj> <sink_obj>111</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_353"> <id>419</id> <edge_type>2</edge_type> <source_obj>102</source_obj> <sink_obj>105</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_354"> <id>420</id> <edge_type>2</edge_type> <source_obj>105</source_obj> <sink_obj>49</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_355"> <id>421</id> <edge_type>2</edge_type> <source_obj>111</source_obj> <sink_obj>29</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_356"> <id>422</id> <edge_type>2</edge_type> <source_obj>113</source_obj> <sink_obj>119</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_357"> <id>423</id> <edge_type>2</edge_type> <source_obj>119</source_obj> <sink_obj>129</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_358"> <id>424</id> <edge_type>2</edge_type> <source_obj>119</source_obj> <sink_obj>127</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_359"> <id>425</id> <edge_type>2</edge_type> <source_obj>127</source_obj> <sink_obj>119</sink_obj> <is_back_edge>1</is_back_edge> </item> <item class_id_reference="20" object_id="_360"> <id>426</id> <edge_type>4</edge_type> <source_obj>70</source_obj> <sink_obj>76</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_361"> <id>427</id> <edge_type>4</edge_type> <source_obj>70</source_obj> <sink_obj>94</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_362"> <id>428</id> <edge_type>4</edge_type> <source_obj>76</source_obj> <sink_obj>94</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_363"> <id>429</id> <edge_type>4</edge_type> <source_obj>70</source_obj> <sink_obj>89</sink_obj> <is_back_edge>0</is_back_edge> </item> <item class_id_reference="20" object_id="_364"> <id>430</id> <edge_type>4</edge_type> <source_obj>76</source_obj> <sink_obj>89</sink_obj> <is_back_edge>0</is_back_edge> </item> </edges> </cdfg> <cdfg_regions class_id="21" tracking_level="0" version="0"> <count>11</count> <item_version>0</item_version> <item class_id="22" tracking_level="1" version="0" object_id="_365"> <mId>1</mId> <mTag>dense_large_rf_gt_ni.3</mTag> <mType>0</mType> <sub_regions> <count>7</count> <item_version>0</item_version> <item>2</item> <item>3</item> <item>4</item> <item>5</item> <item>9</item> <item>10</item> <item>11</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>176739</mMinLatency> <mMaxLatency>458979</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_366"> <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>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_367"> <mId>3</mId> <mTag>InitAccum</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>13</item> <item>19</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>84</mMinTripCount> <mMaxTripCount>84</mMaxTripCount> <mMinLatency>84</mMinLatency> <mMaxLatency>84</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_368"> <mId>4</mId> <mTag>Region 1</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>21</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_369"> <mId>5</mId> <mTag>ReuseLoop</mTag> <mType>1</mType> <sub_regions> <count>3</count> <item_version>0</item_version> <item>6</item> <item>7</item> <item>8</item> </sub_regions> <basic_blocks> <count>0</count> <item_version>0</item_version> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>5040</mMinTripCount> <mMaxTripCount>5040</mMaxTripCount> <mMinLatency>176400</mMinLatency> <mMaxLatency>458640</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_370"> <mId>6</mId> <mTag>Region 2</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>2</count> <item_version>0</item_version> <item>29</item> <item>41</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>2</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_371"> <mId>7</mId> <mTag>MultLoop</mTag> <mType>1</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>9</count> <item_version>0</item_version> <item>49</item> <item>84</item> <item>86</item> <item>88</item> <item>91</item> <item>93</item> <item>96</item> <item>102</item> <item>105</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>1</mMinTripCount> <mMaxTripCount>2</mMaxTripCount> <mMinLatency>30</mMinLatency> <mMaxLatency>85</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_372"> <mId>8</mId> <mTag>Region 3</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>111</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>1</mMinLatency> <mMaxLatency>1</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_373"> <mId>9</mId> <mTag>Region 4</mTag> <mType>0</mType> <sub_regions> <count>0</count> <item_version>0</item_version> </sub_regions> <basic_blocks> <count>1</count> <item_version>0</item_version> <item>113</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_374"> <mId>10</mId> <mTag>Result</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>119</item> <item>127</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>84</mMinTripCount> <mMaxTripCount>84</mMaxTripCount> <mMinLatency>252</mMinLatency> <mMaxLatency>252</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> <item class_id_reference="22" object_id="_375"> <mId>11</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>129</item> </basic_blocks> <mII>-1</mII> <mDepth>-1</mDepth> <mMinTripCount>-1</mMinTripCount> <mMaxTripCount>-1</mMaxTripCount> <mMinLatency>0</mMinLatency> <mMaxLatency>0</mMaxLatency> <mIsDfPipe>0</mIsDfPipe> <mDfPipe class_id="-1"></mDfPipe> </item> </cdfg_regions> <fsm class_id="24" tracking_level="1" version="0" object_id="_376"> <states class_id="25" tracking_level="0" version="0"> <count>35</count> <item_version>0</item_version> <item class_id="26" tracking_level="1" version="0" object_id="_377"> <id>1</id> <operations class_id="27" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="28" tracking_level="1" version="0" object_id="_378"> <id>5</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_379"> <id>6</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_380"> <id>2</id> <operations> <count>11</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_381"> <id>8</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_382"> <id>9</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_383"> <id>10</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_384"> <id>11</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_385"> <id>12</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_386"> <id>14</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_387"> <id>15</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_388"> <id>16</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_389"> <id>17</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_390"> <id>18</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_391"> <id>20</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_392"> <id>3</id> <operations> <count>11</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_393"> <id>22</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_394"> <id>23</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_395"> <id>24</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_396"> <id>25</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_397"> <id>26</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_398"> <id>27</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_399"> <id>28</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_400"> <id>32</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_401"> <id>33</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_402"> <id>34</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_403"> <id>112</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_404"> <id>4</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_405"> <id>34</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_406"> <id>36</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_407"> <id>37</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_408"> <id>38</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_409"> <id>5</id> <operations> <count>6</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_410"> <id>30</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_411"> <id>31</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_412"> <id>35</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_413"> <id>38</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_414"> <id>39</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_415"> <id>40</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_416"> <id>6</id> <operations> <count>8</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_417"> <id>42</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_418"> <id>43</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_419"> <id>44</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_420"> <id>45</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_421"> <id>46</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_422"> <id>47</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_423"> <id>48</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_424"> <id>52</id> <stage>18</stage> <latency>18</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_425"> <id>7</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_426"> <id>52</id> <stage>17</stage> <latency>18</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_427"> <id>8</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_428"> <id>52</id> <stage>16</stage> <latency>18</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_429"> <id>9</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_430"> <id>52</id> <stage>15</stage> <latency>18</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_431"> <id>10</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_432"> <id>52</id> <stage>14</stage> <latency>18</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_433"> <id>11</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_434"> <id>52</id> <stage>13</stage> <latency>18</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_435"> <id>12</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_436"> <id>52</id> <stage>12</stage> <latency>18</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_437"> <id>13</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_438"> <id>52</id> <stage>11</stage> <latency>18</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_439"> <id>14</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_440"> <id>52</id> <stage>10</stage> <latency>18</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_441"> <id>15</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_442"> <id>52</id> <stage>9</stage> <latency>18</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_443"> <id>16</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_444"> <id>52</id> <stage>8</stage> <latency>18</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_445"> <id>17</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_446"> <id>52</id> <stage>7</stage> <latency>18</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_447"> <id>18</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_448"> <id>52</id> <stage>6</stage> <latency>18</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_449"> <id>19</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_450"> <id>52</id> <stage>5</stage> <latency>18</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_451"> <id>20</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_452"> <id>52</id> <stage>4</stage> <latency>18</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_453"> <id>21</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_454"> <id>52</id> <stage>3</stage> <latency>18</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_455"> <id>22</id> <operations> <count>3</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_456"> <id>52</id> <stage>2</stage> <latency>18</latency> </item> <item class_id_reference="28" object_id="_457"> <id>53</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_458"> <id>54</id> <stage>3</stage> <latency>3</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_459"> <id>23</id> <operations> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_460"> <id>52</id> <stage>1</stage> <latency>18</latency> </item> <item class_id_reference="28" object_id="_461"> <id>54</id> <stage>2</stage> <latency>3</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_462"> <id>24</id> <operations> <count>5</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_463"> <id>54</id> <stage>1</stage> <latency>3</latency> </item> <item class_id_reference="28" object_id="_464"> <id>55</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_465"> <id>56</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_466"> <id>57</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_467"> <id>60</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_468"> <id>25</id> <operations> <count>6</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_469"> <id>57</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_470"> <id>59</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_471"> <id>61</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_472"> <id>62</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_473"> <id>63</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_474"> <id>64</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_475"> <id>26</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_476"> <id>58</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_477"> <id>65</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_478"> <id>66</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_479"> <id>67</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_480"> <id>27</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_481"> <id>51</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_482"> <id>68</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_483"> <id>69</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_484"> <id>70</id> <stage>2</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_485"> <id>28</id> <operations> <count>2</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_486"> <id>68</id> <stage>1</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_487"> <id>70</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_488"> <id>29</id> <operations> <count>6</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_489"> <id>71</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_490"> <id>72</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_491"> <id>73</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_492"> <id>74</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_493"> <id>75</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_494"> <id>77</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_495"> <id>30</id> <operations> <count>10</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_496"> <id>50</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_497"> <id>76</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_498"> <id>78</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_499"> <id>79</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_500"> <id>80</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_501"> <id>81</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_502"> <id>82</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_503"> <id>83</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_504"> <id>85</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_505"> <id>87</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_506"> <id>31</id> <operations> <count>13</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_507"> <id>89</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_508"> <id>90</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_509"> <id>92</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_510"> <id>94</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_511"> <id>95</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_512"> <id>97</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_513"> <id>98</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_514"> <id>99</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_515"> <id>100</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_516"> <id>101</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_517"> <id>103</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_518"> <id>104</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_519"> <id>106</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_520"> <id>32</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_521"> <id>107</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_522"> <id>108</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_523"> <id>109</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_524"> <id>110</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_525"> <id>33</id> <operations> <count>9</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_526"> <id>114</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_527"> <id>115</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_528"> <id>116</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_529"> <id>117</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_530"> <id>118</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_531"> <id>121</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_532"> <id>122</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_533"> <id>123</id> <stage>2</stage> <latency>2</latency> </item> <item class_id_reference="28" object_id="_534"> <id>128</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_535"> <id>34</id> <operations> <count>1</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_536"> <id>123</id> <stage>1</stage> <latency>2</latency> </item> </operations> </item> <item class_id_reference="26" object_id="_537"> <id>35</id> <operations> <count>4</count> <item_version>0</item_version> <item class_id_reference="28" object_id="_538"> <id>120</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_539"> <id>124</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_540"> <id>125</id> <stage>1</stage> <latency>1</latency> </item> <item class_id_reference="28" object_id="_541"> <id>126</id> <stage>1</stage> <latency>1</latency> </item> </operations> </item> </states> <transitions class_id="29" tracking_level="0" version="0"> <count>39</count> <item_version>0</item_version> <item class_id="30" tracking_level="1" version="0" object_id="_542"> <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="_543"> <inState>2</inState> <outState>2</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item class_id="34" tracking_level="0" version="0"> <first class_id="35" tracking_level="0" version="0"> <first>9</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_544"> <inState>2</inState> <outState>3</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>9</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_545"> <inState>3</inState> <outState>4</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>25</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_546"> <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="_547"> <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="_548"> <inState>6</inState> <outState>7</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>45</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_549"> <inState>6</inState> <outState>31</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>45</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_550"> <inState>7</inState> <outState>8</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_551"> <inState>8</inState> <outState>9</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_552"> <inState>9</inState> <outState>10</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_553"> <inState>10</inState> <outState>11</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_554"> <inState>11</inState> <outState>12</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="_555"> <inState>12</inState> <outState>13</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_556"> <inState>13</inState> <outState>14</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="_557"> <inState>14</inState> <outState>15</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_558"> <inState>15</inState> <outState>16</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="_559"> <inState>16</inState> <outState>17</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="_560"> <inState>17</inState> <outState>18</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="_561"> <inState>18</inState> <outState>19</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="_562"> <inState>19</inState> <outState>20</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="_563"> <inState>20</inState> <outState>21</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="_564"> <inState>21</inState> <outState>22</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="_565"> <inState>22</inState> <outState>23</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="_566"> <inState>23</inState> <outState>24</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="_567"> <inState>24</inState> <outState>25</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="_568"> <inState>25</inState> <outState>26</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="_569"> <inState>26</inState> <outState>27</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="_570"> <inState>27</inState> <outState>28</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="_571"> <inState>28</inState> <outState>29</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="_572"> <inState>29</inState> <outState>30</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="_573"> <inState>30</inState> <outState>31</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="_574"> <inState>31</inState> <outState>32</outState> <condition> <id>-1</id> <sop> <count>2</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>100</first> <second>0</second> </first> <second>0</second> </item> </item> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>45</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_575"> <inState>31</inState> <outState>6</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>2</count> <item_version>0</item_version> <item> <first> <first>45</first> <second>0</second> </first> <second>1</second> </item> <item> <first> <first>100</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_576"> <inState>32</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="_577"> <inState>3</inState> <outState>33</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>25</first> <second>0</second> </first> <second>0</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_578"> <inState>33</inState> <outState>34</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>1</count> <item_version>0</item_version> <item> <first> <first>115</first> <second>0</second> </first> <second>1</second> </item> </item> </sop> </condition> </item> <item class_id_reference="30" object_id="_579"> <inState>34</inState> <outState>35</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="_580"> <inState>35</inState> <outState>33</outState> <condition> <id>-1</id> <sop> <count>1</count> <item_version>0</item_version> <item> <count>0</count> <item_version>0</item_version> </item> </sop> </condition> </item> </transitions> </fsm> <res class_id="-1"></res> <node_label_latency class_id="37" tracking_level="0" version="0"> <count>95</count> <item_version>0</item_version> <item class_id="38" tracking_level="0" version="0"> <first>5</first> <second class_id="39" tracking_level="0" version="0"> <first>0</first> <second>0</second> </second> </item> <item> <first>6</first> <second> <first>0</first> <second>0</second> </second> </item> <item> <first>8</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>9</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>11</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>12</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>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>20</first> <second> <first>1</first> <second>0</second> </second> </item> <item> <first>22</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>23</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>24</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>25</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>27</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>28</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>32</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>33</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>34</first> <second> <first>2</first> <second>1</second> </second> </item> <item> <first>35</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>36</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>37</first> <second> <first>3</first> <second>0</second> </second> </item> <item> <first>38</first> <second> <first>3</first> <second>1</second> </second> </item> <item> <first>39</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>40</first> <second> <first>4</first> <second>0</second> </second> </item> <item> <first>42</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>43</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>44</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>45</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>47</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>48</first> <second> <first>5</first> <second>0</second> </second> </item> <item> <first>51</first> <second> <first>26</first> <second>0</second> </second> </item> <item> <first>52</first> <second> <first>5</first> <second>17</second> </second> </item> <item> <first>53</first> <second> <first>21</first> <second>0</second> </second> </item> <item> <first>54</first> <second> <first>21</first> <second>2</second> </second> </item> <item> <first>55</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>56</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>57</first> <second> <first>23</first> <second>1</second> </second> </item> <item> <first>58</first> <second> <first>25</first> <second>0</second> </second> </item> <item> <first>59</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>60</first> <second> <first>23</first> <second>0</second> </second> </item> <item> <first>61</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>62</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>63</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>64</first> <second> <first>24</first> <second>0</second> </second> </item> <item> <first>65</first> <second> <first>25</first> <second>0</second> </second> </item> <item> <first>66</first> <second> <first>25</first> <second>0</second> </second> </item> <item> <first>67</first> <second> <first>25</first> <second>0</second> </second> </item> <item> <first>68</first> <second> <first>26</first> <second>1</second> </second> </item> <item> <first>69</first> <second> <first>26</first> <second>0</second> </second> </item> <item> <first>70</first> <second> <first>26</first> <second>1</second> </second> </item> <item> <first>71</first> <second> <first>28</first> <second>0</second> </second> </item> <item> <first>72</first> <second> <first>28</first> <second>0</second> </second> </item> <item> <first>73</first> <second> <first>28</first> <second>0</second> </second> </item> <item> <first>74</first> <second> <first>28</first> <second>0</second> </second> </item> <item> <first>75</first> <second> <first>28</first> <second>0</second> </second> </item> <item> <first>76</first> <second> <first>29</first> <second>0</second> </second> </item> <item> <first>77</first> <second> <first>28</first> <second>0</second> </second> </item> <item> <first>78</first> <second> <first>29</first> <second>0</second> </second> </item> <item> <first>79</first> <second> <first>29</first> <second>0</second> </second> </item> <item> <first>80</first> <second> <first>29</first> <second>0</second> </second> </item> <item> <first>81</first> <second> <first>29</first> <second>0</second> </second> </item> <item> <first>82</first> <second> <first>29</first> <second>0</second> </second> </item> <item> <first>83</first> <second> <first>29</first> <second>0</second> </second> </item> <item> <first>85</first> <second> <first>29</first> <second>0</second> </second> </item> <item> <first>87</first> <second> <first>29</first> <second>0</second> </second> </item> <item> <first>89</first> <second> <first>30</first> <second>0</second> </second> </item> <item> <first>90</first> <second> <first>30</first> <second>0</second> </second> </item> <item> <first>92</first> <second> <first>30</first> <second>0</second> </second> </item> <item> <first>94</first> <second> <first>30</first> <second>0</second> </second> </item> <item> <first>95</first> <second> <first>30</first> <second>0</second> </second> </item> <item> <first>97</first> <second> <first>30</first> <second>0</second> </second> </item> <item> <first>98</first> <second> <first>30</first> <second>0</second> </second> </item> <item> <first>99</first> <second> <first>30</first> <second>0</second> </second> </item> <item> <first>100</first> <second> <first>30</first> <second>0</second> </second> </item> <item> <first>101</first> <second> <first>30</first> <second>0</second> </second> </item> <item> <first>103</first> <second> <first>30</first> <second>0</second> </second> </item> <item> <first>104</first> <second> <first>30</first> <second>0</second> </second> </item> <item> <first>106</first> <second> <first>30</first> <second>0</second> </second> </item> <item> <first>107</first> <second> <first>31</first> <second>0</second> </second> </item> <item> <first>108</first> <second> <first>31</first> <second>0</second> </second> </item> <item> <first>110</first> <second> <first>31</first> <second>0</second> </second> </item> <item> <first>112</first> <second> <first>2</first> <second>0</second> </second> </item> <item> <first>114</first> <second> <first>32</first> <second>0</second> </second> </item> <item> <first>115</first> <second> <first>32</first> <second>0</second> </second> </item> <item> <first>117</first> <second> <first>32</first> <second>0</second> </second> </item> <item> <first>118</first> <second> <first>32</first> <second>0</second> </second> </item> <item> <first>121</first> <second> <first>32</first> <second>0</second> </second> </item> <item> <first>122</first> <second> <first>32</first> <second>0</second> </second> </item> <item> <first>123</first> <second> <first>32</first> <second>1</second> </second> </item> <item> <first>124</first> <second> <first>34</first> <second>0</second> </second> </item> <item> <first>125</first> <second> <first>34</first> <second>0</second> </second> </item> <item> <first>126</first> <second> <first>34</first> <second>0</second> </second> </item> <item> <first>128</first> <second> <first>32</first> <second>0</second> </second> </item> </node_label_latency> <bblk_ent_exit class_id="40" tracking_level="0" version="0"> <count>20</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>13</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>19</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>21</first> <second> <first>1</first> <second>1</second> </second> </item> <item> <first>29</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>41</first> <second> <first>2</first> <second>4</second> </second> </item> <item> <first>49</first> <second> <first>5</first> <second>5</second> </second> </item> <item> <first>84</first> <second> <first>5</first> <second>29</second> </second> </item> <item> <first>86</first> <second> <first>29</first> <second>29</second> </second> </item> <item> <first>88</first> <second> <first>29</first> <second>29</second> </second> </item> <item> <first>91</first> <second> <first>29</first> <second>30</second> </second> </item> <item> <first>93</first> <second> <first>30</first> <second>30</second> </second> </item> <item> <first>96</first> <second> <first>29</first> <second>30</second> </second> </item> <item> <first>102</first> <second> <first>30</first> <second>30</second> </second> </item> <item> <first>105</first> <second> <first>30</first> <second>30</second> </second> </item> <item> <first>111</first> <second> <first>30</first> <second>31</second> </second> </item> <item> <first>113</first> <second> <first>2</first> <second>2</second> </second> </item> <item> <first>119</first> <second> <first>3</first> <second>3</second> </second> </item> <item> <first>127</first> <second> <first>3</first> <second>5</second> </second> </item> <item> <first>129</first> <second> <first>3</first> <second>3</second> </second> </item> </bblk_ent_exit> <regions class_id="43" tracking_level="0" version="0"> <count>0</count> <item_version>0</item_version> </regions> <dp_fu_nodes class_id="44" tracking_level="0" version="0"> <count>70</count> <item_version>0</item_version> <item class_id="45" tracking_level="0" version="0"> <first>102</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>106</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>112</first> <second> <count>8</count> <item_version>0</item_version> <item>17</item> <item>70</item> <item>70</item> <item>76</item> <item>89</item> <item>94</item> <item>123</item> <item>123</item> </second> </item> <item> <first>119</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>126</first> <second> <count>2</count> <item_version>0</item_version> <item>34</item> <item>34</item> </second> </item> <item> <first>132</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>139</first> <second> <count>2</count> <item_version>0</item_version> <item>38</item> <item>38</item> </second> </item> <item> <first>145</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>152</first> <second> <count>2</count> <item_version>0</item_version> <item>57</item> <item>57</item> </second> </item> <item> <first>158</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>167</first> <second> <count>1</count> <item_version>0</item_version> <item>122</item> </second> </item> <item> <first>174</first> <second> <count>1</count> <item_version>0</item_version> <item>124</item> </second> </item> <item> <first>181</first> <second> <count>1</count> <item_version>0</item_version> <item>125</item> </second> </item> <item> <first>191</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>202</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>213</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>225</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>235</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>245</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>256</first> <second> <count>1</count> <item_version>0</item_version> <item>114</item> </second> </item> <item> <first>263</first> <second> <count>2</count> <item_version>0</item_version> <item>68</item> <item>68</item> </second> </item> <item> <first>274</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>280</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>286</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>291</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>295</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>301</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>307</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>312</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>317</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>320</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>324</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>332</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>338</first> <second> <count>18</count> <item_version>0</item_version> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> </second> </item> <item> <first>344</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>348</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>352</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>359</first> <second> <count>1</count> <item_version>0</item_version> <item>59</item> </second> </item> <item> <first>368</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>376</first> <second> <count>1</count> <item_version>0</item_version> <item>62</item> </second> </item> <item> <first>383</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>387</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>393</first> <second> <count>1</count> <item_version>0</item_version> <item>58</item> </second> </item> <item> <first>396</first> <second> <count>1</count> <item_version>0</item_version> <item>65</item> </second> </item> <item> <first>399</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>405</first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>409</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>414</first> <second> <count>1</count> <item_version>0</item_version> <item>71</item> </second> </item> <item> <first>418</first> <second> <count>1</count> <item_version>0</item_version> <item>72</item> </second> </item> <item> <first>421</first> <second> <count>1</count> <item_version>0</item_version> <item>73</item> </second> </item> <item> <first>427</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> <item> <first>435</first> <second> <count>1</count> <item_version>0</item_version> <item>75</item> </second> </item> <item> <first>440</first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> <item> <first>448</first> <second> <count>1</count> <item_version>0</item_version> <item>78</item> </second> </item> <item> <first>453</first> <second> <count>1</count> <item_version>0</item_version> <item>79</item> </second> </item> <item> <first>458</first> <second> <count>1</count> <item_version>0</item_version> <item>80</item> </second> </item> <item> <first>463</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>468</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>472</first> <second> <count>1</count> <item_version>0</item_version> <item>97</item> </second> </item> <item> <first>476</first> <second> <count>1</count> <item_version>0</item_version> <item>98</item> </second> </item> <item> <first>482</first> <second> <count>1</count> <item_version>0</item_version> <item>99</item> </second> </item> <item> <first>488</first> <second> <count>1</count> <item_version>0</item_version> <item>100</item> </second> </item> <item> <first>494</first> <second> <count>1</count> <item_version>0</item_version> <item>103</item> </second> </item> <item> <first>500</first> <second> <count>1</count> <item_version>0</item_version> <item>106</item> </second> </item> <item> <first>506</first> <second> <count>1</count> <item_version>0</item_version> <item>107</item> </second> </item> <item> <first>511</first> <second> <count>1</count> <item_version>0</item_version> <item>108</item> </second> </item> <item> <first>518</first> <second> <count>1</count> <item_version>0</item_version> <item>115</item> </second> </item> <item> <first>524</first> <second> <count>1</count> <item_version>0</item_version> <item>117</item> </second> </item> <item> <first>530</first> <second> <count>1</count> <item_version>0</item_version> <item>121</item> </second> </item> <item> <first>535</first> <second> <count>3</count> <item_version>0</item_version> <item>54</item> <item>54</item> <item>54</item> </second> </item> </dp_fu_nodes> <dp_fu_nodes_expression class_id="47" tracking_level="0" version="0"> <count>62</count> <item_version>0</item_version> <item class_id="48" tracking_level="0" version="0"> <first>acc_V_addr_3_gep_fu_167</first> <second> <count>1</count> <item_version>0</item_version> <item>122</item> </second> </item> <item> <first>acc_V_addr_4_gep_fu_158</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>acc_V_addr_gep_fu_106</first> <second> <count>1</count> <item_version>0</item_version> <item>16</item> </second> </item> <item> <first>acc_V_alloca_fu_102</first> <second> <count>1</count> <item_version>0</item_version> <item>5</item> </second> </item> <item> <first>brmerge9_fu_468</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>data_V_addr_gep_fu_132</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>exitcond7_fu_274</first> <second> <count>1</count> <item_version>0</item_version> <item>9</item> </second> </item> <item> <first>exitcond_fu_295</first> <second> <count>1</count> <item_version>0</item_version> <item>25</item> </second> </item> <item> <first>extLd_fu_320</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>iacc_2_fu_280</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>iacc_phi_fu_191</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>im_2_fu_332</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>im_phi_fu_225</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>in_index_2_fu_500</first> <second> <count>1</count> <item_version>0</item_version> <item>106</item> </second> </item> <item> <first>in_index_phi_fu_213</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>ir_fu_301</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>ires_2_fu_524</first> <second> <count>1</count> <item_version>0</item_version> <item>117</item> </second> </item> <item> <first>ires_phi_fu_256</first> <second> <count>1</count> <item_version>0</item_version> <item>114</item> </second> </item> <item> <first>lhs_V_fu_414</first> <second> <count>1</count> <item_version>0</item_version> <item>71</item> </second> </item> <item> <first>out_index7_phi_fu_235</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>out_index_4_fu_494</first> <second> <count>1</count> <item_version>0</item_version> <item>103</item> </second> </item> <item> <first>out_index_cast_fu_317</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>outidx4_addr_gep_fu_119</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>overflow_fu_453</first> <second> <count>1</count> <item_version>0</item_version> <item>79</item> </second> </item> <item> <first>p_Result_10_fu_440</first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> <item> <first>p_Result_s_fu_427</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> <item> <first>p_Val2_16_fu_435</first> <second> <count>1</count> <item_version>0</item_version> <item>75</item> </second> </item> <item> <first>p_s_fu_511</first> <second> <count>1</count> <item_version>0</item_version> <item>108</item> </second> </item> <item> <first>p_shl8_fu_368</first> <second> <count>1</count> <item_version>0</item_version> <item>61</item> </second> </item> <item> <first>res_V_addr_gep_fu_174</first> <second> <count>1</count> <item_version>0</item_version> <item>124</item> </second> </item> <item> <first>ret_V_fu_421</first> <second> <count>1</count> <item_version>0</item_version> <item>73</item> </second> </item> <item> <first>rhs_V_fu_418</first> <second> <count>1</count> <item_version>0</item_version> <item>72</item> </second> </item> <item> <first>tmp_21_fu_448</first> <second> <count>1</count> <item_version>0</item_version> <item>78</item> </second> </item> <item> <first>tmp_32_fu_348</first> <second> <count>1</count> <item_version>0</item_version> <item>55</item> </second> </item> <item> <first>tmp_45_fu_324</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>tmp_46_fu_352</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>tmp_47_fu_376</first> <second> <count>1</count> <item_version>0</item_version> <item>62</item> </second> </item> <item> <first>tmp_48_fu_383</first> <second> <count>1</count> <item_version>0</item_version> <item>63</item> </second> </item> <item> <first>tmp_49_fu_387</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>tmp_50_fu_396</first> <second> <count>1</count> <item_version>0</item_version> <item>65</item> </second> </item> <item> <first>tmp_51_fu_399</first> <second> <count>1</count> <item_version>0</item_version> <item>66</item> </second> </item> <item> <first>tmp_52_fu_405</first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>tmp_54_fu_312</first> <second> <count>1</count> <item_version>0</item_version> <item>36</item> </second> </item> <item> <first>tmp_55_fu_518</first> <second> <count>1</count> <item_version>0</item_version> <item>115</item> </second> </item> <item> <first>tmp_56_fu_530</first> <second> <count>1</count> <item_version>0</item_version> <item>121</item> </second> </item> <item> <first>tmp_57_fu_409</first> <second> <count>1</count> <item_version>0</item_version> <item>51</item> </second> </item> <item> <first>tmp_58_fu_458</first> <second> <count>1</count> <item_version>0</item_version> <item>80</item> </second> </item> <item> <first>tmp_59_fu_488</first> <second> <count>1</count> <item_version>0</item_version> <item>100</item> </second> </item> <item> <first>tmp_60_fu_506</first> <second> <count>1</count> <item_version>0</item_version> <item>107</item> </second> </item> <item> <first>tmp_6_fu_359</first> <second> <count>1</count> <item_version>0</item_version> <item>59</item> </second> </item> <item> <first>tmp_fu_286</first> <second> <count>1</count> <item_version>0</item_version> <item>15</item> </second> </item> <item> <first>tmp_s_fu_307</first> <second> <count>1</count> <item_version>0</item_version> <item>32</item> </second> </item> <item> <first>underflow_fu_463</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>w14_V_addr_gep_fu_145</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>w14_V_load_cast_fu_393</first> <second> <count>1</count> <item_version>0</item_version> <item>58</item> </second> </item> <item> <first>w_index7_cast_fu_472</first> <second> <count>1</count> <item_version>0</item_version> <item>97</item> </second> </item> <item> <first>w_index7_phi_fu_245</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>w_index_2_fu_476</first> <second> <count>1</count> <item_version>0</item_version> <item>98</item> </second> </item> <item> <first>w_index_4_cast_fu_482</first> <second> <count>1</count> <item_version>0</item_version> <item>99</item> </second> </item> <item> <first>w_index_cast_fu_291</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>w_index_phi_fu_202</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>zext_cast_fu_344</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> </dp_fu_nodes_expression> <dp_fu_nodes_module> <count>3</count> <item_version>0</item_version> <item> <first>grp_fu_338</first> <second> <count>18</count> <item_version>0</item_version> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> <item>52</item> </second> </item> <item> <first>grp_fu_535</first> <second> <count>3</count> <item_version>0</item_version> <item>54</item> <item>54</item> <item>54</item> </second> </item> <item> <first>grp_product_fu_263</first> <second> <count>2</count> <item_version>0</item_version> <item>68</item> <item>68</item> </second> </item> </dp_fu_nodes_module> <dp_fu_nodes_io> <count>0</count> <item_version>0</item_version> </dp_fu_nodes_io> <return_ports> <count>0</count> <item_version>0</item_version> </return_ports> <dp_mem_port_nodes class_id="49" tracking_level="0" version="0"> <count>5</count> <item_version>0</item_version> <item class_id="50" tracking_level="0" version="0"> <first class_id="51" tracking_level="0" version="0"> <first>acc_V</first> <second>0</second> </first> <second> <count>8</count> <item_version>0</item_version> <item>17</item> <item>70</item> <item>70</item> <item>76</item> <item>89</item> <item>94</item> <item>123</item> <item>123</item> </second> </item> <item> <first> <first>data_V</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>38</item> <item>38</item> </second> </item> <item> <first> <first>outidx4</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>34</item> <item>34</item> </second> </item> <item> <first> <first>res_V</first> <second>0</second> </first> <second> <count>1</count> <item_version>0</item_version> <item>125</item> </second> </item> <item> <first> <first>w14_V</first> <second>0</second> </first> <second> <count>2</count> <item_version>0</item_version> <item>57</item> <item>57</item> </second> </item> </dp_mem_port_nodes> <dp_reg_nodes> <count>41</count> <item_version>0</item_version> <item> <first>187</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>198</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>209</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>221</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>232</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>242</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>252</first> <second> <count>1</count> <item_version>0</item_version> <item>114</item> </second> </item> <item> <first>269</first> <second> <count>2</count> <item_version>0</item_version> <item>70</item> <item>123</item> </second> </item> <item> <first>545</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>550</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>558</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>563</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>568</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>573</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>578</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>583</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>588</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>592</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>597</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> <item> <first>602</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>607</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>612</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>617</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>622</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>627</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>632</first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>637</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>642</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>648</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> <item> <first>655</first> <second> <count>1</count> <item_version>0</item_version> <item>75</item> </second> </item> <item> <first>660</first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> <item> <first>667</first> <second> <count>1</count> <item_version>0</item_version> <item>79</item> </second> </item> <item> <first>671</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>675</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>679</first> <second> <count>1</count> <item_version>0</item_version> <item>99</item> </second> </item> <item> <first>687</first> <second> <count>1</count> <item_version>0</item_version> <item>103</item> </second> </item> <item> <first>692</first> <second> <count>1</count> <item_version>0</item_version> <item>106</item> </second> </item> <item> <first>698</first> <second> <count>1</count> <item_version>0</item_version> <item>108</item> </second> </item> <item> <first>706</first> <second> <count>1</count> <item_version>0</item_version> <item>117</item> </second> </item> <item> <first>711</first> <second> <count>1</count> <item_version>0</item_version> <item>121</item> </second> </item> <item> <first>716</first> <second> <count>1</count> <item_version>0</item_version> <item>122</item> </second> </item> </dp_reg_nodes> <dp_regname_nodes> <count>41</count> <item_version>0</item_version> <item> <first>acc_V_addr_3_reg_716</first> <second> <count>1</count> <item_version>0</item_version> <item>122</item> </second> </item> <item> <first>acc_V_addr_4_reg_637</first> <second> <count>1</count> <item_version>0</item_version> <item>69</item> </second> </item> <item> <first>brmerge9_reg_675</first> <second> <count>1</count> <item_version>0</item_version> <item>82</item> </second> </item> <item> <first>data_V_addr_reg_573</first> <second> <count>1</count> <item_version>0</item_version> <item>37</item> </second> </item> <item> <first>extLd_reg_583</first> <second> <count>1</count> <item_version>0</item_version> <item>39</item> </second> </item> <item> <first>iacc_2_reg_545</first> <second> <count>1</count> <item_version>0</item_version> <item>11</item> </second> </item> <item> <first>iacc_reg_187</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>im_2_reg_592</first> <second> <count>1</count> <item_version>0</item_version> <item>47</item> </second> </item> <item> <first>im_reg_221</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>in_index_2_reg_692</first> <second> <count>1</count> <item_version>0</item_version> <item>106</item> </second> </item> <item> <first>in_index_reg_209</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>ir_reg_558</first> <second> <count>1</count> <item_version>0</item_version> <item>27</item> </second> </item> <item> <first>ires_2_reg_706</first> <second> <count>1</count> <item_version>0</item_version> <item>117</item> </second> </item> <item> <first>ires_reg_252</first> <second> <count>1</count> <item_version>0</item_version> <item>114</item> </second> </item> <item> <first>mul_reg_607</first> <second> <count>1</count> <item_version>0</item_version> <item>54</item> </second> </item> <item> <first>out_index7_reg_232</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>out_index_4_reg_687</first> <second> <count>1</count> <item_version>0</item_version> <item>103</item> </second> </item> <item> <first>out_index_cast_reg_578</first> <second> <count>1</count> <item_version>0</item_version> <item>35</item> </second> </item> <item> <first>out_index_reg_568</first> <second> <count>1</count> <item_version>0</item_version> <item>34</item> </second> </item> <item> <first>outidx4_addr_reg_563</first> <second> <count>1</count> <item_version>0</item_version> <item>33</item> </second> </item> <item> <first>overflow_reg_667</first> <second> <count>1</count> <item_version>0</item_version> <item>79</item> </second> </item> <item> <first>p_Result_10_reg_660</first> <second> <count>1</count> <item_version>0</item_version> <item>77</item> </second> </item> <item> <first>p_Result_s_reg_648</first> <second> <count>1</count> <item_version>0</item_version> <item>74</item> </second> </item> <item> <first>p_Val2_14_reg_642</first> <second> <count>1</count> <item_version>0</item_version> <item>68</item> </second> </item> <item> <first>p_Val2_16_reg_655</first> <second> <count>1</count> <item_version>0</item_version> <item>75</item> </second> </item> <item> <first>p_s_reg_698</first> <second> <count>1</count> <item_version>0</item_version> <item>108</item> </second> </item> <item> <first>reg_269</first> <second> <count>2</count> <item_version>0</item_version> <item>70</item> <item>123</item> </second> </item> <item> <first>tmp_30_reg_602</first> <second> <count>1</count> <item_version>0</item_version> <item>52</item> </second> </item> <item> <first>tmp_45_reg_588</first> <second> <count>1</count> <item_version>0</item_version> <item>45</item> </second> </item> <item> <first>tmp_46_reg_617</first> <second> <count>1</count> <item_version>0</item_version> <item>60</item> </second> </item> <item> <first>tmp_49_reg_627</first> <second> <count>1</count> <item_version>0</item_version> <item>64</item> </second> </item> <item> <first>tmp_52_reg_632</first> <second> <count>1</count> <item_version>0</item_version> <item>67</item> </second> </item> <item> <first>tmp_56_reg_711</first> <second> <count>1</count> <item_version>0</item_version> <item>121</item> </second> </item> <item> <first>underflow_reg_671</first> <second> <count>1</count> <item_version>0</item_version> <item>81</item> </second> </item> <item> <first>w14_V_addr_reg_612</first> <second> <count>1</count> <item_version>0</item_version> <item>56</item> </second> </item> <item> <first>w14_V_load_reg_622</first> <second> <count>1</count> <item_version>0</item_version> <item>57</item> </second> </item> <item> <first>w_index7_reg_242</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>w_index_4_cast_reg_679</first> <second> <count>1</count> <item_version>0</item_version> <item>99</item> </second> </item> <item> <first>w_index_cast_reg_550</first> <second> <count>1</count> <item_version>0</item_version> <item>24</item> </second> </item> <item> <first>w_index_reg_198</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>zext_cast_reg_597</first> <second> <count>1</count> <item_version>0</item_version> <item>53</item> </second> </item> </dp_regname_nodes> <dp_reg_phi> <count>7</count> <item_version>0</item_version> <item> <first>187</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>198</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> <item> <first>209</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>221</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>232</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>242</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>252</first> <second> <count>1</count> <item_version>0</item_version> <item>114</item> </second> </item> </dp_reg_phi> <dp_regname_phi> <count>7</count> <item_version>0</item_version> <item> <first>iacc_reg_187</first> <second> <count>1</count> <item_version>0</item_version> <item>8</item> </second> </item> <item> <first>im_reg_221</first> <second> <count>1</count> <item_version>0</item_version> <item>42</item> </second> </item> <item> <first>in_index_reg_209</first> <second> <count>1</count> <item_version>0</item_version> <item>23</item> </second> </item> <item> <first>ires_reg_252</first> <second> <count>1</count> <item_version>0</item_version> <item>114</item> </second> </item> <item> <first>out_index7_reg_232</first> <second> <count>1</count> <item_version>0</item_version> <item>43</item> </second> </item> <item> <first>w_index7_reg_242</first> <second> <count>1</count> <item_version>0</item_version> <item>44</item> </second> </item> <item> <first>w_index_reg_198</first> <second> <count>1</count> <item_version>0</item_version> <item>22</item> </second> </item> </dp_regname_phi> <dp_port_io_nodes class_id="52" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="53" tracking_level="0" version="0"> <first>data_V(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>load</first> <second> <count>2</count> <item_version>0</item_version> <item>38</item> <item>38</item> </second> </item> </second> </item> <item> <first>res_V(p0)</first> <second> <count>1</count> <item_version>0</item_version> <item> <first>store</first> <second> <count>1</count> <item_version>0</item_version> <item>125</item> </second> </item> </second> </item> </dp_port_io_nodes> <port2core class_id="54" tracking_level="0" version="0"> <count>2</count> <item_version>0</item_version> <item class_id="55" tracking_level="0" version="0"> <first>1</first> <second>RAM</second> </item> <item> <first>2</first> <second>RAM</second> </item> </port2core> <node2core> <count>1</count> <item_version>0</item_version> <item> <first>5</first> <second>RAM</second> </item> </node2core> </syndb> </boost_serialization>
pragma License (Unrestricted); -- runtime unit specialized for Darwin package System.Storage_Map is pragma Preelaborate; function Load_Address return Address; pragma Inline (Load_Address); Growing_Down_Is_Preferred : constant Boolean := False; end System.Storage_Map;
-- Copyright 2021 Jeff Foley. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. local json = require("json") name = "ThreatBook" type = "api" function start() setratelimit(5) end function check() local c local cfg = datasrc_config() if cfg ~= nil then c = cfg.credentials end if (c ~= nil and c.key ~= nil and c.key ~= "") then return true end return false end function vertical(ctx, domain) local c local cfg = datasrc_config() if cfg ~= nil then c = cfg.credentials end if (c == nil or c.key == nil or c.key == "") then return end local resp local vurl = verturl(domain, key) -- Check if the response data is in the graph database if (cfg.ttl ~= nil and cfg.ttl > 0) then resp = obtain_response(cacheurl(domain), cfg.ttl) end if (resp == nil or resp == "") then local err resp, err = request(ctx, { url=vurl, headers={['Content-Type']="application/json"}, }) if (err ~= nil and err ~= "") then return end if (cfg.ttl ~= nil and cfg.ttl > 0) then cache_response(cacheurl(domain), resp) end end local d = json.decode(resp) if (d == nil or d.response_code ~= 0 or #(d.sub_domains.data) == 0) then return end for i, sub in pairs(d.sub_domains.data) do newname(ctx, sub) end end function verturl(domain, key) return "https://api.threatbook.cn/v3/domain/sub_domains?apikey=" .. key .. "&resource=" .. domain end function cacheurl(domain) return "https://api.threatbook.cn/v3/domain/sub_domains?resource=" .. domain end
--=========================================================================== -- -- This program implements a demo program for the SH1107 OLED driver. -- It is implemented on a Raspberry Pico. -- --=========================================================================== -- -- Copyright 2022 (C) Holger Rodriguez -- -- SPDX-License-Identifier: BSD-3-Clause -- -- with HAL; -- with HAL.Framebuffer; with HAL.SPI; with RP.Clock; with RP.Device; with RP.GPIO; with RP.I2C_Master; with RP.SPI; with RP.Timer; with Pico; with SH1107; with Demos; procedure Example_Pico is ORIENTIATION_SELECTED : constant SH1107.SH1107_Orientation := SH1107.Up; Initialize_Timer : aliased RP.Timer.Delays; procedure Initialize_Device is begin RP.Clock.Initialize (Pico.XOSC_Frequency); RP.Clock.Enable (RP.Clock.PERI); RP.Device.Timer.Enable; RP.Device.Timer.Enable; RP.GPIO.Enable; Pico.LED.Configure (RP.GPIO.Output); RP.Timer.Enable (This => Initialize_Timer); end Initialize_Device; --======================================================================== -- -- I2C Section -- --======================================================================== My_I2C : RP.I2C_Master.I2C_Master_Port renames RP.Device.I2C_0; procedure Initialize_I2C_0 is SDA : RP.GPIO.GPIO_Point renames Pico.GP0; SCL : RP.GPIO.GPIO_Point renames Pico.GP1; begin SDA.Configure (RP.GPIO.Output, RP.GPIO.Pull_Up, RP.GPIO.I2C); SCL.Configure (RP.GPIO.Output, RP.GPIO.Pull_Up, RP.GPIO.I2C); My_I2C.Enable (400_000); end Initialize_I2C_0; My_Screen_I2C : SH1107.SH1107_Screen (Connect_With => SH1107.Connect_I2C); --======================================================================== -- -- I2C Section -- --======================================================================== My_SPI : RP.SPI.SPI_Port renames RP.Device.SPI_0; My_DC_SPI : RP.GPIO.GPIO_Point renames Pico.GP13; procedure Initialize_SPI_0 is SCK : RP.GPIO.GPIO_Point renames Pico.GP2; MOSI : RP.GPIO.GPIO_Point renames Pico.GP3; MISO : RP.GPIO.GPIO_Point renames Pico.GP4; CS : RP.GPIO.GPIO_Point renames Pico.GP5; DC : RP.GPIO.GPIO_Point renames My_DC_SPI; CONFIG : constant RP.SPI.SPI_Configuration := (Role => RP.SPI.Master, Baud => 1_000_000, Data_Size => HAL.SPI.Data_Size_8b, Polarity => RP.SPI.Active_Low, Phase => RP.SPI.Rising_Edge, Blocking => True ); begin SCK.Configure (RP.GPIO.Output, RP.GPIO.Pull_Up, RP.GPIO.SPI); MOSI.Configure (RP.GPIO.Output, RP.GPIO.Pull_Up, RP.GPIO.SPI); CS.Configure (RP.GPIO.Output, RP.GPIO.Pull_Up, RP.GPIO.SPI); MISO.Configure (RP.GPIO.Input, RP.GPIO.Pull_Up, RP.GPIO.SPI); DC.Configure (RP.GPIO.Output, RP.GPIO.Pull_Up); My_SPI.Configure (CONFIG); end Initialize_SPI_0; My_Screen_SPI : SH1107.SH1107_Screen (Connect_With => SH1107.Connect_SPI); begin Initialize_Device; -- Show we are alive Pico.LED.Set; if True then Initialize_I2C_0; SH1107.Initialize (This => My_Screen_I2C, Orientation => ORIENTIATION_SELECTED, Port => My_I2C'Access, Address => 16#3C#); if not SH1107.Initialized (This => My_Screen_I2C) then -- STOP here Pico.LED.Clear; loop null; end loop; end if; end if; if True then Initialize_SPI_0; SH1107.Initialize (This => My_Screen_SPI, Orientation => ORIENTIATION_SELECTED, Port => My_SPI'Access, DC_SPI => My_DC_SPI'Access); if not SH1107.Initialized (This => My_Screen_SPI) then -- STOP here Pico.LED.Clear; loop null; end loop; end if; end if; Pico.LED.Set; loop for Orientation_To_Use in SH1107.SH1107_Orientation loop for Demo_To_Show in Demos.Demos_Available'Range loop if True then Demos.Show_1_Demo (S => My_Screen_I2C, O => Orientation_To_Use, Demo => Demo_To_Show); end if; if True then Demos.Show_1_Demo (S => My_Screen_SPI, O => Orientation_To_Use, Demo => Demo_To_Show); end if; end loop; end loop; end loop; end Example_Pico;
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Simple_Return_Statements is function Create (Return_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Expression : Program.Elements.Expressions.Expression_Access; Semicolon_Token : not null Program.Lexical_Elements .Lexical_Element_Access) return Simple_Return_Statement is begin return Result : Simple_Return_Statement := (Return_Token => Return_Token, Expression => Expression, Semicolon_Token => Semicolon_Token, Enclosing_Element => null) do Initialize (Result); end return; end Create; function Create (Expression : 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_Simple_Return_Statement is begin return Result : Implicit_Simple_Return_Statement := (Expression => Expression, 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 Expression (Self : Base_Simple_Return_Statement) return Program.Elements.Expressions.Expression_Access is begin return Self.Expression; end Expression; overriding function Return_Token (Self : Simple_Return_Statement) return not null Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Return_Token; end Return_Token; overriding function Semicolon_Token (Self : Simple_Return_Statement) return not null Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Semicolon_Token; end Semicolon_Token; overriding function Is_Part_Of_Implicit (Self : Implicit_Simple_Return_Statement) return Boolean is begin return Self.Is_Part_Of_Implicit; end Is_Part_Of_Implicit; overriding function Is_Part_Of_Inherited (Self : Implicit_Simple_Return_Statement) return Boolean is begin return Self.Is_Part_Of_Inherited; end Is_Part_Of_Inherited; overriding function Is_Part_Of_Instance (Self : Implicit_Simple_Return_Statement) return Boolean is begin return Self.Is_Part_Of_Instance; end Is_Part_Of_Instance; procedure Initialize (Self : in out Base_Simple_Return_Statement'Class) is begin if Self.Expression.Assigned then Set_Enclosing_Element (Self.Expression, Self'Unchecked_Access); end if; null; end Initialize; overriding function Is_Simple_Return_Statement (Self : Base_Simple_Return_Statement) return Boolean is pragma Unreferenced (Self); begin return True; end Is_Simple_Return_Statement; overriding function Is_Statement (Self : Base_Simple_Return_Statement) return Boolean is pragma Unreferenced (Self); begin return True; end Is_Statement; overriding procedure Visit (Self : not null access Base_Simple_Return_Statement; Visitor : in out Program.Element_Visitors.Element_Visitor'Class) is begin Visitor.Simple_Return_Statement (Self); end Visit; overriding function To_Simple_Return_Statement_Text (Self : in out Simple_Return_Statement) return Program.Elements.Simple_Return_Statements .Simple_Return_Statement_Text_Access is begin return Self'Unchecked_Access; end To_Simple_Return_Statement_Text; overriding function To_Simple_Return_Statement_Text (Self : in out Implicit_Simple_Return_Statement) return Program.Elements.Simple_Return_Statements .Simple_Return_Statement_Text_Access is pragma Unreferenced (Self); begin return null; end To_Simple_Return_Statement_Text; end Program.Nodes.Simple_Return_Statements;
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- A D A . S E Q U E N T I A L _ 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. -- -- -- ------------------------------------------------------------------------------ with Ada.IO_Exceptions; generic type Element_Type (<>) is private; package Ada.Sequential_IO is type File_Type is limited private; type File_Mode is (In_File, Out_File, Append_File); --------------------- -- File management -- --------------------- procedure Create (File : in out File_Type; Mode : in File_Mode := Out_File; Name : in String := ""; Form : in String := ""); procedure Open (File : in out File_Type; Mode : in File_Mode; Name : in String; Form : in String := ""); procedure Close (File : in out File_Type); procedure Delete (File : in out File_Type); procedure Reset (File : in out File_Type; Mode : in File_Mode); procedure Reset (File : in out File_Type); function Mode (File : in File_Type) return File_Mode; function Name (File : in File_Type) return String; function Form (File : in File_Type) return String; function Is_Open (File : in File_Type) return Boolean; --------------------------------- -- Input and output operations -- --------------------------------- procedure Read (File : in File_Type; Item : out Element_Type); procedure Write (File : in File_Type; Item : in Element_Type); function End_Of_File (File : in File_Type) return Boolean; ---------------- -- Exceptions -- ---------------- Status_Error : exception renames IO_Exceptions.Status_Error; Mode_Error : exception renames IO_Exceptions.Mode_Error; Name_Error : exception renames IO_Exceptions.Name_Error; Use_Error : exception renames IO_Exceptions.Use_Error; Device_Error : exception renames IO_Exceptions.Device_Error; End_Error : exception renames IO_Exceptions.End_Error; Data_Error : exception renames IO_Exceptions.Data_Error; private type File_Control_Block; type File_Type is access File_Control_Block; end Ada.Sequential_IO;
pragma License (Unrestricted); -- implementation unit with Ada.Naked_Text_IO; package Ada.Text_IO.Naked is function Non_Controlled (File : File_Type) return not null access Naked_Text_IO.Non_Controlled_File_Type; pragma Inline (Non_Controlled); -- renamed private function Non_Controlled (File : File_Type) return not null access Naked_Text_IO.Non_Controlled_File_Type renames Controlled.Reference; end Ada.Text_IO.Naked;
package Pigpio_Ada is PI_INPUT : constant Natural := 0; PI_OUTPUT : constant Natural := 1; PI_PUD_OFF : constant Natural := 0; PI_PUD_DOWN : constant Natural := 1; PI_PUD_UP : constant Natural := 2; type SpeedSelection is (B50, B75, B110, B134, B150, B200, B300, B600, B1200, B1800, B2400, B4800, B9600, B19200, B38400, B57600, B115200, B230400 ); Speed : constant array(SpeedSelection) of Natural := (B50 => 50, B75 => 75, B110 => 110, B134 => 134, B150 => 150, B200 => 200, B300 => 300, B600 => 600, B1200 => 1200, B1800 => 1800, B2400 => 2400, B4800 => 4800, B9600 => 9600, B19200 => 19200, B38400 => 38400, B57600 => 57600, B115200 => 115200, B230400 => 230400 ); subtype Time_Type is Natural range 0 .. 1; subtype GPIO_Range is Natural range 0 .. 53; subtype GPIO_Mode is Natural range 0 .. 7; subtype GPIO_Level is Natural range 0 .. 1; subtype GPIO_PUD is Natural range 0 .. 2; subtype Handle is Integer; subtype UByte is Natural range 0 .. 255; -- Essential procedure PiGpioInitialise; procedure PiGpioTerminate; -- Beginner procedure PiGpioSetMode (gpio : in GPIO_Range; mode : in GPIO_Mode); function PiGpioGetMode (gpio : GPIO_Range) return GPIO_Mode; procedure PiGpioSetPullUpDown (gpio : in GPIO_Range; pud : in GPIO_PUD); function PiGpioRead (gpio : GPIO_Range) return GPIO_Level; procedure PiGpioWrite (gpio : in GPIO_Range; level : in GPIO_Level); procedure PiGpioSetTimerFunc (time, millis : in Natural; callback : access procedure); -- Serial function PiSerOpen(sertty : in String; baud : in SpeedSelection; serFlags : in Natural := 0) return Handle; procedure PiSerClose(hdl : in Handle); procedure PiSerWriteByte(hdl: in Handle; value: in UByte); function PiSerReadByte(hdl : Handle) return UByte; -- Utilities function PiGpioVersion return Positive; procedure PiGpioSleep (timetype : in Time_Type; seconds : in Natural; micros : in Natural); end Pigpio_Ada;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . L I B M -- -- -- -- S p e c -- -- -- -- Copyright (C) 2014-2021, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This is the Ada Cert Math specific version of s-libm.ads with Ada.Numerics; package System.Libm is pragma Pure; Ln_2 : constant := 0.69314_71805_59945_30941_72321_21458_17656_80755; Ln_3 : constant := 1.09861_22886_68109_69139_52452_36922_52570_46475; Half_Ln_2 : constant := Ln_2 / 2.0; Inv_Ln_2 : constant := 1.0 / Ln_2; Half_Pi : constant := Ada.Numerics.Pi / 2.0; Third_Pi : constant := Ada.Numerics.Pi / 3.0; Quarter_Pi : constant := Ada.Numerics.Pi / 4.0; Sixth_Pi : constant := Ada.Numerics.Pi / 6.0; Max_Red_Trig_Arg : constant := 0.26 * Ada.Numerics.Pi; -- This constant representing the maximum absolute value of the reduced -- argument of the approximation functions for Sin, Cos and Tan. A value -- slightly larger than Pi / 4 is used. The reduction doesn't reduce to -- an interval strictly within +-Pi / 4, as that would complicate the -- reduction code. One_Over_Pi : constant := 1.0 / Ada.Numerics.Pi; Two_Over_Pi : constant := 2.0 / Ada.Numerics.Pi; Sqrt_2 : constant := 1.41421_35623_73095_04880_16887_24209_69807_85696; Sqrt_3 : constant := 1.73205_08075_68877_29352_74463_41505_87236_69428; Root16_Half : constant := 0.95760_32806_98573_64693_63056_35147_91544; -- Sixteenth root of 0.5 Sqrt_Half : constant := 0.70710_67811_86547_52440_08443_62105; subtype Quadrant is Integer range 0 .. 3; generic type T is digits <>; with function Sqrt (X : T) return T is <>; with function Approx_Asin (X : T) return T is <>; function Generic_Acos (X : T) return T; generic type T is digits <>; with function Approx_Atan (X : T) return T is <>; with function Infinity return T is <>; function Generic_Atan2 (Y, X : T) return T; generic type T is digits <>; procedure Generic_Pow_Special_Cases (Left : T; Right : T; Is_Special : out Boolean; Negate : out Boolean; Result : out T); generic type T is private; Mantissa : Positive; with function "-" (X : T) return T is <>; with function "+" (X, Y : T) return T is <>; with function "-" (X, Y : T) return T is <>; with function "*" (X, Y : T) return T is <>; with function "/" (X, Y : T) return T is <>; with function "<=" (X, Y : T) return Boolean is <>; with function "abs" (X : T) return T is <>; with function Exact (X : Long_Long_Float) return T is <>; with function Maximum_Relative_Error (X : T) return Float is <>; with function Sqrt (X : T) return T is <>; package Generic_Approximations is Epsilon : constant Float := 2.0**(1 - Mantissa); -- The approximations in this package will work well for single -- precision floating point types. function Approx_Asin (X : T) return T with Pre => abs X <= Exact (0.25), Post => abs Approx_Asin'Result <= Exact (Half_Pi); -- @llr Approx_Asin -- The Approx_Asin function shallapproximate the mathematical function -- arcsin (sqrt (x)) / sqrt (x) - 1.0 on -0.25 .. 0.25. -- -- Ada accuracy requirements: -- The approximation MRE shall be XXX T'Model_Epsilon. function Approx_Atan (X : T) return T with Pre => abs X <= Exact (Sqrt_3), Post => abs (Approx_Atan'Result) <= Exact (Half_Pi) and then Maximum_Relative_Error (Approx_Atan'Result) <= 2.0 * Epsilon; -- @llr Approx_Atan -- The Approx_Atan approximates the mathematical inverse tangent on -- -Sqrt (3) .. Sqrt (3) -- -- Accuracy requirements: -- The approximation MRE is XXX T'Model_Epsilon function Approx_Cos (X : T) return T with Pre => abs (X) <= Exact (Max_Red_Trig_Arg), Post => abs (Approx_Cos'Result) <= Exact (1.0) and then Maximum_Relative_Error (Approx_Cos'Result) <= 2.0 * Epsilon; -- @llr Approx_Cos -- The Approx_Cos approximates the mathematical cosine on -- -0.26 * Pi .. 0.26 * Pi -- -- Accuracy requirements: -- The approximation MRE is XXX T'Model_Epsilon function Approx_Exp (X : T) return T with Pre => abs (X) <= Exact (Ln_2 / 2.0), Post => Exact (0.0) <= Approx_Exp'Result and then Maximum_Relative_Error (Approx_Exp'Result) <= 2.0 * Epsilon; -- @llr Approx_Exp -- The Approx_Exp function approximates the mathematical exponent on -- -Ln (2.0) / 2.0 .. Ln (2.0) / 2.0 -- -- Accuracy requirements: -- The approximation MRE is XXX T'Model_Epsilon function Approx_Exp2 (X : T) return T with Pre => abs (X) <= Exact (Ln_2 / 2.0), Post => Exact (0.0) <= Approx_Exp2'Result and then Maximum_Relative_Error (Approx_Exp2'Result) <= 2.0 * Epsilon; -- @llr Approx_Exp2 -- The Approx_Exp2 function approximates the mathematical function -- (x-> 2.0 ** x) on -Ln (2.0) / 2.0 .. Ln (2.0) / 2.0 -- -- Accuracy requirements: -- The approximation MRE is XXX T'Model_Epsilon function Approx_Log (X : T) return T with Pre => Exact (Sqrt_2 / 2.0) <= X and then X <= Exact (Sqrt_2), Post => Maximum_Relative_Error (Approx_Log'Result) <= 2.0 * Epsilon; -- @llr Approx_Log -- The Approx_Log function approximates the mathematical logarithm on -- Sqrt (2.0) /2.0 .. Sqrt (2.0) -- -- Accuracy requirements: -- The approximation MRE is XXX T'Model_Epsilon function Approx_Power_Log (X : T) return T; -- @llr Approx_Power_Log -- The Approx_Power_Log approximates the function -- (x -> Log ((x-1) / (x+1), base => 2)) on the interval -- TODO -- -- Accuracy requirements: -- The approximation MRE is XXX T'Model_Epsilon function Approx_Sin (X : T) return T with Pre => (abs X) <= Exact (Max_Red_Trig_Arg), Post => abs Approx_Sin'Result <= Exact (1.0) and then Maximum_Relative_Error (Approx_Sin'Result) <= 2.0 * Epsilon; -- @llr Approx_Sin -- The Approx_Sin function approximates the mathematical sine on -- -0.26 * Pi .. 0.26 * Pi -- -- Ada accuracy requirements: -- The approximation MRE is XXX T'Model_Epsilon function Approx_Sinh (X : T) return T with Pre => True, -- The original X >= 0.0 and X <= 1.0, fails ??? Post => abs Approx_Sinh'Result <= Exact ((Ada.Numerics.e - 1.0 / Ada.Numerics.e) / 2.0) and then Maximum_Relative_Error (Approx_Sinh'Result) <= 2.0 * Epsilon; -- @llr Approx_Sinh -- The Approx_Sinh function approximates the mathematical hyperbolic -- sine on XXX -- -- Accuracy requirements: -- The approximation MRE is XXX T'Model_Epsilon function Approx_Tan (X : T) return T with Pre => abs X <= Exact (Max_Red_Trig_Arg), Post => Maximum_Relative_Error (Approx_Tan'Result) <= 2.0 * Epsilon; -- @llr Approx_Tan -- The Approx_Tan function approximates the mathematical tangent on -- -0.26 * Pi .. 0.26 * Pi -- -- Accuracy requirements: -- The approximation MRE is XXX T'Model_Epsilon function Approx_Cot (X : T) return T with Pre => abs X <= Exact (Max_Red_Trig_Arg), Post => Maximum_Relative_Error (Approx_Cot'Result) <= 2.0 * Epsilon; -- @llr Approx_Cot -- The Approx_Cot function approximates the mathematical cotangent on -- -0.26 * Pi .. 0.26 * Pi -- -- Accuracy requirements: -- The approximation MRE is XXX T'Model_Epsilon function Approx_Tanh (X : T) return T with Pre => Exact (0.0) <= X and then X <= Exact (Ln_3 / 2.0), Post => abs (Approx_Tanh'Result) <= Exact (Half_Pi) and then Maximum_Relative_Error (Approx_Tanh'Result) <= 2.0 * Epsilon; -- @llr Approx_Tanh -- The Approx_Tanh function approximates the mathematical hyperbolic -- tangent on 0.0 .. Ln (3.0) / 2.0 -- -- Accuracy requirements: -- The approximation MRE is XXX T'Model_Epsilon function Asin (X : T) return T with Pre => abs X <= Exact (1.0), Post => Maximum_Relative_Error (Asin'Result) <= 400.0 * Epsilon; -- @llr Asin -- The Asin function has a maximum relative error of 2 epsilon. end Generic_Approximations; end System.Libm;
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- -- -- Sample.Helpers -- -- -- -- S P E C -- -- -- ------------------------------------------------------------------------------ -- Copyright (c) 1998-2009,2011 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.11 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Terminal_Interface.Curses; use Terminal_Interface.Curses; -- This package contains some convenient helper routines used throughout -- this example. -- package Sample.Helpers is procedure Window_Title (Win : Window; Title : String); -- Put a title string into the first line of the window procedure Not_Implemented; end Sample.Helpers;
--=========================================================================== -- -- This is the execution package for the Matrix area on the dashboard. -- --=========================================================================== -- -- Copyright 2021 (C) Holger Rodriguez -- -- SPDX-License-Identifier: BSD-3-Clause -- package Execute.Matrices is -------------------------------------------------------------------------- -- Executes the command for the Matrix ares -------------------------------------------------------------------------- procedure Execute (Cmd : Matrix_Command); end Execute.Matrices;
-- { dg-do run } with dispatch1_p; use dispatch1_p; procedure dispatch1 is O : DT_I1; Ptr : access I1'Class; begin Ptr := new I1'Class'(I1'Class (O)); end;
with impact.d2.Fixture, impact.d2.Solid; package body impact.d2.contact.Manager is use type int32; type default_Listener is new world_Callbacks.b2ContactListener with null record; b2_defaultListener : aliased default_Listener; b2_defaultFilter : aliased world_Callbacks.b2ContactFilter; function to_b2ContactManager return b2ContactManager is Self : b2ContactManager; begin Self.m_contactCount := 0; Self.m_contactFilter := b2_defaultFilter'Access; Self.m_contactListener := b2_defaultListener'Access; return Self; end to_b2ContactManager; procedure Destroy (Self : in out b2ContactManager; c : in out impact.d2.Contact.view) is use type Contact.view; fixtureA : constant access Fixture.b2Fixture := c.GetFixtureA; fixtureB : constant access Fixture.b2Fixture := c.GetFixtureB; bodyA : constant access Solid.b2Body'Class := fixtureA.GetBody; bodyB : constant access Solid.b2Body'Class := fixtureB.GetBody; begin if Self.m_contactListener /= null and then c.IsTouching then Self.m_contactListener.EndContact (c); end if; -- Remove from the world. if c.m_prev /= null then c.m_prev.m_next_is (c.m_next); end if; if c.m_next /= null then c.m_next.m_prev_is (c.m_prev); end if; if c = Self.m_contactList then Self.m_contactList := c.m_next; end if; -- Remove from body 1 if c.m_nodeA.prev /= null then c.m_nodeA.prev.next := c.m_nodeA.next; end if; if c.m_nodeA.next /= null then c.m_nodeA.next.prev := c.m_nodeA.prev; end if; if c.m_nodeA'Access = bodyA.getContactList then bodyA.m_contactList_is (c.m_nodeA.next); end if; -- Remove from body 2 if c.m_nodeB.prev /= null then c.m_nodeB.prev.next := c.m_nodeB.next; end if; if c.m_nodeB.next /= null then c.m_nodeB.next.prev := c.m_nodeB.prev; end if; if c.m_nodeB'Access = bodyB.getContactList then bodyB.m_contactList_is (c.m_nodeB.next); end if; -- Call the factory. Contact.Destroy (c); --, m_allocator); Self.m_contactCount := Self.m_contactCount - 1; end Destroy; -- This is the top level collision call for the time step. Here -- all the narrow phase collision is processed for the world -- contact list. -- procedure Collide (Self : in out b2ContactManager) is use type Contact.view; c : Contact.view := Contact.view (Self.m_contactList); begin -- Update awake contacts. while c /= null loop declare fixtureA : constant access Fixture.b2Fixture'Class := c.GetFixtureA; fixtureB : constant access Fixture.b2Fixture'Class := c.GetFixtureB; bodyA : constant access Solid.b2Body'Class := fixtureA.GetBody; bodyB : constant access Solid.b2Body'Class := fixtureB.GetBody; procedure check is use type uint32; cNuke : Contact.view; proxyIdA, proxyIdB : int32; overlap : Boolean; begin -- Is this contact flagged for filtering? if (c.m_flags and Contact.e_filterFlag) /= 0 then -- Should these bodies collide? if not bodyB.ShouldCollide (bodyA) then cNuke := c; c := cNuke.GetNext; Destroy (cNuke); return; end if; -- Check user filtering. if Self.m_contactFilter /= null and then not Self.m_contactFilter.ShouldCollide (fixtureA, fixtureB) then cNuke := c; c := cNuke.GetNext; Destroy (cNuke); return; end if; -- Clear the filtering flag. c.m_flags := c.m_flags and not Contact.e_filterFlag; end if; proxyIdA := fixtureA.m_proxyId; proxyIdB := fixtureB.m_proxyId; overlap := Self.m_broadPhase.TestOverlap (proxyIdA, proxyIdB); -- Here we destroy contacts that cease to overlap in the broad-phase. if not overlap then cNuke := c; c := cNuke.GetNext; Destroy (cNuke); return; end if; -- The contact persists. c.Update (Self.m_contactListener); c := c.GetNext; end check; begin if not bodyA.IsAwake and then not bodyB.IsAwake then c := c.GetNext; else check; end if; end; end loop; end Collide; procedure FindNewContacts (Self : in out b2ContactManager) is procedure update_Pairs is new broadphase.UpdatePairs (callback_t => b2ContactManager, addPair => manager.addPair); begin update_Pairs (self.m_broadPhase, Self'Access); end FindNewContacts; type Solid_view is access all Solid.b2Body'Class; -- Broad-phase callback. -- procedure addPair (Self : access b2ContactManager; userDataA, userDataB : access Any'Class) is fixtureA : access Fixture.b2Fixture := Fixture.view (userDataA); fixtureB : access Fixture.b2Fixture := Fixture.view (userDataB); -- b2Fixture* fixtureB = (b2Fixture*)proxyUserDataB; bodyA : Solid_view := fixtureA.GetBody.all'Access; bodyB : Solid_view := fixtureB.GetBody.all'Access; -- b2Body* bodyB = fixtureB.GetBody(); edge : access b2ContactEdge; c : Contact.view; begin -- Are the fixtures on the same body? if bodyA = bodyB then return; end if; -- Does a contact already exist? edge := bodyB.GetContactList; while edge /= null loop if edge.other = bodyA then declare fA : constant access Fixture.b2Fixture := edge.contact.GetFixtureA; fB : constant access Fixture.b2Fixture := edge.contact.GetFixtureB; -- b2Fixture* fB := edge.contact.GetFixtureB(); begin if fA = fixtureA and then fB = fixtureB then -- A contact already exists. return; end if; if fA = fixtureB and then fB = fixtureA then -- A contact already exists. return; end if; end; end if; edge := edge.next; end loop; -- Does a joint override collision? Is at least one body dynamic? if bodyB.ShouldCollide (bodyA) = False then return; end if; -- Check user filtering. if Self.m_contactFilter /= null and then not Self.m_contactFilter.ShouldCollide (fixtureA, fixtureB) then return; end if; -- Call the factory. c := Contact.create (fixtureA, fixtureB).all'Access; --, m_allocator); -- Contact creation may swap fixtures. fixtureA := c.GetFixtureA; fixtureB := c.GetFixtureB; bodyA := fixtureA.GetBody.all'Access; bodyB := fixtureB.GetBody.all'Access; -- Insert into the world. c.m_prev := null; c.m_next := Contact.view (Self.m_contactList); --.all'unchecked_access; if Self.m_contactList /= null then Self.m_contactList.m_prev := Contact.view (c); end if; Self.m_contactList := c; -- Connect to island graph. -- Connect to body A c.m_nodeA.contact := c; c.m_nodeA.other := bodyB; c.m_nodeA.prev := null; c.m_nodeA.next := bodyA.m_contactList; if bodyA.m_contactList /= null then bodyA.m_contactList.prev := c.m_nodeA'Access; end if; bodyA.m_contactList_is (c.m_nodeA'Access); -- Connect to body B c.m_nodeB.contact := c; c.m_nodeB.other := bodyA; c.m_nodeB.prev := null; c.m_nodeB.next := bodyB.m_contactList; if bodyB.m_contactList /= null then bodyB.m_contactList.prev := c.m_nodeB'Access; end if; bodyB.m_contactList_is (c.m_nodeB'Access); Self.m_contactCount := Self.m_contactCount + 1; end addPair; end impact.d2.contact.Manager;
-- C43105A.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: -- IN A RECORD AGGREGATE, (X => E, Y => E), WHERE E IS AN OVERLOADED -- ENUMERATION LITERAL, OVERLOADING RESOLUTION OCCURS SEPARATELY FOR -- THE DIFFERENT OCCURRENCES OF E. -- HISTORY: -- DHH 08/10/88 CREATED ORIGINAL TEST. WITH REPORT; USE REPORT; PROCEDURE C43105A IS BEGIN TEST("C43105A", "IN A RECORD AGGREGATE, (X => E, Y => E), WHERE " & "E IS AN OVERLOADED ENUMERATION LITERAL, " & "OVERLOADING RESOLUTION OCCURS SEPARATELY FOR " & "THE DIFFERENT OCCURRENCES OF E"); DECLARE TYPE COLOR IS (RED, YELLOW, GREEN); TYPE PALETTE IS (GREEN, YELLOW, RED); TYPE REC IS RECORD X : COLOR; Y : PALETTE; END RECORD; TYPE RECD IS RECORD X : PALETTE; Y : COLOR; END RECORD; REC1 : REC; REC2 : RECD; FUNCTION IDENT_C(C : COLOR) RETURN COLOR IS BEGIN IF EQUAL(3,3) THEN RETURN C; ELSE RETURN GREEN; END IF; END IDENT_C; FUNCTION IDENT_P(P : PALETTE) RETURN PALETTE IS BEGIN IF EQUAL(3,3) THEN RETURN P; ELSE RETURN RED; END IF; END IDENT_P; BEGIN REC1 := (X => YELLOW, Y => YELLOW); REC2 := (X => YELLOW, Y => YELLOW); IF REC1.X /= IDENT_C(REC2.Y) THEN FAILED("COLOR RESOLUTION FAILED"); END IF; IF REC1.Y /= IDENT_P(REC2.X) THEN FAILED("PALETTE RESOLUTION FAILED"); END IF; EXCEPTION WHEN OTHERS => FAILED("EXCEPTION RAISED"); END; RESULT; END C43105A;
-- CC1310A.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 DEFAULT GENERIC SUBPROGRAM PARAMETERS MAY BE ENTRIES. -- DAT 9/8/81 -- SPS 2/7/83 WITH REPORT; USE REPORT; PROCEDURE CC1310A IS BEGIN TEST ("CC1310A", "DEFAULT GENERIC SUBPROGRAM PARAMETERS MAY BE" & " ENTRIES"); DECLARE TASK T IS ENTRY ENT1; ENTRY ENT2 (I : IN INTEGER); END T; PROCEDURE P1 RENAMES T.ENT1; PROCEDURE P4 (I : IN INTEGER) RENAMES T.ENT2; INT : INTEGER := 0; TASK BODY T IS BEGIN ACCEPT ENT1; ACCEPT ENT2 (I : IN INTEGER) DO INT := INT + I; END ENT2; ACCEPT ENT2 (I : IN INTEGER) DO INT := INT + I; END ENT2; ACCEPT ENT1; END T; BEGIN DECLARE GENERIC WITH PROCEDURE P1 IS <> ; WITH PROCEDURE P2 IS T.ENT1; WITH PROCEDURE P3 (I : IN INTEGER) IS T.ENT2; WITH PROCEDURE P4 (I : IN INTEGER) IS <> ; PACKAGE PKG IS END PKG; PACKAGE BODY PKG IS BEGIN P1; P4 (3); P3 (6); P2; END PKG; PACKAGE PP IS NEW PKG; BEGIN IF INT /= 9 THEN FAILED ("ENTRIES AS DEFAULT GENERIC PARAMETERS"); END IF; END; END; RESULT; END CC1310A;
----------------------------------------------------------------------- -- ado-queries -- Database Queries -- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014 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.Strings; with Util.Refs; with ADO.SQL; with ADO.Drivers; with Interfaces; with Ada.Strings.Unbounded; package ADO.Queries is type Query_File; type Query_File_Access is access all Query_File; type Query_Definition; type Query_Definition_Access is access all Query_Definition; type Query_Info is limited private; type Query_Info_Access is access all Query_Info; type Query_Info_Ref_Access is private; Null_Query_Info_Ref : constant Query_Info_Ref_Access; -- ------------------------------ -- Query Context -- ------------------------------ -- The <b>Context</b> type holds the necessary information to build and execute -- a query whose SQL pattern is defined in an XML query file. type Context is new ADO.SQL.Query with private; -- Set the query definition which identifies the SQL query to execute. -- The query is represented by the <tt>sql</tt> XML entry. procedure Set_Query (Into : in out Context; Query : in Query_Definition_Access); -- Set the query count definition which identifies the SQL query to execute. -- The query count is represented by the <tt>sql-count</tt> XML entry. procedure Set_Count_Query (Into : in out Context; Query : in Query_Definition_Access); procedure Set_Query (Into : in out Context; Name : in String); -- Set the limit for the SQL query. procedure Set_Limit (Into : in out Context; First : in Natural; Last : in Natural); -- Get the first row index. function Get_First_Row_Index (From : in Context) return Natural; -- Get the last row index. function Get_Last_Row_Index (From : in Context) return Natural; -- Get the maximum number of rows that the SQL query can return. -- This operation uses the <b>sql-count</b> query. function Get_Max_Row_Count (From : in Context) return Natural; -- Get the SQL query that correspond to the query context. function Get_SQL (From : in Context; Driver : in ADO.Drivers.Driver_Index) return String; -- ------------------------------ -- Query Definition -- ------------------------------ -- The <b>Query_Definition</b> holds the SQL query pattern which is defined -- in an XML query file. The query is identified by a name and a given XML -- query file can contain several queries. The Dynamo generator generates -- one instance of <b>Query_Definition</b> for each query defined in the XML -- file. The XML file is loaded during application initialization (or later) -- to get the SQL query pattern. Multi-thread concurrency is achieved by -- the Query_Info_Ref atomic reference. type Query_Definition is limited record -- The query name. Name : Util.Strings.Name_Access; -- The query file in which the query is defined. File : Query_File_Access; -- The next query defined in the query file. Next : Query_Definition_Access; -- The SQL query pattern (initialized when reading the XML query file). Query : Query_Info_Ref_Access; end record; function Get_SQL (From : in Query_Definition_Access; Driver : in ADO.Drivers.Driver_Index; Use_Count : in Boolean) return String; -- ------------------------------ -- Query File -- ------------------------------ -- The <b>Query_File</b> describes the SQL queries associated and loaded from -- a given XML query file. The Dynamo generator generates one instance of -- <b>Query_File</b> for each XML query file that it has read. The Path, -- Sha1_Map, Queries and Next are initialized statically by the generator (during -- package elaboration). type Query_File is limited record -- Query relative path name Name : Util.Strings.Name_Access; -- Query absolute path name (after path resolution). Path : Ada.Strings.Unbounded.String_Access; -- The SHA1 hash of the query map section. Sha1_Map : Util.Strings.Name_Access; -- Stamp when the query file will be checked. Next_Check : Interfaces.Unsigned_32; -- Stamp identifying the modification date of the query file. Last_Modified : Interfaces.Unsigned_32; -- The first query defined for that file. Queries : Query_Definition_Access; -- The next XML query file registered in the application. Next : Query_File_Access; end record; private type Context is new ADO.SQL.Query with record First : Natural := 0; Last : Natural := 0; Last_Index : Natural := 0; Max_Row_Count : Natural := 0; Query_Def : Query_Definition_Access := null; Is_Count : Boolean := False; end record; -- Find the query with the given name. -- Returns the query definition that matches the name or null if there is none function Find_Query (File : in Query_File; Name : in String) return Query_Definition_Access; use Ada.Strings.Unbounded; -- SQL query pattern type Query_Pattern is limited record SQL : Ada.Strings.Unbounded.Unbounded_String; end record; type Query_Pattern_Array is array (ADO.Drivers.Driver_Index) of Query_Pattern; type Query_Info is new Util.Refs.Ref_Entity with record Main_Query : Query_Pattern_Array; Count_Query : Query_Pattern_Array; end record; package Query_Info_Ref is new Util.Refs.References (Query_Info, Query_Info_Access); type Query_Info_Ref_Access is access all Query_Info_Ref.Atomic_Ref; Null_Query_Info_Ref : constant Query_Info_Ref_Access := null; end ADO.Queries;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . F A T _ I E E E _ L O N G _ F L O A T -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2005 Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- -- Boston, MA 02110-1301, USA. -- -- -- -- -- -- -- -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package contains an instantiation of the floating-point attribute -- runtime routines for IEEE long float. This is used on VMS targest where -- we can't just use Long_Float, since this may have been mapped to Vax_Float -- using a Float_Representation configuration pragma. with System.Fat_Gen; package System.Fat_IEEE_Long_Float is pragma Pure; type Fat_IEEE_Long is digits 15; pragma Float_Representation (IEEE_Float, Fat_IEEE_Long); -- Note the only entity from this package that is acccessed by Rtsfind -- is the name of the package instantiation. Entities within this package -- (i.e. the individual floating-point attribute routines) are accessed -- by name using selected notation. package Attr_IEEE_Long is new System.Fat_Gen (Fat_IEEE_Long); end System.Fat_IEEE_Long_Float;
----------------------------------------------------------- -- -- -- IRIS -- -- -- -- Copyright (c) 2017, John Leimon -- -- -- -- Permission to use, copy, modify, and/or distribute -- -- this software for any purpose with or without fee is -- -- hereby granted, provided that the above copyright -- -- notice and this permission notice appear in all -- -- copies. -- -- -- -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR -- -- DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE -- -- INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -- -- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE -- -- FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL -- -- DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -- -- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION -- -- OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, -- -- ARISING OUT OF OR IN CONNECTION WITH THE USE OR -- -- PERFORMANCE OF THIS SOFTWARE. -- ----------------------------------------------------------- WITH ADA.CALENDAR; USE ADA.CALENDAR; WITH ADA.COMMAND_LINE; USE ADA.COMMAND_LINE; WITH ADA.DIRECTORIES; USE ADA.DIRECTORIES; WITH ADA.EXCEPTIONS; USE ADA.EXCEPTIONS; WITH ADA.TASK_IDENTIFICATION; USE ADA.TASK_IDENTIFICATION; WITH ADA.TEXT_IO; USE ADA.TEXT_IO; WITH ADA.STRINGS.UNBOUNDED; USE ADA.STRINGS.UNBOUNDED; WITH ADA.STRINGS.FIXED; USE ADA.STRINGS.FIXED; WITH GNAT.CALENDAR.TIME_IO; WITH INTERFACES.C; USE INTERFACES.C; WITH SIGINT_HANDLER; USE SIGINT_HANDLER; PROCEDURE IRIS IS PACKAGE FLOAT_TEXT_IO IS NEW ADA.TEXT_IO.FLOAT_IO (FLOAT); TYPE IMAGE_ID IS (A, B); INVALID_ARGUMENT : EXCEPTION; IMAGE_A_FILENAME : CONSTANT STRING := ".IMAGE_A.jpg"; IMAGE_B_FILENAME : CONSTANT STRING := ".IMAGE_B.jpg"; IPC_FILENAME : CONSTANT STRING := ".iris"; LOG_FILENAME : CONSTANT GNAT.CALENDAR.TIME_IO.PICTURE_STRING := "%Y%m%d-%H%M-%S.%i.jpg"; DIFF_FILENAME : CONSTANT STRING := ".DELTA.jpg"; TRASH_OUTPUTS : CONSTANT STRING := " >&2 2> /dev/null"; CAPTURE_COUNT : NATURAL := 10; TRIGGER_THRESHOLD : FLOAT := 1.0; START_VIEWERS : BOOLEAN := FALSE; MOTION_DEBUG : CONSTANT BOOLEAN := TRUE; CAPTURE_DEBUG : CONSTANT BOOLEAN := FALSE; IMAGE_COMPARE_DEBUG : CONSTANT BOOLEAN := FALSE; NEXT_IMAGE : IMAGE_ID := A; A_CAPTURE_TIME : TIME; B_CAPTURE_TIME : TIME; HELP_MODE : BOOLEAN := FALSE; CAMERA_NAME : UNBOUNDED_STRING := TO_UNBOUNDED_STRING ("NO NAME"); LOG_DIRECTORY : UNBOUNDED_STRING := TO_UNBOUNDED_STRING ("."); TASK TYPE VIEWER IS ENTRY START (IMAGE_FILENAME : IN STRING; ID : OUT TASK_ID); END VIEWER; TYPE VIEWER_ACCESS IS ACCESS ALL VIEWER; LIVE_VIEWER : VIEWER_ACCESS; DIFF_VIEWER : VIEWER_ACCESS; LIVE_VIEWER_ID : TASK_ID; DIFF_VIEWER_ID : TASK_ID; PROCEDURE SYSTEM (ARGUMENTS : CHAR_ARRAY); PRAGMA IMPORT (C, SYSTEM, "system"); --------------- -- PUT_USAGE -- --------------- PROCEDURE PUT_USAGE IS BEGIN PUT ("usage: iris -vh [-cCamera_Name] "); PUT ("[-tTrigger_Threshold] "); PUT ("[-ccapture_Count ] "); PUT ("[-lLog_Directory "); NEW_LINE; END PUT_USAGE; -------------- -- PUT_HELP -- -------------- PROCEDURE PUT_HELP IS BEGIN PUT_USAGE; PUT_LINE (" Camera_Name: Camera name added to banner of"); PUT_LINE (" logged images."); PUT_LINE (" default: NO NAME"); PUT_LINE (" Trigger_Threshold: Minimum percent difference between two"); PUT_LINE (" images to trigger image logging."); PUT_LINE (" default: 1.0"); PUT_LINE (" Capture_Count: Number of consecutive images to capture"); PUT_LINE (" when image capture has been triggered."); PUT_LINE (" default: 10"); PUT_LINE (" Log_Directory: Path to store captured images on trigger."); PUT_LINE (" default: ."); PUT_LINE (" -h Show this help text"); PUT_LINE (" -v Start viewers (experimental)"); END PUT_HELP; ----------------- -- FILE_EXISTS -- ----------------- FUNCTION FILE_EXISTS (FILE_NAME : STRING) RETURN BOOLEAN IS THE_FILE : FILE_TYPE; BEGIN OPEN (THE_FILE, IN_FILE, FILE_NAME); CLOSE (THE_FILE); RETURN TRUE; EXCEPTION WHEN ADA.TEXT_IO.NAME_ERROR => RETURN FALSE; END FILE_EXISTS; ------------ -- VIEWER -- ------------ TASK BODY VIEWER IS ITERATION_COUNT : NATURAL := 0; IMAGE : UNBOUNDED_STRING; BEGIN ACCEPT START (IMAGE_FILENAME : IN STRING; ID : OUT TASK_ID) DO IMAGE := TO_UNBOUNDED_STRING (IMAGE_FILENAME); ID := CURRENT_TASK; END START; LOOP EXIT WHEN FILE_EXISTS (TO_STRING (IMAGE)); DELAY 0.1; END LOOP; SYSTEM (TO_C ("feh --reload 0.1 " & TO_STRING (IMAGE) & TRASH_OUTPUTS)); EXCEPTION WHEN ERROR: OTHERS => PUT ("IRIS.VIEWER: "); PUT (EXCEPTION_INFORMATION (ERROR)); END VIEWER; ------------- -- CAPTURE -- ------------- PROCEDURE CAPTURE (FILE_NAME : STRING) IS IPC_FILE : FILE_TYPE; BEFORE : TIME; AFTER : TIME; COMMAND : STRING := "fswebcam -S2 --subtitle " & """" & TO_STRING (CAMERA_NAME) & """ " & FILE_NAME & TRASH_OUTPUTS; BEGIN BEFORE := CLOCK; SYSTEM (TO_C (COMMAND)); AFTER := CLOCK; IF CAPTURE_DEBUG THEN PUT_LINE (COMMAND); PUT_LINE ("Capture completed in" & DURATION'IMAGE (AFTER - BEFORE) & " seconds"); END IF; END CAPTURE; ------------- -- COMPARE -- ------------- FUNCTION COMPARE RETURN FLOAT IS BEFORE : TIME; AFTER : TIME; IPC_FILE : FILE_TYPE; OUTPUT : FLOAT; BEGIN IF NOT FILE_EXISTS (IMAGE_A_FILENAME) OR NOT FILE_EXISTS (IMAGE_B_FILENAME) THEN RETURN 0.0; END IF; BEFORE := CLOCK; DECLARE COMMAND : STRING := "compare -compose Src " & "-fuzz 35% " & "-highlight-color Green " & "-lowlight-color Black " & "-metric MAE " & IMAGE_A_FILENAME & " " & IMAGE_B_FILENAME & " " & DIFF_FILENAME & " 2> " & IPC_FILENAME; BEGIN IF IMAGE_COMPARE_DEBUG THEN PUT_LINE (COMMAND); END IF; SYSTEM (TO_C (COMMAND)); END; AFTER := CLOCK; IF IMAGE_COMPARE_DEBUG THEN PUT_LINE ("Compare completed in" & DURATION'IMAGE(AFTER - BEFORE) & " seconds"); END IF; OPEN (IPC_FILE, IN_FILE, IPC_FILENAME); DECLARE RESULT : STRING := GET_LINE (IPC_FILE); SPACE_INDEX : NATURAL; BEGIN SPACE_INDEX := INDEX (RESULT, " "); IF SPACE_INDEX = 0 THEN -- ERROR: SPACE CHARACTER LITERAL NOT FOUND -- PUT_LINE ("IRIS: Unknown compare string found """ & RESULT & """"); OUTPUT := 0.0; ELSE OUTPUT := FLOAT'VALUE (RESULT (RESULT'FIRST .. SPACE_INDEX - 1)); END IF; END; CLOSE (IPC_FILE); RETURN OUTPUT; END COMPARE; ------------------------- -- CAPTURE_AND_COMPARE -- ------------------------- PROCEDURE CAPTURE_AND_COMPARE (DIFFERENCE : OUT FLOAT) IS BEGIN DECLARE BEGIN CASE NEXT_IMAGE IS WHEN A => CAPTURE (IMAGE_A_FILENAME); A_CAPTURE_TIME := CLOCK; NEXT_IMAGE := B; WHEN B => CAPTURE (IMAGE_B_FILENAME); B_CAPTURE_TIME := CLOCK; NEXT_IMAGE := A; END CASE; END; DIFFERENCE := COMPARE; END CAPTURE_AND_COMPARE; ---------------------------- -- SURVEILLANCE_ITERATION -- ---------------------------- PREV_DIFF_AMOUNT : FLOAT := 0.0; CAPTURES_REMAINING : NATURAL := 0; PROCEDURE SURVEILLANCE_ITERATION IS DIFF_AMOUNT : FLOAT := 0.0; BEGIN -- CAPTURE AN IMAGE. IF THIS IS NOT THE FIRST IMAGE -- -- CAPTURED THEN COMPARE IT WITH THE PREVIOUS IMAGE. -- -- IF THE PERCENT DIFFERENCE BETWEEN THIS IMAGE AND -- -- THE PREVIOUS IMAGE IS ABOVE THE USER DEFINED -- -- THRESHOLD THEN START LOGGING CONSECUTIVE IMAGES. -- -- THE NUMBER OF IMAGES LOGGED IS USER DEFINED. -- CAPTURE_AND_COMPARE (DIFF_AMOUNT); IF PREV_DIFF_AMOUNT /= 0.0 THEN DECLARE PERCENT_CHANGE : FLOAT := ABS (DIFF_AMOUNT - PREV_DIFF_AMOUNT) / PREV_DIFF_AMOUNT; BEGIN IF MOTION_DEBUG THEN PUT ("Motion Sensor:"); FLOAT_TEXT_IO.PUT (DIFF_AMOUNT, 6, 0, 0); PUT (" "); FLOAT_TEXT_IO.PUT (PERCENT_CHANGE, 2, 2, 0); NEW_LINE; END IF; IF PERCENT_CHANGE > TRIGGER_THRESHOLD THEN CAPTURES_REMAINING := CAPTURE_COUNT; PUT_LINE (" [CAPTURE TRIGGERED]"); END IF; END; END IF; PREV_DIFF_AMOUNT := DIFF_AMOUNT; DECLARE USE GNAT.CALENDAR.TIME_IO; BEGIN IF CAPTURES_REMAINING = CAPTURE_COUNT THEN COPY_FILE (IMAGE_A_FILENAME, TO_STRING (LOG_DIRECTORY) & "/" & IMAGE (A_CAPTURE_TIME, LOG_FILENAME)); COPY_FILE (IMAGE_B_FILENAME, TO_STRING (LOG_DIRECTORY) & "/" & IMAGE (B_CAPTURE_TIME, LOG_FILENAME)); CAPTURES_REMAINING := CAPTURES_REMAINING - 1; ELSIF CAPTURES_REMAINING > 0 THEN CASE NEXT_IMAGE IS WHEN A => COPY_FILE (IMAGE_B_FILENAME, TO_STRING (LOG_DIRECTORY) & "/" & IMAGE (B_CAPTURE_TIME, LOG_FILENAME)); WHEN B => COPY_FILE (IMAGE_A_FILENAME, TO_STRING (LOG_DIRECTORY) & "/" & IMAGE (A_CAPTURE_TIME, LOG_FILENAME)); END CASE; CAPTURES_REMAINING := CAPTURES_REMAINING - 1; END IF; END; END SURVEILLANCE_ITERATION; ----------------------- -- SET_START_VIEWERS -- ----------------------- FUNCTION SET_START_VIEWERS (ARGUMENT : STRING) RETURN BOOLEAN IS BEGIN IF ARGUMENT (ARGUMENT'FIRST .. ARGUMENT'FIRST + 1) = "-v" THEN START_VIEWERS := TRUE; RETURN TRUE; END IF; RETURN FALSE; EXCEPTION WHEN CONSTRAINT_ERROR => RETURN FALSE; END SET_START_VIEWERS; ----------------------- -- SET_LOG_DIRECTORY -- ----------------------- FUNCTION SET_LOG_DIRECTORY (ARGUMENT : STRING) RETURN BOOLEAN IS BEGIN IF ARGUMENT (ARGUMENT'FIRST .. ARGUMENT'FIRST + 1) = "-l" THEN LOG_DIRECTORY := TO_UNBOUNDED_STRING (ARGUMENT (ARGUMENT'FIRST + 2 .. ARGUMENT'LAST)); RETURN TRUE; END IF; RETURN FALSE; EXCEPTION WHEN CONSTRAINT_ERROR => RETURN FALSE; END SET_LOG_DIRECTORY; --------------------- -- SET_CAMERA_NAME -- --------------------- FUNCTION SET_CAMERA_NAME (ARGUMENT : STRING) RETURN BOOLEAN IS BEGIN IF ARGUMENT (ARGUMENT'FIRST .. ARGUMENT'FIRST + 1) = "-c" THEN CAMERA_NAME := TO_UNBOUNDED_STRING (ARGUMENT (ARGUMENT'FIRST + 2 .. ARGUMENT'LAST)); RETURN TRUE; END IF; RETURN FALSE; EXCEPTION WHEN CONSTRAINT_ERROR => RETURN FALSE; END SET_CAMERA_NAME; ----------------------- -- SET_CAPTURE_COUNT -- ----------------------- FUNCTION SET_CAPTURE_COUNT (ARGUMENT : STRING) RETURN BOOLEAN IS BEGIN IF ARGUMENT (ARGUMENT'FIRST .. ARGUMENT'FIRST + 1) = "-c" THEN CAPTURE_COUNT := NATURAL'VALUE (ARGUMENT (ARGUMENT'FIRST + 2 .. ARGUMENT'LAST)); RETURN TRUE; END IF; RETURN FALSE; EXCEPTION WHEN CONSTRAINT_ERROR => RETURN FALSE; END SET_CAPTURE_COUNT; --------------------------- -- SET_TRIGGER_THRESHOLD -- --------------------------- FUNCTION SET_TRIGGER_THRESHOLD (ARGUMENT : STRING) RETURN BOOLEAN IS BEGIN IF ARGUMENT (ARGUMENT'FIRST .. ARGUMENT'FIRST + 1) = "-t" THEN TRIGGER_THRESHOLD := FLOAT'VALUE (ARGUMENT (ARGUMENT'FIRST + 2 .. ARGUMENT'LAST)); RETURN TRUE; END IF; RETURN FALSE; EXCEPTION WHEN CONSTRAINT_ERROR => RETURN FALSE; END SET_TRIGGER_THRESHOLD; --------------- -- SHOW_HELP -- --------------- FUNCTION SHOW_HELP (ARGUMENT : STRING) RETURN BOOLEAN IS BEGIN IF ARGUMENT (ARGUMENT'FIRST .. ARGUMENT'FIRST + 1) = "-h" THEN PUT_HELP; HELP_MODE := TRUE; RETURN TRUE; END IF; RETURN FALSE; EXCEPTION WHEN CONSTRAINT_ERROR => RETURN FALSE; END SHOW_HELP; ----------------------- -- PROCESS_ARGUMENTS -- ----------------------- PROCEDURE PROCESS_ARGUMENTS IS BEGIN FOR INDEX IN NATURAL RANGE 1 .. ARGUMENT_COUNT LOOP IF SET_CAMERA_NAME (ARGUMENT (INDEX)) THEN NULL; ELSIF SET_TRIGGER_THRESHOLD (ARGUMENT (INDEX)) THEN NULL; ELSIF SET_CAPTURE_COUNT (ARGUMENT (INDEX)) THEN NULL; ELSIF SET_LOG_DIRECTORY (ARGUMENT (INDEX)) THEN NULL; ELSIF SET_START_VIEWERS (ARGUMENT (INDEX)) THEN NULL; ELSIF SHOW_HELP (ARGUMENT (INDEX)) THEN NULL; ELSE PUT ("Invalid argument: "); PUT_LINE (ARGUMENT (INDEX)); RAISE INVALID_ARGUMENT; END IF; END LOOP; END PROCESS_ARGUMENTS; ------------------ -- PUT_SETTINGS -- ------------------ PROCEDURE PUT_SETTINGS IS BEGIN PUT ("Camera Name : "); PUT_LINE (TO_STRING (CAMERA_NAME)); PUT ("Trigger Threshold :"); FLOAT_TEXT_IO.PUT (TRIGGER_THRESHOLD, 2, 1, 0); PUT_LINE (" %"); PUT ("Capture Count :"); PUT_LINE (NATURAL'IMAGE (CAPTURE_COUNT)); PUT ("Image Log Directory : "); PUT_LINE (TO_STRING (LOG_DIRECTORY)); NEW_LINE; END PUT_SETTINGS; BEGIN PROCESS_ARGUMENTS; IF HELP_MODE THEN RETURN; END IF; PUT_SETTINGS; IF START_VIEWERS THEN LIVE_VIEWER := NEW VIEWER; DIFF_VIEWER := NEW VIEWER; LIVE_VIEWER.START (IMAGE_A_FILENAME, LIVE_VIEWER_ID); DIFF_VIEWER.START (DIFF_FILENAME, DIFF_VIEWER_ID); END IF; LOOP SURVEILLANCE_ITERATION; EXIT WHEN SIGINT; END LOOP; EXCEPTION WHEN INVALID_ARGUMENT => PUT_USAGE; WHEN ERROR: OTHERS => PUT ("IRIS: "); PUT (EXCEPTION_INFORMATION (ERROR)); END IRIS;
----------------------------------------------------------------------- -- util-system-os -- Windows system operations -- Copyright (C) 2011, 2012 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with System; with Interfaces.C; with Interfaces.C.Strings; with Util.Systems.Types; -- The <b>Util.Systems.Os</b> package defines various types and operations which are specific -- to the OS (Windows). package Util.Systems.Os is -- The directory separator. Directory_Separator : constant Character := '\'; -- Defines several windows specific types. type BOOL is mod 8; type WORD is new Interfaces.C.short; type DWORD is new Interfaces.C.unsigned_long; type PDWORD is access all DWORD; for PDWORD'Size use Standard'Address_Size; function Get_Last_Error return Integer; pragma Import (Stdcall, Get_Last_Error, "GetLastError"); -- Some useful error codes (See Windows document "System Error Codes (0-499)"). ERROR_BROKEN_PIPE : constant Integer := 109; -- ------------------------------ -- Handle -- ------------------------------ -- The windows HANDLE is defined as a void* in the C API. subtype HANDLE is System.Address; type PHANDLE is access all HANDLE; for PHANDLE'Size use Standard'Address_Size; function Wait_For_Single_Object (H : in HANDLE; Time : in DWORD) return DWORD; pragma Import (Stdcall, Wait_For_Single_Object, "WaitForSingleObject"); type Security_Attributes is record Length : DWORD; Security_Descriptor : System.Address; Inherit : Boolean; end record; type LPSECURITY_ATTRIBUTES is access all Security_Attributes; for LPSECURITY_ATTRIBUTES'Size use Standard'Address_Size; -- ------------------------------ -- File operations -- ------------------------------ subtype File_Type is HANDLE; NO_FILE : constant File_Type := System.Null_Address; STD_INPUT_HANDLE : constant DWORD := -10; STD_OUTPUT_HANDLE : constant DWORD := -11; STD_ERROR_HANDLE : constant DWORD := -12; function Get_Std_Handle (Kind : in DWORD) return File_Type; pragma Import (Stdcall, Get_Std_Handle, "GetStdHandle"); function Close_Handle (Fd : in File_Type) return BOOL; pragma Import (Stdcall, Close_Handle, "CloseHandle"); function Duplicate_Handle (SourceProcessHandle : in HANDLE; SourceHandle : in HANDLE; TargetProcessHandle : in HANDLE; TargetHandle : in PHANDLE; DesiredAccess : in DWORD; InheritHandle : in BOOL; Options : in DWORD) return BOOL; pragma Import (Stdcall, Duplicate_Handle, "DuplicateHandle"); function Read_File (Fd : in File_Type; Buf : in System.Address; Size : in DWORD; Result : in PDWORD; Overlap : in System.Address) return BOOL; pragma Import (Stdcall, Read_File, "ReadFile"); function Write_File (Fd : in File_Type; Buf : in System.Address; Size : in DWORD; Result : in PDWORD; Overlap : in System.Address) return BOOL; pragma Import (Stdcall, Write_File, "WriteFile"); function Create_Pipe (Read_Handle : in PHANDLE; Write_Handle : in PHANDLE; Attributes : in LPSECURITY_ATTRIBUTES; Buf_Size : in DWORD) return BOOL; pragma Import (Stdcall, Create_Pipe, "CreatePipe"); -- type Size_T is mod 2 ** Standard'Address_Size; subtype LPWSTR is Interfaces.C.Strings.chars_ptr; subtype PBYTE is Interfaces.C.Strings.chars_ptr; subtype Ptr is Interfaces.C.Strings.chars_ptr; subtype LPCTSTR is System.Address; subtype LPTSTR is System.Address; type CommandPtr is access all Interfaces.C.wchar_array; NULL_STR : constant LPWSTR := Interfaces.C.Strings.Null_Ptr; type Startup_Info is record cb : DWORD := 0; lpReserved : LPWSTR := NULL_STR; lpDesktop : LPWSTR := NULL_STR; lpTitle : LPWSTR := NULL_STR; dwX : DWORD := 0; dwY : DWORD := 0; dwXsize : DWORD := 0; dwYsize : DWORD := 0; dwXCountChars : DWORD := 0; dwYCountChars : DWORD := 0; dwFillAttribute : DWORD := 0; dwFlags : DWORD := 0; wShowWindow : WORD := 0; cbReserved2 : WORD := 0; lpReserved2 : PBYTE := Interfaces.C.Strings.Null_Ptr; hStdInput : HANDLE := System.Null_Address; hStdOutput : HANDLE := System.Null_Address; hStdError : HANDLE := System.Null_Address; end record; pragma Pack (Startup_Info); type Startup_Info_Access is access all Startup_Info; type PROCESS_INFORMATION is record hProcess : HANDLE := NO_FILE; hThread : HANDLE := NO_FILE; dwProcessId : DWORD; dwThreadId : DWORD; end record; type Process_Information_Access is access all PROCESS_INFORMATION; function Get_Current_Process return HANDLE; pragma Import (Stdcall, Get_Current_Process, "GetCurrentProcess"); function Get_Exit_Code_Process (Proc : in HANDLE; Code : in PDWORD) return BOOL; pragma Import (Stdcall, Get_Exit_Code_Process, "GetExitCodeProcess"); function Create_Process (Name : in LPCTSTR; Command : in System.Address; Process_Attributes : in LPSECURITY_ATTRIBUTES; Thread_Attributes : in LPSECURITY_ATTRIBUTES; Inherit_Handlers : in Boolean; Creation_Flags : in DWORD; Environment : in LPTSTR; Directory : in LPCTSTR; Startup_Info : in Startup_Info_Access; Process_Info : in Process_Information_Access) return Integer; pragma Import (Stdcall, Create_Process, "CreateProcessW"); -- Terminate the windows process and all its threads. function Terminate_Process (Proc : in HANDLE; Code : in DWORD) return Integer; pragma Import (Stdcall, Terminate_Process, "TerminateProcess"); function Sys_Stat (Path : in LPWSTR; Stat : access Util.Systems.Types.Stat_Type) return Integer; pragma Import (C, Sys_Stat, "_stat64"); function Sys_Fstat (Fs : in File_Type; Stat : access Util.Systems.Types.Stat_Type) return Integer; pragma Import (C, Sys_Fstat, "_fstat64"); private -- kernel32 is used on Windows32 as well as Windows64. pragma Linker_Options ("-lkernel32"); end Util.Systems.Os;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- G N A T . A L T I V E C . C O N V E R S I O N S -- -- -- -- S p e c -- -- -- -- Copyright (C) 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/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This unit provides the Vector/Views conversions with GNAT.Altivec.Vector_Types; use GNAT.Altivec.Vector_Types; with GNAT.Altivec.Vector_Views; use GNAT.Altivec.Vector_Views; package GNAT.Altivec.Conversions is --------------------- -- char components -- --------------------- function To_Vector (S : VUC_View) return VUC; function To_Vector (S : VSC_View) return VSC; function To_Vector (S : VBC_View) return VBC; function To_View (S : VUC) return VUC_View; function To_View (S : VSC) return VSC_View; function To_View (S : VBC) return VBC_View; ---------------------- -- short components -- ---------------------- function To_Vector (S : VUS_View) return VUS; function To_Vector (S : VSS_View) return VSS; function To_Vector (S : VBS_View) return VBS; function To_View (S : VUS) return VUS_View; function To_View (S : VSS) return VSS_View; function To_View (S : VBS) return VBS_View; -------------------- -- int components -- -------------------- function To_Vector (S : VUI_View) return VUI; function To_Vector (S : VSI_View) return VSI; function To_Vector (S : VBI_View) return VBI; function To_View (S : VUI) return VUI_View; function To_View (S : VSI) return VSI_View; function To_View (S : VBI) return VBI_View; ---------------------- -- float components -- ---------------------- function To_Vector (S : VF_View) return VF; function To_View (S : VF) return VF_View; ---------------------- -- pixel components -- ---------------------- function To_Vector (S : VP_View) return VP; function To_View (S : VP) return VP_View; private -- We want the above subprograms to always be inlined in the case of the -- hard PowerPC AltiVec support in order to avoid the unnecessary function -- call. On the other hand there is no problem with inlining these -- subprograms on little-endian targets. pragma Inline_Always (To_Vector); pragma Inline_Always (To_View); end GNAT.Altivec.Conversions;
-- C35503P.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 'FIRST' AND 'LAST' YIELD THE CORRECT RESULTS WHEN THE -- PREFIX IS A GENERIC FORMAL DISCRETE TYPE WHOSE ARGUMENT IS AN -- INTEGER TYPE. -- HISTORY: -- RJW 03/24/86 CREATED ORIGINAL TEST. -- DHH 10/19/87 SHORTENED LINES CONTAINING MORE THAN 72 CHARACTERS. WITH REPORT; USE REPORT; PROCEDURE C35503P IS BEGIN TEST ("C35503P", "CHECK THAT 'FIRST' AND 'LAST' YIELD THE " & "CORRECT RESULTS WHEN THE PREFIX IS A " & "GENERIC FORMAL DISCRETE TYPE WHOSE ARGUMENT " & "IS AN INTEGER TYPE" ); DECLARE TYPE INT IS RANGE -6 .. 6; SUBTYPE SINT IS INT RANGE INT(IDENT_INT(-4)) .. INT(IDENT_INT(4)); SUBTYPE NOINT IS INT RANGE INT(IDENT_INT(1)) .. INT(IDENT_INT(-1)); GENERIC TYPE I IS (<>); F, L : I; PROCEDURE P ( STR : STRING ); PROCEDURE P ( STR : STRING ) IS BEGIN IF I'FIRST /= F THEN FAILED ( "INCORRECT 'FIRST' FOR " & STR ); END IF; IF I'LAST /= L THEN FAILED ( "INCORRECT 'LAST' FOR " & STR ); END IF; END P; GENERIC TYPE I IS (<>); F, L : I; PROCEDURE Q; PROCEDURE Q IS SUBTYPE SI IS I; BEGIN IF SI'FIRST /= F THEN FAILED ( "INCORRECT VALUE FOR INTEGER'FIRST" ); END IF; IF SI'LAST /= L THEN FAILED ( "INCORRECT VALUE FOR INTEGER'LAST" ); END IF; END Q; GENERIC TYPE I IS (<>); PROCEDURE R; PROCEDURE R IS SUBTYPE SI IS I; BEGIN IF SI'FIRST /= SI'VAL (IDENT_INT(1)) THEN FAILED ( "INCORRECT VALUE FOR NOINT'FIRST" ); END IF; IF SI'LAST /= SI'VAL (IDENT_INT(-1)) THEN FAILED ( "INCORRECT VALUE FOR NOINT'LAST" ); END IF; END R; PROCEDURE P1 IS NEW P ( I => INT, F => -6, L => 6 ); PROCEDURE P2 IS NEW P ( I => SINT, F => -4, L => 4 ); PROCEDURE Q1 IS NEW Q ( I => INTEGER, F => INTEGER'FIRST, L => INTEGER'LAST ); PROCEDURE R1 IS NEW R ( I => NOINT); BEGIN P1 ( "INT" ); P2 ( "SINT" ); Q1; R1; END; RESULT; END C35503P;
-------------------------------------------- -- -- -- PACKAGE GAME - PARTIE ADA -- -- -- -- GAME-GTYPE.ADB -- -- -- -- Gestion des types -- -- -- -- Créateur : CAPELLE Mikaël -- -- Adresse : capelle.mikael@gmail.com -- -- -- -- Dernière modification : 14 / 06 / 2011 -- -- -- -------------------------------------------- with Ada.Characters.Handling; package body Game.Gtype is package Test_Char renames Ada.Characters.Handling; --------------- -- "+" COLOR -- --------------- -- Retourne Vrai si la chaine est bien une couleur en hexa (de la forme "0xaabbcc") function Is_Hexa (S : in String) return Boolean is Res : Boolean := True; begin -- Vérification de la taille et du '0x' de départ if S'Length /= 8 or S(S'First) /= '0' or S(S'First+1) /= 'x' then Res := False; else -- Vérification de chaque caractère (aabbcc) for N in S'First+2..S'Last loop if not Test_Char.Is_Hexadecimal_Digit(S(N)) then Res := False; end if; end loop; end if; return Res; end Is_Hexa; -- Retourne la valeur hexadécimal d'un charactère ('1' => 1, 'A' => 10) function Hexa_Val (C : in Character) return Natural is Res : Natural := 0; begin -- Si C est un chiffre, on retourne "Position(C) - Position(0)" -- Si C est un minuscule (resp. une majuscule), on retourne "10 + Position(C) - Position('a') (resp. Position('A')) if Test_Char.Is_Digit(C) then Res := Character'Pos(C) - Character'Pos('0'); elsif Test_Char.Is_Lower(C) then Res := 10 + Character'Pos(C) - Character'Pos('a'); elsif Test_Char.Is_Upper(C) then Res := 10 + Character'Pos(C) - Character'Pos('A'); else raise Constraint_Error; -- Ne devrait jamais arrivé end if; return Res; end Hexa_Val; -- Transforme une couleur sous la forme hexa en une "color" function "+" (S : in String) return Color is Res : Color := (0,0,0); begin if not Is_Hexa(S) then raise Constraint_Error; end if; Res.R := Hexa_Val(S(S'First+2))*16 + Hexa_Val(S(S'First+3)); Res.G := Hexa_Val(S(S'First+4))*16 + Hexa_Val(S(S'First+5)); Res.B := Hexa_Val(S(S'First+6))*16 + Hexa_Val(S(S'First+7)); return Res; end "+"; ----------- -- GET_X -- ----------- -- Simple appel de fonction C transformé en des types plus "ada" function C_Getw(S : in SDL_Surface) return integer; pragma Import(C,C_Getw,"get_width"); function C_Geth(S : in SDL_Surface) return Integer; pragma Import(C,C_Geth,"get_height"); function C_Getd(S : in SDL_Surface) return Integer; pragma Import(C,C_Getd,"get_depth"); function Get_Width (S : in Surface) return Size is begin return Size(C_Getw(S.Surf)); end Get_Width; function Get_Height (S : in Surface) return Size is begin return Size(C_Geth(S.Surf)); end Get_Height; function Get_Rect (S : in Surface) return Rect is begin return (0,0,Get_Width(S),Get_Height(S)); end Get_Rect; function Get_Depth (S : in Surface) return Profondeur is begin return Profondeur(C_Getd(S.Surf)); end Get_Depth; --------------- -- TO_C_RECT -- --------------- -- Transforme un Rect (Ada) en Rect (C) function To_C_Rect(Re : in Rect) return C_Rect is Res : C_Rect := (0,0,0,0); begin -- On transforme chaque composante comme il faut Res.X := Signed_16(Re.X); Res.Y := Signed_16(Re.Y); Res.W := Unsigned_16(Re.W); Res.H := Unsigned_16(Re.H); return Res; end To_C_Rect; -- Transforme une couleur (Ada) en couleur (C) function To_C_Col (C : in Color) return C_Color is begin return (Unsigned_8(C.R),Unsigned_8(C.G),Unsigned_8(C.B),0); end To_C_Col; end Game.Gtype;
with Ada.Text_IO; with Ada.Integer_Text_IO; -- Copyright 2021 Melwyn Francis Carlo procedure A085 is use Ada.Text_IO; use Ada.Integer_Text_IO; Str : constant String (1 .. 12) := "Hello World "; Num : constant Integer := 2021; begin Put (Str); Put (Num, Width => 0); end A085;
generic type Record_Type; package Incomplete5_Pkg is type Access_Type is access Record_Type; type Base_Object is tagged record Handle: Access_Type; end record; function Get_Handle(Object: Base_Object) return Access_Type; function From_Handle(Handle: Access_Type) return Base_Object; end Incomplete5_Pkg;
----------------------------------------------------------------------- -- wiki-streams-html -- Wiki HTML output stream -- Copyright (C) 2011, 2012, 2013, 2015, 2016, 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 Wiki.Strings; -- === HTML Output Stream === -- The `Wiki.Writers` package defines the interfaces used by the renderer to write -- their outputs. -- -- The `Input_Stream` interface defines the interface that must be implemented to -- read the source Wiki content. The `Read` procedure is called by the parser -- repeatedly while scanning the Wiki content. package Wiki.Streams.Html is type Html_Output_Stream is limited interface and Output_Stream; type Html_Output_Stream_Access is access all Html_Output_Stream'Class; -- Write an XML attribute within an XML element. -- The attribute value is escaped according to the XML escape rules. procedure Write_Wide_Attribute (Writer : in out Html_Output_Stream; Name : in String; Content : in Wiki.Strings.UString) is abstract; -- Write an XML attribute within an XML element. -- The attribute value is escaped according to the XML escape rules. procedure Write_Wide_Attribute (Writer : in out Html_Output_Stream; Name : in String; Content : in Wide_Wide_String) is abstract; -- Start an XML element with the given name. procedure Start_Element (Writer : in out Html_Output_Stream; Name : in String) is abstract; -- Closes an XML element of the given name. procedure End_Element (Writer : in out Html_Output_Stream; Name : in String) is abstract; -- Write a text escaping any character as necessary. procedure Write_Wide_Text (Writer : in out Html_Output_Stream; Content : in Wiki.Strings.WString) is abstract; -- Write a character on the response stream and escape that character as necessary. procedure Write_Escape (Stream : in out Html_Output_Stream'Class; Char : in Wiki.Strings.WChar); -- Write a string on the response stream and escape the characters as necessary. procedure Write_Escape (Stream : in out Html_Output_Stream'Class; Content : in Wiki.Strings.WString); -- Write an XML attribute within an XML element. -- The attribute value is escaped according to the XML escape rules. procedure Write_Escape_Attribute (Stream : in out Html_Output_Stream'Class; Name : in String; Content : in Wiki.Strings.WString); -- Write an XML attribute within an XML element. -- The attribute value is escaped according to the XML escape rules. procedure Write_Attribute (Writer : in out Html_Output_Stream'Class; Name : in String; Content : in String); end Wiki.Streams.Html;
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 dichoexp is type stringptr is access all char_array; procedure PInt(i : in Integer) is begin String'Write (Text_Streams.Stream (Current_Output), Trim(Integer'Image(i), Left)); end; procedure SkipSpaces is C : Character; Eol : Boolean; begin loop Look_Ahead(C, Eol); exit when Eol or C /= ' '; Get(C); end loop; end; function exp0(a : in Integer; b : in Integer) return Integer is o : Integer; begin if b = 0 then return 1; end if; if b rem 2 = 0 then o := exp0(a, b / 2); return o * o; else return a * exp0(a, b - 1); end if; end; b : Integer; a : Integer; begin a := 0; b := 0; Get(a); SkipSpaces; Get(b); PInt(exp0(a, b)); end;
------------------------------------------------------------------------------ -- Copyright (c) 2015, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose with or without fee is hereby granted, provided that the above -- -- copyright notice and this permission notice appear in all copies. -- -- -- -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -- -- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -- -- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -- -- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -- -- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -- -- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -- -- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -- ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -- Natools.S_Expressions.Conditionals.Tests gathers the test suite of all -- -- conditional children packages. -- ------------------------------------------------------------------------------ with Natools.Tests; package Natools.S_Expressions.Conditionals.Tests is package NT renames Natools.Tests; procedure All_Tests (Report : in out NT.Reporter'Class); end Natools.S_Expressions.Conditionals.Tests;
-- Copyright (c) 2020 Raspberry Pi (Trading) Ltd. -- -- SPDX-License-Identifier: BSD-3-Clause -- This spec has been automatically generated from rp2040.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package RP_SVD.PLL_SYS is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CS_REFDIV_Field is HAL.UInt6; -- Control and Status\n GENERAL CONSTRAINTS:\n Reference clock frequency -- min=5MHz, max=800MHz\n Feedback divider min=16, max=320\n VCO frequency -- min=400MHz, max=1600MHz type CS_Register is record -- Divides the PLL input reference clock.\n Behaviour is undefined for -- div=0.\n PLL output will be unpredictable during refdiv changes, wait -- for lock=1 before using it. REFDIV : CS_REFDIV_Field := 16#1#; -- unspecified Reserved_6_7 : HAL.UInt2 := 16#0#; -- Passes the reference clock to the output instead of the divided VCO. -- The VCO continues to run so the user can switch between the reference -- clock and the divided VCO but the output will glitch when doing so. BYPASS : Boolean := False; -- unspecified Reserved_9_30 : HAL.UInt22 := 16#0#; -- Read-only. PLL is locked LOCK : Boolean := False; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for CS_Register use record REFDIV at 0 range 0 .. 5; Reserved_6_7 at 0 range 6 .. 7; BYPASS at 0 range 8 .. 8; Reserved_9_30 at 0 range 9 .. 30; LOCK at 0 range 31 .. 31; end record; -- Controls the PLL power modes. type PWR_Register is record -- PLL powerdown\n To save power set high when PLL output not required. PD : Boolean := True; -- unspecified Reserved_1_1 : HAL.Bit := 16#0#; -- PLL DSM powerdown\n Nothing is achieved by setting this low. DSMPD : Boolean := True; -- PLL post divider powerdown\n To save power set high when PLL output -- not required or bypass=1. POSTDIVPD : Boolean := True; -- unspecified Reserved_4_4 : HAL.Bit := 16#0#; -- PLL VCO powerdown\n To save power set high when PLL output not -- required or bypass=1. VCOPD : Boolean := True; -- unspecified Reserved_6_31 : HAL.UInt26 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for PWR_Register use record PD at 0 range 0 .. 0; Reserved_1_1 at 0 range 1 .. 1; DSMPD at 0 range 2 .. 2; POSTDIVPD at 0 range 3 .. 3; Reserved_4_4 at 0 range 4 .. 4; VCOPD at 0 range 5 .. 5; Reserved_6_31 at 0 range 6 .. 31; end record; subtype FBDIV_INT_FBDIV_INT_Field is HAL.UInt12; -- Feedback divisor\n (note: this PLL does not support fractional division) type FBDIV_INT_Register is record -- see ctrl reg description for constraints FBDIV_INT : FBDIV_INT_FBDIV_INT_Field := 16#0#; -- unspecified Reserved_12_31 : HAL.UInt20 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for FBDIV_INT_Register use record FBDIV_INT at 0 range 0 .. 11; Reserved_12_31 at 0 range 12 .. 31; end record; subtype PRIM_POSTDIV2_Field is HAL.UInt3; subtype PRIM_POSTDIV1_Field is HAL.UInt3; -- Controls the PLL post dividers for the primary output\n (note: this PLL -- does not have a secondary output)\n the primary output is driven from -- VCO divided by postdiv1*postdiv2 type PRIM_Register is record -- unspecified Reserved_0_11 : HAL.UInt12 := 16#0#; -- divide by 1-7 POSTDIV2 : PRIM_POSTDIV2_Field := 16#7#; -- unspecified Reserved_15_15 : HAL.Bit := 16#0#; -- divide by 1-7 POSTDIV1 : PRIM_POSTDIV1_Field := 16#7#; -- unspecified Reserved_19_31 : HAL.UInt13 := 16#0#; end record with Volatile_Full_Access, Object_Size => 32, Bit_Order => System.Low_Order_First; for PRIM_Register use record Reserved_0_11 at 0 range 0 .. 11; POSTDIV2 at 0 range 12 .. 14; Reserved_15_15 at 0 range 15 .. 15; POSTDIV1 at 0 range 16 .. 18; Reserved_19_31 at 0 range 19 .. 31; end record; ----------------- -- Peripherals -- ----------------- type PLL_SYS_Peripheral is record -- Control and Status\n GENERAL CONSTRAINTS:\n Reference clock frequency -- min=5MHz, max=800MHz\n Feedback divider min=16, max=320\n VCO -- frequency min=400MHz, max=1600MHz CS : aliased CS_Register; -- Controls the PLL power modes. PWR : aliased PWR_Register; -- Feedback divisor\n (note: this PLL does not support fractional -- division) FBDIV_INT : aliased FBDIV_INT_Register; -- Controls the PLL post dividers for the primary output\n (note: this -- PLL does not have a secondary output)\n the primary output is driven -- from VCO divided by postdiv1*postdiv2 PRIM : aliased PRIM_Register; end record with Volatile; for PLL_SYS_Peripheral use record CS at 16#0# range 0 .. 31; PWR at 16#4# range 0 .. 31; FBDIV_INT at 16#8# range 0 .. 31; PRIM at 16#C# range 0 .. 31; end record; PLL_SYS_Periph : aliased PLL_SYS_Peripheral with Import, Address => PLL_SYS_Base; end RP_SVD.PLL_SYS;
------------------------------------------------------------------------------ -- Copyright (c) 2015, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose with or without fee is hereby granted, provided that the above -- -- copyright notice and this permission notice appear in all copies. -- -- -- -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -- -- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -- -- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -- -- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -- -- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -- -- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -- -- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -- ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -- Natools.S_Expressions.Conditionals is a common parent for all -- -- conditional packages. -- ------------------------------------------------------------------------------ package Natools.S_Expressions.Conditionals is pragma Pure; end Natools.S_Expressions.Conditionals;
package openGL.Texture.Coordinates -- -- Provides openGL texture co-ordinates. -- is ------ --- 2D -- type coordinate_Generator is abstract tagged null record; function to_Coordinates (Self : in coordinate_Generator; the_Vertices : access Sites) return Coordinates_2D is abstract; type xz_Generator is new coordinate_Generator with record Normalise : texture_Transform_2D; Tile : texture_Transform_2D; end record; overriding function to_Coordinates (Self : in xz_Generator; the_Vertices : access Sites) return Coordinates_2D; type xy_Generator is new coordinate_Generator with record Normalise : texture_Transform_2D; Tile : texture_Transform_2D; end record; overriding function to_Coordinates (Self : in xy_Generator; the_Vertices : access Sites) return Coordinates_2D; type zy_Generator is new coordinate_Generator with record Normalise : texture_Transform_2D; Tile : texture_Transform_2D; end record; overriding function to_Coordinates (Self : in zy_Generator; the_Vertices : access Sites) return Coordinates_2D; type mercator_Generator is new coordinate_Generator with null record; overriding function to_Coordinates (Self : in mercator_Generator; the_Vertices : access Sites) return Coordinates_2D; end openGL.Texture.Coordinates;
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with System; with glib; with glib.Values; with System; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h; package GStreamer.GST_Low_Level.gstreamer_0_10_gst_tag_xmpwriter_h is -- unsupported macro: GST_TYPE_TAG_XMP_WRITER (gst_tag_xmp_writer_get_type ()) -- arg-macro: function GST_TAG_XMP_WRITER (obj) -- return G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_TAG_XMP_WRITER, GstTagXmpWriter); -- arg-macro: function GST_TAG_XMP_WRITER_INTERFACE (iface) -- return G_TYPE_CHECK_INTERFACE_CAST ((iface), GST_TYPE_TAG_XMP_WRITER, GstTagXmpWriterInterface); -- arg-macro: function GST_IS_TAG_XMP_WRITER (obj) -- return G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_TAG_XMP_WRITER); -- arg-macro: function GST_IS_TAG_XMP_WRITER_INTERFACE (iface) -- return G_TYPE_CHECK_INTERFACE_TYPE ((iface), GST_TYPE_TAG_XMP_WRITER); -- arg-macro: function GST_TAG_XMP_WRITER_GET_INTERFACE (inst) -- return G_TYPE_INSTANCE_GET_INTERFACE ((inst), GST_TYPE_TAG_XMP_WRITER, GstTagXmpWriterInterface); -- GStreamer XmpConfig -- * Copyright (C) 2011 Thiago Santos <thiago.sousa.santos@collabora.co.uk> -- * -- * This library is free software; you can redistribute it and/or -- * modify it under the terms of the GNU Library General Public -- * License as published by the Free Software Foundation; either -- * version 2 of the License, or (at your option) any later version. -- * -- * This library is distributed in the hope that it will be useful, -- * but WITHOUT ANY WARRANTY; without even the implied warranty of -- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- * Library General Public License for more details. -- * -- * You should have received a copy of the GNU Library General Public -- * License along with this library; if not, write to the -- * Free Software Foundation, Inc., 59 Temple Place - Suite 330, -- * Boston, MA 02111-1307, USA. -- -- skipped empty struct u_GstTagXmpWriter -- skipped empty struct GstTagXmpWriter type GstTagXmpWriterInterface; --subtype GstTagXmpWriterInterface is u_GstTagXmpWriterInterface; -- gst/tag/xmpwriter.h:41 type GstTagXmpWriterInterface is record parent : aliased GStreamer.GST_Low_Level.glib_2_0_gobject_gtype_h.GTypeInterface; -- gst/tag/xmpwriter.h:44 end record; pragma Convention (C_Pass_By_Copy, GstTagXmpWriterInterface); -- gst/tag/xmpwriter.h:43 function gst_tag_xmp_writer_get_type return GLIB.GType; -- gst/tag/xmpwriter.h:47 pragma Import (C, gst_tag_xmp_writer_get_type, "gst_tag_xmp_writer_get_type"); procedure gst_tag_xmp_writer_add_all_schemas (config : System.Address); -- gst/tag/xmpwriter.h:49 pragma Import (C, gst_tag_xmp_writer_add_all_schemas, "gst_tag_xmp_writer_add_all_schemas"); procedure gst_tag_xmp_writer_add_schema (config : System.Address; schema : access GLIB.gchar); -- gst/tag/xmpwriter.h:51 pragma Import (C, gst_tag_xmp_writer_add_schema, "gst_tag_xmp_writer_add_schema"); function gst_tag_xmp_writer_has_schema (config : System.Address; schema : access GLIB.gchar) return GLIB.gboolean; -- gst/tag/xmpwriter.h:54 pragma Import (C, gst_tag_xmp_writer_has_schema, "gst_tag_xmp_writer_has_schema"); procedure gst_tag_xmp_writer_remove_schema (config : System.Address; schema : access GLIB.gchar); -- gst/tag/xmpwriter.h:57 pragma Import (C, gst_tag_xmp_writer_remove_schema, "gst_tag_xmp_writer_remove_schema"); procedure gst_tag_xmp_writer_remove_all_schemas (config : System.Address); -- gst/tag/xmpwriter.h:60 pragma Import (C, gst_tag_xmp_writer_remove_all_schemas, "gst_tag_xmp_writer_remove_all_schemas"); function gst_tag_xmp_writer_tag_list_to_xmp_buffer (config : System.Address; taglist : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gsttaglist_h.GstTagList; read_only : GLIB.gboolean) return access GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h.GstBuffer; -- gst/tag/xmpwriter.h:62 pragma Import (C, gst_tag_xmp_writer_tag_list_to_xmp_buffer, "gst_tag_xmp_writer_tag_list_to_xmp_buffer"); end GStreamer.GST_Low_Level.gstreamer_0_10_gst_tag_xmpwriter_h;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- O S I N T -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2020, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING3. If not, go to -- -- http://www.gnu.org/licenses for a complete copy of the license. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package contains the low level, operating system routines used in the -- compiler and binder for command line processing and file input output. with Namet; use Namet; with Types; use Types; with System; use System; pragma Warnings (Off); -- This package is used also by gnatcoll with System.OS_Lib; use System.OS_Lib; pragma Warnings (On); with System.Storage_Elements; pragma Elaborate_All (System.OS_Lib); -- For the call to function Get_Target_Object_Suffix in the private part package Osint is Multi_Unit_Index_Character : constant Character := '~'; -- The character before the index of the unit in a multi-unit source in ALI -- and object file names. Ada_Include_Path : constant String := "ADA_INCLUDE_PATH"; Ada_Objects_Path : constant String := "ADA_OBJECTS_PATH"; Project_Include_Path_File : constant String := "ADA_PRJ_INCLUDE_FILE"; Project_Objects_Path_File : constant String := "ADA_PRJ_OBJECTS_FILE"; Output_FD : File_Descriptor; -- File descriptor for current library info, list, tree, C, H, or binder -- output. Only one of these is open at a time, so we need only one FD. On_Windows : constant Boolean := Directory_Separator = '\'; -- True when on Windows procedure Initialize; -- Initialize internal tables function Normalize_Directory_Name (Directory : String) return String_Ptr; -- Verify and normalize a directory name. If directory name is invalid, -- this will return an empty string. Otherwise it will insure a trailing -- slash and make other normalizations. type File_Type is (Source, Library, Config, Definition, Preprocessing_Data); function Find_File (N : File_Name_Type; T : File_Type; Full_Name : Boolean := False) return File_Name_Type; -- Finds a source, library or config file depending on the value of T -- following the directory search order rules unless N is the name of the -- file just read with Next_Main_File and already contains directory -- information, in which case just look in the Primary_Directory. Returns -- File_Name_Type of the full file name if found, No_File if file not -- found. Note that for the special case of gnat.adc, only the compilation -- environment directory is searched, i.e. the directory where the ali and -- object files are written. Another special case is Debug_Generated_Code -- set and the file name ends in ".dg", in which case we look for the -- generated file only in the current directory, since that is where it is -- always built. -- -- In the case of configuration files, full path names are needed for some -- ASIS queries. The flag Full_Name indicates that the name of the file -- should be normalized to include a full path. function Get_File_Names_Case_Sensitive return Int; pragma Import (C, Get_File_Names_Case_Sensitive, "__gnat_get_file_names_case_sensitive"); File_Names_Case_Sensitive : constant Boolean := Get_File_Names_Case_Sensitive /= 0; -- Set to indicate whether the operating system convention is for file -- names to be case sensitive (e.g., in Unix, set True), or non case -- sensitive (e.g., in Windows, set False). procedure Canonical_Case_File_Name (S : in out String); -- Given a file name, converts it to canonical case form. For systems -- where file names are case sensitive, this procedure has no effect. -- If file names are not case sensitive (i.e. for example if you have -- the file "xyz.adb", you can refer to it as XYZ.adb or XyZ.AdB), then -- this call converts the given string to canonical all lower case form, -- so that two file names compare equal if they refer to the same file. function Get_Env_Vars_Case_Sensitive return Int; pragma Import (C, Get_Env_Vars_Case_Sensitive, "__gnat_get_env_vars_case_sensitive"); Env_Vars_Case_Sensitive : constant Boolean := Get_Env_Vars_Case_Sensitive /= 0; -- Set to indicate whether the operating system convention is for -- environment variable names to be case sensitive (e.g., in Unix, set -- True), or non case sensitive (e.g., in Windows, set False). procedure Canonical_Case_Env_Var_Name (S : in out String); -- Given an environment variable name, converts it to canonical case form. -- For systems where environment variable names are case sensitive, this -- procedure has no effect. If environment variable names are not case -- sensitive, then this call converts the given string to canonical all -- lower case form, so that two environment variable names compare equal if -- they refer to the same environment variable. function Number_Of_Files return Nat; -- Gives the total number of filenames found on the command line No_Index : constant := -1; -- Value used in Add_File to indicate no index is specified for main procedure Add_File (File_Name : String; Index : Int := No_Index); -- Called by the subprogram processing the command line for each file name -- found. The index, when not defaulted to No_Index is the index of the -- subprogram in its source, zero indicating that the source is not -- multi-unit. procedure Find_Program_Name; -- Put simple name of current program being run (excluding the directory -- path) in Name_Buffer, with the length in Name_Len. function Program_Name (Nam : String; Prog : String) return String_Access; -- In the native compilation case, Create a string containing Nam. In the -- cross compilation case, looks at the prefix of the current program being -- run and prepend it to Nam. For instance if the program being run is -- <target>-gnatmake and Nam is "gcc", the returned value will be a pointer -- to "<target>-gcc". In the specific case where AAMP_On_Target is set, the -- name "gcc" is mapped to "gnaamp", and names of the form "gnat*" are -- mapped to "gnaamp*". This function clobbers Name_Buffer and Name_Len. -- Also look at any suffix, e.g. gnatmake-4.1 -> "gcc-4.1". Prog is the -- default name of the current program being executed, e.g. "gnatmake", -- "gnatlink". procedure Write_Program_Name; -- Writes name of program as invoked to the current output (normally -- standard output). procedure Fail (S : String); pragma No_Return (Fail); -- Outputs error message S preceded by the name of the executing program -- and exits with E_Fatal. The output goes to standard error, except if -- special output is in effect (see Output). function Is_Directory_Separator (C : Character) return Boolean; -- Returns True if C is a directory separator function Get_Directory (Name : File_Name_Type) return File_Name_Type; -- Get the prefix directory name (if any) from Name. The last separator -- is preserved. Return the normalized current directory if there is no -- directory part in the name. function Is_Readonly_Library (File : File_Name_Type) return Boolean; -- Check if this library file is a read-only file function Strip_Directory (Name : File_Name_Type) return File_Name_Type; -- Strips the prefix directory name (if any) from Name. Returns the -- stripped name. Name cannot end with a directory separator. function Strip_Suffix (Name : File_Name_Type) return File_Name_Type; -- Strips the suffix (the last '.' and whatever comes after it) from Name. -- Returns the stripped name. function Executable_Name (Name : File_Name_Type; Only_If_No_Suffix : Boolean := False) return File_Name_Type; -- Given a file name it adds the appropriate suffix at the end so that -- it becomes the name of the executable on the system at end. For -- instance under DOS it adds the ".exe" suffix, whereas under UNIX no -- suffix is added. function Executable_Name (Name : String; Only_If_No_Suffix : Boolean := False) return String; -- Same as above, with String parameters function File_Stamp (Name : File_Name_Type) return Time_Stamp_Type; -- Returns the time stamp of file Name. Name should include relative path -- information in order to locate it. If the source file cannot be opened, -- or Name = No_File, and all blank time stamp is returned (this is not an -- error situation). function File_Stamp (Name : Path_Name_Type) return Time_Stamp_Type; -- Same as above for a path name type String_Access_List is array (Positive range <>) of String_Access; -- Dereferenced type used to return a list of file specs in -- To_Canonical_File_List. type String_Access_List_Access is access all String_Access_List; -- Type used to return a String_Access_List without dragging in secondary -- stack. function To_Canonical_File_List (Wildcard_Host_File : String; Only_Dirs : Boolean) return String_Access_List_Access; -- Expand a wildcard host syntax file or directory specification and return -- a list of valid Unix syntax file or directory specs. If Only_Dirs is -- True, then only return directories. function To_Host_Dir_Spec (Canonical_Dir : String; Prefix_Style : Boolean) return String_Access; -- Convert a canonical syntax directory specification to host syntax. The -- Prefix_Style flag is currently ignored but should be set to False. -- Note that the caller must free result. function To_Host_File_Spec (Canonical_File : String) return String_Access; -- Convert a canonical syntax file specification to host syntax function Relocate_Path (Prefix : String; Path : String) return String_Ptr; -- Given an absolute path and a prefix, if Path starts with Prefix, -- replace the Prefix substring with the root installation directory. -- By default, try to compute the root installation directory by looking -- at the executable name as it was typed on the command line and, if -- needed, use the PATH environment variable. If the above computation -- fails, return Path. This function assumes Prefix'First = Path'First. function Shared_Lib (Name : String) return String; -- Returns the runtime shared library in the form -l<name>-<version> where -- version is the GNAT runtime library option for the platform. For example -- this routine called with Name set to "gnat" will return "-lgnat-5.02" -- on UNIX and Windows. --------------------- -- File attributes -- --------------------- -- The following subprograms offer services similar to those found in -- System.OS_Lib, but with the ability to extra multiple information from -- a single system call, depending on the system. This can result in fewer -- system calls when reused. -- In all these subprograms, the requested value is either read from the -- File_Attributes parameter (resulting in no system call), or computed -- from the disk and then cached in the File_Attributes parameter (possibly -- along with other values). File_Attributes_Size : constant Natural := 32; -- This should be big enough to fit a "struct file_attributes" on any -- system. It doesn't cause any malfunction if it is too big (which avoids -- the need for either mapping the struct exactly or importing the sizeof -- from C, which would result in dynamic code). However, it does waste -- space (e.g. when a component of this type appears in a record, if it is -- unnecessarily large). Note: for runtime units, use System.OS_Constants. -- SIZEOF_struct_file_attributes instead, which has the exact value. type File_Attributes is array (1 .. File_Attributes_Size) of System.Storage_Elements.Storage_Element; for File_Attributes'Alignment use Standard'Maximum_Alignment; Unknown_Attributes : File_Attributes; -- A cache for various attributes for a file (length, accessibility,...) -- Will be initialized properly at elaboration (for efficiency later on, -- avoid function calls every time we want to reset the attributes) prior -- to the first usage. We cannot make it constant since the compiler may -- put it in a read-only section. function Is_Directory (Name : C_File_Name; Attr : access File_Attributes) return Boolean; function Is_Regular_File (Name : C_File_Name; Attr : access File_Attributes) return Boolean; function Is_Symbolic_Link (Name : C_File_Name; Attr : access File_Attributes) return Boolean; -- Return the type of the file, function File_Length (Name : C_File_Name; Attr : access File_Attributes) return Long_Integer; -- Return the length (number of bytes) of the file function File_Time_Stamp (Name : C_File_Name; Attr : access File_Attributes) return OS_Time; function File_Time_Stamp (Name : Path_Name_Type; Attr : access File_Attributes) return Time_Stamp_Type; -- Return the time stamp of the file function Is_Readable_File (Name : C_File_Name; Attr : access File_Attributes) return Boolean; function Is_Executable_File (Name : C_File_Name; Attr : access File_Attributes) return Boolean; function Is_Writable_File (Name : C_File_Name; Attr : access File_Attributes) return Boolean; -- Return the access rights for the file ------------------------- -- Search Dir Routines -- ------------------------- function Include_Dir_Default_Prefix return String; -- Return the directory of the run-time library sources, as modified -- by update_path. function Object_Dir_Default_Prefix return String; -- Return the directory of the run-time library ALI and object files, as -- modified by update_path. procedure Add_Default_Search_Dirs; -- This routine adds the default search dirs indicated by the environment -- variables and sdefault package, as well as the library search dirs set -- by option -gnateO for GNAT2WHY. procedure Add_Lib_Search_Dir (Dir : String); -- Add Dir at the end of the library file search path procedure Add_Src_Search_Dir (Dir : String); -- Add Dir at the end of the source file search path procedure Get_Next_Dir_In_Path_Init (Search_Path : String_Access); function Get_Next_Dir_In_Path (Search_Path : String_Access) return String_Access; -- These subprograms are used to parse out the directory names in a search -- path specified by a Search_Path argument. The procedure initializes an -- internal pointer to point to the initial directory name, and calls to -- the function return successive directory names, with a null pointer -- marking the end of the list. type Search_File_Type is (Include, Objects); procedure Add_Search_Dirs (Search_Path : String_Ptr; Path_Type : Search_File_Type); -- These procedure adds all the search directories that are in Search_Path -- in the proper file search path (library or source) function Get_Primary_Src_Search_Directory return String_Ptr; -- Retrieved the primary directory (directory containing the main source -- file for Gnatmake. function Nb_Dir_In_Src_Search_Path return Natural; function Dir_In_Src_Search_Path (Position : Natural) return String_Ptr; -- Functions to access the directory names in the source search path function Nb_Dir_In_Obj_Search_Path return Natural; function Dir_In_Obj_Search_Path (Position : Natural) return String_Ptr; -- Functions to access the directory names in the Object search path Include_Search_File : constant String_Access := new String'("ada_source_path"); Objects_Search_File : constant String_Access := new String'("ada_object_path"); -- Names of the files containing the default include or objects search -- directories. These files, located in Sdefault.Search_Dir_Prefix, do -- not necessarily exist. Exec_Name : String_Ptr; -- Executable name as typed by the user (used to compute the -- executable prefix). function Read_Default_Search_Dirs (Search_Dir_Prefix : String_Access; Search_File : String_Access; Search_Dir_Default_Name : String_Access) return String_Access; -- Read and return the default search directories from the file located -- in Search_Dir_Prefix (as modified by update_path) and named Search_File. -- If no such file exists or an error occurs then instead return the -- Search_Dir_Default_Name (as modified by update_path). function Get_RTS_Search_Dir (Search_Dir : String; File_Type : Search_File_Type) return String_Ptr; -- This function retrieves the paths to the search (resp. lib) dirs and -- return them. The search dir can be absolute or relative. If the search -- dir contains Include_Search_File (resp. Object_Search_File), then this -- function reads and returns the default search directories from the file. -- Otherwise, if the directory is absolute, it will try to find 'adalib' -- (resp. 'adainclude'). If found, null is returned. If the directory is -- relative, the following directories for the directories 'adalib' and -- 'adainclude' will be scanned: -- -- - current directory (from which the tool has been spawned) -- - $GNAT_ROOT/gcc/gcc-lib/$targ/$vers/ -- - $GNAT_ROOT/gcc/gcc-lib/$targ/$vers/rts- -- -- The scan will stop as soon as the directory being searched for (adalib -- or adainclude) is found. If the scan fails, null is returned. ----------------------- -- Source File Input -- ----------------------- -- Source file input routines are used by the compiler to read the main -- source files and the subsidiary source files (e.g. with'ed units), and -- also by the binder to check presence/time stamps of sources. procedure Read_Source_File (N : File_Name_Type; Lo : Source_Ptr; Hi : out Source_Ptr; Src : out Source_Buffer_Ptr; FD : out File_Descriptor; T : File_Type := Source); -- Allocates a Source_Buffer of appropriate length and then reads the -- entire contents of the source file N into the buffer. The address of -- the allocated buffer is returned in Src. FD is used for extended error -- information in the case the read fails. -- -- Each line of text is terminated by one of the sequences: -- -- CR -- CR/LF -- LF -- The source is terminated by an EOF (16#1A#) character, which is the last -- character of the returned source buffer (note that any EOF characters in -- positions other than the last source character are treated as blanks). -- -- The logical lower bound of the source buffer is the input value of Lo, -- and on exit Hi is set to the logical upper bound of the source buffer, -- which is redundant with Src'Last. -- -- If the given file cannot be opened, then the action depends on whether -- this file is the current main unit (i.e. its name matches the name -- returned by the most recent call to Next_Main_Source). If so, then the -- failure to find the file is a fatal error, an error message is output, -- and program execution is terminated. Otherwise (for the case of a -- subsidiary source loaded directly or indirectly using with), a file -- not found condition causes null to be set as the result value and a -- value of No_Source_File (0) to be set as the FD value. In the related -- case of a file with no read permissions the result is the same except FD -- is set to No_Access_To_Source_File (-1). Upon success FD is set to a -- positive Source_File_Index. -- -- Note that the name passed to this function is the simple file name, -- without any directory information. The implementation is responsible -- for searching for the file in the appropriate directories. -- -- Note the special case that if the file name is gnat.adc, then the search -- for the file is done ONLY in the directory corresponding to the current -- compilation environment, i.e. in the same directory where the ali and -- object files will be written. function Full_Source_Name return File_Name_Type; function Current_Source_File_Stamp return Time_Stamp_Type; -- Returns the full name/time stamp of the source file most recently read -- using Read_Source_File. Calling this routine entails no source file -- directory lookup penalty. procedure Full_Source_Name (N : File_Name_Type; Full_File : out File_Name_Type; Attr : access File_Attributes); function Full_Source_Name (N : File_Name_Type) return File_Name_Type; function Source_File_Stamp (N : File_Name_Type) return Time_Stamp_Type; -- Returns the full name/time stamp of the source file whose simple name -- is N which should not include path information. Note that if the file -- cannot be located No_File is returned for the first routine and an all -- blank time stamp is returned for the second (this is not an error -- situation). The full name includes appropriate directory information. -- The source file directory lookup penalty is incurred every single time -- the routines are called unless you have previously called -- Source_File_Data (Cache => True). See below. -- -- The procedural version also returns some file attributes for the ALI -- file (to save on system calls later on). function Current_File_Index return Int; -- Return the index in its source file of the current main unit function Matching_Full_Source_Name (N : File_Name_Type; T : Time_Stamp_Type) return File_Name_Type; -- Same semantics than Full_Source_Name but will search on the source path -- until a source file with time stamp matching T is found. If none is -- found returns No_File. procedure Source_File_Data (Cache : Boolean); -- By default source file data (full source file name and time stamp) -- are looked up every time a call to Full_Source_Name (N) or -- Source_File_Stamp (N) is made. This may be undesirable in certain -- applications as this is uselessly slow if source file data does not -- change during program execution. When this procedure is called with -- Cache => True access to source file data does not incur a penalty if -- this data was previously retrieved. procedure Dump_Source_File_Names; -- Prints out the names of all source files that have been read by -- Read_Source_File, except those that come from the run-time library -- (i.e. Include_Dir_Default_Prefix). The text is sent to whatever Output -- is currently using (e.g. standard output or standard error). procedure Dump_Command_Line_Source_File_Names; -- Prints out the names of all source files on the command-line function Get_First_Main_File_Name return String; -- Return the file name of the first main file ------------------------------------------- -- Representation of Library Information -- ------------------------------------------- -- Associated with each compiled source file is library information, a -- string of bytes whose exact format is described in the body of Lib.Writ. -- Compiling a source file generates this library information for the -- compiled unit, and access the library information for units that were -- compiled previously on which the unit being compiled depends. -- How this information is stored is up to the implementation of this -- package. At the interface level, this information is simply associated -- with its corresponding source. -- Several different implementations are possible: -- 1. The information could be directly associated with the source file, -- e.g. placed in a resource fork of this file on the Mac, or on -- MS-DOS, written to the source file after the end of file mark. -- 2. The information could be written into the generated object module -- if the system supports the inclusion of arbitrary informational -- byte streams into object files. In this case there must be a naming -- convention that allows object files to be located given the name of -- the corresponding source file. -- 3. The information could be written to a separate file, whose name is -- related to the name of the source file by a fixed convention. -- Which of these three methods is chosen depends on the constraints of the -- host operating system. The interface described here is independent of -- which of these approaches is used. Currently all versions of GNAT use -- the third approach with a file name of xxx.ali where xxx is the source -- file name. ------------------------------- -- Library Information Input -- ------------------------------- -- These subprograms are used by the binder to read library information -- files, see section above for representation of these files. function Read_Library_Info (Lib_File : File_Name_Type; Fatal_Err : Boolean := False) return Text_Buffer_Ptr; -- Allocates a Text_Buffer of appropriate length and reads in the entire -- source of the library information from the library information file -- whose name is given by the parameter Name. -- -- See description of Read_Source_File for details on the format of the -- returned text buffer (the format is identical). The lower bound of -- the Text_Buffer is always zero -- -- If the specified file cannot be opened, then the action depends on -- Fatal_Err. If Fatal_Err is True, an error message is given and the -- compilation is abandoned. Otherwise if Fatal_Err is False, then null -- is returned. Note that the Lib_File is a simple name which does not -- include any directory information. The implementation is responsible -- for searching for the file in appropriate directories. -- -- If Opt.Check_Object_Consistency is set to True then this routine checks -- whether the object file corresponding to the Lib_File is consistent with -- it. The object file is inconsistent if the object does not exist or if -- it has an older time stamp than Lib_File. This check is not performed -- when the Lib_File is "locked" (i.e. read/only) because in this case the -- object file may be buried in a library. In case of inconsistencies -- Read_Library_Info behaves as if it did not find Lib_File (namely if -- Fatal_Err is False, null is returned). function Read_Library_Info_From_Full (Full_Lib_File : File_Name_Type; Lib_File_Attr : access File_Attributes; Fatal_Err : Boolean := False) return Text_Buffer_Ptr; -- Same as Read_Library_Info, except Full_Lib_File must contains the full -- path to the library file (instead of having Read_Library_Info recompute -- it). -- Lib_File_Attr should be an initialized set of attributes for the -- library file (it can be initialized to Unknown_Attributes, but in -- general will have been initialized by a previous call to Find_File). function Full_Library_Info_Name return File_Name_Type; function Full_Object_File_Name return File_Name_Type; -- Returns the full name of the library/object file most recently read -- using Read_Library_Info, including appropriate directory information. -- Calling this routine entails no library file directory lookup -- penalty. Note that the object file corresponding to a library file -- is not actually read. Its time stamp is affected when the flag -- Opt.Check_Object_Consistency is set. function Current_Library_File_Stamp return Time_Stamp_Type; function Current_Object_File_Stamp return Time_Stamp_Type; -- The time stamps of the files returned by the previous two routines. -- It is an error to call Current_Object_File_Stamp if -- Opt.Check_Object_Consistency is set to False. procedure Full_Lib_File_Name (N : File_Name_Type; Lib_File : out File_Name_Type; Attr : out File_Attributes); function Full_Lib_File_Name (N : File_Name_Type) return File_Name_Type; -- Returns the full name of library file N. N should not include -- path information. Note that if the file cannot be located No_File is -- returned for the first routine and an all blank time stamp is returned -- for the second (this is not an error situation). The full name includes -- the appropriate directory information. The library file directory lookup -- penalty is incurred every single time this routine is called. -- The procedural version also returns some file attributes for the ALI -- file (to save on system calls later on). function Lib_File_Name (Source_File : File_Name_Type; Munit_Index : Nat := 0) return File_Name_Type; -- Given the name of a source file, returns the name of the corresponding -- library information file. This may be the name of the object file or of -- a separate file used to store the library information. In the current -- implementation, a separate file (the ALI file) is always used. In either -- case the returned result is suitable for calling Read_Library_Info. The -- Munit_Index is the unit index in multiple unit per file mode, or zero in -- normal single unit per file mode (used to add ~nnn suffix). Note: this -- subprogram is in this section because it is used by the compiler to -- determine the proper library information names to be placed in the -- generated library information file. ----------------- -- Termination -- ----------------- Current_Exit_Status : Integer := 0; -- Exit status that is set with procedure OS_Exit_Through_Exception below -- and can be used in exception handler for Types.Terminate_Program to call -- Set_Exit_Status as the last action of the program. procedure OS_Exit_Through_Exception (Status : Integer); pragma No_Return (OS_Exit_Through_Exception); -- Set the Current_Exit_Status, then raise Types.Terminate_Program type Exit_Code_Type is ( E_Success, -- No warnings or errors E_Warnings, -- Compiler warnings generated E_No_Code, -- No code generated E_No_Compile, -- Compilation not needed (smart recompilation) E_Errors, -- Compiler error messages generated E_Fatal, -- Fatal (serious) error, e.g. source file not found E_Abort); -- Internally detected compiler error procedure Exit_Program (Exit_Code : Exit_Code_Type); pragma No_Return (Exit_Program); -- A call to Exit_Program terminates execution with the given status. A -- status of zero indicates normal completion, a non-zero status indicates -- abnormal termination. ------------------------- -- Command Line Access -- ------------------------- -- Direct interface to command line parameters. (We don't want to use -- the predefined command line package because it defines functions -- returning string) function Arg_Count return Natural; pragma Import (C, Arg_Count, "__gnat_arg_count"); -- Get number of arguments (note: optional globbing may be enabled) procedure Fill_Arg (A : System.Address; Arg_Num : Integer); pragma Import (C, Fill_Arg, "__gnat_fill_arg"); -- Store one argument function Len_Arg (Arg_Num : Integer) return Integer; pragma Import (C, Len_Arg, "__gnat_len_arg"); -- Get length of argument ALI_Default_Suffix : constant String_Ptr := new String'("ali"); ALI_Suffix : String_Ptr := ALI_Default_Suffix; -- The suffixes used for the ALI files function Prep_Suffix return String; -- The suffix used for preprocessed files private Current_Main : File_Name_Type := No_File; -- Used to save a simple file name between calls to Next_Main_Source and -- Read_Source_File. If the file name argument to Read_Source_File is -- No_File, that indicates that the file whose name was returned by the -- last call to Next_Main_Source (and stored here) is to be read. Target_Object_Suffix : constant String := Get_Target_Object_Suffix.all; -- The suffix used for the target object files Output_File_Name : File_Name_Type; -- File_Name_Type for name of open file whose FD is in Output_FD, the name -- stored does not include the trailing NUL character. Argument_Count : constant Integer := Arg_Count - 1; -- Number of arguments (excluding program name) type File_Name_Array is array (Int range <>) of String_Ptr; type File_Name_Array_Ptr is access File_Name_Array; File_Names : File_Name_Array_Ptr := new File_Name_Array (1 .. Int (Argument_Count) + 2); -- As arguments are scanned, file names are stored in this array. The -- strings do not have terminating NUL files. The array is extensible, -- because when using project files, there may be more files than -- arguments on the command line. type File_Index_Array is array (Int range <>) of Int; type File_Index_Array_Ptr is access File_Index_Array; File_Indexes : File_Index_Array_Ptr := new File_Index_Array (1 .. Int (Argument_Count) + 2); Current_File_Name_Index : Int := 0; -- The index in File_Names of the last file opened by Next_Main_Source -- or Next_Main_Lib_File. The value 0 indicates that no files have been -- opened yet. procedure Create_File_And_Check (Fdesc : out File_Descriptor; Fmode : Mode); -- Create file whose name (NUL terminated) is in Name_Buffer (with the -- length in Name_Len), and place the resulting descriptor in Fdesc. Issue -- message and exit with fatal error if file cannot be created. The Fmode -- parameter is set to either Text or Binary (for details see description -- of System.OS_Lib.Create_File). procedure Open_File_To_Append_And_Check (Fdesc : out File_Descriptor; Fmode : Mode); -- Opens the file whose name (NUL terminated) is in Name_Buffer (with the -- length in Name_Len), and place the resulting descriptor in Fdesc. Issue -- message and exit with fatal error if file cannot be opened. The Fmode -- parameter is set to either Text or Binary (for details see description -- of System.OS_Lib.Open_Append). type Program_Type is (Compiler, Binder, Make, Gnatls, Unspecified); -- Program currently running procedure Set_Program (P : Program_Type); -- Indicates to the body of Osint the program currently running. This -- procedure is called by the child packages of Osint. A check is made -- that this procedure is not called more than once. function More_Files return Boolean; -- Implements More_Source_Files and More_Lib_Files function Next_Main_File return File_Name_Type; -- Implements Next_Main_Source and Next_Main_Lib_File function Object_File_Name (N : File_Name_Type) return File_Name_Type; -- Constructs the name of the object file corresponding to library file N. -- If N is a full file name than the returned file name will also be a full -- file name. Note that no lookup in the library file directories is done -- for this file. This routine merely constructs the name. procedure Write_Info (Info : String); -- Implements Write_Binder_Info, Write_Debug_Info, and Write_Library_Info procedure Write_With_Check (A : Address; N : Integer); -- Writes N bytes from buffer starting at address A to file whose FD is -- stored in Output_FD, and whose file name is stored as a File_Name_Type -- in Output_File_Name. A check is made for disk full, and if this is -- detected, the file being written is deleted, and a fatal error is -- signalled. end Osint;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . O S _ I N T E R F A C E -- -- -- -- S p e c -- -- -- -- Copyright (C) 1991-1994, Florida State University -- -- Copyright (C) 1995-2012, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- 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. -- -- -- ------------------------------------------------------------------------------ -- This is the HP-UX version of this package -- This package encapsulates all direct interfaces to OS services -- that are needed by the tasking run-time (libgnarl). -- PLEASE DO NOT add any with-clauses to this package or remove the pragma -- Preelaborate. This package is designed to be a bottom-level (leaf) package. with Ada.Unchecked_Conversion; with Interfaces.C; package System.OS_Interface is pragma Preelaborate; pragma Linker_Options ("-lcma"); subtype int is Interfaces.C.int; subtype short is Interfaces.C.short; subtype long is Interfaces.C.long; subtype unsigned is Interfaces.C.unsigned; subtype unsigned_short is Interfaces.C.unsigned_short; subtype unsigned_long is Interfaces.C.unsigned_long; subtype unsigned_char is Interfaces.C.unsigned_char; subtype plain_char is Interfaces.C.plain_char; subtype size_t is Interfaces.C.size_t; ----------- -- Errno -- ----------- function errno return int; pragma Import (C, errno, "__get_errno"); EAGAIN : constant := 11; EINTR : constant := 4; EINVAL : constant := 22; ENOMEM : constant := 12; ETIME : constant := 52; ETIMEDOUT : constant := 238; FUNC_ERR : constant := -1; ------------- -- Signals -- ------------- Max_Interrupt : constant := 44; type Signal is new int range 0 .. Max_Interrupt; for Signal'Size use int'Size; SIGHUP : constant := 1; -- hangup SIGINT : constant := 2; -- interrupt (rubout) SIGQUIT : constant := 3; -- quit (ASCD FS) SIGILL : constant := 4; -- illegal instruction (not reset) SIGTRAP : constant := 5; -- trace trap (not reset) SIGIOT : constant := 6; -- IOT instruction SIGABRT : constant := 6; -- used by abort, replace SIGIOT in the future SIGEMT : constant := 7; -- EMT instruction SIGFPE : constant := 8; -- floating point exception SIGKILL : constant := 9; -- kill (cannot be caught or ignored) SIGBUS : constant := 10; -- bus error SIGSEGV : constant := 11; -- segmentation violation SIGSYS : constant := 12; -- bad argument to system call SIGPIPE : constant := 13; -- write on a pipe with no one to read it SIGALRM : constant := 14; -- alarm clock SIGTERM : constant := 15; -- software termination signal from kill SIGUSR1 : constant := 16; -- user defined signal 1 SIGUSR2 : constant := 17; -- user defined signal 2 SIGCLD : constant := 18; -- alias for SIGCHLD SIGCHLD : constant := 18; -- child status change SIGPWR : constant := 19; -- power-fail restart SIGVTALRM : constant := 20; -- virtual timer alarm SIGPROF : constant := 21; -- profiling timer alarm SIGIO : constant := 22; -- asynchronous I/O SIGPOLL : constant := 22; -- pollable event occurred SIGWINCH : constant := 23; -- window size change SIGSTOP : constant := 24; -- stop (cannot be caught or ignored) SIGTSTP : constant := 25; -- user stop requested from tty SIGCONT : constant := 26; -- stopped process has been continued SIGTTIN : constant := 27; -- background tty read attempted SIGTTOU : constant := 28; -- background tty write attempted SIGURG : constant := 29; -- urgent condition on IO channel SIGLOST : constant := 30; -- remote lock lost (NFS) SIGDIL : constant := 32; -- DIL signal SIGXCPU : constant := 33; -- CPU time limit exceeded (setrlimit) SIGXFSZ : constant := 34; -- file size limit exceeded (setrlimit) SIGADAABORT : constant := SIGABRT; -- Note: on other targets, we usually use SIGABRT, but on HP/UX, it -- appears that SIGABRT can't be used in sigwait(), so we use SIGTERM. type Signal_Set is array (Natural range <>) of Signal; Unmasked : constant Signal_Set := (SIGBUS, SIGTRAP, SIGTTIN, SIGTTOU, SIGTSTP); Reserved : constant Signal_Set := (SIGKILL, SIGSTOP); type sigset_t is private; type isr_address is access procedure (sig : int); pragma Convention (C, isr_address); function intr_attach (sig : int; handler : isr_address) return long; Intr_Attach_Reset : constant Boolean := True; -- True if intr_attach is reset after an interrupt handler is called function sigaddset (set : access sigset_t; sig : Signal) return int; pragma Import (C, sigaddset, "sigaddset"); function sigdelset (set : access sigset_t; sig : Signal) return int; pragma Import (C, sigdelset, "sigdelset"); function sigfillset (set : access sigset_t) return int; pragma Import (C, sigfillset, "sigfillset"); function sigismember (set : access sigset_t; sig : Signal) return int; pragma Import (C, sigismember, "sigismember"); function sigemptyset (set : access sigset_t) return int; pragma Import (C, sigemptyset, "sigemptyset"); type Signal_Handler is access procedure (signo : Signal); type struct_sigaction is record sa_handler : System.Address; sa_mask : sigset_t; sa_flags : int; end record; pragma Convention (C, struct_sigaction); type struct_sigaction_ptr is access all struct_sigaction; SA_RESTART : constant := 16#40#; SA_SIGINFO : constant := 16#10#; SA_ONSTACK : constant := 16#01#; SIG_BLOCK : constant := 0; SIG_UNBLOCK : constant := 1; SIG_SETMASK : constant := 2; SIG_DFL : constant := 0; SIG_IGN : constant := 1; SIG_ERR : constant := -1; function sigaction (sig : Signal; act : struct_sigaction_ptr; oact : struct_sigaction_ptr) return int; pragma Import (C, sigaction, "sigaction"); ---------- -- Time -- ---------- type timespec is private; function nanosleep (rqtp, rmtp : access timespec) return int; pragma Import (C, nanosleep); type clockid_t is new int; function Clock_Gettime (Clock_Id : clockid_t; Tp : access timespec) return int; pragma Import (C, Clock_Gettime); function To_Duration (TS : timespec) return Duration; pragma Inline (To_Duration); function To_Timespec (D : Duration) return timespec; pragma Inline (To_Timespec); ------------------------- -- Priority Scheduling -- ------------------------- SCHED_FIFO : constant := 0; SCHED_RR : constant := 1; SCHED_OTHER : constant := 2; ------------- -- Process -- ------------- type pid_t is private; function kill (pid : pid_t; sig : Signal) return int; pragma Import (C, kill, "kill"); function getpid return pid_t; pragma Import (C, getpid, "getpid"); ------------- -- Threads -- ------------- type Thread_Body is access function (arg : System.Address) return System.Address; pragma Convention (C, Thread_Body); function Thread_Body_Access is new Ada.Unchecked_Conversion (System.Address, Thread_Body); type pthread_t is private; subtype Thread_Id is pthread_t; type pthread_mutex_t is limited private; type pthread_cond_t is limited private; type pthread_attr_t is limited private; type pthread_mutexattr_t is limited private; type pthread_condattr_t is limited private; type pthread_key_t is private; -- Read/Write lock not supported on HPUX. To add support both types -- pthread_rwlock_t and pthread_rwlockattr_t must properly be defined -- with the associated routines pthread_rwlock_[init/destroy] and -- pthread_rwlock_[rdlock/wrlock/unlock]. subtype pthread_rwlock_t is pthread_mutex_t; subtype pthread_rwlockattr_t is pthread_mutexattr_t; ----------- -- Stack -- ----------- function Get_Stack_Base (thread : pthread_t) return Address; pragma Inline (Get_Stack_Base); -- This is a dummy procedure to share some GNULLI files --------------------------------------- -- Nonstandard Thread Initialization -- --------------------------------------- procedure pthread_init; pragma Inline (pthread_init); -- This is a dummy procedure to share some GNULLI files ------------------------- -- POSIX.1c Section 3 -- ------------------------- function sigwait (set : access sigset_t) return int; pragma Import (C, sigwait, "cma_sigwait"); function sigwait (set : access sigset_t; sig : access Signal) return int; pragma Inline (sigwait); -- DCE_THREADS has a nonstandard sigwait function pthread_kill (thread : pthread_t; sig : Signal) return int; pragma Inline (pthread_kill); -- DCE_THREADS doesn't have pthread_kill function pthread_sigmask (how : int; set : access sigset_t; oset : access sigset_t) return int; -- DCE THREADS does not have pthread_sigmask. Instead, it uses sigprocmask -- to do the signal handling when the thread library is sucked in. pragma Import (C, pthread_sigmask, "sigprocmask"); -------------------------- -- POSIX.1c Section 11 -- -------------------------- function pthread_mutexattr_init (attr : access pthread_mutexattr_t) return int; -- DCE_THREADS has a nonstandard pthread_mutexattr_init function pthread_mutexattr_destroy (attr : access pthread_mutexattr_t) return int; -- DCE_THREADS has a nonstandard pthread_mutexattr_destroy function pthread_mutex_init (mutex : access pthread_mutex_t; attr : access pthread_mutexattr_t) return int; -- DCE_THREADS has a nonstandard pthread_mutex_init function pthread_mutex_destroy (mutex : access pthread_mutex_t) return int; -- DCE_THREADS has a nonstandard pthread_mutex_destroy function pthread_mutex_lock (mutex : access pthread_mutex_t) return int; pragma Inline (pthread_mutex_lock); -- DCE_THREADS has nonstandard pthread_mutex_lock function pthread_mutex_unlock (mutex : access pthread_mutex_t) return int; pragma Inline (pthread_mutex_unlock); -- DCE_THREADS has nonstandard pthread_mutex_lock function pthread_condattr_init (attr : access pthread_condattr_t) return int; -- DCE_THREADS has nonstandard pthread_condattr_init function pthread_condattr_destroy (attr : access pthread_condattr_t) return int; -- DCE_THREADS has nonstandard pthread_condattr_destroy function pthread_cond_init (cond : access pthread_cond_t; attr : access pthread_condattr_t) return int; -- DCE_THREADS has nonstandard pthread_cond_init function pthread_cond_destroy (cond : access pthread_cond_t) return int; -- DCE_THREADS has nonstandard pthread_cond_destroy function pthread_cond_signal (cond : access pthread_cond_t) return int; pragma Inline (pthread_cond_signal); -- DCE_THREADS has nonstandard pthread_cond_signal function pthread_cond_wait (cond : access pthread_cond_t; mutex : access pthread_mutex_t) return int; pragma Inline (pthread_cond_wait); -- DCE_THREADS has a nonstandard pthread_cond_wait function pthread_cond_timedwait (cond : access pthread_cond_t; mutex : access pthread_mutex_t; abstime : access timespec) return int; pragma Inline (pthread_cond_timedwait); -- DCE_THREADS has a nonstandard pthread_cond_timedwait -------------------------- -- POSIX.1c Section 13 -- -------------------------- type struct_sched_param is record sched_priority : int; -- scheduling priority end record; function pthread_setschedparam (thread : pthread_t; policy : int; param : access struct_sched_param) return int; pragma Inline (pthread_setschedparam); -- DCE_THREADS has a nonstandard pthread_setschedparam function sched_yield return int; pragma Inline (sched_yield); -- DCE_THREADS has a nonstandard sched_yield --------------------------- -- P1003.1c - Section 16 -- --------------------------- function pthread_attr_init (attributes : access pthread_attr_t) return int; pragma Inline (pthread_attr_init); -- DCE_THREADS has a nonstandard pthread_attr_init function pthread_attr_destroy (attributes : access pthread_attr_t) return int; pragma Inline (pthread_attr_destroy); -- DCE_THREADS has a nonstandard pthread_attr_destroy function pthread_attr_setstacksize (attr : access pthread_attr_t; stacksize : size_t) return int; pragma Inline (pthread_attr_setstacksize); -- DCE_THREADS has a nonstandard pthread_attr_setstacksize function pthread_create (thread : access pthread_t; attributes : access pthread_attr_t; start_routine : Thread_Body; arg : System.Address) return int; pragma Inline (pthread_create); -- DCE_THREADS has a nonstandard pthread_create procedure pthread_detach (thread : access pthread_t); pragma Import (C, pthread_detach); procedure pthread_exit (status : System.Address); pragma Import (C, pthread_exit, "pthread_exit"); function pthread_self return pthread_t; pragma Import (C, pthread_self, "pthread_self"); -------------------------- -- POSIX.1c Section 17 -- -------------------------- function pthread_setspecific (key : pthread_key_t; value : System.Address) return int; pragma Inline (pthread_setspecific); -- DCE_THREADS has a nonstandard pthread_setspecific function pthread_getspecific (key : pthread_key_t) return System.Address; pragma Inline (pthread_getspecific); -- DCE_THREADS has a nonstandard pthread_getspecific type destructor_pointer is access procedure (arg : System.Address); pragma Convention (C, destructor_pointer); function pthread_key_create (key : access pthread_key_t; destructor : destructor_pointer) return int; pragma Inline (pthread_key_create); -- DCE_THREADS has a nonstandard pthread_key_create private type array_type_1 is array (Integer range 0 .. 7) of unsigned_long; type sigset_t is record X_X_sigbits : array_type_1; end record; pragma Convention (C, sigset_t); type pid_t is new int; type time_t is new long; type timespec is record tv_sec : time_t; tv_nsec : long; end record; pragma Convention (C, timespec); CLOCK_REALTIME : constant clockid_t := 1; type cma_t_address is new System.Address; type cma_t_handle is record field1 : cma_t_address; field2 : Short_Integer; field3 : Short_Integer; end record; for cma_t_handle'Size use 64; type pthread_attr_t is new cma_t_handle; pragma Convention (C_Pass_By_Copy, pthread_attr_t); type pthread_condattr_t is new cma_t_handle; pragma Convention (C_Pass_By_Copy, pthread_condattr_t); type pthread_mutexattr_t is new cma_t_handle; pragma Convention (C_Pass_By_Copy, pthread_mutexattr_t); type pthread_t is new cma_t_handle; pragma Convention (C_Pass_By_Copy, pthread_t); type pthread_mutex_t is new cma_t_handle; pragma Convention (C_Pass_By_Copy, pthread_mutex_t); type pthread_cond_t is new cma_t_handle; pragma Convention (C_Pass_By_Copy, pthread_cond_t); type pthread_key_t is new int; end System.OS_Interface;
-- Copyright (c) 2021 Devin Hill -- zlib License -- see LICENSE for details. package GBA.Memory.IO_Registers is pragma Preelaborate; -- Display Registers -- DISPCNT : constant Address := 16#4000000#; GREENSWAP : constant Address := 16#4000002#; DISPSTAT : constant Address := 16#4000004#; VCOUNT : constant Address := 16#4000006#; BG0CNT : constant Address := 16#4000008#; BG1CNT : constant Address := 16#400000A#; BG2CNT : constant Address := 16#400000C#; BG3CNT : constant Address := 16#400000E#; BG0HOFS : constant Address := 16#4000010#; BG0VOFS : constant Address := 16#4000012#; BG1HOFS : constant Address := 16#4000014#; BG1VOFS : constant Address := 16#4000016#; BG2HOFS : constant Address := 16#4000018#; BG2VOFS : constant Address := 16#400001A#; BG3HOFS : constant Address := 16#400001C#; BG3VOFS : constant Address := 16#400001E#; BG2PA : constant Address := 16#4000020#; BG2PB : constant Address := 16#4000022#; BG2PC : constant Address := 16#4000024#; BG2PD : constant Address := 16#4000026#; BG2X : constant Address := 16#4000028#; BG2Y : constant Address := 16#400002C#; BG3PA : constant Address := 16#4000030#; BG3PB : constant Address := 16#4000032#; BG3PC : constant Address := 16#4000034#; BG3PD : constant Address := 16#4000036#; BG3X : constant Address := 16#4000038#; BG3Y : constant Address := 16#400003C#; WIN0H : constant Address := 16#4000040#; WIN1H : constant Address := 16#4000042#; WIN0V : constant Address := 16#4000044#; WIN1V : constant Address := 16#4000046#; WININ : constant Address := 16#4000048#; WINOUT : constant Address := 16#400004A#; MOSAIC : constant Address := 16#400004C#; BLDCNT : constant Address := 16#4000050#; BLDALPHA : constant Address := 16#4000052#; BLDY : constant Address := 16#4000054#; -- Sound Registers -- SOUND1CNT_L : constant Address := 16#4000060#; SOUND1CNT_H : constant Address := 16#4000062#; SOUND1CNT_X : constant Address := 16#4000064#; SOUND2CNT_L : constant Address := 16#4000068#; SOUND2CNT_H : constant Address := 16#400006C#; SOUND3CNT_L : constant Address := 16#4000070#; SOUND3CNT_H : constant Address := 16#4000072#; SOUND3CNT_X : constant Address := 16#4000074#; SOUND4CNT_L : constant Address := 16#4000078#; SOUND4CNT_H : constant Address := 16#400007C#; SOUNDCNT_L : constant Address := 16#4000080#; SOUNDCNT_H : constant Address := 16#4000082#; SOUNDCNT_X : constant Address := 16#4000084#; SOUNDBIAS : constant Address := 16#4000088#; WAVE_RAM : constant Address := 16#4000090#; FIFO_A : constant Address := 16#40000A0#; FIFO_B : constant Address := 16#40000A4#; -- DMA Transfer Registers -- DMA0SAD : constant Address := 16#40000B0#; DMA0DAD : constant Address := 16#40000B4#; DMA0CNT_L : constant Address := 16#40000B8#; DMA0CNT_H : constant Address := 16#40000BA#; DMA1SAD : constant Address := 16#40000BC#; DMA1DAD : constant Address := 16#40000C0#; DMA1CNT_L : constant Address := 16#40000C4#; DMA1CNT_H : constant Address := 16#40000C6#; DMA2SAD : constant Address := 16#40000C8#; DMA2DAD : constant Address := 16#40000CC#; DMA2CNT_L : constant Address := 16#40000D0#; DMA2CNT_H : constant Address := 16#40000D2#; DMA3SAD : constant Address := 16#40000D4#; DMA3DAD : constant Address := 16#40000D8#; DMA3CNT_L : constant Address := 16#40000DC#; DMA3CNT_H : constant Address := 16#40000DE#; -- Timer Registers -- TM0CNT_L : constant Address := 16#4000100#; TM0CNT_H : constant Address := 16#4000102#; TM1CNT_L : constant Address := 16#4000104#; TM1CNT_H : constant Address := 16#4000106#; TM2CNT_L : constant Address := 16#4000108#; TM2CNT_H : constant Address := 16#400010A#; TM3CNT_L : constant Address := 16#400010C#; TM3CNT_H : constant Address := 16#400010E#; -- Serial Communication Registers (1) -- SIODATA32 : constant Address := 16#4000120#; SIOMULTI0 : constant Address := 16#4000120#; SIOMULTI1 : constant Address := 16#4000122#; SIOMULTI2 : constant Address := 16#4000124#; SIOMULTI3 : constant Address := 16#4000126#; SIOCNT : constant Address := 16#4000128#; SIOMLT_SEND : constant Address := 16#400012A#; SIODATA8 : constant Address := 16#400012A#; -- Keypad Input Registers -- KEYINPUT : constant Address := 16#4000130#; KEYCNT : constant Address := 16#4000132#; -- Serial Communication Registers (2) -- RCNT : constant Address := 16#4000134#; JOYCNT : constant Address := 16#4000140#; JOY_RECV : constant Address := 16#4000150#; JOY_TRANS : constant Address := 16#4000154#; JOYSTAT : constant Address := 16#4000158#; -- Interrupt and CPU Control Registers -- IE : constant Address := 16#4000200#; IRF : constant Address := 16#4000202#; WAITCNT : constant Address := 16#4000204#; IME : constant Address := 16#4000208#; POSTFLG : constant Address := 16#4000300#; HALTCNT : constant Address := 16#4000301#; end GBA.Memory.IO_Registers;
-- This package has been generated automatically by GNATtest. -- Do not edit any part of it, see GNATtest documentation for more details. -- begin read only with GNATtest_Generated; package Tk.Frame.Frame_Create_Options_Test_Data.Frame_Create_Options_Tests is type Test_Frame_Create_Options is new GNATtest_Generated.GNATtest_Standard .Tk .Frame .Frame_Create_Options_Test_Data .Test_Frame_Create_Options with null record; procedure Test_Create_32e405_154917 (Gnattest_T: in out Test_Frame_Create_Options); -- tk-frame.ads:147:4:Create:Test_Create_Frame1 procedure Test_Create_ebbdc1_471f4e (Gnattest_T: in out Test_Frame_Create_Options); -- tk-frame.ads:180:4:Create:Test_Create_Frame2 procedure Test_Get_Options_ded36e_ce77f0 (Gnattest_T: in out Test_Frame_Create_Options); -- tk-frame.ads:204:4:Get_Options:Test_Get_Options_Frame end Tk.Frame.Frame_Create_Options_Test_Data.Frame_Create_Options_Tests; -- end read only
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_list_fonts_request_t is -- Item -- type Item is record major_opcode : aliased Interfaces.Unsigned_8; pad0 : aliased Interfaces.Unsigned_8; length : aliased Interfaces.Unsigned_16; max_names : aliased Interfaces.Unsigned_16; pattern_len : aliased Interfaces.Unsigned_16; end record; -- Item_Array -- type Item_Array is array (Interfaces.C.size_t range <>) of aliased xcb.xcb_list_fonts_request_t .Item; -- Pointer -- package C_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_list_fonts_request_t.Item, Element_Array => xcb.xcb_list_fonts_request_t.Item_Array, Default_Terminator => (others => <>)); subtype Pointer is C_Pointers.Pointer; -- Pointer_Array -- type Pointer_Array is array (Interfaces.C.size_t range <>) of aliased xcb.xcb_list_fonts_request_t .Pointer; -- Pointer_Pointer -- package C_Pointer_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_list_fonts_request_t.Pointer, Element_Array => xcb.xcb_list_fonts_request_t.Pointer_Array, Default_Terminator => null); subtype Pointer_Pointer is C_Pointer_Pointers.Pointer; end xcb.xcb_list_fonts_request_t;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S E M _ T Y P E -- -- -- -- B o d y -- -- -- -- $Revision$ -- -- -- Copyright (C) 1992-2001 Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, -- -- MA 02111-1307, USA. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Atree; use Atree; with Debug; use Debug; with Einfo; use Einfo; with Errout; use Errout; with Lib; use Lib; with Opt; use Opt; with Output; use Output; with Sem; use Sem; with Sem_Ch6; use Sem_Ch6; with Sem_Ch8; use Sem_Ch8; with Sem_Util; use Sem_Util; with Stand; use Stand; with Sinfo; use Sinfo; with Snames; use Snames; with Uintp; use Uintp; package body Sem_Type is ------------------------------------- -- Handling of Overload Resolution -- ------------------------------------- -- Overload resolution uses two passes over the syntax tree of a complete -- context. In the first, bottom-up pass, the types of actuals in calls -- are used to resolve possibly overloaded subprogram and operator names. -- In the second top-down pass, the type of the context (for example the -- condition in a while statement) is used to resolve a possibly ambiguous -- call, and the unique subprogram name in turn imposes a specific context -- on each of its actuals. -- Most expressions are in fact unambiguous, and the bottom-up pass is -- sufficient to resolve most everything. To simplify the common case, -- names and expressions carry a flag Is_Overloaded to indicate whether -- they have more than one interpretation. If the flag is off, then each -- name has already a unique meaning and type, and the bottom-up pass is -- sufficient (and much simpler). -------------------------- -- Operator Overloading -- -------------------------- -- The visibility of operators is handled differently from that of -- other entities. We do not introduce explicit versions of primitive -- operators for each type definition. As a result, there is only one -- entity corresponding to predefined addition on all numeric types, etc. -- The back-end resolves predefined operators according to their type. -- The visibility of primitive operations then reduces to the visibility -- of the resulting type: (a + b) is a legal interpretation of some -- primitive operator + if the type of the result (which must also be -- the type of a and b) is directly visible (i.e. either immediately -- visible or use-visible.) -- User-defined operators are treated like other functions, but the -- visibility of these user-defined operations must be special-cased -- to determine whether they hide or are hidden by predefined operators. -- The form P."+" (x, y) requires additional handling. -- -- Concatenation is treated more conventionally: for every one-dimensional -- array type we introduce a explicit concatenation operator. This is -- necessary to handle the case of (element & element => array) which -- cannot be handled conveniently if there is no explicit instance of -- resulting type of the operation. ----------------------- -- Local Subprograms -- ----------------------- procedure All_Overloads; pragma Warnings (Off, All_Overloads); -- Debugging procedure: list full contents of Overloads table. function Universal_Interpretation (Opnd : Node_Id) return Entity_Id; -- Yields universal_Integer or Universal_Real if this is a candidate. function Specific_Type (T1, T2 : Entity_Id) return Entity_Id; -- If T1 and T2 are compatible, return the one that is not -- universal or is not a "class" type (any_character, etc). -------------------- -- Add_One_Interp -- -------------------- procedure Add_One_Interp (N : Node_Id; E : Entity_Id; T : Entity_Id; Opnd_Type : Entity_Id := Empty) is Vis_Type : Entity_Id; procedure Add_Entry (Name : Entity_Id; Typ : Entity_Id); -- Add one interpretation to node. Node is already known to be -- overloaded. Add new interpretation if not hidden by previous -- one, and remove previous one if hidden by new one. function Is_Universal_Operation (Op : Entity_Id) return Boolean; -- True if the entity is a predefined operator and the operands have -- a universal Interpretation. --------------- -- Add_Entry -- --------------- procedure Add_Entry (Name : Entity_Id; Typ : Entity_Id) is Index : Interp_Index; It : Interp; begin Get_First_Interp (N, Index, It); while Present (It.Nam) loop -- A user-defined subprogram hides another declared at an outer -- level, or one that is use-visible. So return if previous -- definition hides new one (which is either in an outer -- scope, or use-visible). Note that for functions use-visible -- is the same as potentially use-visible. If new one hides -- previous one, replace entry in table of interpretations. -- If this is a universal operation, retain the operator in case -- preference rule applies. if (((Ekind (Name) = E_Function or else Ekind (Name) = E_Procedure) and then Ekind (Name) = Ekind (It.Nam)) or else (Ekind (Name) = E_Operator and then Ekind (It.Nam) = E_Function)) and then Is_Immediately_Visible (It.Nam) and then Type_Conformant (Name, It.Nam) and then Base_Type (It.Typ) = Base_Type (T) then if Is_Universal_Operation (Name) then exit; -- If node is an operator symbol, we have no actuals with -- which to check hiding, and this is done in full in the -- caller (Analyze_Subprogram_Renaming) so we include the -- predefined operator in any case. elsif Nkind (N) = N_Operator_Symbol or else (Nkind (N) = N_Expanded_Name and then Nkind (Selector_Name (N)) = N_Operator_Symbol) then exit; elsif not In_Open_Scopes (Scope (Name)) or else Scope_Depth (Scope (Name)) <= Scope_Depth (Scope (It.Nam)) then -- If ambiguity within instance, and entity is not an -- implicit operation, save for later disambiguation. if Scope (Name) = Scope (It.Nam) and then not Is_Inherited_Operation (Name) and then In_Instance then exit; else return; end if; else All_Interp.Table (Index).Nam := Name; return; end if; -- Avoid making duplicate entries in overloads elsif Name = It.Nam and then Base_Type (It.Typ) = Base_Type (T) then return; -- Otherwise keep going else Get_Next_Interp (Index, It); end if; end loop; -- On exit, enter new interpretation. The context, or a preference -- rule, will resolve the ambiguity on the second pass. All_Interp.Table (All_Interp.Last) := (Name, Typ); All_Interp.Increment_Last; All_Interp.Table (All_Interp.Last) := No_Interp; end Add_Entry; ---------------------------- -- Is_Universal_Operation -- ---------------------------- function Is_Universal_Operation (Op : Entity_Id) return Boolean is Arg : Node_Id; begin if Ekind (Op) /= E_Operator then return False; elsif Nkind (N) in N_Binary_Op then return Present (Universal_Interpretation (Left_Opnd (N))) and then Present (Universal_Interpretation (Right_Opnd (N))); elsif Nkind (N) in N_Unary_Op then return Present (Universal_Interpretation (Right_Opnd (N))); elsif Nkind (N) = N_Function_Call then Arg := First_Actual (N); while Present (Arg) loop if No (Universal_Interpretation (Arg)) then return False; end if; Next_Actual (Arg); end loop; return True; else return False; end if; end Is_Universal_Operation; -- Start of processing for Add_One_Interp begin -- If the interpretation is a predefined operator, verify that the -- result type is visible, or that the entity has already been -- resolved (case of an instantiation node that refers to a predefined -- operation, or an internally generated operator node, or an operator -- given as an expanded name). If the operator is a comparison or -- equality, it is the type of the operand that matters to determine -- whether the operator is visible. In an instance, the check is not -- performed, given that the operator was visible in the generic. if Ekind (E) = E_Operator then if Present (Opnd_Type) then Vis_Type := Opnd_Type; else Vis_Type := Base_Type (T); end if; if In_Open_Scopes (Scope (Vis_Type)) or else Is_Potentially_Use_Visible (Vis_Type) or else In_Use (Vis_Type) or else (In_Use (Scope (Vis_Type)) and then not Is_Hidden (Vis_Type)) or else Nkind (N) = N_Expanded_Name or else (Nkind (N) in N_Op and then E = Entity (N)) or else In_Instance then null; -- If the node is given in functional notation and the prefix -- is an expanded name, then the operator is visible if the -- prefix is the scope of the result type as well. If the -- operator is (implicitly) defined in an extension of system, -- it is know to be valid (see Defined_In_Scope, sem_ch4.adb). elsif Nkind (N) = N_Function_Call and then Nkind (Name (N)) = N_Expanded_Name and then (Entity (Prefix (Name (N))) = Scope (Base_Type (T)) or else Entity (Prefix (Name (N))) = Scope (Vis_Type) or else Scope (Vis_Type) = System_Aux_Id) then null; -- Save type for subsequent error message, in case no other -- interpretation is found. else Candidate_Type := Vis_Type; return; end if; -- In an instance, an abstract non-dispatching operation cannot -- be a candidate interpretation, because it could not have been -- one in the generic (it may be a spurious overloading in the -- instance). elsif In_Instance and then Is_Abstract (E) and then not Is_Dispatching_Operation (E) then return; end if; -- If this is the first interpretation of N, N has type Any_Type. -- In that case place the new type on the node. If one interpretation -- already exists, indicate that the node is overloaded, and store -- both the previous and the new interpretation in All_Interp. If -- this is a later interpretation, just add it to the set. if Etype (N) = Any_Type then if Is_Type (E) then Set_Etype (N, T); else -- Record both the operator or subprogram name, and its type. if Nkind (N) in N_Op or else Is_Entity_Name (N) then Set_Entity (N, E); end if; Set_Etype (N, T); end if; -- Either there is no current interpretation in the table for any -- node or the interpretation that is present is for a different -- node. In both cases add a new interpretation to the table. elsif Interp_Map.Last < 0 or else Interp_Map.Table (Interp_Map.Last).Node /= N then New_Interps (N); if (Nkind (N) in N_Op or else Is_Entity_Name (N)) and then Present (Entity (N)) then Add_Entry (Entity (N), Etype (N)); elsif (Nkind (N) = N_Function_Call or else Nkind (N) = N_Procedure_Call_Statement) and then (Nkind (Name (N)) = N_Operator_Symbol or else Is_Entity_Name (Name (N))) then Add_Entry (Entity (Name (N)), Etype (N)); else -- Overloaded prefix in indexed or selected component, -- or call whose name is an expression or another call. Add_Entry (Etype (N), Etype (N)); end if; Add_Entry (E, T); else Add_Entry (E, T); end if; end Add_One_Interp; ------------------- -- All_Overloads -- ------------------- procedure All_Overloads is begin for J in All_Interp.First .. All_Interp.Last loop if Present (All_Interp.Table (J).Nam) then Write_Entity_Info (All_Interp.Table (J). Nam, " "); else Write_Str ("No Interp"); end if; Write_Str ("================="); Write_Eol; end loop; end All_Overloads; --------------------- -- Collect_Interps -- --------------------- procedure Collect_Interps (N : Node_Id) is Ent : constant Entity_Id := Entity (N); H : Entity_Id; First_Interp : Interp_Index; begin New_Interps (N); -- Unconditionally add the entity that was initially matched First_Interp := All_Interp.Last; Add_One_Interp (N, Ent, Etype (N)); -- For expanded name, pick up all additional entities from the -- same scope, since these are obviously also visible. Note that -- these are not necessarily contiguous on the homonym chain. if Nkind (N) = N_Expanded_Name then H := Homonym (Ent); while Present (H) loop if Scope (H) = Scope (Entity (N)) then Add_One_Interp (N, H, Etype (H)); end if; H := Homonym (H); end loop; -- Case of direct name else -- First, search the homonym chain for directly visible entities H := Current_Entity (Ent); while Present (H) loop exit when (not Is_Overloadable (H)) and then Is_Immediately_Visible (H); if Is_Immediately_Visible (H) and then H /= Ent then -- Only add interpretation if not hidden by an inner -- immediately visible one. for J in First_Interp .. All_Interp.Last - 1 loop -- Current homograph is not hidden. Add to overloads. if not Is_Immediately_Visible (All_Interp.Table (J).Nam) then exit; -- Homograph is hidden, unless it is a predefined operator. elsif Type_Conformant (H, All_Interp.Table (J).Nam) then -- A homograph in the same scope can occur within an -- instantiation, the resulting ambiguity has to be -- resolved later. if Scope (H) = Scope (Ent) and then In_Instance and then not Is_Inherited_Operation (H) then All_Interp.Table (All_Interp.Last) := (H, Etype (H)); All_Interp.Increment_Last; All_Interp.Table (All_Interp.Last) := No_Interp; goto Next_Homograph; elsif Scope (H) /= Standard_Standard then goto Next_Homograph; end if; end if; end loop; -- On exit, we know that current homograph is not hidden. Add_One_Interp (N, H, Etype (H)); if Debug_Flag_E then Write_Str ("Add overloaded Interpretation "); Write_Int (Int (H)); Write_Eol; end if; end if; <<Next_Homograph>> H := Homonym (H); end loop; -- Scan list of homographs for use-visible entities only. H := Current_Entity (Ent); while Present (H) loop if Is_Potentially_Use_Visible (H) and then H /= Ent and then Is_Overloadable (H) then for J in First_Interp .. All_Interp.Last - 1 loop if not Is_Immediately_Visible (All_Interp.Table (J).Nam) then exit; elsif Type_Conformant (H, All_Interp.Table (J).Nam) then goto Next_Use_Homograph; end if; end loop; Add_One_Interp (N, H, Etype (H)); end if; <<Next_Use_Homograph>> H := Homonym (H); end loop; end if; if All_Interp.Last = First_Interp + 1 then -- The original interpretation is in fact not overloaded. Set_Is_Overloaded (N, False); end if; end Collect_Interps; ------------ -- Covers -- ------------ function Covers (T1, T2 : Entity_Id) return Boolean is begin pragma Assert (Present (T1) and Present (T2)); -- Simplest case: same types are compatible, and types that have the -- same base type and are not generic actuals are compatible. Generic -- actuals belong to their class but are not compatible with other -- types of their class, and in particular with other generic actuals. -- They are however compatible with their own subtypes, and itypes -- with the same base are compatible as well. Similary, constrained -- subtypes obtained from expressions of an unconstrained nominal type -- are compatible with the base type (may lead to spurious ambiguities -- in obscure cases ???) -- Generic actuals require special treatment to avoid spurious ambi- -- guities in an instance, when two formal types are instantiated with -- the same actual, so that different subprograms end up with the same -- signature in the instance. if T1 = T2 then return True; elsif Base_Type (T1) = Base_Type (T2) then if not Is_Generic_Actual_Type (T1) then return True; else return (not Is_Generic_Actual_Type (T2) or else Is_Itype (T1) or else Is_Itype (T2) or else Is_Constr_Subt_For_U_Nominal (T1) or else Is_Constr_Subt_For_U_Nominal (T2) or else Scope (T1) /= Scope (T2)); end if; -- Literals are compatible with types in a given "class" elsif (T2 = Universal_Integer and then Is_Integer_Type (T1)) or else (T2 = Universal_Real and then Is_Real_Type (T1)) or else (T2 = Universal_Fixed and then Is_Fixed_Point_Type (T1)) or else (T2 = Any_Fixed and then Is_Fixed_Point_Type (T1)) or else (T2 = Any_String and then Is_String_Type (T1)) or else (T2 = Any_Character and then Is_Character_Type (T1)) or else (T2 = Any_Access and then Is_Access_Type (T1)) then return True; -- The context may be class wide. elsif Is_Class_Wide_Type (T1) and then Is_Ancestor (Root_Type (T1), T2) then return True; elsif Is_Class_Wide_Type (T1) and then Is_Class_Wide_Type (T2) and then Base_Type (Etype (T1)) = Base_Type (Etype (T2)) then return True; -- In a dispatching call the actual may be class-wide elsif Is_Class_Wide_Type (T2) and then Base_Type (Root_Type (T2)) = Base_Type (T1) then return True; -- Some contexts require a class of types rather than a specific type elsif (T1 = Any_Integer and then Is_Integer_Type (T2)) or else (T1 = Any_Boolean and then Is_Boolean_Type (T2)) or else (T1 = Any_Real and then Is_Real_Type (T2)) or else (T1 = Any_Fixed and then Is_Fixed_Point_Type (T2)) or else (T1 = Any_Discrete and then Is_Discrete_Type (T2)) then return True; -- An aggregate is compatible with an array or record type elsif T2 = Any_Composite and then Ekind (T1) in E_Array_Type .. E_Record_Subtype then return True; -- If the expected type is an anonymous access, the designated -- type must cover that of the expression. elsif Ekind (T1) = E_Anonymous_Access_Type and then Is_Access_Type (T2) and then Covers (Designated_Type (T1), Designated_Type (T2)) then return True; -- An Access_To_Subprogram is compatible with itself, or with an -- anonymous type created for an attribute reference Access. elsif (Ekind (Base_Type (T1)) = E_Access_Subprogram_Type or else Ekind (Base_Type (T1)) = E_Access_Protected_Subprogram_Type) and then Is_Access_Type (T2) and then (not Comes_From_Source (T1) or else not Comes_From_Source (T2)) and then (Is_Overloadable (Designated_Type (T2)) or else Ekind (Designated_Type (T2)) = E_Subprogram_Type) and then Type_Conformant (Designated_Type (T1), Designated_Type (T2)) and then Mode_Conformant (Designated_Type (T1), Designated_Type (T2)) then return True; elsif Is_Record_Type (T1) and then (Is_Remote_Call_Interface (T1) or else Is_Remote_Types (T1)) and then Present (Corresponding_Remote_Type (T1)) then return Covers (Corresponding_Remote_Type (T1), T2); elsif Ekind (T2) = E_Access_Attribute_Type and then (Ekind (Base_Type (T1)) = E_General_Access_Type or else Ekind (Base_Type (T1)) = E_Access_Type) and then Covers (Designated_Type (T1), Designated_Type (T2)) then -- If the target type is a RACW type while the source is an access -- attribute type, we are building a RACW that may be exported. if Is_Remote_Access_To_Class_Wide_Type (Base_Type (T1)) then Set_Has_RACW (Current_Sem_Unit); end if; return True; elsif Ekind (T2) = E_Allocator_Type and then Is_Access_Type (T1) and then Covers (Designated_Type (T1), Designated_Type (T2)) then return True; -- A boolean operation on integer literals is compatible with a -- modular context. elsif T2 = Any_Modular and then Is_Modular_Integer_Type (T1) then return True; -- The actual type may be the result of a previous error elsif Base_Type (T2) = Any_Type then return True; -- A packed array type covers its corresponding non-packed type. -- This is not legitimate Ada, but allows the omission of a number -- of otherwise useless unchecked conversions, and since this can -- only arise in (known correct) expanded code, no harm is done elsif Is_Array_Type (T2) and then Is_Packed (T2) and then T1 = Packed_Array_Type (T2) then return True; -- Similarly an array type covers its corresponding packed array type elsif Is_Array_Type (T1) and then Is_Packed (T1) and then T2 = Packed_Array_Type (T1) then return True; -- In an instance the proper view may not always be correct for -- private types, but private and full view are compatible. This -- removes spurious errors from nested instantiations that involve, -- among other things, types derived from privated types. elsif In_Instance and then Is_Private_Type (T1) and then ((Present (Full_View (T1)) and then Covers (Full_View (T1), T2)) or else Base_Type (T1) = T2 or else Base_Type (T2) = T1) then return True; -- In the expansion of inlined bodies, types are compatible if they -- are structurally equivalent. elsif In_Inlined_Body and then (Underlying_Type (T1) = Underlying_Type (T2) or else (Is_Access_Type (T1) and then Is_Access_Type (T2) and then Designated_Type (T1) = Designated_Type (T2)) or else (T1 = Any_Access and then Is_Access_Type (Underlying_Type (T2)))) then return True; -- Otherwise it doesn't cover! else return False; end if; end Covers; ------------------ -- Disambiguate -- ------------------ function Disambiguate (N : Node_Id; I1, I2 : Interp_Index; Typ : Entity_Id) return Interp is I : Interp_Index; It : Interp; It1, It2 : Interp; Nam1, Nam2 : Entity_Id; Predef_Subp : Entity_Id; User_Subp : Entity_Id; function Matches (Actual, Formal : Node_Id) return Boolean; -- Look for exact type match in an instance, to remove spurious -- ambiguities when two formal types have the same actual. function Standard_Operator return Boolean; function Remove_Conversions return Interp; -- Last chance for pathological cases involving comparisons on -- literals, and user overloadings of the same operator. Such -- pathologies have been removed from the ACVC, but still appear in -- two DEC tests, with the following notable quote from Ben Brosgol: -- -- [Note: I disclaim all credit/responsibility/blame for coming up with -- this example; Robert Dewar brought it to our attention, since it -- is apparently found in the ACVC 1.5. I did not attempt to find -- the reason in the Reference Manual that makes the example legal, -- since I was too nauseated by it to want to pursue it further.] -- -- Accordingly, this is not a fully recursive solution, but it handles -- DEC tests c460vsa, c460vsb. It also handles ai00136a, which pushes -- pathology in the other direction with calls whose multiple overloaded -- actuals make them truly unresolvable. ------------- -- Matches -- ------------- function Matches (Actual, Formal : Node_Id) return Boolean is T1 : constant Entity_Id := Etype (Actual); T2 : constant Entity_Id := Etype (Formal); begin return T1 = T2 or else (Is_Numeric_Type (T2) and then (T1 = Universal_Real or else T1 = Universal_Integer)); end Matches; ------------------------ -- Remove_Conversions -- ------------------------ function Remove_Conversions return Interp is I : Interp_Index; It : Interp; It1 : Interp; F1 : Entity_Id; Act1 : Node_Id; Act2 : Node_Id; begin It1 := No_Interp; Get_First_Interp (N, I, It); while Present (It.Typ) loop if not Is_Overloadable (It.Nam) then return No_Interp; end if; F1 := First_Formal (It.Nam); if No (F1) then return It1; else if Nkind (N) = N_Function_Call or else Nkind (N) = N_Procedure_Call_Statement then Act1 := First_Actual (N); if Present (Act1) then Act2 := Next_Actual (Act1); else Act2 := Empty; end if; elsif Nkind (N) in N_Unary_Op then Act1 := Right_Opnd (N); Act2 := Empty; elsif Nkind (N) in N_Binary_Op then Act1 := Left_Opnd (N); Act2 := Right_Opnd (N); else return It1; end if; if Nkind (Act1) in N_Op and then Is_Overloaded (Act1) and then (Nkind (Right_Opnd (Act1)) = N_Integer_Literal or else Nkind (Right_Opnd (Act1)) = N_Real_Literal) and then Has_Compatible_Type (Act1, Standard_Boolean) and then Etype (F1) = Standard_Boolean then if It1 /= No_Interp then return No_Interp; elsif Present (Act2) and then Nkind (Act2) in N_Op and then Is_Overloaded (Act2) and then (Nkind (Right_Opnd (Act1)) = N_Integer_Literal or else Nkind (Right_Opnd (Act1)) = N_Real_Literal) and then Has_Compatible_Type (Act2, Standard_Boolean) then -- The preference rule on the first actual is not -- sufficient to disambiguate. goto Next_Interp; else It1 := It; end if; end if; end if; <<Next_Interp>> Get_Next_Interp (I, It); end loop; if Errors_Detected > 0 then -- After some error, a formal may have Any_Type and yield -- a spurious match. To avoid cascaded errors if possible, -- check for such a formal in either candidate. declare Formal : Entity_Id; begin Formal := First_Formal (Nam1); while Present (Formal) loop if Etype (Formal) = Any_Type then return Disambiguate.It2; end if; Next_Formal (Formal); end loop; Formal := First_Formal (Nam2); while Present (Formal) loop if Etype (Formal) = Any_Type then return Disambiguate.It1; end if; Next_Formal (Formal); end loop; end; end if; return It1; end Remove_Conversions; ----------------------- -- Standard_Operator -- ----------------------- function Standard_Operator return Boolean is Nam : Node_Id; begin if Nkind (N) in N_Op then return True; elsif Nkind (N) = N_Function_Call then Nam := Name (N); if Nkind (Nam) /= N_Expanded_Name then return True; else return Entity (Prefix (Nam)) = Standard_Standard; end if; else return False; end if; end Standard_Operator; -- Start of processing for Disambiguate begin -- Recover the two legal interpretations. Get_First_Interp (N, I, It); while I /= I1 loop Get_Next_Interp (I, It); end loop; It1 := It; Nam1 := It.Nam; while I /= I2 loop Get_Next_Interp (I, It); end loop; It2 := It; Nam2 := It.Nam; -- If the context is universal, the predefined operator is preferred. -- This includes bounds in numeric type declarations, and expressions -- in type conversions. If no interpretation yields a universal type, -- then we must check whether the user-defined entity hides the prede- -- fined one. if Chars (Nam1) in Any_Operator_Name and then Standard_Operator then if Typ = Universal_Integer or else Typ = Universal_Real or else Typ = Any_Integer or else Typ = Any_Discrete or else Typ = Any_Real or else Typ = Any_Type then -- Find an interpretation that yields the universal type, or else -- a predefined operator that yields a predefined numeric type. declare Candidate : Interp := No_Interp; begin Get_First_Interp (N, I, It); while Present (It.Typ) loop if (Covers (Typ, It.Typ) or else Typ = Any_Type) and then (It.Typ = Universal_Integer or else It.Typ = Universal_Real) then return It; elsif Covers (Typ, It.Typ) and then Scope (It.Typ) = Standard_Standard and then Scope (It.Nam) = Standard_Standard and then Is_Numeric_Type (It.Typ) then Candidate := It; end if; Get_Next_Interp (I, It); end loop; if Candidate /= No_Interp then return Candidate; end if; end; elsif Chars (Nam1) /= Name_Op_Not and then (Typ = Standard_Boolean or else Typ = Any_Boolean) then -- Equality or comparison operation. Choose predefined operator -- if arguments are universal. The node may be an operator, a -- name, or a function call, so unpack arguments accordingly. declare Arg1, Arg2 : Node_Id; begin if Nkind (N) in N_Op then Arg1 := Left_Opnd (N); Arg2 := Right_Opnd (N); elsif Is_Entity_Name (N) or else Nkind (N) = N_Operator_Symbol then Arg1 := First_Entity (Entity (N)); Arg2 := Next_Entity (Arg1); else Arg1 := First_Actual (N); Arg2 := Next_Actual (Arg1); end if; if Present (Arg2) and then Present (Universal_Interpretation (Arg1)) and then Universal_Interpretation (Arg2) = Universal_Interpretation (Arg1) then Get_First_Interp (N, I, It); while Scope (It.Nam) /= Standard_Standard loop Get_Next_Interp (I, It); end loop; return It; end if; end; end if; end if; -- If no universal interpretation, check whether user-defined operator -- hides predefined one, as well as other special cases. If the node -- is a range, then one or both bounds are ambiguous. Each will have -- to be disambiguated w.r.t. the context type. The type of the range -- itself is imposed by the context, so we can return either legal -- interpretation. if Ekind (Nam1) = E_Operator then Predef_Subp := Nam1; User_Subp := Nam2; elsif Ekind (Nam2) = E_Operator then Predef_Subp := Nam2; User_Subp := Nam1; elsif Nkind (N) = N_Range then return It1; -- If two user defined-subprograms are visible, it is a true ambiguity, -- unless one of them is an entry and the context is a conditional or -- timed entry call, or unless we are within an instance and this is -- results from two formals types with the same actual. else if Nkind (N) = N_Procedure_Call_Statement and then Nkind (Parent (N)) = N_Entry_Call_Alternative and then N = Entry_Call_Statement (Parent (N)) then if Ekind (Nam2) = E_Entry then return It2; elsif Ekind (Nam1) = E_Entry then return It1; else return No_Interp; end if; -- If the ambiguity occurs within an instance, it is due to several -- formal types with the same actual. Look for an exact match -- between the types of the formals of the overloadable entities, -- and the actuals in the call, to recover the unambiguous match -- in the original generic. elsif In_Instance then if (Nkind (N) = N_Function_Call or else Nkind (N) = N_Procedure_Call_Statement) then declare Actual : Node_Id; Formal : Entity_Id; begin Actual := First_Actual (N); Formal := First_Formal (Nam1); while Present (Actual) loop if Etype (Actual) /= Etype (Formal) then return It2; end if; Next_Actual (Actual); Next_Formal (Formal); end loop; return It1; end; elsif Nkind (N) in N_Binary_Op then if Matches (Left_Opnd (N), First_Formal (Nam1)) and then Matches (Right_Opnd (N), Next_Formal (First_Formal (Nam1))) then return It1; else return It2; end if; elsif Nkind (N) in N_Unary_Op then if Etype (Right_Opnd (N)) = Etype (First_Formal (Nam1)) then return It1; else return It2; end if; else return Remove_Conversions; end if; else return Remove_Conversions; end if; end if; -- an implicit concatenation operator on a string type cannot be -- disambiguated from the predefined concatenation. This can only -- happen with concatenation of string literals. if Chars (User_Subp) = Name_Op_Concat and then Ekind (User_Subp) = E_Operator and then Is_String_Type (Etype (First_Formal (User_Subp))) then return No_Interp; -- If the user-defined operator is in an open scope, or in the scope -- of the resulting type, or given by an expanded name that names its -- scope, it hides the predefined operator for the type. Exponentiation -- has to be special-cased because the implicit operator does not have -- a symmetric signature, and may not be hidden by the explicit one. elsif (Nkind (N) = N_Function_Call and then Nkind (Name (N)) = N_Expanded_Name and then (Chars (Predef_Subp) /= Name_Op_Expon or else Hides_Op (User_Subp, Predef_Subp)) and then Scope (User_Subp) = Entity (Prefix (Name (N)))) or else Hides_Op (User_Subp, Predef_Subp) then if It1.Nam = User_Subp then return It1; else return It2; end if; -- Otherwise, the predefined operator has precedence, or if the -- user-defined operation is directly visible we have a true ambiguity. -- If this is a fixed-point multiplication and division in Ada83 mode, -- exclude the universal_fixed operator, which often causes ambiguities -- in legacy code. else if (In_Open_Scopes (Scope (User_Subp)) or else Is_Potentially_Use_Visible (User_Subp)) and then not In_Instance then if Is_Fixed_Point_Type (Typ) and then (Chars (Nam1) = Name_Op_Multiply or else Chars (Nam1) = Name_Op_Divide) and then Ada_83 then if It2.Nam = Predef_Subp then return It1; else return It2; end if; else return No_Interp; end if; elsif It1.Nam = Predef_Subp then return It1; else return It2; end if; end if; end Disambiguate; --------------------- -- End_Interp_List -- --------------------- procedure End_Interp_List is begin All_Interp.Table (All_Interp.Last) := No_Interp; All_Interp.Increment_Last; end End_Interp_List; ------------------------- -- Entity_Matches_Spec -- ------------------------- function Entity_Matches_Spec (Old_S, New_S : Entity_Id) return Boolean is begin -- Simple case: same entity kinds, type conformance is required. -- A parameterless function can also rename a literal. if Ekind (Old_S) = Ekind (New_S) or else (Ekind (New_S) = E_Function and then Ekind (Old_S) = E_Enumeration_Literal) then return Type_Conformant (New_S, Old_S); elsif Ekind (New_S) = E_Function and then Ekind (Old_S) = E_Operator then return Operator_Matches_Spec (Old_S, New_S); elsif Ekind (New_S) = E_Procedure and then Is_Entry (Old_S) then return Type_Conformant (New_S, Old_S); else return False; end if; end Entity_Matches_Spec; ---------------------- -- Find_Unique_Type -- ---------------------- function Find_Unique_Type (L : Node_Id; R : Node_Id) return Entity_Id is I : Interp_Index; It : Interp; T : Entity_Id := Etype (L); TR : Entity_Id := Any_Type; begin if Is_Overloaded (R) then Get_First_Interp (R, I, It); while Present (It.Typ) loop if Covers (T, It.Typ) or else Covers (It.Typ, T) then -- If several interpretations are possible and L is universal, -- apply preference rule. if TR /= Any_Type then if (T = Universal_Integer or else T = Universal_Real) and then It.Typ = T then TR := It.Typ; end if; else TR := It.Typ; end if; end if; Get_Next_Interp (I, It); end loop; Set_Etype (R, TR); -- In the non-overloaded case, the Etype of R is already set -- correctly. else null; end if; -- If one of the operands is Universal_Fixed, the type of the -- other operand provides the context. if Etype (R) = Universal_Fixed then return T; elsif T = Universal_Fixed then return Etype (R); else return Specific_Type (T, Etype (R)); end if; end Find_Unique_Type; ---------------------- -- Get_First_Interp -- ---------------------- procedure Get_First_Interp (N : Node_Id; I : out Interp_Index; It : out Interp) is Int_Ind : Interp_Index; O_N : Node_Id; begin -- If a selected component is overloaded because the selector has -- multiple interpretations, the node is a call to a protected -- operation or an indirect call. Retrieve the interpretation from -- the selector name. The selected component may be overloaded as well -- if the prefix is overloaded. That case is unchanged. if Nkind (N) = N_Selected_Component and then Is_Overloaded (Selector_Name (N)) then O_N := Selector_Name (N); else O_N := N; end if; for Index in 0 .. Interp_Map.Last loop if Interp_Map.Table (Index).Node = O_N then Int_Ind := Interp_Map.Table (Index).Index; It := All_Interp.Table (Int_Ind); I := Int_Ind; return; end if; end loop; -- Procedure should never be called if the node has no interpretations raise Program_Error; end Get_First_Interp; ---------------------- -- Get_Next_Interp -- ---------------------- procedure Get_Next_Interp (I : in out Interp_Index; It : out Interp) is begin I := I + 1; It := All_Interp.Table (I); end Get_Next_Interp; ------------------------- -- Has_Compatible_Type -- ------------------------- function Has_Compatible_Type (N : Node_Id; Typ : Entity_Id) return Boolean is I : Interp_Index; It : Interp; begin if N = Error then return False; end if; if Nkind (N) = N_Subtype_Indication or else not Is_Overloaded (N) then return Covers (Typ, Etype (N)) or else (not Is_Tagged_Type (Typ) and then Ekind (Typ) /= E_Anonymous_Access_Type and then Covers (Etype (N), Typ)); else Get_First_Interp (N, I, It); while Present (It.Typ) loop if Covers (Typ, It.Typ) or else (not Is_Tagged_Type (Typ) and then Ekind (Typ) /= E_Anonymous_Access_Type and then Covers (It.Typ, Typ)) then return True; end if; Get_Next_Interp (I, It); end loop; return False; end if; end Has_Compatible_Type; -------------- -- Hides_Op -- -------------- function Hides_Op (F : Entity_Id; Op : Entity_Id) return Boolean is Btyp : constant Entity_Id := Base_Type (Etype (First_Formal (F))); begin return Operator_Matches_Spec (Op, F) and then (In_Open_Scopes (Scope (F)) or else Scope (F) = Scope (Btyp) or else (not In_Open_Scopes (Scope (Btyp)) and then not In_Use (Btyp) and then not In_Use (Scope (Btyp)))); end Hides_Op; ------------------------ -- Init_Interp_Tables -- ------------------------ procedure Init_Interp_Tables is begin All_Interp.Init; Interp_Map.Init; end Init_Interp_Tables; --------------------- -- Intersect_Types -- --------------------- function Intersect_Types (L, R : Node_Id) return Entity_Id is Index : Interp_Index; It : Interp; Typ : Entity_Id; function Check_Right_Argument (T : Entity_Id) return Entity_Id; -- Find interpretation of right arg that has type compatible with T -------------------------- -- Check_Right_Argument -- -------------------------- function Check_Right_Argument (T : Entity_Id) return Entity_Id is Index : Interp_Index; It : Interp; T2 : Entity_Id; begin if not Is_Overloaded (R) then return Specific_Type (T, Etype (R)); else Get_First_Interp (R, Index, It); loop T2 := Specific_Type (T, It.Typ); if T2 /= Any_Type then return T2; end if; Get_Next_Interp (Index, It); exit when No (It.Typ); end loop; return Any_Type; end if; end Check_Right_Argument; -- Start processing for Intersect_Types begin if Etype (L) = Any_Type or else Etype (R) = Any_Type then return Any_Type; end if; if not Is_Overloaded (L) then Typ := Check_Right_Argument (Etype (L)); else Typ := Any_Type; Get_First_Interp (L, Index, It); while Present (It.Typ) loop Typ := Check_Right_Argument (It.Typ); exit when Typ /= Any_Type; Get_Next_Interp (Index, It); end loop; end if; -- If Typ is Any_Type, it means no compatible pair of types was found if Typ = Any_Type then if Nkind (Parent (L)) in N_Op then Error_Msg_N ("incompatible types for operator", Parent (L)); elsif Nkind (Parent (L)) = N_Range then Error_Msg_N ("incompatible types given in constraint", Parent (L)); else Error_Msg_N ("incompatible types", Parent (L)); end if; end if; return Typ; end Intersect_Types; ----------------- -- Is_Ancestor -- ----------------- function Is_Ancestor (T1, T2 : Entity_Id) return Boolean is Par : Entity_Id; begin if Base_Type (T1) = Base_Type (T2) then return True; elsif Is_Private_Type (T1) and then Present (Full_View (T1)) and then Base_Type (T2) = Base_Type (Full_View (T1)) then return True; else Par := Etype (T2); loop if Base_Type (T1) = Base_Type (Par) or else (Is_Private_Type (T1) and then Present (Full_View (T1)) and then Base_Type (Par) = Base_Type (Full_View (T1))) then return True; elsif Is_Private_Type (Par) and then Present (Full_View (Par)) and then Full_View (Par) = Base_Type (T1) then return True; elsif Etype (Par) /= Par then Par := Etype (Par); else return False; end if; end loop; end if; end Is_Ancestor; ------------------- -- Is_Subtype_Of -- ------------------- function Is_Subtype_Of (T1 : Entity_Id; T2 : Entity_Id) return Boolean is S : Entity_Id; begin S := Ancestor_Subtype (T1); while Present (S) loop if S = T2 then return True; else S := Ancestor_Subtype (S); end if; end loop; return False; end Is_Subtype_Of; ----------------- -- New_Interps -- ----------------- procedure New_Interps (N : Node_Id) is begin Interp_Map.Increment_Last; All_Interp.Increment_Last; Interp_Map.Table (Interp_Map.Last) := (N, All_Interp.Last); All_Interp.Table (All_Interp.Last) := No_Interp; Set_Is_Overloaded (N, True); end New_Interps; --------------------------- -- Operator_Matches_Spec -- --------------------------- function Operator_Matches_Spec (Op, New_S : Entity_Id) return Boolean is Op_Name : constant Name_Id := Chars (Op); T : constant Entity_Id := Etype (New_S); New_F : Entity_Id; Old_F : Entity_Id; Num : Int; T1 : Entity_Id; T2 : Entity_Id; begin -- To verify that a predefined operator matches a given signature, -- do a case analysis of the operator classes. Function can have one -- or two formals and must have the proper result type. New_F := First_Formal (New_S); Old_F := First_Formal (Op); Num := 0; while Present (New_F) and then Present (Old_F) loop Num := Num + 1; Next_Formal (New_F); Next_Formal (Old_F); end loop; -- Definite mismatch if different number of parameters if Present (Old_F) or else Present (New_F) then return False; -- Unary operators elsif Num = 1 then T1 := Etype (First_Formal (New_S)); if Op_Name = Name_Op_Subtract or else Op_Name = Name_Op_Add or else Op_Name = Name_Op_Abs then return Base_Type (T1) = Base_Type (T) and then Is_Numeric_Type (T); elsif Op_Name = Name_Op_Not then return Base_Type (T1) = Base_Type (T) and then Valid_Boolean_Arg (Base_Type (T)); else return False; end if; -- Binary operators else T1 := Etype (First_Formal (New_S)); T2 := Etype (Next_Formal (First_Formal (New_S))); if Op_Name = Name_Op_And or else Op_Name = Name_Op_Or or else Op_Name = Name_Op_Xor then return Base_Type (T1) = Base_Type (T2) and then Base_Type (T1) = Base_Type (T) and then Valid_Boolean_Arg (Base_Type (T)); elsif Op_Name = Name_Op_Eq or else Op_Name = Name_Op_Ne then return Base_Type (T1) = Base_Type (T2) and then not Is_Limited_Type (T1) and then Is_Boolean_Type (T); elsif Op_Name = Name_Op_Lt or else Op_Name = Name_Op_Le or else Op_Name = Name_Op_Gt or else Op_Name = Name_Op_Ge then return Base_Type (T1) = Base_Type (T2) and then Valid_Comparison_Arg (T1) and then Is_Boolean_Type (T); elsif Op_Name = Name_Op_Add or else Op_Name = Name_Op_Subtract then return Base_Type (T1) = Base_Type (T2) and then Base_Type (T1) = Base_Type (T) and then Is_Numeric_Type (T); -- for division and multiplication, a user-defined function does -- not match the predefined universal_fixed operation, except in -- Ada83 mode. elsif Op_Name = Name_Op_Divide then return (Base_Type (T1) = Base_Type (T2) and then Base_Type (T1) = Base_Type (T) and then Is_Numeric_Type (T) and then (not Is_Fixed_Point_Type (T) or else Ada_83)) -- Mixed_Mode operations on fixed-point types. or else (Base_Type (T1) = Base_Type (T) and then Base_Type (T2) = Base_Type (Standard_Integer) and then Is_Fixed_Point_Type (T)) -- A user defined operator can also match (and hide) a mixed -- operation on universal literals. or else (Is_Integer_Type (T2) and then Is_Floating_Point_Type (T1) and then Base_Type (T1) = Base_Type (T)); elsif Op_Name = Name_Op_Multiply then return (Base_Type (T1) = Base_Type (T2) and then Base_Type (T1) = Base_Type (T) and then Is_Numeric_Type (T) and then (not Is_Fixed_Point_Type (T) or else Ada_83)) -- Mixed_Mode operations on fixed-point types. or else (Base_Type (T1) = Base_Type (T) and then Base_Type (T2) = Base_Type (Standard_Integer) and then Is_Fixed_Point_Type (T)) or else (Base_Type (T2) = Base_Type (T) and then Base_Type (T1) = Base_Type (Standard_Integer) and then Is_Fixed_Point_Type (T)) or else (Is_Integer_Type (T2) and then Is_Floating_Point_Type (T1) and then Base_Type (T1) = Base_Type (T)) or else (Is_Integer_Type (T1) and then Is_Floating_Point_Type (T2) and then Base_Type (T2) = Base_Type (T)); elsif Op_Name = Name_Op_Mod or else Op_Name = Name_Op_Rem then return Base_Type (T1) = Base_Type (T2) and then Base_Type (T1) = Base_Type (T) and then Is_Integer_Type (T); elsif Op_Name = Name_Op_Expon then return Base_Type (T1) = Base_Type (T) and then Is_Numeric_Type (T) and then Base_Type (T2) = Base_Type (Standard_Integer); elsif Op_Name = Name_Op_Concat then return Is_Array_Type (T) and then (Base_Type (T) = Base_Type (Etype (Op))) and then (Base_Type (T1) = Base_Type (T) or else Base_Type (T1) = Base_Type (Component_Type (T))) and then (Base_Type (T2) = Base_Type (T) or else Base_Type (T2) = Base_Type (Component_Type (T))); else return False; end if; end if; end Operator_Matches_Spec; ------------------- -- Remove_Interp -- ------------------- procedure Remove_Interp (I : in out Interp_Index) is II : Interp_Index; begin -- Find end of Interp list and copy downward to erase the discarded one II := I + 1; while Present (All_Interp.Table (II).Typ) loop II := II + 1; end loop; for J in I + 1 .. II loop All_Interp.Table (J - 1) := All_Interp.Table (J); end loop; -- Back up interp. index to insure that iterator will pick up next -- available interpretation. I := I - 1; end Remove_Interp; ------------------ -- Save_Interps -- ------------------ procedure Save_Interps (Old_N : Node_Id; New_N : Node_Id) is begin if Is_Overloaded (Old_N) then for Index in 0 .. Interp_Map.Last loop if Interp_Map.Table (Index).Node = Old_N then Interp_Map.Table (Index).Node := New_N; exit; end if; end loop; end if; end Save_Interps; ------------------- -- Specific_Type -- ------------------- function Specific_Type (T1, T2 : Entity_Id) return Entity_Id is B1 : constant Entity_Id := Base_Type (T1); B2 : constant Entity_Id := Base_Type (T2); function Is_Remote_Access (T : Entity_Id) return Boolean; -- Check whether T is the equivalent type of a remote access type. -- If distribution is enabled, T is a legal context for Null. ---------------------- -- Is_Remote_Access -- ---------------------- function Is_Remote_Access (T : Entity_Id) return Boolean is begin return Is_Record_Type (T) and then (Is_Remote_Call_Interface (T) or else Is_Remote_Types (T)) and then Present (Corresponding_Remote_Type (T)) and then Is_Access_Type (Corresponding_Remote_Type (T)); end Is_Remote_Access; -- Start of processing for Specific_Type begin if (T1 = Any_Type or else T2 = Any_Type) then return Any_Type; end if; if B1 = B2 then return B1; elsif (T1 = Universal_Integer and then Is_Integer_Type (T2)) or else (T1 = Universal_Real and then Is_Real_Type (T2)) or else (T1 = Any_Fixed and then Is_Fixed_Point_Type (T2)) then return B2; elsif (T2 = Universal_Integer and then Is_Integer_Type (T1)) or else (T2 = Universal_Real and then Is_Real_Type (T1)) or else (T2 = Any_Fixed and then Is_Fixed_Point_Type (T1)) then return B1; elsif (T2 = Any_String and then Is_String_Type (T1)) then return B1; elsif (T1 = Any_String and then Is_String_Type (T2)) then return B2; elsif (T2 = Any_Character and then Is_Character_Type (T1)) then return B1; elsif (T1 = Any_Character and then Is_Character_Type (T2)) then return B2; elsif (T1 = Any_Access and then (Is_Access_Type (T2) or else Is_Remote_Access (T2))) then return T2; elsif (T2 = Any_Access and then (Is_Access_Type (T1) or else Is_Remote_Access (T1))) then return T1; elsif (T2 = Any_Composite and then Ekind (T1) in E_Array_Type .. E_Record_Subtype) then return T1; elsif (T1 = Any_Composite and then Ekind (T2) in E_Array_Type .. E_Record_Subtype) then return T2; elsif (T1 = Any_Modular and then Is_Modular_Integer_Type (T2)) then return T2; elsif (T2 = Any_Modular and then Is_Modular_Integer_Type (T1)) then return T1; -- Special cases for equality operators (all other predefined -- operators can never apply to tagged types) elsif Is_Class_Wide_Type (T1) and then Is_Ancestor (Root_Type (T1), T2) then return T1; elsif Is_Class_Wide_Type (T2) and then Is_Ancestor (Root_Type (T2), T1) then return T2; elsif (Ekind (B1) = E_Access_Subprogram_Type or else Ekind (B1) = E_Access_Protected_Subprogram_Type) and then Ekind (Designated_Type (B1)) /= E_Subprogram_Type and then Is_Access_Type (T2) then return T2; elsif (Ekind (B2) = E_Access_Subprogram_Type or else Ekind (B2) = E_Access_Protected_Subprogram_Type) and then Ekind (Designated_Type (B2)) /= E_Subprogram_Type and then Is_Access_Type (T1) then return T1; elsif (Ekind (T1) = E_Allocator_Type or else Ekind (T1) = E_Access_Attribute_Type or else Ekind (T1) = E_Anonymous_Access_Type) and then Is_Access_Type (T2) then return T2; elsif (Ekind (T2) = E_Allocator_Type or else Ekind (T2) = E_Access_Attribute_Type or else Ekind (T2) = E_Anonymous_Access_Type) and then Is_Access_Type (T1) then return T1; -- If none of the above cases applies, types are not compatible. else return Any_Type; end if; end Specific_Type; ------------------------------ -- Universal_Interpretation -- ------------------------------ function Universal_Interpretation (Opnd : Node_Id) return Entity_Id is Index : Interp_Index; It : Interp; begin -- The argument may be a formal parameter of an operator or subprogram -- with multiple interpretations, or else an expression for an actual. if Nkind (Opnd) = N_Defining_Identifier or else not Is_Overloaded (Opnd) then if Etype (Opnd) = Universal_Integer or else Etype (Opnd) = Universal_Real then return Etype (Opnd); else return Empty; end if; else Get_First_Interp (Opnd, Index, It); while Present (It.Typ) loop if It.Typ = Universal_Integer or else It.Typ = Universal_Real then return It.Typ; end if; Get_Next_Interp (Index, It); end loop; return Empty; end if; end Universal_Interpretation; ----------------------- -- Valid_Boolean_Arg -- ----------------------- -- In addition to booleans and arrays of booleans, we must include -- aggregates as valid boolean arguments, because in the first pass -- of resolution their components are not examined. If it turns out not -- to be an aggregate of booleans, this will be diagnosed in Resolve. -- Any_Composite must be checked for prior to the array type checks -- because Any_Composite does not have any associated indexes. function Valid_Boolean_Arg (T : Entity_Id) return Boolean is begin return Is_Boolean_Type (T) or else T = Any_Composite or else (Is_Array_Type (T) and then T /= Any_String and then Number_Dimensions (T) = 1 and then Is_Boolean_Type (Component_Type (T)) and then (not Is_Private_Composite (T) or else In_Instance) and then (not Is_Limited_Composite (T) or else In_Instance)) or else Is_Modular_Integer_Type (T) or else T = Universal_Integer; end Valid_Boolean_Arg; -------------------------- -- Valid_Comparison_Arg -- -------------------------- function Valid_Comparison_Arg (T : Entity_Id) return Boolean is begin return Is_Discrete_Type (T) or else Is_Real_Type (T) or else (Is_Array_Type (T) and then Number_Dimensions (T) = 1 and then Is_Discrete_Type (Component_Type (T)) and then (not Is_Private_Composite (T) or else In_Instance) and then (not Is_Limited_Composite (T) or else In_Instance)) or else Is_String_Type (T); end Valid_Comparison_Arg; --------------------- -- Write_Overloads -- --------------------- procedure Write_Overloads (N : Node_Id) is I : Interp_Index; It : Interp; Nam : Entity_Id; begin if not Is_Overloaded (N) then Write_Str ("Non-overloaded entity "); Write_Eol; Write_Entity_Info (Entity (N), " "); else Get_First_Interp (N, I, It); Write_Str ("Overloaded entity "); Write_Eol; Nam := It.Nam; while Present (Nam) loop Write_Entity_Info (Nam, " "); Write_Str ("================="); Write_Eol; Get_Next_Interp (I, It); Nam := It.Nam; end loop; end if; end Write_Overloads; end Sem_Type;
with HAL; use HAL; with STM32.GPIO; use STM32.GPIO; with STM32.Timers; use STM32.Timers; with STM32.PWM; use STM32.PWM; with STM32.CORDIC; use STM32.CORDIC; with STM_Board; use STM_Board; with Inverter_ADC; use Inverter_ADC; package Inverter_PWM is ----------------- -- Definitions -- ----------------- type PWM_Phase is (A, B); -- Each phase of a full bridge circuit. type PWM_Alignment is (Edge, -- Positive edge Center -- Center of positive part ); -- Describes where on the PWM waveform the signals shall be aligned. -- The final maximum amplitude for the sine voltage is defined by the -- maximum sine value, that is 1.0. -- Considering that the battery nominal voltage is 12 Volts, this will -- be the peak AC value, which corresponds to a primary AC RMS voltage -- of 12 V / sqrt(2) = 8.485 V. -- With a minimum battery voltage of 10 V, the minimum AC RMS voltage -- will be 10 V / sqrt(2) = 7.07 V. -- The transformer voltage ratio between the primary and secondary, for -- a maximum output voltage of 230 V RMS, will be 230 V / 7.07 V = 32.5, -- so the turns ratio of the transformer will be (Ns / Np) = 33. subtype Sine_Range is Float range 0.0 .. 1.0; Sine_Amplitude : Sine_Range := 0.0; subtype Duty_Cycle is Float range 0.0 .. 100.0; -- The upload frequency of the duty cycle is defined by the number of points -- for each semi-sinusoid. -- For 50 Hz we have 2 half senoids * 50 Hz * 256 points = 25600 Hz. -- For 60 Hz we have 2 half senoids * 60 Hz * 256 points = 30720 Hz. -- For 400 Hz we have 2 half senoids * 400 Hz * 256 points = 204800 Hz. PWM_Frequency_Hz : Frequency_Hz := 30_720.0; -- for 60 Hz -- Actually the STM32G474 operates at 150 MHz with 150 MHz into Prescaler. -- With (10 - 1) for prescaler we have 15 MHz for counter period, that has -- values of 586, 488 and 73 for 25.597, 30.7377 and 205.479 KHz, that -- will result in 49.99, 60.035 and 401.327 Hz. subtype Deadtime_Range is Float range 0.0 .. 400.0e-9; -- Maximum deadtime permissible is 126 us. -- Maximum deadtime chosen is 1% of the PWM_Frequency_Hz = 0.01/25_000. PWM_Deadtime : constant Deadtime_Range := 166.7e-9; -- The delay exists in the rising edges. -- It depends on the electronic circuit rise and fall times. -- 166.7e-9 * 30 kHz * 100 = 0.5% of the total period. ----------------------------- -- Procedures and function -- ----------------------------- procedure Initialize_CORDIC; -- Enable clock and configure CORDIC coprocessor with sine function. procedure Initialize_PWM (Frequency : Frequency_Hz; Deadtime : Deadtime_Range; Alignment : PWM_Alignment); -- Initialize the timer peripheral for PWM. -- Each phase needs to be enabled manually after this. procedure Enable_Phase (This : PWM_Phase) with inline; -- Enable PWM generation for the specified phase. procedure Disable_Phase (This : PWM_Phase) with inline; -- Disable PWM generation for the specified phase. procedure Start_PWM with Pre => Is_Initialized; -- Start the generation of sinusoid wave by enabling interrupt. procedure Stop_PWM with Pre => Is_Initialized; -- Stop the generation of sinusoid wave by disabling interrupt. function Get_Duty_Resolution return Duty_Cycle; -- Return the minimum step that the duty can be changed, in percent. procedure Set_Duty_Cycle (This : PWM_Phase; Value : Duty_Cycle); -- Sets the duty cycle in percent for the specified phase. procedure Set_Duty_Cycle (This : PWM_Phase; Amplitude : Sine_Range; Gain : Gain_Range); -- Sets the duty cycle for the specified phase. procedure Set_PWM_Gate_Power (Enabled : in Boolean) with Pre => STM_Board.Is_Initialized and (if Enabled then Is_Initialized); -- Enable or disable the output of the gate drivers. This routine must be -- altered in accordance to your hardware because some chips enable with -- True and others with False. procedure Reset_Sine_Step; -- Set the Sine_Step variable to the first angle value, or 0.0 whose -- amplitude value is 0. procedure Safe_State; -- Forces the inverter into a state that is considered safe. -- Typically this disables the PWM generation (all switches off), and -- turns off the power to the gate drivers. function Is_Initialized return Boolean; -- Returns True if the board specifics are initialized. private Initialized : Boolean := False; -- A table for sine generation is produced knowing the number of points -- to complete 1/2 sine period. The sine function goes from 0 to 1 to 0 in -- 1/2 sine period, that corresponds to 0 to Pi/2 to Pi. -- The equation which defines the value of each point is: -- -- D = A * sin(pi * x/N) -- D = Duty cycle at a given discrete point; -- A = Signal amplitude of the maximum duty cycle. We adopt 1. -- pi = 1/2 of the sine period -- x = Step number -- N = Number of points = 256 -- The STM32F474 CPU has hardware acceleration of mathematical functions -- (mainly trigonometric ones), so we benefit of it with sine calculations -- and, instead of using a sine table, we calculate it directly. -- The values introduced into the CORDIC doesn't need the Pi multiplication, -- so Pi corresponds to 1.0 and -Pi corresponds to -1.0. See the definition -- for Fraction_16 and Fraction_32 in the stm32-cordic.ads file. -- The only limitation is that any value introduced into the CORDIC must be -- a multiple of 2**(-31) when using Fraction_32 or 2**(-15) when using -- Fraction_16. Sine_Step_Number : constant Positive := 256; -- Number of steps for the half-sine. Increment : constant Q1_15 := 1.0 / Sine_Step_Number; -- This value must be a multiple of delta (2.0**(-15)). -- The Increment value determine the number of points to complete 1/2 -- sine period, so the interval is between 0.0 and 1.0 (0 to Pi). The -- complete sinusoid or sine period is completed with these same points but -- using the second half-bridge, so it will be 512 points. subtype Sine_Step_Range is Q1_15 range 0.0 .. 1.0 - Increment; -- This range gives exactly 256 x Increment values. -- For sine function, the first argument is the angle, while the second -- argument is the modulus, that in this case doesn't change. Sine_Step : Sine_Step_Range; Modulus : constant UInt16 := 16#7FFF#; -- 1 - 2**(-31) Initial_Step : constant Sine_Step_Range := Sine_Step_Range'Last; -- The initial angle would be the first point after 0.0, and the last point -- would be 1.0. But this CORDIC only accept values between -1.0 and -- 1.0 - 2**(-15), so the last point couldn't be 1.0. Then we choose to -- count down from [1.0 - Increment] to 0.0 and restart this same count down -- for the next semi-senoid. This way we have exactly 256 points for the -- semi-senoid and the last point (0.0) will return a sine value of 0.0. -- Buffers with the data in and out to the CORDIC. Data_In : UInt16_Array := (Q1_15_To_UInt16 (Initial_Step), Modulus); Data_Out : UInt16_Array := (0, 0); PWM_Timer_Ref : access Timer := PWM_Timer'Access; Modulators : array (PWM_Phase'Range) of PWM_Modulator; type Gate_Setting is record Channel : Timer_Channel; Pin_H : GPIO_Point; Pin_L : GPIO_Point; Pin_AF : STM32.GPIO_Alternate_Function; end record; type Gate_Settings is array (PWM_Phase'Range) of Gate_Setting; Gate_Phase_Settings : constant Gate_Settings := ((A) => Gate_Setting'(Channel => PWM_A_Channel, Pin_H => PWM_A_H_Pin, Pin_L => PWM_A_L_Pin, Pin_AF => PWM_A_GPIO_AF), (B) => Gate_Setting'(Channel => PWM_B_Channel, Pin_H => PWM_B_H_Pin, Pin_L => PWM_B_L_Pin, Pin_AF => PWM_B_GPIO_AF)); protected PWM_Handler is pragma Interrupt_Priority (PWM_ISR_Priority); private Counter : Integer := 0; -- For testing the output. Semi_Senoid : Boolean := False; -- Defines False = 1'st half sinusoid, True = 2'nd half sinusoid. procedure PWM_ISR_Handler with Attach_Handler => PWM_Interrupt; end PWM_Handler; end Inverter_PWM;
----------------------------------------------------------------------- -- Util -- Utilities -- Copyright (C) 2009, 2010, 2011, 2012 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Util.Tests; package Util.Properties.Bundles.Tests is procedure Add_Tests (Suite : in Util.Tests.Access_Test_Suite); type Test is new Util.Tests.Test with null record; procedure Test_Bundle (T : in out Test); procedure Test_Bundle_Loader (T : in out Test); -- Test overloading some bundle definition by having incomplete files. procedure Test_Bundle_Overload (T : in out Test); -- Test bundle resolution perf. procedure Test_Bundle_Perf (T : in out Test); end Util.Properties.Bundles.Tests;
with Ada.Text_IO; procedure Euler8 is S : constant String := "7316717653133062491922511967442657474235534919493496983520312774506326239578318016984801869478851843858615607891129494954595017379583319528532088055111254069874715852386305071569329096329522744304355766896648950445244523161731856403098711121722383113622298934233803081353362766142828064444866452387493035890729629049156044077239071381051585930796086670172427121883998797908792274921901699720888093776657273330010533678812202354218097512545405947522435258490771167055601360483958644670632441572215539753697817977846174064955149290862569321978468622482839722413756570560574902614079729686524145351004748216637048440319989000889524345065854122758866688116427171479924442928230863465674813919123162824586178664583591245665294765456828489128831426076900422421902267105562632111110937054421750694165896040807198403850962455444362981230987879927244284909188845801561660979191338754992005240636899125607176060588611646710940507754100225698315520005593572972571636269561882670428252483600823257530420752963450"; N : array (S'Range) of Integer; P : Integer; Max : Integer := 0; begin for I in N'Range loop N(I) := Character'Pos(S(I)) - Character'Pos('0'); end loop; for I in N'First .. N'Last - 5 loop P := N(I) * N(I + 1) * N(I + 2) * N(I + 3) * N(I + 4); if P > Max then Max := P; end if; end loop; Ada.Text_IO.Put_Line(Integer'Image(Max)); end;
--------------------------------- -- GID - Generic Image Decoder -- --------------------------------- -- -- Private child of GID, with helpers for identifying -- image formats and reading header informations. -- private package GID.Headers is -- -- Crude image signature detection -- procedure Load_signature ( image : in out Image_descriptor; try_tga : Boolean:= False ); -- -- Loading of various format's headers (past signature) -- procedure Load_BMP_header (image: in out Image_descriptor); procedure Load_FITS_header (image: in out Image_descriptor); procedure Load_GIF_header (image: in out Image_descriptor); procedure Load_JPEG_header (image: in out Image_descriptor); procedure Load_PNG_header (image: in out Image_descriptor); procedure Load_PNM_header (image: in out Image_descriptor); procedure Load_TGA_header (image: in out Image_descriptor); procedure Load_TIFF_header (image: in out Image_descriptor); end GID.Headers;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, Universidad Politécnica de Madrid -- -- -- -- 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. -- -- -- ------------------------------------------------------------------------------ -- Main procedure of toy ground station system - text terminal version with TM_Receiver; -- TheTM_Receiver package contains the telemetry reception subsystem with TC_Sender; -- The GS_TC package contains the telecommand transmission subsystem with User_Interface; use User_Interface; -- Graphic usser interface - based on gtkada pragma Warnings(Off); with System.IO; -- for debugging purposes pragma Warnings(On); procedure GS is begin pragma Debug(System.IO.Put_Line("--- GS start ---")); -- initialize components TM_Receiver.Init; TC_Sender.Init; User_Interface.Init; end GS;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . A D D R E S S _ T O _ A C C E S S _ C O N V E R S I O N S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2020, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- -- apply solely to the contents of the part following the private keyword. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ generic type Object (<>) is limited private; package System.Address_To_Access_Conversions is pragma Preelaborate; pragma Compile_Time_Warning (Object'Unconstrained_Array, "Object is unconstrained array type" & ASCII.LF & "To_Pointer results may not have bounds"); type Object_Pointer is access all Object; for Object_Pointer'Size use Standard'Address_Size; pragma No_Strict_Aliasing (Object_Pointer); -- Strictly speaking, this routine should not be used to generate pointers -- to other than proper values of the proper type, but in practice, this -- is done all the time. This pragma stops the compiler from doing some -- optimizations that may cause unexpected results based on the assumption -- of no strict aliasing. function To_Pointer (Value : Address) return Object_Pointer; function To_Address (Value : Object_Pointer) return Address; pragma Import (Intrinsic, To_Pointer); pragma Import (Intrinsic, To_Address); end System.Address_To_Access_Conversions;
-- Copyright 2008-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/>. package Pck is package First is IntegerVar : Integer := 48; end First; package Second is IntegerVar : Integer := 74; end Second; procedure Do_Nothing (Val : in out Integer); end Pck;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- S Y S T E M . P A C K _ 6 0 -- -- -- -- 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_60 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_60; 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_60 or SetU_60 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_60 -- ------------ function Get_60 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_60 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_60; ------------- -- GetU_60 -- ------------- function GetU_60 (Arr : System.Address; N : Natural; Rev_SSO : Boolean) return Bits_60 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_60; ------------ -- Set_60 -- ------------ procedure Set_60 (Arr : System.Address; N : Natural; E : Bits_60; 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_60; ------------- -- SetU_60 -- ------------- procedure SetU_60 (Arr : System.Address; N : Natural; E : Bits_60; 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_60; end System.Pack_60;
----------------------------------------------------------------------- -- gen-model -- Model for Code Generator -- Copyright (C) 2009, 2010, 2011, 2012 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Ada.Finalization; with Ada.Strings.Unbounded; with Util.Beans.Basic; with Util.Beans.Objects; with Util.Beans.Objects.Maps; with DOM.Core; package Gen.Model is -- Exception raised if a name is already registered in the model. -- This exception is raised if a table, an enum is already defined. Name_Exist : exception; -- ------------------------------ -- Model Definition -- ------------------------------ type Definition is new Ada.Finalization.Limited_Controlled and Util.Beans.Basic.Readonly_Bean with record Row_Index : Natural; Name : Ada.Strings.Unbounded.Unbounded_String; Attrs : Util.Beans.Objects.Maps.Map_Bean; Comment : Util.Beans.Objects.Object; end record; type Definition_Access is access all Definition'Class; -- Prepare the generation of the model. procedure Prepare (O : in out Definition) is null; -- Get the object unique name. function Get_Name (From : in Definition) return String; -- Get the value identified by the name. -- If the name cannot be found, the method should return the Null object. function Get_Value (From : in Definition; Name : in String) return Util.Beans.Objects.Object; -- Get the value identified by the name. -- If the name cannot be found, the method should return the Null object. function Get_Attribute (From : in Definition; Name : in String) return String; -- Get the value identified by the name. -- If the name cannot be found, the method should return the Null object. function Get_Attribute (From : in Definition; Name : in String) return Ada.Strings.Unbounded.Unbounded_String; -- Set the comment associated with the element. procedure Set_Comment (Def : in out Definition; Comment : in String); -- Initialize the definition from the DOM node attributes. procedure Initialize (Def : in out Definition; Name : in Ada.Strings.Unbounded.Unbounded_String; Node : in DOM.Core.Node); end Gen.Model;
------------------------------------------------------------------------------ -- -- -- GNU ADA RUNTIME 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 -- -- -- -- S p e c -- -- -- -- $Revision: 2 $ -- -- -- -- Copyright (c) 1991,1992,1993,1994, FSU, All Rights Reserved -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU Library General Public License as published by the -- -- Free Software Foundation; either version 2, or (at your option) any -- -- later version. GNARL is distributed in the hope that it will be use- -- -- ful, but but WITHOUT ANY WARRANTY; without even the implied warranty of -- -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Gen- -- -- eral Library Public License for more details. You should have received -- -- a copy of the GNU Library General Public License along with GNARL; see -- -- file COPYING.LIB. If not, write to the Free Software Foundation, 675 -- -- Mass Ave, Cambridge, MA 02139, USA. -- -- -- ------------------------------------------------------------------------------ with System.Compiler_Exceptions; -- Used for, Exception_ID package System.Tasking.Protected_Objects is -- This interface is described in the document -- Gnu Ada Runtime Library Interface (GNARLI). pragma Elaborate_Body (System.Tasking.Protected_Objects); procedure Initialize_Protection (Object : Protection_Access; Ceiling_Priority : Integer; Service_Info : System.Address); -- Initialize the Object parameter so that it can be used by the runtime -- to keep track of the runtime state of a protected object. procedure Finalize_Protection (Object : Protection_Access); -- Remove any remaining calls on entry queues for the corresponding -- object. Deallocate any resources allocated for this object -- by the runtime. procedure Lock (Object : Protection_Access); -- Lock a protected object for write access. Upon return, the caller -- owns the lock to this object, and no other call to Lock or -- Lock_Read_Only with the same argument will return until the -- corresponding call to Unlock has been made by the caller. procedure Lock_Read_Only (Object : Protection_Access); -- Lock a protected object for read access. Upon return, the caller -- owns the lock for read access, and no other calls to Lock -- with the same argument will return until the corresponding call -- to Unlock has been made by the caller. Other cals to Lock_Read_Only -- may (but need not) return before the call to Unlock, and the -- corresponding callers will also own the lock for read access. procedure Unlock (Object : Protection_Access); -- Relinquish ownership of the lock for the object represented by -- the Object parameter. If this ownership was for write access, or -- if it was for read access where there are no other read access -- locks outstanding, one (or more, in the case of Lock_Read_Only) -- of the tasks waiting on this lock (if any) will be given the -- lock and allowed to return from the Lock or Lock_Read_Only call. procedure Protected_Entry_Call (Object : Protection_Access; E : Protected_Entry_Index; Uninterpreted_Data : System.Address; Mode : Call_Modes; Block : out Communication_Block); -- Pend a protected entry call on the protected object represented -- by Object. A pended call is not queued; it may be executed immediately -- or queued, depending on the state of the entry barrier. -- E---The index representing the entry to be called. -- Uninterpreted_Data---This will be returned by Next_Entry_Call -- when this call is serviced. It can be used by the compiler -- to pass information between the caller and the server, in particular -- entry parameters. -- Mode---The kind of call to be pended. -- Block---Information passed between one runtime call and another -- by the compiler. procedure Wait_For_Completion (Block : in out Communication_Block); -- Wait for the completion of a queued protected entry call. -- Block passes information between this and other runtime calls. procedure Wait_Until_Abortable (Block : in out Communication_Block); -- Wait for an entry call to be queued abortably for the first time. -- Block passes information between this and other runtime calls. procedure Cancel_Protected_Entry_Call (Block : in out Communication_Block); -- Attempt to cancel the most recent protected entry call. If the call is -- not queued abortably, wait until it is or until it has completed. -- If the call is actually cancelled, the called object will be -- locked on return from this call. Get_Cancelled (Block) can be -- used to determine if the cancellation took place; there -- may be entries needing service in this case. -- Block passes information between this and other runtime calls. procedure Next_Entry_Call (Object : Protection_Access; Barriers : Barrier_Vector; Uninterpreted_Data : out System.Address; E : out Protected_Entry_Index); -- Determine the next entry call on Object to be serviced. -- If there is a call pending on this object, it will be given -- preference; if a pending call cannot be serviced, it will be -- queued abortably at this point. -- Barriers---A vector of barrier flags indexed by the corresponding -- entry indices. -- Uninterpreted_Data---The value passed in the Protected_Entry_Call -- the Uninterpreted_Data parameter to Protected_Entry_Call when this -- call was pended. -- E---The index of the call to be serviced. procedure Complete_Entry_Body (Object : Protection_Access; Pending_Serviced : out Boolean); -- Indicate to the runtime system that the call most recently returned -- from Next_Entry_Call on Object has been serviced. -- Pending_Serviced---True if the call just completed was a pending -- call, that is, a call that was never queued. procedure Exceptional_Complete_Entry_Body (Object : Protection_Access; Pending_Serviced : out Boolean; Ex : System.Compiler_Exceptions.Exception_ID); -- Perform all of the functions of Complete_Entry_Body. In addition, -- report in Ex the exception whose propagation terminated the entry -- body to the runtime system. procedure Requeue_Protected_Entry (Object : Protection_Access; New_Object : Protection_Access; E : Protected_Entry_Index; With_Abort : Boolean); -- If Object = New_Object, queue the protected entry call on Object -- currently being serviced on the queue corresponding to the entry -- represented by E. -- If Object /= New_Object, pend the protected entry call on -- Object currently being serviced as an entry call to entry E -- of New_Object. -- With_Abort---True if the call is to be queued abortably, false -- otherwise. procedure Requeue_Task_To_Protected_Entry (New_Object : Protection_Access; E : Protected_Entry_Index; With_Abort : Boolean); -- Pend the task entry call currently being serviced as entry E -- on New_Object. -- With_Abort---True if the call is to be queued abortably, false -- otherwise. function Protected_Count (Object : Protection; E : Protected_Entry_Index) return Natural; -- Return the number of entry calls to E on Object. procedure Broadcast_Program_Error (Object : Protection_Access); procedure Raise_Pending_Exception (Block : Communication_Block); -- Raise any exceptions that may have been raised in the runtime, but -- which could not be propagated at that time. end System.Tasking.Protected_Objects;
---------------------------------------------------------------- -- ZLib for Ada thick binding. -- -- -- -- Copyright (C) 2002-2003 Dmitriy Anisimkov -- -- -- -- Open source license information is in the zlib.ads file. -- ---------------------------------------------------------------- -- $Id: zlib-streams.adb,v 1.1 2008/12/19 14:44:49 dkf Exp $ with Ada.Unchecked_Deallocation; package body ZLib.Streams is ----------- -- Close -- ----------- procedure Close (Stream : in out Stream_Type) is procedure Free is new Ada.Unchecked_Deallocation (Stream_Element_Array, Buffer_Access); begin if Stream.Mode = Out_Stream or Stream.Mode = Duplex then -- We should flush the data written by the writer. Flush (Stream, Finish); Close (Stream.Writer); end if; if Stream.Mode = In_Stream or Stream.Mode = Duplex then Close (Stream.Reader); Free (Stream.Buffer); end if; end Close; ------------ -- Create -- ------------ procedure Create (Stream : out Stream_Type; Mode : in Stream_Mode; Back : in Stream_Access; Back_Compressed : in Boolean; Level : in Compression_Level := Default_Compression; Strategy : in Strategy_Type := Default_Strategy; Header : in Header_Type := Default; Read_Buffer_Size : in Ada.Streams.Stream_Element_Offset := Default_Buffer_Size; Write_Buffer_Size : in Ada.Streams.Stream_Element_Offset := Default_Buffer_Size) is subtype Buffer_Subtype is Stream_Element_Array (1 .. Read_Buffer_Size); procedure Init_Filter (Filter : in out Filter_Type; Compress : in Boolean); ----------------- -- Init_Filter -- ----------------- procedure Init_Filter (Filter : in out Filter_Type; Compress : in Boolean) is begin if Compress then Deflate_Init (Filter, Level, Strategy, Header => Header); else Inflate_Init (Filter, Header => Header); end if; end Init_Filter; begin Stream.Back := Back; Stream.Mode := Mode; if Mode = Out_Stream or Mode = Duplex then Init_Filter (Stream.Writer, Back_Compressed); Stream.Buffer_Size := Write_Buffer_Size; else Stream.Buffer_Size := 0; end if; if Mode = In_Stream or Mode = Duplex then Init_Filter (Stream.Reader, not Back_Compressed); Stream.Buffer := new Buffer_Subtype; Stream.Rest_First := Stream.Buffer'Last + 1; Stream.Rest_Last := Stream.Buffer'Last; end if; end Create; ----------- -- Flush -- ----------- procedure Flush (Stream : in out Stream_Type; Mode : in Flush_Mode := Sync_Flush) is Buffer : Stream_Element_Array (1 .. Stream.Buffer_Size); Last : Stream_Element_Offset; begin loop Flush (Stream.Writer, Buffer, Last, Mode); Ada.Streams.Write (Stream.Back.all, Buffer (1 .. Last)); exit when Last < Buffer'Last; end loop; end Flush; ------------- -- Is_Open -- ------------- function Is_Open (Stream : Stream_Type) return Boolean is begin return Is_Open (Stream.Reader) or else Is_Open (Stream.Writer); end Is_Open; ---------- -- Read -- ---------- procedure Read (Stream : in out Stream_Type; Item : out Stream_Element_Array; Last : out Stream_Element_Offset) is procedure Read (Item : out Stream_Element_Array; Last : out Stream_Element_Offset); ---------- -- Read -- ---------- procedure Read (Item : out Stream_Element_Array; Last : out Stream_Element_Offset) is begin Ada.Streams.Read (Stream.Back.all, Item, Last); end Read; procedure Read is new ZLib.Read (Read => Read, Buffer => Stream.Buffer.all, Rest_First => Stream.Rest_First, Rest_Last => Stream.Rest_Last); begin Read (Stream.Reader, Item, Last); end Read; ------------------- -- Read_Total_In -- ------------------- function Read_Total_In (Stream : in Stream_Type) return Count is begin return Total_In (Stream.Reader); end Read_Total_In; -------------------- -- Read_Total_Out -- -------------------- function Read_Total_Out (Stream : in Stream_Type) return Count is begin return Total_Out (Stream.Reader); end Read_Total_Out; ----------- -- Write -- ----------- procedure Write (Stream : in out Stream_Type; Item : in Stream_Element_Array) is procedure Write (Item : in Stream_Element_Array); ----------- -- Write -- ----------- procedure Write (Item : in Stream_Element_Array) is begin Ada.Streams.Write (Stream.Back.all, Item); end Write; procedure Write is new ZLib.Write (Write => Write, Buffer_Size => Stream.Buffer_Size); begin Write (Stream.Writer, Item, No_Flush); end Write; -------------------- -- Write_Total_In -- -------------------- function Write_Total_In (Stream : in Stream_Type) return Count is begin return Total_In (Stream.Writer); end Write_Total_In; --------------------- -- Write_Total_Out -- --------------------- function Write_Total_Out (Stream : in Stream_Type) return Count is begin return Total_Out (Stream.Writer); end Write_Total_Out; end ZLib.Streams;
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- -- -- Terminal_Interface.Curses.Forms.Field_Types.IntField -- -- -- -- S P E C -- -- -- ------------------------------------------------------------------------------ -- Copyright (c) 1998-2003,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.12 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ package Terminal_Interface.Curses.Forms.Field_Types.IntField is pragma Preelaborate (Terminal_Interface.Curses.Forms.Field_Types.IntField); type Integer_Field is new Field_Type with record Precision : Natural; Lower_Limit : Integer; Upper_Limit : Integer; end record; procedure Set_Field_Type (Fld : Field; Typ : Integer_Field); pragma Inline (Set_Field_Type); end Terminal_Interface.Curses.Forms.Field_Types.IntField;
generic Subset_Size, More_Elements: Positive; package Iterate_Subsets is All_Elements: Positive := Subset_Size + More_Elements; subtype Index is Integer range 1 .. All_Elements; type Subset is array (1..Subset_Size) of Index; -- iterate over all subsets of size Subset_Size -- from the set {1, 2, ..., All_Element} function First return Subset; procedure Next(S: in out Subset); function Last(S: Subset) return Boolean; end Iterate_Subsets;
-- MIT License -- Copyright (c) 2021 Stephen Merrony -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -- copies of the Software, and to permit persons to whom the Software is -- furnished to do so, subject to the following conditions: -- The above copyright notice and this permission notice shall be included in all -- copies or substantial portions of the Software. -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -- SOFTWARE. with Ada.Text_IO; use Ada.Text_IO; with Resolver; use Resolver; package body Processor.Eclipse_Op_P is procedure Do_Eclipse_Op (I : in Decoded_Instr_T; CPU : in out CPU_T) is Word : Word_T; Dword : Dword_T; S16 : Integer_16; Shift : Integer; begin case I.Instruction is when I_ADDI => S16 := Word_To_Integer_16(DG_Types.Lower_Word(CPU.AC(I.Ac))); S16 := S16 + Word_To_Integer_16(I.Word_2); CPU.AC(I.Ac) := Dword_T(DG_Types.Integer_16_To_Word(S16)) and 16#0000_ffff#; when I_ADI => Word := DG_Types.Lower_Word (CPU.AC(I.Ac)); Word := Word + Word_T(I.Imm_U16); CPU.AC(I.Ac) := Dword_T(Word); when I_ANDI => Word := DG_Types.Lower_Word (CPU.AC(I.Ac)); CPU.AC(I.Ac) := Dword_T(Word and DG_Types.Integer_16_To_Word(I.Imm_S16)) and 16#0000_ffff#; when I_DHXL => declare D_Plus_1 : AC_ID; begin if I.Ac = 3 then D_Plus_1 := 0; else D_Plus_1 := I.Ac + 1; end if; Dword := Dword_From_Two_Words (DG_Types.Lower_Word(CPU.AC(I.Ac)), DG_Types.Lower_Word(CPU.AC(D_Plus_1))); Dword := Shift_Left (Dword, Natural(I.Imm_U16) * 4); CPU.AC(I.Ac) := Dword_T(DG_Types.Upper_Word (Dword)); CPU.AC(D_Plus_1) := Dword_T(DG_Types.Lower_Word (Dword)); end; when I_DLSH => declare D_Plus_1 : AC_ID; begin if I.Acd = 3 then D_Plus_1 := 0; else D_Plus_1 := I.Acd + 1; end if; Shift := Integer(Byte_To_Integer_8 (Get_Lower_Byte (DG_Types.Lower_Word (CPU.AC(I.Acs))))); Dword := Dword_From_Two_Words (DG_Types.Lower_Word(CPU.AC(I.Acd)), DG_Types.Lower_Word(CPU.AC(D_Plus_1))); if Shift /= 0 then if (Shift < -31) or (Shift > 31) then Dword := 0; else if Shift > 0 then Dword := Shift_Left (Dword, Shift); else Dword := Shift_Right (Dword, Shift * (-1)); end if; end if; end if; CPU.AC(I.Acd) := Dword_T(DG_Types.Upper_Word (Dword)); CPU.AC(D_Plus_1) := Dword_T(DG_Types.Lower_Word (Dword)); end; when I_FXTD => Clear_W_Bit (CPU.PSR, PSR_OVK); Clear_W_Bit (CPU.PSR, PSR_OVR); when I_FXTE => Set_W_Bit (CPU.PSR, PSR_OVK); Clear_W_Bit (CPU.PSR, PSR_OVR); when I_IOR => Word := DG_Types.Lower_Word (CPU.AC(I.Acd)) or DG_Types.Lower_Word (CPU.AC(I.Acs)); CPU.AC(I.Acd) := Dword_T(Word); when I_IORI => Word := DG_Types.Lower_Word (CPU.AC(I.Ac)) or I.Word_2; CPU.AC(I.Ac) := Dword_T(Word); when I_HXL => Dword := Shift_Left (CPU.AC(I.Ac), Integer(I.Imm_U16) * 4); CPU.AC(I.Ac) := Dword and 16#0000_ffff#; when I_HXR => Dword := Shift_Right (CPU.AC(I.Ac), Integer(I.Imm_U16) * 4); CPU.AC(I.Ac) := Dword and 16#0000_ffff#; when I_LSH => Word := DG_Types.Lower_Word (CPU.AC(I.Acd)); Shift := Integer(Byte_To_Integer_8 (Get_Lower_Byte (DG_Types.Lower_Word (CPU.AC(I.Acs))))); if Shift /= 0 then if (Shift < -15) or (Shift > 15) then Word := 0; else if Shift > 0 then Word := Shift_Left (Word, Shift); else Word := Shift_Right (Word, Shift * (-1)); end if; end if; end if; CPU.AC(I.Acd) := Dword_T(Word); when I_SBI => Word := DG_Types.Lower_Word(CPU.AC(I.Ac)); Word := Word - Word_T(I.Imm_U16); CPU.AC(I.Ac) := Dword_T(Word); when I_XCH => DWord := CPU.AC(I.Acs); CPU.AC(I.Acs) := CPU.AC(I.Acd) and 16#0000_ffff#; CPU.AC(I.Acd) := DWord and 16#0000_ffff#; when I_XCT=> -- funkiness ahead... CPU.XCT_Mode := true; CPU.XCT_Opcode := DG_Types.Lower_Word (CPU.AC(I.Ac)); return; -- PC NOT advanced when I_XORI => CPU.AC(I.Ac) := DWord_T(Lower_Word(CPU.AC(I.Ac)) xor I.Word_2); when others => Put_Line ("ERROR: ECLIPSE_OP instruction " & To_String(I.Mnemonic) & " not yet implemented"); raise Execution_Failure with "ERROR: ECLIPSE_OP instruction " & To_String(I.Mnemonic) & " not yet implemented"; end case; CPU.PC := CPU.PC + Phys_Addr_T(I.Instr_Len); end Do_Eclipse_Op; end Processor.Eclipse_Op_P;
--=========================================================================== -- -- This package implements the slave configuration for the Pico -- --=========================================================================== -- -- Copyright 2022 (C) Holger Rodriguez -- -- SPDX-License-Identifier: BSD-3-Clause -- package body SPI_Slave_Pico is ----------------------------------------------------------------------- -- see .ads procedure Initialize is begin SCK.Configure (RP.GPIO.Input, RP.GPIO.Floating, RP.GPIO.SPI); NSS.Configure (RP.GPIO.Input, RP.GPIO.Floating, RP.GPIO.SPI); MOSI.Configure (RP.GPIO.Input, RP.GPIO.Floating, RP.GPIO.SPI); MISO.Configure (RP.GPIO.Output, RP.GPIO.Floating, RP.GPIO.SPI); SPI.Configure (Config); end Initialize; end SPI_Slave_Pico;
package Giza.Bitmap_Fonts.FreeMono18pt7b is Font : constant Giza.Font.Ref_Const; private FreeMono18pt7bBitmaps : aliased constant Font_Bitmap := ( 16#27#, 16#77#, 16#77#, 16#77#, 16#76#, 16#62#, 16#22#, 16#20#, 16#00#, 16#6F#, 16#F6#, 16#F1#, 16#FE#, 16#3F#, 16#C7#, 16#F8#, 16#FF#, 16#1E#, 16#C3#, 16#98#, 16#33#, 16#06#, 16#60#, 16#CC#, 16#18#, 16#04#, 16#20#, 16#10#, 16#80#, 16#42#, 16#01#, 16#08#, 16#04#, 16#20#, 16#10#, 16#80#, 16#42#, 16#01#, 16#10#, 16#04#, 16#41#, 16#FF#, 16#F0#, 16#44#, 16#02#, 16#10#, 16#08#, 16#40#, 16#21#, 16#0F#, 16#FF#, 16#C2#, 16#10#, 16#08#, 16#40#, 16#21#, 16#00#, 16#84#, 16#02#, 16#10#, 16#08#, 16#40#, 16#23#, 16#00#, 16#88#, 16#02#, 16#20#, 16#02#, 16#00#, 16#10#, 16#00#, 16#80#, 16#1F#, 16#A3#, 16#07#, 16#10#, 16#09#, 16#00#, 16#48#, 16#00#, 16#40#, 16#03#, 16#00#, 16#0C#, 16#00#, 16#3C#, 16#00#, 16#1E#, 16#00#, 16#18#, 16#00#, 16#20#, 16#01#, 16#80#, 16#0C#, 16#00#, 16#70#, 16#05#, 16#E0#, 16#C9#, 16#F8#, 16#01#, 16#00#, 16#08#, 16#00#, 16#40#, 16#02#, 16#00#, 16#10#, 16#00#, 16#1E#, 16#00#, 16#42#, 16#01#, 16#02#, 16#02#, 16#04#, 16#04#, 16#08#, 16#08#, 16#10#, 16#08#, 16#40#, 16#0F#, 16#00#, 16#00#, 16#1E#, 16#01#, 16#F0#, 16#1F#, 16#01#, 16#E0#, 16#0E#, 16#00#, 16#00#, 16#3C#, 16#00#, 16#86#, 16#02#, 16#06#, 16#04#, 16#04#, 16#08#, 16#08#, 16#10#, 16#30#, 16#10#, 16#C0#, 16#1E#, 16#00#, 16#0F#, 16#C1#, 16#00#, 16#20#, 16#02#, 16#00#, 16#20#, 16#02#, 16#00#, 16#10#, 16#01#, 16#00#, 16#08#, 16#03#, 16#C0#, 16#6C#, 16#3C#, 16#62#, 16#83#, 16#68#, 16#34#, 16#81#, 16#CC#, 16#08#, 16#61#, 16#C3#, 16#E7#, 16#FF#, 16#FF#, 16#F6#, 16#66#, 16#66#, 16#08#, 16#C4#, 16#62#, 16#31#, 16#8C#, 16#C6#, 16#31#, 16#8C#, 16#63#, 16#18#, 16#C3#, 16#18#, 16#C2#, 16#18#, 16#C3#, 16#18#, 16#86#, 16#10#, 16#C2#, 16#18#, 16#C6#, 16#10#, 16#C6#, 16#31#, 16#8C#, 16#63#, 16#18#, 16#8C#, 16#62#, 16#31#, 16#98#, 16#80#, 16#02#, 16#00#, 16#10#, 16#00#, 16#80#, 16#04#, 16#0C#, 16#21#, 16#9D#, 16#70#, 16#1C#, 16#00#, 16#A0#, 16#0D#, 16#80#, 16#C6#, 16#04#, 16#10#, 16#40#, 16#80#, 16#01#, 16#00#, 16#02#, 16#00#, 16#04#, 16#00#, 16#08#, 16#00#, 16#10#, 16#00#, 16#20#, 16#00#, 16#40#, 16#00#, 16#80#, 16#FF#, 16#FE#, 16#02#, 16#00#, 16#04#, 16#00#, 16#08#, 16#00#, 16#10#, 16#00#, 16#20#, 16#00#, 16#40#, 16#00#, 16#80#, 16#01#, 16#00#, 16#3E#, 16#78#, 16#F1#, 16#C7#, 16#8E#, 16#18#, 16#70#, 16#C1#, 16#80#, 16#FF#, 16#FE#, 16#77#, 16#FF#, 16#F7#, 16#00#, 16#00#, 16#08#, 16#00#, 16#C0#, 16#04#, 16#00#, 16#60#, 16#02#, 16#00#, 16#30#, 16#01#, 16#00#, 16#18#, 16#00#, 16#80#, 16#0C#, 16#00#, 16#40#, 16#02#, 16#00#, 16#20#, 16#01#, 16#00#, 16#10#, 16#00#, 16#80#, 16#08#, 16#00#, 16#40#, 16#04#, 16#00#, 16#20#, 16#02#, 16#00#, 16#10#, 16#01#, 16#00#, 16#08#, 16#00#, 16#80#, 16#04#, 16#00#, 16#00#, 16#0F#, 16#81#, 16#82#, 16#08#, 16#08#, 16#80#, 16#24#, 16#01#, 16#60#, 16#0E#, 16#00#, 16#30#, 16#01#, 16#80#, 16#0C#, 16#00#, 16#60#, 16#03#, 16#00#, 16#18#, 16#00#, 16#C0#, 16#06#, 16#00#, 16#30#, 16#03#, 16#40#, 16#12#, 16#00#, 16#88#, 16#08#, 16#60#, 16#C0#, 16#F8#, 16#00#, 16#06#, 16#00#, 16#70#, 16#06#, 16#80#, 16#64#, 16#06#, 16#20#, 16#21#, 16#00#, 16#08#, 16#00#, 16#40#, 16#02#, 16#00#, 16#10#, 16#00#, 16#80#, 16#04#, 16#00#, 16#20#, 16#01#, 16#00#, 16#08#, 16#00#, 16#40#, 16#02#, 16#00#, 16#10#, 16#00#, 16#80#, 16#04#, 16#0F#, 16#FF#, 16#80#, 16#0F#, 16#80#, 16#C3#, 16#08#, 16#04#, 16#80#, 16#24#, 16#00#, 16#80#, 16#04#, 16#00#, 16#20#, 16#02#, 16#00#, 16#10#, 16#01#, 16#00#, 16#10#, 16#01#, 16#80#, 16#18#, 16#01#, 16#80#, 16#18#, 16#01#, 16#80#, 16#18#, 16#01#, 16#80#, 16#58#, 16#03#, 16#80#, 16#1F#, 16#FF#, 16#80#, 16#0F#, 16#C0#, 16#C0#, 16#86#, 16#01#, 16#00#, 16#02#, 16#00#, 16#08#, 16#00#, 16#20#, 16#00#, 16#80#, 16#04#, 16#00#, 16#20#, 16#0F#, 16#00#, 16#06#, 16#00#, 16#04#, 16#00#, 16#08#, 16#00#, 16#10#, 16#00#, 16#40#, 16#01#, 16#00#, 16#04#, 16#00#, 16#2C#, 16#01#, 16#9C#, 16#0C#, 16#0F#, 16#C0#, 16#01#, 16#C0#, 16#14#, 16#02#, 16#40#, 16#24#, 16#04#, 16#40#, 16#44#, 16#08#, 16#41#, 16#04#, 16#10#, 16#42#, 16#04#, 16#20#, 16#44#, 16#04#, 16#40#, 16#48#, 16#04#, 16#FF#, 16#F0#, 16#04#, 16#00#, 16#40#, 16#04#, 16#00#, 16#40#, 16#04#, 16#07#, 16#F0#, 16#3F#, 16#F0#, 16#80#, 16#02#, 16#00#, 16#08#, 16#00#, 16#20#, 16#00#, 16#80#, 16#02#, 16#00#, 16#0B#, 16#F0#, 16#30#, 16#30#, 16#00#, 16#60#, 16#00#, 16#80#, 16#01#, 16#00#, 16#04#, 16#00#, 16#10#, 16#00#, 16#40#, 16#01#, 16#00#, 16#0E#, 16#00#, 16#2C#, 16#01#, 16#0C#, 16#18#, 16#0F#, 16#C0#, 16#01#, 16#F0#, 16#60#, 16#18#, 16#03#, 16#00#, 16#20#, 16#04#, 16#00#, 16#40#, 16#0C#, 16#00#, 16#80#, 16#08#, 16#F8#, 16#98#, 16#4A#, 16#02#, 16#E0#, 16#3C#, 16#01#, 16#80#, 16#14#, 16#01#, 16#40#, 16#14#, 16#03#, 16#20#, 16#21#, 16#0C#, 16#0F#, 16#80#, 16#FF#, 16#F8#, 16#01#, 16#80#, 16#18#, 16#01#, 16#00#, 16#20#, 16#02#, 16#00#, 16#20#, 16#04#, 16#00#, 16#40#, 16#04#, 16#00#, 16#C0#, 16#08#, 16#00#, 16#80#, 16#08#, 16#01#, 16#00#, 16#10#, 16#01#, 16#00#, 16#30#, 16#02#, 16#00#, 16#20#, 16#02#, 16#00#, 16#0F#, 16#81#, 16#83#, 16#10#, 16#05#, 16#80#, 16#38#, 16#00#, 16#C0#, 16#06#, 16#00#, 16#30#, 16#03#, 16#40#, 16#11#, 16#83#, 16#07#, 16#F0#, 16#60#, 16#C4#, 16#01#, 16#60#, 16#0E#, 16#00#, 16#30#, 16#01#, 16#80#, 16#0E#, 16#00#, 16#D0#, 16#04#, 16#60#, 16#C1#, 16#FC#, 16#00#, 16#1F#, 16#03#, 16#08#, 16#40#, 16#4C#, 16#02#, 16#80#, 16#28#, 16#02#, 16#80#, 16#18#, 16#03#, 16#C0#, 16#74#, 16#05#, 16#21#, 16#91#, 16#F1#, 16#00#, 16#10#, 16#03#, 16#00#, 16#20#, 16#02#, 16#00#, 16#40#, 16#0C#, 16#01#, 16#80#, 16#60#, 16#F8#, 16#00#, 16#77#, 16#FF#, 16#F7#, 16#00#, 16#00#, 16#00#, 16#1D#, 16#FF#, 16#FD#, 16#C0#, 16#1C#, 16#7C#, 16#F9#, 16#F1#, 16#C0#, 16#00#, 16#00#, 16#00#, 16#00#, 16#F1#, 16#E3#, 16#8F#, 16#1C#, 16#38#, 16#E1#, 16#C3#, 16#06#, 16#00#, 16#00#, 16#06#, 16#00#, 16#18#, 16#00#, 16#E0#, 16#07#, 16#00#, 16#38#, 16#01#, 16#C0#, 16#06#, 16#00#, 16#38#, 16#00#, 16#E0#, 16#00#, 16#70#, 16#00#, 16#38#, 16#00#, 16#18#, 16#00#, 16#1C#, 16#00#, 16#0E#, 16#00#, 16#07#, 16#00#, 16#03#, 16#FF#, 16#FF#, 16#80#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#07#, 16#FF#, 16#FC#, 16#C0#, 16#00#, 16#E0#, 16#00#, 16#E0#, 16#00#, 16#70#, 16#00#, 16#38#, 16#00#, 16#1C#, 16#00#, 16#0E#, 16#00#, 16#0E#, 16#00#, 16#0E#, 16#00#, 16#70#, 16#03#, 16#80#, 16#0C#, 16#00#, 16#70#, 16#03#, 16#80#, 16#1C#, 16#00#, 16#60#, 16#00#, 16#3F#, 16#8E#, 16#0C#, 16#80#, 16#28#, 16#01#, 16#80#, 16#10#, 16#01#, 16#00#, 16#10#, 16#02#, 16#00#, 16#C0#, 16#38#, 16#06#, 16#00#, 16#40#, 16#04#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#0E#, 16#01#, 16#F0#, 16#1F#, 16#00#, 16#E0#, 16#0F#, 16#01#, 16#86#, 16#08#, 16#08#, 16#80#, 16#24#, 16#01#, 16#40#, 16#0A#, 16#00#, 16#50#, 16#1E#, 16#83#, 16#14#, 16#20#, 16#A2#, 16#05#, 16#10#, 16#28#, 16#81#, 16#46#, 16#0A#, 16#18#, 16#50#, 16#3F#, 16#80#, 16#04#, 16#00#, 16#10#, 16#00#, 16#80#, 16#02#, 16#00#, 16#18#, 16#18#, 16#3F#, 16#00#, 16#1F#, 16#F0#, 16#00#, 16#06#, 16#80#, 16#00#, 16#34#, 16#00#, 16#01#, 16#30#, 16#00#, 16#18#, 16#80#, 16#00#, 16#86#, 16#00#, 16#04#, 16#30#, 16#00#, 16#60#, 16#80#, 16#02#, 16#06#, 16#00#, 16#10#, 16#10#, 16#01#, 16#80#, 16#80#, 16#08#, 16#06#, 16#00#, 16#7F#, 16#F0#, 16#06#, 16#00#, 16#80#, 16#20#, 16#06#, 16#01#, 16#00#, 16#10#, 16#18#, 16#00#, 16#C0#, 16#80#, 16#06#, 16#04#, 16#00#, 16#11#, 16#FC#, 16#0F#, 16#F0#, 16#FF#, 16#F8#, 16#04#, 16#01#, 16#01#, 16#00#, 16#20#, 16#40#, 16#04#, 16#10#, 16#01#, 16#04#, 16#00#, 16#41#, 16#00#, 16#10#, 16#40#, 16#08#, 16#10#, 16#0C#, 16#07#, 16#FF#, 16#01#, 16#00#, 16#70#, 16#40#, 16#06#, 16#10#, 16#00#, 16#84#, 16#00#, 16#11#, 16#00#, 16#04#, 16#40#, 16#01#, 16#10#, 16#00#, 16#44#, 16#00#, 16#21#, 16#00#, 16#33#, 16#FF#, 16#F8#, 16#03#, 16#F1#, 16#06#, 16#0E#, 16#8C#, 16#01#, 16#C4#, 16#00#, 16#64#, 16#00#, 16#12#, 16#00#, 16#0A#, 16#00#, 16#01#, 16#00#, 16#00#, 16#80#, 16#00#, 16#40#, 16#00#, 16#20#, 16#00#, 16#10#, 16#00#, 16#08#, 16#00#, 16#04#, 16#00#, 16#01#, 16#00#, 16#00#, 16#80#, 16#00#, 16#20#, 16#01#, 16#88#, 16#01#, 16#83#, 16#03#, 16#80#, 16#7E#, 16#00#, 16#FF#, 16#E0#, 16#20#, 16#18#, 16#20#, 16#0C#, 16#20#, 16#04#, 16#20#, 16#02#, 16#20#, 16#02#, 16#20#, 16#01#, 16#20#, 16#01#, 16#20#, 16#01#, 16#20#, 16#01#, 16#20#, 16#01#, 16#20#, 16#01#, 16#20#, 16#01#, 16#20#, 16#01#, 16#20#, 16#02#, 16#20#, 16#02#, 16#20#, 16#04#, 16#20#, 16#0C#, 16#20#, 16#18#, 16#FF#, 16#E0#, 16#FF#, 16#FF#, 16#08#, 16#00#, 16#84#, 16#00#, 16#42#, 16#00#, 16#21#, 16#00#, 16#10#, 16#80#, 16#00#, 16#40#, 16#00#, 16#20#, 16#40#, 16#10#, 16#20#, 16#0F#, 16#F0#, 16#04#, 16#08#, 16#02#, 16#04#, 16#01#, 16#00#, 16#00#, 16#80#, 16#00#, 16#40#, 16#02#, 16#20#, 16#01#, 16#10#, 16#00#, 16#88#, 16#00#, 16#44#, 16#00#, 16#3F#, 16#FF#, 16#F0#, 16#FF#, 16#FF#, 16#88#, 16#00#, 16#44#, 16#00#, 16#22#, 16#00#, 16#11#, 16#00#, 16#08#, 16#80#, 16#00#, 16#40#, 16#00#, 16#20#, 16#40#, 16#10#, 16#20#, 16#0F#, 16#F0#, 16#04#, 16#08#, 16#02#, 16#04#, 16#01#, 16#00#, 16#00#, 16#80#, 16#00#, 16#40#, 16#00#, 16#20#, 16#00#, 16#10#, 16#00#, 16#08#, 16#00#, 16#04#, 16#00#, 16#1F#, 16#F8#, 16#00#, 16#03#, 16#F9#, 16#06#, 16#07#, 16#84#, 16#00#, 16#C4#, 16#00#, 16#24#, 16#00#, 16#12#, 16#00#, 16#02#, 16#00#, 16#01#, 16#00#, 16#00#, 16#80#, 16#00#, 16#40#, 16#00#, 16#20#, 16#00#, 16#10#, 16#0F#, 16#F8#, 16#00#, 16#14#, 16#00#, 16#09#, 16#00#, 16#04#, 16#80#, 16#02#, 16#20#, 16#01#, 16#18#, 16#00#, 16#83#, 16#01#, 16#C0#, 16#7F#, 16#00#, 16#FC#, 16#3F#, 16#20#, 16#04#, 16#20#, 16#04#, 16#20#, 16#04#, 16#20#, 16#04#, 16#20#, 16#04#, 16#20#, 16#04#, 16#20#, 16#04#, 16#20#, 16#04#, 16#3F#, 16#FC#, 16#20#, 16#04#, 16#20#, 16#04#, 16#20#, 16#04#, 16#20#, 16#04#, 16#20#, 16#04#, 16#20#, 16#04#, 16#20#, 16#04#, 16#20#, 16#04#, 16#20#, 16#04#, 16#FC#, 16#3F#, 16#FF#, 16#F8#, 16#10#, 16#00#, 16#80#, 16#04#, 16#00#, 16#20#, 16#01#, 16#00#, 16#08#, 16#00#, 16#40#, 16#02#, 16#00#, 16#10#, 16#00#, 16#80#, 16#04#, 16#00#, 16#20#, 16#01#, 16#00#, 16#08#, 16#00#, 16#40#, 16#02#, 16#00#, 16#10#, 16#00#, 16#81#, 16#FF#, 16#F0#, 16#03#, 16#FF#, 16#80#, 16#04#, 16#00#, 16#02#, 16#00#, 16#01#, 16#00#, 16#00#, 16#80#, 16#00#, 16#40#, 16#00#, 16#20#, 16#00#, 16#10#, 16#00#, 16#08#, 16#00#, 16#04#, 16#00#, 16#02#, 16#10#, 16#01#, 16#08#, 16#00#, 16#84#, 16#00#, 16#42#, 16#00#, 16#21#, 16#00#, 16#10#, 16#80#, 16#10#, 16#20#, 16#18#, 16#0C#, 16#18#, 16#01#, 16#F0#, 16#00#, 16#FF#, 16#1F#, 16#84#, 16#01#, 16#81#, 16#00#, 16#C0#, 16#40#, 16#60#, 16#10#, 16#30#, 16#04#, 16#18#, 16#01#, 16#0C#, 16#00#, 16#46#, 16#00#, 16#13#, 16#00#, 16#05#, 16#F0#, 16#01#, 16#C6#, 16#00#, 16#60#, 16#C0#, 16#10#, 16#18#, 16#04#, 16#06#, 16#01#, 16#00#, 16#C0#, 16#40#, 16#30#, 16#10#, 16#04#, 16#04#, 16#01#, 16#81#, 16#00#, 16#23#, 16#FC#, 16#0F#, 16#FF#, 16#80#, 16#10#, 16#00#, 16#20#, 16#00#, 16#40#, 16#00#, 16#80#, 16#01#, 16#00#, 16#02#, 16#00#, 16#04#, 16#00#, 16#08#, 16#00#, 16#10#, 16#00#, 16#20#, 16#00#, 16#40#, 16#00#, 16#80#, 16#01#, 16#00#, 16#42#, 16#00#, 16#84#, 16#01#, 16#08#, 16#02#, 16#10#, 16#04#, 16#20#, 16#0F#, 16#FF#, 16#F0#, 16#F0#, 16#01#, 16#E7#, 16#00#, 16#70#, 16#A0#, 16#0A#, 16#16#, 16#03#, 16#42#, 16#40#, 16#48#, 16#4C#, 16#19#, 16#09#, 16#82#, 16#21#, 16#10#, 16#44#, 16#23#, 16#18#, 16#84#, 16#22#, 16#10#, 16#86#, 16#C2#, 16#10#, 16#50#, 16#42#, 16#0E#, 16#08#, 16#41#, 16#C1#, 16#08#, 16#00#, 16#21#, 16#00#, 16#04#, 16#20#, 16#00#, 16#84#, 16#00#, 16#10#, 16#80#, 16#02#, 16#7F#, 16#03#, 16#F0#, 16#F8#, 16#1F#, 16#C6#, 16#00#, 16#41#, 16#C0#, 16#10#, 16#50#, 16#04#, 16#12#, 16#01#, 16#04#, 16#C0#, 16#41#, 16#10#, 16#10#, 16#46#, 16#04#, 16#10#, 16#81#, 16#04#, 16#10#, 16#41#, 16#04#, 16#10#, 16#40#, 16#84#, 16#10#, 16#31#, 16#04#, 16#04#, 16#41#, 16#01#, 16#90#, 16#40#, 16#24#, 16#10#, 16#05#, 16#04#, 16#01#, 16#C1#, 16#00#, 16#31#, 16#FC#, 16#0C#, 16#03#, 16#E0#, 16#06#, 16#0C#, 16#04#, 16#01#, 16#04#, 16#00#, 16#46#, 16#00#, 16#32#, 16#00#, 16#0B#, 16#00#, 16#05#, 16#00#, 16#01#, 16#80#, 16#00#, 16#C0#, 16#00#, 16#60#, 16#00#, 16#30#, 16#00#, 16#18#, 16#00#, 16#0E#, 16#00#, 16#0D#, 16#00#, 16#04#, 16#C0#, 16#06#, 16#20#, 16#02#, 16#08#, 16#02#, 16#03#, 16#06#, 16#00#, 16#7C#, 16#00#, 16#FF#, 16#F0#, 16#10#, 16#0C#, 16#10#, 16#02#, 16#10#, 16#03#, 16#10#, 16#01#, 16#10#, 16#01#, 16#10#, 16#01#, 16#10#, 16#03#, 16#10#, 16#06#, 16#10#, 16#0C#, 16#1F#, 16#F0#, 16#10#, 16#00#, 16#10#, 16#00#, 16#10#, 16#00#, 16#10#, 16#00#, 16#10#, 16#00#, 16#10#, 16#00#, 16#10#, 16#00#, 16#10#, 16#00#, 16#FF#, 16#C0#, 16#03#, 16#E0#, 16#06#, 16#0C#, 16#04#, 16#01#, 16#04#, 16#00#, 16#46#, 16#00#, 16#32#, 16#00#, 16#0B#, 16#00#, 16#07#, 16#00#, 16#01#, 16#80#, 16#00#, 16#C0#, 16#00#, 16#60#, 16#00#, 16#30#, 16#00#, 16#18#, 16#00#, 16#0E#, 16#00#, 16#0D#, 16#00#, 16#04#, 16#C0#, 16#06#, 16#20#, 16#02#, 16#08#, 16#02#, 16#03#, 16#06#, 16#00#, 16#FC#, 16#00#, 16#30#, 16#00#, 16#30#, 16#00#, 16#7F#, 16#C6#, 16#38#, 16#1E#, 16#FF#, 16#F0#, 16#02#, 16#01#, 16#80#, 16#40#, 16#08#, 16#08#, 16#01#, 16#81#, 16#00#, 16#10#, 16#20#, 16#02#, 16#04#, 16#00#, 16#40#, 16#80#, 16#18#, 16#10#, 16#06#, 16#02#, 16#03#, 16#80#, 16#7F#, 16#C0#, 16#08#, 16#18#, 16#01#, 16#01#, 16#80#, 16#20#, 16#18#, 16#04#, 16#01#, 16#80#, 16#80#, 16#10#, 16#10#, 16#03#, 16#02#, 16#00#, 16#20#, 16#40#, 16#06#, 16#7F#, 16#80#, 16#70#, 16#0F#, 16#C8#, 16#61#, 16#E2#, 16#01#, 16#90#, 16#02#, 16#40#, 16#09#, 16#00#, 16#04#, 16#00#, 16#08#, 16#00#, 16#38#, 16#00#, 16#3E#, 16#00#, 16#0F#, 16#00#, 16#06#, 16#00#, 16#0C#, 16#00#, 16#18#, 16#00#, 16#60#, 16#01#, 16#80#, 16#0F#, 16#00#, 16#2B#, 16#03#, 16#23#, 16#F0#, 16#FF#, 16#FF#, 16#02#, 16#06#, 16#04#, 16#0C#, 16#08#, 16#18#, 16#10#, 16#20#, 16#20#, 16#00#, 16#40#, 16#00#, 16#80#, 16#01#, 16#00#, 16#02#, 16#00#, 16#04#, 16#00#, 16#08#, 16#00#, 16#10#, 16#00#, 16#20#, 16#00#, 16#40#, 16#00#, 16#80#, 16#01#, 16#00#, 16#02#, 16#00#, 16#04#, 16#01#, 16#FF#, 16#C0#, 16#FC#, 16#1F#, 16#90#, 16#01#, 16#08#, 16#00#, 16#84#, 16#00#, 16#42#, 16#00#, 16#21#, 16#00#, 16#10#, 16#80#, 16#08#, 16#40#, 16#04#, 16#20#, 16#02#, 16#10#, 16#01#, 16#08#, 16#00#, 16#84#, 16#00#, 16#42#, 16#00#, 16#21#, 16#00#, 16#10#, 16#80#, 16#08#, 16#40#, 16#04#, 16#10#, 16#04#, 16#0C#, 16#06#, 16#03#, 16#06#, 16#00#, 16#7C#, 16#00#, 16#FE#, 16#03#, 16#F9#, 16#80#, 16#02#, 16#04#, 16#00#, 16#10#, 16#30#, 16#01#, 16#81#, 16#80#, 16#08#, 16#06#, 16#00#, 16#40#, 16#30#, 16#04#, 16#00#, 16#80#, 16#20#, 16#06#, 16#03#, 16#00#, 16#30#, 16#10#, 16#00#, 16#C0#, 16#80#, 16#06#, 16#08#, 16#00#, 16#30#, 16#40#, 16#00#, 16#C6#, 16#00#, 16#06#, 16#20#, 16#00#, 16#11#, 16#00#, 16#00#, 16#D0#, 16#00#, 16#06#, 16#80#, 16#00#, 16#1C#, 16#00#, 16#00#, 16#C0#, 16#00#, 16#FC#, 16#0F#, 16#E8#, 16#00#, 16#19#, 16#00#, 16#03#, 16#30#, 16#00#, 16#66#, 16#00#, 16#08#, 16#41#, 16#81#, 16#08#, 16#38#, 16#21#, 16#05#, 16#04#, 16#21#, 16#A0#, 16#84#, 16#36#, 16#30#, 16#C4#, 16#46#, 16#18#, 16#88#, 16#C1#, 16#31#, 16#18#, 16#24#, 16#12#, 16#04#, 16#82#, 16#40#, 16#B0#, 16#48#, 16#1C#, 16#0D#, 16#03#, 16#80#, 16#A0#, 16#30#, 16#1C#, 16#06#, 16#03#, 16#80#, 16#7E#, 16#0F#, 16#C6#, 16#00#, 16#20#, 16#60#, 16#0C#, 16#06#, 16#03#, 16#00#, 16#60#, 16#C0#, 16#0C#, 16#10#, 16#00#, 16#C6#, 16#00#, 16#0D#, 16#80#, 16#00#, 16#A0#, 16#00#, 16#18#, 16#00#, 16#03#, 16#80#, 16#00#, 16#D8#, 16#00#, 16#11#, 16#00#, 16#06#, 16#30#, 16#01#, 16#83#, 16#00#, 16#60#, 16#30#, 16#08#, 16#06#, 16#03#, 16#00#, 16#60#, 16#C0#, 16#06#, 16#7F#, 16#07#, 16#F0#, 16#FC#, 16#1F#, 16#98#, 16#03#, 16#04#, 16#01#, 16#03#, 16#01#, 16#80#, 16#C0#, 16#80#, 16#60#, 16#80#, 16#18#, 16#C0#, 16#04#, 16#40#, 16#03#, 16#60#, 16#00#, 16#E0#, 16#00#, 16#20#, 16#00#, 16#10#, 16#00#, 16#08#, 16#00#, 16#04#, 16#00#, 16#02#, 16#00#, 16#01#, 16#00#, 16#00#, 16#80#, 16#00#, 16#40#, 16#00#, 16#20#, 16#03#, 16#FF#, 16#80#, 16#FF#, 16#F4#, 16#00#, 16#A0#, 16#09#, 16#00#, 16#48#, 16#04#, 16#40#, 16#40#, 16#02#, 16#00#, 16#20#, 16#02#, 16#00#, 16#10#, 16#01#, 16#00#, 16#10#, 16#00#, 16#80#, 16#08#, 16#04#, 16#80#, 16#24#, 16#01#, 16#40#, 16#0C#, 16#00#, 16#60#, 16#03#, 16#FF#, 16#F0#, 16#FC#, 16#21#, 16#08#, 16#42#, 16#10#, 16#84#, 16#21#, 16#08#, 16#42#, 16#10#, 16#84#, 16#21#, 16#08#, 16#42#, 16#10#, 16#F8#, 16#80#, 16#02#, 16#00#, 16#10#, 16#00#, 16#C0#, 16#02#, 16#00#, 16#18#, 16#00#, 16#40#, 16#03#, 16#00#, 16#08#, 16#00#, 16#40#, 16#01#, 16#00#, 16#08#, 16#00#, 16#20#, 16#01#, 16#00#, 16#04#, 16#00#, 16#20#, 16#00#, 16#80#, 16#04#, 16#00#, 16#10#, 16#00#, 16#80#, 16#02#, 16#00#, 16#10#, 16#00#, 16#40#, 16#02#, 16#00#, 16#08#, 16#00#, 16#40#, 16#F8#, 16#42#, 16#10#, 16#84#, 16#21#, 16#08#, 16#42#, 16#10#, 16#84#, 16#21#, 16#08#, 16#42#, 16#10#, 16#84#, 16#21#, 16#F8#, 16#02#, 16#00#, 16#38#, 16#01#, 16#60#, 16#13#, 16#01#, 16#8C#, 16#18#, 16#31#, 16#80#, 16#D8#, 16#03#, 16#80#, 16#08#, 16#FF#, 16#FF#, 16#F8#, 16#C1#, 16#83#, 16#06#, 16#0C#, 16#0F#, 16#C0#, 16#70#, 16#30#, 16#00#, 16#10#, 16#00#, 16#08#, 16#00#, 16#08#, 16#00#, 16#08#, 16#0F#, 16#F8#, 16#30#, 16#08#, 16#40#, 16#08#, 16#80#, 16#08#, 16#80#, 16#08#, 16#80#, 16#08#, 16#80#, 16#38#, 16#60#, 16#E8#, 16#3F#, 16#8F#, 16#F0#, 16#00#, 16#04#, 16#00#, 16#01#, 16#00#, 16#00#, 16#40#, 16#00#, 16#10#, 16#00#, 16#04#, 16#00#, 16#01#, 16#0F#, 16#80#, 16#4C#, 16#18#, 16#14#, 16#01#, 16#06#, 16#00#, 16#21#, 16#80#, 16#08#, 16#40#, 16#01#, 16#10#, 16#00#, 16#44#, 16#00#, 16#11#, 16#00#, 16#04#, 16#40#, 16#01#, 16#18#, 16#00#, 16#86#, 16#00#, 16#21#, 16#C0#, 16#10#, 16#5C#, 16#18#, 16#F1#, 16#F8#, 16#00#, 16#07#, 16#E4#, 16#30#, 16#78#, 16#80#, 16#32#, 16#00#, 16#24#, 16#00#, 16#50#, 16#00#, 16#20#, 16#00#, 16#40#, 16#00#, 16#80#, 16#01#, 16#00#, 16#03#, 16#00#, 16#02#, 16#00#, 16#12#, 16#00#, 16#C3#, 16#07#, 16#01#, 16#F8#, 16#00#, 16#00#, 16#1E#, 16#00#, 16#00#, 16#80#, 16#00#, 16#20#, 16#00#, 16#08#, 16#00#, 16#02#, 16#00#, 16#00#, 16#80#, 16#7C#, 16#20#, 16#60#, 16#C8#, 16#20#, 16#0A#, 16#10#, 16#01#, 16#84#, 16#00#, 16#62#, 16#00#, 16#08#, 16#80#, 16#02#, 16#20#, 16#00#, 16#88#, 16#00#, 16#22#, 16#00#, 16#08#, 16#C0#, 16#06#, 16#10#, 16#01#, 16#82#, 16#00#, 16#E0#, 16#60#, 16#E8#, 16#0F#, 16#E3#, 16#C0#, 16#07#, 16#E0#, 16#1C#, 16#18#, 16#30#, 16#0C#, 16#60#, 16#06#, 16#40#, 16#03#, 16#C0#, 16#03#, 16#C0#, 16#01#, 16#FF#, 16#FF#, 16#C0#, 16#00#, 16#C0#, 16#00#, 16#40#, 16#00#, 16#60#, 16#00#, 16#30#, 16#03#, 16#0C#, 16#0E#, 16#03#, 16#F0#, 16#03#, 16#FC#, 16#18#, 16#00#, 16#80#, 16#02#, 16#00#, 16#08#, 16#00#, 16#20#, 16#0F#, 16#FF#, 16#82#, 16#00#, 16#08#, 16#00#, 16#20#, 16#00#, 16#80#, 16#02#, 16#00#, 16#08#, 16#00#, 16#20#, 16#00#, 16#80#, 16#02#, 16#00#, 16#08#, 16#00#, 16#20#, 16#00#, 16#80#, 16#02#, 16#00#, 16#FF#, 16#F0#, 16#0F#, 16#C7#, 16#9C#, 16#3A#, 16#18#, 16#07#, 16#08#, 16#01#, 16#8C#, 16#00#, 16#C4#, 16#00#, 16#22#, 16#00#, 16#11#, 16#00#, 16#08#, 16#80#, 16#04#, 16#40#, 16#02#, 16#10#, 16#03#, 16#08#, 16#01#, 16#82#, 16#01#, 16#40#, 16#C3#, 16#20#, 16#3F#, 16#10#, 16#00#, 16#08#, 16#00#, 16#04#, 16#00#, 16#02#, 16#00#, 16#01#, 16#00#, 16#01#, 16#00#, 16#01#, 16#00#, 16#7F#, 16#00#, 16#F0#, 16#00#, 16#08#, 16#00#, 16#04#, 16#00#, 16#02#, 16#00#, 16#01#, 16#00#, 16#00#, 16#80#, 16#00#, 16#47#, 16#C0#, 16#2C#, 16#18#, 16#1C#, 16#04#, 16#0C#, 16#01#, 16#04#, 16#00#, 16#82#, 16#00#, 16#41#, 16#00#, 16#20#, 16#80#, 16#10#, 16#40#, 16#08#, 16#20#, 16#04#, 16#10#, 16#02#, 16#08#, 16#01#, 16#04#, 16#00#, 16#82#, 16#00#, 16#47#, 16#C0#, 16#F8#, 16#06#, 16#00#, 16#18#, 16#00#, 16#60#, 16#01#, 16#80#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00#, 16#1F#, 16#80#, 16#02#, 16#00#, 16#08#, 16#00#, 16#20#, 16#00#, 16#80#, 16#02#, 16#00#, 16#08#, 16#00#, 16#20#, 16#00#, 16#80#, 16#02#, 16#00#, 16#08#, 16#00#, 16#20#, 16#00#, 16#80#, 16#02#, 16#03#, 16#FF#, 16#F0#, 16#03#, 16#00#, 16#C0#, 16#30#, 16#0C#, 16#00#, 16#00#, 16#00#, 16#03#, 16#FF#, 16#00#, 16#40#, 16#10#, 16#04#, 16#01#, 16#00#, 16#40#, 16#10#, 16#04#, 16#01#, 16#00#, 16#40#, 16#10#, 16#04#, 16#01#, 16#00#, 16#40#, 16#10#, 16#04#, 16#01#, 16#00#, 16#40#, 16#10#, 16#08#, 16#06#, 16#FE#, 16#00#, 16#F0#, 16#00#, 16#10#, 16#00#, 16#10#, 16#00#, 16#10#, 16#00#, 16#10#, 16#00#, 16#10#, 16#00#, 16#10#, 16#FE#, 16#10#, 16#30#, 16#10#, 16#E0#, 16#11#, 16#C0#, 16#13#, 16#00#, 16#16#, 16#00#, 16#1E#, 16#00#, 16#1B#, 16#00#, 16#11#, 16#80#, 16#10#, 16#C0#, 16#10#, 16#60#, 16#10#, 16#30#, 16#10#, 16#18#, 16#10#, 16#1C#, 16#F0#, 16#3F#, 16#7E#, 16#00#, 16#08#, 16#00#, 16#20#, 16#00#, 16#80#, 16#02#, 16#00#, 16#08#, 16#00#, 16#20#, 16#00#, 16#80#, 16#02#, 16#00#, 16#08#, 16#00#, 16#20#, 16#00#, 16#80#, 16#02#, 16#00#, 16#08#, 16#00#, 16#20#, 16#00#, 16#80#, 16#02#, 16#00#, 16#08#, 16#00#, 16#20#, 16#00#, 16#80#, 16#FF#, 16#FC#, 16#EF#, 16#9E#, 16#07#, 16#1E#, 16#20#, 16#C1#, 16#82#, 16#10#, 16#20#, 16#42#, 16#04#, 16#08#, 16#40#, 16#81#, 16#08#, 16#10#, 16#21#, 16#02#, 16#04#, 16#20#, 16#40#, 16#84#, 16#08#, 16#10#, 16#81#, 16#02#, 16#10#, 16#20#, 16#42#, 16#04#, 16#08#, 16#40#, 16#81#, 16#3E#, 16#1C#, 16#38#, 16#71#, 16#F0#, 16#0B#, 16#06#, 16#07#, 16#01#, 16#03#, 16#00#, 16#41#, 16#00#, 16#20#, 16#80#, 16#10#, 16#40#, 16#08#, 16#20#, 16#04#, 16#10#, 16#02#, 16#08#, 16#01#, 16#04#, 16#00#, 16#82#, 16#00#, 16#41#, 16#00#, 16#20#, 16#80#, 16#13#, 16#F0#, 16#3E#, 16#07#, 16#C0#, 16#30#, 16#60#, 16#80#, 16#22#, 16#00#, 16#24#, 16#00#, 16#50#, 16#00#, 16#60#, 16#00#, 16#C0#, 16#01#, 16#80#, 16#03#, 16#00#, 16#05#, 16#00#, 16#12#, 16#00#, 16#22#, 16#00#, 16#83#, 16#06#, 16#01#, 16#F0#, 16#00#, 16#F1#, 16#FC#, 16#05#, 16#C1#, 16#81#, 16#C0#, 16#10#, 16#60#, 16#02#, 16#18#, 16#00#, 16#C4#, 16#00#, 16#11#, 16#00#, 16#04#, 16#40#, 16#01#, 16#10#, 16#00#, 16#44#, 16#00#, 16#11#, 16#80#, 16#08#, 16#60#, 16#02#, 16#14#, 16#01#, 16#04#, 16#C1#, 16#81#, 16#0F#, 16#80#, 16#40#, 16#00#, 16#10#, 16#00#, 16#04#, 16#00#, 16#01#, 16#00#, 16#00#, 16#40#, 16#00#, 16#10#, 16#00#, 16#3F#, 16#C0#, 16#00#, 16#0F#, 16#E3#, 16#C6#, 16#0E#, 16#86#, 16#00#, 16#E1#, 16#00#, 16#18#, 16#C0#, 16#06#, 16#20#, 16#00#, 16#88#, 16#00#, 16#22#, 16#00#, 16#08#, 16#80#, 16#02#, 16#20#, 16#00#, 16#84#, 16#00#, 16#61#, 16#00#, 16#18#, 16#20#, 16#0A#, 16#06#, 16#0C#, 16#80#, 16#7C#, 16#20#, 16#00#, 16#08#, 16#00#, 16#02#, 16#00#, 16#00#, 16#80#, 16#00#, 16#20#, 16#00#, 16#08#, 16#00#, 16#02#, 16#00#, 16#0F#, 16#F0#, 16#F8#, 16#7C#, 16#11#, 16#8C#, 16#2C#, 16#00#, 16#70#, 16#00#, 16#C0#, 16#01#, 16#00#, 16#02#, 16#00#, 16#04#, 16#00#, 16#08#, 16#00#, 16#10#, 16#00#, 16#20#, 16#00#, 16#40#, 16#00#, 16#80#, 16#01#, 16#00#, 16#3F#, 16#FC#, 16#00#, 16#0F#, 16#D1#, 16#83#, 16#98#, 16#04#, 16#80#, 16#24#, 16#00#, 16#30#, 16#00#, 16#F0#, 16#00#, 16#FC#, 16#00#, 16#30#, 16#00#, 16#E0#, 16#03#, 16#00#, 16#1C#, 16#01#, 16#F0#, 16#1A#, 16#7F#, 16#00#, 16#08#, 16#00#, 16#08#, 16#00#, 16#08#, 16#00#, 16#08#, 16#00#, 16#08#, 16#00#, 16#FF#, 16#FC#, 16#08#, 16#00#, 16#08#, 16#00#, 16#08#, 16#00#, 16#08#, 16#00#, 16#08#, 16#00#, 16#08#, 16#00#, 16#08#, 16#00#, 16#08#, 16#00#, 16#08#, 16#00#, 16#08#, 16#00#, 16#08#, 16#00#, 16#08#, 16#01#, 16#06#, 16#0F#, 16#03#, 16#F8#, 16#F0#, 16#3E#, 16#08#, 16#01#, 16#04#, 16#00#, 16#82#, 16#00#, 16#41#, 16#00#, 16#20#, 16#80#, 16#10#, 16#40#, 16#08#, 16#20#, 16#04#, 16#10#, 16#02#, 16#08#, 16#01#, 16#04#, 16#00#, 16#82#, 16#00#, 16#41#, 16#00#, 16#E0#, 16#41#, 16#D0#, 16#1F#, 16#8E#, 16#FE#, 16#0F#, 16#E6#, 16#00#, 16#20#, 16#60#, 16#0C#, 16#0C#, 16#01#, 16#80#, 16#80#, 16#20#, 16#18#, 16#0C#, 16#01#, 16#01#, 16#00#, 16#30#, 16#60#, 16#06#, 16#08#, 16#00#, 16#61#, 16#00#, 16#0C#, 16#60#, 16#00#, 16#88#, 16#00#, 16#19#, 16#00#, 16#01#, 16#40#, 16#00#, 16#38#, 16#00#, 16#FC#, 16#07#, 16#E4#, 16#00#, 16#10#, 16#80#, 16#02#, 16#18#, 16#20#, 16#43#, 16#0E#, 16#18#, 16#61#, 16#42#, 16#04#, 16#28#, 16#40#, 16#8D#, 16#88#, 16#19#, 16#13#, 16#03#, 16#22#, 16#40#, 16#2C#, 16#68#, 16#05#, 16#05#, 16#00#, 16#A0#, 16#A0#, 16#1C#, 16#1C#, 16#01#, 16#01#, 16#00#, 16#7C#, 16#1F#, 16#18#, 16#03#, 16#06#, 16#03#, 16#01#, 16#83#, 16#00#, 16#63#, 16#00#, 16#1B#, 16#00#, 16#07#, 16#00#, 16#03#, 16#80#, 16#03#, 16#60#, 16#03#, 16#18#, 16#03#, 16#06#, 16#03#, 16#01#, 16#83#, 16#00#, 16#61#, 16#00#, 16#3B#, 16#F0#, 16#7E#, 16#FC#, 16#1F#, 16#90#, 16#01#, 16#8C#, 16#00#, 16#86#, 16#00#, 16#C1#, 16#80#, 16#40#, 16#C0#, 16#60#, 16#20#, 16#20#, 16#18#, 16#30#, 16#04#, 16#10#, 16#03#, 16#08#, 16#00#, 16#88#, 16#00#, 16#64#, 16#00#, 16#14#, 16#00#, 16#0E#, 16#00#, 16#07#, 16#00#, 16#01#, 16#00#, 16#01#, 16#80#, 16#00#, 16#80#, 16#00#, 16#40#, 16#00#, 16#40#, 16#00#, 16#20#, 16#07#, 16#FE#, 16#00#, 16#FF#, 16#F4#, 16#01#, 16#20#, 16#09#, 16#00#, 16#80#, 16#08#, 16#00#, 16#80#, 16#08#, 16#00#, 16#C0#, 16#04#, 16#00#, 16#40#, 16#04#, 16#00#, 16#40#, 16#14#, 16#00#, 16#A0#, 16#07#, 16#FF#, 16#E0#, 16#07#, 16#0C#, 16#08#, 16#08#, 16#08#, 16#08#, 16#08#, 16#08#, 16#08#, 16#08#, 16#08#, 16#30#, 16#C0#, 16#30#, 16#08#, 16#08#, 16#08#, 16#08#, 16#08#, 16#08#, 16#08#, 16#08#, 16#08#, 16#0C#, 16#07#, 16#FF#, 16#FF#, 16#FF#, 16#80#, 16#E0#, 16#30#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#08#, 16#07#, 16#0C#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#10#, 16#30#, 16#E0#, 16#1C#, 16#00#, 16#44#, 16#0D#, 16#84#, 16#36#, 16#04#, 16#40#, 16#07#, 16#00#); FreeMono18pt7bGlyphs : aliased constant Glyph_Array := ( (0, 0, 0, 21, 0, 1), -- 0x20 ' ' (0, 4, 22, 21, 8, -21), -- 0x21 '!' (11, 11, 10, 21, 5, -20), -- 0x22 '"' (25, 14, 24, 21, 3, -21), -- 0x23 '#' (67, 13, 26, 21, 4, -22), -- 0x24 '$' (110, 15, 21, 21, 3, -20), -- 0x25 '%' (150, 12, 18, 21, 4, -17), -- 0x26 '&' (177, 4, 10, 21, 8, -20), -- 0x27 ''' (182, 5, 25, 21, 10, -20), -- 0x28 '(' (198, 5, 25, 21, 6, -20), -- 0x29 ')' (214, 13, 12, 21, 4, -20), -- 0x2A '*' (234, 15, 17, 21, 3, -17), -- 0x2B '+' (266, 7, 10, 21, 5, -4), -- 0x2C ',' (275, 15, 1, 21, 3, -9), -- 0x2D '-' (277, 5, 5, 21, 8, -4), -- 0x2E '.' (281, 13, 26, 21, 4, -22), -- 0x2F '/' (324, 13, 21, 21, 4, -20), -- 0x30 '0' (359, 13, 21, 21, 4, -20), -- 0x31 '1' (394, 13, 21, 21, 3, -20), -- 0x32 '2' (429, 14, 21, 21, 3, -20), -- 0x33 '3' (466, 12, 21, 21, 4, -20), -- 0x34 '4' (498, 14, 21, 21, 3, -20), -- 0x35 '5' (535, 12, 21, 21, 5, -20), -- 0x36 '6' (567, 12, 21, 21, 4, -20), -- 0x37 '7' (599, 13, 21, 21, 4, -20), -- 0x38 '8' (634, 12, 21, 21, 5, -20), -- 0x39 '9' (666, 5, 15, 21, 8, -14), -- 0x3A ':' (676, 7, 20, 21, 5, -14), -- 0x3B ';' (694, 15, 16, 21, 3, -17), -- 0x3C '<' (724, 17, 6, 21, 2, -12), -- 0x3D '=' (737, 15, 16, 21, 3, -17), -- 0x3E '>' (767, 12, 20, 21, 5, -19), -- 0x3F '?' (797, 13, 23, 21, 4, -20), -- 0x40 '@' (835, 21, 20, 21, 0, -19), -- 0x41 'A' (888, 18, 20, 21, 1, -19), -- 0x42 'B' (933, 17, 20, 21, 2, -19), -- 0x43 'C' (976, 16, 20, 21, 2, -19), -- 0x44 'D' (1016, 17, 20, 21, 1, -19), -- 0x45 'E' (1059, 17, 20, 21, 1, -19), -- 0x46 'F' (1102, 17, 20, 21, 2, -19), -- 0x47 'G' (1145, 16, 20, 21, 2, -19), -- 0x48 'H' (1185, 13, 20, 21, 4, -19), -- 0x49 'I' (1218, 17, 20, 21, 3, -19), -- 0x4A 'J' (1261, 18, 20, 21, 1, -19), -- 0x4B 'K' (1306, 15, 20, 21, 3, -19), -- 0x4C 'L' (1344, 19, 20, 21, 1, -19), -- 0x4D 'M' (1392, 18, 20, 21, 1, -19), -- 0x4E 'N' (1437, 17, 20, 21, 2, -19), -- 0x4F 'O' (1480, 16, 20, 21, 1, -19), -- 0x50 'P' (1520, 17, 24, 21, 2, -19), -- 0x51 'Q' (1571, 19, 20, 21, 1, -19), -- 0x52 'R' (1619, 14, 20, 21, 3, -19), -- 0x53 'S' (1654, 15, 20, 21, 3, -19), -- 0x54 'T' (1692, 17, 20, 21, 2, -19), -- 0x55 'U' (1735, 21, 20, 21, 0, -19), -- 0x56 'V' (1788, 19, 20, 21, 1, -19), -- 0x57 'W' (1836, 19, 20, 21, 1, -19), -- 0x58 'X' (1884, 17, 20, 21, 2, -19), -- 0x59 'Y' (1927, 13, 20, 21, 4, -19), -- 0x5A 'Z' (1960, 5, 25, 21, 10, -20), -- 0x5B '[' (1976, 13, 26, 21, 4, -22), -- 0x5C '\' (2019, 5, 25, 21, 6, -20), -- 0x5D ']' (2035, 13, 9, 21, 4, -20), -- 0x5E '^' (2050, 21, 1, 21, 0, 4), -- 0x5F '_' (2053, 6, 5, 21, 5, -21), -- 0x60 '`' (2057, 16, 15, 21, 3, -14), -- 0x61 'a' (2087, 18, 21, 21, 1, -20), -- 0x62 'b' (2135, 15, 15, 21, 3, -14), -- 0x63 'c' (2164, 18, 21, 21, 2, -20), -- 0x64 'd' (2212, 16, 15, 21, 2, -14), -- 0x65 'e' (2242, 14, 21, 21, 4, -20), -- 0x66 'f' (2279, 17, 22, 21, 2, -14), -- 0x67 'g' (2326, 17, 21, 21, 1, -20), -- 0x68 'h' (2371, 14, 22, 21, 4, -21), -- 0x69 'i' (2410, 10, 29, 21, 5, -21), -- 0x6A 'j' (2447, 16, 21, 21, 2, -20), -- 0x6B 'k' (2489, 14, 21, 21, 4, -20), -- 0x6C 'l' (2526, 19, 15, 21, 1, -14), -- 0x6D 'm' (2562, 17, 15, 21, 1, -14), -- 0x6E 'n' (2594, 15, 15, 21, 3, -14), -- 0x6F 'o' (2623, 18, 22, 21, 1, -14), -- 0x70 'p' (2673, 18, 22, 21, 2, -14), -- 0x71 'q' (2723, 15, 15, 21, 3, -14), -- 0x72 'r' (2752, 13, 15, 21, 4, -14), -- 0x73 's' (2777, 16, 20, 21, 1, -19), -- 0x74 't' (2817, 17, 15, 21, 1, -14), -- 0x75 'u' (2849, 19, 15, 21, 1, -14), -- 0x76 'v' (2885, 19, 15, 21, 1, -14), -- 0x77 'w' (2921, 17, 15, 21, 2, -14), -- 0x78 'x' (2953, 17, 22, 21, 2, -14), -- 0x79 'y' (3000, 13, 15, 21, 4, -14), -- 0x7A 'z' (3025, 8, 25, 21, 6, -20), -- 0x7B '{' (3050, 1, 25, 21, 10, -20), -- 0x7C '|' (3054, 8, 25, 21, 7, -20), -- 0x7D '}' (3079, 15, 5, 21, 3, -11)); -- 0x7E '~' Font_D : aliased constant Bitmap_Font := (FreeMono18pt7bBitmaps'Access, FreeMono18pt7bGlyphs'Access, 35); Font : constant Giza.Font.Ref_Const := Font_D'Access; end Giza.Bitmap_Fonts.FreeMono18pt7b;
pragma Ada_2012; package body DDS.Request_Reply.Replier.Typed_Replier_Generic.Passive_Replier_Generic is ------------------------- -- On_Request_Avalible -- ------------------------- procedure On_Request_Avalible (Self : not null access Ref; Replier : not null access Typed_Replier_Generic.Ref'Class) is begin for I of Replier.Take_Request loop if I.Sample_Info.Valid_Data then Self.all.Listner.Compute_And_Reply (Typed_Replier_Generic.Ref_Access(Replier), I.Data.all, Get_Sample_Identity (I.Sample_Info.all)); end if; end loop; end On_Request_Avalible; end DDS.Request_Reply.Replier.Typed_Replier_Generic.Passive_Replier_Generic;
-- -- ABench2020 Benchmark Suite -- -- Selection Sort Program -- -- Licensed under the MIT License. See LICENSE file in the ABench root -- directory for license information. -- -- Uncomment the line below to print the result. -- with Ada.Text_IO; use Ada.Text_IO; procedure Selection_Sort is type Vector is array (Positive range<>) of Integer; procedure Sort (Sort_Array : in out Vector) is Temp_Value : Integer; begin for I in 1 .. Sort_Array'Last loop for J in I .. Sort_Array'Last loop if Sort_Array (I) > Sort_Array (J) then Temp_Value := Sort_Array (I); Sort_Array (I) := Sort_Array (J); Sort_Array (J) := Temp_Value; end if; end loop; end loop; end; Sort_Array : Vector := (1, 9, 5, 31, 25, 46, 98, 17, 21, 82, 2, 33, 64, 73, 56, 567, 5, 45, 445, 4, 76, 22, 34, 45, 56, 888, 66, 89, 9, 32, 46, 78, 87, 23, 37, 12, 3, 6, 89, 7); begin loop Sort (Sort_Array); Sort_Array := (1, 9, 5, 31, 25, 46, 98, 17, 21, 82, 2, 33, 64, 73, 56, 567, 5, 45, 445, 4, 76, 22, 34, 45, 56, 888, 66, 89, 9, 32, 46, 78, 87, 23, 37, 12, 3, 6, 89, 7); end loop; -- Uncomment the lines below to print the result. -- Put_Line("Sorted Array:"); -- for I in Sort_Array'Range loop -- Put (Integer'Image (Sort_Array (I)) & " "); -- end loop; end;
----------------------------------------------------------------------- -- wiki-render-links -- Wiki links renderering -- Copyright (C) 2015, 2016 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Wiki.Strings; -- === Link Renderer === -- The <tt>Wiki.Render.Links</tt> package defines the <tt>Link_Renderer</tt> interface used -- for the rendering of links and images. The interface allows to customize the generated -- links and image source for the final HTML. -- package Wiki.Render.Links is pragma Preelaborate; type Link_Renderer is limited interface; type Link_Renderer_Access is access all Link_Renderer'Class; -- Get the image link that must be rendered from the wiki image link. procedure Make_Image_Link (Renderer : in out Link_Renderer; Link : in Wiki.Strings.WString; URI : out Wiki.Strings.UString; Width : in out Natural; Height : in out Natural) is abstract; -- Get the page link that must be rendered from the wiki page link. procedure Make_Page_Link (Renderer : in out Link_Renderer; Link : in Wiki.Strings.WString; URI : out Wiki.Strings.UString; Exists : out Boolean) is abstract; type Default_Link_Renderer is new Link_Renderer with null record; -- Get the image link that must be rendered from the wiki image link. overriding procedure Make_Image_Link (Renderer : in out Default_Link_Renderer; Link : in Wiki.Strings.WString; URI : out Wiki.Strings.UString; Width : in out Natural; Height : in out Natural); -- Get the page link that must be rendered from the wiki page link. overriding procedure Make_Page_Link (Renderer : in out Default_Link_Renderer; Link : in Wiki.Strings.WString; URI : out Wiki.Strings.UString; Exists : out Boolean); end Wiki.Render.Links;
------------------------------------------------------------------------------ -- -- -- Generic HEX String Handling Package -- -- -- -- ------------------------------------------------------------------------ -- -- -- -- Copyright (C) 2018-2019, ANNEXI-STRAYLINE Trans-Human Ltd. -- -- All rights reserved. -- -- -- -- Original Contributors: -- -- * Richard Wai, Ensi Martini, Aninda Poddar, Noshen Atashe -- -- (ANNEXI-STRAYLINE) -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- -- -- * Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -- -- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ package Hex with SPARK_Mode => On is pragma Preelaborate (Hex); pragma Assertion_Policy (Ignore); -- This package is validated type Set_Case is (Lower_Case, Upper_Case); subtype Hex_Character is Character with Static_Predicate => Hex_Character in '0' .. '9' | 'A' .. 'F' | 'a' .. 'f'; function Valid_Hex_String (Candidate: String) return Boolean is (Candidate'Length >= 1 and then (for all Char of Candidate => Char in Hex_Character)) with Inline => True, Global => null; -- Returns True if and only if Candidate represents a valid hexadecimal -- string. -- ------------------ -- Identify_Hex -- ------------------ subtype Valid_Exterior is Character with Static_Predicate => Valid_Exterior in Character'Val (9) .. Character'Val (13) | -- HT,LF,VT,FF,CR Character'Val (32) .. Character'Val (47) | -- Punctuation Character'Val (58) .. Character'Val (64) | -- Punctuation Character'Val (123) .. Character'Val (126); -- More punctuation -- Characters that are valid immediately before and after a valid -- hexadecimal string during identification of that string function Demarcation_Precedent_Check (Source: String; First: Positive) return Boolean is (First = Source'First or else (First > Source'First and then (Source(First - 1) in Valid_Exterior or else (Source(First - 1) in 'X' | 'x' and then (case Source(Source'First .. First)'Length is when 3 => Source (First - 2) = '0', when 4 .. Positive'Last => (Source (First - 2) = '0' and then Source (First - 3) in Valid_Exterior), when others => False))))) with Inline => True, Global => null, Pre => First in Source'Range and then Source(First) in Hex_Character; -- True for one of the four following conditions, provided -- Source(First) is a Hex_Character -- 1. First = Source'First -- 2. (First - 1 .. First) is a Valid_Exterior & Hex_Character -- 3. (First - 2 .. First) is ("0x" | "0X") or -- 4. (First - 3) is Valid_Exterior & Condition 3 function Demarcation_Subsequent_Check (Source: String; Last: Natural) return Boolean is (Source'Length in 0 .. 1 or else Last = Source'Last or else Source (Last + 1) in Valid_Exterior) with Inline => True, Global => null, Pre => Source'Length = 0 or else (Last in Source'Range and then Source(Last) in Hex_Character); -- True if and only if: -- Source(Last) is a Hex_Character, and then -- Last = Source'Last, or else -- Source(Last + 1) = Valid_Exterior ---------------------------------------------------------------------------- procedure Identify_Hex (Source: in String; First : out Positive; Last : out Natural) with Global => null, Depends => ((First, Last) => Source), Post => (if Last >= First then Valid_Hex_String (Source (First .. Last)) and then Demarcation_Precedent_Check (Source, First) and then Demarcation_Subsequent_Check (Source, Last) else (if Source'Length > 0 then First = Source'First and Last = First - 1 else First = 1 and Last = 0)); -- Identify_Hex is a verified helper function which identifies the first -- (if any) valid unbroken hexadecimal string in the Source string, which -- is demarcated by the range First .. Last of Source -- -- If a valid hexadecimal string cannot be identified within Source, -- First is set to Source'First, and Last is set to Source'First - 1 -- (a null range). -- -- This procedure attempts to avoid misidentification of arbitrary -- "hexadecimal digits" that would otherwise appear frequently in most -- alphanumeric text. This is done by only identifying string of hexadecimal -- digits that are surrounded by an explicitly defined set of -- "Valid_Exterior" characters, which include exclusively graphical -- characters with tabs, spaces, CR/LF/FF, and most basic punctuation -- -- This procedure also recognizes hexadecimal strings prepended with the -- common "0x" indicator. end Hex;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- S Y S T E M . V A L _ L L I -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2009, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package contains routines for scanning signed Long_Long_Integer -- values for use in Text_IO.Integer_IO, and the Value attribute. package System.Val_LLI is pragma Pure; function Scan_Long_Long_Integer (Str : String; Ptr : not null access Integer; Max : Integer) return Long_Long_Integer; -- This function scans the string starting at Str (Ptr.all) for a valid -- integer according to the syntax described in (RM 3.5(43)). The substring -- scanned extends no further than Str (Max). There are three cases for the -- return: -- -- If a valid integer is found after scanning past any initial spaces, then -- Ptr.all is updated past the last character of the integer (but trailing -- spaces are not scanned out). -- -- If no valid integer is found, then Ptr.all points either to an initial -- non-digit character, or to Max + 1 if the field is all spaces and the -- exception Constraint_Error is raised. -- -- If a syntactically valid integer is scanned, but the value is out of -- range, or, in the based case, the base value is out of range or there -- is an out of range digit, then Ptr.all points past the integer, and -- Constraint_Error is raised. -- -- Note: these rules correspond to the requirements for leaving the pointer -- positioned in Text_Io.Get -- -- Note: if Str is null, i.e. if Max is less than Ptr, then this is a -- special case of an all-blank string, and Ptr is unchanged, and hence -- is greater than Max as required in this case. function Value_Long_Long_Integer (Str : String) return Long_Long_Integer; -- Used in computing X'Value (Str) where X is a signed integer type whose -- base range exceeds the base range of Integer. Str is the string argument -- of the attribute. Constraint_Error is raised if the string is malformed, -- or if the value is out of range. end System.Val_LLI;
pragma Ada_2020; with Ada.Text_IO; with Ada.Unchecked_Conversion; with System; package body Fmt is function To_Ptr is new Ada.Unchecked_Conversion(System.Address, Argument_Ptr); function "&" (Values : Arguments; New_Item : Argument_Type'Class) return Arguments is begin return Values & To_Ptr(New_Item'Address); end "&"; type Piece_Info is record Begin_At : Positive; -- first pos include in piece End_At : Natural; -- first pos not include in piece Length : Natural; -- final length Arg_Id : Natural; -- >0 when the piece is an expr, Num_Esc : Natural; -- >0 when the piece contains escape char end record; type Piece_Infos is array(Positive range <>) of Piece_Info; function Total_Length (PS : Piece_Infos) return Natural is L : Natural := 0; begin -- return [for P of PS => P.Length]'Reduce("+", 0); for P of PS loop L := L + P.Length; end loop; return L; end Total_Length; function Get_Expr_Count ( Template : String) return Natural is R : Natural := 0; I : Positive := Template'First; begin while I < Template'Last loop case Template(I) is when '\' => I := I + 2; when '{' => I := I + 1; while I < Template'Last loop exit when Template(I) = '}'; I := I + 1; end loop; I := I + 1; R := R + 1; when others => I := I + 1; end case; end loop; return R; end Get_Expr_Count; function Compute_Piece_Infos ( Template : String; Values : Arguments) return Piece_Infos is Info : Piece_Infos(1 .. Get_Expr_Count(Template) * 2 + 1); I : Natural := Template'First; NB, NE : Natural; SB, SE : Natural; K : Positive := Info'First; Auto_Id : Positive := Values'First; begin Info(K) := (I, I, 0, 0, 0); loop case Template(I) is when '{' => K := K + 1; Info(K) := (I, I, 0, 0, 0); -- scan optional arg_id NB := I + 1; NE := NB; while NE < Template'Last loop exit when not (Template(NE) in '0' .. '9'); Info(K).Arg_Id := Info(K).Arg_Id * 10 + Character'Pos(Template(NE)) - Character'Pos('0'); NE := NE + 1; end loop; if NE = NB then Info(K).Arg_Id := Auto_Id; Auto_Id := Auto_Id + 1; end if; -- scan Edit info SB := NE; SE := SB; while SE < Template'Last loop exit when Template(SE) = '}'; SE := SE + 1; end loop; Info(K).End_At := SE + 1; if Info(K).Arg_Id in Values'Range then declare Arg : constant Argument_Ptr := Values(Info(K).Arg_Id); begin if Template(SB) = ':' then Arg.Parse(Template(SB + 1 .. SE - 1)); else -- always call Parse -- Arugment may set default edit here Arg.Parse(""); end if; Info(K).Length := Arg.Get_Length; end; else -- index invalid, treat as empty piece Info(K).Arg_Id := 0; end if; -- scan next piece K := K + 1; I := SE + 1; Info(K) := (I, I, 0, 0, 0); exit when I > Template'Last; when '\' => Info(K).Num_Esc := Info(K).Num_Esc + 1; I := I + 1; Info(K).End_At := I; exit when I > Template'Last; I := I + 1; Info(K).Length := Info(K).Length + 1; Info(K).End_At := I; exit when I > Template'Last; when others => I := I + 1; Info(K).Length := Info(K).Length + 1; Info(K).End_At := I; exit when I > Template'Last; end case; end loop; return Info; end Compute_Piece_Infos; function Get_Edit_Begin_Pos (Source : String) return Natural is begin for I in Source'Range loop if Source(I) = ':' then return I + 1; end if; end loop; return Source'Last + 1; end Get_Edit_Begin_Pos; function Format ( Template : String; Values : Arguments := FAB) return String is PS : Piece_Infos := Compute_Piece_Infos(Template, Values); R : String(1 .. Total_Length(PS)); I : Positive := R'First; begin for P of PS loop if P.Length > 0 then declare RP : String renames R(I .. I + P.Length - 1); TS : String renames Template(P.Begin_At .. P.End_At - 1); PB, PE : Natural; RF, RL : Natural; Ch : Character; begin if P.Arg_Id /= 0 then declare Arg : constant Argument_Ptr := Values(P.Arg_Id); begin Arg.Put(TS(Get_Edit_Begin_Pos(TS) .. TS'Last - 1), RP); end; else if P.Num_Esc = 0 then RP := TS; else PB := P.Begin_At; RF := RP'First; while P.Num_Esc > 0 loop PE := PB; -- find next esc pos while PE < P.End_At loop exit when Template(PE) = '\'; PE := PE + 1; end loop; RL := PE - PB; if RL > 0 then -- copy non esc part RP(RF .. RF + RL - 1) := Template(PB .. PE - 1); end if; PB := PE + 1; RF := RF + RL; if PB < P.End_At then -- copy esc char Ch := Template(PB); case Ch is when 'n' => RP(RF) := ASCII.LF; when 't' => RP(RF) := ASCII.HT; when 'r' => RP(RF) := ASCII.CR; when others => RP(RF) := Ch; end case; RF := RF + 1; PB := PB + 1; end if; P.Num_Esc := P.Num_Esc - 1; end loop; -- final part if RF <= RP'Last then RP(RF .. RP'Last) := Template(PB .. P.End_At - 1); end if; end if; end if; end; I := I + P.Length; end if; end loop; -- TODO -- finalize values here? return R; end Format; function Format ( Template : String; Value : Argument_Type'Class) return String is Values : constant Arguments := [To_Ptr(Value'Address)]; begin return Format(Template, Values); end Format; function Generic_Format ( Template : String; Value : Value_Type) return String is begin return Format(Template, To_Argument(Value)); end Generic_Format; procedure Parse_KV_Edit ( Edit : String; Conf : not null access procedure(K : String; V : String)) is ET : constant Positive := Edit'Last + 1; KB, KE : Positive; VB, VE : Positive; begin KB := Edit'First; while KB < ET loop KE := KB; while KE < ET loop exit when Edit(KE) = '='; KE := KE + 1; end loop; VB := KE + 1; VE := VB; while VE < ET loop exit when Edit(VE) = ','; VE := VE + 1; end loop; if KE > KB then Conf(Edit(KB .. KE - 1), Edit(VB .. VE - 1)); end if; KB := VE + 1; end loop; end Parse_KV_Edit; overriding procedure Parse ( Self : in out Placeholder_Argument_Type; Edit : String) is subtype Virtual is Placeholder_Argument_Type'Class; T : constant Natural := Edit'Last; I : Natural := Edit'First; W : Natural := 0; begin if Edit'Length > 0 then while I < T loop if Edit(I) = '%' and then Virtual(Self).Is_Valid_Placeholder(Edit(I + 1)) then I := I + 1; W := W + Virtual(Self).Get_Placeholder_Width(Edit(I)); else W := W + 1; end if; I := I + 1; end loop; Self.Length := W; elsif Self.Default_Edit /= null and then Self.Default_Edit'Length > 0 then Self.Parse(Self.Default_Edit.all); end if; end Parse; overriding function Get_Length ( Self : in out Placeholder_Argument_Type) return Natural is begin return Self.Length; end Get_Length; overriding procedure Put ( Self : in out Placeholder_Argument_Type; Edit : String; To : in out String) is subtype Virtual is Placeholder_Argument_Type'Class; T : constant Natural := Edit'Last; EB, EE : Natural; -- edit piece range TB, TE : Natural; -- to piece range Name : Character; begin if Edit'Length > 0 then EB := Edit'First; EE := EB; TB := To'First; TE := TB; while EE < T loop if Edit(EE) = '%' and then Virtual(Self).Is_Valid_Placeholder(Edit(EE + 1)) then -- output non placeholder To(TB .. TE - 1) := Edit(EB .. EE - 1); -- output placeholder Name := Edit(EE + 1); TB := TE; TE := TB + Virtual(Self).Get_Placeholder_Width(Name); Virtual(Self).Put_Placeholder(Name, To(TB .. TE - 1)); -- next piece EB := EE + 2; EE := EB; TB := TE; TE := TB; else EE := EE + 1; TE := TE + 1; end if; end loop; if EB <= Edit'Last then To(TB .. To'Last) := Edit(EB .. Edit'Last); end if; elsif Self.Default_Edit /= null and then Self.Default_Edit'Length > 0 then Self.Put(Virtual(Self).Default_Edit.all, To); end if; end Put; function Is_Decimal_Number (S : String) return Boolean is begin return S'Length > 0 and then (for all Ch of S => Ch in Decimal_Digit); end Is_Decimal_Number; function Safe_Abs (X : Long_Long_Integer) return Interfaces.Unsigned_64 is use Interfaces; function Cast is new Ada.Unchecked_Conversion(Long_Long_Integer, Unsigned_64); V : constant Unsigned_64 := Cast(X); begin return (if X < 0 then not V + 1 else V); end Safe_Abs; end Fmt;
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes.Unconstrained_Array_Types is function Create (Array_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Left_Bracket_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Index_Subtypes : not null Program.Elements.Expressions .Expression_Vector_Access; Right_Bracket_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Of_Token : not null Program.Lexical_Elements .Lexical_Element_Access; Component_Definition : not null Program.Elements.Component_Definitions .Component_Definition_Access) return Unconstrained_Array_Type is begin return Result : Unconstrained_Array_Type := (Array_Token => Array_Token, Left_Bracket_Token => Left_Bracket_Token, Index_Subtypes => Index_Subtypes, Right_Bracket_Token => Right_Bracket_Token, Of_Token => Of_Token, Component_Definition => Component_Definition, Enclosing_Element => null) do Initialize (Result); end return; end Create; function Create (Index_Subtypes : not null Program.Elements.Expressions .Expression_Vector_Access; Component_Definition : not null Program.Elements.Component_Definitions .Component_Definition_Access; Is_Part_Of_Implicit : Boolean := False; Is_Part_Of_Inherited : Boolean := False; Is_Part_Of_Instance : Boolean := False) return Implicit_Unconstrained_Array_Type is begin return Result : Implicit_Unconstrained_Array_Type := (Index_Subtypes => Index_Subtypes, Component_Definition => Component_Definition, 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 Index_Subtypes (Self : Base_Unconstrained_Array_Type) return not null Program.Elements.Expressions.Expression_Vector_Access is begin return Self.Index_Subtypes; end Index_Subtypes; overriding function Component_Definition (Self : Base_Unconstrained_Array_Type) return not null Program.Elements.Component_Definitions .Component_Definition_Access is begin return Self.Component_Definition; end Component_Definition; overriding function Array_Token (Self : Unconstrained_Array_Type) return not null Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Array_Token; end Array_Token; overriding function Left_Bracket_Token (Self : Unconstrained_Array_Type) return not null Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Left_Bracket_Token; end Left_Bracket_Token; overriding function Right_Bracket_Token (Self : Unconstrained_Array_Type) return not null Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Right_Bracket_Token; end Right_Bracket_Token; overriding function Of_Token (Self : Unconstrained_Array_Type) return not null Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Of_Token; end Of_Token; overriding function Is_Part_Of_Implicit (Self : Implicit_Unconstrained_Array_Type) return Boolean is begin return Self.Is_Part_Of_Implicit; end Is_Part_Of_Implicit; overriding function Is_Part_Of_Inherited (Self : Implicit_Unconstrained_Array_Type) return Boolean is begin return Self.Is_Part_Of_Inherited; end Is_Part_Of_Inherited; overriding function Is_Part_Of_Instance (Self : Implicit_Unconstrained_Array_Type) return Boolean is begin return Self.Is_Part_Of_Instance; end Is_Part_Of_Instance; procedure Initialize (Self : aliased in out Base_Unconstrained_Array_Type'Class) is begin for Item in Self.Index_Subtypes.Each_Element loop Set_Enclosing_Element (Item.Element, Self'Unchecked_Access); end loop; Set_Enclosing_Element (Self.Component_Definition, Self'Unchecked_Access); null; end Initialize; overriding function Is_Unconstrained_Array_Type_Element (Self : Base_Unconstrained_Array_Type) return Boolean is pragma Unreferenced (Self); begin return True; end Is_Unconstrained_Array_Type_Element; overriding function Is_Type_Definition_Element (Self : Base_Unconstrained_Array_Type) return Boolean is pragma Unreferenced (Self); begin return True; end Is_Type_Definition_Element; overriding function Is_Definition_Element (Self : Base_Unconstrained_Array_Type) return Boolean is pragma Unreferenced (Self); begin return True; end Is_Definition_Element; overriding procedure Visit (Self : not null access Base_Unconstrained_Array_Type; Visitor : in out Program.Element_Visitors.Element_Visitor'Class) is begin Visitor.Unconstrained_Array_Type (Self); end Visit; overriding function To_Unconstrained_Array_Type_Text (Self : aliased in out Unconstrained_Array_Type) return Program.Elements.Unconstrained_Array_Types .Unconstrained_Array_Type_Text_Access is begin return Self'Unchecked_Access; end To_Unconstrained_Array_Type_Text; overriding function To_Unconstrained_Array_Type_Text (Self : aliased in out Implicit_Unconstrained_Array_Type) return Program.Elements.Unconstrained_Array_Types .Unconstrained_Array_Type_Text_Access is pragma Unreferenced (Self); begin return null; end To_Unconstrained_Array_Type_Text; end Program.Nodes.Unconstrained_Array_Types;
-- This package has been generated automatically by GNATtest. -- Do not edit any part of it, see GNATtest documentation for more details. -- begin read only with Gnattest_Generated; package Factions.Test_Data.Tests.Factions_Container.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.Factions.Test_Data .Tests .Factions_Container .Test_Data .New_Test with null record; end Factions.Test_Data.Tests.Factions_Container.Test_Data.Tests; -- end read only
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- G N A T . B Y T E _ S W A P P I N G -- -- -- -- B o d y -- -- -- -- Copyright (C) 2006-2019, AdaCore -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This is a general implementation that uses GCC intrinsics to take -- advantage of any machine-specific instructions. with Ada.Unchecked_Conversion; use Ada; with System.Byte_Swapping; use System.Byte_Swapping; package body GNAT.Byte_Swapping is -------------- -- Swapped2 -- -------------- function Swapped2 (Input : Item) return Item is function As_U16 is new Unchecked_Conversion (Item, U16); function As_Item is new Unchecked_Conversion (U16, Item); pragma Compile_Time_Error (Item'Max_Size_In_Storage_Elements /= 2, "storage size must be 2 bytes"); begin return As_Item (Bswap_16 (As_U16 (Input))); end Swapped2; -------------- -- Swapped4 -- -------------- function Swapped4 (Input : Item) return Item is function As_U32 is new Unchecked_Conversion (Item, U32); function As_Item is new Unchecked_Conversion (U32, Item); pragma Compile_Time_Error (Item'Max_Size_In_Storage_Elements /= 4, "storage size must be 4 bytes"); begin return As_Item (Bswap_32 (As_U32 (Input))); end Swapped4; -------------- -- Swapped8 -- -------------- function Swapped8 (Input : Item) return Item is function As_U64 is new Unchecked_Conversion (Item, U64); function As_Item is new Unchecked_Conversion (U64, Item); pragma Compile_Time_Error (Item'Max_Size_In_Storage_Elements /= 8, "storage size must be 8 bytes"); begin return As_Item (Bswap_64 (As_U64 (Input))); end Swapped8; ----------- -- Swap2 -- ----------- procedure Swap2 (Location : System.Address) is X : U16; for X'Address use Location; begin X := Bswap_16 (X); end Swap2; ----------- -- Swap4 -- ----------- procedure Swap4 (Location : System.Address) is X : U32; for X'Address use Location; begin X := Bswap_32 (X); end Swap4; ----------- -- Swap8 -- ----------- procedure Swap8 (Location : System.Address) is X : U64; for X'Address use Location; begin X := Bswap_64 (X); end Swap8; end GNAT.Byte_Swapping;
with impact.d3.Shape.convex.internal.polyhedral; package impact.d3.Shape.convex.internal.polyhedral.triangle -- -- -- is type Vertices is array (Positive range 1 .. 3) of aliased math.Vector_3; type Item is new impact.d3.Shape.convex.internal.polyhedral.item with record m_vertices1 : Vertices; end record; type View is access all Item'Class; function to_triangle_Shape return impact.d3.Shape.convex.internal.polyhedral.triangle.item; function to_triangle_Shape (p0, p1, p2 : in math.Vector_3) return impact.d3.Shape.convex.internal.polyhedral.triangle.item; overriding procedure getAabb (Self : in Item; t : in Transform_3d; aabbMin, aabbMax : out Vector_3); overriding function getName (Self : in Item) return String; overriding procedure setMargin (Self : in out Item; margin : in math.Real); overriding function getMargin (Self : in Item) return math.Real; overriding function localGetSupportingVertex (Self : in Item; vec : in Vector_3) return Vector_3; overriding function localGetSupportingVertexWithoutMargin (Self : in Item; dir : in Vector_3) return Vector_3; overriding procedure getAabbSlow (Self : in Item; t : in Transform_3d; aabbMin, aabbMax : out Vector_3); overriding procedure setLocalScaling (Self : in out Item; scaling : in Vector_3); overriding function getLocalScaling (Self : in Item) return Vector_3; overriding function getNumPreferredPenetrationDirections (Self : in Item) return Integer; overriding procedure getPreferredPenetrationDirection (Self : in Item; index : in Integer; penetrationVector : out Vector_3); overriding function getNumVertices (Self : in Item) return Integer; overriding function getNumEdges (Self : in Item) return Integer; overriding function getNumPlanes (Self : in Item) return Integer; overriding procedure getVertex (Self : in Item; i : in Integer; vtx : out math.Vector_3); overriding procedure getEdge (Self : in Item; i : in Integer; pa, pb : out math.Vector_3); overriding procedure getPlane (Self : in Item; planeNormal : out math.Vector_3; planeSupport : out math.Vector_3; i : in Integer); overriding function isInside (Self : in Item; pt : in math.Vector_3; tolerance : in math.Real) return Boolean; function getVertexPtr (Self : access Item; index : in Integer) return access math.Vector_3; procedure batchedUnitVectorGetSupportingVertexWithoutMargin (Self : in Item; vectors : in impact.d3.Shape.convex.internal.polyhedral.triangle.Vertices; supportVerticesOut : out impact.d3.Shape.convex.internal.polyhedral.triangle.Vertices; numVectors : in Integer); procedure calcNormal (Self : in Item; normal : out math.Vector_3); procedure getPlaneEquation (Self : in Item; i : in Integer; planeNormal : out math.Vector_3; planeSupport : out math.Vector_3); overriding procedure calculateLocalInertia (Self : in Item; mass : in math.Real; inertia : out math.Vector_3); end impact.d3.Shape.convex.internal.polyhedral.triangle;
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib.Values; with System; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_audio_gstbaseaudiosrc_h; -- limited -- with GStreamer.GST_Low_Level.glib_2_0_glib_gthread_h; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_audio_gstringbuffer_h; with glib; package GStreamer.GST_Low_Level.gstreamer_0_10_gst_audio_gstaudiosrc_h is -- unsupported macro: GST_TYPE_AUDIO_SRC (gst_audio_src_get_type()) -- arg-macro: function GST_AUDIO_SRC (obj) -- return G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_AUDIO_SRC,GstAudioSrc); -- arg-macro: function GST_AUDIO_SRC_CLASS (klass) -- return G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_AUDIO_SRC,GstAudioSrcClass); -- arg-macro: function GST_AUDIO_SRC_GET_CLASS (obj) -- return G_TYPE_INSTANCE_GET_CLASS ((obj),GST_TYPE_AUDIO_SRC,GstAudioSrcClass); -- arg-macro: function GST_IS_AUDIO_SRC (obj) -- return G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AUDIO_SRC); -- arg-macro: function GST_IS_AUDIO_SRC_CLASS (klass) -- return G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AUDIO_SRC); -- GStreamer -- * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu> -- * 2005 Wim Taymans <wim@fluendo.com> -- * -- * gstaudiosrc.h: -- * -- * This library is free software; you can redistribute it and/or -- * modify it under the terms of the GNU Library General Public -- * License as published by the Free Software Foundation; either -- * version 2 of the License, or (at your option) any later version. -- * -- * This library is distributed in the hope that it will be useful, -- * but WITHOUT ANY WARRANTY; without even the implied warranty of -- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- * Library General Public License for more details. -- * -- * You should have received a copy of the GNU Library General Public -- * License along with this library; if not, write to the -- * Free Software Foundation, Inc., 59 Temple Place - Suite 330, -- * Boston, MA 02111-1307, USA. -- type GstAudioSrc; type u_GstAudioSrc_u_gst_reserved_array is array (0 .. 3) of System.Address; --subtype GstAudioSrc is u_GstAudioSrc; -- gst/audio/gstaudiosrc.h:38 type GstAudioSrcClass; type u_GstAudioSrcClass_u_gst_reserved_array is array (0 .. 3) of System.Address; --subtype GstAudioSrcClass is u_GstAudioSrcClass; -- gst/audio/gstaudiosrc.h:39 --* -- * GstAudioSrc: -- * -- * Base class for simple audio sources. -- type GstAudioSrc is record element : aliased GStreamer.GST_Low_Level.gstreamer_0_10_gst_audio_gstbaseaudiosrc_h.GstBaseAudioSrc; -- gst/audio/gstaudiosrc.h:47 thread : access GStreamer.GST_Low_Level.glib_2_0_glib_gthread_h.GThread; -- gst/audio/gstaudiosrc.h:50 u_gst_reserved : u_GstAudioSrc_u_gst_reserved_array; -- gst/audio/gstaudiosrc.h:53 end record; pragma Convention (C_Pass_By_Copy, GstAudioSrc); -- gst/audio/gstaudiosrc.h:46 --< private > -- with LOCK --< private > --* -- * GstAudioSrcClass: -- * @parent_class: the parent class. -- * @open: open the device with the specified caps -- * @prepare: configure device with format -- * @unprepare: undo the configuration -- * @close: close the device -- * @read: read samples to the audio device -- * @delay: the number of samples queued in the device -- * @reset: unblock a read to the device and reset. -- * -- * #GstAudioSrc class. Override the vmethod to implement -- * functionality. -- type GstAudioSrcClass is record parent_class : aliased GStreamer.GST_Low_Level.gstreamer_0_10_gst_audio_gstbaseaudiosrc_h.GstBaseAudioSrcClass; -- gst/audio/gstaudiosrc.h:71 open : access function (arg1 : access GstAudioSrc) return GLIB.gboolean; -- gst/audio/gstaudiosrc.h:76 prepare : access function (arg1 : access GstAudioSrc; arg2 : access GStreamer.GST_Low_Level.gstreamer_0_10_gst_audio_gstringbuffer_h.GstRingBufferSpec) return GLIB.gboolean; -- gst/audio/gstaudiosrc.h:78 unprepare : access function (arg1 : access GstAudioSrc) return GLIB.gboolean; -- gst/audio/gstaudiosrc.h:80 close : access function (arg1 : access GstAudioSrc) return GLIB.gboolean; -- gst/audio/gstaudiosrc.h:82 read : access function (arg1 : access GstAudioSrc; arg2 : System.Address; arg3 : GLIB.guint) return GLIB.guint; -- gst/audio/gstaudiosrc.h:84 c_delay : access function (arg1 : access GstAudioSrc) return GLIB.guint; -- gst/audio/gstaudiosrc.h:86 reset : access procedure (arg1 : access GstAudioSrc); -- gst/audio/gstaudiosrc.h:88 u_gst_reserved : u_GstAudioSrcClass_u_gst_reserved_array; -- gst/audio/gstaudiosrc.h:91 end record; pragma Convention (C_Pass_By_Copy, GstAudioSrcClass); -- gst/audio/gstaudiosrc.h:70 -- vtable -- open the device with given specs -- prepare resources and state to operate with the given specs -- undo anything that was done in prepare() -- close the device -- read samples from the device -- get number of samples queued in the device -- reset the audio device, unblock from a write --< private > function gst_audio_src_get_type return GLIB.GType; -- gst/audio/gstaudiosrc.h:94 pragma Import (C, gst_audio_src_get_type, "gst_audio_src_get_type"); end GStreamer.GST_Low_Level.gstreamer_0_10_gst_audio_gstaudiosrc_h;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- O S I N T - B -- -- -- -- S p e c -- -- -- -- Copyright (C) 2001 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 contains the low level, operating system routines used only -- in the GNAT binder for command line processing and file input output. package Osint.B is procedure Record_Time_From_Last_Bind; -- Trigger the computing of the time from the last bind of the same -- program. function More_Lib_Files return Boolean; -- Indicates whether more library information files remain to be processed. -- Returns False right away if no source files, or if all source files -- have been processed. function Next_Main_Lib_File return File_Name_Type; -- This function returns the name of the next library info file specified -- on the command line. It is an error to call Next_Main_Lib_File if no -- more library information files exist (i.e. Next_Main_Lib_File may be -- called only if a previous call to More_Lib_Files returned True). This -- name is the simple name, excluding any directory information. function Time_From_Last_Bind return Nat; -- This function give an approximate number of minute from the last bind. -- It bases its computation on file stamp and therefore does gibe not -- any meaningful result before the new output binder file is written. -- So it returns Nat'last if: -- -- - it is the first bind of this specific program -- - Record_Time_From_Last_Bind was not Called first -- - Close_Binder_Output was not called first -- -- otherwise it returns the number of minutes from the last bind. The -- computation does not try to be completely accurate and in particular -- does not take leap years into account. ------------------- -- Binder Output -- ------------------- -- These routines are used by the binder to generate the C source file -- containing the binder output. The format of this file is described -- in the package Bindfmt. procedure Create_Binder_Output (Output_File_Name : String; Typ : Character; Bfile : out Name_Id); -- Creates the binder output file. Typ is one of -- -- 'c' create output file for case of generating C -- 'b' create body file for case of generating Ada -- 's' create spec file for case of generating Ada -- -- If Output_File_Name is null, then a default name is used based on -- the name of the most recently accessed main source file name. If -- Output_File_Name is non-null then it is the full path name of the -- file to be output (in the case of Ada, it must have an extension -- of adb, and the spec file is created by changing the last character -- from b to s. On return, Bfile also contains the Name_Id for the -- generated file name. procedure Write_Binder_Info (Info : String); -- Writes the contents of the referenced string to the binder output file -- created by a previous call to Create_Binder_Output. Info represents a -- single line in the file, but does not contain any line termination -- characters. The implementation of Write_Binder_Info is responsible -- for adding necessary end of line and end of file control characters -- as required by the operating system. procedure Close_Binder_Output; -- Closes the file created by Create_Binder_Output, flushing any -- buffers etc from writes by Write_Binder_Info. end Osint.B;
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with System; with Interfaces.C.Strings; with SDL_SDL_stdinc_h; package SDL_SDL_main_h is C_LINKAGE : aliased constant String := "C" & ASCII.NUL; -- ../include/SDL/SDL_main.h:38 -- unsupported macro: main SDL_main function SDL_main (argc : int; argv : System.Address) return int; -- ../include/SDL/SDL_main.h:57 pragma Import (C, SDL_main, "SDL_main"); procedure SDL_SetModuleHandle (hInst : System.Address); -- ../include/SDL/SDL_main.h:70 pragma Import (C, SDL_SetModuleHandle, "SDL_SetModuleHandle"); function SDL_RegisterApp (name : Interfaces.C.Strings.chars_ptr; style : SDL_SDL_stdinc_h.Uint32; hInst : System.Address) return int; -- ../include/SDL/SDL_main.h:72 pragma Import (C, SDL_RegisterApp, "SDL_RegisterApp"); procedure SDL_UnregisterApp; -- ../include/SDL/SDL_main.h:74 pragma Import (C, SDL_UnregisterApp, "SDL_UnregisterApp"); end SDL_SDL_main_h;
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Declarations; with Program.Elements.Defining_Identifiers; with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.Elements.Aspect_Specifications; package Program.Elements.Formal_Object_Declarations is pragma Pure (Program.Elements.Formal_Object_Declarations); type Formal_Object_Declaration is limited interface and Program.Elements.Declarations.Declaration; type Formal_Object_Declaration_Access is access all Formal_Object_Declaration'Class with Storage_Size => 0; not overriding function Names (Self : Formal_Object_Declaration) return not null Program.Elements.Defining_Identifiers .Defining_Identifier_Vector_Access is abstract; not overriding function Object_Subtype (Self : Formal_Object_Declaration) return not null Program.Elements.Element_Access is abstract; not overriding function Default_Expression (Self : Formal_Object_Declaration) return Program.Elements.Expressions.Expression_Access is abstract; not overriding function Aspects (Self : Formal_Object_Declaration) return Program.Elements.Aspect_Specifications .Aspect_Specification_Vector_Access is abstract; not overriding function Has_In (Self : Formal_Object_Declaration) return Boolean is abstract; not overriding function Has_Out (Self : Formal_Object_Declaration) return Boolean is abstract; not overriding function Has_Not_Null (Self : Formal_Object_Declaration) return Boolean is abstract; type Formal_Object_Declaration_Text is limited interface; type Formal_Object_Declaration_Text_Access is access all Formal_Object_Declaration_Text'Class with Storage_Size => 0; not overriding function To_Formal_Object_Declaration_Text (Self : in out Formal_Object_Declaration) return Formal_Object_Declaration_Text_Access is abstract; not overriding function Colon_Token (Self : Formal_Object_Declaration_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function In_Token (Self : Formal_Object_Declaration_Text) return Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Out_Token (Self : Formal_Object_Declaration_Text) return Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Not_Token (Self : Formal_Object_Declaration_Text) return Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Null_Token (Self : Formal_Object_Declaration_Text) return Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Assignment_Token (Self : Formal_Object_Declaration_Text) return Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function With_Token (Self : Formal_Object_Declaration_Text) return Program.Lexical_Elements.Lexical_Element_Access is abstract; not overriding function Semicolon_Token (Self : Formal_Object_Declaration_Text) return not null Program.Lexical_Elements.Lexical_Element_Access is abstract; end Program.Elements.Formal_Object_Declarations;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- G N A T . B U B B L E _ S O R T _ A -- -- -- -- B o d y -- -- -- -- Copyright (C) 1995-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. -- -- -- ------------------------------------------------------------------------------ package body GNAT.Bubble_Sort_A is ---------- -- Sort -- ---------- procedure Sort (N : Natural; Move : Move_Procedure; Lt : Lt_Function) is Switched : Boolean; begin loop Switched := False; for J in 1 .. N - 1 loop if Lt (J + 1, J) then Move (J, 0); Move (J + 1, J); Move (0, J + 1); Switched := True; end if; end loop; exit when not Switched; end loop; end Sort; end GNAT.Bubble_Sort_A;
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Web Framework -- -- -- -- Tools Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2015, 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 Properties.Expressions.Null_Literal is ---------- -- Code -- ---------- function Code (Engine : access Engines.Contexts.Context; Element : Asis.Expression; Name : Engines.Text_Property) return League.Strings.Universal_String is pragma Unreferenced (Engine, Name, Element); Result : constant League.Strings.Universal_String := League.Strings.To_Universal_String ("null"); begin return Result; end Code; end Properties.Expressions.Null_Literal;
with physics.Joint, lace.Any; limited with gel.Sprite; package gel.Joint -- -- Allows sprites to be connected via a joint. -- A joint constrains the motion of the sprites which it connects. -- is type Item is abstract new lace.Any.limited_item with private; type View is access all Item'Class; type Views is array (math.Index range <>) of View; null_Joints : constant Joint.views; function to_GEL (the_Joint : in physics.Joint.view) return gel.Joint.view; subtype Degree_of_freedom is physics.Joint.Degree_of_freedom; use Math; --------- --- Forge -- procedure define (Self : access Item; Sprite_A, Sprite_B : access gel.Sprite.item'Class); procedure destroy (Self : in out Item) is abstract; procedure free (Self : in out View); -------------- --- Attributes -- function Sprite_A (Self : in Item'Class) return access gel.Sprite.item'Class; function Sprite_B (Self : in Item'Class) return access gel.Sprite.item'Class; function Frame_A (Self : in Item) return Matrix_4x4 is abstract; function Frame_B (Self : in Item) return Matrix_4x4 is abstract; procedure Frame_A_is (Self : in out Item; Now : in Matrix_4x4) is abstract; procedure Frame_B_is (Self : in out Item; Now : in Matrix_4x4) is abstract; function Degrees_of_freedom (Self : in Item) return degree_of_Freedom is abstract; -- -- Returns the number of possible DoF's for this joint. type Physics_view is access all physics.Joint.item'Class; function Physics (Self : in Item) return Physics_view is abstract; -- Bounds - limits the range of motion for a Degree of freedom. -- function low_Bound (Self : access Item; for_Degree : in Degree_of_freedom) return Real is abstract; procedure low_Bound_is (Self : access Item; for_Degree : in Degree_of_freedom; Now : in Real) is abstract; function high_Bound (Self : access Item; for_Degree : in Degree_of_freedom) return Real is abstract; procedure high_Bound_is (Self : access Item; for_Degree : in Degree_of_freedom; Now : in Real) is abstract; function is_Bound (Self : in Item; for_Degree : in Degree_of_freedom) return Boolean is abstract; -- -- Returns true if an upper or lower bound has been set for the given Degree of freedom. function Extent (Self : in Item; for_Degree : in Degree_of_freedom) return Real is abstract; -- -- Angle about axis for rotational joints or spatial distance along an axis, in the case of sliders, etc. procedure Velocity_is (Self : in Item; for_Degree : in Degree_of_freedom; Now : in Real) is abstract; function reaction_Force (Self : in Item'Class) return Vector_3; function reaction_Torque (Self : in Item'Class) return Real; -------------- --- Operations -- -- Nil. ---------- --- Hinges -- function local_Anchor_on_A (Self : in Item) return Vector_3; function local_Anchor_on_B (Self : in Item) return Vector_3; procedure local_Anchor_on_A_is (Self : out Item; Now : in Vector_3); procedure local_Anchor_on_B_is (Self : out Item; Now : in Vector_3); private type Item is abstract new lace.Any.limited_item with record Sprite_A : access gel.Sprite.item'Class; Sprite_B : access gel.Sprite.item'Class; local_Anchor_on_A : Vector_3; local_Anchor_on_B : Vector_3; end record; null_Joints : constant Joint.views (1 .. 0) := (others => null); end gel.Joint;
-- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- This software was developed by John Self of the Arcadia project -- at the University of California, Irvine. -- -- Redistribution and use in source and binary forms are permitted -- provided that the above copyright notice and this paragraph are -- duplicated in all such forms and that any documentation, -- advertising materials, and other materials related to such -- distribution and use acknowledge that the software was developed -- by the University of California, Irvine. The name of the -- University may not be used to endorse or promote products derived -- from this software without specific prior written permission. -- THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR -- IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED -- WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. -- TITLE skeleton manager -- AUTHOR: John Self (UCI) -- DESCRIPTION outputs skeleton sections when called by gen. -- NOTES allows use of internal or external skeleton -- $Header: /dc/uc/self/arcadia/aflex/ada/src/alsys_dos/RCS/skelb.ada,v 1.3 1993/06/01 19:16:36 self Exp $ with MISC_DEFS, TEXT_IO, FILE_STRING; package body SKELETON_MANAGER is use FILE_STRING; -- to save having to type FILE_STRING 177 times USE_EXTERNAL_SKELETON : BOOLEAN := FALSE; -- are we using an external skelfile? CURRENT_LINE : INTEGER := 1; type FILE_ARRAY is array(POSITIVE range <>) of FILE_STRING.VSTRING; SKEL_TEMPLATE : constant FILE_ARRAY := ( -- START OF SKELETON -- START OF S1 VSTR("-- A lexical scanner generated by aflex"), VSTR("with text_io; use text_io;"), VSTR("%% user's code up to the double pound goes right here"), -- BEGIN S2 VSTR("function YYLex return Token is"), VSTR("subtype short is integer range -32768..32767;"), VSTR(" yy_act : integer;"), VSTR(" yy_c : short;"), VSTR(""), VSTR("-- returned upon end-of-file"), VSTR("YY_END_TOK : constant integer := 0;"), VSTR("%% tables get generated here."), -- BEGIN S3 VSTR(""), VSTR("-- copy whatever the last rule matched to the standard output"), VSTR(""), VSTR("procedure ECHO is"), VSTR(" --% The following body changed by Sriram for porting to DOS/ALSYS."), VSTR(" --% Occurrences of ASCII.LF is to be treated as new_line. See ASCAN.L"), VSTR(" --% for old code."), VSTR("begin"), VSTR(" if (text_io.is_open(user_output_file)) then"), VSTR(" for yyindex in yytext'range loop"), VSTR(" if yytext(yyindex) = ascii.lf then"), VSTR(" text_io.new_line(user_output_file);"), VSTR(" else"), VSTR(" text_io.put(user_output_file, yytext(yyindex));"), VSTR(" end if;"), VSTR(" end loop;"), VSTR(" else"), VSTR(" for yyindex in yytext'range loop"), VSTR(" if yytext(yyindex) = ascii.lf then"), VSTR(" text_io.new_line;"), VSTR(" else"), VSTR(" text_io.put(yytext(yyindex));"), VSTR(" end if;"), VSTR(" end loop;"), VSTR(" end if;"), VSTR("end ECHO;"), VSTR(""), VSTR("-- enter a start condition."), VSTR("-- Using procedure requires a () after the ENTER, but makes everything"), VSTR("-- much neater."), VSTR(""), VSTR("procedure ENTER( state : integer ) is"), VSTR("begin"), VSTR(" yy_start := 1 + 2 * state;"), VSTR("end ENTER;"), VSTR(""), VSTR("-- action number for EOF rule of a given start state"), VSTR("function YY_STATE_EOF(state : integer) return integer is"), VSTR("begin"), VSTR(" return YY_END_OF_BUFFER + state + 1;"), VSTR("end YY_STATE_EOF;"), VSTR(""), VSTR("-- return all but the first 'n' matched characters back to the input stream"), VSTR("procedure yyless(n : integer) is"), VSTR("begin"), VSTR(" yy_ch_buf(yy_cp) := yy_hold_char; -- undo effects of setting up yytext"), VSTR(" yy_cp := yy_bp + n;"), VSTR(" yy_c_buf_p := yy_cp;"), VSTR(" YY_DO_BEFORE_ACTION; -- set up yytext again"), VSTR("end yyless;"), VSTR(""), VSTR("-- redefine this if you have something you want each time."), VSTR("procedure YY_USER_ACTION is"), VSTR("begin"), VSTR(" null;"), VSTR("end;"), VSTR(""), VSTR("-- yy_get_previous_state - get the state just before the EOB char was reached"), VSTR(""), VSTR("function yy_get_previous_state return yy_state_type is"), VSTR(" yy_current_state : yy_state_type;"), VSTR(" yy_c : short;"), VSTR("%% a local declaration of yy_bp goes here if bol_needed"), VSTR("begin"), VSTR("%% code to get the start state into yy_current_state goes here"), -- BEGIN S3A VSTR(""), VSTR(" for yy_cp in yytext_ptr..yy_c_buf_p - 1 loop"), VSTR("%% code to find the next state goes here"), -- BEGIN S4 VSTR(" end loop;"), VSTR(""), VSTR(" return yy_current_state;"), VSTR("end yy_get_previous_state;"), VSTR(""), VSTR("procedure yyrestart( input_file : file_type ) is"), VSTR("begin"), VSTR(" open_input(text_io.name(input_file));"), VSTR("end yyrestart;"), VSTR(""), VSTR("begin -- of YYLex"), VSTR("<<new_file>>"), VSTR(" -- this is where we enter upon encountering an end-of-file and"), VSTR(" -- yywrap() indicating that we should continue processing"), VSTR(""), VSTR(" if ( yy_init ) then"), VSTR(" if ( yy_start = 0 ) then"), VSTR(" yy_start := 1; -- first start state"), VSTR(" end if;"), VSTR(""), VSTR(" -- we put in the '\n' and start reading from [1] so that an"), VSTR(" -- initial match-at-newline will be true."), VSTR(""), VSTR(" yy_ch_buf(0) := ASCII.LF;"), VSTR(" yy_n_chars := 1;"), VSTR(""), VSTR(" -- we always need two end-of-buffer characters. The first causes"), VSTR(" -- a transition to the end-of-buffer state. The second causes"), VSTR(" -- a jam in that state."), VSTR(""), VSTR(" yy_ch_buf(yy_n_chars) := YY_END_OF_BUFFER_CHAR;"), VSTR(" yy_ch_buf(yy_n_chars + 1) := YY_END_OF_BUFFER_CHAR;"), VSTR(""), VSTR(" yy_eof_has_been_seen := false;"), VSTR(""), VSTR(" yytext_ptr := 1;"), VSTR(" yy_c_buf_p := yytext_ptr;"), VSTR(" yy_hold_char := yy_ch_buf(yy_c_buf_p);"), VSTR(" yy_init := false;"), VSTR("-- UMASS CODES :"), VSTR("-- Initialization"), VSTR(" tok_begin_line := 1;"), VSTR(" tok_end_line := 1;"), VSTR(" tok_begin_col := 0;"), VSTR(" tok_end_col := 0;"), VSTR(" token_at_end_of_line := false;"), VSTR(" line_number_of_saved_tok_line1 := 0;"), VSTR(" line_number_of_saved_tok_line2 := 0;"), VSTR("-- END OF UMASS CODES."), VSTR(" end if; -- yy_init"), VSTR(""), VSTR(" loop -- loops until end-of-file is reached"), VSTR(""), VSTR("-- UMASS CODES :"), VSTR("-- if last matched token is end_of_line, we must"), VSTR("-- update the token_end_line and reset tok_end_col."), VSTR(" if Token_At_End_Of_Line then"), VSTR(" Tok_End_Line := Tok_End_Line + 1;"), VSTR(" Tok_End_Col := 0;"), VSTR(" Token_At_End_Of_Line := False;"), VSTR(" end if;"), VSTR("-- END OF UMASS CODES."), VSTR(""), VSTR(" yy_cp := yy_c_buf_p;"), VSTR(""), VSTR(" -- support of yytext"), VSTR(" yy_ch_buf(yy_cp) := yy_hold_char;"), VSTR(""), VSTR(" -- yy_bp points to the position in yy_ch_buf of the start of the"), VSTR(" -- current run."), VSTR("%%"), -- BEGIN S5 VSTR(""), VSTR("<<next_action>>"), VSTR("%% call to gen_find_action goes here"), -- BEGIN S6 VSTR(" YY_DO_BEFORE_ACTION;"), VSTR(" YY_USER_ACTION;"), VSTR(""), VSTR(" if aflex_debug then -- output acceptance info. for (-d) debug mode"), VSTR(" text_io.put( Standard_Output, ""--accepting rule #"" );"), VSTR(" text_io.put( Standard_Output, INTEGER'IMAGE(yy_act) );"), VSTR(" text_io.put_line( Standard_Output, ""("""""" & yytext & """""")"");"), VSTR(" end if;"), VSTR(""), VSTR("-- UMASS CODES :"), VSTR("-- Update tok_begin_line, tok_end_line, tok_begin_col and tok_end_col"), VSTR("-- after matching the token."), VSTR(" if yy_act /= YY_END_OF_BUFFER and then yy_act /= 0 then"), VSTR("-- Token are matched only when yy_act is not yy_end_of_buffer or 0."), VSTR(" Tok_Begin_Line := Tok_End_Line;"), VSTR(" Tok_Begin_Col := Tok_End_Col + 1;"), VSTR(" Tok_End_Col := Tok_Begin_Col + yy_cp - yy_bp - 1;"), VSTR(" if yy_ch_buf ( yy_bp ) = ASCII.LF then"), VSTR(" Token_At_End_Of_Line := True;"), VSTR(" end if;"), VSTR(" end if;"), VSTR("-- END OF UMASS CODES."), VSTR(""), VSTR("<<do_action>> -- this label is used only to access EOF actions"), VSTR(" case yy_act is"), VSTR("%% actions go here"), -- BEGIN S7 VSTR(" when YY_END_OF_BUFFER =>"), VSTR(" -- undo the effects of YY_DO_BEFORE_ACTION"), VSTR(" yy_ch_buf(yy_cp) := yy_hold_char;"), VSTR(""), VSTR(" yytext_ptr := yy_bp;"), VSTR(""), VSTR(" case yy_get_next_buffer is"), VSTR(" when EOB_ACT_END_OF_FILE =>"), VSTR(" begin"), VSTR(" if ( yywrap ) then"), VSTR(" -- note: because we've taken care in"), VSTR(" -- yy_get_next_buffer() to have set up yytext,"), VSTR(" -- we can now set up yy_c_buf_p so that if some"), VSTR(" -- total hoser (like aflex itself) wants"), VSTR(" -- to call the scanner after we return the"), VSTR(" -- End_Of_Input, it'll still work - another"), VSTR(" -- End_Of_Input will get returned."), VSTR(""), VSTR(" yy_c_buf_p := yytext_ptr;"), VSTR(""), VSTR(" yy_act := YY_STATE_EOF((yy_start - 1) / 2);"), VSTR(""), VSTR(" goto do_action;"), VSTR(" else"), VSTR(" -- start processing a new file"), VSTR(" yy_init := true;"), VSTR(" goto new_file;"), VSTR(" end if;"), VSTR(" end;"), VSTR(" when EOB_ACT_RESTART_SCAN =>"), VSTR(" yy_c_buf_p := yytext_ptr;"), VSTR(" yy_hold_char := yy_ch_buf(yy_c_buf_p);"), VSTR(" when EOB_ACT_LAST_MATCH =>"), VSTR(" yy_c_buf_p := yy_n_chars;"), VSTR(" yy_current_state := yy_get_previous_state;"), VSTR(""), VSTR(" yy_cp := yy_c_buf_p;"), VSTR(" yy_bp := yytext_ptr;"), VSTR(" goto next_action;"), VSTR(" when others => null;"), VSTR(" end case; -- case yy_get_next_buffer()"), VSTR(" when others =>"), VSTR(" text_io.put( ""action # "" );"), VSTR(" text_io.put( INTEGER'IMAGE(yy_act) );"), VSTR(" text_io.new_line;"), VSTR(" raise AFLEX_INTERNAL_ERROR;"), VSTR(" end case; -- case (yy_act)"), VSTR(" end loop; -- end of loop waiting for end of file"), VSTR("end YYLex;"), VSTR("%%"), VSTR("ERROR tried to output beyond end of skeleton file") -- END OF SKELETON ); -- set_external_skeleton -- -- DESCRIPTION -- sets flag so we know to use an external skelfile procedure SET_EXTERNAL_SKELETON is begin USE_EXTERNAL_SKELETON := TRUE; end SET_EXTERNAL_SKELETON; procedure GET_INTERNAL(BUFFER : in out FILE_STRING.VSTRING) is begin BUFFER := SKEL_TEMPLATE(CURRENT_LINE); CURRENT_LINE := CURRENT_LINE + 1; end GET_INTERNAL; procedure GET_EXTERNAL(BUFFER : in out FILE_STRING.VSTRING) is begin FILE_STRING.GET_LINE(MISC_DEFS.SKELFILE, BUFFER); end GET_EXTERNAL; -- end_of_skeleton -- -- DESCRIPTION -- returns true if there are no more lines left to output in the skeleton function END_OF_SKELETON return BOOLEAN is begin if (USE_EXTERNAL_SKELETON) then -- we're using an external skelfile return TEXT_IO.END_OF_FILE(MISC_DEFS.SKELFILE); else -- internal skeleton return CURRENT_LINE > SKEL_TEMPLATE'LAST; end if; end END_OF_SKELETON; procedure GET_FILE_LINE(BUFFER : in out FILE_STRING.VSTRING) is begin if (USE_EXTERNAL_SKELETON) then GET_EXTERNAL(BUFFER); else GET_INTERNAL(BUFFER); end if; end GET_FILE_LINE; -- skelout - write out one section of the skeleton file -- -- DESCRIPTION -- Either outputs internal skeleton, or from a file with "%%" dividers -- if a skeleton file is specified by the user. -- Copies from skelfile to stdout until a line beginning with "%%" or -- EOF is found. procedure SKELOUT is BUF : FILE_STRING.VSTRING; LINE_LEN : INTEGER; -- UMASS CODES : Umass_Codes : Boolean := False; -- Indicates whether or not current line of the template -- is the Umass codes. -- END OF UMASS CODES. begin while (not END_OF_SKELETON) loop GET_FILE_LINE(BUF); if ((FILE_STRING.LEN(BUF) >= 2) and then ((FILE_STRING.CHAR(BUF, 1) = '%') and (FILE_STRING.CHAR(BUF, 2) = '%'))) then exit; else -- UMASS CODES : -- In the template, the codes between "-- UMASS CODES : " and -- "-- END OF UMASS CODES." are specific to be used by Ayacc-extension. -- Ayacc-extension has more power in error recovery. So we -- generate those codes only when Ayacc_Extension_Flag is True. if FILE_STRING.STR(BUF) = "-- UMASS CODES :" then Umass_Codes := True; end if; if not Umass_Codes or else MISC_DEFS.Ayacc_Extension_Flag then FILE_STRING.PUT_LINE(BUF); end if; if FILE_STRING.STR(BUF) = "-- END OF UMASS CODES." then Umass_Codes := False; end if; -- END OF UMASS CODES. -- UCI CODES commented out : -- The following line is commented out because it is done in Umass codes. -- FILE_STRING.PUT_LINE(BUF); end if; end loop; end SKELOUT; end SKELETON_MANAGER;
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_delete_property_request_t is -- Item -- type Item is record major_opcode : aliased Interfaces.Unsigned_8; pad0 : aliased Interfaces.Unsigned_8; length : aliased Interfaces.Unsigned_16; window : aliased xcb.xcb_window_t; property : aliased xcb.xcb_atom_t; end record; -- Item_Array -- type Item_Array is array (Interfaces.C .size_t range <>) of aliased xcb.xcb_delete_property_request_t .Item; -- Pointer -- package C_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_delete_property_request_t.Item, Element_Array => xcb.xcb_delete_property_request_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_delete_property_request_t .Pointer; -- Pointer_Pointer -- package C_Pointer_Pointers is new Interfaces.C.Pointers (Index => Interfaces.C.size_t, Element => xcb.xcb_delete_property_request_t.Pointer, Element_Array => xcb.xcb_delete_property_request_t.Pointer_Array, Default_Terminator => null); subtype Pointer_Pointer is C_Pointer_Pointers.Pointer; end xcb.xcb_delete_property_request_t;
-- Ada_GUI version of Random_Int -- -- Copyright (C) 2021 by PragmAda Software Engineering -- -- Released under the terms of the 3-Clause BSD License. See https://opensource.org/licenses/BSD-3-Clause -- -- The (application-specific) user interface with Ada.Strings.Fixed; with Ada_GUI; package body Random_Int.UI is Min_Entry : Ada_GUI.Widget_ID; Max_Entry : Ada_GUI.Widget_ID; Result : Ada_GUI.Widget_ID; Generator : Ada_GUI.Widget_ID; Quitter : Ada_GUI.Widget_ID; Finished : Boolean := False with Atomic; function Ended return Boolean is (Finished); task Event_Handler is entry Start; -- Delay the task until the GUI is set up entry Get (Event : out Event_ID); end Event_Handler; function Next_Event return Event_ID is Result : Event_ID; begin -- Next_Event Event_Handler.Get (Event => Result); return Result; end Next_Event; function Min_Text return String Is (Min_Entry.Text); function Max_Text return String Is (Max_Entry.Text); function Image (Value : Integer) return String is (Ada.Strings.Fixed.Trim (Value'Image, Ada.Strings.Both) ); procedure Set_Min (Value : in Integer) is -- Empty begin -- Set_Min Min_Entry.Set_Text (Text => Image (Value) ); end Set_Min; procedure Set_Max (Value : in Integer) is -- Empty begin -- Set_Max Max_Entry.Set_Text (Text => Image (Value) ); end Set_Max; procedure Min_Error is -- Empty begin -- Min_Error Min_Entry.Set_Text (Text => ""); end Min_Error; procedure Max_Error is -- Empty begin -- Max_Error Max_Entry.Set_Text (Text => ""); end Max_Error; procedure Show_Result (Value : in Integer) is -- Empty begin -- Show_Result Result.Set_Text (Text => Image (Value) ); end Show_Result; task body Event_Handler is Event : Ada_GUI.Next_Result_Info; ID : Ada_GUI.Widget_ID; use type Ada_GUI.Event_Kind_ID; use type Ada_GUI.Widget_ID; begin -- Event_Handler accept Start; Forever : loop Event := Ada_GUI.Next_Event (Timeout => 1.0); if not Event.Timed_Out then if Event.Event.Kind = Ada_GUI.Window_Closed then accept Get (Event : out Event_ID) do Event := Quit; end Get; Finished := True; exit Forever; elsif Event.Event.Kind = Ada_GUI.Left_Click then ID := Event.Event.ID; if ID = Generator or ID = Quitter then accept Get (Event : out Event_ID) do if ID = Generator then Event := Generate; else Event := Quit; Finished := True; end if; end Get; end if; exit Forever when ID = Quitter; end if; end if; end loop Forever; Ada_GUI.End_GUI; end Event_Handler; Placeholder : constant String := "Enter an integer"; begin -- Random_Int.UI Ada_GUI.Set_Up (Grid => (1 => (1 .. 2 => (Kind => Ada_GUI.Area, Alignment => Ada_GUI.Right) ) ), Title => "Random Integers"); Min_Entry := Ada_GUI.New_Text_Box (Label => "Minimum value", Placeholder => Placeholder); Min_Entry.Set_Text_Aligbnment (Alignment => Ada_GUI.Right); Max_Entry := Ada_GUI.New_Text_Box (Break_Before => True, Label => "Maximum value", Placeholder => Placeholder); Max_Entry.Set_Text_Aligbnment (Alignment => Ada_GUI.Right); Result := Ada_GUI.New_Text_Box (Break_Before => True); Result.Set_Text_Aligbnment (Alignment => Ada_GUI.Right); Generator := Ada_GUI.New_Button (Text => "Generate"); Quitter := Ada_GUI.New_Button (Text => "Quit", Break_Before => True); Event_Handler.Start; end Random_Int.UI;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- C L E A N -- -- -- -- B o d y -- -- -- -- Copyright (C) 2001-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, 59 Temple Place - Suite 330, Boston, -- -- MA 02111-1307, USA. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Ada.Command_Line; use Ada.Command_Line; with ALI; use ALI; with Csets; with Gnatvsn; with Hostparm; with Makeutl; use Makeutl; with MLib.Tgt; use MLib.Tgt; with Namet; use Namet; with Opt; use Opt; with Osint; use Osint; with Osint.M; use Osint.M; with Prj; use Prj; with Prj.Com; with Prj.Env; with Prj.Ext; with Prj.Pars; with Prj.Util; use Prj.Util; with Snames; with System; with Table; with Types; use Types; with GNAT.Directory_Operations; use GNAT.Directory_Operations; with GNAT.IO; use GNAT.IO; with GNAT.OS_Lib; use GNAT.OS_Lib; package body Clean is Initialized : Boolean := False; -- Set to True by the first call to Initialize. -- To avoid reinitialization of some packages. -- Suffixes of various files Assembly_Suffix : constant String := ".s"; ALI_Suffix : constant String := ".ali"; Tree_Suffix : constant String := ".adt"; Object_Suffix : constant String := Get_Object_Suffix.all; Debug_Suffix : String := ".dg"; -- Changed to "_dg" for VMS in the body of the package Repinfo_Suffix : String := ".rep"; -- Changed to "_rep" for VMS in the body of the package B_Start : String := "b~"; -- Prefix of binder generated file. -- Changed to "b$" for VMS in the body of the package. Object_Directory_Path : String_Access := null; -- The path name of the object directory, set with switch -D Do_Nothing : Boolean := False; -- Set to True when switch -n is specified. -- When True, no file is deleted. gnatclean only lists the files that -- would have been deleted if the switch -n had not been specified. File_Deleted : Boolean := False; -- Set to True if at least one file has been deleted Copyright_Displayed : Boolean := False; Usage_Displayed : Boolean := False; Project_File_Name : String_Access := null; Main_Project : Prj.Project_Id := Prj.No_Project; All_Projects : Boolean := False; -- Packages of project files where unknown attributes are errors. Naming_String : aliased String := "naming"; Builder_String : aliased String := "builder"; Compiler_String : aliased String := "compiler"; Binder_String : aliased String := "binder"; Linker_String : aliased String := "linker"; Gnatmake_Packages : aliased String_List := (Naming_String 'Access, Builder_String 'Access, Compiler_String 'Access, Binder_String 'Access, Linker_String 'Access); Packages_To_Check_By_Gnatmake : constant String_List_Access := Gnatmake_Packages'Access; package Processed_Projects is new Table.Table (Table_Component_Type => Project_Id, Table_Index_Type => Natural, Table_Low_Bound => 0, Table_Initial => 10, Table_Increment => 10, Table_Name => "Clean.Processed_Projects"); -- Table to keep track of what project files have been processed, when -- switch -r is specified. package Sources is new Table.Table (Table_Component_Type => File_Name_Type, Table_Index_Type => Natural, Table_Low_Bound => 0, Table_Initial => 10, Table_Increment => 10, Table_Name => "Clean.Processed_Projects"); -- Table to store all the source files of a library unit: spec, body and -- subunits, to detect .dg files and delete them. ---------------------------- -- Queue (Q) manipulation -- ---------------------------- procedure Init_Q; -- Must be called to initialize the Q procedure Insert_Q (Lib_File : File_Name_Type); -- If Lib_File is not marked, inserts it at the end of Q and mark it function Empty_Q return Boolean; -- Returns True if Q is empty. procedure Extract_From_Q (Lib_File : out File_Name_Type); -- Extracts the first element from the Q. Q_Front : Natural; -- Points to the first valid element in the Q. package Q is new Table.Table ( Table_Component_Type => File_Name_Type, Table_Index_Type => Natural, Table_Low_Bound => 0, Table_Initial => 4000, Table_Increment => 100, Table_Name => "Clean.Q"); -- This is the actual queue ----------------------------- -- Other local subprograms -- ----------------------------- procedure Add_Source_Dir (N : String); -- Call Add_Src_Search_Dir. -- Output one line when in verbose mode. procedure Add_Source_Directories is new Prj.Env.For_All_Source_Dirs (Action => Add_Source_Dir); procedure Add_Object_Dir (N : String); -- Call Add_Lib_Search_Dir. -- Output one line when in verbose mode. procedure Add_Object_Directories is new Prj.Env.For_All_Object_Dirs (Action => Add_Object_Dir); function ALI_File_Name (Source : Name_Id) return String; -- Returns the name of the ALI file corresponding to Source function Assembly_File_Name (Source : Name_Id) return String; -- Returns the assembly file name corresponding to Source procedure Clean_Archive (Project : Project_Id); -- Delete a global archive or a fake library project archive and the -- dependency file, if they exist. procedure Clean_Directory (Dir : Name_Id); -- Delete all regular files in a library directory or in a library -- interface dir. procedure Clean_Executables; -- Do the cleaning work when no project file is specified procedure Clean_Project (Project : Project_Id); -- Do the cleaning work when a project file is specified. -- This procedure calls itself recursively when there are several -- project files in the tree rooted at the main project file and switch -r -- has been specified. function Debug_File_Name (Source : Name_Id) return String; -- Name of the expanded source file corresponding to Source procedure Delete (In_Directory : String; File : String); -- Delete one file, or list the file name if switch -n is specified procedure Delete_Binder_Generated_Files (Dir : String; Source : Name_Id); -- Delete the binder generated file in directory Dir for Source, if they -- exist: for Unix these are b~<source>.ads, b~<source>.adb, -- b~<source>.ali and b~<source>.o. procedure Display_Copyright; -- Display the Copyright notice. -- If called several times, display the Copyright notice only the first -- time. procedure Initialize; -- Call the necessary package initializations function Object_File_Name (Source : Name_Id) return String; -- Returns the object file name corresponding to Source procedure Parse_Cmd_Line; -- Parse the command line function Repinfo_File_Name (Source : Name_Id) return String; -- Returns the repinfo file name corresponding to Source function Tree_File_Name (Source : Name_Id) return String; -- Returns the tree file name corresponding to Source function In_Extension_Chain (Of_Project : Project_Id; Prj : Project_Id) return Boolean; -- Returns True iff Prj is an extension of Of_Project or if Of_Project is -- an extension of Prj. procedure Usage; -- Display the usage. -- If called several times, the usage is displayed only the first time. -------------------- -- Add_Object_Dir -- -------------------- procedure Add_Object_Dir (N : String) is begin Add_Lib_Search_Dir (N); if Opt.Verbose_Mode then Put ("Adding object directory """); Put (N); Put ("""."); New_Line; end if; end Add_Object_Dir; -------------------- -- Add_Source_Dir -- -------------------- procedure Add_Source_Dir (N : String) is begin Add_Src_Search_Dir (N); if Opt.Verbose_Mode then Put ("Adding source directory """); Put (N); Put ("""."); New_Line; end if; end Add_Source_Dir; ------------------- -- ALI_File_Name -- ------------------- function ALI_File_Name (Source : Name_Id) return String is Src : constant String := Get_Name_String (Source); begin -- If the source name has an extension, then replace it with -- the ALI suffix. for Index in reverse Src'First + 1 .. Src'Last loop if Src (Index) = '.' then return Src (Src'First .. Index - 1) & ALI_Suffix; end if; end loop; -- If there is no dot, or if it is the first character, just add the -- ALI suffix. return Src & ALI_Suffix; end ALI_File_Name; ------------------------ -- Assembly_File_Name -- ------------------------ function Assembly_File_Name (Source : Name_Id) return String is Src : constant String := Get_Name_String (Source); begin -- If the source name has an extension, then replace it with -- the assembly suffix. for Index in reverse Src'First + 1 .. Src'Last loop if Src (Index) = '.' then return Src (Src'First .. Index - 1) & Assembly_Suffix; end if; end loop; -- If there is no dot, or if it is the first character, just add the -- assembly suffix. return Src & Assembly_Suffix; end Assembly_File_Name; ------------------- -- Clean_Archive -- ------------------- procedure Clean_Archive (Project : Project_Id) is Current_Dir : constant Dir_Name_Str := Get_Current_Dir; Data : constant Project_Data := Projects.Table (Project); Archive_Name : constant String := "lib" & Get_Name_String (Data.Name) & '.' & Archive_Ext; -- The name of the archive file for this project Archive_Dep_Name : constant String := "lib" & Get_Name_String (Data.Name) & ".deps"; -- The name of the archive dependency file for this project Obj_Dir : constant String := Get_Name_String (Data.Object_Directory); begin Change_Dir (Obj_Dir); if Is_Regular_File (Archive_Name) then Delete (Obj_Dir, Archive_Name); end if; if Is_Regular_File (Archive_Dep_Name) then Delete (Obj_Dir, Archive_Dep_Name); end if; Change_Dir (Current_Dir); end Clean_Archive; --------------------- -- Clean_Directory -- --------------------- procedure Clean_Directory (Dir : Name_Id) is Directory : constant String := Get_Name_String (Dir); Current : constant Dir_Name_Str := Get_Current_Dir; Direc : Dir_Type; Name : String (1 .. 200); Last : Natural; procedure Set_Writable (Name : System.Address); pragma Import (C, Set_Writable, "__gnat_set_writable"); begin Change_Dir (Directory); Open (Direc, "."); -- For each regular file in the directory, if switch -n has not been -- specified, make it writable and delete the file. loop Read (Direc, Name, Last); exit when Last = 0; if Is_Regular_File (Name (1 .. Last)) then if not Do_Nothing then Name (Last + 1) := ASCII.NUL; Set_Writable (Name (1)'Address); end if; Delete (Directory, Name (1 .. Last)); end if; end loop; Close (Direc); -- Restore the initial working directory Change_Dir (Current); end Clean_Directory; ----------------------- -- Clean_Executables -- ----------------------- procedure Clean_Executables is Main_Source_File : File_Name_Type; -- Current main source Main_Lib_File : File_Name_Type; -- ALI file of the current main Lib_File : File_Name_Type; -- Current ALI file Full_Lib_File : File_Name_Type; -- Full name of the current ALI file Text : Text_Buffer_Ptr; The_ALI : ALI_Id; begin Init_Q; -- It does not really matter if there is or not an object file -- corresponding to an ALI file: if there is one, it will be deleted. Opt.Check_Object_Consistency := False; -- Proceed each executable one by one. Each source is marked as it is -- processed, so common sources between executables will not be -- processed several times. for N_File in 1 .. Osint.Number_Of_Files loop Main_Source_File := Next_Main_Source; Main_Lib_File := Osint.Lib_File_Name (Main_Source_File, Current_File_Index); Insert_Q (Main_Lib_File); while not Empty_Q loop Sources.Set_Last (0); Extract_From_Q (Lib_File); Full_Lib_File := Osint.Full_Lib_File_Name (Lib_File); -- If we have existing ALI file that is not read-only, process it if Full_Lib_File /= No_File and then not Is_Readonly_Library (Full_Lib_File) then Text := Read_Library_Info (Lib_File); if Text /= null then The_ALI := Scan_ALI (Lib_File, Text, Ignore_ED => False, Err => True); Free (Text); -- If no error was produced while loading this ALI file, -- insert into the queue all the unmarked withed sources. if The_ALI /= No_ALI_Id then for J in ALIs.Table (The_ALI).First_Unit .. ALIs.Table (The_ALI).Last_Unit loop Sources.Increment_Last; Sources.Table (Sources.Last) := ALI.Units.Table (J).Sfile; for K in ALI.Units.Table (J).First_With .. ALI.Units.Table (J).Last_With loop Insert_Q (Withs.Table (K).Afile); end loop; end loop; -- Look for subunits and put them in the Sources table for J in ALIs.Table (The_ALI).First_Sdep .. ALIs.Table (The_ALI).Last_Sdep loop if Sdep.Table (J).Subunit_Name /= No_Name then Sources.Increment_Last; Sources.Table (Sources.Last) := Sdep.Table (J).Sfile; end if; end loop; end if; end if; -- Now delete all existing files corresponding to this ALI file declare Obj_Dir : constant String := Dir_Name (Get_Name_String (Full_Lib_File)); Obj : constant String := Object_File_Name (Lib_File); Adt : constant String := Tree_File_Name (Lib_File); Asm : constant String := Assembly_File_Name (Lib_File); begin Delete (Obj_Dir, Get_Name_String (Lib_File)); if Is_Regular_File (Obj_Dir & Dir_Separator & Obj) then Delete (Obj_Dir, Obj); end if; if Is_Regular_File (Obj_Dir & Dir_Separator & Adt) then Delete (Obj_Dir, Adt); end if; if Is_Regular_File (Obj_Dir & Dir_Separator & Asm) then Delete (Obj_Dir, Asm); end if; -- Delete expanded source files (.dg) and/or repinfo files -- (.rep) if any for J in 1 .. Sources.Last loop declare Deb : constant String := Debug_File_Name (Sources.Table (J)); Rep : constant String := Repinfo_File_Name (Sources.Table (J)); begin if Is_Regular_File (Obj_Dir & Dir_Separator & Deb) then Delete (Obj_Dir, Deb); end if; if Is_Regular_File (Obj_Dir & Dir_Separator & Rep) then Delete (Obj_Dir, Rep); end if; end; end loop; end; end if; end loop; -- Delete the executable, if it exists, and the binder generated -- files, if any. if not Compile_Only then declare Source : constant Name_Id := Strip_Suffix (Main_Lib_File); Executable : constant String := Get_Name_String (Executable_Name (Source)); begin if Is_Regular_File (Executable) then Delete ("", Executable); end if; Delete_Binder_Generated_Files (Get_Current_Dir, Source); end; end if; end loop; end Clean_Executables; ------------------- -- Clean_Project -- ------------------- procedure Clean_Project (Project : Project_Id) is Main_Source_File : File_Name_Type; -- Name of executable on the command line without directory info Executable : Name_Id; -- Name of the executable file Current_Dir : constant Dir_Name_Str := Get_Current_Dir; Data : constant Project_Data := Projects.Table (Project); U_Data : Prj.Com.Unit_Data; File_Name1 : Name_Id; Index1 : Int; File_Name2 : Name_Id; Index2 : Int; Lib_File : File_Name_Type; Source_Id : Other_Source_Id; Source : Other_Source; Global_Archive : Boolean := False; use Prj.Com; begin -- Check that we don't specify executable on the command line for -- a main library project. if Project = Main_Project and then Osint.Number_Of_Files /= 0 and then Data.Library then Osint.Fail ("Cannot specify executable(s) for a Library Project File"); end if; if Verbose_Mode then Put ("Cleaning project """); Put (Get_Name_String (Data.Name)); Put_Line (""""); end if; -- Add project to the list of proceesed projects Processed_Projects.Increment_Last; Processed_Projects.Table (Processed_Projects.Last) := Project; if Data.Object_Directory /= No_Name then declare Obj_Dir : constant String := Get_Name_String (Data.Object_Directory); begin Change_Dir (Obj_Dir); -- First, deal with Ada -- Look through the units to find those that are either immediate -- sources or inherited sources of the project. if Data.Languages (Lang_Ada) then for Unit in 1 .. Prj.Com.Units.Last loop U_Data := Prj.Com.Units.Table (Unit); File_Name1 := No_Name; File_Name2 := No_Name; -- If either the spec or the body is a source of the -- project, check for the corresponding ALI file in the -- object directory. if In_Extension_Chain (U_Data.File_Names (Body_Part).Project, Project) or else In_Extension_Chain (U_Data.File_Names (Specification).Project, Project) then File_Name1 := U_Data.File_Names (Body_Part).Name; Index1 := U_Data.File_Names (Body_Part).Index; File_Name2 := U_Data.File_Names (Specification).Name; Index2 := U_Data.File_Names (Specification).Index; -- If there is no body file name, then there may be only -- a spec. if File_Name1 = No_Name then File_Name1 := File_Name2; Index1 := Index2; File_Name2 := No_Name; Index2 := 0; end if; end if; -- If there is either a spec or a body, look for files -- in the object directory. if File_Name1 /= No_Name then Lib_File := Osint.Lib_File_Name (File_Name1, Index1); declare Asm : constant String := Assembly_File_Name (Lib_File); ALI : constant String := ALI_File_Name (Lib_File); Obj : constant String := Object_File_Name (Lib_File); Adt : constant String := Tree_File_Name (Lib_File); Deb : constant String := Debug_File_Name (File_Name1); Rep : constant String := Repinfo_File_Name (File_Name1); Del : Boolean := True; begin -- If the ALI file exists and is read-only, no file -- is deleted. if Is_Regular_File (ALI) then if Is_Writable_File (ALI) then Delete (Obj_Dir, ALI); else Del := False; if Verbose_Mode then Put ('"'); Put (Obj_Dir); if Obj_Dir (Obj_Dir'Last) /= Dir_Separator then Put (Dir_Separator); end if; Put (ALI); Put_Line (""" is read-only"); end if; end if; end if; if Del then -- Object file if Is_Regular_File (Obj) then Delete (Obj_Dir, Obj); end if; -- Assembly file if Is_Regular_File (Asm) then Delete (Obj_Dir, Asm); end if; -- Tree file if Is_Regular_File (Adt) then Delete (Obj_Dir, Adt); end if; -- First expanded source file if Is_Regular_File (Deb) then Delete (Obj_Dir, Deb); end if; -- Repinfo file if Is_Regular_File (Rep) then Delete (Obj_Dir, Rep); end if; -- Second expanded source file if File_Name2 /= No_Name then declare Deb : constant String := Debug_File_Name (File_Name2); Rep : constant String := Repinfo_File_Name (File_Name2); begin if Is_Regular_File (Deb) then Delete (Obj_Dir, Deb); end if; if Is_Regular_File (Rep) then Delete (Obj_Dir, Rep); end if; end; end if; end if; end; end if; end loop; end if; -- Check if a global archive and it dependency file could have -- been created and, if they exist, delete them. if Project = Main_Project and then not Data.Library then Global_Archive := False; for Proj in 1 .. Projects.Last loop if Projects.Table (Proj).Other_Sources_Present then Global_Archive := True; exit; end if; end loop; if Global_Archive then Clean_Archive (Project); end if; end if; if Data.Other_Sources_Present then -- There is non-Ada code: delete the object files and -- the dependency files if they exist. Source_Id := Data.First_Other_Source; while Source_Id /= No_Other_Source loop Source := Other_Sources.Table (Source_Id); if Is_Regular_File (Get_Name_String (Source.Object_Name)) then Delete (Obj_Dir, Get_Name_String (Source.Object_Name)); end if; if Is_Regular_File (Get_Name_String (Source.Dep_Name)) then Delete (Obj_Dir, Get_Name_String (Source.Dep_Name)); end if; Source_Id := Source.Next; end loop; -- If it is a library with only non Ada sources, delete -- the fake archive and the dependency file, if they exist. if Data.Library and then not Data.Languages (Lang_Ada) then Clean_Archive (Project); end if; end if; end; end if; -- If this is a library project, clean the library directory, the -- interface copy dir and, for a Stand-Alone Library, the binder -- generated files of the library. -- The directories are cleaned only if switch -c is not specified. if Data.Library then if not Compile_Only then Clean_Directory (Data.Library_Dir); if Data.Library_Src_Dir /= No_Name and then Data.Library_Src_Dir /= Data.Library_Dir then Clean_Directory (Data.Library_Src_Dir); end if; end if; if Data.Standalone_Library and then Data.Object_Directory /= No_Name then Delete_Binder_Generated_Files (Get_Name_String (Data.Object_Directory), Data.Library_Name); end if; end if; if Verbose_Mode then New_Line; end if; -- If switch -r is specified, call Clean_Project recursively for the -- imported projects and the project being extended. if All_Projects then declare Imported : Project_List := Data.Imported_Projects; Element : Project_Element; Process : Boolean; begin -- For each imported project, call Clean_Project if the project -- has not been processed already. while Imported /= Empty_Project_List loop Element := Project_Lists.Table (Imported); Imported := Element.Next; Process := True; for J in Processed_Projects.First .. Processed_Projects.Last loop if Element.Project = Processed_Projects.Table (J) then Process := False; exit; end if; end loop; if Process then Clean_Project (Element.Project); end if; end loop; -- If this project extends another project, call Clean_Project for -- the project being extended. It is guaranteed that it has not -- called before, because no other project may import or extend -- this project. if Data.Extends /= No_Project then Clean_Project (Data.Extends); end if; end; end if; -- For the main project, delete the executables and the -- binder generated files. -- The executables are deleted only if switch -c is not specified. if Project = Main_Project and then Data.Exec_Directory /= No_Name then declare Exec_Dir : constant String := Get_Name_String (Data.Exec_Directory); begin Change_Dir (Exec_Dir); for N_File in 1 .. Osint.Number_Of_Files loop Main_Source_File := Next_Main_Source; if not Compile_Only then Executable := Executable_Of (Main_Project, Main_Source_File, Current_File_Index); if Is_Regular_File (Get_Name_String (Executable)) then Delete (Exec_Dir, Get_Name_String (Executable)); end if; end if; if Data.Object_Directory /= No_Name then Delete_Binder_Generated_Files (Get_Name_String (Data.Object_Directory), Strip_Suffix (Main_Source_File)); end if; end loop; end; end if; -- Change back to previous directory Change_Dir (Current_Dir); end Clean_Project; --------------------- -- Debug_File_Name -- --------------------- function Debug_File_Name (Source : Name_Id) return String is begin return Get_Name_String (Source) & Debug_Suffix; end Debug_File_Name; ------------ -- Delete -- ------------ procedure Delete (In_Directory : String; File : String) is Full_Name : String (1 .. In_Directory'Length + File'Length + 1); Last : Natural := 0; Success : Boolean; begin -- Indicate that at least one file is deleted or is to be deleted File_Deleted := True; -- Build the path name of the file to delete Last := In_Directory'Length; Full_Name (1 .. Last) := In_Directory; if Last > 0 and then Full_Name (Last) /= Directory_Separator then Last := Last + 1; Full_Name (Last) := Directory_Separator; end if; Full_Name (Last + 1 .. Last + File'Length) := File; Last := Last + File'Length; -- If switch -n was used, simply output the path name if Do_Nothing then Put_Line (Full_Name (1 .. Last)); -- Otherwise, delete the file else Delete_File (Full_Name (1 .. Last), Success); if not Success then Put ("Warning: """); Put (Full_Name (1 .. Last)); Put_Line (""" could not be deleted"); elsif Verbose_Mode or else not Quiet_Output then Put (""""); Put (Full_Name (1 .. Last)); Put_Line (""" has been deleted"); end if; end if; end Delete; ----------------------------------- -- Delete_Binder_Generated_Files -- ----------------------------------- procedure Delete_Binder_Generated_Files (Dir : String; Source : Name_Id) is Source_Name : constant String := Get_Name_String (Source); Current : constant String := Get_Current_Dir; Last : constant Positive := B_Start'Length + Source_Name'Length; File_Name : String (1 .. Last + 4); begin Change_Dir (Dir); -- Build the file name (before the extension) File_Name (1 .. B_Start'Length) := B_Start; File_Name (B_Start'Length + 1 .. Last) := Source_Name; -- Spec File_Name (Last + 1 .. Last + 4) := ".ads"; if Is_Regular_File (File_Name (1 .. Last + 4)) then Delete (Dir, File_Name (1 .. Last + 4)); end if; -- Body File_Name (Last + 1 .. Last + 4) := ".adb"; if Is_Regular_File (File_Name (1 .. Last + 4)) then Delete (Dir, File_Name (1 .. Last + 4)); end if; -- ALI file File_Name (Last + 1 .. Last + 4) := ".ali"; if Is_Regular_File (File_Name (1 .. Last + 4)) then Delete (Dir, File_Name (1 .. Last + 4)); end if; -- Object file File_Name (Last + 1 .. Last + Object_Suffix'Length) := Object_Suffix; if Is_Regular_File (File_Name (1 .. Last + Object_Suffix'Length)) then Delete (Dir, File_Name (1 .. Last + Object_Suffix'Length)); end if; -- Change back to previous directory Change_Dir (Current); end Delete_Binder_Generated_Files; ----------------------- -- Display_Copyright -- ----------------------- procedure Display_Copyright is begin if not Copyright_Displayed then Copyright_Displayed := True; Put_Line ("GNATCLEAN " & Gnatvsn.Gnat_Version_String & " Copyright 2003-2005 Free Software Foundation, Inc."); end if; end Display_Copyright; ------------- -- Empty_Q -- ------------- function Empty_Q return Boolean is begin return Q_Front >= Q.Last; end Empty_Q; -------------------- -- Extract_From_Q -- -------------------- procedure Extract_From_Q (Lib_File : out File_Name_Type) is Lib : constant File_Name_Type := Q.Table (Q_Front); begin Q_Front := Q_Front + 1; Lib_File := Lib; end Extract_From_Q; --------------- -- Gnatclean -- --------------- procedure Gnatclean is begin -- Do the necessary initializations Initialize; -- Parse the command line, getting the switches and the executable names Parse_Cmd_Line; if Verbose_Mode then Display_Copyright; end if; if Project_File_Name /= null then -- A project file was specified by a -P switch if Opt.Verbose_Mode then New_Line; Put ("Parsing Project File """); Put (Project_File_Name.all); Put_Line ("""."); New_Line; end if; -- Set the project parsing verbosity to whatever was specified -- by a possible -vP switch. Prj.Pars.Set_Verbosity (To => Prj.Com.Current_Verbosity); -- Parse the project file. If there is an error, Main_Project -- will still be No_Project. Prj.Pars.Parse (Project => Main_Project, Project_File_Name => Project_File_Name.all, Packages_To_Check => Packages_To_Check_By_Gnatmake, Process_Languages => All_Languages); if Main_Project = No_Project then Fail ("""" & Project_File_Name.all & """ processing failed"); end if; if Opt.Verbose_Mode then New_Line; Put ("Parsing of Project File """); Put (Project_File_Name.all); Put (""" is finished."); New_Line; end if; -- We add the source directories and the object directories -- to the search paths. Add_Source_Directories (Main_Project); Add_Object_Directories (Main_Project); end if; Osint.Add_Default_Search_Dirs; -- If a project file was specified, but no executable name, put all -- the mains of the project file (if any) as if there were on the -- command line. if Main_Project /= No_Project and then Osint.Number_Of_Files = 0 then declare Value : String_List_Id := Projects.Table (Main_Project).Mains; Main : String_Element; begin while Value /= Prj.Nil_String loop Main := String_Elements.Table (Value); Osint.Add_File (File_Name => Get_Name_String (Main.Value), Index => Main.Index); Value := Main.Next; end loop; end; end if; -- If neither a project file nor an executable were specified, -- output the usage and exit. if Main_Project = No_Project and then Osint.Number_Of_Files = 0 then Usage; return; end if; if Verbose_Mode then New_Line; end if; if Main_Project /= No_Project then -- If a project file has been specified, call Clean_Project with the -- project id of this project file, after resetting the list of -- processed projects. Processed_Projects.Init; Clean_Project (Main_Project); else -- If no project file has been specified, the work is done in -- Clean_Executables. Clean_Executables; end if; -- In verbose mode, if Delete has not been called, indicate that -- no file needs to be deleted. if Verbose_Mode and (not File_Deleted) then New_Line; if Do_Nothing then Put_Line ("No file needs to be deleted"); else Put_Line ("No file has been deleted"); end if; end if; end Gnatclean; ------------------------ -- In_Extension_Chain -- ------------------------ function In_Extension_Chain (Of_Project : Project_Id; Prj : Project_Id) return Boolean is Data : Project_Data; begin if Of_Project = Prj then return True; end if; Data := Projects.Table (Of_Project); while Data.Extends /= No_Project loop if Data.Extends = Prj then return True; end if; Data := Projects.Table (Data.Extends); end loop; Data := Projects.Table (Prj); while Data.Extends /= No_Project loop if Data.Extends = Of_Project then return True; end if; Data := Projects.Table (Data.Extends); end loop; return False; end In_Extension_Chain; ------------ -- Init_Q -- ------------ procedure Init_Q is begin Q_Front := Q.First; Q.Set_Last (Q.First); end Init_Q; ---------------- -- Initialize -- ---------------- procedure Initialize is begin if not Initialized then Initialized := True; -- Initialize some packages Csets.Initialize; Namet.Initialize; Snames.Initialize; Prj.Initialize; end if; -- Reset global variables Free (Object_Directory_Path); Do_Nothing := False; File_Deleted := False; Copyright_Displayed := False; Usage_Displayed := False; Free (Project_File_Name); Main_Project := Prj.No_Project; All_Projects := False; end Initialize; -------------- -- Insert_Q -- -------------- procedure Insert_Q (Lib_File : File_Name_Type) is begin -- Do not insert an empty name or an already marked source if Lib_File /= No_Name and then not Is_Marked (Lib_File) then Q.Table (Q.Last) := Lib_File; Q.Increment_Last; -- Mark the source that has been just added to the Q Mark (Lib_File); end if; end Insert_Q; ---------------------- -- Object_File_Name -- ---------------------- function Object_File_Name (Source : Name_Id) return String is Src : constant String := Get_Name_String (Source); begin -- If the source name has an extension, then replace it with -- the Object suffix. for Index in reverse Src'First + 1 .. Src'Last loop if Src (Index) = '.' then return Src (Src'First .. Index - 1) & Object_Suffix; end if; end loop; -- If there is no dot, or if it is the first character, just add the -- ALI suffix. return Src & Object_Suffix; end Object_File_Name; -------------------- -- Parse_Cmd_Line -- -------------------- procedure Parse_Cmd_Line is Source_Index : Int := 0; Index : Positive := 1; Last : constant Natural := Argument_Count; begin while Index <= Last loop declare Arg : constant String := Argument (Index); procedure Bad_Argument; -- Signal bad argument ------------------ -- Bad_Argument -- ------------------ procedure Bad_Argument is begin Fail ("invalid argument """, Arg, """"); end Bad_Argument; begin if Arg'Length /= 0 then if Arg (1) = '-' then if Arg'Length = 1 then Bad_Argument; end if; case Arg (2) is when 'a' => if Arg'Length < 4 or else Arg (3) /= 'O' then Bad_Argument; end if; Add_Lib_Search_Dir (Arg (3 .. Arg'Last)); when 'c' => Compile_Only := True; when 'D' => if Object_Directory_Path /= null then Fail ("duplicate -D switch"); elsif Project_File_Name /= null then Fail ("-P and -D cannot be used simultaneously"); end if; if Arg'Length > 2 then declare Dir : constant String := Arg (3 .. Arg'Last); begin if not Is_Directory (Dir) then Fail (Dir, " is not a directory"); else Add_Lib_Search_Dir (Dir); end if; end; else if Index = Last then Fail ("no directory specified after -D"); end if; Index := Index + 1; declare Dir : constant String := Argument (Index); begin if not Is_Directory (Dir) then Fail (Dir, " is not a directory"); else Add_Lib_Search_Dir (Dir); end if; end; end if; when 'F' => Full_Path_Name_For_Brief_Errors := True; when 'h' => Usage; when 'i' => if Arg'Length = 2 then Bad_Argument; end if; Source_Index := 0; for J in 3 .. Arg'Last loop if Arg (J) not in '0' .. '9' then Bad_Argument; end if; Source_Index := (20 * Source_Index) + (Character'Pos (Arg (J)) - Character'Pos ('0')); end loop; when 'I' => if Arg = "-I-" then Opt.Look_In_Primary_Dir := False; else if Arg'Length = 2 then Bad_Argument; end if; Add_Lib_Search_Dir (Arg (3 .. Arg'Last)); end if; when 'n' => Do_Nothing := True; when 'P' => if Project_File_Name /= null then Fail ("multiple -P switches"); elsif Object_Directory_Path /= null then Fail ("-D and -P cannot be used simultaneously"); end if; if Arg'Length > 2 then declare Prj : constant String := Arg (3 .. Arg'Last); begin if Prj'Length > 1 and then Prj (Prj'First) = '=' then Project_File_Name := new String' (Prj (Prj'First + 1 .. Prj'Last)); else Project_File_Name := new String'(Prj); end if; end; else if Index = Last then Fail ("no project specified after -P"); end if; Index := Index + 1; Project_File_Name := new String'(Argument (Index)); end if; when 'q' => Quiet_Output := True; when 'r' => All_Projects := True; when 'v' => if Arg = "-v" then Verbose_Mode := True; elsif Arg = "-vP0" then Prj.Com.Current_Verbosity := Prj.Default; elsif Arg = "-vP1" then Prj.Com.Current_Verbosity := Prj.Medium; elsif Arg = "-vP2" then Prj.Com.Current_Verbosity := Prj.High; else Bad_Argument; end if; when 'X' => if Arg'Length = 2 then Bad_Argument; end if; declare Ext_Asgn : constant String := Arg (3 .. Arg'Last); Start : Positive := Ext_Asgn'First; Stop : Natural := Ext_Asgn'Last; Equal_Pos : Natural; OK : Boolean := True; begin if Ext_Asgn (Start) = '"' then if Ext_Asgn (Stop) = '"' then Start := Start + 1; Stop := Stop - 1; else OK := False; end if; end if; Equal_Pos := Start; while Equal_Pos <= Stop and then Ext_Asgn (Equal_Pos) /= '=' loop Equal_Pos := Equal_Pos + 1; end loop; if Equal_Pos = Start or else Equal_Pos > Stop then OK := False; end if; if OK then Prj.Ext.Add (External_Name => Ext_Asgn (Start .. Equal_Pos - 1), Value => Ext_Asgn (Equal_Pos + 1 .. Stop)); else Fail ("illegal external assignment '", Ext_Asgn, "'"); end if; end; when others => Bad_Argument; end case; else Add_File (Arg, Source_Index); end if; end if; end; Index := Index + 1; end loop; end Parse_Cmd_Line; ----------------------- -- Repinfo_File_Name -- ----------------------- function Repinfo_File_Name (Source : Name_Id) return String is begin return Get_Name_String (Source) & Repinfo_Suffix; end Repinfo_File_Name; -------------------- -- Tree_File_Name -- -------------------- function Tree_File_Name (Source : Name_Id) return String is Src : constant String := Get_Name_String (Source); begin -- If the source name has an extension, then replace it with -- the tree suffix. for Index in reverse Src'First + 1 .. Src'Last loop if Src (Index) = '.' then return Src (Src'First .. Index - 1) & Tree_Suffix; end if; end loop; -- If there is no dot, or if it is the first character, just add the -- tree suffix. return Src & Tree_Suffix; end Tree_File_Name; ----------- -- Usage -- ----------- procedure Usage is begin if not Usage_Displayed then Usage_Displayed := True; Display_Copyright; Put_Line ("Usage: gnatclean [switches] {[-innn] name}"); New_Line; Put_Line (" names is one or more file names from which " & "the .adb or .ads suffix may be omitted"); Put_Line (" names may be omitted if -P<project> is specified"); New_Line; Put_Line (" -c Only delete compiler generated files"); Put_Line (" -D dir Specify dir as the object library"); Put_Line (" -F Full project path name " & "in brief error messages"); Put_Line (" -h Display this message"); Put_Line (" -innn Index of unit in source for following names"); Put_Line (" -n Nothing to do: only list files to delete"); Put_Line (" -Pproj Use GNAT Project File proj"); Put_Line (" -q Be quiet/terse"); Put_Line (" -r Clean all projects recursively"); Put_Line (" -v Verbose mode"); Put_Line (" -vPx Specify verbosity when parsing " & "GNAT Project Files"); Put_Line (" -Xnm=val Specify an external reference " & "for GNAT Project Files"); New_Line; Put_Line (" -aOdir Specify ALI/object files search path"); Put_Line (" -Idir Like -aOdir"); Put_Line (" -I- Don't look for source/library files " & "Test Strang EOL: " & "in the default directory"); New_Line; end if; end Usage; begin if Hostparm.OpenVMS then Debug_Suffix (Debug_Suffix'First) := '_'; Repinfo_Suffix (Repinfo_Suffix'First) := '_'; B_Start (B_Start'Last) := '$'; end if; end Clean;