Intel® Simics® Simulator for Altera® FPGAs: Agilex™ 5 and Agilex™ 3 Virtual Platform User Guide
                    
                        ID
                        786901
                    
                
                
                    Date
                    9/29/2025
                
                
                    Public
                
            
                
                    
                        1. About This Document
                    
                    
                
                    
                        2. Agilex™ 5/ Agilex™ 3 Intel® Simics® Virtual Platforms
                    
                    
                
                    
                        3. Agilex™ 5/ Agilex™ 3 Universal Virtual Platform Component Intel® Simics® Models
                    
                    
                
                    
                        4. Running a Simulation with the Agilex™ 5/ Agilex™ 3 HPS Model
                    
                    
                
                    
                    
                        5. Supported Use Cases
                    
                
                    
                    
                        6. Troubleshooting Issues When Migrating Software from Intel® Simics® to Hardware
                    
                
                    
                    
                        A. Document Revision History for Intel Simics Simulator for Altera FPGAs Agilex™ 5/ Agilex™ 3 Virtual Platform User Guide
                    
                
            
        
                                    
                                    
                                        
                                            2.1.1. Agilex™ 5 Universal Virtual Platform Overview
                                        
                                        
                                        
                                    
                                        
                                        
                                            2.1.2. Agilex™ 3 Universal Virtual Platform Overview
                                        
                                        
                                    
                                        
                                        
                                            2.1.3. Agilex™ 5 Universal Virtual Platform User-Configurable Parameters
                                        
                                        
                                    
                                        
                                        
                                            2.1.4. Agilex™ 3 Universal Virtual Platform User-Configurable Parameters
                                        
                                        
                                    
                                        
                                            2.1.5. Universal Virtual Platforms Key Capabilities
                                        
                                        
                                        
                                    
                                
                            
                                                
                                                
                                                    
                                                    
                                                        2.1.5.1. Boot-To-Operating System Prompt
                                                    
                                                    
                                                
                                                    
                                                    
                                                        2.1.5.2. Basic Ethernet
                                                    
                                                    
                                                
                                                    
                                                    
                                                        2.1.5.3. CPU Power-On and Boot Core Selection ( Agilex™ 5 only)
                                                    
                                                    
                                                
                                                    
                                                    
                                                        2.1.5.4. Reset Flow
                                                    
                                                    
                                                
                                                    
                                                    
                                                        2.1.5.5. General Purpose I/O (GPIO) Loopback
                                                    
                                                    
                                                
                                                    
                                                    
                                                        2.1.5.6. USB Disks Hot-Plug Support
                                                    
                                                    
                                                
                                                    
                                                    
                                                        2.1.5.7. On-Chip Memory IP FPGA Fabric Example Design
                                                    
                                                    
                                                
                                                    
                                                    
                                                        2.1.5.8. FPGA-to-HPS Bridges
                                                    
                                                    
                                                
                                                    
                                                    
                                                        2.1.5.9. Exercising Peripheral Subsystem in FPGA Fabric Design
                                                    
                                                    
                                                
                                                    
                                                    
                                                        2.1.5.10. USB Controller Host/Device Mode Configuration
                                                    
                                                    
                                                
                                                    
                                                    
                                                        2.1.5.11. HPS Component and Stepping Silicon Features Selection
                                                    
                                                    
                                                
                                                    
                                                    
                                                        2.1.5.12. UART1/UART2 Serial Console Selection
                                                    
                                                    
                                                
                                            
                                        3.4.8. Intel® Simics® Text Console
The  Intel® Simics®  text console component helps in displaying text from a serial device, such as a UART interface. You can instantiate this component as a board component either as an additional serial console or to replace the default console. During the instantiation of the component, you can customize the following attributes: 
  
  | Attribute | Description | 
|---|---|
| visible | Specifies if the console must be visible upon console start-up. | 
| height | Specifies the height of the console window. | 
| width | Specifies the width of the console window. | 
| title | Specifies the console window title. | 
| fg_color | Specifies the default foreground color, either by name (blue) or on the form (#RRGGBB). | 
| bg_color | Specifies the default background color, either by name (red) or on the form (#RRGGBB). | 
| scrollback | Specifies the maximum number of scrollback lines. | 
| telnet_port | Specifies the port to open a Telnet server. It is independent on the visible attribute. The port must not be a privileged port (allowed range is [1024, 65535] or 0 for an arbitrary port). If the port cannot be opened, an arbitrary port is chosen instead. | 
Component: txt_console_comp
Instantiating a New Text Console from the Board Component
In this example, a new text console connected to serial0 connector under the HPS component is created with the specified attributes. The text console is instantiated under the board component as follows:
self.add_component( "console0",
                    "txt_console_comp",
                    [
                       ["visible", True],
                       ["fg_color", "white"],
                       ["bg_color", "blue"],
                       ["height", 30],
                       ["width", 100],
                       ["title", "My serial console"]
                    ],
)
self.get_slot("console0.con").convert_crlf = True
self.connect(self.get_slot("fpga.soc_inst.hps_subsys.agilex_hps.serial0"), self.get_slot("console0.serial"))
   
    Note:
    
  - Changes in the board component requires rebuilding the virtual platform with the make command.
- You can disable the original serial console from the target script using $create_hps_serial0_console = FALSE.