--- 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,pi74,pi75,pi76,pi77,pi78,pi79,pi80,pi81,pi82,pi83,pi84: 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,po38,po39,po40,po41,po42,po43,po44,po45,po46,po47,po48,po49,po50,po51,po52,po53,po54,po55,po56,po57,po58,po59,po60,po61,po62,po63,po64,po65: inout std_logic
  );
end top;

architecture top_behav of top is
signal n217,n218,n219,n220,n221,n222,n223,n224,n225,n226,n227,n228,n229,n230,n231,n232,n233,n234,n235,n236,n237,n238,n239,n240: std_logic;
begin
    po00 <= ( pi06 and not pi40 )
      or ( pi40 and pi52 )
      or ( pi40 and po04 );
    po01 <= ( not pi01 and not pi79 )
      or ( not pi01 and not n217 )
      or ( not pi01 and not pi77 and not pi78 );
    po02 <= ( n218 and pi66 and n219 )
      or ( n218 and pi75 and n220 );
    po03 <= ( pi52 and not pi01 and n221 );
    po04 <= ( n218 )
      or ( not pi01 and n217 );
    po05 <= ( pi23 and not pi40 )
      or ( pi40 and pi65 );
    po06 <= ( pi24 and not pi40 )
      or ( pi40 and pi64 );
    po07 <= ( pi25 and not pi40 )
      or ( pi40 and pi63 );
    po08 <= ( pi26 and not pi40 )
      or ( pi40 and pi62 );
    po09 <= ( pi27 and not pi40 )
      or ( pi40 and pi61 );
    po10 <= ( pi28 and not pi40 )
      or ( pi40 and pi60 );
    po11 <= ( pi29 and not pi40 )
      or ( pi40 and pi59 );
    po12 <= ( pi30 and not pi40 )
      or ( pi40 and pi58 );
    po13 <= ( pi31 and not pi40 )
      or ( pi40 and pi57 );
    po14 <= ( pi32 and not pi40 )
      or ( pi40 and pi51 );
    po15 <= ( pi33 and not pi40 )
      or ( pi40 and pi50 );
    po16 <= ( pi34 and not pi40 )
      or ( pi40 and pi49 );
    po17 <= ( pi35 and not pi40 )
      or ( pi40 and pi48 );
    po18 <= ( pi36 and not pi40 )
      or ( pi40 and pi47 );
    po19 <= ( pi37 and not pi40 )
      or ( pi40 and pi46 );
    po20 <= ( pi38 and not pi40 )
      or ( pi40 and pi45 );
    po21 <= ( pi39 and not pi40 )
      or ( pi40 and pi44 );
    po22 <= ( n222 )
      or ( not pi41 and po02 and not n223 );
    po23 <= ( not pi00 )
      or ( pi01 )
      or ( pi05 and not pi04 and not pi79 );
    po24 <= ( not pi01 and pi05 and not pi04 and not pi43 and not pi79 )
      or ( not pi01 and pi05 and not pi04 and not pi43 and not n217 );
    po25 <= ( pi05 and n224 );
    po26 <= ( pi44 and n224 );
    po27 <= ( pi45 and n224 );
    po28 <= ( pi46 and n224 );
    po29 <= ( pi47 and n224 );
    po30 <= ( pi48 and n224 );
    po31 <= ( pi49 and n224 );
    po32 <= ( pi50 and n224 );
    po33 <= ( pi51 and n224 )
      or ( pi05 and n225 and n226 and pi42 );
    po34 <= ( pi52 and n227 );
    po35 <= ( pi53 and n227 );
    po36 <= ( pi54 and n227 );
    po37 <= ( pi55 and n227 );
    po38 <= ( pi56 and n227 );
    po39 <= ( pi57 and n227 );
    po40 <= ( pi58 and n227 );
    po41 <= ( pi59 and n227 );
    po42 <= ( pi60 and n227 );
    po43 <= ( pi61 and n227 );
    po44 <= ( pi62 and n227 );
    po45 <= ( pi63 and n227 );
    po46 <= ( pi64 and n227 );
    po47 <= ( n229 and pi07 )
      or ( n228 and pi15 )
      or ( n219 and not pi01 and pi79 and not n223 and pi67 )
      or ( n219 and not pi01 and pi79 and not n223 and pi75 )
      or ( n219 and not pi01 and pi79 and n230 and n223 and pi80 and pi41 and pi66 )
      or ( n219 and not pi01 and pi79 and n230 and n223 and pi80 and not pi41 and not pi66 );
    po48 <= ( pi16 and n228 )
      or ( pi08 and n229 )
      or ( pi68 and n231 );
    po49 <= ( pi17 and n228 )
      or ( pi09 and n229 )
      or ( pi69 and n231 );
    po50 <= ( pi18 and n228 )
      or ( pi10 and n229 )
      or ( pi70 and n231 );
    po51 <= ( pi19 and n228 )
      or ( pi11 and n229 )
      or ( pi71 and n231 );
    po52 <= ( pi20 and n228 )
      or ( pi12 and n229 )
      or ( pi72 and n231 );
    po53 <= ( pi21 and n228 )
      or ( pi13 and n229 )
      or ( pi73 and n231 );
    po54 <= ( pi22 and n228 )
      or ( pi14 and n229 );
    po55 <= ( not pi80 and pi83 and pi84 and n225 and n232 );
    po56 <= ( pi01 )
      or ( not pi00 )
      or ( not pi77 and not pi78 )
      or ( pi79 and n217 and not n223 and pi76 )
      or ( pi79 and n217 and n223 and not pi80 )
      or ( pi79 and n217 and n223 and not n230 )
      or ( not pi77 and pi79 and n223 and pi41 and pi75 )
      or ( not pi77 and pi79 and n223 and not pi41 and not pi75 );
    po57 <= ( pi00 and not pi01 and not pi02 and pi03 );
    po58 <= ( not pi01 and not pi79 and not pi04 )
      or ( not pi01 and not pi79 and n220 )
      or ( n233 and n218 and pi77 and not pi40 and pi42 )
      or ( not pi01 and not pi79 and pi40 and not pi42 and n219 )
      or ( n233 and n218 and pi77 and not pi42 and not n234 );
    po59 <= ( not pi01 and n235 )
      or ( not pi01 and pi77 and n221 )
      or ( not pi01 and pi77 and pi40 and not pi79 )
      or ( not pi01 and pi77 and pi40 and n233 );
    po60 <= ( not pi01 and n235 )
      or ( not pi01 and n221 )
      or ( not pi01 and n223 and not n230 and n220 )
      or ( not pi01 and n223 and not pi80 and n220 )
      or ( not pi01 and n223 and not n230 and pi79 and n219 )
      or ( not pi01 and n223 and not pi80 and pi79 and n219 );
    po61 <= ( n218 and pi80 and n236 )
      or ( n218 and pi80 and n230 and n219 )
      or ( n218 and pi80 and n230 and n220 );
    po62 <= ( n222 )
      or ( pi81 and n237 );
    po63 <= ( pi82 and n237 );
    po64 <= ( pi83 and n237 )
      or ( not pi01 and n221 and pi04 and not pi77 );
    po65 <= ( pi84 and n237 );
    n217 <= ( not pi77 )
      or ( not pi78 );
    n218 <= ( not pi01 and pi79 );
    n219 <= ( pi77 and not pi78 );
    n220 <= ( not pi77 and pi78 );
    n221 <= ( pi78 and not pi79 );
    n222 <= ( n233 and not pi01 and not pi79 )
      or ( n233 and not pi01 and n240 );
    n223 <= ( not pi81 and pi84 )
      or ( pi81 and not pi84 );
    n224 <= ( n225 and not pi42 and pi84 and n238 )
      or ( n225 and not pi42 and not pi84 and not n238 );
    n225 <= ( n218 and not pi04 and not n217 );
    n226 <= ( not pi84 and n239 )
      or ( pi84 and not n239 );
    n227 <= ( n224 )
      or ( n225 and n226 and pi42 );
    n228 <= ( po03 and pi04 and not pi77 );
    n229 <= ( not pi52 and not pi01 and n221 and pi04 and not pi77 );
    n230 <= ( not pi83 and not pi84 and n232 );
    n231 <= ( not n223 and not pi01 and pi79 and n219 );
    n232 <= ( not pi81 and not pi82 );
    n233 <= ( pi04 and pi78 );
    n234 <= ( not pi43 )
      or ( pi74 )
      or ( not pi80 )
      or ( not pi81 )
      or ( not pi82 )
      or ( pi83 )
      or ( not pi84 );
    n235 <= ( n240 and n233 )
      or ( not pi04 and not pi79 );
    n236 <= ( not n217 and not pi04 )
      or ( not n223 and n219 )
      or ( not n223 and n220 );
    n237 <= ( n236 and n218 );
    n238 <= ( n232 )
      or ( pi81 and pi82 );
    n239 <= ( pi83 and n238 )
      or ( not pi83 and not n238 );
    n240 <= ( not pi42 and pi77 and n234 );
end top_behav;
