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

entity Cookbook__eightbyeight_sad__part27 is 
  Port (
    lo561,lo552,lo562,lo553,lo563,lo554,lo564,lo555,lo565,lo556,lo566,lo557,lo567,lo558,lo568,lo559,lo569,lo560: in std_logic;
    n629,n634,n639,n644,n649,n654,n659,n664,n669,n674: inout std_logic
  );
end Cookbook__eightbyeight_sad__part27;

architecture Cookbook__eightbyeight_sad__part27_behav of Cookbook__eightbyeight_sad__part27 is
signal n2391,n2393,n2395,n2397,n2399,n2401,n2403,n2405: std_logic;
begin
    n629 <= ( not lo561 and lo552 )
      or ( lo561 and not lo552 );
    n2391 <= ( lo561 and lo552 );
    n634 <= ( not n2391 and not lo562 and lo553 )
      or ( not n2391 and lo562 and not lo553 )
      or ( n2391 and not lo562 and not lo553 )
      or ( n2391 and lo562 and lo553 );
    n2393 <= ( n2391 and lo562 )
      or ( n2391 and lo553 )
      or ( lo562 and lo553 );
    n639 <= ( not n2393 and not lo563 and lo554 )
      or ( not n2393 and lo563 and not lo554 )
      or ( n2393 and not lo563 and not lo554 )
      or ( n2393 and lo563 and lo554 );
    n2395 <= ( n2393 and lo563 )
      or ( n2393 and lo554 )
      or ( lo563 and lo554 );
    n644 <= ( not n2395 and not lo564 and lo555 )
      or ( not n2395 and lo564 and not lo555 )
      or ( n2395 and not lo564 and not lo555 )
      or ( n2395 and lo564 and lo555 );
    n2397 <= ( n2395 and lo564 )
      or ( n2395 and lo555 )
      or ( lo564 and lo555 );
    n649 <= ( not n2397 and not lo565 and lo556 )
      or ( not n2397 and lo565 and not lo556 )
      or ( n2397 and not lo565 and not lo556 )
      or ( n2397 and lo565 and lo556 );
    n2399 <= ( n2397 and lo565 )
      or ( n2397 and lo556 )
      or ( lo565 and lo556 );
    n654 <= ( not n2399 and not lo566 and lo557 )
      or ( not n2399 and lo566 and not lo557 )
      or ( n2399 and not lo566 and not lo557 )
      or ( n2399 and lo566 and lo557 );
    n2401 <= ( n2399 and lo566 )
      or ( n2399 and lo557 )
      or ( lo566 and lo557 );
    n659 <= ( not n2401 and not lo567 and lo558 )
      or ( not n2401 and lo567 and not lo558 )
      or ( n2401 and not lo567 and not lo558 )
      or ( n2401 and lo567 and lo558 );
    n2403 <= ( n2401 and lo567 )
      or ( n2401 and lo558 )
      or ( lo567 and lo558 );
    n664 <= ( not n2403 and not lo568 and lo559 )
      or ( not n2403 and lo568 and not lo559 )
      or ( n2403 and not lo568 and not lo559 )
      or ( n2403 and lo568 and lo559 );
    n2405 <= ( n2403 and lo568 )
      or ( n2403 and lo559 )
      or ( lo568 and lo559 );
    n669 <= ( not n2405 and not lo569 and lo560 )
      or ( not n2405 and lo569 and not lo560 )
      or ( n2405 and not lo569 and not lo560 )
      or ( n2405 and lo569 and lo560 );
    n674 <= ( n2405 and lo569 )
      or ( n2405 and lo560 )
      or ( lo569 and lo560 );
end Cookbook__eightbyeight_sad__part27_behav;
