Visible to Intel only — GUID: okc1694644563562
Ixiasoft
1. About This Document
2. Agilex™ 5 E-Series Intel® Simics® Virtual Platforms
3. Agilex™ 5 E-Series Virtual Platform Component Intel® Simics® Models
4. Running a Simulation with the Agilex™ 5 E-Series HPS Model
5. Supported Use Cases
6. Troubleshooting Issues When Migrating Software from Intel® Simics® to Hardware
A. Document Revision History
2.1.3.1. Boot-To-Operating System Prompt
2.1.3.2. Basic Ethernet
2.1.3.3. CPU Power-On and Boot Core Selection
2.1.3.4. Reset Flow
2.1.3.5. General Purpose I/O (GPIO) Loopback
2.1.3.6. USB Disks Hot-Plug Support
2.1.3.7. On-Chip Memory IP FPGA Fabric Example Design
2.1.3.8. FPGA-to-HPS Bridges
2.1.3.9. Exercising Peripheral Subsystem in FPGA Fabric Design
2.1.3.10. USB Controller Host/Device Mode Configuration
2.1.3.11. B0 Silicon Features Selection
Visible to Intel only — GUID: okc1694644563562
Ixiasoft
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.