util_cpack: Added reset interface

main
Adrian Costina 2015-07-23 17:01:53 +03:00
parent 0422c87846
commit d5d7a24483
1 changed files with 4 additions and 1 deletions

View File

@ -39,7 +39,6 @@ set_parameter_property CH_CNT HDL_PARAMETER true
# defaults
ad_alt_intf clock adc_clk input 1
ad_alt_intf signal adc_rst input 1
ad_alt_intf signal adc_valid output 1
ad_alt_intf signal adc_sync output 1
ad_alt_intf signal adc_data output CH_CNT*CH_DW
@ -47,6 +46,10 @@ ad_alt_intf signal adc_valid_0 input 1
ad_alt_intf signal adc_enable_0 input 1
ad_alt_intf signal adc_data_0 input CH_DW
add_interface adc_reset reset end
set_interface_property adc_reset associatedClock if_adc_clk
add_interface_port adc_reset adc_rst reset Input 1
proc p_util_cpack {} {
if {[get_parameter_value CH_CNT] > 1} {