Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
programmable-logic:eclypse-z7:demos:low-level-low-pass-filter [2021/09/23 23:38] Arthur Brownprogrammable-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/eclypse-z7-zynq-7000-soc-development-board-with-syzygy-compatible-expansion/|Eclypse Z7]]+  * [[https://digilent.com/shop/eclypse-z7-zynq-7000-soc-development-board-with-syzygy-compatible-expansion/|Eclypse Z7]]
     * 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://digilent.com/shop/zmod-scope-1410-2-channel-14-bit-oscilloscope-module/|Zmod Scope 1410]]     * [[https://digilent.com/shop/zmod-scope-1410-2-channel-14-bit-oscilloscope-module/|Zmod Scope 1410]]
   * [[https://digilent.com/shop/zmod-awg-1411-2-channel-14-bit-arbitrary-waveform-generator-awg-module/|Zmod AWG 1411]]   * [[https://digilent.com/shop/zmod-awg-1411-2-channel-14-bit-arbitrary-waveform-generator-awg-module/|Zmod AWG 1411]]
-  * [[https://store.digilentinc.com/analog-discovery-2-100msps-usb-oscilloscope-logic-analyzer-and-variable-power-supply/|Analog Discovery 2 (AD2)]] +  * [[https://digilent.com/shop/analog-discovery-2-100ms-s-usb-oscilloscope-logic-analyzer-and-variable-power-supply/|Analog Discovery 2 (AD2)]] 
-  * [[https://store.digilentinc.com/bnc-adapter-for-analog-discovery/|Discovery BNC Adapter]]+  * [[https://digilent.com/shop/bnc-adapter-for-analog-discovery/|Discovery BNC Adapter]]
   * 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://github.com/Digilent/Eclypse-Z7/releases/tag/lowlevel_lpf/2019.1-1|Github Release]], containing a ZIP archive with the project|+| Vivado Project Archive 2023.1 {{https://github.com/Digilent/Eclypse-Z7/releases/download/lowlevel_lpf/2023.1-1/Eclypse-Z7-Low-Level-Low-Pass-Filter-hw.xpr.zip}}  | 
 +| Vivado Project Archive 2019.1 | {{https://github.com/Digilent/Eclypse-Z7/releases/download/lowlevel_lpf/2019.1-2/Eclypse-Z7-Low-Level-Low-Pass-Filter-hw.xpr.zip}}  |
 | Waveforms Workspace |{{ :programmable-logic:eclypse-z7:demos:eclypse-low-level-low-pass-filter-demo.zip |ZIP Archive}}| | Waveforms Workspace |{{ :programmable-logic:eclypse-z7:demos:eclypse-low-level-low-pass-filter-demo.zip |ZIP Archive}}|
  
-Advanced users may want to take a look at the [[https://github.com/Digilent/Eclypse-Z7/tree/lowlevel_lpf/next|branch of Eclypse Z7 repository]] containing the project.+Advanced users may want to take a look at the [[https://github.com/Digilent/Eclypse-Z7/tree/lowlevel_lpf/master|branch of Eclypse Z7 repository]] containing the project.
  
 ------ ------
Line 164: Line 172:
 5. Select the .bit file, or make sure it is already selected and is located at the correct path in the dialog (the bit file can be found in the project at ''hw.runs/impl_1/design_1_wrapper.bit''), and program the board. 5. Select the .bit file, or make sure it is already selected and is located at the correct path in the dialog (the bit file can be found in the project at ''hw.runs/impl_1/design_1_wrapper.bit''), and program the board.
  
-6. Open WaveForms, then open the workspace, "EclypseZ7VhdlFilterDemo.dwf3work", included in the folder extracted from the demo archive.+6. Open WaveForms, then open the workspace, "EclypseZ7VhdlFilterDemo.dwf3work", included in the folder extracted from the demo archive. If you are prompted that the configuration of your AD2 will be changed, allow WaveForms to do so.
  
 Hit the Run button of the Network Analyzer instrument. Hit the Run button of the Network Analyzer instrument.
Line 179: Line 187:
 For more guides and example projects for your Eclypse Z7, please visit its [[programmable-logic:eclypse-z7:start|Resource Center]]. For more guides and example projects for your Eclypse Z7, please visit its [[programmable-logic:eclypse-z7:start|Resource Center]].
  
-For more information about how to use the other Digilent products featured in this demo, please visit their respective Resource Centers: \\ [[test-and-measurement:analog-discovery-2:start]], [[test-and-measurement:bnc-adapter-board:start]], [[zmod:zmodadc:start]], [[zmod:zmoddac:start]].+For more information about how to use the other Digilent products featured in this demo, please visit their respective Resource Centers: \\ [[test-and-measurement:analog-discovery-2:start]], [[test-and-measurement:bnc-adapter-board:start]], [[zmod:scope:start]], [[zmod:awg:start]].
  
-For technical support, please visit the [[https://forum.digilentinc.com|Digilent Forums]].+For technical support, please visit the [[https://forum.digilent.com|Digilent Forums]].
  
 {{tag>learn programmable-logic project eclypse-z7}} {{tag>learn programmable-logic project eclypse-z7}}