<?xml version="1.0" encoding="ISO-8859-1"?>

<description>

   <comment>
    	Pattern History Table
   </comment>

   <entity name="Meta_Predictor_0-two_level_branch_predictor_2-pattern_history_table"
           type="Pattern_History_Table"
           schema="1" >

      <port name="clock"           localisation="south" direction="in" > Port d'horloge </port>
      <port name="nreset"          localisation="north" direction="in" > Port de Remise à zéro </port>
      <port name="predict"         localisation="west"  direction="in" > Interface de prediction : demande de la direction pour une adresse </port>
      <port name="branch_complete" localisation="east"  direction="out"> Interface de mise à jour des branchement </port>

   </entity>

   <architecture>

     <component name="Meta_Predictor_0-two_level_branch_predictor_2-pattern_history_table-registerfile" type="RegisterFile" pos_x="25" pos_y="50" size_x="10" size_y="10"  >
         <port_map name="clock"  component="Meta_Predictor_0-two_level_branch_predictor_2-pattern_history_table" port="clock"           />
         <port_map name="nreset" component="Meta_Predictor_0-two_level_branch_predictor_2-pattern_history_table" port="nreset"          />
         <port_map name="read"   component="Meta_Predictor_0-two_level_branch_predictor_2-pattern_history_table" port="predict"         />
         <port_map name="write"  component="Meta_Predictor_0-two_level_branch_predictor_2-pattern_history_table-counter" port="count_out" />
     </component>

     <component name="Meta_Predictor_0-two_level_branch_predictor_2-pattern_history_table-counter"      type="Counter"      pos_x="75" pos_y="50" size_x="10" size_y="10"  >
         <port_map name="count_in"   component="Meta_Predictor_0-two_level_branch_predictor_2-pattern_history_table" port="branch_complete"         />
         <port_map name="count_out"  component="Meta_Predictor_0-two_level_branch_predictor_2-pattern_history_table-registerfile"         port="write" />
     </component>

   </architecture>

</description>
