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

entity top is 
  Port (
    pi00,pi01,pi08,pi09,pi20,pi29,pi30,pi34,pi03,pi10,pi11,pi12,pi13,pi28,pi21,pi22,pi23,pi24,pi26,pi27,pi31,pi32,pi33,pi07,pi19,pi02,pi14,pi15,pi04,pi05,pi06,pi17,pi18,pi35: in std_logic;
    po00,po01,po02,po03,po05,po06,po07,po08,po09,po10,po11,po12,po13,po14,po15,po16,po17,po18,po19,po21,po22,po23,po24,po25,po26,po27,po28,po29,po30,po31,po32,po33,po34,po35,po36,po37,po38,po39,po40,po41,po42,po43,po44,po45,po46,po47,po48,po49,po50,po51,po52,po53,po54,po55: inout std_logic
  );
end top;

architecture top_behav of top is
begin
    po00 <= ( pi00 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( not pi01 and pi08 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( pi08 and pi09 and pi20 and not pi29 and not pi30 and not pi34 );
    po01 <= ( pi28 and pi29 )
      or ( not pi00 and pi01 and pi08 and not pi09 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( not pi00 and pi01 and pi03 and not pi09 and pi10 and pi11 and not pi12 and not pi13 and pi20 and not pi29 and not pi30 and not pi34 );
    po02 <= ( not pi28 and pi29 )
      or ( not pi00 and pi01 and pi09 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( not pi00 and not pi08 and pi09 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( not pi00 and pi01 and not pi03 and not pi08 and pi10 and not pi13 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( not pi00 and pi01 and not pi08 and pi10 and pi11 and not pi12 and not pi13 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( not pi00 and pi01 and not pi08 and not pi10 and not pi11 and not pi12 and not pi13 and pi20 and not pi29 and not pi30 and not pi34 );
    po03 <= ( not pi31 )
      or ( not pi28 and not pi29 and pi32 and not pi33 )
      or ( pi26 and not pi28 and not pi29 and not pi32 and pi33 )
      or ( not pi26 and pi27 and not pi28 and pi29 and not pi32 and not pi33 )
      or ( pi21 and not pi26 and not pi27 and not pi28 and pi29 and not pi32 and pi33 )
      or ( not pi21 and pi22 and not pi26 and not pi27 and pi28 and not pi29 and not pi32 and not pi33 )
      or ( not pi21 and not pi22 and pi23 and not pi26 and not pi27 and pi28 and not pi29 and not pi32 and pi33 )
      or ( not pi21 and not pi22 and not pi23 and not pi24 and not pi26 and not pi27 and pi28 and pi29 and not pi32 and pi33 )
      or ( not pi21 and not pi22 and not pi23 and pi24 and not pi26 and not pi27 and pi28 and pi29 and not pi32 and not pi33 );
    po05 <= ( not pi00 and pi01 and not pi03 and not pi08 and not pi09 and pi10 and pi12 and not pi13 and pi20 and not pi29 and not pi30 and not pi34 );
    po06 <= ( pi00 and pi10 and pi13 and not pi29 and not pi30 )
      or ( pi00 and pi09 and pi12 and pi13 and not pi29 and not pi30 )
      or ( pi00 and not pi01 and pi09 and not pi11 and pi13 and not pi29 and not pi30 )
      or ( pi00 and not pi01 and pi08 and pi09 and not pi10 and pi11 and pi12 and not pi29 and not pi30 );
    po07 <= ( pi08 and not pi09 and not pi10 and pi12 and not pi29 and not pi30 )
      or ( not pi09 and not pi10 and not pi11 and pi12 and not pi29 and not pi30 )
      or ( pi00 and pi01 and pi10 and not pi13 and not pi29 and not pi30 )
      or ( pi00 and pi01 and pi09 and not pi11 and not pi13 and not pi29 and not pi30 )
      or ( pi00 and pi01 and pi09 and pi12 and not pi13 and not pi29 and not pi30 );
    po08 <= ( pi29 )
      or ( not pi00 and not pi01 and pi10 and not pi13 and not pi30 )
      or ( not pi08 and not pi09 and not pi10 and pi11 and pi12 and not pi30 )
      or ( not pi00 and not pi01 and pi09 and not pi11 and not pi13 and not pi30 )
      or ( not pi00 and not pi01 and pi09 and pi12 and not pi13 and not pi30 )
      or ( pi00 and pi01 and pi09 and not pi10 and not pi11 and pi13 and not pi30 )
      or ( pi01 and pi09 and not pi10 and not pi11 and not pi12 and pi13 and not pi30 )
      or ( not pi01 and pi08 and pi09 and not pi10 and pi11 and pi12 and not pi13 and not pi30 );
    po09 <= ( not pi29 and pi30 )
      or ( not pi00 and not pi01 and not pi29 )
      or ( not pi09 and not pi10 and not pi29 )
      or ( not pi01 and pi13 and not pi29 )
      or ( pi10 and pi13 and not pi29 )
      or ( pi11 and pi13 and not pi29 )
      or ( not pi10 and pi11 and not pi12 and not pi29 )
      or ( not pi00 and pi12 and pi13 and not pi29 );
    po10 <= ( pi29 )
      or ( pi00 and pi10 and not pi30 )
      or ( not pi01 and pi10 and pi13 and not pi30 )
      or ( pi00 and not pi01 and pi09 and not pi11 and not pi30 )
      or ( pi08 and not pi09 and not pi10 and pi12 and not pi30 )
      or ( not pi09 and not pi10 and not pi11 and pi12 and not pi30 )
      or ( pi00 and pi09 and not pi11 and not pi12 and not pi30 )
      or ( pi00 and not pi08 and pi09 and pi11 and pi12 and not pi30 )
      or ( not pi00 and not pi01 and pi09 and pi12 and pi13 and not pi30 )
      or ( pi09 and not pi10 and not pi11 and not pi12 and pi13 and not pi30 )
      or ( pi00 and pi01 and pi09 and pi12 and not pi13 and not pi30 )
      or ( not pi00 and not pi01 and pi08 and not pi10 and pi11 and pi12 and not pi30 );
    po11 <= ( pi10 and not pi29 and not pi30 )
      or ( pi09 and not pi11 and not pi29 and not pi30 )
      or ( pi09 and pi12 and not pi29 and not pi30 );
    po12 <= ( pi07 and not pi11 and pi30 )
      or ( not pi00 and pi01 and pi03 and not pi08 and not pi09 and not pi10 and pi11 and pi12 and not pi13 and pi20 and not pi29 and not pi30 and not pi34 );
    po13 <= ( not pi00 and pi01 and not pi08 and pi09 and pi20 and not pi29 and not pi30 and not pi34 );
    po14 <= ( not pi00 and pi01 and pi03 and not pi08 and not pi09 and pi10 and pi11 and not pi13 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( not pi00 and pi01 and not pi03 and not pi08 and not pi09 and pi10 and pi12 and not pi13 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( not pi00 and pi01 and not pi08 and not pi09 and not pi10 and not pi11 and pi12 and not pi13 and pi20 and not pi29 and not pi30 and not pi34 );
    po15 <= ( pi19 and pi28 and pi29 );
    po16 <= ( not pi28 and not pi29 and not pi30 and pi34 );
    po17 <= ( not pi00 and pi01 and pi08 and not pi09 and pi20 and not pi29 and not pi30 and not pi34 );
    po18 <= ( not pi07 and pi11 and pi30 )
      or ( pi07 and not pi11 and pi30 )
      or ( not pi00 and pi01 and pi03 and not pi08 and not pi09 and not pi10 and pi11 and not pi13 and pi20 and not pi29 and not pi30 and not pi34 );
    po19 <= ( not pi28 and pi29 )
      or ( not pi00 and not pi01 and not pi02 and pi03 and pi08 and pi13 and pi14 and pi15 and pi29 )
      or ( not pi00 and not pi01 and pi02 and not pi03 and pi08 and pi13 and pi14 and pi15 and pi29 )
      or ( not pi00 and not pi01 and not pi02 and pi03 and pi08 and pi13 and pi14 and pi15 and pi20 and not pi30 and not pi34 )
      or ( not pi00 and not pi01 and pi02 and not pi03 and pi08 and pi13 and pi14 and pi15 and pi20 and not pi30 and not pi34 );
    po21 <= ( pi01 and pi08 )
      or ( not pi01 and pi03 and pi07 and not pi08 and not pi09 )
      or ( not pi01 and not pi07 and pi09 and not pi10 and not pi11 and not pi12 )
      or ( not pi01 and not pi08 and pi09 and not pi10 and not pi11 and not pi12 );
    po22 <= ( pi01 and pi07 )
      or ( pi04 and pi07 and not pi08 and not pi09 )
      or ( not pi01 and not pi07 and pi09 and not pi10 and not pi11 and pi12 )
      or ( pi07 and not pi08 and pi09 and not pi10 and not pi11 and not pi12 );
    po23 <= ( pi01 and pi09 )
      or ( not pi01 and pi05 and pi07 and not pi08 and not pi09 )
      or ( not pi07 and pi09 and not pi10 and pi11 and not pi12 )
      or ( pi07 and not pi08 and pi09 and not pi10 and not pi11 and not pi12 );
    po24 <= ( pi01 and pi13 )
      or ( not pi01 and pi06 and pi07 and not pi08 and not pi09 )
      or ( not pi01 and not pi07 and pi09 and not pi10 and pi11 and pi12 )
      or ( not pi01 and pi07 and not pi08 and pi09 and not pi10 and not pi11 and not pi12 );
    po25 <= ( pi01 and pi14 )
      or ( not pi01 and pi03 and pi07 and not pi08 and pi09 )
      or ( not pi01 and not pi07 and pi09 and pi10 and not pi11 and not pi12 )
      or ( not pi01 and pi07 and not pi08 and not pi09 and not pi10 and not pi11 and not pi12 );
    po26 <= ( pi01 and pi15 )
      or ( not pi01 and pi04 and pi07 and not pi08 and pi09 )
      or ( not pi01 and not pi07 and pi09 and pi10 and not pi11 and pi12 )
      or ( not pi01 and pi07 and not pi08 and not pi09 and not pi10 and not pi11 and not pi12 );
    po27 <= ( pi00 and pi01 )
      or ( not pi01 and pi05 and pi07 and not pi08 and pi09 )
      or ( not pi01 and not pi07 and pi09 and pi10 and pi11 and not pi12 )
      or ( not pi01 and pi07 and not pi08 and not pi09 and not pi10 and not pi11 and not pi12 );
    po28 <= ( pi01 and pi02 )
      or ( not pi01 and pi06 and pi07 and not pi08 and pi09 )
      or ( not pi01 and not pi07 and pi09 and pi10 and pi11 and pi12 )
      or ( not pi01 and pi07 and not pi08 and not pi09 and not pi10 and not pi11 and not pi12 );
    po29 <= ( pi30 )
      or ( not pi00 and pi01 and pi03 and not pi08 and not pi09 and not pi10 and pi11 and not pi13 and pi20 and not pi29 and not pi34 )
      or ( not pi00 and pi01 and pi03 and not pi08 and not pi09 and pi11 and pi12 and not pi13 and pi20 and not pi29 and not pi34 );
    po30 <= ( not pi28 and pi29 )
      or ( not pi00 and pi01 and not pi03 and not pi08 and not pi09 and pi10 and not pi13 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( not pi00 and pi01 and not pi08 and not pi09 and pi10 and pi11 and not pi12 and not pi13 and pi20 and not pi29 and not pi30 and not pi34 );
    po31 <= ( not pi31 )
      or ( not pi21 and not pi26 and not pi27 and not pi32 );
    po32 <= ( not pi21 and not pi26 and not pi27 and pi31 and not pi32 );
    po33 <= ( not pi31 )
      or ( pi21 and not pi26 and not pi32 )
      or ( not pi26 and pi27 and not pi32 )
      or ( not pi22 and not pi23 and not pi26 and not pi32 );
    po34 <= ( pi21 and not pi26 and pi31 and not pi32 )
      or ( not pi26 and pi27 and pi31 and not pi32 )
      or ( not pi22 and not pi23 and not pi26 and pi31 and not pi32 );
    po35 <= ( pi31 and pi32 )
      or ( not pi26 and pi27 and pi31 )
      or ( not pi21 and pi22 and not pi26 and pi31 )
      or ( not pi21 and not pi23 and pi24 and not pi26 and pi31 );
    po36 <= ( pi26 and pi31 and not pi32 )
      or ( pi21 and not pi27 and pi31 and not pi32 )
      or ( not pi22 and pi23 and not pi27 and pi31 and not pi32 )
      or ( not pi22 and not pi24 and not pi27 and pi31 and not pi32 );
    po37 <= ( not pi00 and not pi08 and pi09 and pi20 and not pi29 and not pi30 and not pi34 );
    po38 <= ( not pi00 and pi01 and not pi03 and not pi08 and not pi09 and pi10 and not pi13 and pi20 and not pi29 and not pi30 and not pi34 );
    po39 <= ( not pi00 and pi01 and pi03 and not pi08 and not pi09 and not pi10 and not pi11 and not pi13 and pi20 and not pi29 and not pi30 and not pi34 );
    po40 <= ( pi00 and pi01 and pi10 and pi13 and pi17 and not pi29 and not pi30 )
      or ( pi00 and pi01 and pi09 and pi12 and pi13 and pi17 and not pi29 and not pi30 )
      or ( pi00 and not pi01 and pi08 and pi09 and not pi10 and pi11 and pi12 and pi13 and not pi29 and not pi30 )
      or ( pi00 and not pi01 and pi08 and pi09 and not pi10 and pi11 and pi12 and pi17 and not pi29 and not pi30 );
    po41 <= ( not pi00 and pi01 and not pi08 and not pi09 and not pi10 and not pi11 and pi12 and not pi13 and pi20 and not pi29 and not pi30 and not pi34 );
    po42 <= ( not pi00 and pi01 and not pi08 and not pi09 and not pi10 and not pi11 and not pi13 and pi20 and not pi29 and not pi30 and not pi34 );
    po43 <= ( not pi00 and pi01 and pi08 and pi09 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( not pi00 and pi08 and pi09 and pi10 and pi11 and not pi12 and pi20 and not pi29 and not pi30 and not pi34 );
    po44 <= ( pi00 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( pi01 and pi09 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( not pi01 and pi08 and pi10 and pi11 and pi12 and pi20 and not pi29 and not pi30 and not pi34 );
    po45 <= ( not pi00 and pi01 and not pi08 and not pi09 and not pi10 and pi11 and not pi12 and pi13 and pi17 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( not pi00 and pi01 and not pi08 and not pi09 and not pi10 and pi11 and pi12 and pi13 and not pi17 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( not pi00 and pi01 and not pi08 and not pi09 and pi10 and not pi11 and not pi12 and pi13 and pi18 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( not pi00 and pi01 and not pi08 and not pi09 and pi10 and not pi11 and pi12 and pi13 and not pi18 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( not pi00 and pi01 and not pi08 and not pi09 and not pi10 and not pi11 and not pi12 and pi13 and pi20 and not pi29 and not pi30 and not pi34 and pi35 )
      or ( not pi00 and pi01 and not pi08 and not pi09 and not pi10 and not pi11 and pi12 and pi13 and pi20 and not pi29 and not pi30 and not pi34 and not pi35 );
    po46 <= ( pi00 and not pi10 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( pi00 and pi12 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( pi01 and pi08 and pi09 and not pi10 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( pi01 and pi08 and pi09 and pi12 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( pi08 and pi09 and pi10 and pi11 and pi12 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( not pi00 and not pi01 and pi08 and not pi09 and pi10 and pi11 and not pi12 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( pi01 and not pi08 and not pi09 and not pi10 and not pi11 and pi12 and not pi13 and pi20 and not pi29 and not pi30 and not pi34 );
    po47 <= ( pi28 and pi29 );
    po48 <= ( not pi00 and pi01 and not pi03 and not pi08 and not pi09 and pi10 and not pi12 and not pi13 and pi20 and not pi29 and not pi30 and not pi34 );
    po49 <= ( not pi00 and pi01 and not pi08 and not pi09 and not pi10 and not pi11 and not pi12 and not pi13 and pi20 and not pi29 and not pi30 and not pi34 );
    po50 <= ( pi29 )
      or ( pi30 )
      or ( pi00 and not pi10 and pi20 and not pi34 )
      or ( pi00 and pi12 and pi20 and not pi34 )
      or ( pi01 and pi08 and not pi10 and pi20 and not pi34 )
      or ( pi01 and pi08 and pi12 and pi20 and not pi34 )
      or ( not pi00 and pi01 and pi08 and not pi09 and pi20 and not pi34 )
      or ( pi08 and pi09 and pi10 and pi11 and pi12 and pi20 and not pi34 )
      or ( not pi00 and pi08 and not pi09 and pi10 and pi11 and not pi12 and pi20 and not pi34 )
      or ( not pi00 and pi01 and pi03 and not pi09 and pi11 and not pi13 and pi20 and not pi34 )
      or ( pi01 and not pi03 and not pi09 and pi10 and pi12 and not pi13 and pi20 and not pi34 )
      or ( pi01 and not pi09 and not pi10 and not pi11 and pi12 and not pi13 and pi20 and not pi34 );
    po51 <= ( not pi00 and not pi01 and pi08 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( not pi00 and not pi01 and pi09 and pi20 and not pi29 and not pi30 and not pi34 );
    po52 <= ( not pi28 and pi29 );
    po53 <= ( not pi00 and pi01 and pi08 and not pi09 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( not pi00 and not pi01 and not pi08 and not pi09 and pi20 and not pi29 and not pi30 and not pi34 );
    po54 <= ( not pi00 and not pi01 and pi08 and not pi10 and pi20 and not pi29 and not pi30 and not pi34 )
      or ( not pi00 and not pi01 and pi08 and pi12 and pi20 and not pi29 and not pi30 and not pi34 );
    po55 <= ( pi30 )
      or ( not pi00 and pi01 and pi03 and not pi08 and not pi09 and not pi10 and pi11 and not pi13 and pi20 and not pi29 and not pi34 );
end top_behav;
