AN 1007: Partial Reconfiguration Design Simulation Tutorial

ID 819958
Date 5/17/2024
Public

10. PR Simulation Results

By looking at the Simulation waveforms, you can verify whether the signals behave consistently with your expectations. The simulation in this tutorial works as follows:
  1. The simulation logic in the testbench top_tb drives the pr_activate, persona_select and freeze signals.
  2. The testbench triggers a PR transition by asserting the pr_activate signal.
  3. The persona_select signal selects the current persona. In addition, it also controls the PR input and output multiplexer select input lines to control the correct input and output of the persona.
  4. The pr_activate signal forces the output of the PR output multiplexer to unknown (X) values (for freeze logic verification). In addition, it also triggers the PR simulation register model to show unknown (X) value in all registers of the persona (for reset sequence verification).
  5. The freeze signal freezes the PR region output and sets to known value while the PR transition is occurring.
  6. After some time transpires, the testbench de-asserts pr_activate signals and resets the PR persona.
The simulation of top_sim module is separated into the following sections:
  • Initialization
  • Initial Reset
  • Section #1: PR with Freeze, then reset (PR W/ FRZ → RST)
  • Section Reset
  • Section #2: PR, then Reset (PR → RST)
  • Section Reset
  • Section #3: PR Only (PR ONLY)
Figure 12. Simulation Waveform