Control program, control method, and information processing device
By using the pointer holding and access processing unit in the information processing device to determine the bus access path, the problem of reduced simulation speed caused by the complexity of bus transactions in the existing technology is solved, and high-speed simulation is realized while supporting functional safety or safety requirements. Equipment operation, expanding the scope of application.
Patent Information
- Application Number
- CN202410202007.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-17
- Filing Date
- 2024-02-23
- Publication Date
- 2024-09-20
AI Technical Summary
When the existing technology implements high-speed analog bus access, the complexity of bus transactions leads to a reduction in simulation speed, and it is unable to adapt to slave device operations with functional safety or safety requirements, limiting the application scope of simulation.
By introducing a pointer holding and access processing unit into the information processing device, the bus access path is determined based on whether the pointer is held, direct access or bus access through interconnection, thereby realizing high-speed simulation and supporting functional safety or safety requirements. Operate from the device.
It improves the simulation speed, expands the application scope of bus access, can adapt to slave device operation with functional safety or safety requirements, and enhances the flexibility and efficiency of simulation.
Smart Images

Figure CN118672947A
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] The disclosure of Japanese Patent Application No. 2023-043222 filed on March 17, 2023, including the specification, drawings and abstract, is incorporated herein by reference in its entirety. Technical Field
[0003] The present disclosure relates to a control program, a control method, and an information processing device, and to a control program, a control method, and an information processing device that can realize a virtual environment, for example. Background Art
[0004] The disclosed techniques are listed below.
[0005] [Patent Document 1] Japanese Unexamined Patent Application Publication No. 2018-200495
[0006] A technique for executing software using a virtual environment and performing simulation is known. As a related technique, Patent Document 1 discloses an information processing device including a virtual environment in which an embedded program for a predetermined embedded device is executed.
[0007] In the information processing device disclosed in patent document 1, when a bus access for performing "read" or "write" on a peripheral intellectual property (IP) register occurs during the execution of a simulated embedded program, a virtual central processing unit (CPU) transmits a transaction to a virtual bus unit, which is a read or write access command including the address or size of the access destination. An access processing unit in the virtual bus unit receives the bus access and determines whether the access destination of the bus access exists in an access destination list. If the access destination exists in the access destination list, the access processing unit determines whether the access destination is a stub region. If the access destination is a stub region, the access processing unit directly accesses the stub region based on the transaction. If the access destination is not a stub region, the access processing unit transfers the transaction to the access destination. Summary of the invention
[0008] The bus topology of the system on chip (SoC) has become more and more complex year by year, and high-speed simulation of bus transactions has received attention. Generally, in a simulator including a bus topology, bus access for writing, reading or other operations is performed by sequential calls of a bus access application programming interface (API) of a bus interconnection between a bus master and a bus slave (such as b_transport of SystemC, etc.). When API access is performed from a bus master to a bus slave via an interconnection, the simulation speed decreases in proportion to the number of interconnections. In the information processing device disclosed in Patent Document 1, a higher-speed simulation is necessary.
[0009] Other objects and novel features will be apparent from the description of this specification and the accompanying drawings.
[0010] According to one embodiment, the control program according to the present disclosure is a control program that enables an information processing device to execute a control method, and the information processing device includes a virtual environment for executing a simulated target program. The virtual environment includes a bus master, an interconnection, and a bus slave connected to the bus master via the interconnection. The control method includes an access processing step and an operation execution step. In the access processing step, the bus master performs bus access to the bus slave in different paths according to whether a pointer for performing bus access from the bus master to the bus slave is held in a holding unit. In the operation execution step, when triggered by a bus access from the bus master, the bus slave performs a predetermined operation. In the access processing step, if the pointer is held, the bus master directly performs bus access to the bus slave according to the pointer, or if the pointer is not held, performs bus access to the bus slave via the interconnection.
[0011] According to one embodiment, the control method according to the present disclosure is a control method performed by an information processing device including a virtual environment for executing a simulated target program. The virtual environment includes a bus master, an interconnection, and a bus slave connected to the bus master via the interconnection. The control method includes an access processing step and an operation execution step. In the access processing step, the bus master performs bus access to the bus slave in different paths according to whether a pointer for performing bus access from the bus master to the bus slave is held in a holding unit. In the operation execution step, when triggered by a bus access from the bus master, the bus slave performs a predetermined operation. In the access processing step, if the pointer is held, the bus master directly performs bus access to the bus slave according to the pointer, or if the pointer is not held, performs bus access to the bus slave via the interconnection.
[0012] According to one embodiment, an information processing device according to the present disclosure is an information processing device including a virtual environment for executing a simulated target program. The virtual environment includes a bus master, an interconnect, and a bus slave connected to the bus master via the interconnect. The bus master includes a holding unit and an access processing unit. The holding unit holds a pointer for performing bus access from the bus master to the bus slave. The access processing unit performs bus access to the bus slave in different paths depending on whether the pointer is held in the holding unit. The bus slave includes an operation execution unit for performing a predetermined operation when triggered by a bus access from the bus master. If the pointer is held, the access processing unit directly performs bus access to the bus slave according to the pointer, or if the pointer is not held, performs bus access to the bus slave via the interconnect.
[0013] According to one embodiment, a control program, a control method, and an information processing apparatus capable of appropriately performing high-speed simulation can be provided. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 is a block diagram illustrating the configuration of an information processing apparatus according to the first embodiment.
[0015] Figure 2 is a diagram schematically illustrating a virtual environment according to the first embodiment.
[0016] Figure 3 is a diagram schematically illustrating bus access processing according to the first embodiment.
[0017] Figure 4 is a diagram schematically illustrating bus access processing according to the first embodiment.
[0018] Figure 5 is a flowchart for explaining the flow of bus access processing according to the first embodiment.
[0019] Figure 6 is a block diagram for explaining the hardware configuration of an information processing apparatus according to the second embodiment.
[0020] Figure 7 is a block diagram for explaining a software configuration according to the second embodiment.
[0021] Figure 8 It is schematically shown Figure 7 Diagram of the data flow in a software configuration.
[0022] Fig. 9 is a flowchart for explaining the flow of bus access processing according to the second embodiment.
[0023] Fig.10 is a block diagram for explaining a software configuration according to the third embodiment.
[0024] Fig.11 It is schematically shown Fig.10 Diagram of the data flow in a software configuration.
[0025] Fig.12 is a flowchart for explaining the flow of bus access processing according to the third embodiment.
[0026] Fig.13 is a block diagram for explaining a software configuration according to the fourth embodiment.
[0027] Fig.14 It is schematically shown Fig.13 Diagram of the data flow in a software configuration.
[0028] Fig.15 : is a flowchart for explaining the flow of a process for acquiring a routing pointer for performing a bus access from a bus master to a guard according to the fourth embodiment.
[0029] Fig.16 is a flowchart for explaining the flow of bus access processing according to the fourth embodiment.
[0030] Fig.17 is a diagram illustrating a virtual environment including a plurality of first interconnections according to a fourth embodiment. DETAILED DESCRIPTION
[0031] In order to solve the above problem, it is considered to adopt a method (such as DMI access of SystemC) that enables the bus master device to directly read values from the pointer of the memory of the bus slave device and write values to it during bus access to perform high-speed simulation. If such a method is adopted, the bus master device can directly access the bus slave device without going through the interconnection, thereby achieving a higher-speed simulation.
[0032] However, such methods can be used for bus slave devices that are configured to perform reads or writes (such as read-only memory (ROM) or random access memory (RAM)), but cannot be used for bus slave devices that are configured to perform slave operations other than reads or writes in response to accesses from a bus master.
[0033] For example, suppose that the bus slave device is a timer. In this case, the bus master performs a bus access to the timer and requests a storage area of the timer to activate the timer. The timer performs a timer operation in response to a request from the bus master. Therefore, the above method that can be used for a bus slave device configured to perform read or write cannot be used for a bus slave device configured to perform other operations other than read or write, such as a timer.
[0034] In addition, in recent years, in many cases, slave device operations for functional safety (FuSa) or security are also installed on ROM or RAM. ROM or RAM that is not used for FuSa or Security is used as a bus slave device in fewer cases. Therefore, the scope of use of the above method is narrowed. In recent years, it has been difficult to achieve higher speed simulation using the above method. Therefore, this leads to a reduction in simulation speed.
[0035] For the sake of clarity, the following description and drawings are appropriately omitted and simplified. Each element in the functional blocks illustrated in the drawings as performing various types of processing can be configured in hardware by a CPU, a memory or other circuit, or implemented by executing a program stored in a memory by a CPU in software. Therefore, it should be understood by those skilled in the art that the functional blocks can be implemented in various forms only by hardware, only by software or a combination thereof, and are not limited to any one form. In the drawings, the same elements are represented by the same reference numerals, respectively, and their descriptions are not repeated as needed.
[0036] The program may be stored in various types of non-transitory computer-readable media or tangible storage media. Computer-readable media or tangible storage media may include, for example, RAM, ROM, flash memory, solid-state drive (SSD), other storage technologies, CD-ROM, digital versatile disk (DVD), Blu-ray (registered trademark) disk, other optical disk storage, cassettes, magnetic tape, magnetic disk storage and other magnetic storage devices, but are not limited thereto. The program may be transmitted on various types of temporary computer-readable media or communication media. Transient computer-readable media or communication media include, for example, electrical, optical, acoustic and other forms of propagation signals, but are not limited thereto.
[0037] First embodiment
[0038] (Configuration of Information Processing Device 1000)
[0039] First, refer to Figure 1 A first embodiment is described. Figure 1 1 is a block diagram illustrating a configuration of an information processing apparatus 1000 according to the present embodiment. The information processing apparatus 1000 includes a virtual environment V1 for executing a simulation target program. The information processing apparatus 1000 can realize the virtual environment V1 on a memory by executing a control program according to the present embodiment.
[0040] Virtual environment V1 includes bus master 101, interconnect 102, and bus slave 103 connected to bus master 101 via interconnect 102. Bus slave 103 includes operation execution section 1030 configured to execute a predetermined operation when triggered by a bus access from bus master 101.
[0041] The bus master 101 includes a pointer holding section 1010 and an access processing section 1011. The pointer holding section 1010 holds a pointer for performing bus access from the bus master 101 to the bus slave 103.
[0042] The access processing section 1011 performs bus access to the bus slave 103 in different paths depending on whether the pointer is held in the pointer holding section 1010. The access processing section 1011 causes the bus slave 103 to perform a predetermined operation. Then, if the pointer is held in the pointer holding section 1010, the access processing section 1011 directly performs bus access to the bus slave 103 according to the pointer, or performs bus access to the bus slave 103 via the interconnect 102 if the pointer is not held.
[0043] This article will refer to Figure 2 Describes the virtual environment V1. Figure 2 , and 102-5, and a bus slave 103 connected to the bus master 101 via the interconnections. The interconnections 102-1, 102-2, ..., and 102-5 may be simply referred to as interconnections 102 hereinafter.
[0044] The greater the number of interconnects 102, the longer it takes for bus access from bus master 101 to bus slave 103. For example, when simulation is performed at the time of program development, the time taken for simulation may be long depending on the number or configuration of interconnects 102, and it may be difficult to perform simulation efficiently.
[0045] Figure 3 and Figure 4 101 and 102 are diagrams each schematically illustrating a bus access process according to the present embodiment. It should be noted that only one interconnect 102 is illustrated in the drawings. Symbols "ts1" and "ts2" shown in the drawings represent pointers for performing bus access from the bus master 101 to the bus slave 103.
[0046] Figure 3 The process F1 executed when the bus access API of the interconnection 102 between the bus master 101 and the bus slave 103 is sequentially called is illustrated. Figure 4 There is illustrated a process F2 which is performed when the bus master 101 directly performs bus access to the bus slave 103 according to the pointer.
[0047] If the pointer is not held in the pointer holding section 1010, the access processing section 1011 in the bus master 101 performs bus access to the bus slave 103 via the interconnect 102. When triggered by the bus access from the access processing section 1011, the operation execution section 1030 in the bus slave 103 performs a predetermined operation.
[0048] If the pointer is held in the pointer holding unit 1010, the access processing unit 1011 directly performs bus access to the bus slave 103 according to the pointer. The operation execution unit 1030 in the bus slave 103 activates a timer to follow a command indicated in, for example, code 1031 or 1032 when triggered by a bus access from the bus master 101.
[0049] In this way, if the pointer is held, the access processing section 1011 can perform high-speed simulation. The bus slave 103 can perform a predetermined operation when triggered by a bus access from the bus master 101, so a dedicated bus slave for FuSa or security can be used for simulation.
[0050] (Bus access process flow)
[0051] Reference will be made later Figure 5 The bus access processing according to the present embodiment is described. Figure 5 : is a flowchart for explaining the flow of bus access processing according to the present embodiment.
[0052] First, assume that a bus access is performed from the bus master 101 to the bus slave 103 during the simulation using the simulation target program. The access processing section 1011 in the bus master 101 refers to the pointer holding section 1010 and determines whether a pointer to a relevant address is held in the pointer holding section 1010 (S1).
[0053] If it is determined that the pointer of the relevant address is held (Yes in S1 ), the access processing section 1011 directly performs bus access to the bus slave 103 by using the pointer ( S4 ).
[0054] If it is determined that the pointer of the relevant address is not held (No in S1), the access processing section 1011 performs a bus access to the bus slave 103 via the interconnection (S2). The access processing section 1011 causes the bus slave 103 to perform a predetermined operation (S3). When triggered by the bus access from the bus master 101, the operation execution section 1030 in the bus slave 103 performs a predetermined operation.
[0055] As described above, in the virtual environment V1 implemented by the information processing apparatus 1000 according to the present embodiment, the access processing section 1011 performs bus access to the bus slave 103 in different paths depending on whether the pointer is held in the pointer holding section 1010. If the pointer is held, the access processing section 1011 directly performs bus access to the bus slave 103 according to the pointer, or if the pointer is not held, performs bus access to the bus slave 103 via the interconnect 102. In this way, the information processing apparatus 1000 according to the present embodiment can appropriately perform high-speed simulation.
[0056] Second embodiment
[0057] The second embodiment will be described later. The second embodiment is a specific example of the first embodiment.
[0058] (Configuration of Information Processing Device 100)
[0059] First, refer to Figure 6 The information processing apparatus 100 according to the present embodiment is described. Figure 6 1 is a block diagram for explaining the hardware configuration of the information processing apparatus 100. The information processing apparatus 100 is an example of an information processing apparatus 1000. The information processing apparatus 100 includes a virtual environment for executing a simulation target program.
[0060] The information processing device 100 is an example of a computer system that realizes a virtual environment of a microcomputer (not shown), for example. The information processing device 100 is connected to a display device 200 and an input device 300 .
[0061] The display device 200 performs screen display in response to an instruction from the information processing device 100. The input device 300 inputs a user instruction to the information processing device 100. The input device 300 is, for example, a keyboard that receives character information input from a user, a mouse that specifies any position on the screen of the display device 200 and receives an instruction input according to an icon displayed at the position, etc. However, the device to be connected to the information processing device 100 is not limited thereto.
[0062] The information processing apparatus 100 includes a CPU 110, a main memory 120, and a hard disk 130. The CPU 110 is a control device that reads and executes a predetermined program. The main memory 120 is a volatile storage device such as a RAM. The hard disk 130 is a non-volatile storage device. The hard disk 130 stores therein an operating system (OS) 131, a virtual environment program (control program) 132, simulation data 133, a target program 135, and the like.
[0063] OS131 is basic software for operating the information processing device 100. The virtual environment program 132 is software for implementing a microcomputer as an embedded device in software form to simulate the execution of a target program 135 on this microcomputer. The virtual environment program 132 enables an information processing device including a virtual environment for executing a simulated target program to execute a control method. The virtual environment includes a bus master, an interconnection, and a bus slave connected to the bus master via the interconnection. The control method includes an access processing step of causing the bus master to perform a bus access to a bus slave in a different path according to whether a pointer for performing a bus access from the bus master to the bus slave is held in a holding unit. The control method also includes an operation execution step of causing the bus slave to perform a predetermined operation when triggered by a bus access from the bus master. In the access processing step, if the pointer is held, the bus master directly performs a bus access to the bus slave according to the pointer. Alternatively, in the access processing step, if the pointer is not held, the bus master performs a bus access to the bus slave via the interconnection.
[0064] The simulation data 133 is various types of data used for simulation. The simulation data 133 may include, for example, programs that implement various functions of the simulator and information of the simulation target device. The target program 135 is a simulation target program. The target program 135 may be, for example, software developed to be executed on a predetermined embedded device. The target program 135 is executed by the virtual environment program 132 for debugging, etc.
[0065] The CPU 110 described here loads the OS 131, the virtual environment program 132, the simulation data 133, and the target program 135 stored in the hard disk 130 onto the main memory 120. The CPU 110 then executes the OS 131 and the virtual environment program 132 that have been loaded onto the main memory 120. The CPU 110 executes the target program 135 by executing the virtual environment program 132. Therefore, the information processing apparatus 100 can be regarded as including a virtual environment for executing the target program 135.
[0066] (Software Configuration)
[0067] Reference will be made later Figure 7 and Figure 8 The software configuration according to the present embodiment is described. Figure 7 is a block diagram for explaining the software configuration according to the present embodiment. Figure 8 It is schematically shown Figure 7 It should be noted that Figure 8 The unidirectional arrows in the figure simply indicate the flow of information (data, signals, etc.) and are not intended to eliminate the bidirectional nature of information. This also applies to the following figures. Figure 8Only the bus 2 is illustrated as an example of interconnection, but the number and type of interconnections are not limited thereto.
[0068] Figure 7 It is illustrated that the virtual environment program 132 operates on the OS 131 , and the target program 135 operates on the virtual environment program 132 .
[0069] The virtual environment program 132 is an example of a program for realizing the virtual environment V2 according to the present embodiment. As shown in the figure, the virtual environment V2 includes a bus master 1, a bus 2, and a peripheral IP unit 1320. By executing the virtual environment program 132, the bus master 1, the bus 2, and the peripheral IP unit 1320 are virtually realized on the main memory 120. The bus master 1, the bus 2, and the peripheral IP unit 1320 are defined as classes, for example, and are realized when they are instantiated when the virtual environment program 132 is executed.
[0070] like Figure 8 As shown, the virtual environment V2 includes a bus master 1 and a bus slave 3 connected to the bus master 1 via a bus 2. Bus 2 will be used as an example of interconnection for description herein.
[0071] The bus master 1 is an example of the bus master 101. The bus master 1 includes a pointer request section 10, a pointer holding section 11, and an access processing section 12. The bus master 1 is, for example, a CPU, a direct memory access (DMA) controller, etc., but is not limited thereto.
[0072] The pointer request section 10 functions as a pointer acquisition section configured to acquire a pointer via the bus 2. If the pointer is not held in the pointer holding section 11, the pointer request section 10 acquires the pointer from the bus slave 3 via the bus 2. Specifically, the pointer request section 10 outputs a pointer request for requesting notification of the pointer to the bus slave 3. The pointer request section 10 causes the pointer holding section 11 to hold the acquired pointer.
[0073] The pointer holding section 11 is an example of the pointer holding section 1010. The pointer holding section 11 holds a pointer for performing bus access from the bus master 1 to the bus slave 3.
[0074] The access processing section 12 is an example of the access processing section 1011. The access processing section 12 performs bus access to the bus slave 3 in a different path according to whether a pointer is held in the pointer holding section 11. The access processing section 12 causes the bus slave 3 to perform a predetermined operation.
[0075] If the pointer is held in the pointer holding unit 11, the access processing unit 12 directly performs bus access to the bus slave 3 according to the pointer. Figure 8, the flow of bus access is indicated by arrow A1. If the pointer is not held in the pointer holding section 11, the access processing section 12 performs bus access to the bus slave 3 via the bus 2. Specifically, the access processing section 12 outputs an access request to the bus slave 3 to the access transmission section 21, and performs the access request to the bus slave 3 via the access transmission section 21.
[0076] The bus 2 is an example of interconnection. The bus 2 includes a pointer transmission section 20 and an access transmission section 21.
[0077] The pointer transfer unit 20 transfers data about the pointer between the bus master 1 and the bus slave 3. For example, the pointer transfer unit 20 transfers a pointer request received from the bus master 1 to the bus slave 3. The pointer transfer unit 20 transfers a pointer notified from the bus slave 3 to the pointer request unit 10.
[0078] The access transmission section 21 transmits data on bus access between the bus master 1 and the bus slave 3. For example, the access transmission section 21 transmits an access request received from the bus master 1 to the bus slave 3.
[0079] The peripheral IP unit 1320 includes a bus slave 3. The bus slave 3 is an example of the bus slave 103. The bus slave 3 has a function of performing a predetermined operation when triggered by a bus access from the bus master 1. The bus slave 3 may have a function corresponding to, for example, a register. In such a case, the bus slave 3 is configured so that a register that was originally hardware is implemented in software. The bus slave is not limited to a register, and other IPs may also be used as the bus slave 3.
[0080] The bus slave 3 includes a pointer notification section 30, a processing information holding section 31, and an operation execution section 32. The pointer notification section 30 notifies the bus master 1 of a pointer via the bus 2 in response to a pointer request output from the bus master 1.
[0081] The processing information holding section 31 holds processing information related to the processing of the operation execution section 32. For example, the processing information holding section 31 may simply have a read or write function as described above. For example, when writing is performed from the access processing section 12 to the operation execution section 32, the processing information holding section 31 holds the written value. The processing information may be used in response to a request from the bus master 1. For example, the access processing section 12 in the bus master 1 acquires the processing information held in the processing information holding section 31, and determines whether a predetermined operation has been performed in the operation execution section 32.
[0082] The operation execution section 32 is an example of the operation execution section 1030. The operation execution section 32 executes a predetermined operation when triggered by a bus access from the bus master 1. The operation execution section 32 has a function corresponding to, for example, an API.
[0083] The predetermined operation means an operation executed by the operation execution section 32 when triggered by a bus access from the bus master 1. The operation execution section 32 executes the predetermined operation when receiving the bus access directly from the bus master 1 and when receiving the bus access from the bus master 1 via the bus 2. The predetermined operation is, for example, activation of a timer, A / D conversion, etc., but is not limited thereto.
[0084] For example, a read or write process in a memory or the like having only a read or write function to which the above method is applicable is not included in the predetermined operation triggered by the bus access from the bus master 1. For example, in the above-mentioned processing information example, the operation execution section 32 reads the processing information held in the processing information holding section 31 in response to a request from the access processing section 12, and returns it to the operation execution section 32. However, a simple read operation or the like is not included in the predetermined operation triggered by the bus access from the bus master 1.
[0085] (Bus access process flow)
[0086] Reference will be made later Fig. 9 The bus access processing according to the present embodiment is described. Fig. 9 : is a flowchart for explaining the flow of bus access processing according to the present embodiment.
[0087] First, it is assumed that a bus access is performed from the bus master 1 to the bus slave 3 during the simulation execution of the target program 135. The access processing section 12 in the bus master 1 refers to the pointer holding section 11 and determines whether a pointer of a relevant address is held (S11). The pointer is information for calling an API corresponding to the operation execution section 32 in the bus slave 3.
[0088] If it is determined that the pointer of the relevant address is held (Yes in S11), the access processing section 12 directly performs bus access to the operation execution section 32 in the bus slave device 3 by using the pointer (S21). In this way, the operation execution section 32 executes the operation (S19). The operation execution section 32 reads data from the processing information holding section 31 or writes data to the processing information holding section 31, and causes the processing information holding section 31 to hold the processing information (S20). The processing information is, for example, a written value corresponding to the operation of the operation execution section 32. The processing information holding section 31 holds the processing information in the storage area.
[0089] If it is determined in step S11 that the pointer of the relevant address is not held (No in S11), the pointer request section 10 in the bus master 1 outputs a pointer request to the bus slave 3 (S12). In this way, the pointer request section 10 requests the bus slave 3 to issue a pointer notification.
[0090] The pointer transmission section 20 in the bus 2 transmits the pointer request (S13). The pointer notification section 30 in the bus slave device 3 issues a pointer notification in response to the pointer request (S14). The pointer transmission section 20 transmits the notified pointer to the pointer request section 10 (S15). In this way, the pointer request section 10 can obtain the pointer from the bus slave device 3 via the bus 2.
[0091] The pointer requesting section 10 causes the pointer holding section 11 to hold the acquired pointer (S16). In this way, at the next bus access, the access processing section 12 can directly perform bus access to the operation executing section 32 while referencing the pointer holding section 11.
[0092] The access processing section 12 performs bus access to the bus slave 3 via the bus 2 (S17). The access processing section 12 outputs an access request to the bus slave 3 to the access transmitting section 21. In this way, the access processing section 12 requests bus access to the bus slave 3. The access transmitting section 21 transmits the access request (S18).
[0093] The operation execution unit 32 receives the access request and executes the operation (S19). The operation execution unit 32 causes the processing information storage unit 31 to store a value related to the execution of the operation (S20).
[0094] The above processing sequence is illustrated by way of example. The processing sequence may be changed as required. For example, in the above description, in the case of no in step S11, a pointer is requested and maintained in steps S12 to S16, while bus access to the bus slave device 3 and retention of the value are performed in steps S17 to S20. However, the processing in steps S17 to S20 may be performed first, and then the processing in steps S12 to S16 may be performed later.
[0095] As described above, in the processing performed by the virtual environment program 132 according to the present embodiment, the bus slave 3 in the virtual environment V2 includes an operation execution unit 32, which is configured to execute a predetermined operation in response to a bus access from the bus master 1. The bus master 1 includes a pointer holding unit 11 and an access processing unit 12, the pointer holding unit 11 is configured to hold a pointer for performing bus access to the bus slave 3, and the access processing unit 12 is configured to perform bus access to the bus slave 3 in different paths according to whether the pointer is held in the pointer holding unit 11.
[0096] If the pointer is held in the pointer holding section 11, the access processing section 12 directly performs bus access to the bus slave 3 according to the pointer, or if the pointer is not held, performs bus access to the bus slave 3 via the bus 2. If the pointer is not held, the pointer request section 10 acquires the pointer from the bus slave 3 via the bus 2.
[0097] In this way, at the first bus access after the simulation starts, the bus master 1 acquires a pointer for calling the API corresponding to the operation executing section 32 while performing bus access to the bus slave 3 via the bus 2. In this way, at the next and subsequent bus accesses, the bus master 1 can directly call the API of the operation executing section 32 while using the pointer to perform bus access.
[0098] In this way, even if there are a plurality of interconnections, bus access at the time of the second and subsequent bus accesses can be performed during one API call time without losing the slave operation, regardless of the number of interconnections. In this way, the information processing apparatus 100 according to the present embodiment can appropriately implement high-speed bus access simulation without losing the slave operation while maintaining a bus configuration similar to that in hardware.
[0099] Third embodiment
[0100] The third embodiment will be described later. The third embodiment is a modified example of the second embodiment. In the virtual environment V2 according to the second embodiment, bus access in the first simulation is performed via the bus 2 as an interconnection, and bus access in the second and subsequent simulations is performed directly without passing through the bus 2. In the virtual environment V3 according to the present embodiment, it is possible to select whether to route via the interconnection in the second and subsequent simulations.
[0101] The following will mainly describe the differences from the second embodiment, and the overlapping points with the second embodiment will be omitted as necessary. The configuration of the information processing device 100a according to the present embodiment is almost similar to the configuration of the information processing device 100 according to the second embodiment (see Figure 6 The hard disk 130 in the information processing apparatus 100a includes a virtual environment program 132a instead of the virtual environment program 132. The information processing apparatus 100a executes the virtual environment program 132a to realize the virtual environment V3.
[0102] (Software Configuration)
[0103] refer to Fig.10 and Fig.11 , the software configuration according to the present embodiment will be described. Fig.10 is a block diagram for explaining the software configuration according to the present embodiment. Fig.11It is schematically shown Fig.10 Diagram of the data flow in a software configuration.
[0104] like Fig.10 As shown, in addition to the virtual environment program 132 according to the second embodiment, the virtual environment program 132a according to the present embodiment further includes a level selection unit 4 (see Figure 7 ). The level selection section 4 is connected to the pointer request section 10. The level selection section 4 selects a simulation level from a plurality of simulation levels having different simulation speeds.
[0105] The simulation level is information indicating whether the priority of the simulation is speed or accuracy. The simulation level is indicated, for example, in two steps, such as "high speed" that prioritizes speed and "high accuracy" that prioritizes accuracy. The simulation levels in the two steps correspond to the paths of bus access from the bus master 1 to the bus slave 3, respectively.
[0106] The level selection section 4 selects the simulation level in response to, for example, a user input via the input device 300. Alternatively, the level selection section 4 switches the simulation level in response to the user input. The level selection section 4 outputs the selected simulation level to the pointer request section 10 in the bus master 1. The pointer request section 10 stores the selected simulation level in a storage section (not shown). The access processing section 12a in the bus master 1 acquires the selected simulation level from the storage section.
[0107] The access processing section 12a performs bus access to the bus slave 3 in a path corresponding to the level selected in the level selection section 4. If the speed priority simulation level is selected in the level selection section 4, the access processing section 12a directly performs bus access to the bus slave 3. Alternatively, if a simulation level other than the speed priority simulation level is selected therein, the access processing section 12a performs bus access to the bus slave 3 via the bus 2. The simulation level other than the speed priority simulation level is, for example, the accuracy priority simulation level.
[0108] Assume that the simulation level is, for example, "high speed". The access processing section 12a directly performs bus access from the bus master 1 to the bus slave 3 without passing through the bus 2. Fig.11 , the path for direct access to the bus slave device 3 is indicated by arrow A1.
[0109] For example, assuming that the simulation level is "high accuracy", the access processing section 12a performs bus access to the bus slave 3 via the bus 2. In this case, similarly to the access processing section 21 according to the second embodiment, the access processing section 12a performs bus access to the bus slave 3 via the access transmission section 12 in the bus 2.
[0110] As described above, the access processing section 12a selects a different path according to the selected simulation level, and performs bus access to the bus slave 3 in the path. In this way, the information processing apparatus 100a can perform speed priority or accuracy priority simulation.
[0111] It should be noted that Fig.10 and Fig.11 The example of FIG. 1 shows, for example, one bus master 1 and one bus slave 3. However, in a real environment, multiple bus masters may perform bus access to one bus slave. In such a case, a low-priority bus master waits until the bus access from a high-priority bus master ends to avoid conflicts between bus accesses. Therefore, a waiting time occurs until the wait state is eliminated.
[0112] In such cases, although the program execution results can be simulated, the time taken to execute the program cannot be correctly simulated. For example, even if the program execution results are confirmed to be correct, the execution time may not meet the performance target. Therefore, in such cases, users preferably perform accuracy-first simulations.
[0113] (Bus access process flow)
[0114] Reference will be made later Fig.12 The bus access processing according to the present embodiment is described. Fig.12 1 is a flowchart for explaining the process of bus access processing according to the present embodiment. It should be noted that the processing required to obtain the pointer at the first simulation and other times is similar to that of reference 1. Fig. 9 The process of the second embodiment described herein will be described assuming the second and subsequent simulations.
[0115] First, the level selection section 4 determines whether the simulation level has been selected (S31). If it is determined that the simulation level has been selected (Yes in S31), the level selection section 4 determines whether the selected simulation level is "high speed" or "high accuracy" (S32). If it is determined that the simulation level is "high speed" ("high speed" in S32), the access processing section 12a directly performs bus access to the bus slave device 3 without passing through the bus 2 (S33).
[0116] If it is determined that the simulation level is "high accuracy" ("high accuracy" in S32) or the simulation level is not selected ("No" in S31), the access processing section 12a performs bus access to the bus slave 3 via the bus 2 (S34).
[0117] It should be noted that the second and subsequent simulations are assumed herein. However, the level selection section 4 may select "high speed" at the time of the first simulation. In this case, when the processing of acquiring the pointer can be performed similarly to the second embodiment, the access processing section 12a may directly perform bus access to the bus slave device 3 even at the time of the first simulation.
[0118] As described above, in the process executed by the virtual environment program 132a according to the present embodiment, the level selection section 4 selects the simulation level in the virtual environment V3. The access processing section 12a in the bus master 1 accesses the bus slave 3 in the path corresponding to the selected simulation level.
[0119] As described above, since the level selection unit 4 is added, both the speed priority simulation and the accuracy priority simulation can be realized by this configuration without newly creating a simulator. In particular, there are many demands for dynamic switching between the speed priority and the accuracy priority simulation using Python I / F, etc. Specifically, for example, during a less important simulation period such as Linux (trademark) boot, the simulation is performed while giving priority to speed, and it can be switched to the accuracy priority simulation after reaching the point of user concern. In this way, efficient simulation can be performed.
[0120] Fourth embodiment
[0121] The fourth embodiment will be described later. The fourth embodiment is a modified example of the third embodiment. The virtual environment V3 according to the third embodiment enables bus access using corresponding two-step routing according to the selected simulation level. In the third embodiment, it is necessary to select a simulation method from the methods of speed priority simulation excluding all interconnections or accuracy priority simulation including all interconnections and being completely opposite to each other.
[0122] In recent years, the demand for simulation for FuSa or security has increased. This embodiment enables high-speed simulation of bus access involving arbitrary IPs by providing a pointer notification section, a pointer request section, and a pointer holding section for the simulation target IP.
[0123] The following will mainly describe the differences from the second and third embodiments, and the overlapping points with them will be omitted as necessary. The configuration of the information processing device 100b according to the present embodiment is almost similar to the configuration of the information processing device 100 according to the second embodiment (see Figure 6 ), and therefore will not be described. The hard disk 130 in the information processing apparatus 100b includes a virtual environment program 132b instead of the virtual environment program 132. The information processing apparatus 100b implements the virtual environment V4 by executing the virtual environment program 132b. The virtual environment V4 includes a plurality of interconnections.
[0124] (Software Configuration)
[0125] Will refer to Fig.13 and Fig.14 The software configuration according to the present embodiment is described. Fig.13 is a block diagram for explaining the software configuration according to the present embodiment. Fig.14 It is schematically shown Fig.13 Diagram of the data flow in a software configuration.
[0126] like Fig.14 As shown, virtual environment V4 includes a plurality of interconnections, which include a first interconnection to be routed and a second interconnection not to be routed in a bus access from bus master 1 to bus slave 3. The first interconnection is a path target interconnection in the bus access, and the second interconnection is not a path target interconnection in the bus access. In a bus access from bus master 1 to bus slave 3, data output from bus master 1 reaches bus slave 3 via the first interconnection. In this bus access, data output from bus master 1 reaches bus slave 3 without passing through the second interconnection. This article will be described under the assumption that the first interconnection is guard 5 and the second interconnection is bus 2.
[0127] like Fig.13 As shown, the virtual environment program 132b according to the present embodiment includes a peripheral IP unit 1320a corresponding to the peripheral IP unit 1320 of the virtual environment program 132a according to the third embodiment (see Fig.10 ). The peripheral IP section 1320a includes a guard 5 in addition to the bus slave 3. The guard 5 is an example of an interconnect having a function of limiting bus access from the bus master 1 to the bus slave 3.
[0128] The guard 5 includes a pointer notification unit 50, a pointer request unit 51, a pointer holding unit 52 and an operation execution unit 53. The pointer notification unit 50 issues a notification of a routing pointer in response to a routing pointer request from the pointer request unit 10a. The routing pointer is information for calling an API corresponding to the operation execution unit 53 in the guard 5.
[0129] The pointer request section 51 outputs a pointer request to the pointer notification section 30 in the bus slave 3. In this way, the pointer request section 51 requests notification of a pointer from the bus slave 3. The pointer request section 51 causes the pointer holding section 52 to hold the pointer acquired from the pointer notification section 30.
[0130] The pointer holding section 52 holds the pointer acquired in the pointer requesting section 51. The operation executing section 53 accesses the operation executing section 32 in the bus slave 3. In this way, the operation executing section 53 performs simulation without losing the slave operation of the necessary IP.
[0131] The level selection unit 4a can not only select the speed priority simulation and the accuracy priority simulation level, but also select a predetermined simulation level other than these simulation levels. As a predetermined simulation level, the level selection unit 4a also selects a simulation level for functional safety. For example, the level selection unit 4a is configured to select the simulation level "FuSa" for FuSa in addition to "high speed". The simulation level "FuSa" is a functional safety priority simulation level. For example, compared with selecting the simulation level "high speed", when the simulation level "FuSa" is selected, the simulation is performed by accessing the bus via more interconnections. Therefore, in this case, a simulation that does not prioritize speed but prioritizes functional safety can be performed. And, compared with selecting the simulation level "high accuracy", when the simulation level "FuSa" is selected, the simulation is performed by accessing the bus via fewer interconnections. Therefore, this situation can achieve a higher speed simulation than the case of the simulation level "high accuracy". In this embodiment, three-step simulation levels can be set, namely "high speed", "high accuracy" and "FuSa". The simulation level of more steps can be set according to the selection of the interconnection to be routed.
[0132] If the routing pointer is not held in the pointer holding section 11, the pointer request section 10a in the bus master 1 also functions as a routing pointer acquisition section configured to acquire a routing pointer from the guard 5. If it is determined that the routing pointer of the relevant address is not held, a routing pointer request is output to the guard 5. In this way, the pointer request section 10a requests notification of the routing pointer to the guard 5. The pointer request section 10a causes the pointer holding section 11 to hold the routing pointer acquired from the guard 5.
[0133] The access processing unit 12b performs bus access to the bus slave 3 through a different path depending on whether the routing pointer for performing bus access from the bus master 1 to the guard 5 is held in the pointer holding unit 11. The access processing unit 12b obtains the simulation level output from the level selection unit 4a via the pointer request unit 10a and the storage unit (not shown).
[0134] If the pointer and the routing pointer are held in the pointer holding section 11, the access processing section 12b performs bus access to the bus slave 3 in a path corresponding to the simulation level selected by the level selection section 4a. For example, if the routing pointer is held when the simulation level is "FuSa", the access processing section 12b directly performs bus access to the operation execution section 53. The operation execution section 53 performs bus access to the operation execution section 32. In this way, the access processing section 12b performs bus access to the bus slave 3 only via the guard 5 and not via the bus 2. Fig.14 The arrow A2 in FIG. 1 indicates the path of bus access.
[0135] If the speed priority simulation level “high speed” is selected in the level selection section 4 a , the access processing section 12 b directly performs bus access to the bus slave 3 . Fig.14 The arrow A1 in FIG. 1 indicates the path of bus access.
[0136] The pointer holding section 11 in the bus master 1 also holds a routing pointer for performing bus access from the bus master 1 to the guard 5. The level selection section 4a also selects a simulation level for functional safety. If the pointer and the routing pointer are held in the pointer holding section 11, the access processing section 12b performs bus access to the bus slave 3 in a path corresponding to the selected simulation level.
[0137] Reference will be made later Fig.15 and Fig.16 The bus access processing according to the present embodiment is described. Fig.15 1 is a flowchart for explaining the processing flow of acquiring a routing pointer for performing a bus access from the bus master 1 to the guard 5 according to the present embodiment. Fig.16 1 is a flowchart for explaining the flow of bus access processing according to the present embodiment. It should be noted that the processing of obtaining a pointer for performing bus access directly from the bus master 1 to the bus slave 3 is similar to that of the reference 1. Fig. 9 The processing of the second embodiment is described.
[0138] (Processing flow for obtaining routing pointers)
[0139] First, refer to Fig.15 Description of the flow of the process of acquiring a routing pointer. This article will describe the process of acquiring a routing pointer for performing a bus access from the bus master 1 to the guard 5.
[0140] First, assume that a bus access from the bus master 1 to the bus slave 3 is performed during the simulation execution of the target program 135. The access processing section 12b in the bus master 1 refers to the pointer holding section 11 and determines whether a routing pointer for performing bus access from the bus master 1 to the guard 5 is held (S41). The routing pointer is information for calling an API corresponding to the operation execution section 53 in the guard 5.
[0141] If it is determined that the routing pointer of the relevant address is maintained ("Yes" in S41), the processing ends. If it is determined that the routing pointer of the relevant address is not maintained (No in S41), the pointer request section 10a in the bus master 1 outputs a routing pointer request to the guard 5 (S42). In this way, the pointer request section 10a requests the guard 5 for notification of the routing pointer.
[0142] The pointer transmission section 20 in the bus 2 transmits the routing pointer request (S43). In response to the routing pointer request, the pointer notification section 50 in the guard 5 issues a notification of the routing pointer (S44). The pointer transmission section 20 transmits the notified routing pointer to the pointer request section 10a (S45). In this way, the pointer request section 10a can obtain the routing pointer from the guard 5 via the bus 2.
[0143] The pointer requesting section 10a causes the pointer holding section 11 to hold the acquired routing pointer (S46). In this way, the access processing section 12b can directly perform bus access to the operation executing section 53 by referring to the pointer holding section 11.
[0144] Subsequently, the pointer request section 51 in the guard 5 outputs a pointer request to the pointer notification section 30 in the bus slave 3 (S47). In this way, the pointer request section 51 requests notification of a pointer from the bus slave 3. The pointer request section 51 causes the pointer holding section 52 to hold the pointer acquired from the pointer notification section 30 (S48). It should be noted that the above-mentioned processing order is an example and can be changed as needed.
[0145] (Bus access process flow)
[0146] Reference will be made later Fig.16 The process of bus access processing according to the present embodiment is described. First, the level selection unit 4a determines whether the simulation level has been selected (S51). If it is determined that the simulation level has been selected (Yes in S51), the level selection unit 4a determines whether the selected simulation level is "high speed" or "FuSa" (S52). If it is determined that the simulation level is "high speed" ("high speed" in S52), the access processing unit 12b directly performs bus access to the bus slave device 3 without passing through the bus 2 (S53).
[0147] If it is determined that the simulation level is "FuSa" ("FuSa" in S52) or the simulation level is not selected ("No" in S51), the access processing section 12b performs bus access to the bus slave 3 via the guard 5 by performing bus access to the operation execution section 53 in the guard 5 (S54). The access processing section 12b does not take a path via the bus 2 arranged between the bus master 1 and the protector 5. The operation execution section 53 can perform simulation without losing the slave operation for the necessary IP by accessing the operation execution section 32.
[0148] As described above, in the process performed by the virtual environment program 132b according to the present embodiment, the virtual environment V4 includes a first interconnection as a routing target and a second interconnection that is not a routing target. The user can select whether to use the interconnection as a routing target. In the virtual environment V4, the level selection unit 4a selects the simulation level for functional safety. The access processing unit 12b in the bus master device 1 accesses the bus slave device 3 in the path corresponding to the selected simulation level.
[0149] In this way, the simulation target IP can be selected, and high-speed simulation for FuSa can be performed without interconnections other than, for example, guard 5. In the present embodiment, various simulations can be performed by this configuration without newly creating a simulator. In such a manner, various simulations can be processed, such as speed priority simulation excluding all interconnections arranged between bus masters and bus slaves, accuracy priority simulation including all interconnections, and simulation including necessary IPs.
[0150] In particular, the guard model is essential for simulations that protect against unauthorized access through guard IP. However, arbiters, bus bridges, and other interconnects are unnecessary. In this case, only the guard model needs to be simulated in addition to the bus master and bus slave. In contrast, if bus traffic is simulated, only the interconnects that affect bus timing (such as the arbiter) are simulated, and IP (such as guard) is excluded.
[0151] It should be noted that the virtual environment V4 may include a plurality of first interconnections. Fig.17 is a diagram illustrating a virtual environment 4a including a plurality of first interconnects. As first interconnects, in addition to a guard 5, the virtual environment 4a includes an error correction code (ECC) encoder 6 and an ECC decoder 7 that implement an ECC function.
[0152] ECC is an example of IP for error correction. ECC encoder 6 and ECC decoder 7 configure the ECC function for bus 2. Bus access data is output from bus master 1, then added with encoded data for detecting bit inversion of data output in ECC encoder 6, decoded immediately before reaching bus slave 3, and corrected as needed after bit inversion is detected. Generally, ECC is not a simulation target. However, in the case of checking the ECC correction algorithm, etc., ECC encoder 6 and ECC decoder 7 can be set as a routing target.
[0153] The ECC encoder 6 includes a pointer notification section 60, a pointer request section 61, a pointer holding section 62, and an operation execution section 63. The ECC decoder 7 includes a pointer notification section 70, a pointer request section 71, a pointer holding section 72, and an operation execution section 73. The functions of the ECC encoder 6 and the ECC decoder 7 correspond to the pointer notification section 50, the pointer request section 51, the pointer holding section 52, and the operation execution section 53 of the guard 5, respectively, and thus a detailed description thereof will be omitted.
[0154] The access processing unit 12b acquires the simulation level output from the level selection unit 4a via the pointer request unit 10 and the storage unit (not shown). The access processing unit 12b accesses the guard 5 in the path (A2) corresponding to the acquired simulation level. The operation execution unit 53 acquires the simulation level output from the level selection unit 4a via the pointer request unit 51 and the storage unit (not shown). The operation execution unit 53 accesses the bus slave 3 in the path (A2) corresponding to the acquired simulation level.
[0155] The plurality of first interconnects may be arranged at any position between the bus master 1 and the bus slave 3. For example, at least one of the plurality of first interconnects may be arranged between the bus master 1 and the second interconnect and between the second interconnect and the bus slave 3, respectively. Fig.17 In the example of , the ECC encoder 6 is arranged between the bus master 1 and the bus 2. The guard 5 and the ECC decoder 7 are arranged between the bus 2 and the bus slave 3. According to the present embodiment, regardless of the arrangement of the plurality of first interconnections and the second interconnections, efficient simulation can be performed.
[0156] The information processing devices according to the first to fourth embodiments have been described above. It should be noted that the configurations of the information processing devices 1000, 100, 100a and 100b are exemplary only and can be changed as needed. For example, when some or all components of such information processing devices are implemented by multiple information processing devices, circuits, etc., multiple information processing devices, circuits, etc. can be centrally arranged or distributed. For example, information processing devices, circuits, etc. can be configured so that client-server systems, cloud computing systems, etc. are connected via a communication network. Alternatively, the functions of such information processing devices according to the embodiments can be provided in the form of software as a service (SaaS).
[0157] In the above, the invention made by the inventor of the present application has been specifically described based on the embodiments. However, it goes without saying that the present invention is not limited to the aforementioned embodiments, and various modifications and changes can be made within the scope of the present invention. Moreover, the above embodiments can be implemented in any combination. For example, part or all of the first to fourth embodiments can be implemented in combination.
Claims
1. A control program causing an information processing device to execute a control method, the information processing device comprising a virtual environment for executing a simulated target program, the virtual environment comprising a bus master, an interconnect, and a bus slave coupled to the bus master via the interconnect, the control method comprising: an access processing step of causing the bus master to perform the bus access to the bus slave in a different path according to whether a pointer for performing the bus access from the bus master to the bus slave is held in a holding unit; as well as an operation execution step of causing the bus slave device to perform a predetermined operation when triggered by the bus access from the bus master device, and Wherein in the access processing step, the bus master device is configured as: If the pointer is maintained, directly performing the bus access to the bus slave device according to the pointer; as well as If the pointer is not maintained, the bus access to the bus slave is performed via the interconnect.
2. The control program according to claim 1, The control method further comprises: If the pointer is not held in the holding section, a pointer acquisition step is performed to cause the bus master to acquire the pointer from the bus slave via the interconnection; as well as A pointer holding step of causing the bus master to cause the holding unit to hold the acquired pointer.
3. The control program according to claim 1, The control method further comprises a level selection step of selecting a simulation level from a plurality of simulation levels having different simulation speeds, and Wherein in the access processing step, the bus master device is configured to perform the bus access to the bus slave device in a path corresponding to the selected simulation level.
4. The control program according to claim 3, Wherein in the access processing step, the bus master device is configured as: directly performing said bus access to said bus slave device if a speed priority emulation level is selected in said level selection step; and If an emulation level other than the speed priority emulation level is selected, the bus access to the bus slave is performed via the interconnect.
5. The control program according to claim 3, wherein the virtual environment includes a plurality of interconnects, the plurality of interconnects including a first interconnect to be routed in the bus access from the bus master to the bus slave and a second interconnect not to be routed, wherein in the access processing step, the bus master is configured to perform the bus access to the bus slave in different paths depending on whether a routing pointer for performing bus access from the bus master to the first interconnect is held in the holding portion, and Wherein in the access processing step, the bus master device is configured to perform the bus access to the bus slave device in a path corresponding to the selected simulation level if the pointer and the routing pointer are maintained.
6. The control program according to claim 5, The control method further comprises: If the routing pointer is not held in the holding section, a routing pointer acquisition step is performed to cause the bus master to acquire the routing pointer from the first interconnect; as well as A routing pointer holding step of causing the bus master to cause the holding unit to hold the acquired routing pointer.
7. The control program according to claim 5, Wherein in the access processing step, the bus master device is configured as: directly performing said bus access to said bus slave device if a speed priority emulation level is selected in said level selection step; and If a predetermined emulation level different than the speed priority emulation level is selected, the bus access to the bus slave in the path is performed via the first interconnect instead of via the second interconnect.
8. The control program according to claim 5, The virtual environment includes, as the first interconnect, an intellectual property (IP) section having a function of restricting access to the bus from the bus master to the bus slave.
9. The control program according to claim 5, wherein the virtual environment comprises a plurality of the first interconnects, and At least one first interconnect of the plurality of first interconnects is arranged between the bus master and the second interconnect and between the second interconnect and the bus slave, respectively.
10. A control method performed by an information processing device, the information processing device comprising a virtual environment for executing a simulated target program, the virtual environment comprising a bus master, an interconnect, and a bus slave coupled to the bus master via the interconnect, the control method comprising: an access processing step of causing the bus master to perform the bus access to the bus slave in a different path according to whether a pointer for performing the bus access from the bus master to the bus slave is held in a holding unit; as well as an operation execution step of causing the bus slave device to perform a predetermined operation when triggered by the bus access from the bus master device, and Wherein in the access processing step, the bus master device is configured as: If the pointer is maintained, directly performing the bus access to the bus slave device according to the pointer; as well as If the pointer is not maintained, the bus access to the bus slave is performed via the interconnect.
11. The control method according to claim 10, further comprising: a pointer acquisition step of causing the bus master to acquire the pointer from the bus slave via the interconnection if the pointer is not held in the holding section; as well as A pointer holding step of causing the bus master to cause the holding unit to hold the acquired pointer.
12. An information processing device comprising a virtual environment for executing a simulated target program, The virtual environment includes: Bus master; interconnection; as well as a bus slave device coupled to the bus master device via the interconnect, The bus master device comprises: a holding unit configured to hold a pointer for performing the bus access from the bus master device to the bus slave device; as well as an access processing unit configured to perform the bus access to the bus slave device in different paths according to whether a pointer is held in the holding unit, wherein the bus slave device comprises an operation execution section configured to execute a predetermined operation when triggered by the bus access from the bus master device, and The access processing unit is configured as follows: If the pointer is held, directly performing the bus access to the bus slave device according to the pointer; and If the pointer is not maintained, the bus access to the bus slave is performed via the interconnect.
13. The information processing device according to claim 12, The bus master device further comprises a pointer acquisition unit, which is configured to acquire the pointer. wherein the pointer acquisition section is configured to acquire the pointer from the bus slave device via the interconnect if the pointer is not held, and The holding unit is configured to hold the acquired pointer.
