METHOD, DEVICE, AND STORAGE MEDIUM FOR SIMULATING A DESIGN

    公开(公告)号:US20220198112A1

    公开(公告)日:2022-06-23

    申请号:US17548110

    申请日:2021-12-10

    发明人: Jinya ZHANG

    IPC分类号: G06F30/3308 G06F30/323

    摘要: The present disclosure provides methods and devices for simulating a design, wherein the design comprises a main class with parameters and a plurality of instances of the main class, wherein the plurality of instances comprise a first instance and a second instance. The method includes: determining, by analyzing the design, a plurality of secondary classes associated with instantiating the main class, wherein the plurality of secondary classes are used as the parameters of the main class and comprise a first secondary class corresponding to the first instance and a second secondary class corresponding to the second instance; translating the design to generate a first temporary code associated with the plurality of instances; generating, based on the first temporary code, a plurality of instance machine codes corresponding to the plurality of instances; and simulating the design based on the plurality of instance machine codes.