AN 797: Partially Reconfiguring a Design: on Intel® Arria® 10 GX FPGA Development Board
                    
                        ID
                        683497
                    
                
                
                    Date
                    12/11/2020
                
                
                    Public
                
            
                                    
                                    
                                        
                                        
                                            Step 1: Getting Started
                                        
                                        
                                    
                                        
                                        
                                            Step 2: Creating a Design Partition
                                        
                                        
                                    
                                        
                                        
                                            Step 3: Allocating Placement and Routing Region for a PR Partition
                                        
                                        
                                    
                                        
                                            Step 4: Adding the Partial Reconfiguration Controller IP
                                        
                                        
                                        
                                    
                                        
                                        
                                            Step 5: Defining Personas
                                        
                                        
                                    
                                        
                                            Step 6: Creating Revisions
                                        
                                        
                                        
                                    
                                        
                                        
                                            Step 7: Compiling the Base Revision
                                        
                                        
                                    
                                        
                                        
                                            Step 8: Preparing PR Implementation Revisions
                                        
                                        
                                    
                                        
                                            Step 9: Programming the Board
                                        
                                        
                                        
                                    
                                        
                                        
                                            Modifying an Existing Persona
                                        
                                        
                                    
                                        
                                        
                                            Adding a New Persona to the Design
                                        
                                        
                                    
                                
                            Step 4: Adding the Partial Reconfiguration Controller IP
 The Partial Reconfiguration Controller  Intel® Arria® 10/Cyclone 10 FPGA IP interfaces with the  Intel® Arria® 10 or  Intel® Cyclone® 10 GX PR control block to manage the bitstream source. 
  
 
  
   Follow these steps to add the IP core to your  Intel® Quartus® Prime project: 
  
 
  - Type Partial Reconfiguration in the IP Catalog (Tools > IP Catalog).
- Double-click Partial Reconfiguration Controller Intel® Arria® 10/Cyclone 10 FPGA IP.
- In the Create IP Variant dialog box, type pr_ip as the File Name, and then click Create. The parameter editor appears.
-  Turn on Use as partial reconfiguration internal host, Enable JTAG debug mode, and Enable freeze interface. Turn off Enable Avalon-MM slave interface. Select 16 bits for the Input data width. 
    Figure 7. Partial Reconfiguration Controller IP Core Parameters
-  Click File > Save, and exit the parameter editor without generating the system. The parameter editor generates the pr_ip.ip IP variation file and adds the file to the blinking_led project. 
    Note:- If you are copying the pr_ip.ip file from the pr folder, manually edit the blinking_led.qsf file to include the following line:set_global_assignment -name IP_FILE pr_ip.ip
- Place the IP_FILE assignment after the SDC_FILE assignments (jtag.sdc and blinking_led.sdc) in your blinking_led.qsf file. This ordering ensures appropriate constraining of the Partial Reconfiguration Controller IP core. 
        Note: To detect the clocks, the .sdc file for the PR IP must follow any .sdc that creates the clocks that the IP core uses. You facilitate this order by ensuring the .ip file for the PR IP core comes after any .ip files or .sdc files that you use to create these clocks in the .qsf file for your Intel® Quartus® Prime project revision. For more information, refer to the "Partial Reconfiguration IP Solutions User Guide" chapter of Intel® Quartus® Prime Pro Edition User Guide: Partial Reconfiguration.
 
- If you are copying the pr_ip.ip file from the pr folder, manually edit the blinking_led.qsf file to include the following line: