}
        lappend ila_probe_def CONFIG.C_PROBE80_WIDTH    {16}
        lappend ila_probe_def CONFIG.C_PROBE81_WIDTH    {48}
        lappend ila_probe_def CONFIG.C_PROBE82_WIDTH    {16}
        lappend ila_probe_def CONFIG.C_PROBE83_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE84_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE91_WIDTH    {5}
        lappend ila_probe_def CONFIG.C_PROBE92_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE93_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE94_WIDTH    {3}
        lappend ila_probe_def CONFIG.C_PROBE96_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE97_WIDTH    {3}
        lappend ila_probe_def CONFIG.C_PROBE98_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE108_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE109_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE110_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE111_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE112_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE114_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE115_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE116_WIDTH   {5}
        lappend ila_probe_def CONFIG.C_PROBE117_WIDTH   {2}
        lappend ila_probe_def CONFIG.C_PROBE123_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE124_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE126_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE127_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE128_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE129_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE130_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE131_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE132_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE133_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE137_WIDTH   {108}
        lappend ila_probe_def CONFIG.C_PROBE138_WIDTH   {108}
        lappend ila_probe_def CONFIG.C_PROBE139_WIDTH   {108}
        lappend ila_probe_def CONFIG.C_PROBE141_WIDTH   {54}
        lappend ila_probe_def CONFIG.C_PROBE142_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE143_WIDTH   {12}
        lappend ila_probe_def CONFIG.C_NUM_OF_PROBES    {144}
        lappend ila_probe_def CONFIG.C_TRIGOUT_EN       {true}
        set_property -dict $ila_probe_def [get_ips ila_ddr3_axi]

    <: } else { :>

        ## Creating the ila  for NATIVE DDR
        create_ip -name ila -vendor xilinx.com -library ip -module_name ila_ddr3_native
        set ila_probe_def [list CONFIG.C_DATA_DEPTH {<: print $data_depth :>}]
        lappend ila_probe_def CONFIG.C_PROBE10_WIDTH    {2}
        lappend ila_probe_def CONFIG.C_PROBE11_WIDTH    {2}
        lappend ila_probe_def CONFIG.C_PROBE12_WIDTH    {2}
        lappend ila_probe_def CONFIG.C_PROBE18_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE20_WIDTH    {64}
        lappend ila_probe_def CONFIG.C_PROBE28_WIDTH    {64}
        lappend ila_probe_def CONFIG.C_PROBE29_WIDTH    {8}
        lappend ila_probe_def CONFIG.C_PROBE30_WIDTH    {8}
        lappend ila_probe_def CONFIG.C_PROBE31_WIDTH    {32}
        lappend ila_probe_def CONFIG.C_PROBE32_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE36_WIDTH    {2}
        lappend ila_probe_def CONFIG.C_PROBE37_WIDTH    {5}
        lappend ila_probe_def CONFIG.C_PROBE38_WIDTH    {4}
        lappend ila_probe_def CONFIG.C_PROBE41_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE42_WIDTH    {3}
        lappend ila_probe_def CONFIG.C_PROBE43_WIDTH    {4}
        lappend ila_probe_def CONFIG.C_PROBE44_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE45_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE46_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE47_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE48_WIDTH    {3}
        lappend ila_probe_def CONFIG.C_PROBE52_WIDTH    {4}
        lappend ila_probe_def CONFIG.C_PROBE53_WIDTH    {5}
        lappend ila_probe_def CONFIG.C_PROBE54_WIDTH    {5}
        lappend ila_probe_def CONFIG.C_PROBE57_WIDTH    {4}
        lappend ila_probe_def CONFIG.C_PROBE58_WIDTH    {54}
        lappend ila_probe_def CONFIG.C_PROBE59_WIDTH    {27}
        lappend ila_probe_def CONFIG.C_PROBE60_WIDTH    {12}
        lappend ila_probe_def CONFIG.C_PROBE61_WIDTH    {12}
        lappend ila_probe_def CONFIG.C_PROBE62_WIDTH    {12}
        lappend ila_probe_def CONFIG.C_PROBE63_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE64_WIDTH    {4}
        lappend ila_probe_def CONFIG.C_PROBE65_WIDTH    {8}
        lappend ila_probe_def CONFIG.C_PROBE66_WIDTH    {8}
        lappend ila_probe_def CONFIG.C_PROBE67_WIDTH    {8}
        lappend ila_probe_def CONFIG.C_PROBE68_WIDTH    {8}
        lappend ila_probe_def CONFIG.C_PROBE69_WIDTH    {8}
        lappend ila_probe_def CONFIG.C_PROBE70_WIDTH    {8}
        lappend ila_probe_def CONFIG.C_PROBE71_WIDTH    {8}
        lappend ila_probe_def CONFIG.C_PROBE72_WIDTH    {8}
        lappend ila_probe_def CONFIG.C_PROBE75_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE76_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE77_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE78_WIDTH    {5}
        lappend ila_probe_def CONFIG.C_PROBE79_WIDTH    {12}
        lappend ila_probe_def CONFIG.C_PROBE80_WIDTH    {12}
        lappend ila_probe_def CONFIG.C_PROBE81_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE82_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE83_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE84_WIDTH    {108}
        lappend ila_probe_def CONFIG.C_PROBE85_WIDTH    {108}
        lappend ila_probe_def CONFIG.C_PROBE86_WIDTH    {108}
        lappend ila_probe_def CONFIG.C_PROBE87_WIDTH    {90}
        lappend ila_probe_def CONFIG.C_PROBE88_WIDTH    {48}
        lappend ila_probe_def CONFIG.C_PROBE89_WIDTH    {16}
        lappend ila_probe_def CONFIG.C_PROBE90_WIDTH    {48}
        lappend ila_probe_def CONFIG.C_PROBE91_WIDTH    {16}
        lappend ila_probe_def CONFIG.C_PROBE92_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE93_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE100_WIDTH   {5}
        lappend ila_probe_def CONFIG.C_PROBE101_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE102_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE103_WIDTH   {3}
        lappend ila_probe_def CONFIG.C_PROBE105_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE106_WIDTH   {3}
        lappend ila_probe_def CONFIG.C_PROBE107_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE117_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE118_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE119_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE120_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE121_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE123_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE124_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE125_WIDTH   {5}
        lappend ila_probe_def CONFIG.C_PROBE126_WIDTH   {2}
        lappend ila_probe_def CONFIG.C_PROBE132_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE133_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE135_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE136_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE137_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE138_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE139_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE140_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE141_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE142_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE146_WIDTH   {108}
        lappend ila_probe_def CONFIG.C_PROBE147_WIDTH   {108}
        lappend ila_probe_def CONFIG.C_PROBE148_WIDTH   {108}
        lappend ila_probe_def CONFIG.C_PROBE150_WIDTH   {54}
        lappend ila_probe_def CONFIG.C_PROBE151_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE152_WIDTH   {12}
        lappend ila_probe_def CONFIG.C_NUM_OF_PROBES    {153}
        lappend ila_probe_def CONFIG.C_TRIGOUT_EN       {true}
        set_property -dict $ila_probe_def [get_ips ila_ddr3_native]

    <: }  :>

