--- 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: in std_logic;
    po00,po01,po02,po03,po04,po05,po06,po07,po08,po09,po10,po11,po12,po13,po14,po15,po16,po17: inout std_logic
  );
end top;

architecture top_behav of top is
begin
    po00 <= ( not pi00 and not pi01 and not pi02 and not pi09 and pi10 and not pi17 and not pi18 and not pi19 );
    po01 <= ( not pi00 and not pi01 and not pi02 and pi09 and pi10 and not pi17 and not pi18 and not pi19 );
    po02 <= ( not pi00 and not pi01 and not pi02 and pi09 and not pi10 and not pi17 and not pi18 and not pi19 );
    po03 <= ( not pi00 and not pi01 and not pi02 and not pi17 and pi18 and not pi19 )
      or ( pi00 and pi01 and pi02 and not pi09 and pi10 and pi11 and pi12 );
    po04 <= ( pi00 and pi01 and pi02 and not pi09 and pi10 and not pi11 and not pi12 );
    po05 <= ( pi00 and pi01 and pi02 and pi09 and pi10 );
    po06 <= ( pi00 and pi01 and pi02 and not pi09 and pi10 and pi11 );
    po07 <= ( pi00 and not pi01 and pi02 )
      or ( pi00 and pi02 and not pi09 and pi10 and pi11 and not pi12 );
    po08 <= ( not pi00 and not pi01 and pi02 and not pi03 and pi04 and not pi05 and not pi06 and not pi07 and not pi08 and pi17 and not pi18 and pi19 );
    po09 <= ( not pi00 and pi01 and pi18 and not pi19 and not pi20 and not pi21 and not pi22 )
      or ( not pi00 and not pi01 and pi02 and not pi11 and pi12 and not pi13 and not pi14 and not pi15 and not pi16 and pi20 and not pi21 and not pi22 );
    po10 <= ( not pi00 and pi01 and pi18 and not pi19 and not pi20 and pi21 and pi22 )
      or ( not pi00 and not pi01 and pi02 and not pi11 and pi12 and not pi13 and not pi14 and pi15 and pi16 and pi20 and not pi21 and not pi22 );
    po11 <= ( not pi00 and pi01 and pi18 and not pi19 and not pi20 and pi21 and not pi22 )
      or ( not pi00 and not pi01 and pi02 and not pi11 and pi12 and not pi13 and not pi14 and pi15 and not pi16 and pi20 and not pi21 and not pi22 );
    po12 <= ( pi00 and pi01 and not pi02 and pi09 and not pi24 )
      or ( pi00 and pi01 and pi09 and not pi10 and not pi24 )
      or ( not pi00 and not pi01 and pi02 and pi09 and pi23 and not pi24 )
      or ( not pi00 and not pi01 and pi09 and pi19 and pi23 and not pi24 )
      or ( not pi00 and not pi01 and not pi02 and pi09 and pi17 and not pi19 and not pi24 );
    po13 <= ( not pi00 and not pi01 and not pi02 and pi17 and not pi19 );
    po14 <= ( not pi00 and not pi01 and not pi02 and not pi09 and not pi10 and not pi17 and not pi18 and not pi19 );
    po15 <= ( pi00 and not pi02 )
      or ( pi00 and pi01 and not pi10 )
      or ( not pi01 and not pi02 and pi19 );
    po16 <= ( not pi00 and pi01 );
    po17 <= ( not pi00 and not pi01 and pi02 );
end top_behav;
