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

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

architecture cu_behav of cu is
signal n36,n37,n38,n39,n40,n41,n42,n43,n44,n45,n46,n47: std_logic;
begin
    po00 <= ( not n37 );
    po01 <= ( not pi03 and not n36 );
    po02 <= ( not pi13 and pi05 and not pi04 and not n38 );
    po03 <= ( not pi13 and pi05 and not pi04 and not n39 );
    po04 <= ( not pi13 and pi05 and not pi04 and not n40 );
    po05 <= ( not pi13 and pi05 and not pi04 and not n41 );
    po06 <= ( pi02 and not n43 )
      or ( not n42 and not n43 );
    po07 <= ( not pi13 and not n46 );
    po08 <= ( pi02 and not n43 )
      or ( not n47 and not n43 );
    po09 <= ( pi13 and pi06 );
    po10 <= ( not pi02 and not pi03 and pi06 )
      or ( not pi05 and not pi03 and pi06 );
    n36 <= ( not pi02 and pi04 )
      or ( pi02 and not pi04 )
      or ( pi02 and pi05 )
      or ( pi04 and pi05 )
      or ( not pi02 and not pi05 )
      or ( not pi04 and not pi05 );
    n37 <= ( not pi03 and not n36 );
    n38 <= ( pi03 )
      or ( pi02 )
      or ( pi01 )
      or ( pi00 );
    n39 <= ( pi03 )
      or ( pi02 )
      or ( pi01 )
      or ( not pi00 );
    n40 <= ( pi03 )
      or ( pi02 )
      or ( not pi01 )
      or ( pi00 );
    n41 <= ( pi03 )
      or ( pi02 )
      or ( not pi01 )
      or ( not pi00 );
    n42 <= ( not n44 )
      or ( pi00 and not pi01 and pi09 )
      or ( pi00 and pi01 and pi11 )
      or ( not pi00 and pi01 and pi10 );
    n43 <= ( not pi04 )
      or ( pi03 )
      or ( pi13 and pi02 )
      or ( pi05 and pi02 );
    n44 <= ( not pi07 and not n45 );
    n45 <= ( pi12 )
      or ( not pi05 )
      or ( not pi13 )
      or ( not pi00 and not pi01 and pi08 );
    n46 <= ( not pi05 )
      or ( pi04 )
      or ( pi03 )
      or ( pi02 );
    n47 <= ( not pi13 )
      or ( pi12 )
      or ( not pi05 );
end cu_behav;
