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

entity Cookbook__eightbyeight_sad__part2 is 
  Port (
    lo050,lo040,lo051,lo041,lo052,lo042,lo053,lo043,lo054,lo044,lo055,lo045,lo056,lo046,lo057,lo047,lo058,lo048,lo059,lo049: in std_logic;
    n939,n944,n949,n954,n959,n964,n969,n974,n979,n984,n989: inout std_logic
  );
end Cookbook__eightbyeight_sad__part2;

architecture Cookbook__eightbyeight_sad__part2_behav of Cookbook__eightbyeight_sad__part2 is
signal n2503,n2505,n2507,n2509,n2511,n2513,n2515,n2517,n2519: std_logic;
begin
    n939 <= ( not lo050 and lo040 )
      or ( lo050 and not lo040 );
    n2503 <= ( lo050 and lo040 );
    n944 <= ( not n2503 and not lo051 and lo041 )
      or ( not n2503 and lo051 and not lo041 )
      or ( n2503 and not lo051 and not lo041 )
      or ( n2503 and lo051 and lo041 );
    n2505 <= ( n2503 and lo051 )
      or ( n2503 and lo041 )
      or ( lo051 and lo041 );
    n949 <= ( not n2505 and not lo052 and lo042 )
      or ( not n2505 and lo052 and not lo042 )
      or ( n2505 and not lo052 and not lo042 )
      or ( n2505 and lo052 and lo042 );
    n2507 <= ( n2505 and lo052 )
      or ( n2505 and lo042 )
      or ( lo052 and lo042 );
    n954 <= ( not n2507 and not lo053 and lo043 )
      or ( not n2507 and lo053 and not lo043 )
      or ( n2507 and not lo053 and not lo043 )
      or ( n2507 and lo053 and lo043 );
    n2509 <= ( n2507 and lo053 )
      or ( n2507 and lo043 )
      or ( lo053 and lo043 );
    n959 <= ( not n2509 and not lo054 and lo044 )
      or ( not n2509 and lo054 and not lo044 )
      or ( n2509 and not lo054 and not lo044 )
      or ( n2509 and lo054 and lo044 );
    n2511 <= ( n2509 and lo054 )
      or ( n2509 and lo044 )
      or ( lo054 and lo044 );
    n964 <= ( not n2511 and not lo055 and lo045 )
      or ( not n2511 and lo055 and not lo045 )
      or ( n2511 and not lo055 and not lo045 )
      or ( n2511 and lo055 and lo045 );
    n2513 <= ( n2511 and lo055 )
      or ( n2511 and lo045 )
      or ( lo055 and lo045 );
    n969 <= ( not n2513 and not lo056 and lo046 )
      or ( not n2513 and lo056 and not lo046 )
      or ( n2513 and not lo056 and not lo046 )
      or ( n2513 and lo056 and lo046 );
    n2515 <= ( n2513 and lo056 )
      or ( n2513 and lo046 )
      or ( lo056 and lo046 );
    n974 <= ( not n2515 and not lo057 and lo047 )
      or ( not n2515 and lo057 and not lo047 )
      or ( n2515 and not lo057 and not lo047 )
      or ( n2515 and lo057 and lo047 );
    n2517 <= ( n2515 and lo057 )
      or ( n2515 and lo047 )
      or ( lo057 and lo047 );
    n979 <= ( not n2517 and not lo058 and lo048 )
      or ( not n2517 and lo058 and not lo048 )
      or ( n2517 and not lo058 and not lo048 )
      or ( n2517 and lo058 and lo048 );
    n2519 <= ( n2517 and lo058 )
      or ( n2517 and lo048 )
      or ( lo058 and lo048 );
    n984 <= ( not n2519 and not lo059 and lo049 )
      or ( not n2519 and lo059 and not lo049 )
      or ( n2519 and not lo059 and not lo049 )
      or ( n2519 and lo059 and lo049 );
    n989 <= ( n2519 and lo059 )
      or ( n2519 and lo049 )
      or ( lo059 and lo049 );
end Cookbook__eightbyeight_sad__part2_behav;
