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

entity LGSynth91__sct is 
  Port (
    pi00,pi01,pi02,pi03,pi04,pi05,pi06,pi07,pi08,pi09,pi10,pi11,pi12,pi13,pi14,pi15,pi16,pi17,pi18: in std_logic;
    po00,po01,po02,po03,po04,po05,po06,po07,po08,po09,po10,po11,po12: inout std_logic
  );
end LGSynth91__sct;

architecture LGSynth91__sct_behav of LGSynth91__sct is
signal n45,n46,n47,n48,n49,n50,n51,n52,n53,n54,n55,n56,n57,n58,n59,n60,n61,n62,n63,n64,n65,n66,n67,n68,n69: std_logic;
begin
    po00 <= ( pi01 and not pi02 )
      or ( not pi01 and not pi14 )
      or ( not pi02 and not pi14 );
    po01 <= ( not n45 );
    po02 <= ( not pi06 and not pi16 and pi04 )
      or ( not pi03 and not pi06 and pi02 and pi04 );
    po03 <= ( pi07 and not n46 )
      or ( pi06 and not n46 );
    po04 <= ( pi08 and not n47 )
      or ( pi06 and pi07 and not n47 );
    po05 <= ( not n49 )
      or ( pi09 and not n48 );
    po06 <= ( not pi04 )
      or ( not n51 )
      or ( pi10 and not n50 )
      or ( pi16 and not pi02 );
    po07 <= ( not pi04 )
      or ( not n53 )
      or ( pi11 and not n52 )
      or ( pi16 and not pi02 );
    po08 <= ( not pi04 )
      or ( not n55 )
      or ( pi12 and not n54 )
      or ( pi16 and not pi02 );
    po09 <= ( not pi04 )
      or ( not n57 )
      or ( pi13 and not n56 )
      or ( pi16 and not pi02 );
    po10 <= ( not n60 )
      or ( pi06 and pi04 and not n58 and not n59 );
    po11 <= ( pi04 and pi03 )
      or ( not pi02 and pi04 and pi16 );
    po12 <= ( pi17 and pi04 );
    n45 <= ( pi04 and pi05 )
      or ( pi04 and not pi15 and pi18 )
      or ( not pi05 and not pi15 and pi18 );
    n46 <= ( not pi04 )
      or ( pi06 and pi07 )
      or ( not pi02 and pi16 )
      or ( pi03 and pi16 );
    n47 <= ( not pi04 )
      or ( not pi02 and pi16 )
      or ( pi03 and pi16 )
      or ( pi06 and pi07 and pi08 );
    n48 <= ( pi08 and pi07 and pi06 );
    n49 <= ( not pi06 and not pi16 and pi04 )
      or ( not pi07 and not pi16 and pi04 )
      or ( not pi08 and not pi16 and pi04 )
      or ( not pi16 and pi04 and pi09 )
      or ( not pi03 and not pi06 and pi02 and pi04 )
      or ( not pi03 and not pi07 and pi02 and pi04 )
      or ( not pi03 and not pi08 and pi02 and pi04 )
      or ( not pi03 and pi02 and pi04 and pi09 );
    n50 <= ( not pi09 and pi08 and pi07 and pi06 );
    n51 <= ( not pi08 and not pi16 )
      or ( not pi07 and not pi16 )
      or ( not pi06 and not pi16 )
      or ( not n61 and not pi16 )
      or ( not pi08 and not pi03 )
      or ( not pi07 and not pi03 )
      or ( not pi06 and not pi03 )
      or ( not n61 and not pi03 );
    n52 <= ( pi08 and pi07 and pi06 and not n62 );
    n53 <= ( not pi08 and not pi16 )
      or ( not pi07 and not pi16 )
      or ( not pi06 and not pi16 )
      or ( not n63 and not pi16 )
      or ( not pi08 and not pi03 )
      or ( not pi07 and not pi03 )
      or ( not pi06 and not pi03 )
      or ( not n63 and not pi03 );
    n54 <= ( pi08 and pi07 and pi06 and not n64 );
    n55 <= ( not pi08 and not pi16 )
      or ( not pi07 and not pi16 )
      or ( not pi06 and not pi16 )
      or ( not n65 and not pi16 )
      or ( not pi08 and not pi03 )
      or ( not pi07 and not pi03 )
      or ( not pi06 and not pi03 )
      or ( not n65 and not pi03 );
    n56 <= ( pi08 and pi07 and pi06 and not n66 );
    n57 <= ( not pi07 and not pi16 )
      or ( not pi06 and not pi16 )
      or ( not n67 and not pi16 )
      or ( not n68 and not pi16 )
      or ( not pi07 and not pi03 )
      or ( not pi06 and not pi03 )
      or ( not n67 and not pi03 )
      or ( not n68 and not pi03 );
    n58 <= ( pi09 )
      or ( not pi08 )
      or ( not pi07 );
    n59 <= ( not n69 )
      or ( not pi00 and not n68 );
    n60 <= ( not pi14 )
      or ( not pi04 )
      or ( not pi16 )
      or ( pi02 and not pi03 );
    n61 <= ( not pi10 and not pi09 );
    n62 <= ( pi10 )
      or ( pi09 );
    n63 <= ( not pi11 and not pi10 and not pi09 );
    n64 <= ( pi11 )
      or ( pi10 )
      or ( pi09 );
    n65 <= ( not pi12 and not pi11 and not pi10 and not pi09 );
    n66 <= ( pi12 )
      or ( pi11 )
      or ( pi10 )
      or ( pi09 );
    n67 <= ( not pi09 and pi08 );
    n68 <= ( not pi13 and not pi12 and not pi11 and not pi10 );
    n69 <= ( not pi16 )
      or ( pi02 and not pi03 );
end LGSynth91__sct_behav;
