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

entity Cookbook__temp_sense_s5__part2 is 
  Port (
    lo36,lo34,lo37,lo35,lo38,lo39,lo40,lo41: in std_logic;
    n243,n248,n253,n258_1,n263_1,n268_1,n273,n278: inout std_logic
  );
end Cookbook__temp_sense_s5__part2;

architecture Cookbook__temp_sense_s5__part2_behav of Cookbook__temp_sense_s5__part2 is
signal n322,n323,n324,n325,n326,n327,n328,n329,n330,n331,n332,n333,n334,n336,n338,n340,n342,n344,n345,n346,n347,n348,n349,n352: std_logic;
begin
    n322 <= ( not lo36 and not lo34 and lo37 )
      or ( not lo36 and lo34 and not lo37 )
      or ( lo36 and not lo34 and not lo37 )
      or ( lo36 and lo34 and lo37 );
    n323 <= ( not lo36 and lo34 )
      or ( not lo36 and not lo37 )
      or ( lo34 and not lo37 );
    n324 <= ( not n323 and not lo35 and not lo38 )
      or ( not n323 and lo35 and lo38 )
      or ( n323 and not lo35 and lo38 )
      or ( n323 and lo35 and not lo38 );
    n325 <= ( n323 and lo35 )
      or ( n323 and not lo38 )
      or ( lo35 and not lo38 );
    n326 <= ( not n325 and not lo36 and not lo39 )
      or ( not n325 and lo36 and lo39 )
      or ( n325 and not lo36 and lo39 )
      or ( n325 and lo36 and not lo39 );
    n327 <= ( n325 and lo36 )
      or ( n325 and not lo39 )
      or ( lo36 and not lo39 );
    n328 <= ( not n327 and not lo37 and not lo40 )
      or ( not n327 and lo37 and lo40 )
      or ( n327 and not lo37 and lo40 )
      or ( n327 and lo37 and not lo40 );
    n329 <= ( n327 and lo37 )
      or ( n327 and not lo40 )
      or ( lo37 and not lo40 );
    n330 <= ( not n329 and not lo38 and not lo41 )
      or ( not n329 and lo38 and lo41 )
      or ( n329 and not lo38 and lo41 )
      or ( n329 and lo38 and not lo41 );
    n331 <= ( n329 and lo38 )
      or ( n329 and not lo41 )
      or ( lo38 and not lo41 );
    n332 <= ( not n331 and not lo39 )
      or ( n331 and lo39 );
    n333 <= not (( not n331 and not lo39 ));
    n334 <= ( not n333 and not lo40 )
      or ( n333 and lo40 );
    n243 <= ( not lo36 and lo38 )
      or ( lo36 and not lo38 );
    n336 <= ( lo36 and lo38 );
    n248 <= ( not n336 and not n322 and lo39 )
      or ( not n336 and n322 and not lo39 )
      or ( n336 and not n322 and not lo39 )
      or ( n336 and n322 and lo39 );
    n338 <= ( n336 and n322 )
      or ( n336 and lo39 )
      or ( n322 and lo39 );
    n253 <= ( not n338 and not n324 and lo40 )
      or ( not n338 and n324 and not lo40 )
      or ( n338 and not n324 and not lo40 )
      or ( n338 and n324 and lo40 );
    n340 <= ( n338 and n324 )
      or ( n338 and lo40 )
      or ( n324 and lo40 );
    n258_1 <= ( not n340 and not n326 and lo41 )
      or ( not n340 and n326 and not lo41 )
      or ( n340 and not n326 and not lo41 )
      or ( n340 and n326 and lo41 );
    n342 <= ( n340 and n326 )
      or ( n340 and lo41 )
      or ( n326 and lo41 );
    n263_1 <= ( not n342 and n328 )
      or ( n342 and not n328 );
    n344 <= ( n342 and n328 );
    n345 <= ( not n344 and n330 )
      or ( n344 and not n330 );
    n346 <= ( n344 and n330 );
    n347 <= ( not n346 and n332 )
      or ( n346 and not n332 );
    n348 <= ( n346 and n332 );
    n349 <= ( not n348 and n334 )
      or ( n348 and not n334 );
    n268_1 <= ( not n345 );
    n273 <= ( not n345 and n347 )
      or ( n345 and not n347 );
    n352 <= ( n345 and n347 );
    n278 <= ( not n352 and n349 )
      or ( n352 and not n349 );
end Cookbook__temp_sense_s5__part2_behav;
