[go: up one dir, main page]

CN1315732A - Automatic test method and circuit for RAM - Google Patents

Automatic test method and circuit for RAM Download PDF

Info

Publication number
CN1315732A
CN1315732A CN 00115308 CN00115308A CN1315732A CN 1315732 A CN1315732 A CN 1315732A CN 00115308 CN00115308 CN 00115308 CN 00115308 A CN00115308 A CN 00115308A CN 1315732 A CN1315732 A CN 1315732A
Authority
CN
China
Prior art keywords
data
random access
access memory
test
detection
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.)
Granted
Application number
CN 00115308
Other languages
Chinese (zh)
Other versions
CN1145972C (en
Inventor
周志坚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HiSilicon Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB001153080A priority Critical patent/CN1145972C/en
Publication of CN1315732A publication Critical patent/CN1315732A/en
Application granted granted Critical
Publication of CN1145972C publication Critical patent/CN1145972C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

本发明公开了一种随机存储器的自动检测方法及其检测电路,其特点是,采用先向随机存储器的所有存储单元写入数据,再读出比较的方法,包括对该随机存储器的数据线测试和地址线测试两个部分,保证了芯片与外部随机存储器RAM的连接和外部随机存储器RAM内部连接无故障。本发明经测试表明,其对大容量随机存储器RAM的检测速度快,故障检出率高,具有很好的应用价值。

The invention discloses an automatic detection method of a random access memory and a detection circuit thereof. The two parts of the test and the address line test ensure that the connection between the chip and the external random access memory RAM and the internal connection of the external random access memory RAM are free from failure. Tests show that the invention has fast detection speed for large-capacity random access memory RAM, high fault detection rate, and has good application value.

Description

The automatic testing method of random access memory and testing circuit thereof
The present invention relates to a kind of Automatic Measurement Technique of random access memory ram.
In the Computer and Its Application system, random access memory is to be used for writing down the core cell of depositing raw data, intermediate treatment result and other information.Can random access memory realize normal read/write operation, and in the storage/access process data distortion does not take place, very important for the operate as normal that guarantees total system.For this reason, be necessary before system starts working, random access memory to be diagnosed.
Along with the develop rapidly of semiconductor technology, the raising of silicon chip integrated level, the memory capacity that can realize on the silicon chip of unit area is also in rapid increase.The memory capacity of present monolithic memory has been increased to the 64Mbit of today by the 1Kbit at the beginning of the seventies, and is increasing apace.Therefore, how to realize that the high speed to the high capacity random access memory ram, the test of high coverage rate just are even more important.
To the diagnostic procedure of random access memory ram, check it to carry out the validity of read/write operation exactly.Test to storer at present comprises two basic sides: the one, to the test of storage unit; Another is the test to address decoder.And be exactly by certain test pattern to the detection of random access memory ram, the function of storage unit and address decoding circuitry is carried out rapidly and efficiently inspection.
Whether it is a lot of to carry out the method that random access memory ram detects, but its basic thought all is by each storage unit being write one by one " 0 " and " 1 ", and then reads one by one, detect correct.Common test operation is to write data earlier in random access memory ram, immediately reads to compare.Though this method can detect various bridging faults effectively, can't detect the open circuit fault on data or the control line, cause a hidden trouble for the normal reliable operation of system.
Fig. 1 is to be open circuit fault figure on the Data Control line of example with static RAM S-RAM.Open circuit fault takes place at a point in data line Di among the figure, when in unit, tested random access memory ram address, writing test data as test controller (TEST_CONTROL), because the capacity effect on the circuit, the data that write are deposited among the equivalent capacity Ci of Di line, and can not disappear immediately, this moment as controller at once this address location of retaking of a year or grade detect, and the data of then reading are real to be the data of storing among the Ci, just a open circuit fault of ordering can not detect like this.
The objective of the invention is existing to detect the shortcoming of random access memory ram method and a kind ofly can carrying out at a high speed of proposing, high coverage rate test and detect fault random access memory detection technique accurately to the high capacity random access memory ram in order to overcome.
In order to realize the above object, the technical scheme of proposition of the present invention is: the random access memory detection method, be characterized in, adopt elder generation to write data to all storage unit of random access memory, read-around ratio method again comprises the data line test and the address wire of this random access memory is tested two parts:
(1) step to the data line test is:
A, set up a reconfigurable test data table, the user is written in specific data in this test data table according to actual needs in advance;
B, the data in the test data table are written in each storage unit of random access memory;
C, carry out retaking of a year or grade and detect;
D, read value is compared with the value of writing successively, if data consistent is then thought inerrancy; Otherwise, then think wrong;
(2) step to the address wire test is:
A, with a different set of data, write each storage unit of random access memory respectively;
B, read this data, and itself and data before writing are compared, if data consistent is then thought inerrancy; Otherwise, then think wrong.
The automatic testing method of above-mentioned random access memory wherein, can divide several times to write by different lot data in the data that write described in the data line testing procedure b, and test respectively;
The automatic testing method of above-mentioned random access memory wherein, can adopt the default data to carry out dependence test.
The automatic testing method of above-mentioned random access memory, wherein, compare and be meant in these data of reading described in the b step of address wire test, after last data are written to each storage unit of random access memory, in the same time period of writing next number certificate, just the data of all address registers of retaking of a year or grade compare.
The automatic testing method of above-mentioned random access memory, wherein, the data of described each address register relatively are the data that write at the last time, write new data again after relatively finishing.
The automatic testing method of above-mentioned random access memory, wherein described in the data line test, when data to be written switch, before sense data, will export after the data step-by-step negate that write earlier.
The automatic testing method of above-mentioned random access memory, wherein, when data to be written switch in data line is tested, testing circuit has inserted a blank operation cycle, this blank operation cycle is, test data is outputed on the external random access memory data bus after by negate circuit step-by-step negate, but do not write in the external random access memory.
A kind of testing circuit that is exclusively used in above-mentioned random access memory detection method, this testing circuit is located at a control chip inside, it comprises cpu interface circuit, detects enable register, detected state register, comparing data latch, RAM read-write controller, be characterized in, also comprise an address register and a cyclic address change circuit and a test data table storer; Foregoing circuit interconnects by data line; Wherein:
The test data table is used to write each test data;
Cpu interface circuit can write data in the test data table, carry out the test data configuration; And can start random access memory and detect by writing control word triggering random access memory read-write controller to detecting enable register; CPU also can read content in the detected state register by this interface circuit, so that grasp detected state and result;
Detect enable register and be used for external random access memory is detected, it writes appointment data by cpu interface circuit in detecting enable register, and open the detection enables;
The detected state register is used for providing testing result to cpu interface circuit;
The cyclic address change circuit is used for adding one to being input to the address register data;
The comparing data latch is used to latch the data of each storage unit that is written to random access memory.
The testing circuit of above-mentioned random access memory detection method, wherein, described testing circuit is located at a control chip inside.
The testing circuit of above-mentioned random access memory detection method, wherein, described test data table storer is one 16 * 16 a test data table storer.
The testing circuit of above-mentioned random access memory detection method wherein, also comprises a negate circuit in the described RAM read-write controller, this negate circuit is used for when data to be written are switched the data step-by-step negate that writes.
Because the present invention has adopted above technical scheme, by a random access memory ram testing circuit, realize automatic detection by testing circuit by the preset detection algorithm when powering on to random access memory in system.Not only can test storage unit and the address decoding circuitry of static RAM RAM quickly and efficiently, and can avoid the influence of the capacity effect that produced because signal wire opens circuit.
Concrete feature of the present invention, performance and advantage thereof are further provided by following embodiment and accompanying drawing thereof.
Fig. 1 is to be open circuit fault figure on the Data Control line of example with static RAM S-RAM in the prior art.
Fig. 2 is the electrical block diagram of random access memory ram testing circuit of the present invention.
Fig. 3 is a register detected state synoptic diagram of the present invention.
Fig. 4 external random access memory RAM Data Detection sequential chart.
Fig. 5 external random access memory address ram detects sequential chart.
See also Fig. 2, Fig. 2 is the electrical block diagram that random access memory ram detects control circuit.The plug-in external random access memory RAM of each communication control chip is as the buffer memory of data.For guarantee that data do not make a mistake in access procedure, must before starting working, circuit detect outside random access memory ram by this control chip.The testing circuit of this control chip inside comprises cpu interface circuit, detects enable register, detected state register, comparing data latch, read-write controller, address register and adds a circuit and a test data table storer.
Below be that example describes one by one to each several part with the external random access memory RAM of 64K * 16:
Cpu interface circuit can write data in the test data table, carry out the test data configuration; And can start random access memory ram and detect by writing control word triggering random access memory ram read-write controller to detecting enable register; CPU also can read content in the detected state register by this interface circuit, so that grasp detected state and result.
Detect enable register: under the default setting, detection enables to close, and this moment, chip can operate as normal.If want outside random access memory ram is detected, must in detecting enable register, write appointment data such as 55H by cpu interface circuit, the open detection enables, and this moment, chip can not carry out operate as normal, and automatically outside random access memory ram was checked by detecting controller.If end of test (EOT) then writes AAH in detecting enable register, then chip stops outside random access memory ram is detected, and enters normal operating conditions.
The detected state register is one 4 a register, each bit implication as shown in Figure 3, wherein:
Bit0 represents the detected state position: when this position is ' 1 ', expression external random access memory RAM detects and carries out.
Bit1 represents the testing result position: when this position is ' 1 ', represent to detect and finish.
Bit2 presentation address line error bit:, illustrate that address wire has problem when this position is ' 1 '.
Bit3 represents the data line error bit: when this position is ' 1 ', illustrate that data line has problem.
During power-up initializing, each bit of detected state whole clear 0; When detecting not discovery mistake of end, detected state is 0010.
The test data table is one 16 * 16 an internal random memory RAM, and its 16 default values are as follows successively:
0000、FFFF、0F0F、F0F0、5555、AAAA、5A5A、A5A5、0A0A、A0A0、0505、5050、55FF、FF55、FFAA、AAFF。
The cyclic address change circuit is used for adding one to being input to the address register data;
The comparing data latch is used to latch the data of each storage unit that is written to random access memory;
Negate circuit in the RAM read-write controller is used for when data to be written are switched the data step-by-step negate that writes.
When chip enters the data line test, it reads each data in this table successively, write all storage unit of external random access memory RAM, read all storage unit of external random access memory RAM then, with read value successively with table in each value compare, if consistent, then think inerrancy, otherwise report an error.
CPU can read and write this table, revises its default value.When visit test data table, detection enables and must close, otherwise the data of reading are incorrect.
The present invention does not have to adopt the data method more once of writing, but writes data to all storage unit read-around ratio is more earlier.
Among the present invention,, guarantee that chip and being connected with external random access memory RAM inside of external random access memory RAM are connected non-fault with test of content measurement divided data line and address wire test.In when test, last data are write after all external random access memory RAM, writing next number according to the same time period, just all address location data of retaking of a year or grade compare.Therefore each address location relatively writes data at the last time, the relatively intacter new data that writes again afterwards.
Therefore, method of testing of the present invention comprises the test of the data line of random access memory and two parts of address wire test, and when testing, can first test data line, and back test address line; Also can first test address line, back test data line.Below do detailed explanation:
1, the step to the data line test is:
A, set up a reconfigurable test data table, the user is written in specific data in this test data table according to actual needs in advance;
B, the data in the test data table are written in each storage unit of random access memory;
C, carry out retaking of a year or grade and detect;
D, read value is compared with the value of writing successively, if data consistent is then thought inerrancy; Otherwise, then think wrong.
When CPU writes 55H in the inspection enable register, detect enable open, chip at first enters the data line test mode.Control circuit in the external random access memory RAM detection module is the data in the read test data table stores device successively, write in all storage unit of external random access memory RAM, read all storage unit of external random access memory RAM then, read value is compared with the value of writing successively, if it is consistent, then think inerrancy, otherwise, data line error flag position set in the detected state register.
External random access memory RAM Data Detection sequential as shown in Figure 4.
Fig. 4 is an external random access memory RAM Data Detection sequential chart, among the figure:
Two divided-frequency clock signal (MCLK2): the two divided-frequency signal of clock is used for the read-write control of external random access memory RAM.Read external random access memory RAM when high, write when low.
Test address (MEM_TEST_ADDR): the test address that the random access memory ram read-write controller produces forms the address signal (MEMA) of reading and writing external random access memory RAM.
Blank operation (NULL_OPERATE): blank operation sign.
The address signal (MEMA) of read-write RAM: the output of external random access memory RAM control circuit, the address signal of read-write external random access memory RAM.
The data-signal (MEMD) of read-write RAM: the two-way I/O of external random access memory RAM control circuit, the data-signal of read-write external random access memory RAM.
Test data table address (TTAB_ADDR): internal signal, test data table address.
Test data table data outputs (TTAB_DO): internal signal.
Test data (MEM_TEST_DATA): the test data that the random access memory ram read-write controller produces forms the data-signal (MEMD) of reading and writing external random access memory RAM.
Data are relatively controlled (READ_DATA_VALID): detect the controller internal signal, show that the data of reading in from random access memory ram are valid data when high, can carry out data relatively.
The data-signal (MEMD) of read-write RAM: the two-way I/O of external random access memory RAM control circuit, the data-signal of read-write external random access memory RAM.
RAM reads in data (READ_IN): input, the data of being read in by external random access memory RAM.
Correlation data (COMPARE_DATA): internal signal, during Data Detection with read in the data that data compare.
As shown in Figure 4, at first testing circuit when low, the data in the test data table memory cell that address register is pointed write each storage unit of external random access memory RAM, and latch in the inner comparing data latch at MCLK2.
Then, data add one in the address register, carry out aforesaid operations again.Simultaneously when two divided-frequency clock signal MCLK2 is high level, testing circuit reads the content in each storage unit of external random access memory RAM successively, compares with data com PARE_DATA in the comparing data latch, then reports the data line mistake as difference.
Test data table storage address adds one, repeats said process, changes a week until the test chart address by " 00 " to " FF ", till data are all surveyed and gone in the test chart.
Testing process is as follows specifically: when detecting beginning in the address register data be " 00 ", the data in the test data table memory cell of its sensing are (00).At first when two divided-frequency clock signal MCLK2 when low, (00) is write each storage unit of external random access memory RAM, and latchs in the comparing data latch of inside; Then, data add one in the address register, when two divided-frequency clock signal MCLK2 is high level, testing circuit reads the content (should be (00) under the normal condition this moment) that last time write in each storage unit of external random access memory RAM, make it with the comparing data latch in data (00) compare, then when two divided-frequency clock signal MCLK2 when low, (01) is write this storage unit, when two divided-frequency clock signal MCLK2 is high level once more, the content that testing circuit reads in next storage unit of external random access memory RAM compares with the data that last time write, and has so all carried out a test and has write new test data until the storage unit of all external random access memory RAM; Data add one again in the address register then, and (01) is latched in the inner comparing data latch, repeat aforesaid operations, and the data in the test data table have all been carried out till the once test.
As can be seen, when test data table storer face mutually in the unit data not simultaneously, the data of at every turn reading from data bus all are different from the data that write last time, have so just avoided the comparing data situation identical with last time writing data effectively.
As shown in Figure 4, when data to be written switched, testing circuit had inserted a blank operation cycle (blank operation sign NULL_OPERATE is for high).To output to after the test data step-by-step negate on the external random access memory RAM data bus this moment, but do not write among the external random access memory RAM, the purpose of doing like this is: prevent to open circuit or other reason because of data line, output data does not write the storage unit of external random access memory RAM, but because the capacity effect on the data line, output data can't disappear at once, as read data from external random access memory RAM immediately, what just might read in is the data of " storage " on the data line, compare just with these data and can not find fault, cause omission.Therefore, before sense data, will write data negate output earlier, eliminate of the influence of data line " storage " data detecting toward outside random access memory ram.
2, the step to the address wire test is:
A, with a different set of data, write each storage unit of random access memory respectively;
B, read this data, and itself and data before writing are compared, if data consistent is then thought inerrancy; Otherwise, then think wrong.
After finishing the data line test, chip enters the address wire test mode, it produces a different set of data automatically, write different external random access memory ram cells respectively, and it is read, compare with the data before writing, in case wrong, then put in the test state register address mismark position immediately and be " 1 ".
The external random access memory address ram detects sequential as shown in Figure 5.
Fig. 5 is that the external random access memory address ram detects sequential chart, among the figure:
Two divided-frequency clock signal (MCLK2): the two divided-frequency signal of clock is used for the read-write control of external random access memory RAM.
Test data table address (TTAB_ADDR): internal signal, test data table address.
Write and enable (WRITE_ENA): output, testing circuit enables writing of outside random access memory ram, and is effectively high.
Read to enable (READ_ENA): output, testing circuit to outside random access memory ram read enable, high effectively.
(DATA_ADDR_TEST) selected in data/address test: internal signal, data/address test is selected, and surveys data for " 0 ", is " 1 " geodetic location.
Test address (MEM_TEST_ADDR): the test address that the random access memory ram read-write controller produces forms the address signal (MEMA) of reading and writing external random access memory RAM.
Blank operation (NULL_OPERATE): blank operation sign.
The address signal (MEMA) of read-write RAM: the output of external random access memory RAM control circuit, the address signal of read-write external random access memory RAM.
The data-signal (MEMD) of read-write RAM: the two-way I/O of external random access memory RAM control circuit, the data-signal of read-write external random access memory RAM.
Test data (MEM_TEST_DATA): the test data that the random access memory ram read-write controller produces forms the data-signal (MEMD) of reading and writing external random access memory RAM.
RAM reads in data (READ_IN): input, the data of being read in by external random access memory RAM.
Address wire test data (ADDR_DATA): internal signal, during address detected with read in the data that data compare.
Data are relatively controlled (READ_DATA_VALID): detect the controller internal signal, show that the data of reading in from random access memory ram are valid data when high, can carry out data relatively.
As shown in Figure 5, when test data table address TEST_TAB_ADDR is " FF ", testing circuit enables WRITE_ENA to writing of outside random access memory ram and puts lowly, reads to enable READ_ENA and keeps high level, begins to read the data that write for the last time in each storage unit and compares.Afterwards, as blank operation sign NULL_OPERATE when being high once more, read to enable READ_ENA and put lowly, data/address test selects signal DATA_ADDR_TEST to put height, writes simultaneously to enable WRITE_ENA and put height, and start address detects.
At first, test circuit produces the test address MEM_TEST_ADD output of " 0000 "~" FFFF ", and, this address value " 0000 "~" FFFF " write in the MEM_TEST_ADD corresponding address unit successively by external random access memory RAM read-write control circuit.
Then, read the content in external random access memory RAM " 0000 "~" FFFF " address location, and compare with corresponding address value respectively, then report the address mistake as difference.
Relatively finish, and as blank operation sign NULL_OPERATE when be high once more, data/address test selection signal DATA_ADDR_TEST and read enable signal READ_ENA and put lowly restPoses again, finishes external random access memory RAM detection.
If the address wire width of random access memory ram can't guarantee then that less than the data line width data of each address location are different.Can handle in addition as required, as: press the data line figure place to the random access memory ram segmentation, adopt " ring shift method ", write data " 0000~FFFF " successively at " 0 section ", write data " FFFF; 0000~FFFE " successively at " 1 section ", the rest may be inferred, guarantees that the order that different sections write data is different.
The present invention and traditional random access memory ram detection method relatively, it has unique advantage:
1, adopt the hardware detection control circuit to finish the read-write of whole random access memory ram testing process Produce and the control function, saved the CPU time, improved the operating efficiency of whole system.
2, can be by in the test data table, writing the switching that different test datas is finished testing algorithm.
3, carry out targetedly memory cell test and address decoder test, make system can distinguish rapidly event The barrier type is taked corresponding processing policy.
4, write with readout sequence in the test data to random access memory ram and arrange cleverly, So that the data to be compared of reading from random access memory ram are different from the data that last time write at every turn, and Some can't avoid front and back to write in the situation identical with sense data for adjacent twice, elder generation before carrying out data readback To the radix-minus-one complement of data wire output data writing last time, guarantee on the data wire in the equivalent capacity institute's deposit data and write last time Enter the data difference in the random access memory ram, carry out again retaking of a year or grade and detect.
The present invention shows that after tested its detection speed to big capacity random access memory ram is fast, and fault detects The rate height has good using value.

Claims (11)

1、随机存储器的自动检测方法,其特征在于,采用先向随机存储器的所有存储单元写入数据,再读出比较的方法,包括对该随机存储器的数据线测试和地址线测试两个部分:1, the automatic detection method of random access memory, it is characterized in that, adopts earlier to all storage units of random access memory write data, then read out the method for comparison, comprise two parts of data line test and address line test to this random access memory: (1)对数据线测试的步骤是:(1) The steps to test the data line are: a、建立一个可重新配置的测试数据表,用户根据实际需要,将指定数据预先写入在该测试数据表中;a. Establish a reconfigurable test data table, and the user can pre-write the specified data in the test data table according to actual needs; b、将测试数据表中的数据写入到随机存储器的各存储单元中;b. Write the data in the test data table into each storage unit of the random access memory; c、进行回读检测;c. Perform readback detection; d、将读取值依次与写入值进行比较,如果数据一致,则认为无错误;否则,则认为有误;d. Compare the read value with the written value in turn, if the data is consistent, it is considered to be no error; otherwise, it is considered to be wrong; (2)对地址线测试的步骤是:(2) The steps to test the address line are: a、将一组不同的数据,分别写入随机存储器的各存储单元;a. Writing a group of different data into each storage unit of the RAM; b、读出该数据,并将其与写入之前的数据进行比较,如果数据一致,则认为无错误;否则,则认为有误。b. Read out the data and compare it with the data before writing, if the data is consistent, it will be considered as no error; otherwise, it will be considered as an error. 2、根据权利要求1所述的随机存储器的自动检测方法,其特征在于,在数据线测试步骤b中所述的写入的数据可按不同的批次数据分若干次写入,并分别进行测试。2. The automatic detection method of random access memory according to claim 1, characterized in that, the written data described in the data line test step b can be written in several times according to different batches of data, and respectively test. 3、根据权利要求1所述的随机存储器的自动检测方法,其特征在于,可采用缺省数据进行相关测试。3. The automatic detection method of random access memory according to claim 1, characterized in that default data can be used for relevant tests. 4、根据权利要求1所述的随机存储器的自动检测方法,其特征在于,在地址线测试的b步骤中所述的读出该数据进行比较是指,当上一个数据写入到随机存储器的各存储单元之后,在写下一个数据的同一时间段,才回读所有地址寄存器的数据进行比较。4. The automatic detection method of random access memory according to claim 1, characterized in that, the comparison of reading the data described in the b step of the address line test means that when the previous data is written into the random access memory After each storage unit, the data of all address registers are read back for comparison in the same period of time when the next data is written. 5、根据权利要求4所述的随机存储器的自动检测方法,其特征在于,所述每个地址寄存器的数据比较是针对上一次写入的数据而言,比较完之后再写入新的数据。5. The automatic detection method of random access memory according to claim 4, characterized in that the data comparison of each address register is for the data written last time, and new data is written after the comparison is completed. 6、根据权利要求1所述的随机存储器的自动检测方法,其特征在于,所述的在数据线测试中,当待写入数据发生切换时,在读出数据之前,先将写入的数据按位取反后输出。6. The automatic detection method of random access memory according to claim 1, characterized in that, in the data line test, when the data to be written is switched, before the data is read out, the written data is first Output after bitwise inversion. 7、根据权利要求所述的随机存储器的自动检测方法,其特征在于,当对数据线测试中待写入数据发生切换时,检测电路插入了一个空操作周期,该空操作周期是,将测试数据通过取反电路按位取反后输出到外部随机存储器数据总线上,但并不写入外部随机存储器中。7. The automatic detection method of random access memory according to claim, characterized in that, when the data to be written in the data line test is switched, the detection circuit inserts a dummy operation cycle, and the dummy operation cycle is to test The data is inverted bit by bit by the inversion circuit and then output to the external random access memory data bus, but not written into the external random access memory. 8、一种专用于上述随机存储器检测方法的检测电路,该检测电路设在一控制芯片内部,其包括CPU接口电路、检测使能寄存器、检测状态寄存器、比较数据锁存器、RAM读写控制器,其特征在于,还包括一地址寄存器及一地址加一电路以及一测试数据表存储器;上述电路通过数据线相互连接;其中:8. A detection circuit dedicated to the above random access memory detection method, the detection circuit is located inside a control chip, which includes a CPU interface circuit, a detection enable register, a detection status register, a comparison data latch, and RAM read and write control The device is characterized in that it also includes an address register, an address plus one circuit and a test data table memory; the above-mentioned circuits are connected to each other through data lines; wherein: 测试数据表用于写入各测试数据;The test data table is used to write each test data; CPU接口电路可向测试数据表中写入数据,进行测试数据配置;并可通过向检测使能寄存器写入控制字触发随机存储器读写控制器,启动随机存储器检测;CPU还可通过此接口电路读取检测状态寄存器中的内容,以便掌握检测状态及结果;The CPU interface circuit can write data into the test data table to configure the test data; and can trigger the random memory read-write controller by writing the control word to the detection enable register to start the random memory detection; the CPU can also pass this interface circuit Read the contents of the detection status register in order to grasp the detection status and results; 检测使能寄存器用于对外部随机存储器进行检测,其通过CPU接口电路向检测使能寄存器中写入约定数据,开放检测使能;The detection enable register is used to detect the external random access memory, which writes agreed data into the detection enable register through the CPU interface circuit, and enables the detection; 检测状态寄存器用于向CPU接口电路提供检测结果;The detection status register is used to provide detection results to the CPU interface circuit; 地址加一电路用于对输入到地址寄存器中数据加一;The address plus one circuit is used to add one to the data input to the address register; 比较数据锁存器用于锁存写入到随机存储器的各存储单元的数据。The comparison data latch is used for latching the data written into each storage unit of the random access memory. 9、根据权利要求8所述的随机存储器检测方法的检测电路,其特征在于,所述的检测电路设在一控制芯片内部。9. The detection circuit of the random access memory detection method according to claim 8, wherein the detection circuit is set inside a control chip. 10、根据权利要求8所述的随机存储器检测方法的检测电路,其特征在于,所述的测试数据表存储器是一个16×16的测试数据表存储器。10. The detection circuit of the random access memory detection method according to claim 8, wherein the test data table memory is a 16×16 test data table memory. 11、根据权利要求8所述的随机存储器检测方法的检测电路,其特征在于,所述的RAM读写控制器中还包括一取反电路,该取反电路用于在待写入数据切换时将写入的数据按位取反。11. The detection circuit of the random access memory detection method according to claim 8, characterized in that, the RAM read-write controller further includes a negation circuit, and the negation circuit is used for switching data to be written Bitwise invert the written data.
CNB001153080A 2000-03-30 2000-03-30 Automatic detection method and detection circuit of random access memory Expired - Fee Related CN1145972C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB001153080A CN1145972C (en) 2000-03-30 2000-03-30 Automatic detection method and detection circuit of random access memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB001153080A CN1145972C (en) 2000-03-30 2000-03-30 Automatic detection method and detection circuit of random access memory

Publications (2)

Publication Number Publication Date
CN1315732A true CN1315732A (en) 2001-10-03
CN1145972C CN1145972C (en) 2004-04-14

Family

ID=4584775

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB001153080A Expired - Fee Related CN1145972C (en) 2000-03-30 2000-03-30 Automatic detection method and detection circuit of random access memory

Country Status (1)

Country Link
CN (1) CN1145972C (en)

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1321374C (en) * 2003-02-27 2007-06-13 义隆电子股份有限公司 Method and storage device for testing storage device with universal serial bus interface
CN100346309C (en) * 2002-03-11 2007-10-31 华为技术有限公司 Storage unit on-board measuring method
CN100361092C (en) * 2005-06-24 2008-01-09 华为技术有限公司 A chip interface detection device and method
CN100365787C (en) * 2003-07-29 2008-01-30 华为技术有限公司 FLASH internal unit test method that supports write buffer
CN100370430C (en) * 2003-08-05 2008-02-20 华为技术有限公司 A Boundary Scan Chain Self-Test Method
CN100388223C (en) * 2002-08-29 2008-05-14 中兴通讯股份有限公司 Memory detection method
CN100435104C (en) * 2003-09-26 2008-11-19 因芬尼昂技术股份公司 Device for testing memory modules
CN100446129C (en) * 2006-09-07 2008-12-24 华为技术有限公司 Method and system for memory fault testing
CN100458977C (en) * 2007-04-29 2009-02-04 北京中星微电子有限公司 Apparatus and method for adaptive controlling flash storage interface reading and writing speed
CN100464376C (en) * 2006-12-06 2009-02-25 北京中星微电子有限公司 A read-only memory self-testing device and method
US7624301B2 (en) 2005-03-28 2009-11-24 Fujitsu Limited Method and apparatus for identifying failure module
CN101950368A (en) * 2010-09-20 2011-01-19 珠海天威技术开发有限公司 Recognition method of storage capacity of 24C series chip
WO2011009332A1 (en) * 2009-07-24 2011-01-27 中兴通讯股份有限公司 Method and device for processing data caching
CN102307121A (en) * 2011-08-25 2012-01-04 中兴通讯股份有限公司 Self-checking method and device for multimedia terminal
CN102486938A (en) * 2010-12-06 2012-06-06 北大方正集团有限公司 Method and device for quickly detecting memory
CN102929755A (en) * 2012-09-27 2013-02-13 许继集团有限公司 Fault detection method of CPU (Central Processing Unit) module address and data bus
CN101540202B (en) * 2008-03-21 2013-03-27 深圳市朗科科技股份有限公司 Method and system for quickly screening flash memory medium
CN103295645A (en) * 2012-02-23 2013-09-11 安凯(广州)微电子技术有限公司 Scanning detection method and system for dynamic memory
CN103678055A (en) * 2012-09-14 2014-03-26 成都林海电子有限责任公司 Performance testing method for storage space of PCIE bus device
CN101540204B (en) * 2008-03-21 2014-04-30 深圳市朗科科技股份有限公司 Method for scanning flash memory medium
CN105047229A (en) * 2015-08-03 2015-11-11 西安华芯半导体有限公司 Circuit and method for self testing in memory cell of RRAM
CN105097049A (en) * 2015-08-03 2015-11-25 西安华芯半导体有限公司 On-chip statistical system used for damaged units in multipage memory arrays
CN105824719A (en) * 2016-03-16 2016-08-03 浙江中控技术股份有限公司 Method and system for detecting random access memory
CN106024066A (en) * 2016-05-06 2016-10-12 北京润科通用技术有限公司 SRAM detection method and system
CN101650976B (en) * 2008-08-12 2016-12-14 深圳市朗科科技股份有限公司 Flash memory management device and method
CN106710633A (en) * 2016-11-30 2017-05-24 中国航空工业集团公司沈阳飞机设计研究所 Self-detection method for random access memory
CN106950944A (en) * 2017-04-27 2017-07-14 北京新能源汽车股份有限公司 Method and device for processing key information of vehicle
CN107516546A (en) * 2017-07-07 2017-12-26 中国航空工业集团公司西安飞行自动控制研究所 The on-line measuring device and method of a kind of random access memory
CN107870838A (en) * 2017-11-17 2018-04-03 郑州云海信息技术有限公司 A method of multi-pattern memory diagnostic test under linux
CN109491870A (en) * 2018-11-15 2019-03-19 江苏省无线电科学研究所有限公司 A kind of detection method and device of the access state of sensor
CN110704263A (en) * 2019-09-19 2020-01-17 京微齐力(北京)科技有限公司 A kind of Flash read operation power-on completion detection method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1322423C (en) * 2004-07-20 2007-06-20 华为技术有限公司 Detection method for failure of chip

Cited By (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100346309C (en) * 2002-03-11 2007-10-31 华为技术有限公司 Storage unit on-board measuring method
CN100388223C (en) * 2002-08-29 2008-05-14 中兴通讯股份有限公司 Memory detection method
CN1321374C (en) * 2003-02-27 2007-06-13 义隆电子股份有限公司 Method and storage device for testing storage device with universal serial bus interface
CN100365787C (en) * 2003-07-29 2008-01-30 华为技术有限公司 FLASH internal unit test method that supports write buffer
CN100370430C (en) * 2003-08-05 2008-02-20 华为技术有限公司 A Boundary Scan Chain Self-Test Method
CN100435104C (en) * 2003-09-26 2008-11-19 因芬尼昂技术股份公司 Device for testing memory modules
US7624301B2 (en) 2005-03-28 2009-11-24 Fujitsu Limited Method and apparatus for identifying failure module
CN1841547B (en) * 2005-03-28 2010-08-18 富士通株式会社 Method and device for identifying faulty modules
CN100361092C (en) * 2005-06-24 2008-01-09 华为技术有限公司 A chip interface detection device and method
CN100446129C (en) * 2006-09-07 2008-12-24 华为技术有限公司 Method and system for memory fault testing
CN100464376C (en) * 2006-12-06 2009-02-25 北京中星微电子有限公司 A read-only memory self-testing device and method
CN100458977C (en) * 2007-04-29 2009-02-04 北京中星微电子有限公司 Apparatus and method for adaptive controlling flash storage interface reading and writing speed
CN101540202B (en) * 2008-03-21 2013-03-27 深圳市朗科科技股份有限公司 Method and system for quickly screening flash memory medium
CN101540204B (en) * 2008-03-21 2014-04-30 深圳市朗科科技股份有限公司 Method for scanning flash memory medium
CN101650976B (en) * 2008-08-12 2016-12-14 深圳市朗科科技股份有限公司 Flash memory management device and method
WO2011009332A1 (en) * 2009-07-24 2011-01-27 中兴通讯股份有限公司 Method and device for processing data caching
CN101950368A (en) * 2010-09-20 2011-01-19 珠海天威技术开发有限公司 Recognition method of storage capacity of 24C series chip
CN101950368B (en) * 2010-09-20 2012-08-29 珠海天威技术开发有限公司 Recognition method of storage capacity of 24C series chip
CN102486938A (en) * 2010-12-06 2012-06-06 北大方正集团有限公司 Method and device for quickly detecting memory
CN102486938B (en) * 2010-12-06 2015-01-07 北大方正集团有限公司 Method for rapid detection of memory and device
CN102307121A (en) * 2011-08-25 2012-01-04 中兴通讯股份有限公司 Self-checking method and device for multimedia terminal
CN103295645A (en) * 2012-02-23 2013-09-11 安凯(广州)微电子技术有限公司 Scanning detection method and system for dynamic memory
CN103295645B (en) * 2012-02-23 2016-03-09 安凯(广州)微电子技术有限公司 A kind of scanning detection method of dynamic storage and system
CN103678055A (en) * 2012-09-14 2014-03-26 成都林海电子有限责任公司 Performance testing method for storage space of PCIE bus device
CN102929755B (en) * 2012-09-27 2015-03-04 许继集团有限公司 Fault detection method of CPU (Central Processing Unit) module address and data bus
CN102929755A (en) * 2012-09-27 2013-02-13 许继集团有限公司 Fault detection method of CPU (Central Processing Unit) module address and data bus
CN105047229B (en) * 2015-08-03 2017-11-10 西安紫光国芯半导体有限公司 Self-testing circuit and method in a kind of memory cell piece for RRAM
CN105097049A (en) * 2015-08-03 2015-11-25 西安华芯半导体有限公司 On-chip statistical system used for damaged units in multipage memory arrays
CN105047229A (en) * 2015-08-03 2015-11-11 西安华芯半导体有限公司 Circuit and method for self testing in memory cell of RRAM
CN105097049B (en) * 2015-08-03 2017-11-10 西安紫光国芯半导体有限公司 Statistical system in a kind of impairment unit piece for multipage storage array
CN105824719B (en) * 2016-03-16 2019-01-29 浙江中控技术股份有限公司 A kind of detection method and system of random access memory
CN105824719A (en) * 2016-03-16 2016-08-03 浙江中控技术股份有限公司 Method and system for detecting random access memory
CN106024066A (en) * 2016-05-06 2016-10-12 北京润科通用技术有限公司 SRAM detection method and system
CN106710633A (en) * 2016-11-30 2017-05-24 中国航空工业集团公司沈阳飞机设计研究所 Self-detection method for random access memory
CN106950944A (en) * 2017-04-27 2017-07-14 北京新能源汽车股份有限公司 Method and device for processing key information of vehicle
CN107516546A (en) * 2017-07-07 2017-12-26 中国航空工业集团公司西安飞行自动控制研究所 The on-line measuring device and method of a kind of random access memory
CN107516546B (en) * 2017-07-07 2020-09-22 中国航空工业集团公司西安飞行自动控制研究所 A kind of online detection device and method of random access memory
CN107870838A (en) * 2017-11-17 2018-04-03 郑州云海信息技术有限公司 A method of multi-pattern memory diagnostic test under linux
CN109491870A (en) * 2018-11-15 2019-03-19 江苏省无线电科学研究所有限公司 A kind of detection method and device of the access state of sensor
CN110704263A (en) * 2019-09-19 2020-01-17 京微齐力(北京)科技有限公司 A kind of Flash read operation power-on completion detection method

Also Published As

Publication number Publication date
CN1145972C (en) 2004-04-14

Similar Documents

Publication Publication Date Title
CN1315732A (en) Automatic test method and circuit for RAM
CN110554298A (en) Chip and chip testing method
CN100442395C (en) Integrated circuit with self-test device and related test method
JP2003294813A (en) Built-in self-test circuit and design verification method
CN1152431C (en) Semiconductor integrated circuit with DRAM
JP4086584B2 (en) Memory card capable of simplifying test process and memory card test method
CN1722307A (en) Memory test circuit and method
CN1120500C (en) Semiconductor memory device having selection circuit
CN1725382A (en) Detection method of flash storage
JPH0745096A (en) Semiconductor memory with bit error correcting function
CN1383156A (en) Single chip processor with dynamic ageing testing function and dynamic ageing testing method
CN1230885C (en) Fault-telerance method and system of testing chip for boundary scanning
CN1619705A (en) Testing method of multiport storage
KR100429444B1 (en) Semiconductor memory testing device
CN100346309C (en) Storage unit on-board measuring method
CN1791942A (en) Testing ram address decoder for resistive open defects
CN1186809C (en) Embedded memory test platform device and test method thereof
CN1929034A (en) Method and system for RAM fault testing
CN1121042C (en) Test Circuit for Memory Components
EP1724788A1 (en) Improved built-in self-test method and system
CN100516913C (en) Method for processing vectors tested digitally
JP4185642B2 (en) Semiconductor memory test equipment
US6385084B1 (en) Semiconductor memory
US7461306B2 (en) Output data compression scheme using tri-state
JPH1116391A (en) Semiconductor memory circuit

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: SHENZHEN HAISI SEMICONDUCTOR CO., LTD.

Free format text: FORMER OWNER: HUAWEI TECHNOLOGY CO., LTD.

Effective date: 20081010

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20081010

Address after: HUAWEI electric production center, Bantian HUAWEI base, Longgang District, Shenzhou, Guangdong

Patentee after: Haisi Semiconductor Co., Ltd., Shenzhen

Address before: Shenzhou HUAWEI service building, science and Technology Park, Guangdong

Patentee before: Huawei Technologies Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20040414

Termination date: 20150330

EXPY Termination of patent right or utility model