CN108334313A - Continuous integrating method, apparatus and code management system for large-scale SOC research and development - Google Patents
Continuous integrating method, apparatus and code management system for large-scale SOC research and development Download PDFInfo
- Publication number
- CN108334313A CN108334313A CN201711452207.2A CN201711452207A CN108334313A CN 108334313 A CN108334313 A CN 108334313A CN 201711452207 A CN201711452207 A CN 201711452207A CN 108334313 A CN108334313 A CN 108334313A
- Authority
- CN
- China
- Prior art keywords
- library file
- design module
- modification
- design
- module
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 91
- 238000012827 research and development Methods 0.000 title claims abstract description 48
- 238000013461 design Methods 0.000 claims abstract description 239
- 238000012986 modification Methods 0.000 claims abstract description 91
- 230000004048 modification Effects 0.000 claims abstract description 91
- 230000008569 process Effects 0.000 claims abstract description 48
- 238000010276 construction Methods 0.000 claims abstract description 14
- 230000006870 function Effects 0.000 claims description 39
- 230000015654 memory Effects 0.000 claims description 23
- 230000002045 lasting effect Effects 0.000 claims description 2
- 230000008859 change Effects 0.000 description 10
- 238000012360 testing method Methods 0.000 description 6
- 230000001052 transient effect Effects 0.000 description 6
- 238000012795 verification Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000010354 integration Effects 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000010668 complexation reaction Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/362—Debugging of software
- G06F11/3648—Debugging of software using additional hardware
- G06F11/3652—Debugging of software using additional hardware in-circuit-emulation [ICE] arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/35—Creation or generation of source code model driven
- G06F8/355—Round-trip engineering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of continuous integrating method, apparatus and code management system for large size SOC research and development, wherein the method includes:Determine that the design module of modification, the design module of the modification are the design module belonging to the source code of the modification;Design module to the modification and have that the source code of the relevant design module directly contacted recompilates, structure obtains new library file with the design module of the modification;Obtain the library file of other design modules employed in last integrating process;Simulating, verifying is carried out using the new library file and the library file of other design modules.The present invention, which can be reduced, needs the scale of construction of compiling, the source code built to improve the working efficiency of Team Member and whole team so as to shorten continuous integrating process the time it takes.
Description
Technical field
The present invention relates to technical field of software engineering, and in particular to a kind of continuous integrating method researched and developed for large size SOC,
Device and code management system.
Background technology
Continuous integrating is a kind of practice of software, i.e., team's research and development member often integrates their work, by each
Member is at least integrated primary daily, and also meaning that may occur repeatedly to integrate daily.Integrated operation is all to whole journeys every time
Sequence code, which executes the operations such as compiling (compile), structure (elaborate or build), emulation (simulation or run), to be come
Verification, to find to integrate mistake as soon as possible.In practical item development practice, continuous integration system often combines Version Control soft
Part realizes the design code management work of team together.Version Control software can receive the text that each team's research and development member submits
Part (including code and text file etc.), it is ensured that the identical file edited by different members is all updated, and is stored and is tracked
The modification history of file;The exploitation and maintenance work for tracking multiple code releases, issue new software version in time.
The design code way to manage of above-mentioned continuous integration system combination Version Control software, relative to traditional manual collection
At mode, the degree of automation, standardization and the reliability of team's R&D work are promoted.
However, large size SOC (full name in English:System on Chip, Chinese:System level chip) research and development design code it is past
Toward the inner function module including SOC, multiple interface modules, multiple test modules.According to existing continuous integrating verification mode,
It is then integrated every time to be required for generating library file to all compilation of source code, structure, it can be emulated.Due to large-scale SOC's
The code scale of construction of inner function module is larger, and compiling, structure the time it takes are longer during each integrated verification, such as long
Up to three or four hours, the working efficiency of Team Member and whole team is seriously affected.
Invention content
In view of this, an embodiment of the present invention provides a kind of continuous integrating method, apparatus for large size SOC research and development and generations
Code management system, to solve the problems, such as that the integration mode for being currently used for large-scale SOC spends the time longer.
According in a first aspect, an embodiment of the present invention provides a kind of continuous integrating method for large size SOC research and development, wrap
It includes:Obtain the source code of modification;Determine the design module of modification, the design module of the modification for the modification source code institute
The design module of category;Design module to the modification and there is the relevant design directly contacted with the design module of the modification
The source code of module recompilates, structure obtains new library file;Obtain other designs employed in last integrating process
The library file of module;Simulating, verifying is carried out using the new library file and the library file of other design modules.
The above-mentioned continuous integrating method for large size SOC research and development determines setting for modification after the source code for obtaining modification
Count module, design module to modification and the source code weight for having the relevant design module directly contacted with the design module of modification
Newly compiled, structure obtain new library file for simulating, verifying, and for other design modules, then use last integrating process
Employed in library file, it is possible thereby to reduce need compiling, structure source code the scale of construction, so as to shorten continuous integrating process
The time it takes improves the working efficiency of Team Member and whole team.
Optionally, the design module of the determining modification, the design module of the modification for the modification source code institute
The design module of category;Design module to the modification and there is the relevant design directly contacted with the design module of the modification
The source code of module recompilates, structure obtains new library file;Obtain other designs employed in last integrating process
It the step of library file of module, respectively includes:The affiliated type of design module, the type packet where determining the source code of modification
Include built-in function type, interface type, test-types;Design module to affiliated type and the design module with affiliated type
There are the source code recompility of the correlation type directly contacted design module, structure to obtain new library file;Obtain last collection
The library file of module is designed at used other types in the process;It is designed using the new library file and the other types
The library file of module carries out simulating, verifying.
Aforesaid way will belong to same type of all design modules and be considered as a design module to handle, it is possible to reduce
The quantity of module is designed, simplifies the incidence relation between design module, is convenient for the realization of continuous integrating method.
Optionally, described to have the phase directly contacted to the design module of affiliated type and with the design module of affiliated type
Close the source code recompility of type design module, structure obtains new library file;It obtains employed in last integrating process
Other types design module library file;Using the new library file and the other types design the library file of module into
It the step of row simulating, verifying, respectively includes:When affiliated type be built-in function type when, to internal function type design module with
And interface type design module recompilates, structure obtains the first library file;Obtain the survey employed in last integrating process
Try the first related library file of type design module;It is emulated using first library file library file related to described first
Verification.
Optionally, described to have the phase directly contacted to the design module of affiliated type and with the design module of affiliated type
Close the source code recompility of type design module, structure obtains new library file;It obtains employed in last integrating process
Other types design module library file;Using the new library file and the other types design the library file of module into
It the step of row simulating, verifying, respectively includes:When affiliated type is test-types, module and interface class are designed to test-types
Type design module recompilates, structure obtains the second library file;Obtain the built-in function class employed in last integrating process
Type designs the second related library file of module;Emulation is carried out using second library file library file related to described second to test
Card.
Optionally, described to have the phase directly contacted to the design module of affiliated type and with the design module of affiliated type
Close the source code recompility of type design module, structure obtains new library file;Using the new library file with it is described its
The step of library file progress simulating, verifying of his type design module, further include respectively:It is right when affiliated type is interface type
Built-in function type design module, interface type design module and the recompility of test-types design module, structure obtain third
Library file;Simulating, verifying is carried out using the third library file.
Optionally, the step of library file for obtaining other design modules employed in last integrating process wraps
It includes:Obtain the snapshot of the library file of other design modules employed in last integrating process;Correspondingly, described in the use
New library file and it is described other design modules library files carry out simulating, verifying the step of include:Using the new library file
Simulating, verifying is carried out with the library snapshot of the library file of other design modules.
According to second aspect, an embodiment of the present invention provides a kind of continuous integrating device for large size SOC research and development, packets
It includes:Code obtaining unit, the source code for obtaining modification;Determination unit, the design module for determining modification, the modification
Design module be the modification source code belonging to design module;Construction unit is compiled, for the design to the modification
Module and have that the source code of the relevant design module directly contacted recompilates, structure is obtained with the design module of the modification
New library file;Library file acquiring unit, the library text for obtaining other design modules employed in last integrating process
Part;Simulating, verifying unit, for carrying out simulating, verifying using the new library file and the library file of other design modules.
Optionally, the determination unit, the compiling construction unit, the library file acquiring unit, the simulating, verifying
Unit respectively includes:First determination subelement, the affiliated type of design module, the class where the source code for determining modification
Type includes built-in function type, interface type, test-types;First compiling structure subelement, for the design to affiliated type
Module and have with the design module of affiliated type the correlation type directly contacted design module source code recompilate, structure
Obtain new library file;First library file obtains subelement, for obtaining the other types employed in last integrating process
Design the library file of module;First simulating, verifying subelement, for being designed using the new library file and the other types
The library file of module carries out simulating, verifying.
According to the third aspect, an embodiment of the present invention provides a kind of code management system for large size SOC research and development, packets
It includes:Continuous integrating program is realized and is used for large size SOC described in any one embodiment of first aspect or first aspect
The continuous integrating method of research and development;Version Control software obtains the source code that research and development member submits and is supplied to continuous integrating software, and
Receive through continuous integrating software test by program code.
According to fourth aspect, an embodiment of the present invention provides a kind of electronic equipment/mobile terminal/servers, including:Input
Device, output device, memory and processor, the input unit, the output device, the memory and the processor
Between communicate connection, be stored with computer instruction in the memory, the processor refers to by executing the computer
It enables, to execute the holding for large size SOC research and development described in any one embodiment of first aspect or first aspect
Continuous integrated approach.
It is described computer-readable an embodiment of the present invention provides a kind of computer readable storage medium according to fourth aspect
Storage medium stores computer instruction, and the computer instruction is for making the computer execute first aspect or first aspect
Any one embodiment described in the continuous integrating method researched and developed for large size SOC.
Description of the drawings
The features and advantages of the present invention can be more clearly understood by reference to attached drawing, attached drawing is schematically without that should manage
Solution is carries out any restrictions to the present invention, in the accompanying drawings:
Fig. 1 shows a kind of flow chart of continuous integrating method for large size SOC research and development according to the ... of the embodiment of the present invention;
Fig. 2 gives a kind of example of design module;
Fig. 3 shows another flow for the large size SOC continuous integrating method researched and developed according to the ... of the embodiment of the present invention
Figure;
Fig. 4 shows another example of design module;
Fig. 5 shows another flow for the large size SOC continuous integrating method researched and developed according to the ... of the embodiment of the present invention
Figure;
Fig. 6 shows a kind of principle frame of continuous integrating device for large size SOC research and development according to the ... of the embodiment of the present invention
Figure;
Fig. 7 shows another principle for the large size SOC continuous integrating device researched and developed according to the ... of the embodiment of the present invention
Block diagram;
Fig. 8 shows the principle of another continuous integrating device for large size SOC research and development according to the ... of the embodiment of the present invention
Block diagram;
Fig. 9 shows the schematic diagram of electronic equipment according to the ... of the embodiment of the present invention.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those skilled in the art are not having
There is the every other embodiment obtained under the premise of making creative work, shall fall within the protection scope of the present invention.
Embodiment one
An embodiment of the present invention provides a kind of continuous integrating method for large size SOC research and development, the totality of medium-and-large-sized SOC
The code scale of construction is larger, and according to existing continuous integrating verification mode, then each integrated verification the time it takes is longer.
Fig. 1 shows a kind of flow chart of continuous integrating method for large size SOC research and development according to the ... of the embodiment of the present invention.
As described in Figure 1, this method comprises the following steps:
S101:Obtain the source code of modification.
It researches and develops in one section of code that member submits, may not have modification per line code.Modification is submitted in research and development member
After source code, finds out the code most like with the source code of modification before a modification in code that can be, the two is compared,
Find the source code of modification.The source code of modification is likely to belong to different design modules from remaining unmodified source code.
The step of searching, can execute before step S101;Alternatively, research and development member submits generation using Version Control software
The step of code, searching, is executed by Version Control software, and step S101 only obtains the result that Version Control software is found.
S102:Determine that the design module of modification, the design module of modification are the design module belonging to the source code of modification.
Code is often divided into multiple design modules in program R&D process, each module that designs realizes a function.
Design module in the present embodiment can be for realizing the program module of a certain software function, and correspondingly, structure refers to
Build, emulation refer to run;Alternatively, can also be the hardware description language module for designing hardware capability, correspondingly, structure
Refer to elaborate, emulation refers to simulation.
S103:Design module to modification and the source for having the relevant design module directly contacted with the design module of modification
Code recompilates, structure obtains new library file.
" have with the design module of modification and directly contact " herein include relevant design module and modification design module have with
Any one in lower contact:Particular variables change leads to have variable to change therewith in relevant design module in the design module of modification
Become;Particular variables, which change in the design module for leading to modification, in relevant design module has variable to change correspondingly;The design mould of modification
The output result change of block causes corresponding input parameter in relevant design module to change;The output result of relevant design module changes
Become corresponding input parameter in the design module for leading to modification to change;Logical relation change leads to correlation in the design module of modification
Corresponding logical relation in module is designed to change;Logical relation changes right in the design module for leading to modification in relevant design module
Logical relation change answered etc., " directly contacting " can also be the contact of other forms, and the application is numerous to list herein.
It corresponds to obtain it should be added that " new library file " that step S103 is obtained can be each design module
One new library file, the application are referred to new library file herein.
S104:Obtain the library file of other design modules employed in last integrating process.
In last integrating process, it is used one design module library file may be recompility, structure obtain
, it is also possible to it obtains again employed in last integrating process.
S105:Simulating, verifying is carried out using the library file of new library file and other design modules.
For example, X, Y, Z are three design modules in Fig. 2, X has with Y directly to be contacted, and Y has with Z directly to be contacted, and X and Z is without straight
Connect contact.When the source code for designing module X has modification, X is the design module of modification, and Y is to have directly to contact with design module X
Design module, the present embodiment by design module X and Y source code recompilate, structure obtain library file X1, Y1, general name is new
Library file, new library file, library files of the design module Z employed in upper primary integrating process are subjected to emulation together and tested
Card.
The above-mentioned continuous integrating method for large size SOC research and development determines setting for modification after the source code for obtaining modification
Count module, design module to modification and the source code weight for having the relevant design module directly contacted with the design module of modification
Newly compiled, structure obtain new library file for simulating, verifying, and for other design modules, then use last integrating process
Employed in library file, it is possible thereby to reduce need compiling, structure source code the scale of construction, so as to shorten continuous integrating process
The time it takes improves the working efficiency of Team Member and whole team.
As a kind of optional embodiment of the present embodiment, step S104 includes:It obtains and is adopted in last integrating process
The snapshot of the library file of other design modules.It is researched and developed in hardware, especially in large size SOC R&D processes, " structure " is practical
Can be " hardware elaboration ", i.e. elaborate.Step S104 can obtain library file itself;Library file can also be obtained
Snapshot, snapshot give library file for emulation key message, compare and processing library file itself, processor processing library file
It is less the time required to snapshot, it can shorten primary collection in the case where not influencing simulation result to carry out emulation using library snapshot
At the time used.Correspondingly, step S105 includes:Using the library snapshot of new library file and the library file of other design modules
Carry out simulating, verifying.
It should be added that each step of continuous integrating method in the present embodiment for large size SOC research and development can be
It is executed automatically by equipment, can also be what technical staff executed.
Embodiment two
Fig. 3 shows another flow for the large size SOC continuous integrating method researched and developed according to the ... of the embodiment of the present invention
Figure.As described in Figure 3, this method comprises the following steps:
S201:Obtain the source code of modification.Please refer to step S101.
S202:The affiliated type of design module where determining the source code of modification, type includes built-in function type, interface
Type, test-types.
The member of R&D team often has the specific division of labor, such as hardware research and development include:Design SOC inner function modules
(interface module refers to SOC and is connect with external for (inner function module, the built-in function for designing SOC), design SOC interface modules
Mouthful), design SOC test modules (test module, for the built-in function of SOC or whole being tested by interface module),
The member for being engaged in each single item work is divided into a department.Team Member, can be according to the mark of the member when submitting source code
Know its residing department that determines, and then determine that it is responsible for the design module type of design, you can to know its source code submitted
Which kind of type should be belonged to.
Alternatively, Team Member when submitting source code, selects the type of its submitted source code place design module.
S203:Design module to affiliated type and there is the correlation type directly contacted with the design module of affiliated type
The source code of design module recompilates, structure obtains new library file.
S204:Obtain the library file of the other types design module employed in last integrating process.
S205:The library file that module is designed using new library file and other types carries out simulating, verifying.
Above-mentioned steps S203 to S205 please refers to step S103 to S105, and difference lies in by the design module of affiliated type
Design module as modification regard correlation type design module as relevant design module.
It designs module for example, Fig. 4 includes built-in function type design module and interface type and has and directly contact, interface class
Type design module has with test-types design module directly to be contacted, and built-in function type designs module and designs module with test-types
Between without directly contact.A, B is the design module of built-in function type, and C, D are the design module of interface type, and E is test class
The design module of type.
When the source code of the design modules A of built-in function type has modification, the design of built-in function type will be belonged to
Modules A, B are accordingly to be regarded as the design module of modification, and interface type design module has with built-in function type design module directly to be contacted,
Design module C, D for belonging to interface type is accordingly to be regarded as relevant design module.The present embodiment will design the source of modules A, B, C, D
Code recompilates, structure obtains library file A1, B1, C1, D1, and the new library file of general name sets new library file, test-types
Library file E0 of the library file of meter module E employed in upper primary integrating process carries out simulating, verifying together.
The above-mentioned continuous integrating method for large size SOC research and development will belong to same type of all design modules and be considered as
One is designed module to handle, it is possible to reduce is designed the quantity of module, is simplified the incidence relation between design module, convenient for continuing
The realization of integrated approach.For example, source program can be divided into hundreds of design modules, then need to judge each design module one by one
Between whether have direct contact, process is complex, and calculation amount is larger, expend the time it is long;And this hundreds of design modules are drawn
It is divided into after three parts, then need to only judges whether there is directly contact between these three parts, program is simple, expends the time
It is short, it is convenient for the realization of continuous integrating method.
As a kind of optional embodiment of the present embodiment, step S205 includes:It obtains and is adopted in last integrating process
Other types design the snapshot of the library file of module.Correspondingly, step S206 includes:Using new library file and other classes
The library snapshot that type designs the library file of module carries out simulating, verifying.Content in relation to library snapshot please refers to embodiment one.
It should be added that each step of continuous integrating method in the present embodiment for large size SOC research and development can be
It is executed automatically by equipment, can also be what technical staff executed.
Embodiment three
Fig. 5 shows another flow for the large size SOC continuous integrating method researched and developed according to the ... of the embodiment of the present invention
Figure.As described in Figure 5, this method comprises the following steps:
S301:Obtain the source code of modification.Please refer to step S101.
S302:The affiliated type of design module where determining the source code of modification, type includes built-in function type, interface
Type, test-types.Please refer to step S202.
When affiliated type is built-in function type, step S303 to S305 is executed;When affiliated type is test-types,
Execute step S306 to S308.
S303:Module is designed to internal function type and interface type design module recompilates, structure obtains first
Library file.
S304:Obtain the first related library file of the test-types design module employed in last integrating process.
S305:Simulating, verifying is carried out using the first library file library file related to first.
Above-mentioned example is continued to use, as shown in figure 4, when the source code of the design module B of built-in function type has modification, it will be same
Belong to the design modules A of built-in function type, B and belong to interface type design module C, D source code recompilate,
Structure obtains first library file A2, B2, C2, D2, and the design module E of the first library file and test-types was once integrated upper
Library file E1 employed in journey carries out simulating, verifying together.
S306:Module is designed to test-types and interface type design module recompilates, structure obtains the second library text
Part.
S307:Obtain the second related library text of the built-in function type design module employed in last integrating process
Part.
S308:Simulating, verifying is carried out using the second library file and the second related library file.
Above-mentioned example is continued to use, as shown in figure 4, when the source code of the design module E of test-types has modification, by test class
The design module E of type and belong to interface type design module C, D source code recompilate, structure obtain the second library text
Part E3, C3, D3, by the second library file and the design modules A, the B institutes in upper primary integrating process that belong to built-in function type
Library file A2, B2 of use carry out simulating, verifying together.
It should be added that each step of continuous integrating method in the present embodiment for large size SOC research and development can be
It is executed automatically by equipment, can also be what technical staff executed.
Example IV
Fig. 6 shows a kind of principle frame of continuous integrating device for large size SOC research and development according to the ... of the embodiment of the present invention
Figure.As described in Figure 6, which includes Code obtaining unit 10, determination unit 20, compiling construction unit 30, library file acquisition list
Member 40 and simulating, verifying unit 50.
Code obtaining unit 10 is used to obtain the source code of modification.Design module of the determination unit 20 for determining modification,
The design module of modification is the design module belonging to the source code of modification.Construction unit 30 is compiled for the design module to modification
And there are the source code recompility of the relevant design module directly contacted, structure to obtain new library text with the design module of modification
Part.Library file acquiring unit 40 is used to obtain the library file of other design modules employed in last integrating process.Emulation
Authentication unit 50 is used to carry out simulating, verifying using new library file and the library file of other design modules.
The above-mentioned continuous integrating device for large size SOC research and development can reduce need compiling, the source code built the scale of construction,
So as to shorten continuous integrating process the time it takes, the working efficiency of Team Member and whole team is improved.Referring specifically to
Embodiment one.
As shown in fig. 7, a kind of optional embodiment as the present embodiment, determination unit 20, compiling construction unit 30, library
File obtaining unit 40, simulating, verifying unit 50 respectively include the first determination subelement 21, first compiling structure subelement 31, the
One library file obtains subelement 41 and the first simulating, verifying subelement 51.
The affiliated type of design module, type include interior where source code of first determination subelement 21 for determining modification
Portion's function type, interface type, test-types.First compiling structure subelement 31 be used for the design module of affiliated type and
There are the source code recompility of the correlation type directly contacted design module, structure to obtain with the design module of affiliated type new
Library file.First library file obtains the other types that subelement 41 is used to obtain employed in last integrating process and designs module
Library file.First simulating, verifying subelement 51 is used to carry out using new library file and the library file of other types design module
Simulating, verifying.
As shown in fig. 7, optionally, the first library file acquisition subelement 41 is additionally operable to obtain to be adopted in last integrating process
The snapshot of the library file of other design modules.Correspondingly, the first simulating, verifying subelement 51 is additionally operable to use new library text
The library snapshot of part and the library file of other design modules carries out simulating, verifying.
As shown in figure 8, a kind of optional embodiment as the present embodiment, the first compiling structure subelement 31, the first library
File acquisition subelement 41, the first simulating, verifying subelement 51 respectively include the second compiling structure subelement 311, the second library file
Obtain subelement 411 and the second simulating, verifying subelement 511.
Second compiling structure subelement 311 is used to, when affiliated type is built-in function type, set internal function type
Meter module and the recompility of interface type design module, structure obtain the first library file.Second library file obtains subelement 411
The first related library file of module is designed for obtaining the test-types employed in last integrating process.Second simulating, verifying
Subelement 511 is used to carry out simulating, verifying using the first library file library file related to first.
As shown in figure 8, a kind of optional embodiment as the present embodiment, the first compiling structure subelement 31, the first library
File acquisition subelement 41, the first simulating, verifying subelement 51 respectively include third compiling structure subelement 312, third library file
Obtain subelement 412 and third simulating, verifying subelement 512.
Third compiling structure subelement 312 be used for when affiliated type be test-types when, to test-types design module with
And interface type design module recompilates, structure obtains the second library file.Third library file obtains subelement 412 for obtaining
Second related library file of the built-in function type design module employed in last integrating process.Third simulating, verifying is single
Member 512 using the second library file and the second related library file for carrying out simulating, verifying.
Embodiment five
An embodiment of the present invention provides a kind of code management system for large size SOC research and development, which includes lasting collection
At program and Version Control software.
Continuous integrating program includes shell script and/or related software, described in embodiment one to embodiment three
Any one continuous integrating method researched and developed for large size SOC.Version Control software is used to obtain the source that research and development member submits
Code is supplied to continuous integrating software, and receive through continuous integrating software test by program code.
The embodiment of the present invention additionally provides a kind of electronic equipment executing the continuous integrating method for large size SOC research and development,
As shown in figure 9, the electronic equipment may include processor 91 and memory 92.Processor 91 and memory 92 can pass through bus
Or other modes connect, in Fig. 9 for being connected by bus.
Processor 91 can be central processing unit (Central Processing Unit, CPU).Processor 91 can be with
For other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit
(Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
The combination of the chips such as discrete hardware components or above-mentioned all kinds of chips.
Memory 92 is used as a kind of non-transient computer readable storage medium, can be used for storing non-transient software program, non-
Transient computer executable program and module, such as the continuous integrating method researched and developed for large size SOC in the embodiment of the present invention
Corresponding program instruction/module is (for example, Code obtaining unit 10 shown in Fig. 7, determination unit 20, compiling construction unit 30, library
File obtaining unit 40 and simulating, verifying unit 50).Processor 91 is stored in the non-transient software in memory 92 by operation
Program, instruction and module realize that the above method is implemented to execute various function application and the data processing of processor
The continuous integrating method for large size SOC research and development in example.
Memory 92 may include storing program area and storage data field, wherein storing program area can storage program area,
At least one required application program of function;Storage data field can store the data etc. that processor 91 is created.In addition, storage
Device 92 may include high-speed random access memory, can also include non-transient memory, for example, at least a magnetic disk storage
Part, flush memory device or other non-transient solid-state memories.In some embodiments, it includes relative to place that memory 92 is optional
The remotely located memory of device 91 is managed, these remote memories can pass through network connection to processor 91.The reality of above-mentioned network
Example includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
One or more of modules are stored in the memory 92, when being executed by the processor 91, are executed
Such as the continuous integrating method researched and developed for large size SOC in Fig. 1, Fig. 3, embodiment illustrated in fig. 5.
Above-mentioned electronic equipment detail can correspond to refering to fig. 1, corresponding correlation is retouched in Fig. 3, embodiment shown in fig. 5
It states and is understood with effect, details are not described herein again.
It is that can lead to it will be understood by those skilled in the art that realizing all or part of flow in above-described embodiment method
It crosses computer program and is completed to instruct relevant hardware, the program can be stored in a computer read/write memory medium
In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic disc,
CD, read-only memory (Read-Only Memory, ROM), random access memory (Random Access
Memory, RAM), flash memory (Flash Memory), hard disk (Hard Disk Drive, abbreviation:) or solid state disk HDD
(Solid-State Drive, SSD) etc.;The storage medium can also include the combination of the memory of mentioned kind.
Although being described in conjunction with the accompanying the embodiment of the present invention, those skilled in the art can not depart from the present invention
Spirit and scope in the case of various modifications and variations can be made, such modifications and variations are each fallen within by appended claims institute
Within the scope of restriction.
Claims (10)
1. a kind of continuous integrating method for large size SOC research and development, which is characterized in that including:
Obtain the source code of modification;
Determine that the design module of modification, the design module of the modification are the design module belonging to the source code of the modification;
Design module to the modification and the source for having the relevant design module directly contacted with the design module of the modification
Code recompilates, structure obtains new library file;
Obtain the library file of other design modules employed in last integrating process;
Simulating, verifying is carried out using the new library file and the library file of other design modules.
2. the continuous integrating method according to claim 1 for large size SOC research and development, which is characterized in that the determination is repaiied
The design module changed, the design module of the modification are the design module belonging to the source code of the modification;To the modification
It designs module and there is the source code of the relevant design module directly contacted to recompilate, build with the design module of the modification
Obtain new library file;The step of obtaining the library file of other design modules employed in last integrating process, wraps respectively
It includes:
Determine modification source code where design module affiliated type, the type include built-in function type, interface type,
Test-types;
Design module to affiliated type and there is the correlation type directly contacted to design module with the design module of affiliated type
Source code recompilate, structure obtain new library file;
Obtain the library file of the other types design module employed in last integrating process;
The library file that module is designed using the new library file and the other types carries out simulating, verifying.
3. the continuous integrating method according to claim 2 for large size SOC research and development, which is characterized in that described to affiliated
The design module of type and the source code weight for having the correlation type design module directly contacted with the design module of affiliated type
Newly compiled, structure obtain new library file;Obtain the library text of the other types design module employed in last integrating process
Part;The step of library file progress simulating, verifying of module is designed using the new library file and the other types, is wrapped respectively
It includes:
When affiliated type is built-in function type, module and interface type design module are designed again to internal function type
Compiling, structure obtain the first library file;
Obtain the first related library file of the test-types design module employed in last integrating process;
Simulating, verifying is carried out using first library file library file related to described first.
4. the continuous integrating method according to claim 2 for large size SOC research and development, which is characterized in that described to affiliated
The design module of type and the source code weight for having the correlation type design module directly contacted with the design module of affiliated type
Newly compiled, structure obtain new library file;Obtain the library text of the other types design module employed in last integrating process
Part;The step of library file progress simulating, verifying of module is designed using the new library file and the other types, is wrapped respectively
It includes:
When affiliated type is test-types, module and the recompility of interface type design module, structure are designed to test-types
It builds to obtain the second library file;
Obtain the second related library file of the built-in function type design module employed in last integrating process;
Simulating, verifying is carried out using second library file library file related to described second.
5. the continuous integrating method according to claim 1 for large size SOC research and development, which is characterized in that in the acquisition
Employed in integrating process other design modules library file the step of include:
Obtain the snapshot of the library file of other design modules employed in last integrating process;
Correspondingly, described the step of simulating, verifying is carried out using the new library file and the library file of other design modules
Including:Simulating, verifying is carried out using the library snapshot of the new library file and the library file of other design modules.
6. a kind of continuous integrating device for large size SOC research and development, which is characterized in that including:
Code obtaining unit, the source code for obtaining modification;
The design module of determination unit, the design module for determining modification, the modification is belonging to the source code of the modification
Design module;
Construction unit is compiled, is directly contacted for the design module and having with the design module of the modification to the modification
The source code of relevant design module recompilates, structure obtains new library file;
Library file acquiring unit, the library file for obtaining other design modules employed in last integrating process;
Simulating, verifying unit is tested for carrying out emulation using the library file of the new library file and other design modules
Card.
7. the continuous integrating device according to claim 6 for large size SOC research and development, which is characterized in that described determining single
First, the described compiling construction unit, the library file acquiring unit, the simulating, verifying unit respectively include:
First determination subelement, the affiliated type of design module where the source code for determining modification, the type includes interior
Portion's function type, interface type, test-types;
First compiling structure subelement, for affiliated type design module and have directly with the design module of affiliated type
The source code of the correlation type design module of contact recompilates, structure obtains new library file;
First library file obtains subelement, and the library of module is designed for obtaining the other types employed in last integrating process
File;
First simulating, verifying subelement, for the library file using the new library file and the other types design module into
Row simulating, verifying.
8. a kind of code management system for large size SOC research and development, which is characterized in that including:
Continuous integrating program realizes continuous integrating method of claim 1 to 6 any one of them for large size SOC research and development;
Version Control software obtains the source code that research and development member submits and is supplied to continuous integrating software, and receives through continuous integrating
Software test by program code.
9. a kind of electronic equipment, which is characterized in that including:
Memory and processor communicate connection, are stored in the memory between the memory and the processor
Computer instruction, the processor is by executing the computer instruction, to which perform claim requires to be used for large size described in 1-6
The continuous integrating method of SOC research and development.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer to refer to
It enables, the computer instruction is used to make the computer perform claim to require the lasting collection for large size SOC research and development described in 1-6
At method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711452207.2A CN108334313A (en) | 2017-12-27 | 2017-12-27 | Continuous integrating method, apparatus and code management system for large-scale SOC research and development |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711452207.2A CN108334313A (en) | 2017-12-27 | 2017-12-27 | Continuous integrating method, apparatus and code management system for large-scale SOC research and development |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108334313A true CN108334313A (en) | 2018-07-27 |
Family
ID=62923585
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711452207.2A Pending CN108334313A (en) | 2017-12-27 | 2017-12-27 | Continuous integrating method, apparatus and code management system for large-scale SOC research and development |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108334313A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111324353A (en) * | 2018-12-14 | 2020-06-23 | 中移(杭州)信息技术有限公司 | A continuous integration task optimization method and device |
CN112131806A (en) * | 2020-11-25 | 2020-12-25 | 芯华章科技股份有限公司 | Compilation method for verification design, electronic device and storage medium |
CN114756456A (en) * | 2022-04-02 | 2022-07-15 | 广州文远知行科技有限公司 | A continuous integration method, apparatus, and computer-readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8037453B1 (en) * | 2006-09-13 | 2011-10-11 | Urbancode, Inc. | System and method for continuous software configuration, test and build management |
CN102968298A (en) * | 2012-10-31 | 2013-03-13 | 山东浪潮齐鲁软件产业股份有限公司 | Software product construction method |
US8402435B1 (en) * | 2007-12-07 | 2013-03-19 | Adobe Systems Incorporated | Systems and methods for organizing source code |
CN104077140A (en) * | 2014-07-04 | 2014-10-01 | 用友软件股份有限公司 | Automatic compiling method and compiling device for continuous integration |
CN105404519A (en) * | 2015-12-07 | 2016-03-16 | 青岛海信电器股份有限公司 | Version control method, code testing method and system |
CN106484606A (en) * | 2015-09-01 | 2017-03-08 | 阿里巴巴集团控股有限公司 | Method and apparatus submitted to by a kind of code |
-
2017
- 2017-12-27 CN CN201711452207.2A patent/CN108334313A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8037453B1 (en) * | 2006-09-13 | 2011-10-11 | Urbancode, Inc. | System and method for continuous software configuration, test and build management |
US8402435B1 (en) * | 2007-12-07 | 2013-03-19 | Adobe Systems Incorporated | Systems and methods for organizing source code |
CN102968298A (en) * | 2012-10-31 | 2013-03-13 | 山东浪潮齐鲁软件产业股份有限公司 | Software product construction method |
CN104077140A (en) * | 2014-07-04 | 2014-10-01 | 用友软件股份有限公司 | Automatic compiling method and compiling device for continuous integration |
CN106484606A (en) * | 2015-09-01 | 2017-03-08 | 阿里巴巴集团控股有限公司 | Method and apparatus submitted to by a kind of code |
CN105404519A (en) * | 2015-12-07 | 2016-03-16 | 青岛海信电器股份有限公司 | Version control method, code testing method and system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111324353A (en) * | 2018-12-14 | 2020-06-23 | 中移(杭州)信息技术有限公司 | A continuous integration task optimization method and device |
CN111324353B (en) * | 2018-12-14 | 2022-09-13 | 中移(杭州)信息技术有限公司 | Optimization method and device for continuous integration task |
CN112131806A (en) * | 2020-11-25 | 2020-12-25 | 芯华章科技股份有限公司 | Compilation method for verification design, electronic device and storage medium |
CN114756456A (en) * | 2022-04-02 | 2022-07-15 | 广州文远知行科技有限公司 | A continuous integration method, apparatus, and computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112270149B (en) | Verification platform automatic integration method and system, electronic equipment and storage medium | |
US7340693B2 (en) | System for designing re-programmable digital hardware platforms | |
EP3185027B1 (en) | Information processing method and device and computer storage medium | |
JP6676126B2 (en) | Computer system, programming method and non-transitory computer readable medium | |
EP2706459B1 (en) | Apparatus and method for validating a compiler for a reconfigurable processor | |
US10387584B1 (en) | Streaming on hardware-software platforms in model based designs | |
US20180225394A1 (en) | Functional verification with machine learning | |
CN117743145A (en) | Test script generation method and device based on coding template and processing equipment | |
CN109614325B (en) | Method and device for determining control attribute, electronic equipment and storage medium | |
CN108334313A (en) | Continuous integrating method, apparatus and code management system for large-scale SOC research and development | |
CN116976252A (en) | Regression simulation method, device, equipment, medium and program product | |
CN114490337A (en) | Commissioning method, commissioning platform, equipment and storage medium | |
CN114647568A (en) | Automatic testing method and device, electronic equipment and readable storage medium | |
CN114201382A (en) | Test case generation method and device, storage medium and electronic equipment | |
CN116974826A (en) | Information processing method, device, equipment and medium for configuration items | |
CN111400979A (en) | SOC simulation method, system, electronic device and storage medium | |
US20240232482A9 (en) | Adaptable framework for circuit design simulation verification | |
CN112567375A (en) | Format verification method, information identification method, device and storage medium | |
CN117435483A (en) | Form tool-based simulation verification excitation generation method, device, medium and terminal | |
CN116911219A (en) | Method, electronic device and storage medium for simulation of logic system design | |
US20220343044A1 (en) | Verification performance profiling with selective data reduction | |
CN113779918A (en) | SoC simulation method, device, computing equipment and computer storage medium | |
Vaish et al. | Uniform debugging interface for simulators | |
CN117172203B (en) | Method for processing script commands, electronic device and storage medium | |
CN118133742B (en) | Bitstream testing method, device, computer equipment, storage medium and program product |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180727 |