CN103942079B - Netlist builds and loading method and its system - Google Patents

Netlist builds and loading method and its system Download PDF

Info

Publication number
CN103942079B
CN103942079B CN201410198194.0A CN201410198194A CN103942079B CN 103942079 B CN103942079 B CN 103942079B CN 201410198194 A CN201410198194 A CN 201410198194A CN 103942079 B CN103942079 B CN 103942079B
Authority
CN
China
Prior art keywords
functional module
channel
module
netlist
identifier
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.)
Expired - Fee Related
Application number
CN201410198194.0A
Other languages
Chinese (zh)
Other versions
CN103942079A (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.)
ZHANGJIAGANG FU'AN ELECTRONIC SCIENCE & TECHNOLOGY Co Ltd
Original Assignee
ZHANGJIAGANG FU'AN ELECTRONIC SCIENCE & 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 ZHANGJIAGANG FU'AN ELECTRONIC SCIENCE & TECHNOLOGY Co Ltd filed Critical ZHANGJIAGANG FU'AN ELECTRONIC SCIENCE & TECHNOLOGY Co Ltd
Priority to CN201410198194.0A priority Critical patent/CN103942079B/en
Publication of CN103942079A publication Critical patent/CN103942079A/en
Application granted granted Critical
Publication of CN103942079B publication Critical patent/CN103942079B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

The present invention relates to netlist designing technique, disclose a kind of netlist and build and loading method and its system.In the present invention, netlist describes the network connection of each functional module using identifier and channel position, wherein identifier corresponds to the first address of above-mentioned functions module internal memory to be allocated, channel position is corresponding to the side-play amount for deviateing above-mentioned first address, so that in internal memory during reconstructed network, directly the offset information stored in netlist can be loaded into the internal memory for distributing to each functional module, eliminate secondary function module walks and find the process of match address, substantially increase the speed of netlist loading.In addition, when updating network in internal memory, only need to the offset information of the renewal each functional module related to the functional module added or the functional module deleted, it is not necessary to which a match address for related function module is found in each more new capital, facilitates the renewal of network.

Description

