Visible to Intel only — Ixiasoft
1. About the PHY Lite for Parallel Interfaces IP
2. PHY Lite for Parallel Interfaces Intel® FPGA IP (phylite_ph2) for Intel Agilex® 7 M-Series Devices
3. PHY Lite for Parallel Interfaces Intel® FPGA IP (altera_phylite_s20) for Intel Agilex® 7 F-Series and I-Series Devices
4. PHY Lite for Parallel Interfaces Intel® FPGA IP for Intel® Stratix® 10 Devices
5. PHY Lite for Parallel Interfaces Intel® FPGA IP for Intel® Arria® 10 and Intel® Cyclone® 10 GX Devices
6. PHY Lite for Parallel Interfaces Intel® FPGA IP User Guide Document Archives
7. Document Revision History for the PHY Lite for Parallel Interfaces Intel® FPGA IP User Guide
3.2.1. Intel Agilex® 7 F-Series and I-Series I/O Sub-bank Interconnects
3.2.2. Intel Agilex® 7 F-Series and I-Series Input DQS/Strobe Tree
3.2.3. PHY Lite for Parallel Interfaces Intel® FPGA IP for Intel Agilex® 7 F-Series and I-Series Devices Top Level Interfaces
3.2.4. Dynamic Reconfiguration
3.2.5. I/O Timing
4.5.6.4.1. Timing Closure: Dynamic Reconfiguration
4.5.6.4.2. Timing Closure: Input Strobe Setup and Hold Delay Constraints
4.5.6.4.3. Timing Closure: Output Strobe Setup and Hold Delay Constraints
4.5.6.4.4. Timing Closure: Non Edge-Aligned Input Data
4.5.6.4.5. I/O Timing Violation
4.5.6.4.6. Internal FPGA Path Timing Violation
5.5.6.4.1. Timing Closure: Dynamic Reconfiguration
5.5.6.4.2. Timing Closure: Input Strobe Setup and Hold Delay Constraints
5.5.6.4.3. Timing Closure: Output Strobe Setup and Hold Delay Constraints
5.5.6.4.4. Timing Closure: Non Edge-Aligned Input Data
5.5.6.4.5. I/O Timing Violation
5.5.6.4.6. Internal FPGA Path Timing Violation
Visible to Intel only — Ixiasoft
4.6.1.2.1. Dynamic Reconfiguration Using Finite State Machine
This design example is a simulation design example that is capable to perform dynamic calibration for PHY Lite for Parallel Interfaces Intel® FPGA IP for Intel® Stratix® 10 devices.
Features
- Perform dynamic reconfiguration using Avalon controller
- Read and write transactions monitoring
- Delay values monitoring
Software Requirements
- Intel® Quartus® Prime software
- Active-HDL, ModelSim* - Intel® FPGA Edition, or VCS Simulator
Functional Description
This design example introduces the cfg_ctrl and avl_ctrl blocks, which work with the sim_ctrl module to demonstrate the basic functionality of the PHY Lite for Parallel Interfaces Intel® FPGA IP for Intel® Stratix® 10 devices Avalon® memory-mapped interface based reconfiguration. The agent is also modified to insert delays on the data and clocks, which the new modules will compensate for.
Note: The cfg_ctrl module performs a simplistic reconfiguration of the interface that stops at the first working delay values. The design example only support simulation. A robust calibration algorithm should sweep over the entire valid range of delays to choose the correct value for the application.
Figure 80. Dynamic Reconfiguration Using Finite State Machine Design ExampleThis figure shows a high-level view of the simulation design example with one group.
Component | Description |
---|---|
ref_clk_gen | Generates clock to reset_gen, PHY Lite for Parallel Interfaces Intel® FPGA IP for Intel® Stratix® 10 devices ADDR/CMD (ref_clk), and PHY Lite for Parallel Interfaces Intel® FPGA IP for Intel® Stratix® 10 devices (ref_clk) blocks. |
reset_gen | Generates reset to PHY Lite for Parallel Interfaces Intel® FPGA IP ADDR/CMD and PHY Lite for Parallel Interfaces Intel® FPGA IP for Intel® Stratix® 10 devices blocks. |
sim_ctrl |
|
Driver | Generates strobe and data for each group and to PHY Lite for Parallel Interfaces Intel® FPGA IP for Intel® Stratix® 10 devices block. |
PHY Lite for Parallel Interfaces Intel® FPGA IP ADDR/CMD | Passing read/write commands and command clock from sim_ctrl to Agent. |
Agent | FIFO to store data from PHY Lite for Parallel Interfaces Intel® FPGA IP DUT and side read/write data from sim_ctrl block. |
cfg_ctrl | This is configuration control block which performs read and write delay calibration before test begin. The calibration results is passed to the PHY Lite for Parallel Interfaces Intel® FPGA IP for Intel® Stratix® 10 devices through Avalon Controller. Contains 4 FSMs:
|
avl_ctrl | The Avalon controller is used to perform address translation to store delay settings from the calibration done by cfg_ctrl block. |
Figure 81. Design Example Functional Flow
Generating the Dynamic Reconfiguration with Configuration Control Module Design Example
- In Intel® Quartus® Prime software, instantiate PHY Lite for Parallel Interfaces Intel® FPGA IP core.
- Customize parameter settings per your requirement and turn on the Use dynamic reconfiguration option.
- Click Generate Example Design. Specify a directory name to generate the design example.
- To generate Verilog or mixed-language simulation files, go to the design example directory and run the following script in Nios® II Command Shell.
quartus_sh -t make_sim_design.tcl VERILOG
- To generate VHDL simulation files, go to the design example directory and run the following script in Nios® II Command Shell.
quartus_sh -t make_sim_design.tcl VHDL
Running the Dynamic Reconfiguration with Configuration Control Design Example
Follow these steps to compile and simulate the design:
- Change the working directory to <Example Design>\sim\ed_sim\sim\<Simulator> .
- Run the simulation script for the simulator of your choice. Refer to the table below.
Simulator Working Directory Steps Modelsim <Example Design>\sim\ed_sim\sim\mentor - do msim_setup.tcl
- ld_debug
- Add desired signals into the waveform window.
- run -all
VCS <Example Design>\sim\ed_sim\sim\synopsys\vcs - sh vcs_setup.sh
VCSMX <Example Design>\sim\ed_sim\sim\synopsys\vcsmx - sh vcsmx_setup.sh
Aldec Example Design\sim\ed_sim\sim\aldec - do rivierapro_setup.tcl
- ld_debug
- Add desired signals into the waveform window.
- run -all
Figure 82. Sample Simulation Output