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

entity Cookbook__rgb_to_hue__part3 is 
  Port (
    lo32,lo33,lo34,lo35,lo36,lo37,lo47,lo42,lo43,lo44,lo45: in std_logic;
    n310_1,n315_1,n320_1,n325_1,n330_1,n335_1,n340_1: inout std_logic
  );
end Cookbook__rgb_to_hue__part3;

architecture Cookbook__rgb_to_hue__part3_behav of Cookbook__rgb_to_hue__part3 is
signal n4512,n4513,n4514,n4515,n4516,n4517,n4518,n4519,n4520,n4521,n4526,n4527,n4528,n4529,n4531,n4533,n4535: std_logic;
begin
    n4512 <= ( not lo32 and lo33 )
      or ( lo32 and not lo33 );
    n4513 <= ( not lo32 and not lo33 );
    n4514 <= ( not n4513 and not lo34 )
      or ( n4513 and lo34 );
    n4515 <= ( n4513 and not lo34 );
    n4516 <= ( not n4515 and not lo35 )
      or ( n4515 and lo35 );
    n4517 <= ( n4515 and not lo35 );
    n4518 <= ( not n4517 and not lo36 )
      or ( n4517 and lo36 );
    n4519 <= ( n4517 and not lo36 );
    n4520 <= ( not n4519 and not lo37 )
      or ( n4519 and lo37 );
    n4521 <= ( n4519 and not lo37 );
    n310_1 <= ( lo33 and not lo47 )
      or ( n4512 and lo47 );
    n315_1 <= ( lo34 and not lo47 )
      or ( n4514 and lo47 );
    n320_1 <= ( lo35 and not lo47 )
      or ( n4516 and lo47 );
    n4526 <= ( lo36 and not lo47 )
      or ( n4518 and lo47 );
    n4527 <= ( lo37 and not lo47 )
      or ( n4520 and lo47 );
    n4528 <= ( not n4521 and lo47 );
    n4529 <= ( not n4521 and lo47 );
    n325_1 <= ( not lo42 and n4526 )
      or ( lo42 and not n4526 );
    n4531 <= ( lo42 and n4526 );
    n330_1 <= ( not n4531 and not lo43 and n4527 )
      or ( not n4531 and lo43 and not n4527 )
      or ( n4531 and not lo43 and not n4527 )
      or ( n4531 and lo43 and n4527 );
    n4533 <= ( n4531 and lo43 )
      or ( n4531 and n4527 )
      or ( lo43 and n4527 );
    n335_1 <= ( not n4533 and not lo44 and n4528 )
      or ( not n4533 and lo44 and not n4528 )
      or ( n4533 and not lo44 and not n4528 )
      or ( n4533 and lo44 and n4528 );
    n4535 <= ( n4533 and lo44 )
      or ( n4533 and n4528 )
      or ( lo44 and n4528 );
    n340_1 <= ( not n4535 and not lo45 and n4529 )
      or ( not n4535 and lo45 and not n4529 )
      or ( n4535 and not lo45 and not n4529 )
      or ( n4535 and lo45 and n4529 );
end Cookbook__rgb_to_hue__part3_behav;