Netlist builds and loading method and its system
Technical field
The present invention relates to netlist designing technique, more particularly to netlist builds and loading method and its system.
Background technology
Network is, various homogeneities or module heterogeneous, with certain function, to be combined together by interconnection, realizes certain The colony of specific function.Such as internet is a network, and numerous computers, the equipment such as mobile phone is by wired or wireless for it Mode links together, and realizes the exchange of information and shares.Such as one circuit design is also a network again, and it is numerous Submodule such as NAND gate, trigger etc. link together, and realize a specific function.Network model is a kind of expression of network Mode, same network can have various models to describe.Netlist is according to certain net network text or binary format Network model is depicted and, and can be used for the file of computer disposal.Interconnection letter in network between the information and module of various modules Breath, is required for being expressed by the form of netlist, then is read into calculator memory and is processed, or carries out certain row It is emulation, or sets up certain information flow channel.The resource increased or decreased in network also will dynamically adjust netlist, and Store in hard media to facilitate processed again next time.
Shown in Fig. 1 is a simple network N etworkA, and it includes 3 functional modules M1, M2 and M3,2 inputs Passage InA and InB, 2 output channel OutA and the interconnection between OutB, and module.Accordingly, describe this network also by This 3 part is constituted:Functional module definition, interconnection and I/O channel.Fig. 2 is exactly that a kind of text of network N etworkA is retouched State.
For the netlist shown in Fig. 2 if being processed in calculator memory to be read into, generally there are two steps Suddenly:
Step 1. sets up all of functional module in internal memory, including:
A) net meter file is read in;
B) to all of functional module storage allocation in netlist, and its first address is recorded;
C) corresponding input and output and functions of modules defined in each functional module institute storage allocation;
Step 2. sets up all of interconnecting relation in internal memory:
A) interconnection according to defined in netlist, travels through the functional module in all internal memories, finds its address in internal memory, Or calculate corresponding memory address by hash algorithm;
B) address of the functional module and its input and output that matching is interconnected in internal memory is inserted in corresponding functional module In depositing.
Two above step is only completed, the information reflected in netlist can just be accepted by a computer and be processed.
It was found by the inventors of the present invention that above-mentioned steps 2 take time to travel through all of functional module due to needing, matching is found Corresponding memory address, refills corresponding address information, less efficient.
Accordingly, it would be desirable to a kind of can be rapidly loaded internal memory and be easy to the netlist structure for updating.
The content of the invention
Built it is an object of the invention to provide a kind of netlist and loading method and its system, omit secondary function module time The process of match address is gone through and found, netlist is substantially increased and is loaded into speed.
In order to solve the above technical problems, embodiments of the present invention disclose a kind of netlist construction method, including following step Suddenly:
The identifier and memory size to be allocated of functional module are set, and identifier corresponds to functional module internal memory to be allocated First address;
The channel position of I/O channel in functional module is set, and channel position is to be allocated corresponding to functional module is deviateed The side-play amount of the first address of internal memory;
Link information between functional module and functional module is set according to identifier and channel position;
The function information of functional module is set.
Embodiments of the present invention also disclose a kind of netlist loading method, comprise the following steps:
Read netlist and module index table set up according to the identifier of functional module in netlist, in the module index table on State first address of the identifier corresponding to functional module internal memory to be allocated;
According to the memory size to be allocated of functional module in netlist come storage allocation;
The functional module and function set according to identifier and channel position are loaded into the internal memory that functional module is distributed The link information of intermodule, channel position represents the I/O channel in functional module and divides corresponding to functional module is deviateed The side-play amount of the first address with internal memory;
Function information is loaded into the internal memory that functional module is distributed;
During the first address of functional module institute storage allocation inserted into module index table.
Embodiments of the present invention also disclose a kind of netlist constructing system, including:
Module setting unit, identifier and memory size to be allocated for setting functional module, identifier is corresponded to The first address of functional module internal memory to be allocated;
Passage setting unit, the channel position for setting I/O channel in functional module, channel position is corresponded to Deviate the side-play amount of the first address of functional module internal memory to be allocated;
Information setting unit, for setting the connection letter between functional module and functional module according to identifier and channel position Breath, and the function information of functional module is set.
Embodiments of the present invention also disclose a kind of netlist loading system, including:
Index sets up unit, for reading netlist, setting up module index table according to the identifier of functional module in netlist And during the first address of functional module institute storage allocation inserted into module index table, identifier corresponds to function in module index table The first address of module institute storage allocation;
Memory Allocation unit, for according to the memory size to be allocated of functional module in netlist come storage allocation;
Information is loaded into unit, is set according to identifier and channel position for being loaded into the internal memory that is distributed in functional module Functional module and functional module between link information, channel position represents the I/O channel in functional module and corresponds to Deviate the side-play amount of the first address of functional module institute storage allocation, and function letter is loaded into the internal memory that functional module is distributed Breath.
Compared with prior art, the main distinction and its effect are embodiment of the present invention:
In netlist of the invention, the network connection of each functional module is described using identifier and channel position, wherein , corresponding to the first address of above-mentioned functions module internal memory to be allocated, channel position is corresponding to the skew for deviateing above-mentioned first address for identifier Amount, during reconstructed network, directly can be loaded into the offset information stored in netlist and distribute to function mould so as in internal memory In the internal memory of block, eliminate secondary function module walks and find the process of match address, substantially increase the speed of netlist loading Degree;
In the present invention, loading describes the netlist of the network connection of each functional module using identifier and channel position, Wherein, corresponding to the first address of above-mentioned functions module institute storage allocation, channel position is corresponding to the above-mentioned first address of deviation for identifier Side-play amount, module index table is set up according to above-mentioned identifier and address offset amount corresponding with channel position, Ke Yizhi is combined Connect and the link information of each functional module in netlist is loaded into internal memory, eliminate secondary function module walks and find matchingly The process of location, substantially increases the speed of netlist loading.
Further, when updating network in internal memory, it is only necessary to update and the functional module added or the function of being deleted The offset information of the related each functional module of module, it is not necessary to related function module of each more new capital searching With address, the renewal of network is facilitated, netlist is quickly rebuild in internal memory.
Brief description of the drawings
Fig. 1 is a kind of structural representation of existing network;
Fig. 2 is a kind of structural representation of existing netlist;
Fig. 3 is a kind of schematic flow sheet of netlist construction method in first embodiment of the invention;
Fig. 4 is a kind of schematic flow sheet of netlist loading method in second embodiment of the invention;
Fig. 5 is a kind of structural representation of netlist in second embodiment of the invention;
Fig. 6 is a kind of loading flow chart of netlist in second embodiment of the invention;
Fig. 7 is a kind of structural representation of netlist constructing system in third embodiment of the invention;
Fig. 8 is a kind of structural representation of netlist loading system in four embodiment of the invention.
Specific embodiment
In the following description, in order that reader more fully understands the application and proposes many ins and outs.But, this Even if the those of ordinary skill in field is appreciated that many variations without these ins and outs and based on following implementation method And modification, it is also possible to realize the application each claim technical scheme required for protection.
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to implementation of the invention Mode is described in further detail.
First embodiment of the invention is related to a kind of netlist construction method.Fig. 3 is that the flow of the netlist construction method is illustrated Figure.As shown in figure 3, the netlist construction method is comprised the following steps:
In step 301, the identifier and memory size to be allocated of functional module are set, and identifier corresponds to function mould The first address of block internal memory to be allocated.It is appreciated that identifier can self-defining (such as can be using as in Fig. 5 as needed Square frame 503 shown in implicit mode, or display mode), as long as each functional module can be distinguished.
Then into step 302, the channel position of I/O channel in functional module is set, channel position is corresponding to inclined From the side-play amount of the first address of functional module internal memory to be allocated.Preferably, in the present embodiment, used in each functional module Identical I/O channel sequence number rule.It is appreciated that can also come as needed in other embodiment of the invention The channel position of each functional module is set, for example, the channel position of input channel is first set up in each functional module, followed by Channel position of output channel etc. is set, as long as structure and the loading of netlist can be facilitated.
Then into step 303, the connection letter between functional module and functional module is set according to identifier and channel position Breath.
As optional embodiment, the I/O channel in functional module, wherein x are represented with (x, y), y is integer, X is the identifier of functional module, and y is the channel position of I/O channel.Then in step 303, by functional module Addition (x, y) is y's to set with channel position in the functional module that identifier is x in the action scope of corresponding I/O channel The connection of I/O channel.
Furthermore, it is to be understood that above-mentioned (x, y) is only a kind of preferred representation, in other embodiment of the invention In I/O channel in each functional module, such as plural form x+yi, as long as energy can also be represented using other forms Corresponding I/O channel is pointed to form the connection with the passage by identifier and channel position, however it is not limited to above-mentioned Form.Also, x, y are also not necessarily limited to above-mentioned integer, it is also possible to be defined as the other types such as character or character string as needed.
Then into step 304, the function information of functional module is set.It is not invention of the invention due to function information Point, and the common knowledge that function information is those skilled in the art is set to functional module, no longer repeat herein.
Hereafter this flow is terminated.
In the netlist of present embodiment, the network connection of each functional module is described using identifier and channel position, Wherein, corresponding to the first address of above-mentioned functions module internal memory to be allocated, channel position is corresponding to the above-mentioned first address of deviation for identifier Side-play amount, during reconstructed network, directly can be loaded into the offset information stored in netlist and distribute to work(so as in internal memory In the internal memory of energy module, eliminate secondary function module walks and find the process of match address, substantially increase netlist loading Speed.
Additionally, when netlist is adjusted, i.e., when adding or deleting functional module, it is only necessary to by the skew of related function module Amount information inserts new functional module or is deleted the link information related to the functional module deleted according to identifier, A match address for related function module need not be found in more new capital every time, facilitate the renewal of network.Specifically:
1. when new functional module is added in netlist:
The identifier and memory size to be allocated of new functional module are set, and the identifier of the new functional module is corresponding In the first address of new functional module internal memory to be allocated.
The channel position of I/O channel in new functional module is set, and the channel position of the new functional module is corresponding In the side-play amount of the first address for deviateing new functional module internal memory to be allocated.
The link information of new functional module and other functions intermodule is set according to identifier and channel position and is updated The link information of the functional module that the functional module new with this is connected.
The function information of new functional module is set.
2. when deleting functional module in netlist:
Delete the information of the corresponding function module.
According to the identifier of the functional module deleted, the link information relevant with the functional module deleted is deleted simultaneously The link information of the functional module that renewal is connected with the functional module deleted.
Second embodiment of the invention is related to a kind of netlist loading method, is suitable to load the netlist of above-mentioned structure.Fig. 4 is this The schematic flow sheet of netlist loading method.As shown in figure 4, the netlist loading method is comprised the following steps:
In step 401, read netlist and module index table is set up according to the identifier of functional module in netlist, in mould First address of the identifier corresponding to functional module internal memory to be allocated in block concordance list.It is appreciated that identifier can be as needed Self-defining (for example can be using the implicit mode as shown in the square frame 503 in Fig. 5, or display mode), as long as can distinguish Each functional module.
Then into step 402, according to the memory size to be allocated of functional module in netlist come storage allocation.
Then into step 403, it is loaded into the internal memory that functional module is distributed and is set according to identifier and channel position Functional module and functional module between link information, channel position represents the I/O channel in functional module and corresponds to Deviate the side-play amount of the first address of functional module institute storage allocation.Preferably, in the present embodiment, make in each functional module With identical I/O channel sequence number rule.It is appreciated that can also be as needed in other embodiment of the invention To set the channel position of each functional module, for example, the channel position of input channel is first set up in each functional module, then connect Channel position of setting output channel etc., as long as structure and the loading of netlist can be facilitated.
Used as optional embodiment, netlist represents the I/O channel in functional module, wherein x with (x, y), and y is Integer, x is the identifier of functional module, and y is the channel position of I/O channel.Then in step 403, by function mould The action scope comprising (x, y) is set up in the internal memory that corresponding I/O channel is distributed in block to be loaded into the work(with identifier for x Channel position is the link information of the I/O channel of y in energy module.
Furthermore, it is to be understood that above-mentioned (x, y) is only a kind of preferred representation, in other embodiment of the invention In I/O channel in each functional module, such as plural form x+yi, as long as energy can also be represented using other forms Corresponding I/O channel is pointed to form the connection with the passage by identifier and channel position, however it is not limited to above-mentioned Form.Also, x, y are also not necessarily limited to above-mentioned integer, it is also possible to be defined as the other types such as character or character string as needed.
Then into step 404, function information is loaded into the internal memory that functional module is distributed.Because function information is not Inventive point of the invention, and the common knowledge that function information is those skilled in the art is set to functional module, no longer herein Repeat.
Then into step 405, during the first address of functional module institute storage allocation inserted into module index table.
Hereafter this flow is terminated.
In above-mentioned loading procedure, Memory Allocation can be one by one carried out to functional module and corresponding connection letter is loaded into Breath and function information, because these link informations are represented by identifier and channel position, can be directly loaded into, therefore need not All functional modules are traveled through to find actual address.It is appreciated that after storage allocation is to One function module or can be loaded into After One function module information, module index table is updated once immediately, it is also possible to after storage allocation gives all functional modules Or after being loaded into all functional module informations, then module index table is updated.Furthermore, it is to be understood that module index table can be with Set up before storage allocation, it is also possible to set up after storage allocation, however it is not limited to the order shown in Fig. 4.
In the present embodiment, loading describes the net of the network connection of each functional module using identifier and channel position , corresponding to the first address of above-mentioned functions module institute storage allocation, channel position is corresponding to deviateing above-mentioned head for table, wherein identifier The side-play amount of location, module index table is set up according to above-mentioned identifier and address offset amount corresponding with channel position is combined, can So that directly the link information of each functional module in netlist is loaded into internal memory, secondary function module walks and searching are eliminated Process with address, substantially increases the speed of netlist loading.
Additionally, when updating network in internal memory, it is only necessary to update and the new functional module added or the function mould deleted The offset information of the related each functional module of block, it is not necessary to find a matching for related function module in each more new capital Address, facilitates the renewal of network.Specifically:
1. when above-mentioned netlist with the addition of new functional module:
The identifier of functional module new in netlist is insmoded concordance list, the new function mould in module index table First address of the identifier of block corresponding to new functional module internal memory to be allocated.
According to functional module new in netlist memory size to be allocated come storage allocation.
The new function mould set according to identifier and channel position is loaded into the internal memory that new functional module is distributed The link information of block and other functions intermodule, the channel position of new functional module represents that the input in new functional module is defeated Go out passage and corresponding to the side-play amount of the first address for deviateing new functional module institute storage allocation.
Function information is loaded into the internal memory that new functional module is distributed.
During the first address of new functional module institute storage allocation inserted into module index table.
It is loaded into and the new functional module in the internal memory that the corresponding function module being connected with new functional module is distributed Link information.
2. when above-mentioned netlist deletes functional module:
The corresponding information deleted the corresponding function module internal memory for being distributed and update in module index table (is identified as set Symbol and first address are invalid flag).
According to the identifier of the functional module deleted, in the corresponding function module institute being connected with the functional module deleted The link information relevant with the functional module deleted is deleted in the internal memory of distribution.
In one of the invention preferred example, netlist structure and netlist loading procedure difference are as shown in Figure 5, Figure 6.
In Figure 5, square frame 501 is that a kind of preferred text is described network N etworkA or two enter as defined in the present invention System description.Numeral (0~3) wherein before each module (NetworkA, M1~M3) is to play a part of " identifier ", mark The beginning of functional module definition, separator colon is used for distinguishing each different definition field.”Module”,“Input”, " Output " is keyword, is respectively intended to identify defined functional module name, I/O channel name.SizeA, SizeM1..sizeM3 then defines size of each functional module in internal memory, is generally represented with byte number.Left and right bracket and funny Number it is also separator, comma is used for separating multiple connected functional modules and channel position, and the numeral in the bracket of left and right is to respectively For representing functional module and channel position, first digit represents position of the connected functional module in whole netlist Put, such as 0 represent top-level module (NetworkA), 1 represents first module (M1) ... in netlist, and second digit represents institute Which passage of the functional module of connection, such as 0 expression In0 (or InA), 1 expression In1 (or InB), 2 expression Out0 (or OutA) etc..
Square frame 502 is image explanation of each functional module distribution in internal memory, and channel sequence will be according in channeling domain Above-mentioned order is carried out, and such as 0 represents In0 (or InA), and 1 represents In1 (or InB) etc..It will be appreciated, of course, that in the present invention Other embodiment in, channel sequence can voluntarily be configured as needed, be not limited to the order in square frame 501.Square brackets In numeral it is identical with the definition in square frame 501, be respectively intended to represent functional module and channel position, square brackets are a kind of dividing Every symbol, for representing different internal storage locations.[- 1, -1] full stop represents the end of the passage connection unit.Square frame 503 is each Under the first address that functional module is distributed in internal memory is according to the journal of each functional module arrangement in square frame 501, as mould Block concordance list is used.
All of identifier, separator, keyword, full stop is not limited to character or word defined in above-mentioned example Symbol string, can self-defining as needed.
Fig. 6 is the flow chart that netlist is read in and established a connection.As shown in fig. 6, reading in netlist (such as Fig. 5 first Shown netlist), functional module sum Num in netlist is calculated, and module index table is set up according to functional module sum Num Table;Then storage allocation gives each functional module M (Address_M, size M), each functional module M is obtained first address and is Address_M, memory size are the internal memory of size M;Then set up functional module M memory mappings:Address_M->channel [0] [0]=[1,4], Address_M->(the input channel In0 with functional module M3 is for channel [0] [1]=[2,1] ... Example), and update module concordance list:Table [i]=Address_M, so circulation, until configuring all functional modules.Herein In have ignored description to functions of modules because it is not emphasis of the invention.It is appreciated that in other embodiment of the invention In, it is also possible to after all functional modules are configured, then module index table is updated.Furthermore, it is to be understood that module index Table Table can also set up after storage allocation.
Specifically, the connection of the input channel In2 of output channel out0 to the Module M2 for Module M3, can be with Directly with Table [Table [3]->channel[2][0][0]]->channel[Table[3]->channel[2][0][1]] To represent, wherein:
The first address of Table [3] //Module M3
Table[3]->The passage out0 action scopes of channel [2] // sensing Module M3
Table[3]->First unit ([2,2], out0 only one of which in this example in channel [2] [0] // action scope Connection unit)
Mod_index=Table [3]->The first number in channel [2] [0] [0] // [2,2], points to Module M2
Channel_index=Table [3]->The second number in channel [2] [0] [1] // [2,2], points to passage Sequence number 2
The first address of Table [mod_index] //Module M2
Table[mod_index]->The passage 2 of channel [channel_index] //Module M2 remaining each passage Between connection can all represent in fashion described above.
These are only a preferred embodiment of netlist structure and netlist is loaded based on the preferred netlist structure Method.It is appreciated that using the netlist of other structures and can also be loaded in other embodiments of the invention, not It is limited to above-mentioned form.
Each method implementation method of the invention can be realized with modes such as software, hardware, firmwares.No matter the present invention be with Software, hardware or firmware mode realize that instruction code may be stored in the addressable memory of any kind of computer In (such as it is permanent or revisable, it is volatibility or non-volatile, it is solid-state or non-solid, it is fixed or Replaceable medium of person etc.).Equally, memory may, for example, be programmable logic array (Programmable Array Logic, referred to as " PAL "), random access memory (Random Access Memory, referred to as " RAM "), programmable read-only deposit Reservoir (Programmable Read Only Memory, referred to as " PROM "), read-only storage (Read-Only Memory, letter Claim " ROM "), Electrically Erasable Read Only Memory (Electrically Erasable Programmable ROM, referred to as " EEPROM "), disk, CD, digital versatile disc (Digital Versatile Disc, referred to as " DVD ") etc..
Third embodiment of the invention is related to a kind of netlist constructing system.Fig. 7 is the structural representation of the netlist constructing system Figure.As shown in fig. 7, the netlist constructing system includes:
Module setting unit, identifier and memory size to be allocated for setting functional module, identifier is corresponded to The first address of functional module internal memory to be allocated.It is appreciated that identifier can be using implicit as shown in the square frame 503 in Fig. 5 Mode, or display mode.
Passage setting unit, the channel position for setting I/O channel in functional module, channel position is corresponded to Deviate the side-play amount of the first address of functional module internal memory to be allocated.
Information setting unit, for setting the connection letter between functional module and functional module according to identifier and channel position Breath, and the function information of functional module is set.
As optional embodiment, the I/O channel in functional module, wherein x are represented with (x, y), y is integer, X is the identifier of functional module, and y is the channel position of I/O channel.Then above- mentioned information setting unit is by function mould (x, y) is added in block in the action scope of corresponding I/O channel to set and channel position in the functional module that identifier is x It is the connection of the I/O channel of y.
Furthermore, it is to be understood that (x, y) is only a kind of preferred representation, in other embodiment of the invention The I/O channel in each functional module, such as plural form x+yi can be represented using other forms, as long as can pass through Identifier and channel position point to corresponding I/O channel to form the connection with the passage, however it is not limited to above-mentioned shape Formula.Also, x, y are also not necessarily limited to above-mentioned integer, it is also possible to be defined as the other types such as character or character string as needed.
In the present embodiment, netlist constructing system includes that module setting unit, passage setting unit and information set list Unit, the passage sequence that the identifier and above-mentioned passage setting unit that information setting unit is set according to above-mentioned module setting unit are set Number the network connection information between each functional module is set, wherein head of the identifier corresponding to above-mentioned functions module internal memory to be allocated Address, channel position corresponds to the side-play amount for deviateing above-mentioned first address, so that in internal memory during reconstructed network, can directly net The offset information stored in table is loaded into the internal memory for distributing to functional module, eliminates secondary function module walks and searching The process of match address, substantially increases the speed of netlist loading.
First embodiment is the method implementation method corresponding with present embodiment, and present embodiment can be implemented with first Mode is worked in coordination implementation.The relevant technical details mentioned in first embodiment are still effective in the present embodiment, in order to Reduce and repeat, repeat no more here.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in the first implementation In mode.
Four embodiment of the invention is related to a kind of netlist loading system, is suitable to load what above-mentioned netlist constructing system built Netlist.Fig. 8 is the structural representation of the netlist loading system.As shown in figure 8, the netlist loading system includes:
Index sets up unit, for reading netlist, setting up module index table according to the identifier of functional module in netlist And during the first address of functional module institute storage allocation inserted into module index table, identifier (such as can be with module index table Using the implicit mode as shown in square frame 503 in Fig. 5, or display mode) corresponding to the first address of functional module institute storage allocation.
Memory Allocation unit, for according to the memory size to be allocated of functional module in netlist come storage allocation.
Information is loaded into unit, is set according to identifier and channel position for being loaded into the internal memory that is distributed in functional module Functional module and functional module between link information, channel position represents the I/O channel in functional module and corresponds to Deviate the side-play amount of the first address of functional module institute storage allocation, and function letter is loaded into the internal memory that functional module is distributed Breath.
Used as optional embodiment, netlist represents the I/O channel in functional module, wherein x with (x, y), and y is Integer, x is the identifier of functional module, and y is the channel position of I/O channel.Above- mentioned information is loaded into unit by function It is x's to be loaded into identifier that the action scope for including (x, y) is set up in the internal memory that corresponding I/O channel is distributed in module Channel position is the link information of the I/O channel of y in functional module.
Furthermore, it is to be understood that (x, y) is only a kind of preferred representation, it will be understood that in other implementations of the invention Can also represent the I/O channel in each functional module in mode using other forms, such as plural form x+yi, only Corresponding I/O channel is pointed to form the connection with the passage by identifier and channel position, however it is not limited to Above-mentioned form.
In the present embodiment, netlist loading system sets up unit including index, and Memory Allocation unit and information are loaded into single Unit, the information be loaded into unit will be described using identifier and channel position the network connection of each functional module netlist be loaded into by In the internal memory of Memory Allocation unit distribution, wherein identifier corresponds to the first address of above-mentioned functions module institute storage allocation, passage Sequence number sets up unit according to above-mentioned identifier to set up module index corresponding to the side-play amount for deviateing above-mentioned first address, above-mentioned index Table simultaneously combines address offset amount corresponding with channel position, directly can be loaded into the link information of each functional module in netlist In internal memory, eliminate secondary function module walks and find the process of match address, substantially increase the speed of netlist loading.
Second embodiment is the method implementation method corresponding with present embodiment, and present embodiment can be implemented with second Mode is worked in coordination implementation.The relevant technical details mentioned in second embodiment are still effective in the present embodiment, in order to Reduce and repeat, repeat no more here.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in the second implementation In mode.
It should be noted that each unit mentioned in each equipment implementation method of the invention is all logic unit, physically, One logic unit can be a part for a physical location, or a physical location, can also be with multiple physics The combination of unit realizes that these logic units Physical realization in itself is not most important, and these logic units institute is real The combination of existing function is only the key of the technical problem for solving proposed by the invention.Additionally, in order to protrude innovation of the invention Part, the above-mentioned each equipment implementation method of the present invention is not less close by the technical problem relation proposed by the invention with solution Unit introduce, this be not intended that the said equipment implementation method and do not exist other units.
Although by referring to some of the preferred embodiment of the invention, being shown and described to the present invention, It will be understood by those skilled in the art that can to it, various changes can be made in the form and details, without departing from this hair Bright spirit and scope.

Claims (10)

1. a kind of netlist construction method, it is characterised in that comprise the following steps:
The identifier and memory size to be allocated of functional module are set, and the identifier is to be allocated corresponding to the functional module The first address of internal memory;
The channel position of I/O channel in the functional module is set, and the channel position is corresponding to the deviation function mould The side-play amount of the first address of block internal memory to be allocated;
Company between functional module and functional module is set according to the identifier and the channel position for each functional module Connect information;
The function information of the functional module is set.
2. netlist construction method according to claim 1, it is characterised in that in representing the functional module with (x, y) I/O channel, wherein x, y are integer, and x is the identifier of the functional module, and y is the logical of the I/O channel Road sequence number;
In the step of setting link information according to the identifier and the channel position, by the phase in the functional module Addition (x, y) is answered in the action scope of I/O channel to set the corresponding I/O channel and identifier be the function of x Channel position is the link information of the I/O channel of y in module.
3. netlist construction method according to claim 1 and 2, it is characterised in that the method is further comprising the steps of:
When new functional module is added in the netlist:
The identifier and memory size to be allocated of the new functional module, the identifier phase of the new functional module are set The first address of new functional module internal memory to be allocated described in Ying Yu;
The channel position of I/O channel in the new functional module, the channel position phase of the new functional module are set Should be in the side-play amount of the first address for deviateing the new functional module internal memory to be allocated;
The new functional module is set according to the identifier and the channel position to believe with the connection of other functions intermodule Breath, and update the link information of the functional module being connected with the new functional module;
The function information of the new functional module is set;
When deleting functional module in the netlist:
Delete the information of the corresponding function module;
According to the identifier of the functional module deleted, the link information relevant with the functional module deleted is deleted, and more The link information of the functional module being newly connected with the functional module deleted.
4. a kind of netlist loading method, it is characterised in that comprise the following steps:
Read netlist and module index table is set up according to the identifier of functional module in the netlist, in the module index table Described in identifier corresponding to functional module internal memory to be allocated first address;
Functional module memory size to be allocated is come storage allocation according to the netlist;
Be loaded into the internal memory that the functional module is distributed the functional module that is set according to the identifier and channel position with Link information between functional module, the channel position represents the I/O channel in the functional module and corresponding to deviation The side-play amount of the first address of functional module institute storage allocation;
Function information is loaded into the internal memory that the functional module is distributed;
During the first address of functional module institute storage allocation inserted into the module index table.
5. netlist loading method according to claim 4, it is characterised in that the netlist represents the work(with (x, y) I/O channel in energy module, wherein x, y are integer, and x is the identifier of the functional module, and y is the input and output The channel position of passage;
In the step of link information is loaded into the internal memory that the functional module is distributed, by corresponding in the functional module The action scope comprising (x, y) is set up in the internal memory that I/O channel is distributed to be loaded into the corresponding I/O channel with mark Channel position is the link information of the I/O channel of y in knowing the functional module that symbol is x.
6. the netlist loading method according to claim 4 or 5, it is characterised in that the method is further comprising the steps of:
When the netlist with the addition of new functional module:
The identifier of functional module new in the netlist is loaded into the module index table, described in the module index table First address of the identifier of new functional module corresponding to the new functional module internal memory to be allocated;
New functional module memory size to be allocated is come storage allocation according to the netlist;
Be loaded into the internal memory that the new functional module is distributed according to the identifier and the channel position set it is new Functional module and other functions intermodule link information, the channel position of the new functional module represents new function mould The side-play amount of the I/O channel in block and the first address corresponding to the deviation new functional module institute storage allocation;
Function information is loaded into the internal memory that the new functional module is distributed;
During the first address of the new functional module institute storage allocation inserted into the module index table;
Described the corresponding function module is loaded into the internal memory that the corresponding function module being connected with the new functional module is distributed With the link information of the new functional module;
When the netlist deletes functional module:
Internal memory and update the corresponding information in the module index table that deletion the corresponding function module is distributed;
According to the identifier of the functional module deleted, distributed in the corresponding function module being connected with the functional module deleted Internal memory in the link information relevant with the functional module deleted is deleted.
7. a kind of netlist constructing system, it is characterised in that including:
Module setting unit, identifier and memory size to be allocated for setting functional module, the identifier is corresponded to The first address of the functional module internal memory to be allocated;
Passage setting unit, the channel position for setting I/O channel in the functional module, the channel position phase Should be in the side-play amount of the first address for deviateing the functional module internal memory to be allocated;
Information setting unit, for setting functional module for each functional module according to the identifier and the channel position Link information between functional module, and the function information of the functional module is set.
8. netlist constructing system according to claim 7, it is characterised in that in representing the functional module with (x, y) I/O channel, wherein x, y are integer, and x is the identifier of the functional module, and y is the logical of the I/O channel Road sequence number;
Described information setting unit by addition (x, y) in the action scope of corresponding I/O channel in the functional module come It is the company of the I/O channel of y that the corresponding I/O channel is set with channel position in the functional module that identifier is x Connect information.
9. a kind of netlist loading system, it is characterised in that including:
Index sets up unit, for reading netlist, setting up module index table according to the identifier of functional module in the netlist And during the first address of functional module institute storage allocation inserted into the module index table, described in the module index table First address of the identifier corresponding to functional module institute storage allocation;
Memory Allocation unit, for the memory size to be allocated of the functional module according to the netlist come storage allocation;
Information is loaded into unit, for being loaded into according to the identifier and channel position in the internal memory that the functional module is distributed Link information between the functional module and functional module of setting, the channel position represents the input and output in the functional module The side-play amount of passage and the first address corresponding to deviation functional module institute storage allocation, and divide in the functional module Function information is loaded into the internal memory matched somebody with somebody.
10. netlist loading system according to claim 9, it is characterised in that the netlist represents the work(with (x, y) I/O channel in energy module, wherein x, y are integer, and x is the identifier of the functional module, and y is the input and output The channel position of passage;
Described information sets up bag in being loaded into the internal memory that unit is distributed by the corresponding I/O channel in the functional module Action scope containing (x, y) come be loaded into the corresponding I/O channel and identifier in the functional module of x channel position be y's The link information of I/O channel.
CN201410198194.0A 2014-05-12 2014-05-12 Netlist builds and loading method and its system Expired - Fee Related CN103942079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410198194.0A CN103942079B (en) 2014-05-12 2014-05-12 Netlist builds and loading method and its system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410198194.0A CN103942079B (en) 2014-05-12 2014-05-12 Netlist builds and loading method and its system

Publications (2)

Publication Number Publication Date
CN103942079A CN103942079A (en) 2014-07-23
CN103942079B true CN103942079B (en) 2017-06-20

Family

ID=51189755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410198194.0A Expired - Fee Related CN103942079B (en) 2014-05-12 2014-05-12 Netlist builds and loading method and its system

Country Status (1)

Country Link
CN (1) CN103942079B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114940A (en) * 2007-06-26 2008-01-30 中兴通讯股份有限公司 Method for implementing module logicalization
CN101419642A (en) * 2008-11-18 2009-04-29 北京巨数数字技术开发有限公司 Apparatus and method for extracting device connection relation from netlist file
CN101950272A (en) * 2010-09-10 2011-01-19 北京捷通华声语音技术有限公司 Memory management method and device in embedded system
CN102323964A (en) * 2011-08-16 2012-01-18 北京芯愿景软件技术有限公司 Digital circuit net list data processing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7315993B2 (en) * 2004-11-30 2008-01-01 Lsi Logic Corporation Verification of RRAM tiling netlist

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114940A (en) * 2007-06-26 2008-01-30 中兴通讯股份有限公司 Method for implementing module logicalization
CN101419642A (en) * 2008-11-18 2009-04-29 北京巨数数字技术开发有限公司 Apparatus and method for extracting device connection relation from netlist file
CN101950272A (en) * 2010-09-10 2011-01-19 北京捷通华声语音技术有限公司 Memory management method and device in embedded system
CN102323964A (en) * 2011-08-16 2012-01-18 北京芯愿景软件技术有限公司 Digital circuit net list data processing method

Also Published As

Publication number Publication date
CN103942079A (en) 2014-07-23

Similar Documents

Publication Publication Date Title
US10778441B2 (en) Redactable document signatures
US10901949B2 (en) Method and apparatus for compressing metadata in a file system
US10705735B2 (en) Method and device for managing hash table, and computer program product
CN105335411A (en) Method and system for data processing
CN108733312B (en) Storage management method and device
WO2019117311A1 (en) Method for enabling access to past transaction in blockchain network, and node
CN105630803B (en) The method and apparatus that Document image analysis establishes index
KR20180124545A (en) Blockchain system and method of creating blockchain
CN105095237A (en) Method and device used for generating schema of not-only-structured-query-language database
CN103559301A (en) Method of data update, database trigger and SE (search engine)
CN103744614A (en) Method for accessing solid state disc and solid state disc thereof
CN104636286A (en) Data access method and equipment
CN108255989B (en) Picture storage method and device, terminal equipment and computer storage medium
CN107291950A (en) Form data update method, device and computer equipment
CN108427736B (en) Method for querying data
Deng et al. An implicit iteration process for common fixed points of two infinite families of asymptotically nonexpansive mappings in Banach spaces
CN105574031A (en) Method and system for index of database
CN104573112A (en) Page query method and data processing node for OLTP cluster database
CN103942079B (en) Netlist builds and loading method and its system
CN113742332A (en) Data storage method, device, equipment and storage medium
CN111190869A (en) File storage method and terminal
CN106855866A (en) XML document storage method and device
CN105117169A (en) Optimized disk space management method and apparatus
CN105930534B (en) A kind of fragmentation of data reduction method based on cloud storage service price
US10366059B2 (en) Record schemas identification in non-relational database

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170620

Termination date: 20190512