-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
axi_logic_analyzer: Auto sync to ADC path
The number of delay taps in the LA data path can be controlled manually, from the regmap or automatically, according to the axi_adc_decimate's rate. Moreover, because the rate is configure by software, and the time of initialization, is different for the ADC path and LA path. There is an uncertainty of plus/minus one sample between the two. Because ADC and LA paths share the same clock we can easily synchronize the two paths. We can't use reset, because the rate generation mechanism is different between the two. So the ADC path is used as master valid generator and we can use it to drive the LA path. The synchronization is done by setting the rate source bit. This mechanism can only be used if the desired rate for both path is equal, including oversampling fom ADC decimation.
- Loading branch information
1 parent
d2b1164
commit 2e0ba5b
Showing
3 changed files
with
142 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
set_property ASYNC_REG TRUE [get_cells -hier -filter {name =~ *up_triggered_d*}] | ||
set_property ASYNC_REG TRUE [get_cells -hier -filter {name =~ *up_triggered_reset_d*}] | ||
set_property ASYNC_REG TRUE [get_cells -hier -filter {name =~ *data_m*}] | ||
set_property ASYNC_REG TRUE [get_cells -hier -filter {name =~ *up_sync_ack_m*}] | ||
|
||
set_false_path -to [get_pins BUFGMUX_CTRL_inst/S*] | ||
|
||
set_false_path -to [get_cells -hier -filter {name =~ *up_triggered_d1* && IS_SEQUENTIAL}] | ||
set_false_path -to [get_cells -hier -filter {name =~ *up_triggered_reset_d1* && IS_SEQUENTIAL}] | ||
set_false_path -to [get_cells -hier -filter {name =~ *data_m* && IS_SEQUENTIAL}] | ||
set_false_path -to [get_cells -hier -filter {name =~ *up_sync_ack_m* && IS_SEQUENTIAL}] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters