Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
programmable-logic:eclypse-z7:demos:low-level-low-pass-filter [2021/09/23 23:40] – [Software Setup] Arthur Brown | programmable-logic:eclypse-z7:demos:low-level-low-pass-filter [2023/10/13 21:59] (current) – Arthur Brown | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Overview ===== | ===== Overview ===== | ||
The project demonstrates the implementation of a basic signal processing application on the Eclypse platform (Eclypse Z7 + Zmod Scope + Zmod AWG). | The project demonstrates the implementation of a basic signal processing application on the Eclypse platform (Eclypse Z7 + Zmod Scope + Zmod AWG). | ||
+ | <WRAP JUSTIFY> | ||
---- | ---- | ||
===== Description ===== | ===== Description ===== | ||
Line 15: | Line 15: | ||
The purpose of the digital loopback is to correct the phase errors introduced by the ADC and Zmod Scope Controller latency and the gain errors caused by the mismatch between the ADC and the DAC full-scale voltages. | The purpose of the digital loopback is to correct the phase errors introduced by the ADC and Zmod Scope Controller latency and the gain errors caused by the mismatch between the ADC and the DAC full-scale voltages. | ||
+ | |||
+ | Regardless of the Zmod Scope used, the system uses a 40 MS/s sample rate for both the Zmod Scope input and Zmod AWG output. | ||
With this setup the frequency response of the filter can be correctly measured regardless of the gain setting of the Zmod AWG. | With this setup the frequency response of the filter can be correctly measured regardless of the gain setting of the Zmod AWG. | ||
Line 24: | Line 26: | ||
* A digital low pass filter – implemented using Xilinx FIR compiler 7.2 IP Core with the coefficients specified in Table 1, below. | * A digital low pass filter – implemented using Xilinx FIR compiler 7.2 IP Core with the coefficients specified in Table 1, below. | ||
* The Zmod AWG Controller - initializes the Zmod AWG hardware and formats the output data according to the AD9717 DAC requirements. | * The Zmod AWG Controller - initializes the Zmod AWG hardware and formats the output data according to the AD9717 DAC requirements. | ||
+ | |||
+ | In the demo, the Zmod Scope CH1 is set to High Gain (+/-1V input range). The Zmod AWG CH1 and CH2 are set to Low Gain/Range (+/-1.25V output range).\\ | ||
+ | Therefore, a signal applied to the Zmod Scope CH1 input, converted to numeric format and the result sent directly to the inputs of Zmod AWG will be amplified 1.25V/1V = 1.25 times.\\ | ||
+ | If the user needs the AWG output voltage to have the same range as the Zmod Scope input, the numeric representation received from the Zmod Scope will need to be multiplied in the PL by 1/1.25 = 0.8. | ||
--> Table 1. FIR Filter Coefficients # | --> Table 1. FIR Filter Coefficients # | ||
Line 48: | Line 54: | ||
| 0.0063382, | | 0.0063382, | ||
| 0.0031577. | | 0.0031577. | ||
+ | |||
<-- | <-- | ||
Line 53: | Line 60: | ||
===Hardware=== | ===Hardware=== | ||
- | * [[https://store.digilentinc.com/ | + | * [[https://digilent.com/shop/ |
* Including a **Micro-USB cable** and **12V Power Supply** | * Including a **Micro-USB cable** and **12V Power Supply** | ||
* A Zmod Scope, one of the following: | * A Zmod Scope, one of the following: | ||
Line 60: | Line 67: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
- | * [[https://store.digilentinc.com/ | + | * [[https://digilent.com/shop/ |
- | * [[https://store.digilentinc.com/ | + | * [[https://digilent.com/shop/ |
* BNC-to-SMA cables (or BNC-to-SMA adapters with BNC or SMA cables) are recommended | * BNC-to-SMA cables (or BNC-to-SMA adapters with BNC or SMA cables) are recommended | ||
Line 74: | Line 81: | ||
===== Downloads ===== | ===== Downloads ===== | ||
- | | Vivado Project Archive |[[https:// | + | | Vivado Project Archive |
+ | | Vivado Project Archive 2019.1 | {{https:// | ||
| Waveforms Workspace |{{ : | | Waveforms Workspace |{{ : | ||
- | Advanced users may want to take a look at the [[https:// | + | Advanced users may want to take a look at the [[https:// |
------ | ------ | ||
Line 179: | Line 187: | ||
For more guides and example projects for your Eclypse Z7, please visit its [[programmable-logic: | For more guides and example projects for your Eclypse Z7, please visit its [[programmable-logic: | ||
- | For more information about how to use the other Digilent products featured in this demo, please visit their respective Resource Centers: \\ [[test-and-measurement: | + | For more information about how to use the other Digilent products featured in this demo, please visit their respective Resource Centers: \\ [[test-and-measurement: |
- | For technical support, please visit the [[https:// | + | For technical support, please visit the [[https:// |
{{tag> | {{tag> |