Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Statement block packaging method and device, electronic equipment and storage medium

An encapsulation method and statement block technology, applied in CAD circuit design, computer-aided design, electrical digital data processing, etc., can solve the problems of a large number of grammar types and complex internal structures, achieve rapid layout planning, and reduce the introduction of errors. effect of risk

Active Publication Date: 2021-08-13
S2C
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, when encountering a statement block containing a compound structure, such as a statement block containing a compound structure such as interface / package / struct, it is necessary to go deep into these structures, search and analyze their syntax and signals, and these compound structures The internal structure of is extremely complex, and the number of grammar types involved is extremely large. It is necessary to build a dedicated grammar analysis library to match all grammar rules in order to ensure correct parsing

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Statement block packaging method and device, electronic equipment and storage medium
  • Statement block packaging method and device, electronic equipment and storage medium
  • Statement block packaging method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0117] Example 1: Merge operation between modules.

[0118] Suppose the current processing module is as Figure 5 The top module shown is merging the submodules and statement blocks inside the top module before merging. The top module has an input signal top_signal1 and an output signal top_signal2, and the module has an internal signal inter_signal1 and a composite structure (Interface type) instance interf1, and two instances of submodules that use interf1, as well as other signals, submodules, and statement blocks.

[0119] For example, if interf1 is not used by other submodules or statement blocks, it is only used by sub_module1 and sub_module2, and inter_signal1 is the internal transmission signal of these two modules.

[0120] Therefore, if Image 6 As shown, according to the merge operation rules, sub_module1 and sub_module2 can be merged, that is, interf1 and inter_signal1 are taken back as internal signals, and a merged new module (namely newmodule) is created. The ...

example 2

[0122] Example 2: Merge between module and block.

[0123] Suppose the current processing module is as Figure 8 The top module shown contains an always statement block (block), which uses interf1, so the statement block is a complex statement block, and sub_module1 also uses the interf1, which needs to be merged. Let's merge them together.

[0124] If interf1 is only used by this always statement block and sub_module1, the merged result can be as follows Figure 9 As shown, the result after updating to topmodule is as follows Figure 10 shown.

[0125] further, such as Figure 11-Figure 12 It is shown as a schematic illustration, that is, if interf1 is used by other submodules or statement blocks in topmodule except the always statement block and sub_module1, then this interface should be reserved in the port of the new module (that is, the combine_sub_module_new module in the figure) to complete and Further merging of other parts until all submodules or statement blocks...

example 3

[0126] Example 3: Merge between statement blocks.

[0127] The merging operation between two statement blocks is the same as the above two merging cases.

[0128] Assuming that interf1 is only used by these two alwaysblocks, the merge effect is as follows Figure 13-Figure 15 shown.

[0129] Further, if other submodules or statement blocks are used, the processing method is similar to the description in the previous example 2, that is, the port of interf1 is reserved in the new submodule for further merging with other related parts, and no further description will be given.

[0130] In some implementations, two-by-two merging may be used in the merging operation, and sequentially aggregated into a larger new module, which can improve processing efficiency.

[0131] During implementation, the collected statement items are combined, which may include:

[0132] Combining the collected statement items into pairs to form a third module;

[0133] The third module is instantiated...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a statement block packaging method and device, electronic equipment and a storage medium, which are applied to the technical field of electronic design automation, and the packaging method comprises the following steps: determining a plurality of statement blocks to be packaged according to a segmentation boundary obtained by an RTL segmentation tool; traversing each to-be-packaged statement block, wherein a module where the current to-be-packaged statement block is located is used as a current processing module; and scanning the current processing module, determining whether the current processing module contains a black box signal, and carrying out packaging processing according to the black box signal clustering sub-module and the statement block. The packaging processing is performed by taking the black box signal as the link, so that the RTL segmentation tool is suitable for packaging the submodules and statement blocks under different grammar rules, the processing efficiency is improved, and rapid layout planning is realized.

Description

technical field [0001] The invention relates to the technical field of electronic design automation, in particular to a sentence block packaging method, device, electronic equipment and storage medium. Background technique [0002] The function of the RTL (Register Transfer Level, register conversion level circuit) segmentation tool is to divide the user's chip logic design code into several parts of code, which run on different FPGAs (Field Programmable Gate Array, Field Programmable Logic Gate Array). Among them, FPGAs communicate with each other through interconnection lines, and FPGAs can perform parallel synthesis and logic verification. Among them, the processing flow of the RTL segmentation tool is roughly: determine the segmentation boundary, encapsulate the statement block, form the graph structure, graph segmentation, and transfer the graph segmentation result back to the RTL-level language, so that the synthesis tool can perform logic synthesis, layout, etc. on ea...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F30/34G06F30/343G06F30/347G06F8/33
CPCG06F30/34G06F30/343G06F30/347G06F8/33G06F8/427G06F30/327G06F9/44
Inventor 邵中尉张吉锋
Owner S2C
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products