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

entity Cookbook__fec_rot_4 is 
  Port (
    pi00,pi01,pi02,pi03,pi04,pi05,pi06,pi07,pi08,pi09,pi10,pi11,pi12,pi13,pi14,pi15: in std_logic;
    po00,po01,po02,po03,po04,po05,po06,po07,po08,po09,po10,po11,po12,po13: inout std_logic
  );
end Cookbook__fec_rot_4;

architecture Cookbook__fec_rot_4_behav of Cookbook__fec_rot_4 is
signal n30,n31: std_logic;
begin
    n30 <= ( not pi07 and pi03 )
      or ( pi07 and not pi03 );
    n31 <= ( not pi06 and pi02 )
      or ( pi06 and not pi02 );
    po13 <= ( not pi03 and pi01 )
      or ( pi03 and not pi01 );
    po12 <= ( not pi02 and pi00 )
      or ( pi02 and not pi00 );
    po11 <= ( not pi15 and pi01 )
      or ( pi15 and not pi01 );
    po10 <= ( not pi14 and pi00 )
      or ( pi14 and not pi00 );
    po09 <= ( not pi13 and pi03 )
      or ( pi13 and not pi03 );
    po08 <= ( not pi12 and pi02 )
      or ( pi12 and not pi02 );
    po07 <= ( not pi11 and pi01 )
      or ( pi11 and not pi01 );
    po06 <= ( not pi10 and pi00 )
      or ( pi10 and not pi00 );
    po05 <= ( not pi09 and pi03 )
      or ( pi09 and not pi03 );
    po04 <= ( not pi08 and pi02 )
      or ( pi08 and not pi02 );
    po03 <= ( not n30 and pi01 )
      or ( n30 and not pi01 );
    po02 <= ( not n31 and pi00 )
      or ( n31 and not pi00 );
    po01 <= ( not pi05 and pi01 )
      or ( pi05 and not pi01 );
    po00 <= ( not pi04 and pi00 )
      or ( pi04 and not pi00 );
end Cookbook__fec_rot_4_behav;
