--- VHDL generated by LogSynth framework (c) Petr Fiser
Library IEEE;
use IEEE.std_logic_1164.all;

entity top is 
  Port (
    pi09,pi10,pi11,pi13,pi17,pi21,pi22,pi49,pi18,pi19,pi20,pi27,pi28,pi29,pi50,pi33,pi46,pi54,pi32,pi34,pi35,pi36,pi37,pi38,pi39,pi40,pi43,pi44,pi45,pi47,pi53: in std_logic;
    po02,po06,po08,po10,po12,po13,po14,po19,po20,po22: inout std_logic
  );
end top;

architecture top_behav of top is
begin
    po02 <= ( not pi09 )
      or ( pi10 )
      or ( pi11 and pi13 );
    po06 <= ( not pi17 );
    po08 <= ( pi10 )
      or ( not pi21 )
      or ( not pi22 )
      or ( not pi49 );
    po10 <= ( pi18 and pi19 and pi20 );
    po12 <= ( pi17 )
      or ( pi27 )
      or ( not pi28 );
    po13 <= ( pi27 )
      or ( not pi29 );
    po14 <= ( pi27 )
      or ( pi49 and not pi50 );
    po19 <= ( not pi46 )
      or ( pi20 and pi33 and pi54 );
    po20 <= ( not pi32 )
      or ( not pi47 )
      or ( not pi49 )
      or ( not pi34 and not pi53 )
      or ( not pi53 and not pi54 )
      or ( not pi36 and not pi38 and not pi40 )
      or ( not pi34 and not pi38 and not pi40 and not pi43 )
      or ( not pi35 and not pi38 and not pi40 and not pi43 )
      or ( not pi34 and not pi36 and not pi40 and not pi44 )
      or ( not pi36 and not pi37 and not pi40 and not pi44 )
      or ( not pi34 and not pi40 and not pi43 and not pi44 )
      or ( not pi34 and not pi36 and not pi38 and not pi45 )
      or ( not pi36 and not pi38 and not pi39 and not pi45 )
      or ( not pi34 and not pi38 and not pi43 and not pi45 )
      or ( not pi34 and not pi36 and not pi44 and not pi45 )
      or ( not pi34 and not pi43 and not pi44 and not pi45 )
      or ( not pi35 and not pi37 and not pi39 and not pi53 )
      or ( not pi36 and not pi37 and not pi39 and not pi53 )
      or ( not pi35 and not pi38 and not pi39 and not pi53 )
      or ( not pi36 and not pi38 and not pi39 and not pi53 )
      or ( not pi35 and not pi37 and not pi40 and not pi53 )
      or ( not pi36 and not pi37 and not pi40 and not pi53 )
      or ( not pi35 and not pi38 and not pi40 and not pi53 )
      or ( not pi38 and not pi40 and not pi43 and not pi54 )
      or ( not pi36 and not pi40 and not pi44 and not pi54 )
      or ( not pi40 and not pi43 and not pi44 and not pi54 )
      or ( not pi36 and not pi38 and not pi45 and not pi54 )
      or ( not pi38 and not pi43 and not pi45 and not pi54 )
      or ( not pi36 and not pi44 and not pi45 and not pi54 )
      or ( not pi43 and not pi44 and not pi45 and not pi54 )
      or ( not pi35 and not pi37 and not pi40 and not pi43 and not pi44 )
      or ( not pi35 and not pi38 and not pi39 and not pi43 and not pi45 )
      or ( not pi36 and not pi37 and not pi39 and not pi44 and not pi45 )
      or ( not pi35 and not pi37 and not pi39 and not pi43 and not pi44 and not pi45 );
    po22 <= ( not pi32 )
      or ( pi20 and pi33 and pi54 );
end top_behav;