<:  } elseif { $dbgtype == "DDR2" } { :>

    ## Creating the vio  for DDR
    #vio_twm_ddrx : common for both AXI and native
    create_ip -name vio  -vendor xilinx.com -library ip -module_name vio_twm_ddrx
    set vio_probe_def [list CONFIG.C_NUM_PROBE_IN {16} CONFIG.C_NUM_PROBE_OUT {27}]
    lappend vio_probe_def CONFIG.C_PROBE_IN1_WIDTH      {6}
    lappend vio_probe_def CONFIG.C_PROBE_IN2_WIDTH      {6}
    lappend vio_probe_def CONFIG.C_PROBE_IN3_WIDTH      {6}
    lappend vio_probe_def CONFIG.C_PROBE_IN5_WIDTH      {165}
    lappend vio_probe_def CONFIG.C_PROBE_IN6_WIDTH      {7}
    lappend vio_probe_def CONFIG.C_PROBE_IN7_WIDTH      {4}
    lappend vio_probe_def CONFIG.C_PROBE_IN8_WIDTH      {7}
    lappend vio_probe_def CONFIG.C_PROBE_IN9_WIDTH      {9}
    lappend vio_probe_def CONFIG.C_PROBE_IN10_WIDTH     {9}
    lappend vio_probe_def CONFIG.C_PROBE_IN11_WIDTH     {9}
    lappend vio_probe_def CONFIG.C_PROBE_IN14_WIDTH     {48}
    lappend vio_probe_def CONFIG.C_PROBE_IN15_WIDTH     {48}
    lappend vio_probe_def CONFIG.C_PROBE_OUT0_WIDTH     {9}
    lappend vio_probe_def CONFIG.C_PROBE_OUT1_WIDTH     {5}
    lappend vio_probe_def CONFIG.C_PROBE_OUT3_WIDTH     {4}
    lappend vio_probe_def CONFIG.C_PROBE_OUT4_WIDTH     {3}
    lappend vio_probe_def CONFIG.C_PROBE_OUT5_WIDTH     {4}
    lappend vio_probe_def CONFIG.C_PROBE_OUT6_WIDTH     {2}
    lappend vio_probe_def CONFIG.C_PROBE_OUT7_WIDTH     {10}
    lappend vio_probe_def CONFIG.C_PROBE_OUT10_WIDTH    {3}
    lappend vio_probe_def CONFIG.C_PROBE_OUT25_WIDTH    {4}
    lappend vio_probe_def CONFIG.C_PROBE_OUT26_WIDTH    {2}
    set_property -dict $vio_probe_def [get_ips vio_twm_ddrx]

    <: if { $axiStatus == "AXI" } { :>

        ## Creating the ila  for AXI DDR
        create_ip -name ila  -vendor xilinx.com -library ip -module_name ila_ddr2_axi
        set ila_probe_def [list CONFIG.C_DATA_DEPTH {<: print $data_depth :>}]
        lappend ila_probe_def CONFIG.C_PROBE10_WIDTH    {2}
        lappend ila_probe_def CONFIG.C_PROBE11_WIDTH    {2}
        lappend ila_probe_def CONFIG.C_PROBE12_WIDTH    {2}
        lappend ila_probe_def CONFIG.C_PROBE18_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE20_WIDTH    {64}
        lappend ila_probe_def CONFIG.C_PROBE26_WIDTH    {32}
        lappend ila_probe_def CONFIG.C_PROBE27_WIDTH    {32}
        lappend ila_probe_def CONFIG.C_PROBE28_WIDTH    {5}
        lappend ila_probe_def CONFIG.C_PROBE29_WIDTH    {4}
        lappend ila_probe_def CONFIG.C_PROBE32_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE33_WIDTH    {3}
        lappend ila_probe_def CONFIG.C_PROBE34_WIDTH    {4}
        lappend ila_probe_def CONFIG.C_PROBE35_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE36_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE37_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE38_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE39_WIDTH    {3}
        lappend ila_probe_def CONFIG.C_PROBE43_WIDTH    {4}
        lappend ila_probe_def CONFIG.C_PROBE44_WIDTH    {5}
        lappend ila_probe_def CONFIG.C_PROBE45_WIDTH    {5}
        lappend ila_probe_def CONFIG.C_PROBE48_WIDTH    {4}
        lappend ila_probe_def CONFIG.C_PROBE49_WIDTH    {54}
        lappend ila_probe_def CONFIG.C_PROBE50_WIDTH    {27}
        lappend ila_probe_def CONFIG.C_PROBE51_WIDTH    {12}
        lappend ila_probe_def CONFIG.C_PROBE52_WIDTH    {12}
        lappend ila_probe_def CONFIG.C_PROBE53_WIDTH    {12}
        lappend ila_probe_def CONFIG.C_PROBE54_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE55_WIDTH    {4}
        lappend ila_probe_def CONFIG.C_PROBE56_WIDTH    {8}
        lappend ila_probe_def CONFIG.C_PROBE57_WIDTH    {8}
        lappend ila_probe_def CONFIG.C_PROBE58_WIDTH    {8}
        lappend ila_probe_def CONFIG.C_PROBE59_WIDTH    {8}
        lappend ila_probe_def CONFIG.C_PROBE60_WIDTH    {8}
        lappend ila_probe_def CONFIG.C_PROBE61_WIDTH    {8}
        lappend ila_probe_def CONFIG.C_PROBE62_WIDTH    {8}
        lappend ila_probe_def CONFIG.C_PROBE63_WIDTH    {8}
        lappend ila_probe_def CONFIG.C_PROBE66_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE67_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE68_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE69_WIDTH    {5}
        lappend ila_probe_def CONFIG.C_PROBE70_WIDTH    {12}
        lappend ila_probe_def CONFIG.C_PROBE71_WIDTH    {12}
        lappend ila_probe_def CONFIG.C_PROBE72_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE73_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE74_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE75_WIDTH    {108}
        lappend ila_probe_def CONFIG.C_PROBE76_WIDTH    {108}
        lappend ila_probe_def CONFIG.C_PROBE77_WIDTH    {108}
        lappend ila_probe_def CONFIG.C_PROBE78_WIDTH    {90}
        lappend ila_probe_def CONFIG.C_PROBE79_WIDTH    {48}
        lappend ila_probe_def CONFIG.C_PROBE80_WIDTH    {16}
        lappend ila_probe_def CONFIG.C_PROBE81_WIDTH    {48}
        lappend ila_probe_def CONFIG.C_PROBE82_WIDTH    {16}
        lappend ila_probe_def CONFIG.C_PROBE83_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE84_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE91_WIDTH    {5}
        lappend ila_probe_def CONFIG.C_PROBE92_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE93_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE94_WIDTH    {3}
        lappend ila_probe_def CONFIG.C_PROBE96_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE97_WIDTH    {3}
        lappend ila_probe_def CONFIG.C_PROBE98_WIDTH    {6}
        lappend ila_probe_def CONFIG.C_PROBE108_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE109_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE110_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE111_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE112_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE114_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE115_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE116_WIDTH   {5}
        lappend ila_probe_def CONFIG.C_PROBE117_WIDTH   {2}
        lappend ila_probe_def CONFIG.C_PROBE123_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE124_WIDTH   {6}
        lappend ila_probe_def CONFIG.C_PROBE126_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE127_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE128_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE129_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE130_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE131_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE132_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE133_WIDTH   {8}
        lappend ila_probe_def CONFIG.C_PROBE137_WIDTH   {108}
        lappend ila_probe_def CONFIG.C_PROBE138_WIDTH   {108}
        lappend ila_probe_def CONFIG.C_PROBE139_WIDTH   {108}
        lappend 