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

entity top is 
  Port (
    pi00,pi01,pi02,pi03,pi04,pi05,pi06,pi07,pi08,pi09,pi10,pi11,pi12,pi13,pi14,pi15,pi16,pi17,pi18,pi19,pi20,pi21,pi22,pi23,pi24,pi25,pi26,pi27,pi28,pi29,pi30,pi31,pi32,pi33,pi34,pi35,pi36,pi37,pi38,pi39,pi40,pi41,pi42,pi43,pi44,pi45,pi46,pi47,pi48,pi49,pi50,pi51,pi52,pi53,pi54,pi55,pi56,pi57,pi58,pi59,pi60,pi61,pi62,pi63,pi64,pi65,pi66,pi67,pi68,pi69,pi70,pi71,pi72,pi73: in std_logic;
    po00,po01,po02,po03,po04,po05,po06,po07,po08,po09,po10,po11,po12,po13,po14,po15,po16,po17,po18,po19,po20,po21,po22,po23,po24,po25,po26,po27,po28,po29,po30,po31,po32,po33,po34,po35,po36,po37: inout std_logic
  );
end top;

architecture top_behav of top is
begin
    po00 <= ( not pi00 and not pi01 and pi02 );
    po01 <= ( not pi00 and pi03 and pi06 and not pi07 and not pi08 )
      or ( not pi00 and pi04 and pi06 and not pi07 and not pi08 )
      or ( not pi00 and pi05 and pi06 and not pi07 and not pi08 );
    po02 <= ( not pi00 and not pi01 and pi06 and not pi07 and not pi08 and pi09 )
      or ( not pi00 and not pi01 and pi06 and not pi07 and not pi08 and pi10 )
      or ( not pi00 and not pi01 and pi06 and not pi07 and not pi08 and pi11 );
    po03 <= ( pi03 and not pi08 )
      or ( pi04 and not pi08 )
      or ( pi05 and not pi08 );
    po04 <= ( not pi03 )
      or ( not pi04 )
      or ( pi05 );
    po05 <= ( not pi03 and pi05 )
      or ( pi03 and not pi04 and not pi05 );
    po06 <= ( not pi04 );
    po07 <= ( not pi03 and pi04 )
      or ( pi04 and pi05 );
    po08 <= ( pi09 and pi10 and pi11 );
    po09 <= ( not pi09 and not pi10 );
    po10 <= ( not pi09 and pi10 )
      or ( pi09 and not pi10 )
      or ( pi09 and not pi11 )
      or ( pi10 and not pi11 );
    po11 <= ( pi09 and pi10 and pi11 );
    po12 <= ( pi09 and pi10 and pi11 );
    po13 <= ( pi09 and pi10 and pi11 );
    po14 <= ( not pi09 )
      or ( not pi10 )
      or ( not pi11 );
    po15 <= ( pi09 and not pi10 )
      or ( pi09 and not pi11 );
    po16 <= ( not pi09 and pi10 )
      or ( pi10 and not pi11 );
    po17 <= ( pi12 and not pi13 )
      or ( pi12 and not pi14 );
    po18 <= ( pi15 and not pi18 )
      or ( pi16 and not pi18 )
      or ( not pi15 and not pi16 and not pi17 );
    po19 <= ( pi19 and pi20 and pi21 )
      or ( not pi19 and not pi20 and pi21 )
      or ( not pi19 and pi20 and not pi21 )
      or ( pi19 and not pi20 and not pi21 );
    po20 <= ( pi22 and pi23 and pi24 )
      or ( not pi22 and not pi23 and pi24 )
      or ( not pi22 and pi23 and not pi24 )
      or ( pi22 and not pi23 and not pi24 );
    po21 <= ( pi25 and pi26 and pi27 )
      or ( not pi25 and not pi26 and pi27 )
      or ( not pi25 and pi26 and not pi27 )
      or ( pi25 and not pi26 and not pi27 );
    po22 <= ( pi28 and pi29 and pi30 )
      or ( not pi28 and not pi29 and pi30 )
      or ( not pi28 and pi29 and not pi30 )
      or ( pi28 and not pi29 and not pi30 );
    po23 <= ( pi31 and pi32 and pi33 )
      or ( not pi31 and not pi32 and pi33 )
      or ( not pi31 and pi32 and not pi33 )
      or ( pi31 and not pi32 and not pi33 );
    po24 <= ( pi34 and pi35 and pi36 )
      or ( not pi34 and not pi35 and pi36 )
      or ( not pi34 and pi35 and not pi36 )
      or ( pi34 and not pi35 and not pi36 );
    po25 <= ( pi37 and pi38 and pi39 )
      or ( not pi37 and not pi38 and pi39 )
      or ( not pi37 and pi38 and not pi39 )
      or ( pi37 and not pi38 and not pi39 );
    po26 <= ( pi40 and pi42 and pi45 )
      or ( pi40 and pi43 and pi45 )
      or ( pi40 and pi41 and not pi42 and not pi43 )
      or ( not pi40 and pi41 and pi42 and pi44 )
      or ( not pi40 and pi41 and pi43 and pi44 );
    po27 <= ( not pi42 and not pi43 and pi45 )
      or ( pi41 and pi42 and pi48 )
      or ( pi41 and pi43 and pi48 )
      or ( not pi41 and pi42 and pi43 and pi45 )
      or ( not pi40 and not pi41 and pi46 and not pi47 );
    po28 <= ( not pi42 and not pi43 and pi49 )
      or ( pi41 and pi42 and pi51 )
      or ( pi41 and pi43 and pi51 )
      or ( not pi41 and pi42 and pi43 and pi49 )
      or ( not pi40 and not pi41 and not pi47 and pi50 );
    po29 <= ( pi19 and pi22 and pi25 and pi28 and pi31 and pi34 and pi37 and not pi42 and not pi43 and pi45 and pi52 and pi53 and pi54 and pi55 and pi56 and pi57 and pi58 )
      or ( pi19 and pi22 and pi25 and pi28 and pi31 and pi34 and pi37 and pi41 and pi42 and pi48 and pi52 and pi53 and pi54 and pi55 and pi56 and pi57 and pi58 )
      or ( pi19 and pi22 and pi25 and pi28 and pi31 and pi34 and pi37 and pi41 and pi43 and pi48 and pi52 and pi53 and pi54 and pi55 and pi56 and pi57 and pi58 )
      or ( not pi19 and not pi22 and not pi25 and not pi28 and not pi31 and not pi34 and not pi37 and not pi42 and not pi43 and pi49 and not pi52 and not pi53 and not pi54 and not pi55 and not pi56 and not pi57 and not pi58 )
      or ( not pi19 and not pi22 and not pi25 and not pi28 and not pi31 and not pi34 and not pi37 and pi41 and pi42 and pi51 and not pi52 and not pi53 and not pi54 and not pi55 and not pi56 and not pi57 and not pi58 )
      or ( not pi19 and not pi22 and not pi25 and not pi28 and not pi31 and not pi34 and not pi37 and pi41 and pi43 and pi51 and not pi52 and not pi53 and not pi54 and not pi55 and not pi56 and not pi57 and not pi58 )
      or ( pi19 and pi22 and pi25 and pi28 and pi31 and pi34 and pi37 and not pi41 and pi42 and pi43 and pi45 and pi52 and pi53 and pi54 and pi55 and pi56 and pi57 and pi58 )
      or ( pi19 and pi22 and pi25 and pi28 and pi31 and pi34 and pi37 and not pi40 and not pi41 and pi46 and not pi47 and pi52 and pi53 and pi54 and pi55 and pi56 and pi57 and pi58 )
      or ( not pi19 and not pi22 and not pi25 and not pi28 and not pi31 and not pi34 and not pi37 and not pi41 and pi42 and pi43 and pi49 and not pi52 and not pi53 and not pi54 and not pi55 and not pi56 and not pi57 and not pi58 )
      or ( not pi19 and not pi22 and not pi25 and not pi28 and not pi31 and not pi34 and not pi37 and not pi40 and not pi41 and not pi47 and pi50 and not pi52 and not pi53 and not pi54 and not pi55 and not pi56 and not pi57 and not pi58 );
    po30 <= ( pi59 and pi60 );
    po31 <= ( not pi40 and pi61 )
      or ( not pi42 and not pi43 and pi61 )
      or ( pi40 and pi42 and pi59 and pi60 )
      or ( pi40 and pi43 and pi59 and pi60 );
    po32 <= ( pi63 and pi64 and pi66 )
      or ( pi63 and pi65 and pi66 )
      or ( pi62 and pi63 and not pi64 and not pi65 );
    po33 <= ( pi40 and pi42 )
      or ( pi40 and pi43 );
    po34 <= ( pi42 and pi46 )
      or ( pi43 and pi46 )
      or ( not pi42 and not pi43 and pi46 );
    po35 <= ( pi42 and pi50 )
      or ( pi43 and pi50 );
    po36 <= ( pi42 and pi43 );
    po37 <= ( pi67 and pi68 and pi71 and not pi72 and not pi73 )
      or ( pi67 and pi69 and pi71 and not pi72 and not pi73 )
      or ( pi67 and not pi68 and not pi69 and pi70 and not pi72 and not pi73 );
end top_behav;
