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

entity Cookbook__mask_32 is 
  Port (
    pi0,pi1,pi2,pi3,pi4: in std_logic;
    po00,po01,po02,po03,po04,po05,po06,po07,po08,po09,po10,po11,po12,po13,po14,po15,po16,po17,po18,po19,po20,po21,po22,po23,po24,po25,po26,po27,po28,po29: inout std_logic
  );
end Cookbook__mask_32;

architecture Cookbook__mask_32_behav of Cookbook__mask_32 is
signal n35,n36,n37,n39,n40,n42,n43,n44,n46,n48,n49,n50,n52,n53,n55,n56,n57,n60,n61,n62,n64,n65,n67,n68,n69,n71,n73,n74,n75,n77,n78,n80,n81,n82,n84,n85,n86,n88,n89,n91,n92,n93,n95,n97,n98,n99,n101,n102,n104,n105,n106,n109,n110,n111,n113,n114,n116,n117,n118,n120,n122,n123,n124,n126,n127,n129,n130,n131: std_logic;
begin
    n35 <= ( pi4 and pi3 );
    n36 <= ( n35 and pi2 );
    n37 <= ( n36 and pi1 );
    po29 <= ( n37 and pi0 );
    n39 <= ( pi3 and pi2 );
    n40 <= ( n39 and pi1 );
    po28 <= ( n40 and pi0 );
    n42 <= not (( not pi4 and not pi3 ));
    n43 <= ( n42 and pi2 );
    n44 <= ( n43 and pi1 );
    po27 <= ( n44 and pi0 );
    n46 <= ( pi2 and pi1 );
    po26 <= ( n46 and pi0 );
    n48 <= ( pi4 and pi3 );
    n49 <= not (( not n48 and not pi2 ));
    n50 <= ( n49 and pi1 );
    po25 <= ( n50 and pi0 );
    n52 <= not (( not pi3 and not pi2 ));
    n53 <= ( n52 and pi1 );
    po24 <= ( n53 and pi0 );
    n55 <= not (( not pi4 and not pi3 ));
    n56 <= not (( not n55 and not pi2 ));
    n57 <= ( n56 and pi1 );
    po23 <= ( n57 and pi0 );
    po22 <= ( pi1 and pi0 );
    n60 <= ( pi4 and pi3 );
    n61 <= ( n60 and pi2 );
    n62 <= not (( not n61 and not pi1 ));
    po21 <= ( n62 and pi0 );
    n64 <= ( pi3 and pi2 );
    n65 <= not (( not n64 and not pi1 ));
    po20 <= ( n65 and pi0 );
    n67 <= not (( not pi4 and not pi3 ));
    n68 <= ( n67 and pi2 );
    n69 <= not (( not n68 and not pi1 ));
    po19 <= ( n69 and pi0 );
    n71 <= not (( not pi2 and not pi1 ));
    po18 <= ( n71 and pi0 );
    n73 <= ( pi4 and pi3 );
    n74 <= not (( not n73 and not pi2 ));
    n75 <= not (( not n74 and not pi1 ));
    po17 <= ( n75 and pi0 );
    n77 <= not (( not pi3 and not pi2 ));
    n78 <= not (( not n77 and not pi1 ));
    po16 <= ( n78 and pi0 );
    n80 <= not (( not pi4 and not pi3 ));
    n81 <= not (( not n80 and not pi2 ));
    n82 <= not (( not n81 and not pi1 ));
    po15 <= ( n82 and pi0 );
    n84 <= ( pi4 and pi3 );
    n85 <= ( n84 and pi2 );
    n86 <= ( n85 and pi1 );
    po14 <= not (( not n86 and not pi0 ));
    n88 <= ( pi3 and pi2 );
    n89 <= ( n88 and pi1 );
    po13 <= not (( not n89 and not pi0 ));
    n91 <= not (( not pi4 and not pi3 ));
    n92 <= ( n91 and pi2 );
    n93 <= ( n92 and pi1 );
    po12 <= not (( not n93 and not pi0 ));
    n95 <= ( pi2 and pi1 );
    po11 <= not (( not n95 and not pi0 ));
    n97 <= ( pi4 and pi3 );
    n98 <= not (( not n97 and not pi2 ));
    n99 <= ( n98 and pi1 );
    po10 <= not (( not n99 and not pi0 ));
    n101 <= not (( not pi3 and not pi2 ));
    n102 <= ( n101 and pi1 );
    po09 <= not (( not n102 and not pi0 ));
    n104 <= not (( not pi4 and not pi3 ));
    n105 <= not (( not n104 and not pi2 ));
    n106 <= ( n105 and pi1 );
    po08 <= not (( not n106 and not pi0 ));
    po07 <= not (( not pi1 and not pi0 ));
    n109 <= ( pi4 and pi3 );
    n110 <= ( n109 and pi2 );
    n111 <= not (( not n110 and not pi1 ));
    po06 <= not (( not n111 and not pi0 ));
    n113 <= ( pi3 and pi2 );
    n114 <= not (( not n113 and not pi1 ));
    po05 <= not (( not n114 and not pi0 ));
    n116 <= not (( not pi4 and not pi3 ));
    n117 <= ( n116 and pi2 );
    n118 <= not (( not n117 and not pi1 ));
    po04 <= not (( not n118 and not pi0 ));
    n120 <= not (( not pi2 and not pi1 ));
    po03 <= not (( not n120 and not pi0 ));
    n122 <= ( pi4 and pi3 );
    n123 <= not (( not n122 and not pi2 ));
    n124 <= not (( not n123 and not pi1 ));
    po02 <= not (( not n124 and not pi0 ));
    n126 <= not (( not pi3 and not pi2 ));
    n127 <= not (( not n126 and not pi1 ));
    po01 <= not (( not n127 and not pi0 ));
    n129 <= not (( not pi4 and not pi3 ));
    n130 <= not (( not n129 and not pi2 ));
    n131 <= not (( not n130 and not pi1 ));
    po00 <= not (( not n131 and not pi0 ));
end Cookbook__mask_32_behav;
