Search

CN-121351727-B - Method and device for componentized management of project files and computing equipment

CN121351727BCN 121351727 BCN121351727 BCN 121351727BCN-121351727-B

Abstract

The invention provides a method, a device and a computing device for managing a project file in a componentization mode, wherein the method for managing the project file in the componentization mode comprises the steps of creating a top-level design container of a target project, defining at least one component in the top-level design container, wherein the component comprises at least one logic entity, responding to received configuration information, executing operation packaged in the target logic entity, and generating an operation execution result corresponding to the target project, wherein the configuration information is used for defining a hierarchical dependency relationship of the target logic entity, the top-level design container is an abstract container used for bearing the logic layers of the component and the logic entity, the component is an abstract container composed of a plurality of logic entities and used for packaging the operation aiming at the project file and the dependency relationship among the project file, and the application of the embodiment of the present disclosure can decouple the logic dependency relationship from a physical storage path, reduce the path maintenance cost and simplify the dependency management complexity.

Inventors

  • Request for anonymity
  • Request for anonymity
  • Request for anonymity
  • Request for anonymity
  • Request for anonymity
  • Request for anonymity

Assignees

  • 芯瞳半导体技术(厦门)有限公司

Dates

Publication Date
20260505
Application Date
20251216

Claims (8)

  1. 1. A modular management method for project files, comprising: Creating a top-level design container of the target item; Defining at least one component in the top-level design container, wherein the component comprises at least one logical entity; Executing the packaged operation in the target logic entity to generate an operation execution result corresponding to the target item, wherein the configuration information is used for defining the hierarchical dependency relationship and the target view of the target logic entity, the top-level design container is an abstract container used for bearing the components and the logic level of the logic entity, the components are abstract containers which are composed of a plurality of the logic entities to package the logic level of the function independent module, the logic entity is used for packaging the operation aiming at the project file and the dependency relationship among the project file, the physical file path of the project file and the logic unit identifier used for uniquely identifying the logic entity establish a corresponding relationship through a preset mapping table, The target view characterizes a target execution scene of the target logic entity, and the operation of executing encapsulation in the target logic entity comprises the following steps: Based on the hierarchical dependency relationship, recursively analyzing the logic entity with a direct dependency relationship and an indirect dependency relationship with the target view to generate the logic unit identifier; inquiring a physical file path corresponding to the logic unit identifier according to the preset mapping table; Integrating the physical file path and the target operation to generate and execute an executable configuration file.
  2. 2. The componentized management method of project files of claim 1, wherein the top-level design container is configured to logically reference a base top-level design container using the base top-level design container as a template.
  3. 3. The method of componentized management of project files of claim 1, wherein the target view comprises at least one of a register transfer level view, a behavior level model view, or a shell view.
  4. 4. The method of claim 3, wherein when the target view is a register transfer level view, the operation execution result is a logical integrated result, or When the target view is a behavior-level model view, the operation execution result is a simulation test result, or And when the target view is a shell view, the operation execution result is an integrated adaptation result.
  5. 5. The method of componentized management of project files according to any one of claims 1 to 4, wherein when the operation is called a plurality of times, serializing the plurality of times of calls.
  6. 6. A modular project file management apparatus comprising: a creation module configured to create a top-level design container of the target item; a definition module configured to define at least one component in the top-level design container, wherein the component comprises at least one logical entity; The execution module is configured to respond to the received configuration information, execute the operation packaged in a target logic entity, generate an operation execution result corresponding to the target item, wherein the configuration information is used for defining a hierarchical dependency relationship and a target view of the target logic entity, the top-level design container is an abstract container for bearing the components and a logic level of the logic entity, the components are abstract containers which are formed by a plurality of logic entities to package the logic level of a function independent module, the logic entity is used for packaging the operation aiming at a project file and the dependency relationship among the project files, a physical file path of the project file and a logic unit identifier for uniquely identifying the logic entity are in a corresponding relationship through a preset mapping table, and the target view represents a target execution scene of the target logic entity; The execution module is further configured to recursively analyze the logic entity with the direct dependency relationship and the indirect dependency relationship with the target view based on the hierarchical dependency relationship, generate the logic unit identifier, query a physical file path corresponding to the logic unit identifier according to the preset mapping table, integrate the physical file path and the target operation, and generate and execute an executable configuration file.
  7. 7. A computing device, comprising: a memory for storing executable instructions; a processor for implementing the modular management method of project files according to any one of claims 1-5 when executing executable instructions stored in said memory.
  8. 8. A computer readable storage medium storing computer instructions which, when executed by a processor, implement a method of componentized management of project files according to any one of claims 1-5.

