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

entity Cookbook__approx_fp_invsqrt__part1 is 
  Port (
    lo055,lo047,lo056,lo048,lo057,lo049,lo058,lo050,lo059,lo051,lo060,lo052,lo061,lo053,lo062,lo054: in std_logic;
    n545,n550,n555,n560,n565,n570,n575,n580: inout std_logic
  );
end Cookbook__approx_fp_invsqrt__part1;

architecture Cookbook__approx_fp_invsqrt__part1_behav of Cookbook__approx_fp_invsqrt__part1 is
signal n423,n424,n425,n426,n427,n428,n429,n430,n431,n432,n433,n434,n435,n436,n437,n440,n442,n444,n446,n448,n450: std_logic;
begin
    n423 <= ( not lo055 and lo047 )
      or ( lo055 and not lo047 );
    n424 <= not (( not lo055 and lo047 ));
    n425 <= ( not n424 and not lo056 and not lo048 )
      or ( not n424 and lo056 and lo048 )
      or ( n424 and not lo056 and lo048 )
      or ( n424 and lo056 and not lo048 );
    n426 <= ( n424 and lo056 )
      or ( n424 and not lo048 )
      or ( lo056 and not lo048 );
    n427 <= ( not n426 and not lo057 and not lo049 )
      or ( not n426 and lo057 and lo049 )
      or ( n426 and not lo057 and lo049 )
      or ( n426 and lo057 and not lo049 );
    n428 <= ( n426 and lo057 )
      or ( n426 and not lo049 )
      or ( lo057 and not lo049 );
    n429 <= ( not n428 and not lo058 and not lo050 )
      or ( not n428 and lo058 and lo050 )
      or ( n428 and not lo058 and lo050 )
      or ( n428 and lo058 and not lo050 );
    n430 <= ( n428 and lo058 )
      or ( n428 and not lo050 )
      or ( lo058 and not lo050 );
    n431 <= ( not n430 and not lo059 and not lo051 )
      or ( not n430 and lo059 and lo051 )
      or ( n430 and not lo059 and lo051 )
      or ( n430 and lo059 and not lo051 );
    n432 <= ( n430 and lo059 )
      or ( n430 and not lo051 )
      or ( lo059 and not lo051 );
    n433 <= ( not n432 and not lo060 and not lo052 )
      or ( not n432 and lo060 and lo052 )
      or ( n432 and not lo060 and lo052 )
      or ( n432 and lo060 and not lo052 );
    n434 <= ( n432 and lo060 )
      or ( n432 and not lo052 )
      or ( lo060 and not lo052 );
    n435 <= ( not n434 and not lo061 and not lo053 )
      or ( not n434 and lo061 and lo053 )
      or ( n434 and not lo061 and lo053 )
      or ( n434 and lo061 and not lo053 );
    n436 <= ( n434 and lo061 )
      or ( n434 and not lo053 )
      or ( lo061 and not lo053 );
    n437 <= ( not n436 and not lo062 and not lo054 )
      or ( not n436 and lo062 and lo054 )
      or ( n436 and not lo062 and lo054 )
      or ( n436 and lo062 and not lo054 );
    n545 <= ( not n423 );
    n550 <= ( not n423 and n425 )
      or ( n423 and not n425 );
    n440 <= ( n423 and n425 );
    n555 <= ( not n440 and n427 )
      or ( n440 and not n427 );
    n442 <= ( n440 and n427 );
    n560 <= ( not n442 and n429 )
      or ( n442 and not n429 );
    n444 <= ( n442 and n429 );
    n565 <= ( not n444 and n431 )
      or ( n444 and not n431 );
    n446 <= ( n444 and n431 );
    n570 <= ( not n446 and n433 )
      or ( n446 and not n433 );
    n448 <= ( n446 and n433 );
    n575 <= ( not n448 and n435 )
      or ( n448 and not n435 );
    n450 <= ( n448 and n435 );
    n580 <= ( not n450 and n437 )
      or ( n450 and not n437 );
end Cookbook__approx_fp_invsqrt__part1_behav;
