AN 994: Drive-on-Chip Design Example for Intel Agilex® 7 Devices
                    
                        ID
                        780361
                    
                
                
                    Date
                    6/26/2023
                
                
                    Public
                
            
                
                    
                    
                        1. About the Drive-on-Chip Design Example for Intel Agilex® 7 Devices
                    
                
                    
                    
                        2. Features of the Drive-on-Chip Design Example for Intel Agilex 7 Devices
                    
                
                    
                        3. Getting Started with the Drive-on-Chip Design Example for Intel Agilex 7 Devices
                    
                    
                
                    
                        4. Rebuilding the Drive-on-Chip Design Example for Intel Agilex 7 Devices
                    
                    
                
                    
                        5. About the Scaling of Feedback Signals
                    
                    
                
                    
                    
                        6. Motor Control Software
                    
                
                    
                        7. Functional Description of the Drive-on-Chip Design Example for Intel Agilex 7 Devices
                    
                    
                
                    
                    
                        8. Signals
                    
                
                    
                    
                        9. Registers
                    
                
                    
                    
                        10. Design Security Recommendations
                    
                
                    
                    
                        11. Document Revision History for AN 994: Drive-on-Chip Design Example for Intel Agilex 7 Devices
                    
                
            
        
                        
                        
                            
                            
                                3.1. Software Requirements for the Drive-on-Chip Design Example for Intel Agilex 7 Devices
                            
                        
                            
                            
                                3.2. Hardware Requirements for the Drive-on-Chip Design Example for Intel Agilex 7 Devices
                            
                        
                            
                            
                                3.3. Downloading and Installing the Design
                            
                        
                            
                            
                                3.4. Setting Up your Development Board for the Drive-on-Chip Design Example for Intel Agilex 7 Devices
                            
                        
                            
                            
                                3.5. Configuring the FPGA Hardware for the Drive-on-Chip Design Example for Intel Agilex 7 Devices
                            
                        
                            
                            
                                3.6. Programming the Nios V/g Software to the Device for the Drive-on-Chip Design Example for Intel Agilex 7 Devices
                            
                        
                            
                                3.7. Debugging and Monitoring the Drive-on-Chip Design Example for Intel Agilex 7 Devices with Python GUI
                            
                            
                        
                    
                
                                    
                                    
                                        
                                        
                                            3.7.1. GUI Control Parameters Pane for the Drive-on-Chip Design Example for Intel Agilex 7 Devices
                                        
                                        
                                    
                                        
                                        
                                            3.7.2. GUI Main Panes for the Drive-on-Chip Design Example for Intel Agilex 7 Devices
                                        
                                        
                                    
                                        
                                        
                                            3.7.3. Tuning the PI Controller Gains
                                        
                                        
                                    
                                        
                                        
                                            3.7.4. Controlling the Speed and Position Demonstrations
                                        
                                        
                                    
                                        
                                        
                                            3.7.5. Monitoring Performance
                                        
                                        
                                    
                                
                            
                                                
                                                
                                                    
                                                    
                                                        7.3.6.1. DSP Builder for Intel FPGAs Model for the Drive-on-Chip Designs
                                                    
                                                    
                                                
                                                    
                                                    
                                                        7.3.6.2. Avalon Memory-Mapped Interface
                                                    
                                                    
                                                
                                                    
                                                    
                                                        7.3.6.3. About DSP Builder for Intel FPGAs
                                                    
                                                    
                                                
                                                    
                                                    
                                                        7.3.6.4. DSP Builder for Intel FPGAs Folding
                                                    
                                                    
                                                
                                                    
                                                    
                                                        7.3.6.5. DSP Builder for Intel FPGAs Design Guidelines
                                                    
                                                    
                                                
                                                    
                                                    
                                                        7.3.6.6. Generating VHDL for the DSP Builder Models for the Drive-on-Chip Designs
                                                    
                                                    
                                                
                                            
                                        7.3.2. Drive System Monitor
 The Drive-on-Chip Design Example drive system monitor is a state machine that responds to state requests from the software and fault signals from hardware. 
  
 
  Application software writes to the drive system monitor to request a change of state. The hardware may accept or decline the change of state request, depending on the system status (for example, overvoltage status, undervoltage status, and current measurements alter the system status). A subsequent read from the Status register verifies if the design accepts the change of state.
The drive system monitor latches status signals from the system so the signals are available as status register bits and direct outputs. For example, the direct outputs can drive status LEDs.