embeddedsw/XilinxProcessorIPLib/drivers/v_csc/data/v_csc.tcl
Rohit Consul b35e6556b3 v_csc: Update tcl to include model parameters
Updated the tcl and mdd files to define model parameters.
Updated the code to use new parameters instead of hard-coded
values defined earlier

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
2015-06-09 16:26:33 +05:30

36 lines
1 KiB
Tcl

# ==============================================================
# File generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
# Version: 2015.1
# Copyright (C) 2015 Xilinx Inc. All rights reserved.
#
# ==============================================================
proc generate {drv_handle} {
xdefine_include_file $drv_handle "xparameters.h" "XV_csc" \
"NUM_INSTANCES" \
"DEVICE_ID" \
"C_S_AXI_CTRL_BASEADDR" \
"C_S_AXI_CTRL_HIGHADDR" \
"SAMPLES_PER_CLOCK" \
"V_CSC_MAX_WIDTH" \
"V_CSC_MAX_HEIGHT" \
"MAX_DATA_WIDTH"
xdefine_config_file $drv_handle "xv_csc_g.c" "XV_csc" \
"DEVICE_ID" \
"C_S_AXI_CTRL_BASEADDR" \
"SAMPLES_PER_CLOCK" \
"V_CSC_MAX_WIDTH" \
"V_CSC_MAX_HEIGHT" \
"MAX_DATA_WIDTH"
xdefine_canonical_xpars $drv_handle "xparameters.h" "XV_csc" \
"DEVICE_ID" \
"C_S_AXI_CTRL_BASEADDR" \
"C_S_AXI_CTRL_HIGHADDR" \
"SAMPLES_PER_CLOCK" \
"V_CSC_MAX_WIDTH" \
"V_CSC_MAX_HEIGHT" \
"MAX_DATA_WIDTH"
}