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

entity Cookbook__pipeline_add_msb__part10 is 
  Port (
    pi19,pi39,pi18,pi38,pi17,pi37,pi16,pi36,pi15,pi35,pi14,pi34,pi13,pi33,pi12,pi32,pi11,pi31,pi10,pi30: in std_logic;
    n323,n328,n333,n338,n343,n348,n353,n358,n363,n368,n373: inout std_logic
  );
end Cookbook__pipeline_add_msb__part10;

architecture Cookbook__pipeline_add_msb__part10_behav of Cookbook__pipeline_add_msb__part10 is
signal n215,n217,n219,n221,n223,n225,n227,n229,n231: std_logic;
begin
    n323 <= ( not pi19 and pi39 )
      or ( pi19 and not pi39 );
    n215 <= ( pi19 and pi39 );
    n328 <= ( not n215 and not pi18 and pi38 )
      or ( not n215 and pi18 and not pi38 )
      or ( n215 and not pi18 and not pi38 )
      or ( n215 and pi18 and pi38 );
    n217 <= ( n215 and pi18 )
      or ( n215 and pi38 )
      or ( pi18 and pi38 );
    n333 <= ( not n217 and not pi17 and pi37 )
      or ( not n217 and pi17 and not pi37 )
      or ( n217 and not pi17 and not pi37 )
      or ( n217 and pi17 and pi37 );
    n219 <= ( n217 and pi17 )
      or ( n217 and pi37 )
      or ( pi17 and pi37 );
    n338 <= ( not n219 and not pi16 and pi36 )
      or ( not n219 and pi16 and not pi36 )
      or ( n219 and not pi16 and not pi36 )
      or ( n219 and pi16 and pi36 );
    n221 <= ( n219 and pi16 )
      or ( n219 and pi36 )
      or ( pi16 and pi36 );
    n343 <= ( not n221 and not pi15 and pi35 )
      or ( not n221 and pi15 and not pi35 )
      or ( n221 and not pi15 and not pi35 )
      or ( n221 and pi15 and pi35 );
    n223 <= ( n221 and pi15 )
      or ( n221 and pi35 )
      or ( pi15 and pi35 );
    n348 <= ( not n223 and not pi14 and pi34 )
      or ( not n223 and pi14 and not pi34 )
      or ( n223 and not pi14 and not pi34 )
      or ( n223 and pi14 and pi34 );
    n225 <= ( n223 and pi14 )
      or ( n223 and pi34 )
      or ( pi14 and pi34 );
    n353 <= ( not n225 and not pi13 and pi33 )
      or ( not n225 and pi13 and not pi33 )
      or ( n225 and not pi13 and not pi33 )
      or ( n225 and pi13 and pi33 );
    n227 <= ( n225 and pi13 )
      or ( n225 and pi33 )
      or ( pi13 and pi33 );
    n358 <= ( not n227 and not pi12 and pi32 )
      or ( not n227 and pi12 and not pi32 )
      or ( n227 and not pi12 and not pi32 )
      or ( n227 and pi12 and pi32 );
    n229 <= ( n227 and pi12 )
      or ( n227 and pi32 )
      or ( pi12 and pi32 );
    n363 <= ( not n229 and not pi11 and pi31 )
      or ( not n229 and pi11 and not pi31 )
      or ( n229 and not pi11 and not pi31 )
      or ( n229 and pi11 and pi31 );
    n231 <= ( n229 and pi11 )
      or ( n229 and pi31 )
      or ( pi11 and pi31 );
    n368 <= ( not n231 and not pi10 and pi30 )
      or ( not n231 and pi10 and not pi30 )
      or ( n231 and not pi10 and not pi30 )
      or ( n231 and pi10 and pi30 );
    n373 <= ( n231 and pi10 )
      or ( n231 and pi30 )
      or ( pi10 and pi30 );
end Cookbook__pipeline_add_msb__part10_behav;
