CN102201267A - Platform system for realizing circuit verification of Nandflash flash memory controller based on FPGA (Field Programmable Gate Array) and method thereof - Google Patents
Platform system for realizing circuit verification of Nandflash flash memory controller based on FPGA (Field Programmable Gate Array) and method thereof Download PDFInfo
- Publication number
- CN102201267A CN102201267A CN2010101335409A CN201010133540A CN102201267A CN 102201267 A CN102201267 A CN 102201267A CN 2010101335409 A CN2010101335409 A CN 2010101335409A CN 201010133540 A CN201010133540 A CN 201010133540A CN 102201267 A CN102201267 A CN 102201267A
- Authority
- CN
- China
- Prior art keywords
- nandflash
- fpga
- chip
- test
- 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
Images
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention relates to a platform system for realizing circuit verification of a Nandflash flash memory controller based on an FPGA (Field Programmable Gate Array). An FPGA debugging plate is provided with an SOC (System on Chip) chip, an FPGA chip and a plurality of Nandflash signal interface modules, the FPGA chip is provided with a bus switching circuit module and an Nandflash controller circuit module, a computer to be tested is connected with each Nandflash signal interface module through a test simulator, the SOC chip, the bus switching circuit module and the Nandflash controller circuit module, and each Nandflash signal interface module is connected with a corresponding test board. The invention further relates to a method for realizing the circuit verification of the Nandflash flash memory controller through the platform system. By adopting the platform system for realizing the circuit verification of the Nandflash flash memory controller based on the FPGA (Field Programmable Gate Array) and the method thereof, disclosed by the invention, the degree of automation is extremely high, the period of research and development is shortened, the cost of research and development is reduced, the test efficiency is high, the use is convenient and fast, the working performance is stable and reliable and the application range is wider.
Description
Technical field
The present invention relates to integrated circuit fields, particularly digital integrated circuit verification technique field specifically is meant a kind of plateform system and method that realizes Nandflash flash controller Circuit verification based on FPGA.
Background technology
FPGA (Field Programmable Gate Array, field programmable gate array) checking is requisite important flow process in the Design of Digital Integrated Circuit process.
The key step of FPGA checking has:
(1) design input: promptly utilize HDL (Hardware Description Language, hardware description language) input tool, schematic diagram input tool or state machine input tool etc. that the circuit that will design is described out.
(2) comprehensive and placement-and-routing, complex optimum is an annexation (net table) of the HDL language being translated into the most basic AND, and (constraint condition) optimizes the gate-level logic connection that is generated as requested, files such as output edf and edn are led to the software of FPGA producer and are realized and placement-and-routing.
Realization and placement-and-routing's instrument that placement-and-routing just is to use FPGA manufacturer to provide according to the model of selected chip, carry out the actual connection and the mapping of chip internal functional unit.
(3) generation and download BIT or PROM file carry out the debugging of plate level.
After placement-and-routing finishes, can generate the BIT or the PROM file that have circuit function, the programming instrument that provides by FPGA manufacturer, in fpga chip, fpga chip just can have been realized the circuit function that will design like this with BIT or the programming of PROM file.
The present invention is primarily aimed at the Nandflash controller, below Nandflash and Nandflash controller is described in detail.
Nandflash (flash memory) is the popular storage medium of present industry, and the Nandflash memory cell area is little, and its die area is also very little.The Nandflash program speed is fast, the erasing time short, and supporting rate surpasses the lasting write operation of 5Mbps, and its block erase time is as short as 2ms.Obviously, Nandflash has absolute predominance aspect program speed, erasing time.Based on above-mentioned some advantage, Nandflash is suitable for storing heap file, so Nandflash almost is used to all erasable storage cards.
Along with becoming more and more popular of Nandflash, increasing manufacturer begins to produce the Nandflash flash chip, Samsung, Micron Technology and Toshiba etc. all are the Nandflash flash chip manufacturers of industry main flow, various Nandflash flash chip models in the market are more and more, otherness between the various flash chips is also increasing, and this just has higher requirement to the compatibility of Nandflash controller.
In digital SOC (system on chip, SOC (system on a chip)) chip architecture commonly used, our regular meeting's use Nandflash controller is responsible for the Nandflash flash memory communication with the chip outside.As the bridge between SOC chip inner treater and the Nandflash flash memory, processor is realized operations such as Nandflash programme, wipes by sending instruction to the Nandflash controller.Simultaneously, the Nandflash flash memory is given the Nandfash controller by returning corresponding status data, informs processor corresponding flash memory state.So the Nandfash controller plays irreplaceable effect in digital SOC chip and Nandflash flash memory communication process.Nandfash flash interface signal has 8 or 16 director data signal I/O and 6 control signals: chip start signal CEn, write enable signal WEn, read enable signal REn, instruction latch enable signal CLE, address latch enable signal ALE, ready/busy signal R/Bn.The Nandflash controller resets, reads and writes data in the Nandflash flash chip, reads Nandflash flash chip state and chip identifier, wipes data in the Nandflash flash chip, data in the Nandflash flash chip is carried out operations such as ECC (Error Check Correct) algorithm verification the Nandflash flash memory by above-mentioned signal.
As indicated above, the complicated operation of Nandflash controller, the existing Nandflash flash chip in market is of a great variety simultaneously, otherness is also increasing, and existing Nandflash controller FPGA proof scheme more and more is difficult to satisfy tester's test request.
Nandflash controller verification scheme of the prior art can't fully be verified the compatibility of Nandflash controller to various Nandflash flash chips; Cause testing efficiency low because Nandflash chip to be measured is more; And can't verify that fully test coverage is low to the various logic functions of Nandflash controller circuitry; Need great amount of manpower to participate in simultaneously, the test automation degree is lower; Can't reduce and avoid the defective of Nandflahs controller, thereby reduce the compatibility of Nandflash controller, make the R﹠D cycle prolong, R﹠D costs improve greatly.
So, how to design a kind of qualified FPGA proof scheme at the Nandflash controller circuitry, just become a challenge in present digital integrated circuit validation test field.
Summary of the invention
The objective of the invention is to have overcome above-mentioned shortcoming of the prior art, provide a kind of can be to the various functions of Nandflash controller and compatible fully verify, automaticity height, testing efficiency height, test coverage height, convenient to use, stable and reliable working performance, range of application realize Nandflash flash controller Circuit verification comparatively widely based on FPGA plateform system and method.
In order to realize above-mentioned purpose, plateform system and the method based on FPGA realization Nandflash flash controller Circuit verification of the present invention is as follows:
Should realize the plateform system of Nandflash flash controller Circuit verification based on FPGA, comprise test computer and the test board that carries the Nandflash flash chip, its principal feature is, also comprise tester simulator and FPGA debugging plate in the described plateform system, carry the SOC chip on the described FPGA debugging plate, fpga chip and several Nandflash Signal interface modules, be provided with bus switching circuit module and Nandflash controller circuitry module in the described fpga chip, described test computer is successively by described tester simulator, the SOC chip, the bus switching circuit module is connected with described each Nandflash Signal interface module respectively with Nandflash controller circuitry module, and each Nandflash Signal interface module is connected with corresponding test board.
Should be the SOC chip that is built-in with arm processor based on the SOC chip in the plateform system of FPGA realization Nandflash flash controller Circuit verification.
Should be the SOC chip of built-in ARM926EJ_S processor based on the SOC chip in the plateform system of FPGA realization Nandflash flash controller Circuit verification.
Should be that ARM changes FPGA bus circuit module based on the bus switching circuit module in the plateform system of FPGA realization Nandflash flash controller Circuit verification.
Should be the ARM emulator based on the tester simulator in the plateform system of FPGA realization Nandflash flash controller Circuit verification, and this ARM emulator be compiled into the discernible assembly instruction of described arm processor with the test code on the test computer.
Should be the test code of C language compilation based on the test code in the plateform system of FPGA realization Nandflash flash controller Circuit verification.
Should be vitex-4 Series FPGA chip based on the fpga chip in the plateform system of FPGA realization Nandflash flash controller Circuit verification.
Should be Nandflash signaling interface first slot based on the Nandflash Signal interface module in the plateform system of FPGA realization Nandflash flash controller Circuit verification, described test board is provided with Nandflash signaling interface second slot with the corresponding coupling of this Nandflash signaling interface first slot, described Nandflash signaling interface second slot is connected with described Nandflash flash chip, and the grafting that is coupled of Nandflash signaling interface first slot and corresponding Nandflash signaling interface second slot.
Should realize that Nandflash signaling interface second slot in the plateform system of Nandflash flash controller Circuit verification be arranged on the face that carries the Nandflash flash chip of test board or on the opposite face based on FPGA.
Should be connected with described tester simulator by the USB connecting line based on the test computer in the plateform system of FPGA realization Nandflash flash controller Circuit verification.
Should be connected with described SOC chip by the emulator connecting line based on the tester simulator in the plateform system of FPGA realization Nandflash flash controller Circuit verification.
This utilizes above-mentioned plateform system to realize the method for Nandflash flash controller Circuit verification, and its principal feature is that described method may further comprise the steps:
(1) described test computer is connected with described tester simulator, SOC chip successively, simultaneously described each Nandflash Signal interface module is connected with corresponding test board;
(2) described test computer, tester simulator and FPGA debugging plate are powered on simultaneously;
(3) generate the recordable paper of realizing bus switching circuit module and Nandflash controller circuitry module, and this recordable paper programming is arrived in the described fpga chip;
(4) described test computer is tested described Nandflash controller circuitry module by the test code of writing in advance.
Generation in the method for this realization Nandflash flash controller Circuit verification realizes the recordable paper of bus switching circuit module and Nandflash controller circuitry module and this recordable paper programming is arrived in the described fpga chip, may further comprise the steps:
(11) the FPGA instrument that uses fpga chip manufacturer to be provided will realize that the HDL language codes of bus switching circuit module and Nandflash controller circuitry functions of modules is converted to the BIT/PROM file;
(12) in the fpga chip of the FPGA programming instrument programming that is provided by fpga chip manufacturer to the FPGA debugging plate.
Test computer in the method for this realization Nandflash flash controller Circuit verification is tested described Nandflash controller circuitry module by the test code of writing in advance, may further comprise the steps:
(21) described test computer produces corresponding test instruction and delivers to described tester simulator according to described test code;
(22) described tester simulator is compiled into the assembly instruction that described SOC chip can be carried out with described test instruction, and delivers to described SOC chip;
(23) described bus switching circuit module of described SOC chip controls and Nandflash controller circuitry module are carried out corresponding test processes.
Described bus switching circuit module of SOC chip controls and Nandflash controller circuitry module in the method for this realization Nandflash flash controller Circuit verification are carried out corresponding test processes, may further comprise the steps:
(31) the circuit correctness and the internal circuit basic function of described fpga chip inside are verified, and the corresponding checking of record result;
(32) the Nandflash controller circuitry module in the described fpga chip of control resets and the read states operational testing to the Nandflash flash chip, and writes down corresponding test result;
(33) the Nandflash controller circuitry module in the described fpga chip of control is read the indications operational testing to the Nandflash flash chip, and writes down corresponding test result;
(34) the Nandflash controller circuitry module of control in the described fpga chip to the Nandflash flash chip wipe, write data and read data operational testing, and write down corresponding test result;
(35) the Nandflash controller circuitry module in the described fpga chip of control is carried out the test of ECC verification operation to the Nandflash flash chip, and writes down corresponding test result.
The plateform system and the method based on FPGA realization Nandflash flash controller Circuit verification of this invention have been adopted, because wherein whole test process is fully by the control of the test code in the test computer, automaticity is high, need not manpower fully participates in, thereby shortened the R﹠D cycle greatly, reduced R﹠D costs; Because the C language that test code adopted is very flexible, just can fully verify simultaneously all functions of Nandflash controller; Integrated a plurality of Nandflash interface slots on the test platform of the present invention in addition, the C language can be verified polylith Nandflash chip simultaneously, fully verified the compatibility of Nandflash controller to various Nandflash flash chips, and do not cause testing efficiency low because Nandflash chip to be measured is more, thereby obtained high as far as possible testing efficiency, not only convenient to use, and stable and reliable working performance, range of application is comparatively extensive.
Description of drawings
Figure l is a structural representation of realizing the plateform system of Nandflash flash controller Circuit verification based on FPGA of the present invention.
Fig. 2 is a process flow diagram of realizing the method for Nandflash flash controller Circuit verification based on FPGA of the present invention.
Embodiment
In order more to be expressly understood technology contents of the present invention, describe in detail especially exemplified by following examples.
See also shown in Figure 1, should realize the plateform system of Nandflash flash controller Circuit verification based on FPGA, comprise test computer and the test board that carries the Nandflash flash chip, wherein, also comprise tester simulator and FPGA debugging plate in the described plateform system, carry the SOC chip on the described FPGA debugging plate, fpga chip and several Nandflash Signal interface modules, be provided with bus switching circuit module and Nandflash controller circuitry module in the described fpga chip, described test computer is successively by described tester simulator, the SOC chip, the bus switching circuit module is connected with described each Nandflash Signal interface module respectively with Nandflash controller circuitry module, and each Nandflash Signal interface module is connected with corresponding test board.
Wherein, described SOC chip is the SOC chip that is built-in with arm processor, the SOC chip that this SOC chip is built-in ARM926EJ_S processor; Described bus switching circuit module is that ARM changes FPGA bus circuit module; Described tester simulator is the ARM emulator, and this ARM emulator is compiled into the discernible assembly instruction of described arm processor with the test code on the test computer, and this test code is the test code of C language compilation.
Simultaneously, described fpga chip is a vitex-4 Series FPGA chip, described Nandflash Signal interface module is Nandflash signaling interface first slot, described test board is provided with Nandflash signaling interface second slot with the corresponding coupling of this Nandflash signaling interface first slot, described Nandflash signaling interface second slot is connected with described Nandflash flash chip, and the grafting that is coupled of Nandfash signaling interface first slot and corresponding Nandflash signaling interface second slot; Described Nandflash signaling interface second slot is arranged on the face that carries the Nandflash flash chip of test board or on the opposite face; Described test computer is connected with described tester simulator by the USB connecting line, and this tester simulator is connected with described SOC chip by the emulator connecting line.
See also shown in Figure 2ly again, this utilizes above-mentioned plateform system to realize the method for Nandflash flash controller Circuit verification, and wherein, described method may further comprise the steps:
(1) described test computer is connected with described tester simulator, SOC chip successively, simultaneously described each Nandflash Signal interface module is connected with corresponding test board;
(2) described test computer, tester simulator and FPGA debugging plate are powered on simultaneously;
(3) generate the recordable paper of realizing bus switching circuit module and Nandflash controller circuitry module, and this recordable paper programming arrived in the described fpga chip, may further comprise the steps:
(a) the FPGA instrument that uses fpga chip manufacturer to be provided will be realized bus switching circuit module and Nandflash
The HDL language codes of controller circuitry functions of modules is converted to the BIT/PROM file;
(b) in the fpga chip of the FPGA programming instrument programming that is provided by fpga chip manufacturer to the FPGA debugging plate;
(4) described test computer is tested described Nandflash controller circuitry module by the test code of writing in advance, may further comprise the steps:
(a) described test computer produces corresponding test instruction and delivers to described tester simulator according to described test code;
(b) described tester simulator is compiled into the assembly instruction that described SOC chip can be carried out with described test instruction, and delivers to described SOC chip;
(c) described bus switching circuit module of described SOC chip controls and Nandflash controller circuitry module are carried out corresponding test processes, may further comprise the steps:
(i) the circuit correctness and the internal circuit basic function of described fpga chip inside are verified, and the corresponding checking of record result;
The Nandflash controller circuitry module of (ii) controlling in the described fpga chip resets and the read states operational testing to the Nandflash flash chip, and writes down corresponding test result;
The Nandflash controller circuitry module of (iii) controlling in the described fpga chip is read the indications operational testing to the Nandfash flash chip, and writes down corresponding test result;
(iv) control in the described fpga chip Nandflash controller circuitry module to the Nandflash flash chip wipe, write data and read data operational testing, and write down corresponding test result;
(the Nandflash controller circuitry module of v) controlling in the described fpga chip is carried out the test of ECC verification operation to the Nandflash flash chip, and writes down corresponding test result.
In the middle of reality is used, test platform of the present invention comprises that the PC that is used to write C language testing program, the ARM emulator that is used to connect PC and arm processor chip, one have the SOC chip of arm processor and the FPGA debugging plate of fpga chip and several Nandflash signaling interface slots, the some test platelets that comprise the Nandflash of different vendor flash chip.
PC computer in this verification platform can be any computer that can write the C language.
ARM emulator in this verification platform can be the ARM emulator of any a support arm processor debug function, and this emulator can be compiled into the C language of PC side the discernible assembly instruction of arm processor.
FPGA debugging plate in this verification platform comprises the SOC chip that has the disposable type arm processor that any company produces, such as Samsung produces ARM926EJ_S processor SOC chip.This FPGA debugging plate also comprises the fpga chip of any company production such as the vitex-4 Series FPGA chip of Xilinx company, and the chip internal programming has ARM to change FPGA bus circuit and Nandflash controller circuitry.This FPGA debugging plate also has the slot of several Nandflash flash interface signals.
Nandflash chip testing platelet front in this verification platform is welded with the Nandflash flash chip that any company produces, and the back side has Nandflash flash interface signal slot.This flash chip can be Micron (Micron Technology) or the Nandflash flash chip produced of Toshiba (Toshiba) as shown in Figure 1,
As shown in Figure 1, the PC in this FPGA hardware platform links to each other by a USB with the ARM emulator, and the ARM emulator links to each other by special-purpose emulator connecting line with the arm processor chip that FPGA debugs on the plate.Arm processor chip on the FPGA debugging plate changes the interior Nandflash controller of FPGA bus circuit control fpga chip by the ARM of fpga chip inside.The Nandflash flash memory of polylith different model test platelet is inserted in the slot of FPGA debugging plate by back slot, and the Nandflash flash chip of testing like this on the platelet just can be undertaken by the Nandflash controller circuitry in I/O data command signal mentioned above and 6 control signals and the fpga chip alternately.
See also shown in Figure 2ly again, FPGA proof scheme of the present invention roughly comprises following implementation step:
The first step is built hardware platform.The device that the present invention program is required correctly connects by method mentioned above.
Second step, generation, programming bit file.Generation can realize that ARM changes the bit file of FPGA bus circuit and Nandflash controller circuitry, and in the fpga chip of programming to the FPGA debugging plate.
In the 3rd step, write C language testing program.Write C language testing program in the PC side at the Nandflash controller.
In the 4th step, test platform moves automatically.C programmer is through the compiling of ARM emulator, convert the discernible assembly instruction of arm processor to, ARM by fpga chip inside changes the FPGA bus, the interior Nandflash controller circuitry of control arm processor and fpga chip carries out alternately, make the Nandflash controller to polylith Nandflash flash chip read and write data simultaneously, operations such as obliterated data, reading state and the verification of ECC algorithm.Show test results behind the Automatic Program end of run.
Checking flow process of the present invention mainly comprises four steps in specific implementation process:
The first step is built hardware platform.
According to shown in Figure 2, each device is linked to each other.PC is linked to each other with a USB with the ARM emulator.The ARM emulator is linked to each other by the emulator connecting line with the ARM SOC chip that FPGA debugs on the plate.The polylith Nandflash chip testing platelet of the needs tests slot by the back side is inserted on the slot of FPGA debugging plate.PC, ARM emulator and FPGA power on simultaneously.
Second step, generation, programming bit file.
According to background content, the FPGA instrument that uses FPGA manufacturer to provide, can realize that ARM changes the HDL language generation bit file of FPGA bus functionality and Nandflash controller circuitry, and in the fpga chip of programming to the FPGA debugging plate, for example the ISE Software tool of Xilinx company.
In the 3rd step, write C language testing program.Write C language testing program in the PC side at Nandflash controller all functions.
In the 4th step, test platform moves automatically.After C language testing programming is finished, be compiled into ARM assembly instruction (such as JEDI emulator of MICETEK company) by the ARM emulator, then the emulator connecting line by special use pour into ARM SOC chip on the FPGA debugging plate in, arm processor will automatically perform the ARM assembly instruction that the C test procedure converts to like this.The ARM of arm processor by fpga chip inside changes the FPGA bus circuit, control Nandflash controller simultaneously to polylith Nandflash flash chip read and write data simultaneously, various test operations such as obliterated data, reading state and the verification of ECC algorithm.Program run shows test results after finishing automatically.
C language testing program mentioned above is the present invention program's a marrow part, because the C language is characteristic easily flexibly, use the tester of this proof scheme to write test case flexibly, all functions of Nandflash controller are fully verified at the concrete function of Nandflash controller and Nandflash flash memory.
Now this test procedure is elaborated, supposes to have inserted Micron and two tests of Toshiba platelet on the slot of FPGA debugging plate, as follows at the master routine of the test code of these two platelets:
int?main(void)
{
volatile_u32?FPGA_WORK_FLAG=0;
volatile_u32?status[8]={0};
FPGA_WORK_FLAG=FPGA_Work_Check();
status[0]=NANDCTRL_CASE0();//Micron?reset?and?read?status?test
status[1]=NANDCTRL_CASE1();//Micron?read?id?test
status[2]=NANDCTRL_CASE2();//Micron?erase,write?and?read?test
status[3]=NANDCTRL_CASE3();//Micron?ecc?funciton?test
status[4]=NANDCTRL_CASE8();//Toshiba?reset?and?read?status?test
status[5]=NANDCTRL_CASE9();//Toshiba?read?id?test
status[6]=NANDCTRL_CASE10();//Toshiba?erase,write?and?read?test
status[7]=NANDCTRL_CASE11();//Toshiba?ecc?funciton?test
}
As mentioned, comprise 8 test cases in the principal function of this test procedure, represent the Nandflash controller circuitry that two every functions of Nandflash flash chip of Micron and Toshiba are tested respectively.Now above code is elaborated:
(1)FPGA_WORK_FLGA=FPGA_Work_Check();
This row test code is verified the circuit correctness of fpga chip inside.Before using fpga chip that the Nandflash flash memory is tested, must guarantee that the fpga chip internal circuit is in the main true, this row test code is tested fpga chip internal circuit basic function, if variable FPGA_WORK_FLGA equals 1, illustrate that fpga chip internal circuit basic function is correct, otherwise fpga chip work is incorrect.
(2)status[0]=NANDCTRL_CASE0();//Micron?reset?and?read?status?test
Nandflash controller circuitry in this row test case control fpga chip resets to Micron Nandflash flash chip and the read states operation.This test case is by variable stateu[0] show test results, if status[0] equal 1, illustrate that this test case passes through, the Nandflash controller circuitry in the fpga chip reset and the read states function correct; If equal 0, test crash is described, the Nandflash controller circuitry reset and the read states function has problem.
(3)status[1]=NANDCTRL_CASE1();//Micron?read?id?test
Nandflash controller circuitry in this row test case control fpga chip is read the indications operation to Micron Nandflash flash chip.This test case is by variable stateu[1] show test results, if status[1] equal 1, illustrate that this test case passes through, the Nandflash controller circuitry in the fpga chip to read the indications function correct; If equal 0, test crash is described, the Nandflash controller circuitry is read the indications function problem.
(4)status[2]=NANDCTRL_CASE2();//Micron?erase,write?and?read?test
Nandflash controller circuitry in this row test case control fpga chip to the MicronNandflash flash chip wipe, write data and read data operation.This test case is by variable stateu[2] show the last test result, if status[2] and equal 1, illustrate that this test case passes through, the function of wiping, read and write data of the Nandflash controller circuitry in the fpga chip is correct; If equal 0, test crash is described, the Nandflash controller circuitry function of wiping, read and write data has problem.
(5)status[3]=NANDCTRL_CASE3();//Micron?ecc?funciton?test
Nandflash controller circuitry in this row test case control fpga chip carries out the ECC verification operation to Micron Nandflash flash chip.This test case is by variable stateu[3] show the last test result, if status[3] and equal 1, illustrate that this test case passes through, the ECC verifying function of the Nandflash controller circuitry in the fpga chip is correct; If equal 0, test crash is described, the ECC verifying function of Nandflash controller circuitry has problem.
In above-mentioned test procedure, function NANDCLRL_CASE0 (), NANDCLRL_CASE1 (), NANDCLRL_CASE2 (), NANDCLRL_CASE3 () have realized the complete test of Nandflash controller circuitry to the MicronNandflash flash chip, its follow-up four function NANDCLRL_CASE4 (), NANDCLRL_CASE5 (), NANDCLRL_CASE6 (), NANDCLRL_CASE7 () act on similar with it, have realized the complete test of Nandflash controller to Toshiba Nandflash flash chip.
C language testing program flexibility and changeability of the present invention, when inserting the Nandflash flash chip of other models on the FPGA debugging plate, can in above-mentioned main () principal function, increase with NANDCLRL_CASE0 (), NANDCLRL_CASE1 (), NANDCLRL_CASE2 (), NANDCLRL_CASE3 () act on similar related example, the test code editor is very flexible.
Test procedure of the present invention changes into strong automatically, behind all Automatic Program end of runs, array status[] can show all use-case test results, if array status[] all members be equal to 1, illustrate that the checking of all test cases passes through, the all functions of Nandflash controller are entirely true, otherwise this function of explanation Nandflash controller has problem.
Proof scheme test process of the present invention is controlled by the C language fully, the automaticity height, and can verify polylith Nandflash chip simultaneously, testing efficiency is high, can fully verify the every function and the compatibility of Nandflash controller, need not manpower and participate in, shortened the R﹠D cycle greatly, reduced R﹠D costs.
Based on above-mentioned advantage, the present invention program has very wide application prospect in digital integrated circuit checking field.
Above-mentioned plateform system and method have been adopted based on FPGA realization Nandflash flash controller Circuit verification, because wherein whole test process is fully by the control of the test code in the test computer, automaticity is high, need not manpower fully participates in, thereby shortened the R﹠D cycle greatly, reduced R﹠D costs; Because the C language that test code adopted is very flexible, just can fully verify simultaneously all functions of Nandfash controller; Integrated a plurality of Nandflash interface slots on the test platform of the present invention in addition, the C language can be verified polylith Nandflash chip simultaneously, fully verified the compatibility of Nandflash controller to various Nandflash flash chips, and do not cause testing efficiency low because Nandflash chip to be measured is more, thereby obtained high as far as possible testing efficiency, not only convenient to use, and stable and reliable working performance, range of application is comparatively extensive.
In this instructions, the present invention is described with reference to its certain embodiments.But, still can make various modifications and conversion obviously and not deviate from the spirit and scope of the present invention.Therefore, instructions and accompanying drawing are regarded in an illustrative, rather than a restrictive.
Claims (15)
1. plateform system of realizing Nandflash flash controller Circuit verification based on FPGA, comprise test computer and the test board that carries the Nandflash flash chip, it is characterized in that, also comprise tester simulator and FPGA debugging plate in the described plateform system, carry the SOC chip on the described FPGA debugging plate, fpga chip and several Nandflash Signal interface modules, be provided with bus switching circuit module and Nandflash controller circuitry module in the described fpga chip, described test computer is successively by described tester simulator, the SOC chip, the bus switching circuit module is connected with described each Nandflash Signal interface module respectively with Nandflash controller circuitry module, and each Nandflash Signal interface module is connected with corresponding test board.
2. the plateform system of realizing Nandflash flash controller Circuit verification based on FPGA according to claim 1 is characterized in that described SOC chip is the SOC chip that is built-in with arm processor.
3. the plateform system of realizing Nandflash flash controller Circuit verification based on FPGA according to claim 2 is characterized in that the SOC chip that described SOC chip is built-in ARM926EJ_S processor.
4. the plateform system of realizing Nandflash flash controller Circuit verification based on FPGA according to claim 2 is characterized in that described bus switching circuit module is that ARM changes FPGA bus circuit module.
5. the plateform system of realizing Nandflash flash controller Circuit verification based on FPGA according to claim 2, it is characterized in that, described tester simulator is the ARM emulator, and this ARM emulator is compiled into the discernible assembly instruction of described arm processor with the test code on the test computer.
6. the plateform system of realizing Nandflash flash controller Circuit verification based on FPGA according to claim 5 is characterized in that described test code is the test code of C language compilation.
7. the plateform system of realizing Nandflash flash controller Circuit verification based on FPGA according to claim 1 is characterized in that described fpga chip is a vitex-4 Series FPGA chip.
8. according to each described plateform system of realizing Nandflash flash controller Circuit verification based on FPGA in the claim 1 to 7, it is characterized in that, described Nandflash Signal interface module is Nandflash signaling interface first slot, described test board is provided with Nandflash signaling interface second slot with the corresponding coupling of this Nandflash signaling interface first slot, described Nandflash signaling interface second slot is connected with described Nandflash flash chip, and the grafting that is coupled of Nandflash signaling interface first slot and corresponding Nandflash signaling interface second slot.
9. the plateform system of realizing Nandflash flash controller Circuit verification based on FPGA according to claim 8, it is characterized in that described Nandflash signaling interface second slot is arranged on the face that carries the Nandflash flash chip of test board or on the opposite face.
10. according to each described plateform system of realizing Nandflash flash controller Circuit verification based on FPGA in the claim 1 to 7, it is characterized in that described test computer is connected with described tester simulator by the USB connecting line.
11., it is characterized in that described tester simulator is connected with described SOC chip by the emulator connecting line according to each described plateform system of realizing Nandflash flash controller Circuit verification based on FPGA in the claim 1 to 7.
12. a method of utilizing the described plateform system of claim 1 to realize Nandflash flash controller Circuit verification is characterized in that described method may further comprise the steps:
(1) described test computer is connected with described tester simulator, SOC chip successively, simultaneously described each Nandflash Signal interface module is connected with corresponding test board;
(2) described test computer, tester simulator and FPGA debugging plate are powered on simultaneously;
(3) generate the recordable paper of realizing bus switching circuit module and Nandflash controller circuitry module, and this recordable paper programming is arrived in the described fpga chip;
(4) described test computer is tested described Nandflash controller circuitry module by the test code of writing in advance.
13. the method for realization Nandflash flash controller Circuit verification according to claim 12, it is characterized in that, described generation realizes the recordable paper of bus switching circuit module and Nandflash controller circuitry module and this recordable paper programming is arrived in the described fpga chip, may further comprise the steps:
(11) the FPGA instrument that uses fpga chip manufacturer to be provided will realize that the HDL language codes of bus switching circuit module and Nandflash controller circuitry functions of modules is converted to the BIT/PROM file;
(12) in the fpga chip of the FPGA programming instrument programming that is provided by fpga chip manufacturer to the FPGA debugging plate.
14. the method for realization Nandflash flash controller Circuit verification according to claim 12, it is characterized in that, described test computer is tested described Nandflash controller circuitry module by the test code of writing in advance, may further comprise the steps:
(21) described test computer produces corresponding test instruction and delivers to described tester simulator according to described test code;
(22) described tester simulator is compiled into the assembly instruction that described SOC chip can be carried out with described test instruction, and delivers to described SOC chip;
(23) described bus switching circuit module of described SOC chip controls and Nandflash controller circuitry module are carried out corresponding test processes.
15. the method for realization Nandflash flash controller Circuit verification according to claim 14, it is characterized in that, described bus switching circuit module of described SOC chip controls and Nandflash controller circuitry module are carried out corresponding test processes, may further comprise the steps:
(31) the circuit correctness and the internal circuit basic function of described fpga chip inside are verified, and the corresponding checking of record result;
(32) the Nandflash controller circuitry module in the described fpga chip of control resets and the read states operational testing to the Nandflash flash chip, and writes down corresponding test result;
(33) the Nandflash controller circuitry module in the described fpga chip of control is read the indications operational testing to the Nandflash flash chip, and writes down corresponding test result;
(34) the Nandflash controller circuitry module of control in the described fpga chip to the Nandflash flash chip wipe, write data and read data operational testing, and write down corresponding test result;
(35) the Nandflash controller circuitry module in the described fpga chip of control is carried out the test of ECC verification operation to the Nandflash flash chip, and writes down corresponding test result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101335409A CN102201267A (en) | 2010-03-26 | 2010-03-26 | Platform system for realizing circuit verification of Nandflash flash memory controller based on FPGA (Field Programmable Gate Array) and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101335409A CN102201267A (en) | 2010-03-26 | 2010-03-26 | Platform system for realizing circuit verification of Nandflash flash memory controller based on FPGA (Field Programmable Gate Array) and method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102201267A true CN102201267A (en) | 2011-09-28 |
Family
ID=44661870
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010101335409A Pending CN102201267A (en) | 2010-03-26 | 2010-03-26 | Platform system for realizing circuit verification of Nandflash flash memory controller based on FPGA (Field Programmable Gate Array) and method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102201267A (en) |
Cited By (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102623069A (en) * | 2012-02-13 | 2012-08-01 | 山东华芯半导体有限公司 | Random excitation flash model verification method |
CN103021464A (en) * | 2012-12-18 | 2013-04-03 | 上海市共进通信技术有限公司 | Memory chip programmer, setting of memory chip programmer and method for carrying out programming control on memory chip |
CN103049363A (en) * | 2013-02-01 | 2013-04-17 | 山东华芯半导体有限公司 | Verification method of NAND (neither agree not disagree) Flash controller |
CN103699112A (en) * | 2013-11-29 | 2014-04-02 | 中国航空无线电电子研究所 | Aviation electronic self-detection verification equipment based on IO (Input/Output) signal failure simulation, and verification method of equipment |
CN104618095A (en) * | 2015-02-06 | 2015-05-13 | 浪潮集团有限公司 | Portable encrypting machine |
CN104731704A (en) * | 2013-12-24 | 2015-06-24 | 惠州市德赛西威汽车电子有限公司 | Method for testing NAND (NOT-AND) FLASH management software |
TWI510798B (en) * | 2015-02-24 | 2015-12-01 | Powertech Technology Inc | Universal test platform and test method thereof |
CN106094625A (en) * | 2016-06-27 | 2016-11-09 | 上海波汇科技股份有限公司 | A kind of collecting transmitter based on SOC |
CN106251907A (en) * | 2016-08-04 | 2016-12-21 | 武汉新芯集成电路制造有限公司 | Built-in self-test system and method |
CN106708023A (en) * | 2017-01-19 | 2017-05-24 | 延锋伟世通电子科技(上海)有限公司 | Multi-platform compatibility test system and working method thereof |
WO2018018978A1 (en) * | 2016-07-25 | 2018-02-01 | 深圳市中兴微电子技术有限公司 | Universal serial bus controller verification method, system and device |
CN108109670A (en) * | 2017-12-27 | 2018-06-01 | 西安奇维科技有限公司 | A kind of Nand Flash test system and methods based on Matlab |
CN108226751A (en) * | 2017-12-14 | 2018-06-29 | 芯海科技(深圳)股份有限公司 | A kind of multiprocessor collaboration chip performance assessment system and method |
CN108231132A (en) * | 2017-12-28 | 2018-06-29 | 北京兆易创新科技股份有限公司 | A kind of nand flash memory verification device and verification system |
CN109308162A (en) * | 2017-07-26 | 2019-02-05 | 北京兆易创新科技股份有限公司 | Optimization device, optimization method and the equipment of flash memory |
CN109411007A (en) * | 2018-12-11 | 2019-03-01 | 武汉精鸿电子技术有限公司 | A kind of Common Flash Memory test macro based on FPGA |
WO2019056935A1 (en) * | 2017-09-20 | 2019-03-28 | 南京扬贺扬微电子科技有限公司 | Ft4222-based testing system and method for spi flash |
CN109783340A (en) * | 2017-11-10 | 2019-05-21 | 深圳市中兴微电子技术有限公司 | Test code programming method, IP test method and the device of SoC |
CN110110355A (en) * | 2019-03-25 | 2019-08-09 | 电子科技大学 | A kind of Prototype Verification Platform based on FPGA |
CN110286314A (en) * | 2019-06-27 | 2019-09-27 | 深圳米飞泰克科技有限公司 | SCM Based asynchronous communication parallel test system and test method |
CN110634530A (en) * | 2019-09-10 | 2019-12-31 | 珠海博雅科技有限公司 | Chip testing system and method |
CN111352025A (en) * | 2020-03-13 | 2020-06-30 | 京微齐力(深圳)科技有限公司 | Method, system and equipment for verifying configuration controller in FPGA (field programmable Gate array) |
CN111370051A (en) * | 2018-12-25 | 2020-07-03 | 北京兆易创新科技股份有限公司 | Nonvolatile memory verification system and method |
CN111627489A (en) * | 2020-04-20 | 2020-09-04 | 珠海妙存科技有限公司 | Flash memory characteristic analysis method and system |
CN111913841A (en) * | 2020-05-11 | 2020-11-10 | 电子科技大学 | Low-cost chip function test platform |
CN114492269A (en) * | 2022-04-02 | 2022-05-13 | 北京得瑞领新科技有限公司 | Flash memory controller verification system |
CN117251329A (en) * | 2023-11-17 | 2023-12-19 | 深圳市耀星微电子有限公司 | DRAM test equipment and method based on ARM architecture processor |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101344899A (en) * | 2008-08-15 | 2009-01-14 | 炬力集成电路设计有限公司 | Simulation test method and system of on-chip system |
CN101446988A (en) * | 2007-11-27 | 2009-06-03 | 上海摩波彼克半导体有限公司 | Device for automated testing universal asynchronous receiver-transmit based on software and method thereof |
CN101501517A (en) * | 2006-08-04 | 2009-08-05 | 惠瑞捷(新加坡)私人有限公司 | Test module with blocks of universal and specific resources |
-
2010
- 2010-03-26 CN CN2010101335409A patent/CN102201267A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101501517A (en) * | 2006-08-04 | 2009-08-05 | 惠瑞捷(新加坡)私人有限公司 | Test module with blocks of universal and specific resources |
JP2009545727A (en) * | 2006-08-04 | 2009-12-24 | ヴェリジー(シンガポール) プライベート リミテッド | Test module with general purpose blocks and dedicated resource blocks |
CN101446988A (en) * | 2007-11-27 | 2009-06-03 | 上海摩波彼克半导体有限公司 | Device for automated testing universal asynchronous receiver-transmit based on software and method thereof |
CN101344899A (en) * | 2008-08-15 | 2009-01-14 | 炬力集成电路设计有限公司 | Simulation test method and system of on-chip system |
Non-Patent Citations (2)
Title |
---|
刘卫 等: "NAND Flash 存储器控制器的设计", 《中国计算机学会第十二届计算机工程与工艺学术年会》 * |
钟慧敏: "基于FPGA的多接口存储器验证系统的设计与实现", 《华东师范大学》 * |
Cited By (39)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102623069B (en) * | 2012-02-13 | 2014-09-03 | 山东华芯半导体有限公司 | Random excitation flash model verification method |
CN102623069A (en) * | 2012-02-13 | 2012-08-01 | 山东华芯半导体有限公司 | Random excitation flash model verification method |
CN103021464A (en) * | 2012-12-18 | 2013-04-03 | 上海市共进通信技术有限公司 | Memory chip programmer, setting of memory chip programmer and method for carrying out programming control on memory chip |
CN103049363A (en) * | 2013-02-01 | 2013-04-17 | 山东华芯半导体有限公司 | Verification method of NAND (neither agree not disagree) Flash controller |
CN103699112A (en) * | 2013-11-29 | 2014-04-02 | 中国航空无线电电子研究所 | Aviation electronic self-detection verification equipment based on IO (Input/Output) signal failure simulation, and verification method of equipment |
CN103699112B (en) * | 2013-11-29 | 2016-01-20 | 中国航空无线电电子研究所 | Based on avionics Autonomous test Authentication devices and the verification method thereof of I/O signal fault simulation |
CN104731704A (en) * | 2013-12-24 | 2015-06-24 | 惠州市德赛西威汽车电子有限公司 | Method for testing NAND (NOT-AND) FLASH management software |
CN104618095A (en) * | 2015-02-06 | 2015-05-13 | 浪潮集团有限公司 | Portable encrypting machine |
TWI510798B (en) * | 2015-02-24 | 2015-12-01 | Powertech Technology Inc | Universal test platform and test method thereof |
CN106094625A (en) * | 2016-06-27 | 2016-11-09 | 上海波汇科技股份有限公司 | A kind of collecting transmitter based on SOC |
CN106094625B (en) * | 2016-06-27 | 2018-09-25 | 上海波汇科技股份有限公司 | A kind of collecting transmitter based on SOC |
WO2018018978A1 (en) * | 2016-07-25 | 2018-02-01 | 深圳市中兴微电子技术有限公司 | Universal serial bus controller verification method, system and device |
CN106251907A (en) * | 2016-08-04 | 2016-12-21 | 武汉新芯集成电路制造有限公司 | Built-in self-test system and method |
CN106708023A (en) * | 2017-01-19 | 2017-05-24 | 延锋伟世通电子科技(上海)有限公司 | Multi-platform compatibility test system and working method thereof |
CN109308162A (en) * | 2017-07-26 | 2019-02-05 | 北京兆易创新科技股份有限公司 | Optimization device, optimization method and the equipment of flash memory |
WO2019056935A1 (en) * | 2017-09-20 | 2019-03-28 | 南京扬贺扬微电子科技有限公司 | Ft4222-based testing system and method for spi flash |
CN109783340A (en) * | 2017-11-10 | 2019-05-21 | 深圳市中兴微电子技术有限公司 | Test code programming method, IP test method and the device of SoC |
CN109783340B (en) * | 2017-11-10 | 2022-04-01 | 深圳市中兴微电子技术有限公司 | SoC test code programming method, IP test method and device |
CN108226751A (en) * | 2017-12-14 | 2018-06-29 | 芯海科技(深圳)股份有限公司 | A kind of multiprocessor collaboration chip performance assessment system and method |
CN108109670A (en) * | 2017-12-27 | 2018-06-01 | 西安奇维科技有限公司 | A kind of Nand Flash test system and methods based on Matlab |
CN108231132A (en) * | 2017-12-28 | 2018-06-29 | 北京兆易创新科技股份有限公司 | A kind of nand flash memory verification device and verification system |
CN108231132B (en) * | 2017-12-28 | 2020-12-25 | 北京兆易创新科技股份有限公司 | NAND flash memory verification device and verification system |
CN109411007A (en) * | 2018-12-11 | 2019-03-01 | 武汉精鸿电子技术有限公司 | A kind of Common Flash Memory test macro based on FPGA |
CN109411007B (en) * | 2018-12-11 | 2024-02-20 | 武汉精鸿电子技术有限公司 | Universal flash memory test system based on FPGA |
CN111370051A (en) * | 2018-12-25 | 2020-07-03 | 北京兆易创新科技股份有限公司 | Nonvolatile memory verification system and method |
CN111370051B (en) * | 2018-12-25 | 2022-02-18 | 北京兆易创新科技股份有限公司 | Nonvolatile memory verification system and method |
CN110110355A (en) * | 2019-03-25 | 2019-08-09 | 电子科技大学 | A kind of Prototype Verification Platform based on FPGA |
CN110286314A (en) * | 2019-06-27 | 2019-09-27 | 深圳米飞泰克科技有限公司 | SCM Based asynchronous communication parallel test system and test method |
CN110634530A (en) * | 2019-09-10 | 2019-12-31 | 珠海博雅科技有限公司 | Chip testing system and method |
CN110634530B (en) * | 2019-09-10 | 2021-05-25 | 珠海博雅科技有限公司 | Chip testing system and method |
CN111352025A (en) * | 2020-03-13 | 2020-06-30 | 京微齐力(深圳)科技有限公司 | Method, system and equipment for verifying configuration controller in FPGA (field programmable Gate array) |
CN111352025B (en) * | 2020-03-13 | 2020-12-11 | 京微齐力(深圳)科技有限公司 | Method, system and equipment for verifying configuration controller in FPGA (field programmable Gate array) |
CN111627489B (en) * | 2020-04-20 | 2023-09-29 | 珠海妙存科技有限公司 | Flash memory characteristic analysis method and system |
CN111627489A (en) * | 2020-04-20 | 2020-09-04 | 珠海妙存科技有限公司 | Flash memory characteristic analysis method and system |
CN111913841A (en) * | 2020-05-11 | 2020-11-10 | 电子科技大学 | Low-cost chip function test platform |
CN114492269A (en) * | 2022-04-02 | 2022-05-13 | 北京得瑞领新科技有限公司 | Flash memory controller verification system |
CN114492269B (en) * | 2022-04-02 | 2022-06-24 | 北京得瑞领新科技有限公司 | Flash memory controller verification system |
CN117251329A (en) * | 2023-11-17 | 2023-12-19 | 深圳市耀星微电子有限公司 | DRAM test equipment and method based on ARM architecture processor |
CN117251329B (en) * | 2023-11-17 | 2024-03-08 | 深圳市耀星微电子有限公司 | DRAM test equipment and method based on ARM architecture processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102201267A (en) | Platform system for realizing circuit verification of Nandflash flash memory controller based on FPGA (Field Programmable Gate Array) and method thereof | |
CN104516818B (en) | The automatization test system and its method of compiler a kind of software suitable for Logical Configuration | |
CN102623069B (en) | Random excitation flash model verification method | |
KR20090088605A (en) | Method and apparatus for generating virtual software platform based on component model and validating software platform architecture using thereof | |
CN107479918B (en) | Reconfigurable FPGA (field programmable Gate array) model for MCU (microprogrammed control Unit) burning | |
CN105608258A (en) | Model based system design and information flow visualization simulation system and method | |
CN101419843A (en) | Flash memory recognition method, recognition device and chip controller | |
CN109656756B (en) | Multi-core CPU board debugging method and device and mobile storage medium | |
CN110321292A (en) | Chip detecting method, device, electronic equipment and computer readable storage medium | |
CN111221693A (en) | Verification method, system, device and storage medium for NOR flash configuration module | |
CN117077588B (en) | Hardware acceleration simulation debugging system | |
CN114089165A (en) | ATE-based C8051F chip online test method | |
CN101071647A (en) | Flash programmer for programming nand flash and nor/nand combined flash | |
CN115658414A (en) | RISC-V architecture processor core-based function verification method and platform | |
CN115587558A (en) | Interface-based verification environment generation method and device, equipment and storage medium | |
CN109445691A (en) | A kind of method and device improving FTL algorithm development and verification efficiency | |
CN115684896A (en) | Chip testability design test method, test platform, and generation method and device thereof | |
CN101609614A (en) | A kind of emulation platform of semi-matter simulating system reaches the method for goal systems being carried out online accent ginseng | |
US10970442B1 (en) | Method of debugging hardware and firmware of data storage | |
CN108109670A (en) | A kind of Nand Flash test system and methods based on Matlab | |
CN101441334A (en) | Method and system for testing liquid crystal module | |
CN101201791A (en) | Method and system for developing and debugging application program | |
CN115656791A (en) | Test method and test platform for chip testability design | |
CN106066822B (en) | A kind of emulator and method for supporting coverage rate statistical function | |
CN114220472A (en) | Nand Flash test method based on SOC general test platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110928 |