2023-07-06 12:08:22 +00:00
|
|
|
###############################################################################
|
|
|
|
## Copyright (C) 2017-2023 Analog Devices, Inc. All rights reserved.
|
|
|
|
### SPDX short identifier: ADIBSD
|
|
|
|
###############################################################################
|
2017-07-12 09:12:30 +00:00
|
|
|
|
|
|
|
package require -exact qsys 13.0
|
2022-07-12 11:06:15 +00:00
|
|
|
source ../../../scripts/adi_env.tcl
|
2019-04-01 09:41:00 +00:00
|
|
|
source ../../scripts/adi_ip_intel.tcl
|
2017-07-12 09:12:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
set_module_property NAME util_clkdiv
|
|
|
|
set_module_property DESCRIPTION "Clock Division Utility"
|
|
|
|
set_module_property VERSION 1.0
|
|
|
|
set_module_property GROUP "Analog Devices"
|
|
|
|
set_module_property DISPLAY_NAME util_clkdiv
|
|
|
|
|
|
|
|
# files
|
|
|
|
|
|
|
|
add_fileset quartus_synth QUARTUS_SYNTH "" "Quartus Synthesis"
|
2019-04-01 09:41:00 +00:00
|
|
|
set_fileset_property quartus_synth TOP_LEVEL util_clkdiv
|
|
|
|
add_fileset_file util_clkdiv.v VERILOG PATH util_clkdiv.v TOP_LEVEL_FILE
|
2017-07-12 09:12:30 +00:00
|
|
|
|
|
|
|
# defaults
|
|
|
|
|
2018-08-14 13:53:45 +00:00
|
|
|
ad_interface clock clk input 1
|
|
|
|
ad_interface reset reset input 1 if_clk
|
|
|
|
ad_interface clock clk_out output 1
|
|
|
|
ad_interface reset reset_out output 1 if_clk_out
|
2017-07-12 09:12:30 +00:00
|
|
|
|