[go: up one dir, main page]

CN107436770B - Method, system and computer for generating computer resources - Google Patents

Method, system and computer for generating computer resources Download PDF

Info

Publication number
CN107436770B
CN107436770B CN201710686398.2A CN201710686398A CN107436770B CN 107436770 B CN107436770 B CN 107436770B CN 201710686398 A CN201710686398 A CN 201710686398A CN 107436770 B CN107436770 B CN 107436770B
Authority
CN
China
Prior art keywords
computer resource
ram
computer
type
resource generation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710686398.2A
Other languages
Chinese (zh)
Other versions
CN107436770A (en
Inventor
李灯伟
赵元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Metabrain Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201710686398.2A priority Critical patent/CN107436770B/en
Publication of CN107436770A publication Critical patent/CN107436770A/en
Application granted granted Critical
Publication of CN107436770B publication Critical patent/CN107436770B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/32Circuit design at the digital level
    • G06F30/33Design verification, e.g. functional simulation or model checking
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • G06F8/427Parsing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Computing Systems (AREA)
  • Stored Programmes (AREA)
  • Control By Computers (AREA)

Abstract

本发明涉及计算机技术领域,提供一种计算机资源生成方法、系统及计算机,方法包括:收用户输入的计算机资源生成触发指令;对所述计算机资源生成触发指令进行解析,获取计算机资源的类型;调用预先生成的与所述计算机资源的类型相匹配的计算机资源生成工具;接收用户输入的符合所述计算机资源类型的参数,利用所述计算机资源生成工具生成与所述计算机资源生成触发指令相匹配的计算机资源,从而实现计算机资源的自动批量生成,方便操作人员对计算机资源的管理,同时也提高了整个数字芯片前端设计和验证的进度,提高效率。

Figure 201710686398

The invention relates to the field of computer technology, and provides a computer resource generation method, system and computer. The method includes: receiving a computer resource generation trigger instruction input by a user; analyzing the computer resource generation trigger instruction to obtain the type of the computer resource; A pre-generated computer resource generation tool that matches the type of the computer resource; receives the parameters input by the user that conform to the computer resource type, and uses the computer resource generation tool to generate a computer resource generation trigger instruction that matches the computer resource. Computer resources, so as to realize the automatic batch generation of computer resources, which is convenient for operators to manage computer resources, and also improves the progress of front-end design and verification of the entire digital chip, and improves efficiency.

Figure 201710686398

Description

一种计算机资源生成方法、系统及计算机Method, system and computer for generating computer resources

技术领域technical field

本发明属于计算机技术领域,尤其涉及一种计算机资源生成方法、系统及计算机。The invention belongs to the technical field of computers, and in particular relates to a method, system and computer for generating computer resources.

背景技术Background technique

在数字芯片前端设计及验证中,往往会用到大量的计算机资源,以ram资源为例进行说明,对于这些ram,需要设置不同的位宽与深度。In the front-end design and verification of digital chips, a lot of computer resources are often used, and ram resources are used as an example to illustrate. For these rams, different bit widths and depths need to be set.

在项目管理中,通常集中管理这些ram,其他设计人员只需提出ram的需求,例如ram类型、深度和宽度等信息,由其中一个设计人员集中统一设置管理。但是在设计阶段由于ram资源的任务量大,手动修改操作很难实现一对多的工作人物进度要求,降低整个数字芯片前端设计和验证的进度和效率。In project management, these rams are usually managed centrally, and other designers only need to put forward ram requirements, such as ram type, depth and width, etc., and one of the designers will centrally set and manage them. However, in the design stage, due to the large amount of tasks of ram resources, it is difficult for manual modification operations to achieve one-to-many work-person progress requirements, which reduces the progress and efficiency of front-end design and verification of the entire digital chip.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于提供一种计算机资源生成方法,旨在解决现有技术中在设计阶段由于ram资源的任务量大,手动修改操作很难实现一对多的工作人物进度要求,降低整个数字芯片前端设计和验证的进度和效率的问题。The object of the present invention is to provide a method for generating computer resources, which aims to solve the problem that in the prior art, due to the large amount of tasks of ram resources in the design stage, it is difficult to achieve one-to-many progress requirements for manual modification operations, reducing the overall digital chip. Issues of progress and efficiency in front-end design and verification.

本发明是这样实现的,一种计算机资源生成方法,所述方法包括下述步骤:The present invention is realized in this way, a kind of computer resource generation method, described method comprises the following steps:

接收用户输入的计算机资源生成触发指令,所述计算机资源包括ram、fifo和cam;Receive the computer resource inputted by the user to generate a trigger instruction, and the computer resource includes ram, fifo and cam;

对所述计算机资源生成触发指令进行解析,获取计算机资源的类型;parsing the computer resource generation trigger instruction to obtain the type of the computer resource;

调用预先生成的与所述计算机资源的类型相匹配的计算机资源生成工具;Invoke a pre-generated computer resource generation tool that matches the type of the computer resource;

接收用户输入的符合所述计算机资源类型的参数,利用所述计算机资源生成工具生成与所述计算机资源生成触发指令相匹配的计算机资源。Receive a parameter input by a user that matches the computer resource type, and use the computer resource generation tool to generate a computer resource matching the computer resource generation trigger instruction.

作为一种改进的方案,当所述计算机资源为ram时,所述接收用户输入的符合所述计算机资源类型的参数,利用所述计算机资源生成工具生成与所述计算机资源生成触发指令相匹配的计算机资源的步骤具体包括下述步骤:As an improved solution, when the computer resource is ram, the receiving a parameter input by the user conforms to the computer resource type, and the computer resource generating tool is used to generate a parameter matching the computer resource generating trigger instruction. The steps of computer resources specifically include the following steps:

接收通过命令行输入的所述ram的参数,并定义每个参数的含义,所述参数包括ram类型、ram深度和ram宽度;Receive the parameters of the ram input through the command line, and define the meaning of each parameter, and the parameters include ram type, ram depth and ram width;

根据ram的不同类型参数,设置相应的输出ram类型;According to the different types of parameters of ram, set the corresponding output ram type;

根据ram不同的深度和宽度,将ram的参数深度和宽度参数传入所述ram对应的计算机资源生成工具,并输出到生成的ram中。According to the different depths and widths of the ram, the parameter depth and width parameters of the ram are transferred to the computer resource generation tool corresponding to the ram, and output to the generated ram.

作为一种改进的方案,所述计算机资源生成工具由perl语言编写形成。As an improved solution, the computer resource generation tool is written in perl language.

作为一种改进的方案,所述方法还包括下述步骤:As a kind of improved scheme, described method also comprises the following steps:

预先生成与所述计算机资源的类型相匹配的若干个计算机资源生成工具,每个所述计算机资源生成工具用于生成与所述计算机资源生成触发指令相匹配的计算机资源。Several computer resource generation tools matching the type of the computer resource are pre-generated, and each of the computer resource generation tools is used to generate a computer resource matching the computer resource generation trigger instruction.

本发明的另一目的在于提供一种计算机资源生成系统,所述系统包括:Another object of the present invention is to provide a computer resource generation system, the system includes:

触发指令接收模块,用于接收用户输入的计算机资源生成触发指令,所述计算机资源包括ram、fifo和cam;a trigger instruction receiving module, configured to receive a computer resource input by a user to generate a trigger instruction, and the computer resource includes ram, fifo and cam;

资源类型获取模块,用于对所述计算机资源生成触发指令进行解析,获取计算机资源的类型;a resource type acquisition module, configured to parse the computer resource generation trigger instruction to acquire the computer resource type;

工具调用模块,用于调用预先生成的与所述计算机资源的类型相匹配的计算机资源生成工具;a tool invocation module for invoking a pre-generated computer resource generation tool that matches the type of the computer resource;

参数接收模块,用于接收用户输入的符合所述计算机资源类型的参数;a parameter receiving module, configured to receive a parameter input by a user that conforms to the type of the computer resource;

资源生成模块,用于利用所述计算机资源生成工具生成与所述计算机资源生成触发指令相匹配的计算机资源。A resource generation module, configured to use the computer resource generation tool to generate computer resources matching the computer resource generation trigger instruction.

作为一种改进的方案,当所述计算机资源为ram时,所述参数接收模块具体包括:As an improved solution, when the computer resource is ram, the parameter receiving module specifically includes:

ram参数接收定义模块,用于接收通过命令行输入的所述ram的参数,并定义每个参数的含义,所述参数包括ram类型、ram深度和ram宽度;所述资源生成模块具体包括:The ram parameter receiving definition module is used to receive the parameters of the ram input through the command line, and define the meaning of each parameter, and the parameters include ram type, ram depth and ram width; the resource generation module specifically includes:

所述资源生成模块具体包括:The resource generation module specifically includes:

ram类型设置模块,用于根据ram的不同类型参数,设置相应的输出ram类型;The ram type setting module is used to set the corresponding output ram type according to different types of parameters of ram;

ram资源生成模块,用于根据ram不同的深度和宽度,将ram的参数深度和宽度参数传入所述ram对应的计算机资源生成工具,并输出到生成的ram中。The ram resource generation module is used to input the parameter depth and width parameters of the ram into the computer resource generation tool corresponding to the ram according to the different depths and widths of the ram, and output them to the generated ram.

作为一种改进的方案,所述计算机资源生成工具由perl语言编写形成。As an improved solution, the computer resource generation tool is written in perl language.

作为一种改进的方案,所述系统还包括:As an improved solution, the system further includes:

资源工具生成模块,用于预先生成与所述计算机资源的类型相匹配的若干个计算机资源生成工具,每个所述计算机资源生成工具用于生成与所述计算机资源生成触发指令相匹配的计算机资源。A resource tool generation module, configured to pre-generate several computer resource generation tools that match the type of the computer resource, each of the computer resource generation tools is used to generate a computer resource that matches the computer resource generation trigger instruction .

本发明的另一目的在于提供一种计算机,包括的计算机资源生成系统。Another object of the present invention is to provide a computer including a computer resource generation system.

在本发明实施例中,接收用户输入的计算机资源生成触发指令;对所述计算机资源生成触发指令进行解析,获取计算机资源的类型;调用预先生成的与所述计算机资源的类型相匹配的计算机资源生成工具;接收用户输入的符合所述计算机资源类型的参数,利用所述计算机资源生成工具生成与所述计算机资源生成触发指令相匹配的计算机资源,从而实现计算机资源的自动批量生成,方便操作人员对计算机资源的管理,同时也提高了整个数字芯片前端设计和验证的进度,提高效率。In the embodiment of the present invention, a computer resource generation trigger instruction input by a user is received; the computer resource generation trigger instruction is parsed to obtain the type of the computer resource; the pre-generated computer resource matching the type of the computer resource is called Generating tool; receive the parameters input by the user that conform to the computer resource type, and use the computer resource generating tool to generate computer resources matching the computer resource generation trigger instruction, thereby realizing automatic batch generation of computer resources, which is convenient for operators The management of computer resources also improves the progress of front-end design and verification of the entire digital chip and improves efficiency.

附图说明Description of drawings

图1是本发明提供的计算机资源生成方法的实现流程图;Fig. 1 is the realization flow chart of the computer resource generation method provided by the present invention;

图2是本发明提供的ram批量生成方法的实现流程图;Fig. 2 is the realization flow chart of the ram batch generation method provided by the present invention;

图3是本发明提供的计算机资源生成系统的结构示意图。FIG. 3 is a schematic structural diagram of a computer resource generation system provided by the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

图1示出了本发明提供的计算机资源生成方法的实现流程图,其具体包括下述步骤:Fig. 1 shows the realization flow chart of the method for generating computer resources provided by the present invention, which specifically includes the following steps:

在步骤S101中,接收用户输入的计算机资源生成触发指令,所述计算机资源包括但不限于ram、fifo和cam。In step S101, a computer resource input by a user is received to generate a trigger instruction, and the computer resource includes but is not limited to ram, fifo and cam.

在该步骤,可以提供多种计算机资源的批量生成方法,例如上述ram、fifo和cam,其中以ram居多,其中种类较多和使用率较高;In this step, a batch generation method of a variety of computer resources can be provided, such as the above-mentioned ram, fifo and cam, wherein ram is in the majority, with more types and higher utilization rates;

操作人员可以通过输入命令行的方式,输入要求批量生成的计算机资源,即在计算机生成计算机资源生成触发指令,其中,每一种资源匹配一个资源类型。The operator can input computer resources required to be generated in batches by inputting a command line, that is, generating trigger instructions for generating computer resources on the computer, wherein each resource matches a resource type.

在步骤S102中,对所述计算机资源生成触发指令进行解析,获取计算机资源的类型。In step S102, the computer resource generation trigger instruction is parsed to obtain the type of the computer resource.

该步骤是获取对应的需要批量生成的计算机资源的类型,根据该类型,需要调用相应的工具。This step is to obtain the type of the corresponding computer resources that need to be generated in batches, and according to the type, the corresponding tool needs to be called.

在步骤S103中,调用预先生成的与所述计算机资源的类型相匹配的计算机资源生成工具。In step S103, a pre-generated computer resource generation tool matching the type of the computer resource is called.

其中,该计算机资源生成工具即功能程序段,需要预先生成,同时存储在计算机的数据库中,以便随时调用,而且该预先生成的计算机资源生成工具的功能是生成与所述计算机资源生成触发指令相匹配的计算机资源,其具体实现可以参考下述ram的事例说明,在此不再赘述。Wherein, the computer resource generation tool is a functional program segment, which needs to be pre-generated and stored in the computer database at the same time so as to be called at any time, and the function of the pre-generated computer resource generation tool is to generate a trigger instruction corresponding to the computer resource generation. For the specific implementation of the matching computer resource, reference may be made to the following ram case description, which will not be repeated here.

在步骤S104中,接收用户输入的符合所述计算机资源类型的参数,利用所述计算机资源生成工具生成与所述计算机资源生成触发指令相匹配的计算机资源。In step S104, a parameter input by a user that matches the type of the computer resource is received, and the computer resource generation tool is used to generate a computer resource matching the computer resource generation trigger instruction.

在该步骤中,该用户输入的参数,根据不同的计算机资源类型可以有不同的区分,例如下述ram的具体实现,在此不再赘述,但不用以限制本发明。In this step, the parameters input by the user may be differentiated differently according to different computer resource types, such as the specific implementation of the following ram, which will not be repeated here, but is not intended to limit the present invention.

为了便于说明,下述结合图2,以计算机资源为ram为例进行说明,即上述步骤S104接收用户输入的符合所述计算机资源类型的参数,利用所述计算机资源生成工具生成与所述计算机资源生成触发指令相匹配的计算机资源的具体实现步骤:For the convenience of description, the following description takes the computer resource as ram as an example with reference to FIG. 2 , that is, the above-mentioned step S104 receives the parameter input by the user that conforms to the computer resource type, and uses the computer resource generation tool to generate the computer resource with the computer resource. The specific implementation steps of generating the computer resource matching the trigger instruction:

在步骤S201中,接收通过命令行输入的所述ram的参数,并定义每个参数的含义,所述参数包括ram类型、ram深度和ram宽度。In step S201, the parameters of the ram input through the command line are received, and the meaning of each parameter is defined, and the parameters include ram type, ram depth and ram width.

在步骤S202中,根据ram的不同类型参数,设置相应的输出ram类型。In step S202, the corresponding output ram type is set according to different type parameters of the ram.

在步骤S203中,根据ram不同的深度和宽度,将参数传入所述ram对应的计算机资源生成工具,并输出到生成的ram中。In step S203, according to the different depths and widths of the ram, parameters are input into the computer resource generation tool corresponding to the ram, and output to the generated ram.

其中,上述ram批量生成的程序可以采用perl语言进行编写,当然也可以采用其他语言进行编写,在此不再赘述。Among them, the above program generated in batches of ram can be written in perl language, and of course can also be written in other languages, which will not be repeated here.

图3示出了本发明提供的计算机资源生成系统的结构框图,为了便于说明,图中仅给出了与本发明实施例相关的部分,其中,该计算机资源生成系统内置于计算机内部。FIG. 3 shows a structural block diagram of the computer resource generation system provided by the present invention. For convenience of description, only the parts related to the embodiments of the present invention are shown in the figure, wherein the computer resource generation system is built in the computer.

该计算机资源生成系统包括:The computer resource generation system includes:

触发指令接收模块11,用于接收用户输入的计算机资源生成触发指令,所述计算机资源包括ram、fifo和cam;The trigger instruction receiving module 11 is used to receive the computer resource input by the user to generate the trigger instruction, and the computer resource includes ram, fifo and cam;

资源类型获取模块12,用于对所述计算机资源生成触发指令进行解析,获取计算机资源的类型;A resource type acquisition module 12, configured to parse the computer resource generation trigger instruction to acquire the computer resource type;

工具调用模块13,用于调用预先生成的与所述计算机资源的类型相匹配的计算机资源生成工具;a tool calling module 13, configured to call a pre-generated computer resource generation tool that matches the type of the computer resource;

参数接收模块14,用于接收用户输入的符合所述计算机资源类型的参数;A parameter receiving module 14, configured to receive a parameter input by a user that conforms to the type of the computer resource;

资源生成模块15,用于利用所述计算机资源生成工具生成与所述计算机资源生成触发指令相匹配的计算机资源。The resource generation module 15 is configured to use the computer resource generation tool to generate computer resources matching the computer resource generation trigger instruction.

其中,当所述计算机资源为ram时,所述参数接收模块14具体包括:Wherein, when the computer resource is ram, the parameter receiving module 14 specifically includes:

ram参数接收定义模块16,用于接收通过命令行输入的所述ram的参数,并定义每个参数的含义,所述参数包括ram类型、ram深度和ram宽度;所述资源生成模块具体包括:The ram parameter receiving definition module 16 is used to receive the parameters of the ram input through the command line, and define the meaning of each parameter, and the parameters include ram type, ram depth and ram width; the resource generation module specifically includes:

所述资源生成模块15具体包括:The resource generation module 15 specifically includes:

ram类型设置模块17,用于根据ram的不同类型参数,设置相应的输出ram类型;The ram type setting module 17 is used to set the corresponding output ram type according to different type parameters of the ram;

ram资源生成模块18,用于根据ram不同的深度和宽度,将参数传入所述ram对应的计算机资源生成工具,并输出到生成的ram中。The ram resource generating module 18 is used for inputting parameters into the computer resource generating tool corresponding to the ram according to different depths and widths of the ram, and outputting the parameters to the generated ram.

在本发明实施例中,资源工具生成模块19,用于预先生成与所述计算机资源的类型相匹配的若干个计算机资源生成工具,每个所述计算机资源生成工具用于生成与所述计算机资源生成触发指令相匹配的计算机资源。In this embodiment of the present invention, the resource tool generation module 19 is configured to pre-generate several computer resource generation tools matching the type of the computer resource, and each of the computer resource generation tools is used to generate a computer resource corresponding to the type of the computer resource. Generate computer resources that match triggering instructions.

其中,上述各个模块的功能如上述方法实施例所记载,在此不再赘述,但不用以限制本发明。The functions of the foregoing modules are as described in the foregoing method embodiments, which are not repeated here, but are not intended to limit the present invention.

在本发明实施例中,接收用户输入的计算机资源生成触发指令;对所述计算机资源生成触发指令进行解析,获取计算机资源的类型;调用预先生成的与所述计算机资源的类型相匹配的计算机资源生成工具;接收用户输入的符合所述计算机资源类型的参数,利用所述计算机资源生成工具生成与所述计算机资源生成触发指令相匹配的计算机资源,从而实现计算机资源的自动批量生成,方便操作人员对计算机资源的管理,同时也提高了整个数字芯片前端设计和验证的进度,提高效率。In the embodiment of the present invention, a computer resource generation trigger instruction input by a user is received; the computer resource generation trigger instruction is parsed to obtain the type of the computer resource; the pre-generated computer resource matching the type of the computer resource is called Generating tool; receive the parameters input by the user that conform to the computer resource type, and use the computer resource generating tool to generate computer resources matching the computer resource generation trigger instruction, thereby realizing automatic batch generation of computer resources, which is convenient for operators The management of computer resources also improves the progress of front-end design and verification of the entire digital chip and improves efficiency.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.

Claims (9)

1.一种计算机资源生成方法,其特征在于,所述方法包括下述步骤:1. a computer resource generation method, is characterized in that, described method comprises the steps: 接收用户输入的计算机资源生成触发指令,所述计算机资源包括ram、fifo和cam;Receive the computer resource inputted by the user to generate a trigger instruction, and the computer resource includes ram, fifo and cam; 对所述计算机资源生成触发指令进行解析,获取计算机资源的类型;parsing the computer resource generation trigger instruction to obtain the type of the computer resource; 调用预先生成的与所述计算机资源的类型相匹配的计算机资源生成工具;Invoke a pre-generated computer resource generation tool that matches the type of the computer resource; 接收用户输入的符合所述计算机资源类型的参数,利用所述计算机资源生成工具生成与所述计算机资源生成触发指令相匹配的计算机资源。Receive a parameter input by a user that matches the computer resource type, and use the computer resource generation tool to generate a computer resource matching the computer resource generation trigger instruction. 2.根据权利要求1所述的计算机资源生成方法,其特征在于,当所述计算机资源为ram时,所述接收用户输入的符合所述计算机资源类型的参数,利用所述计算机资源生成工具生成与所述计算机资源生成触发指令相匹配的计算机资源的步骤具体包括下述步骤:2. The method for generating computer resources according to claim 1, wherein when the computer resources are ram, the parameters that are input by the user and conform to the computer resource types are generated by using the computer resource generation tool. The step of generating the computer resource matching the trigger instruction with the computer resource specifically includes the following steps: 接收通过命令行输入的所述ram的参数,并定义每个参数的含义,所述参数包括ram类型、ram深度和ram宽度;Receive the parameters of the ram input through the command line, and define the meaning of each parameter, and the parameters include ram type, ram depth and ram width; 根据ram的不同类型参数,设置相应的输出ram类型;According to the different types of parameters of ram, set the corresponding output ram type; 根据ram不同的深度和宽度,将ram的参数深度和宽度参数传入所述ram对应的计算机资源生成工具,并输出到生成的ram中。According to the different depths and widths of the ram, the parameter depth and width parameters of the ram are transferred to the computer resource generation tool corresponding to the ram, and output to the generated ram. 3.根据权利要求2所述的计算机资源生成方法,其特征在于,所述计算机资源生成工具由perl语言编写形成。3. The computer resource generation method according to claim 2, wherein the computer resource generation tool is formed by writing in perl language. 4.根据权利要求3所述的计算机资源生成方法,其特征在于,所述方法还包括下述步骤:4. The method for generating computer resources according to claim 3, wherein the method further comprises the following steps: 预先生成与所述计算机资源的类型相匹配的若干个计算机资源生成工具,每个所述计算机资源生成工具用于生成与所述计算机资源生成触发指令相匹配的计算机资源。Several computer resource generation tools matching the type of the computer resource are pre-generated, and each of the computer resource generation tools is used to generate a computer resource matching the computer resource generation trigger instruction. 5.一种计算机资源生成系统,其特征在于,所述系统包括:5. A computer resource generation system, wherein the system comprises: 触发指令接收模块,用于接收用户输入的计算机资源生成触发指令,所述计算机资源包括ram、fifo和cam;a trigger instruction receiving module, configured to receive a computer resource input by a user to generate a trigger instruction, and the computer resource includes ram, fifo and cam; 资源类型获取模块,用于对所述计算机资源生成触发指令进行解析,获取计算机资源的类型;a resource type acquisition module, configured to parse the computer resource generation trigger instruction to acquire the computer resource type; 工具调用模块,用于调用预先生成的与所述计算机资源的类型相匹配的计算机资源生成工具;a tool invocation module for invoking a pre-generated computer resource generation tool that matches the type of the computer resource; 参数接收模块,用于接收用户输入的符合所述计算机资源类型的参数;a parameter receiving module, configured to receive a parameter input by a user that conforms to the type of the computer resource; 资源生成模块,用于利用所述计算机资源生成工具生成与所述计算机资源生成触发指令相匹配的计算机资源。A resource generation module, configured to use the computer resource generation tool to generate computer resources matching the computer resource generation trigger instruction. 6.根据权利要求5所述的计算机资源生成系统,其特征在于,当所述计算机资源为ram时,所述参数接收模块具体包括:6. The computer resource generation system according to claim 5, wherein when the computer resource is ram, the parameter receiving module specifically comprises: ram参数接收定义模块,用于接收通过命令行输入的所述ram的参数,并定义每个参数的含义,所述参数包括ram类型、ram深度和ram宽度;所述资源生成模块具体包括:The ram parameter receiving definition module is used to receive the parameters of the ram input through the command line, and define the meaning of each parameter, and the parameters include ram type, ram depth and ram width; the resource generation module specifically includes: 所述资源生成模块具体包括:The resource generation module specifically includes: ram类型设置模块,用于根据ram的不同类型参数,设置相应的输出ram类型;The ram type setting module is used to set the corresponding output ram type according to different types of parameters of ram; ram资源生成模块,用于根据ram不同的深度和宽度,将ram的参数深度和宽度参数传入所述ram对应的计算机资源生成工具,并输出到生成的ram中。The ram resource generation module is used to input the parameter depth and width parameters of the ram into the computer resource generation tool corresponding to the ram according to the different depths and widths of the ram, and output them to the generated ram. 7.根据权利要求6所述的计算机资源生成系统,其特征在于,所述计算机资源生成工具由perl语言编写形成。7. The computer resource generation system according to claim 6, wherein the computer resource generation tool is formed by writing perl language. 8.根据权利要求7所述的计算机资源生成系统,其特征在于,所述系统还包括:8. The computer resource generation system according to claim 7, wherein the system further comprises: 资源工具生成模块,用于预先生成与所述计算机资源的类型相匹配的若干个计算机资源生成工具,每个所述计算机资源生成工具用于生成与所述计算机资源生成触发指令相匹配的计算机资源。A resource tool generation module, configured to pre-generate several computer resource generation tools that match the type of the computer resource, each of the computer resource generation tools is used to generate a computer resource that matches the computer resource generation trigger instruction . 9.一种计算机,其特征在于,包括权利要求6所述的计算机资源生成系统。9 . A computer, comprising the computer resource generation system of claim 6 . 10 .
CN201710686398.2A 2017-08-11 2017-08-11 Method, system and computer for generating computer resources Active CN107436770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710686398.2A CN107436770B (en) 2017-08-11 2017-08-11 Method, system and computer for generating computer resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710686398.2A CN107436770B (en) 2017-08-11 2017-08-11 Method, system and computer for generating computer resources

Publications (2)

Publication Number Publication Date
CN107436770A CN107436770A (en) 2017-12-05
CN107436770B true CN107436770B (en) 2020-10-20

Family

ID=60460581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710686398.2A Active CN107436770B (en) 2017-08-11 2017-08-11 Method, system and computer for generating computer resources

Country Status (1)

Country Link
CN (1) CN107436770B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7457805B2 (en) * 1999-07-26 2008-11-25 Microsoft Corporation Method and system for processing HTTP requests creating a new map for an entire namespace that is associated with the request and that maps the name extension to the further content type within namespace
CN101384050A (en) * 2008-10-14 2009-03-11 深圳市戴文科技有限公司 Mobile terminal, method and system for resource management
US7757214B1 (en) * 2005-11-10 2010-07-13 Symantec Operating Coporation Automated concurrency configuration of multi-threaded programs
CN102436373A (en) * 2011-09-13 2012-05-02 上海普元信息技术股份有限公司 Method for Realizing Resource Loading and Resource Hot Update in Enterprise Distributed Application System
CN105391774A (en) * 2015-10-15 2016-03-09 珠海市君天电子科技有限公司 Resource request method and device based on amazon network server
CN105511934A (en) * 2015-12-08 2016-04-20 贵阳朗玛信息技术股份有限公司 Resource processing method and device in application program development

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7457805B2 (en) * 1999-07-26 2008-11-25 Microsoft Corporation Method and system for processing HTTP requests creating a new map for an entire namespace that is associated with the request and that maps the name extension to the further content type within namespace
US7757214B1 (en) * 2005-11-10 2010-07-13 Symantec Operating Coporation Automated concurrency configuration of multi-threaded programs
CN101384050A (en) * 2008-10-14 2009-03-11 深圳市戴文科技有限公司 Mobile terminal, method and system for resource management
CN102436373A (en) * 2011-09-13 2012-05-02 上海普元信息技术股份有限公司 Method for Realizing Resource Loading and Resource Hot Update in Enterprise Distributed Application System
CN105391774A (en) * 2015-10-15 2016-03-09 珠海市君天电子科技有限公司 Resource request method and device based on amazon network server
CN105511934A (en) * 2015-12-08 2016-04-20 贵阳朗玛信息技术股份有限公司 Resource processing method and device in application program development

Also Published As

Publication number Publication date
CN107436770A (en) 2017-12-05

Similar Documents

Publication Publication Date Title
Fadiji et al. The efficacy of finite element analysis (FEA) as a design tool for food packaging: A review
CN112860256B (en) A visual configuration system and method for Linux kernel device tree
CN106293664A (en) Code generating method and device
CN110955410A (en) Automatic code generation method, device, equipment and medium
CN104007984B (en) A method and device for converting data
CN107577483A (en) Component engineering calls method, storage medium, equipment and the system of main works code
CN111984235A (en) Customizable front-end low-code development system and method
CN110543295B (en) Visual Web front-end project construction system
CN103116508B (en) A kind of general-purpose interface of SAP system and its implementation
CN105068812B (en) A kind of list generation method and device
CN114035785B (en) A method for automatically generating verification properties of AADL model combinations based on natural language requirements
CN105677324A (en) Method for automatically generating entity type codes
CN112685435A (en) Table query method and system based on Vue and Mybatis
CN102855234B (en) Makeup method and makeup device used for variable data
CN108153522B (en) Method for generating Spark and Hadoop program codes by midcore based on model conversion
CN108132783A (en) A kind of configuration method and device of Web App
CN107436770B (en) Method, system and computer for generating computer resources
CN102567592A (en) Stamping die auxiliary designing method and system utilizing same
CN108154341A (en) United Dispatching platform and method of work based on data flow and workflow
CN104657136B (en) Integrated system of Simulink components
CN110888672A (en) Metadata architecture-based expression engine implementation method and system
CN103034742A (en) Method for generating devices rapidly
CN112130849B (en) Code automatic generation method and device
CN110990000B (en) Data request processing method, device and equipment of MVC pattern design model layer
CN105335161A (en) Method for conversion from TASM time abstract state machine to extension NTA automatic machine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200917

Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province

Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 450018 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601

Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Building 9, No.1, guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Wuzhong District, Suzhou City, Jiangsu Province

Patentee after: Suzhou Yuannao Intelligent Technology Co.,Ltd.

Country or region after: China

Address before: Building 9, No.1, guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Wuzhong District, Suzhou City, Jiangsu Province

Patentee before: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd.

Country or region before: China