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

entity top is 
  Port (
    pi0,pi1,pi2,pi3,pi4,pi5,pi6,pi7,pi8,lo0,lo1,lo2,lo3,lo4: in std_logic;
    po0,po1,po2,po3,po4,po5,po6,po7,po8,po9,n39,n44,n49_1,n54_1,n59_1: inout std_logic
  );
end top;

architecture top_behav of top is
signal n49,n50,n51,n52,n53,n54,n55,n56,n57,n58,n59,n60,n61,n62,n63,n64,n65,n66,n67,n68,n69,n70,n71,n72,n73,n74,n75,n76,n77,n78,n79,n80,n81,n82,n83,n84,n85,n86,n87,n88,n89,n90,n91,n92,n93,n94,n95,n96,n97,n98,n99,n100,n101,n102,n103,n104,n105,n106,n107,n108,n109,n110,n111,n112,n113,n114,n115,n116,n117,n118,n119,n120,n121,n122,n123,n124,n125,n126,n127,n128,n129,n130,n131,n132,n133,n134,n135,n136,n137,n138,n139,n140,n141,n142,n143,n144,n145,n146,n147,n148,n149,n150,n151,n152,n153,n154,n155,n156,n157,n158,n159,n160,n161,n162: std_logic;
begin
    po0 <= ( not n49 );
    po1 <= ( not n50 );
    po2 <= ( not n51 );
    po3 <= ( not n52 );
    po4 <= ( not n53 );
    po5 <= ( not n54 );
    po6 <= ( not n55 );
    po7 <= ( not n56 );
    po8 <= ( not n57 );
    po9 <= ( not n58 );
    n39 <= ( not n59 );
    n44 <= ( not n60 );
    n49_1 <= ( not n61 );
    n54_1 <= ( not n62 );
    n59_1 <= ( not n63 );
    n49 <= ( not n67 and not n72 and not n73 and not n74 and not n78 and not n80 and not n96 and not n104 and not n108 and not n122 and not n125 and not n127 and not n130 and not n136 );
    n50 <= ( not n66 and not n71 and not n81 and not n82 and not n84 and not n86 and not n87 and not n102 and not n106 and not n113 and not n115 and not n117 and not n122 and not n125 and not n127 and not n130 and not n136 and not n142 and not n144 and not n145 and not n152 and not n154 and not n155 and not n156 and not n158 );
    n51 <= ( not n68 and not n70 and not n75 and not n76 and not n79 and not n80 and not n82 and not n84 and not n85 and not n86 and not n88 and not n89 and not n90 and not n91 and not n92 and not n98 and not n101 and not n102 and not n103 and not n107 and not n116 and not n128 and not n144 and not n154 and not n156 and not n157 and not n158 and not n159 and not n160 and not n161 );
    n52 <= ( not n64 and not n65 and not n87 );
    n53 <= ( not n68 and not n69 and not n79 and not n80 and not n90 and not n91 and not n98 and not n101 and not n102 and not n128 and not n156 );
    n54 <= ( not n144 and not n154 and not n157 and not n158 and not n159 and not n160 and not n161 );
    n55 <= ( not n70 and not n75 and not n76 and not n82 and not n85 and not n86 and not n88 and not n89 );
    n56 <= ( not n80 and not n82 and not n84 and not n92 and not n107 and not n141 and not n150 and not n152 and not n153 and not n156 and not n158 and not n159 and not n162 );
    n57 <= ( not n73 and not n80 and not n96 );
    n58 <= ( not n78 and not n96 and not n147 );
    n59 <= ( not n69 and not n70 and not n75 and not n76 and not n80 and not n82 and not n84 and not n85 and not n86 and not n88 and not n89 and not n90 and not n92 and not n102 and not n103 and not n104 and not n105 and not n107 and not n108 and not n110 and not n116 and not n118 and not n122 and not n129 and not n133 and not n138 and not n143 and not n145 and not n155 and not n156 and not n159 and not n162 );
    n60 <= ( not n67 and not n69 and not n70 and not n71 and not n77 and not n86 and not n87 and not n88 and not n93 and not n94 and not n95 and not n97 and not n104 and not n105 and not n108 and not n112 and not n114 and not n116 and not n122 and not n123 and not n124 and not n125 and not n127 and not n130 and not n131 and not n132 and not n133 and not n134 and not n135 and not n136 and not n139 and not n142 and not n145 and not n150 and not n154 and not n155 and not n161 and not n162 );
    n61 <= ( not n66 and not n73 and not n74 and not n78 and not n80 and not n81 and not n84 and not n85 and not n86 and not n96 and not n99 and not n100 and not n102 and not n103 and not n106 and not n113 and not n114 and not n115 and not n116 and not n117 and not n123 and not n124 and not n131 and not n132 and not n135 and not n137 and not n144 and not n146 and not n147 and not n148 and not n149 and not n150 and not n151 and not n156 and not n158 and not n161 and not n162 );
    n62 <= ( not n66 and not n69 and not n71 and not n74 and not n78 and not n82 and not n87 and not n89 and not n96 and not n99 and not n100 and not n104 and not n105 and not n108 and not n109 and not n111 and not n112 and not n116 and not n118 and not n122 and not n126 and not n129 and not n133 and not n135 and not n138 and not n139 and not n141 and not n142 and not n145 and not n146 and not n147 and not n148 and not n149 and not n151 and not n154 and not n155 and not n157 and not n162 );
    n63 <= ( not n67 and not n71 and not n81 and not n83 and not n85 and not n90 and not n92 and not n95 and not n105 and not n107 and not n110 and not n114 and not n118 and not n119 and not n120 and not n121 and not n126 and not n129 and not n133 and not n136 and not n137 and not n138 and not n140 and not n144 and not n145 and not n148 and not n149 and not n151 and not n153 and not n156 and not n157 and not n159 and not n160 and not n161 );
    n64 <= ( pi0 and not pi2 and not pi3 and pi4 and pi5 and lo1 and not lo2 and not lo3 and lo4 );
    n65 <= ( pi0 and not pi2 and not pi3 and pi4 and pi5 and not lo0 and not lo1 and lo2 and not lo3 );
    n66 <= ( pi0 and not pi3 and pi4 and not pi5 and not pi7 and not lo0 and lo1 and not lo2 and not lo3 and not lo4 );
    n67 <= ( pi0 and not pi2 and not pi3 and not pi4 and not pi5 and pi6 and not lo0 and lo1 and not lo2 and lo3 );
    n68 <= ( pi1 and pi3 and pi4 and not lo0 and not lo1 and lo2 and not lo3 and lo4 );
    n69 <= ( pi0 and not pi2 and not pi3 and not pi4 and not pi5 and pi6 and lo0 and lo1 and not lo2 and lo4 );
    n70 <= ( pi0 and not pi2 and not pi3 and pi4 and not pi5 and not lo0 and not lo1 and lo2 and not lo3 and not lo4 );
    n71 <= ( pi0 and not pi2 and not pi3 and not pi4 and not pi5 and pi6 and not lo1 and lo2 and not lo3 and lo4 );
    n72 <= ( pi0 and not pi3 and not pi4 and pi5 and not lo0 and not lo1 and lo2 and lo3 and lo4 );
    n73 <= ( pi0 and not pi2 and not pi3 and pi4 and not lo0 and not lo1 and not lo2 and not lo3 and not lo4 );
    n74 <= ( pi0 and not pi2 and pi3 and not pi4 and lo0 and lo1 and not lo2 and lo3 and not lo4 );
    n75 <= ( pi0 and not pi3 and pi4 and not pi5 and lo0 and not lo1 and not lo2 and lo3 and lo4 );
    n76 <= ( pi0 and not pi3 and pi4 and not pi5 and not lo0 and lo1 and lo2 and not lo3 and not lo4 );
    n77 <= ( pi0 and not pi3 and pi5 and not pi7 and not lo0 and lo1 and not lo3 and not lo4 );
    n78 <= ( pi0 and not pi2 and pi3 and not pi4 and not lo0 and not lo1 and not lo2 and not lo3 and not lo4 );
    n79 <= ( not pi0 and pi1 and not lo0 and not lo1 and lo2 and not lo3 and lo4 );
    n80 <= ( pi0 and not pi2 and not pi3 and not pi4 and pi5 and not lo0 and not lo1 and not lo2 and not lo3 and not lo4 );
    n81 <= ( pi0 and not pi4 and not pi5 and not pi6 and not lo0 and not lo1 and lo2 and not lo3 and lo4 );
    n82 <= ( pi0 and not pi2 and not pi3 and not pi4 and pi5 and not lo0 and not lo1 and lo2 and not lo3 and not lo4 );
    n83 <= ( pi0 and not pi2 and not pi3 and not pi4 and pi5 and lo0 and lo1 and lo3 );
    n84 <= ( pi0 and not pi2 and not pi3 and not pi4 and pi5 and not lo0 and not lo1 and lo2 and not lo3 and lo4 );
    n85 <= ( pi0 and not pi2 and not pi3 and not pi4 and pi5 and not lo0 and not lo1 and not lo2 and lo3 and not lo4 );
    n86 <= ( pi0 and not pi2 and not pi3 and pi4 and not pi5 and not lo0 and lo1 and not lo2 and lo3 and not lo4 );
    n87 <= ( pi0 and not pi2 and not pi3 and pi4 and pi5 and not lo0 and lo1 and not lo2 and lo3 );
    n88 <= ( pi0 and not pi2 and not pi3 and pi4 and not pi5 and not lo0 and not lo1 and not lo2 and lo3 );
    n89 <= ( pi0 and not pi3 and not pi4 and pi5 and not lo0 and lo1 and lo2 and not lo3 and not lo4 );
    n90 <= ( pi0 and not pi3 and not pi4 and pi5 and not lo0 and lo1 and lo2 and lo3 and not lo4 );
    n91 <= ( not pi0 and pi1 and lo1 and not lo2 and lo3 and lo4 );
    n92 <= ( pi0 and not pi3 and not pi4 and pi5 and not lo0 and lo1 and lo2 and not lo3 and lo4 );
    n93 <= ( pi0 and not pi4 and pi8 and not lo1 and lo2 and lo3 and not lo4 );
    n94 <= ( pi0 and not pi3 and pi8 and not lo1 and lo2 and lo3 and not lo4 );
    n95 <= ( pi0 and not pi3 and pi4 and not pi5 and not lo0 and lo2 and lo3 and lo4 );
    n96 <= ( pi0 and not pi2 and not pi3 and pi4 and pi5 and not lo0 and not lo1 and not lo2 );
    n97 <= ( pi0 and not pi4 and not pi7 and not lo0 and lo1 and not lo3 and not lo4 );
    n98 <= ( pi0 and pi3 and pi4 and lo1 and not lo2 and lo3 and lo4 );
    n99 <= ( pi0 and not pi4 and not pi7 and not pi8 and not lo1 and lo2 and lo3 );
    n100 <= ( pi0 and not pi3 and not pi7 and not pi8 and not lo1 and lo2 and lo3 );
    n101 <= ( pi3 and pi4 and lo0 and lo1 and not lo2 and lo3 );
    n102 <= ( pi0 and not pi2 and not pi3 and not pi4 and pi5 and not lo0 and lo1 and not lo2 and lo4 );
    n103 <= ( pi0 and not pi2 and not pi3 and not pi4 and pi5 and lo1 and not lo2 and lo3 );
    n104 <= ( pi0 and pi2 and not pi4 and lo0 and lo1 and not lo2 and lo3 and not lo4 );
    n105 <= ( pi0 and not pi4 and not pi5 and not pi6 and lo0 and lo1 and not lo2 and lo4 );
    n106 <= ( pi0 and not pi4 and not pi5 and not lo1 and lo2 and not lo3 and not lo4 );
    n107 <= ( pi0 and not pi3 and not pi4 and pi5 and lo0 and not lo1 and lo3 and lo4 );
    n108 <= ( pi0 and not pi3 and not pi5 and lo0 and lo1 and not lo2 and lo3 and not lo4 );
    n109 <= ( pi0 and not pi3 and pi4 and not lo0 and not lo1 and not lo2 and not lo3 );
    n110 <= ( pi0 and pi2 and not pi4 and lo0 and lo1 and not lo2 and lo4 );
    n111 <= ( pi0 and not pi4 and not pi5 and not lo0 and lo1 and lo2 and lo3 );
    n112 <= ( pi0 and not pi4 and not pi5 and not pi6 and not lo0 and lo1 and lo3 );
    n113 <= ( pi0 and pi2 and not pi3 and not lo0 and not lo1 and lo2 and not lo3 );
    n114 <= ( pi0 and not pi4 and not pi5 and not lo0 and lo1 and lo2 and not lo3 and lo4 );
    n115 <= ( pi0 and pi3 and not pi4 and not lo0 and not lo1 and lo2 and not lo3 );
    n116 <= ( pi0 and not pi2 and not pi3 and not pi4 and pi5 and not lo0 and not lo1 and not lo2 and lo4 );
    n117 <= ( pi0 and not pi3 and pi4 and not lo0 and not lo1 and lo2 and not lo3 );
    n118 <= ( pi0 and pi4 and pi5 and lo0 and not lo1 and lo3 and lo4 );
    n119 <= ( pi0 and not pi3 and pi4 and pi5 and lo2 and lo4 );
    n120 <= ( pi0 and pi3 and lo1 and lo2 and not lo3 and lo4 );
    n121 <= ( pi0 and pi2 and not pi3 and not lo1 and not lo3 and lo4 );
    n122 <= ( pi0 and not pi3 and pi4 and lo0 and lo1 and not lo2 and lo3 and not lo4 );
    n123 <= ( pi0 and not pi3 and pi5 and not lo0 and lo1 and lo2 and not lo4 );
    n124 <= ( pi0 and pi4 and not lo0 and lo1 and lo2 and not lo3 and lo4 );
    n125 <= ( pi0 and pi2 and not pi4 and not lo0 and lo1 and not lo2 and lo4 );
    n126 <= ( pi0 and not pi3 and not pi4 and not pi5 and not lo0 and lo3 and lo4 );
    n127 <= ( pi0 and pi3 and not pi4 and not lo0 and lo1 and not lo2 and lo4 );
    n128 <= ( not pi0 and lo0 and lo1 and not lo2 and lo3 );
    n129 <= ( pi0 and not pi4 and not pi5 and lo0 and not lo1 and lo3 and lo4 );
    n130 <= ( pi0 and not pi4 and not pi5 and not lo0 and lo1 and not lo2 and lo4 );
    n131 <= ( pi2 and lo0 and lo1 and not lo3 and lo4 );
    n132 <= ( pi0 and pi3 and not lo0 and lo1 and lo2 and not lo3 );
    n133 <= ( pi0 and pi3 and not pi4 and lo0 and lo1 and not lo2 and lo4 );
    n134 <= ( pi0 and not pi4 and not lo0 and lo1 and lo2 and lo3 );
    n135 <= ( pi0 and not pi3 and pi4 and not lo0 and lo1 and lo2 and lo3 );
    n136 <= ( pi0 and not pi3 and pi4 and not lo0 and lo1 and not lo2 and lo4 );
    n137 <= ( pi0 and pi2 and not pi3 and not lo0 and not lo1 and not lo2 );
    n138 <= ( pi0 and pi3 and lo0 and not lo1 and lo3 and lo4 );
    n139 <= ( pi0 and pi3 and not pi4 and not lo0 and lo1 and lo3 );
    n140 <= ( pi0 and pi3 and not pi4 and not lo1 and lo4 );
    n141 <= ( pi0 and not pi4 and not lo0 and not lo1 and not lo2 and lo3 );
    n142 <= ( pi0 and pi2 and not pi3 and lo1 and not lo2 and lo3 );
    n143 <= ( lo0 and not lo1 and not lo2 and not lo4 );
    n144 <= ( not pi6 and lo0 and not lo1 and lo2 and not lo4 );
    n145 <= ( pi0 and not pi3 and pi4 and lo0 and lo1 and not lo2 and lo4 );
    n146 <= ( pi0 and not pi3 and not lo0 and lo2 and lo3 and lo4 );
    n147 <= ( pi0 and not pi4 and not lo0 and lo2 and lo3 and lo4 );
    n148 <= ( pi0 and pi2 and not lo0 and not lo1 and not lo2 and lo4 );
    n149 <= ( pi0 and pi2 and not lo0 and not lo1 and not lo2 and lo3 );
    n150 <= ( pi0 and not pi4 and not lo0 and lo1 and lo2 and not lo4 );
    n151 <= ( pi0 and pi2 and not pi4 and not lo0 and not lo1 and not lo2 );
    n152 <= ( pi0 and not pi4 and lo1 and not lo2 and lo3 );
    n153 <= ( pi0 and not pi4 and not lo0 and not lo2 and lo4 );
    n154 <= ( lo0 and lo1 and lo2 and not lo3 and not lo4 );
    n155 <= ( lo0 and not lo1 and lo2 and not lo3 and lo4 );
    n156 <= ( pi6 and lo0 and not lo1 and lo2 and not lo4 );
    n157 <= ( lo0 and not lo2 and not lo3 and not lo4 );
    n158 <= ( lo0 and not lo1 and lo3 and not lo4 );
    n159 <= ( lo0 and lo2 and lo3 and not lo4 );
    n160 <= ( lo0 and lo2 and lo4 );
    n161 <= ( lo0 and not lo2 and not lo3 and lo4 );
    n162 <= ( lo0 and not lo1 and lo2 and lo3 );
end top_behav;
