A virtual storage device for prototype verification
By using analog memory to replace memory peripherals in prototype verification, automated verification is achieved, solving the problems of frequent manual intervention and long verification in the prior art, simplifying the verification process and reducing the verification time.
Patent Information
- Application Number
- CN202010886833.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-28
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2040-08-28
AI Technical Summary
During the prototype verification process of the integrated circuit verification stage, the memory peripherals need to be disassembled and installed multiple times, resulting in frequent manual intervention, complex procedures, and long-term time-consuming, and the inability to realize automated verification, and the inability to effectively reflect multiple instruction information, which has added The complexity and time-consuming of the verification process.
Analog memory is used instead of memory peripherals, erasing the original logic through the controller and writing new logic into it, and initializing it through the controller to send formatting instructions to realize automatic verification of virtual storage devices and reduce manual intervention and disassembly operations.
During the prototype verification process, there is no need to disassemble and install the memory peripherals again, which reduces the verification time and can reflect the correctness of the storage controller instructions in real time, simplify the verification process and reduce the total verification time.
Smart Images

Figure CN111984491B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer-aided devices, and in particular to a virtual storage device for prototype verification. Background Art
[0002] In the prototype verification stage of the integrated circuit verification stage, the customer's memory controller is generally verified through various memory peripherals. Different logics need to be written into the memory peripherals involved in the verification at different verification stages. Therefore, the existing technology is to remove the memory peripheral after completing a verification stage, re-encode it externally, and then reinstall it into the prototype verification system.
[0003] This method requires multiple manual interventions and multiple disassembly and assembly of the memory peripherals involved in the verification. The procedure is complex, time-consuming, and cannot achieve automated verification of the storage controller. Moreover, this method cannot independently reflect whether multiple instruction information in a verification process is correct, which is not conducive to establishing a more complex and effective verification process, increases the number of verification processes, and further increases the time consumption of the verification process. Summary of the invention
[0004] In view of this, an embodiment of the present invention provides a virtual storage device for prototype verification, which uses simulated memory to replace memory peripherals. When the internal logic needs to be replaced, the original logic can be directly erased and written into the new logic through the controller; the controller can also send formatting and other instructions to the simulated memory to directly complete the initialization of the prototype verification of the storage controller. Therefore, during the entire verification process, there is no need to disassemble and assemble the memory peripherals again, and no manual intervention is required, which reduces the verification time.
[0005] In order to achieve the above technical objectives, the specific technical solutions adopted by the present invention are:
[0006] A virtual storage device for prototype verification comprises a virtual interface, a controller and a virtual memory; the virtual interface is connected to the storage controller to be verified, and is used to receive instruction information of the storage controller to be verified, and transmit the instruction information to the virtual memory; the virtual memory is used to perform read and write operations according to the instruction information; the controller is connected to the virtual memory, and is used to read and write the virtual memory.
[0007] Furthermore, the virtual memory is also used to store the instruction information.
[0008] Furthermore, the virtual interface is a SPI, LOCALBUS or AXL interface.
[0009] Furthermore, the virtual memory is a large-capacity and high-speed DDR.
[0010] Furthermore, the controller is provided with an external interface.
[0011] Furthermore, the external interface is a USB interface, an Ethernet interface or a PCIE interface.
[0012] Furthermore, the controller is connected to a host of the storage controller to be verified through the external interface.
[0013] Furthermore, the virtual storage device for prototype verification also includes an interface module; the virtual interface is set on the interface module; the interface module also includes a controller interface, an arbitration circuit and a virtual memory interface; the virtual interface is communicatively connected to the arbitration circuit; the controller interface is communicatively connected to the controller and the arbitration circuit at the same time; the virtual memory interface is connected to the arbitration circuit and the virtual memory at the same time; the arbitration circuit is used to provide an access order between the virtual interface and the controller interface and the virtual memory interface.
[0014] Furthermore, the interface module and the controller are centrally packaged on a circuit board.
[0015] By adopting the above technical solution, the present invention can bring the following beneficial effects:
[0016] 1. The present invention uses simulated memory to replace memory peripherals. When the internal logic needs to be replaced, the original logic can be directly erased and written into the new logic through the controller. The controller can also send formatting and other instructions to the simulated memory to directly complete the initialization of the storage controller prototype verification. Therefore, during the entire verification process, there is no need to disassemble and assemble the memory peripherals again, and no manual intervention is required, which reduces the verification time.
[0017] 2. In the process of executing a single verification logic, the present invention can use a controller to read the storage information in the virtual storage device at any time to reflect whether the instructions of the storage controller are correct at any time.
[0018] 3. The present invention can monitor whether a single instruction of the storage controller is incorrect at any time by checking the response of the simulated memory to the instruction sent by the storage controller at any time, which is conducive to establishing a more complex and effective single verification process, reducing the total number of verification processes, and further reducing the total verification time. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 A module connection diagram of a virtual storage device for prototype verification in an embodiment of the present invention;
[0021] Among them: 1. Storage controller to be verified; 2. Virtual interface; 3. Controller; 31. External interface 4. Virtual memory; 5. Controller interface; 6. Arbitration circuit; 7. Virtual memory interface. DETAILED DESCRIPTION
[0022] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0023] The following describes the embodiments of the present invention through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work belong to the scope of protection of the present invention.
[0024] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein can be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present invention, it should be understood by those skilled in the art that an aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number of aspects described herein can be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement this device and / or practice this method.
[0025] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention. The drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0026] Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects described may be practiced without these specific details.
[0027] An embodiment of the present invention provides a virtual storage device for prototype verification, including a virtual interface 2, a controller 3 and a virtual memory 4; the virtual interface 2 is connected to the storage controller 3 to be verified, and is used to receive instruction information of the storage controller 3 to be verified, and transmit the instruction information to the virtual memory 4; in order to match the interface protocol of the existing storage controller 3, the virtual interface 2 is an SPI, LOCALBUS or AXL interface.
[0028] The virtual memory 4 is used to perform read and write operations according to the instruction information; the controller 3 is connected to the virtual memory 4 and is used to read and write the virtual memory 4. In this embodiment, in order to improve the operation efficiency, the virtual memory 4 is a large-capacity high-speed DDR.
[0029] In this embodiment, the memory peripheral is replaced by the simulated memory. When the internal logic needs to be replaced, the original logic can be directly erased and the new logic can be written through the controller 3. The controller 3 can also send formatting instructions to the simulated memory to directly complete the initialization of the prototype verification of the storage controller 3. Therefore, during the entire verification process, there is no need to disassemble the memory peripheral again, no manual intervention is required, and the verification time is reduced.
[0030] In one embodiment, the virtual memory 4 is also used to store instruction information so that the instruction information can be directly read by the controller 3. In this embodiment, when the single verification logic of the storage controller 3 to be verified is performed, the controller 3 can be used to read the storage information in the virtual storage device at any time to reflect whether the instruction of the storage controller 3 is correct at any time. Therefore, by checking the response of the simulated memory to the instruction sent by the storage controller 3 at any time, it is possible to monitor whether the single instruction of the storage controller 3 is wrong at any time, which is conducive to establishing a more complex and effective single verification process, reducing the total number of verification processes, and further reducing the total verification time.
[0031] In one embodiment, the controller 3 is provided with an external interface 31. The controller 3 is connected to the host storing the controller 3 to be verified through the external interface 31. In order to match the interface of the user host, the external interface 31 is a USB interface, an Ethernet interface or a PCIE interface.
[0032] In one embodiment, in order to realize the integration and miniaturization of the overall virtual storage device, the virtual storage device used for prototype verification is provided with an interface module; the virtual interface 2 is provided on the interface module, and the interface module also includes a controller interface 5, an arbitration circuit 6 and a virtual memory interface 7; the virtual interface 2 is connected to the arbitration circuit 6 for communication; the controller interface 5 is connected to the controller 3 and the arbitration circuit 6 for communication at the same time; the virtual memory interface 7 is connected to the arbitration circuit 6 and the virtual memory 4 at the same time; the arbitration circuit 6 is used to provide an access order between the virtual interface 2 and the controller interface 5 and the virtual memory interface 7. In this embodiment, the interface module and the controller 3 are packaged on a circuit board.
[0033] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A virtual storage device for prototype verification, characterized in that: It comprises a virtual interface, a controller and a virtual memory; the virtual interface is connected to the storage controller to be verified, and is used to receive instruction information of the storage controller to be verified, and transmit the instruction information to the virtual memory; the virtual memory is used to perform read and write operations according to the instruction information; the controller is connected to the virtual memory, and is used to read and write the virtual memory; The virtual memory is also used to store the instruction information, the virtual interface is an SPI, LOCALBUS or AXL interface, the virtual memory is a large-capacity, high-speed DDR, an external interface is provided on the controller, the external interface is a USB interface, an Ethernet interface or a PCIE interface, and the controller is connected to the host of the storage controller to be verified through the external interface; The virtual memory is configured to erase the original logic and write new logic through the controller when the internal logic needs to be replaced; and send a formatting instruction to the virtual memory through the controller to directly complete the initialization of the storage controller prototype verification.
2. The virtual storage device for prototype verification according to claim 1, characterized in that: It also includes an interface module; the virtual interface is set on the interface module; the interface module also includes a controller interface, an arbitration circuit and a virtual memory interface; the virtual interface is connected to the arbitration circuit; the controller interface is connected to the controller and the arbitration circuit at the same time; the virtual memory interface is connected to the arbitration circuit and the virtual memory at the same time; The arbitration circuit is used to provide an access order between the virtual interface and the controller interface and the virtual memory interface.
3. The virtual storage device for prototype verification according to claim 2, characterized in that: The interface module and the controller are centrally packaged on a circuit board.
