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

entity DFF is
  Port ( D, CLK: in std_logic;
     Q: out std_logic);
end DFF;

architecture Behavior of DFF is
begin
  process(CLK)
  begin
    if CLK'event and CLK = '1' then
      Q <= D;
    end if;
  end process;
end Behavior;

Library IEEE;
use IEEE.std_logic_1164.all;

entity Cookbook__jtag_to_c_probe__part0 is 
  Port (
    pi2,pi1,pi3,pi4,pi0,pi5, CLK: in std_logic;
    po0: inout std_logic
  );
end Cookbook__jtag_to_c_probe__part0;

architecture Cookbook__jtag_to_c_probe__part0_behav of Cookbook__jtag_to_c_probe__part0 is
component DFF
  Port ( D, CLK: in std_logic;
     Q: out std_logic);
end component;

signal lo00,lo01,lo02,lo03,lo04,lo05,lo06,lo07,lo08,lo09,lo10,lo11,lo12,lo13,lo14,lo15,lo16,lo18,lo19,lo20,lo21,lo22,lo23,lo24,lo25,lo26,lo27,lo28,lo29,lo30,lo31,lo32,lo33,lo34,n114,n115,n116,n117,n118,n119,n120,n121,n122,n123,n124,n125,n126,n127,n128,n129,n130,n131,n132,n133,n134,n135,n136,n137,n138,n139,n140,n141,n142,n143,n144,n145,n146,li19,li20,li21,li22,li23,li24,li25,li26,li27,li28,li29,li30,li31,li32,li33,li34,li00,n164,li01,li02,li03,li04,li05,li06,li07,li08,li09,li10,li11,li12,li13,li14,li15,li16,n184,n185,li18: std_logic;
begin
    DFF0: DFF port map (li00, CLK, lo00);
    DFF1: DFF port map (li01, CLK, lo01);
    DFF2: DFF port map (li02, CLK, lo02);
    DFF3: DFF port map (li03, CLK, lo03);
    DFF4: DFF port map (li04, CLK, lo04);
    DFF5: DFF port map (li05, CLK, lo05);
    DFF6: DFF port map (li06, CLK, lo06);
    DFF7: DFF port map (li07, CLK, lo07);
    DFF8: DFF port map (li08, CLK, lo08);
    DFF9: DFF port map (li09, CLK, lo09);
    DFF10: DFF port map (li10, CLK, lo10);
    DFF11: DFF port map (li11, CLK, lo11);
    DFF12: DFF port map (li12, CLK, lo12);
    DFF13: DFF port map (li13, CLK, lo13);
    DFF14: DFF port map (li14, CLK, lo14);
    DFF15: DFF port map (li15, CLK, lo15);
    DFF16: DFF port map (li16, CLK, lo16);
    DFF17: DFF port map (li18, CLK, lo18);
    DFF18: DFF port map (li19, CLK, lo19);
    DFF19: DFF port map (li20, CLK, lo20);
    DFF20: DFF port map (li21, CLK, lo21);
    DFF21: DFF port map (li22, CLK, lo22);
    DFF22: DFF port map (li23, CLK, lo23);
    DFF23: DFF port map (li24, CLK, lo24);
    DFF24: DFF port map (li25, CLK, lo25);
    DFF25: DFF port map (li26, CLK, lo26);
    DFF26: DFF port map (li27, CLK, lo27);
    DFF27: DFF port map (li28, CLK, lo28);
    DFF28: DFF port map (li29, CLK, lo29);
    DFF29: DFF port map (li30, CLK, lo30);
    DFF30: DFF port map (li31, CLK, lo31);
    DFF31: DFF port map (li32, CLK, lo32);
    DFF32: DFF port map (li33, CLK, lo33);
    DFF33: DFF port map (li34, CLK, lo34);
    n114 <= ( pi2 and not pi1 );
    n115 <= ( lo19 and not pi3 );
    n116 <= ( lo20 and not pi3 );
    n117 <= ( lo21 and not pi3 )
      or ( not lo18 and pi3 );
    n118 <= ( lo22 and not pi3 );
    n119 <= ( lo23 and not pi3 )
      or ( not lo18 and pi3 );
    n120 <= ( lo24 and not pi3 )
      or ( not lo18 and pi3 );
    n121 <= ( lo25 and not pi3 );
    n122 <= ( lo26 and not pi3 );
    n123 <= ( lo27 and not pi3 );
    n124 <= ( lo28 and not pi3 )
      or ( not lo18 and pi3 );
    n125 <= ( lo29 and not pi3 );
    n126 <= ( lo30 and not pi3 );
    n127 <= ( lo31 and not pi3 )
      or ( not lo18 and pi3 );
    n128 <= ( lo32 and not pi3 );
    n129 <= ( lo33 and not pi3 );
    n130 <= ( lo34 and not pi3 );
    n131 <= ( n115 and not pi4 )
      or ( lo20 and pi4 );
    n132 <= ( n116 and not pi4 )
      or ( lo21 and pi4 );
    n133 <= ( n117 and not pi4 )
      or ( lo22 and pi4 );
    n134 <= ( n118 and not pi4 )
      or ( lo23 and pi4 );
    n135 <= ( n119 and not pi4 )
      or ( lo24 and pi4 );
    n136 <= ( n120 and not pi4 )
      or ( lo25 and pi4 );
    n137 <= ( n121 and not pi4 )
      or ( lo26 and pi4 );
    n138 <= ( n122 and not pi4 )
      or ( lo27 and pi4 );
    n139 <= ( n123 and not pi4 )
      or ( lo28 and pi4 );
    n140 <= ( n124 and not pi4 )
      or ( lo29 and pi4 );
    n141 <= ( n125 and not pi4 )
      or ( lo30 and pi4 );
    n142 <= ( n126 and not pi4 )
      or ( lo31 and pi4 );
    n143 <= ( n127 and not pi4 )
      or ( lo32 and pi4 );
    n144 <= ( n128 and not pi4 )
      or ( lo33 and pi4 );
    n145 <= ( n129 and not pi4 )
      or ( lo34 and pi4 );
    n146 <= ( n130 and not pi4 )
      or ( pi0 and pi4 );
    li19 <= ( pi0 and not n114 )
      or ( n131 and n114 );
    li20 <= ( lo20 and not n114 )
      or ( n132 and n114 );
    li21 <= ( lo21 and not n114 )
      or ( n133 and n114 );
    li22 <= ( lo22 and not n114 )
      or ( n134 and n114 );
    li23 <= ( lo23 and not n114 )
      or ( n135 and n114 );
    li24 <= ( lo24 and not n114 )
      or ( n136 and n114 );
    li25 <= ( lo25 and not n114 )
      or ( n137 and n114 );
    li26 <= ( lo26 and not n114 )
      or ( n138 and n114 );
    li27 <= ( lo27 and not n114 )
      or ( n139 and n114 );
    li28 <= ( lo28 and not n114 )
      or ( n140 and n114 );
    li29 <= ( lo29 and not n114 )
      or ( n141 and n114 );
    li30 <= ( lo30 and not n114 )
      or ( n142 and n114 );
    li31 <= ( lo31 and not n114 )
      or ( n143 and n114 );
    li32 <= ( lo32 and not n114 )
      or ( n144 and n114 );
    li33 <= ( lo33 and not n114 )
      or ( n145 and n114 );
    li34 <= ( lo34 and not n114 )
      or ( n146 and n114 );
    li00 <= ( pi3 and n114 );
    n164 <= ( n114 and pi5 );
    li01 <= ( lo01 and not n164 )
      or ( lo19 and n164 );
    li02 <= ( lo02 and not n164 )
      or ( lo20 and n164 );
    li03 <= ( lo03 and not n164 )
      or ( lo21 and n164 );
    li04 <= ( lo04 and not n164 )
      or ( lo22 and n164 );
    li05 <= ( lo05 and not n164 )
      or ( lo23 and n164 );
    li06 <= ( lo06 and not n164 )
      or ( lo24 and n164 );
    li07 <= ( lo07 and not n164 )
      or ( lo25 and n164 );
    li08 <= ( lo08 and not n164 )
      or ( lo26 and n164 );
    li09 <= ( lo09 and not n164 )
      or ( lo27 and n164 );
    li10 <= ( lo10 and not n164 )
      or ( lo28 and n164 );
    li11 <= ( lo11 and not n164 )
      or ( lo29 and n164 );
    li12 <= ( lo12 and not n164 )
      or ( lo30 and n164 );
    li13 <= ( lo13 and not n164 )
      or ( lo31 and n164 );
    li14 <= ( lo14 and not n164 )
      or ( lo32 and n164 );
    li15 <= ( lo15 and not n164 )
      or ( lo33 and n164 );
    li16 <= ( lo16 and not n164 )
      or ( lo34 and n164 );
    n184 <= not (( lo18 and not lo00 ));
    n185 <= ( lo18 and not lo00 );
    li18 <= not (( not n185 and not n184 ));
    po0 <= ( lo19 );
end Cookbook__jtag_to_c_probe__part0_behav;
