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

entity ISCAS__s386 is 
  Port (
    pi0,pi1,pi2,pi3,pi4,pi5,pi6,lo0,lo1,lo2,lo3,lo4,lo5: in std_logic;
    po0,po1,po2,po3,po4,po5,po6,n29,n34_1,n39,n44,n49_1,n54_1: inout std_logic
  );
end ISCAS__s386;

architecture ISCAS__s386_behav of ISCAS__s386 is
signal n32,n33,n34,n48,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: std_logic;
begin
    n32 <= not (( not pi4 and not lo5 ));
    n33 <= not (( lo5 and lo4 ));
    n34 <= not (( lo4 and not pi3 ));
    po0 <= ( n48 and n49 );
    po1 <= not (( not n145 and not n143 ));
    po2 <= ( lo3 and not lo1 and not lo0 and n81 );
    po3 <= ( not lo1 and not lo0 and n114 );
    po4 <= ( n67 and n68 );
    po5 <= ( not lo3 and not lo2 and not lo0 and n103 );
    po6 <= ( not lo3 and not lo2 and n147 );
    n29 <= ( not lo3 and not lo2 and n123 );
    n34_1 <= ( not lo3 and not lo2 and n141 );
    n39 <= not (( not n119 and not n117 ));
    n44 <= not (( not n135 and not n133 ));
    n49_1 <= ( not lo3 and not lo2 and n149 );
    n54_1 <= ( not lo3 and not lo2 and not lo0 and n121 );
    n48 <= ( not pi6 and pi1 and not lo5 and not lo4 );
    n49 <= ( lo3 and lo2 and not lo1 and not lo0 );
    n50 <= ( not lo3 and not lo0 );
    n51 <= ( not lo5 and not lo4 );
    n52 <= ( not lo5 and not lo4 );
    n53 <= ( not pi3 and not pi2 and not lo1 );
    n54 <= ( lo5 and lo1 );
    n55 <= ( not pi1 and not lo5 and lo1 and lo0 );
    n56 <= ( pi4 and not lo1 and not lo0 );
    n57 <= ( lo4 and lo1 and not lo0 );
    n58 <= ( not lo4 and not lo1 and lo0 );
    n59 <= ( pi4 and not lo4 );
    n60 <= ( pi6 and pi1 );
    n61 <= ( pi5 and not lo3 );
    n62 <= ( not pi1 and not lo5 and not lo4 );
    n63 <= ( lo2 and not lo1 and n62 );
    n64 <= ( not lo3 and not lo2 );
    n65 <= ( pi6 and not lo1 and not lo0 );
    n66 <= ( not lo3 and not lo2 );
    n67 <= ( pi6 and not pi0 and not lo5 and not lo4 );
    n68 <= ( not lo3 and lo2 and not lo1 and not lo0 );
    n69 <= ( not pi1 and lo3 and not lo1 and not lo0 );
    n70 <= ( pi4 and pi3 and lo4 );
    n71 <= ( not lo1 and not lo0 and n70 );
    n72 <= ( not lo4 and lo1 and lo0 );
    n73 <= ( not lo1 and not lo0 );
    n74 <= ( pi6 and not lo4 and lo2 );
    n75 <= ( not pi5 and pi2 and not lo2 and not n34 );
    n76 <= ( lo5 and not lo4 and lo1 );
    n77 <= ( not pi2 and not lo1 and not n34 );
    n78 <= ( not pi2 and not lo1 and not n34 );
    n79 <= ( lo5 and not lo1 );
    n80 <= not (( not n60 and lo2 ));
    n81 <= ( n80 and pi5 and not lo5 and not lo4 );
    n82 <= ( pi2 and lo5 );
    n83 <= ( n32 and n34 );
    n84 <= ( not lo3 and not lo2 and not lo0 );
    n85 <= not (( not n66 and not n65 ));
    n86 <= ( n85 and not lo5 and not lo4 );
    n87 <= not (( not n52 and lo0 ));
    n88 <= ( pi5 and n87 );
    n89 <= not (( not n54 and not n53 ));
    n90 <= ( n89 and lo4 and not lo0 );
    n91 <= not (( not n72 and not n71 ));
    n92 <= ( n91 and not lo5 );
    n93 <= ( lo1 and not lo0 and not n33 );
    n94 <= ( not pi6 and not lo3 and not lo2 );
    n95 <= not (( not n64 and not n63 ));
    n96 <= ( n95 and pi5 );
    n97 <= ( not lo3 and not lo2 and not lo0 );
    n98 <= not (( lo2 and not n69 ));
    n99 <= ( n98 and not lo5 and not lo4 );
    n100 <= ( n33 and lo1 );
    n101 <= ( not pi2 and not lo1 and not n34 );
    n102 <= not (( not n77 and not n76 ));
    n103 <= ( n102 and pi6 and not pi5 );
    n104 <= not (( not n56 and not n55 ));
    n105 <= ( not lo4 and n104 );
    n106 <= not (( not n78 and not lo5 ));
    n107 <= ( n106 and not lo0 );
    n108 <= not (( not lo5 and not n59 ));
    n109 <= ( pi2 and not lo1 and n108 );
    n110 <= not (( n32 and not n79 ));
    n111 <= ( pi3 and lo4 and n110 );
    n112 <= ( pi1 and lo5 and not lo4 and lo1 );
    n113 <= not (( not n75 and not n74 ));
    n114 <= ( n113 and not lo5 and not lo3 );
    n115 <= not (( lo2 and not n73 ));
    n116 <= not (( pi6 and not n61 ));
    n117 <= ( not lo5 and not lo4 and n115 and n116 );
    n118 <= not (( not n96 and not n94 ));
    n119 <= ( n118 and not lo0 );
    n120 <= not (( not n101 and not n100 ));
    n121 <= ( n120 and pi6 and not pi5 );
    n122 <= not (( not n93 and not n92 ));
    n123 <= ( n122 and pi6 and not pi5 );
    n124 <= not (( not n83 and not n82 ));
    n125 <= ( n124 and not lo1 and not lo0 );
    n126 <= ( pi1 and not lo5 and not lo4 );
    n127 <= ( lo1 and lo0 and n126 );
    n128 <= ( pi6 and not lo5 and not lo4 );
    n129 <= ( lo2 and not lo1 and not lo0 and n128 );
    n130 <= not (( not n90 and not n88 ));
    n131 <= ( n130 and not lo2 );
    n132 <= not (( not n99 and not n97 ));
    n133 <= ( not pi6 and n132 );
    n134 <= not (( not n86 and not n84 ));
    n135 <= ( n134 and pi5 );
    n136 <= not (( not n58 and not n57 ));
    n137 <= ( not lo5 and n136 );
    n138 <= not (( not n112 and not n111 and not n109 ));
    n139 <= ( n138 and not lo0 );
    n140 <= not (( not n107 and not n105 ));
    n141 <= ( n140 and pi6 and not pi5 );
    n142 <= not (( not n51 and not n50 ));
    n143 <= ( not pi6 and not lo2 and n142 );
    n144 <= not (( not n131 and not n129 ));
    n145 <= ( n144 and not lo3 );
    n146 <= not (( not n127 and not n125 ));
    n147 <= ( n146 and pi6 and not pi5 );
    n148 <= not (( not n139 and not n137 ));
    n149 <= ( n148 and pi6 and not pi5 );
end ISCAS__s386_behav;