Description

Method and device for componentized management of project files and computing equipment Technical Field The disclosure relates to the field of computer technology, and in particular, to a method and a device for componentized management of project files, and a computing device. Background In digital IC research and development, hierarchical and modularized management of design codes is a core strategy aiming at the design of complex digital IC systems (such as GPU and SOC), aiming at disassembling huge designs into manageable hierarchical structures, improving the cooperation efficiency, code reusability and research and development efficiency and guaranteeing the design quality. The current design code management scheme mainly comprises two types, namely a management method based on a hierarchical directory structure, directory division according to functions or levels, independent directory arrangement of each functional module or subsystem, organization design through a physical file path, and a logic layering scheme based on a Version Control System (VCS), management of different levels of design module versions by utilizing a VCS branching or labeling mechanism, and integration of a specific version of a bottom layer module by a top layer design through a dependence management tool. With the improvement of design complexity, the problems of complex dependence management, high design multiplexing cost and the like in the above scheme are more and more obvious, so that a design code management method for simplifying the dependence management and reducing the multiplexing cost is needed. Disclosure of Invention The invention provides a method, a device and a computing device for managing project files in a componentization way, which can decouple a logic dependency relationship from a physical storage path, reduce path maintenance cost and simplify dependency management complexity. The technical scheme of the present disclosure is realized as follows: The method comprises the steps of creating a top-level design container of a target project, defining at least one component in the top-level design container, responding to received configuration information, executing operation packaged in the target logic entity, and generating an operation execution result corresponding to the target project, wherein the configuration information is used for defining a hierarchical dependency relationship of the target logic entity, the top-level design container is an abstract container used for bearing the logic layers of the component and the logic entity, the component is an abstract container composed of a plurality of logic entities for packaging the logic layers of the function independent modules, the logic entity is used for packaging the operation aiming at the project file and the dependency relationship among the project file, and a physical file path of the project file is in a corresponding relationship with a logic unit identifier used for uniquely identifying the logic entity through a preset mapping table. The second aspect provides a componentized management device of a project file, which comprises a creation module, a definition module and an execution module, wherein the creation module is configured to create a top-level design container of a target project, the definition module is configured to define at least one component in the top-level design container, the component comprises at least one logic entity, the execution module is configured to respond to received configuration information, execute an operation packaged in the target logic entity and generate an operation execution result corresponding to the target project, the configuration information is used for defining a hierarchical dependency relationship of the target logic entity, the top-level design container is an abstract container used for bearing the logic layers of the component and the logic entity, the component is an abstract container composed of a plurality of logic entities to package the logic layers of a function independent module, the logic entity is used for packaging the operation for the project file and the dependency relationship between the project file, and a physical file path of the project file is in a corresponding relationship with a logic unit identifier used for uniquely identifying the logic entity through a preset mapping table. In a third aspect, the present disclosure provides a computing device comprising a memory for storing executable instructions and a processor which, when executing the executable instructions stored in the memory, performs the steps of the method of componentized management of project files as in the first aspect. In a fourth aspect, the present disclosure provides a computer storage medium storing computer executable instructions which, when executed by a processor, implement the steps of a method of componentized management of project files as in the first aspect. In a fifth as