# Data type definitions and update procs
source_subcore_ipfile xilinx.com:ip:v_tc:6.1 "bd/video_types_v1_0.tcl"

proc v_vid_in_axi4s_v4_0_datatype_def {} {
  variable vf_v1_0_typedefs
  set type_defs [list]
  
  # VIDEO_OUT
  # - TDATA
  lappend type_defs video_out
  lappend type_defs TDATA
  lappend type_defs [lindex $vf_v1_0_typedefs 2] ;# Default type RGB
  
  return $type_defs
}

########################################################################################
# Data type and bus parameter dependency functions
# - Use the helper functions in video_types_v1_0 to generate all the call back functions
# - Type map for this core
set v_vid_in_axi4s_v4_0_type_map [list  0 0  1 1  2 2  3 3  4 4  5 5  6 6  7 7  8 8  9 9  10 10  11 11  12 12]

# VIDEO_OUT - TDATA
vf_v1_0_gen_type_cbs video_out C_M_AXIS_VIDEO_FORMAT "" $v_vid_in_axi4s_v4_0_type_map "" C_M_AXIS_VIDEO_DATA_WIDTH "" "" ""



