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

entity IWLS93__cm163a is 
  Port (
    pi00,pi01,pi02,pi03,pi04,pi05,pi06,pi07,pi08,pi09,pi10,pi11,pi12,pi13,pi14,pi15: in std_logic;
    po0,po1,po2,po3,po4: inout std_logic
  );
end IWLS93__cm163a;

architecture IWLS93__cm163a_behav of IWLS93__cm163a is
signal n26,n27,n28,n29,n30,n31,n32,n33,n34,n35,n36,n37,n38,n39,n40,n41,n42,n43,n44,n45,n46,n47,n48,n49,n50,n51,n52,n53,n54,n55,n56,n57: std_logic;
begin
    po0 <= ( n32 )
      or ( n36 )
      or ( n39 )
      or ( n31 );
    po1 <= ( n32 )
      or ( n53 )
      or ( n54 )
      or ( n55 );
    po2 <= ( n32 )
      or ( n38 )
      or ( n37 )
      or ( n40 );
    po3 <= ( n32 )
      or ( n33 )
      or ( n34 )
      or ( n35 );
    po4 <= ( pi04 and not n43 );
    n26 <= ( not pi05 and pi06 );
    n27 <= ( n52 )
      or ( n49 );
    n28 <= ( pi05 and pi06 );
    n29 <= ( n56 )
      or ( n57 );
    n30 <= ( n42 )
      or ( n47 );
    n31 <= ( not pi01 and not n41 );
    n32 <= ( not n26 and not n28 );
    n33 <= ( not n26 and not n27 );
    n34 <= ( not pi08 and not n28 );
    n35 <= ( not pi08 and not n27 );
    n36 <= ( not n26 and not n41 );
    n37 <= ( not pi07 and not n28 );
    n38 <= ( not n26 and not n30 );
    n39 <= ( not pi01 and not n28 );
    n40 <= ( not pi07 and not n30 );
    n41 <= ( n44 )
      or ( n45 );
    n42 <= ( not pi13 and not n46 );
    n43 <= ( not pi00 )
      or ( not pi09 )
      or ( not pi11 )
      or ( not pi15 );
    n44 <= ( not pi10 and n51 );
    n45 <= ( pi10 and not n51 );
    n46 <= ( not pi10 and not pi12 and not n51 );
    n47 <= ( pi13 and n46 );
    n48 <= ( not pi10 and not pi12 and not pi13 and not n51 );
    n49 <= ( pi14 and n48 );
    n50 <= ( not pi10 and not n51 );
    n51 <= ( not pi03 )
      or ( not pi04 );
    n52 <= ( not pi14 and not n48 );
    n53 <= ( not n26 and not n29 );
    n54 <= ( not pi02 and not n28 );
    n55 <= ( not pi02 and not n29 );
    n56 <= ( not pi12 and not n50 );
    n57 <= ( pi12 and n50 );
end IWLS93__cm163a_behav;
