axi_ad9361: add_instance command must have a version attribute

main
Istvan Csomortani 2020-03-18 12:21:46 +00:00 committed by Adrian Costina
parent a66029aef3
commit fe90fc7e57
2 changed files with 9 additions and 9 deletions

View File

@ -178,7 +178,7 @@ proc axi_ad9361_elab {} {
# 103 - stands for "Arria 10" see adi_intel_device_info_enc.tcl
if {$m_fpga_technology == 103} {
add_hdl_instance axi_ad9361_serdes_clk intel_serdes
add_hdl_instance axi_ad9361_serdes_clk intel_serdes 1.0
set_instance_parameter_value axi_ad9361_serdes_clk {DEVICE_FAMILY} {Arria 10}
set_instance_parameter_value axi_ad9361_serdes_clk {MODE} {CLK}
set_instance_parameter_value axi_ad9361_serdes_clk {DDR_OR_SDR_N} {1}
@ -188,27 +188,27 @@ proc axi_ad9361_elab {} {
set rx_serdes_mode IN
if {$rx_nodpa == 1} {set rx_serdes_mode IN_NODPA}
add_hdl_instance axi_ad9361_serdes_in intel_serdes
add_hdl_instance axi_ad9361_serdes_in intel_serdes 1.0
set_instance_parameter_value axi_ad9361_serdes_in {DEVICE_FAMILY} {Arria 10}
set_instance_parameter_value axi_ad9361_serdes_in {MODE} $rx_serdes_mode
set_instance_parameter_value axi_ad9361_serdes_in {DDR_OR_SDR_N} {1}
set_instance_parameter_value axi_ad9361_serdes_in {SERDES_FACTOR} {4}
set_instance_parameter_value axi_ad9361_serdes_in {CLKIN_FREQUENCY} {250.0}
add_hdl_instance axi_ad9361_serdes_out intel_serdes
add_hdl_instance axi_ad9361_serdes_out intel_serdes 1.0
set_instance_parameter_value axi_ad9361_serdes_out {DEVICE_FAMILY} {Arria 10}
set_instance_parameter_value axi_ad9361_serdes_out {MODE} {OUT}
set_instance_parameter_value axi_ad9361_serdes_out {DDR_OR_SDR_N} {1}
set_instance_parameter_value axi_ad9361_serdes_out {SERDES_FACTOR} {4}
set_instance_parameter_value axi_ad9361_serdes_out {CLKIN_FREQUENCY} {250.0}
add_hdl_instance axi_ad9361_data_out altera_gpio
add_hdl_instance axi_ad9361_data_out altera_gpio 19.1
set_instance_parameter_value axi_ad9361_data_out {DEVICE_FAMILY} {Arria 10}
set_instance_parameter_value axi_ad9361_data_out {PIN_TYPE_GUI} {Output}
set_instance_parameter_value axi_ad9361_data_out {SIZE} {1}
set_instance_parameter_value axi_ad9361_data_out {gui_io_reg_mode} {DDIO}
add_hdl_instance clk_buffer altclkctrl
add_hdl_instance clk_buffer altclkctrl 19.1
set_instance_parameter_value clk_buffer {DEVICE_FAMILY} {Arria 10}
}

View File

@ -43,7 +43,7 @@ proc p_intel_serdes {} {
## arria 10 only
if {$m_mode == "CLK"} {
add_instance intel_serdes_pll altera_iopll
add_instance intel_serdes_pll altera_iopll 19.1
set_instance_parameter_value intel_serdes_pll {gui_reference_clock_frequency} $m_clkin_frequency
set_instance_parameter_value intel_serdes_pll {gui_use_locked} {1}
set_instance_parameter_value intel_serdes_pll {gui_operation_mode} {lvds}
@ -78,7 +78,7 @@ proc p_intel_serdes {} {
}
if {$m_mode == "IN" || $m_mode == "IN_NODPA"} {
add_instance intel_serdes_in altera_lvds
add_instance intel_serdes_in altera_lvds 19.1
if {$m_mode == "IN"} {
set_instance_parameter_value intel_serdes_in {MODE} {RX_DPA-FIFO}
} else {
@ -112,7 +112,7 @@ proc p_intel_serdes {} {
}
if {$m_mode == "OUT"} {
add_instance intel_serdes_out altera_lvds
add_instance intel_serdes_out altera_lvds 19.1
set_instance_parameter_value intel_serdes_out {MODE} {TX}
set_instance_parameter_value intel_serdes_out {NUM_CHANNELS} {1}
set_instance_parameter_value intel_serdes_out {DATA_RATE} $m_hs_data_rate