TWI576855B - Memory control apparatus and memory control test method thereof - Google Patents
Memory control apparatus and memory control test method thereof Download PDFInfo
- Publication number
- TWI576855B TWI576855B TW105103064A TW105103064A TWI576855B TW I576855 B TWI576855 B TW I576855B TW 105103064 A TW105103064 A TW 105103064A TW 105103064 A TW105103064 A TW 105103064A TW I576855 B TWI576855 B TW I576855B
- Authority
- TW
- Taiwan
- Prior art keywords
- signal
- memory control
- state machine
- circuit
- control device
- Prior art date
Links
Landscapes
- Tests Of Electronic Circuits (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- For Increasing The Reliability Of Semiconductor Memories (AREA)
Description
本發明是有關於一種控制裝置,且特別是有關於一種記憶體控制裝置及其記憶體控制測試方法。The present invention relates to a control device, and more particularly to a memory control device and a memory control test method thereof.
在記憶體的製造過程中,晶片或罩幕上的灰塵微粒,刮,以及閘氧化層針孔等所引起的製程相關錯誤,常易使記憶體受到影響,而導致不當之開路或短路。目前已發展出許多用來測試記憶體是否正常運作的方法或硬體。當積體電路技術日新月異之際,記憶體功能也顯得越來越複雜,也因此記憶體的控制電路也相形複雜。In the manufacturing process of the memory, process-related errors caused by dust particles on the wafer or mask, scratching, and pinholes in the gate oxide layer often cause the memory to be affected, resulting in improper opening or short circuit. A number of methods or hardware have been developed to test whether memory is functioning properly. As the integrated circuit technology changes with each passing day, the memory function becomes more and more complicated, and thus the control circuit of the memory is also complicated.
關於記憶體的測試,目前已發展出記憶體之內置自行測試(Built-in self-test;BIST)技術,傳統上,其可利用狀態機器來實施。而有關記憶體控制電路的測試,一般僅以固定頻率對記憶體控制電路下達中止(suspend)與恢復(resume)的指令來進行,然此方式並無法完整地測試記憶體控制電路的所有控制操作,因此無法有效地管控記憶體裝置的品質,進一步地降低記憶體裝置在客戶端發生故障的機率。Regarding the testing of memory, the Built-in self-test (BIST) technology of memory has been developed, and conventionally, it can be implemented using a state machine. The test on the memory control circuit generally only performs the suspend and resume instructions on the memory control circuit at a fixed frequency. However, this method cannot completely test all control operations of the memory control circuit. Therefore, the quality of the memory device cannot be effectively controlled, and the probability of the memory device malfunctioning at the client is further reduced.
本發明提供一種記憶體控制裝置及其記憶體控制測試方法,可更完整地測試記憶體控制裝置的記憶體控制操作。The invention provides a memory control device and a memory control test method thereof, which can more completely test the memory control operation of the memory control device.
本發明的記憶體控制裝置,包括狀態機單元、N個邏輯電路、控制單元以及恢復控制單元。狀態機單元具有N個狀態機電路,N個狀態機電路用以依序執行其對應的記憶體控制操作,其中N為正整數。N個邏輯電路分別耦接對應的狀態機電路,並分別依據各個狀態機電路輸出的狀態位元信號以及旗標信號輸出中止(suspend)信號至對應的狀態機電路,以中止對應的狀態機電路的記憶體控制操作。控制單元耦接邏輯電路,接收恢復信號,反應恢復信號的接收依序輸出旗標信號至邏輯電路,以依序中止狀態機電路的記憶體控制操作。恢復控制單元耦接邏輯電路,依據中止信號產生就緒(ready)信號,延遲就緒信號以產生恢復信號至狀態機單元與控制單元,以恢復狀態機電路執行記憶體控制操作,以及使控制單元輸出旗標信號。The memory control device of the present invention includes a state machine unit, N logic circuits, a control unit, and a recovery control unit. The state machine unit has N state machine circuits, and the N state machine circuits are used to sequentially perform their corresponding memory control operations, where N is a positive integer. The N logic circuits are respectively coupled to the corresponding state machine circuits, and respectively output the suspended signals according to the status bit signals and the flag signals outputted by the respective state machine circuits to the corresponding state machine circuits to suspend the corresponding state machine circuits. Memory control operation. The control unit is coupled to the logic circuit to receive the recovery signal, and the receiving of the response recovery signal sequentially outputs the flag signal to the logic circuit to sequentially suspend the memory control operation of the state machine circuit. The recovery control unit is coupled to the logic circuit, generates a ready signal according to the suspension signal, delays the ready signal to generate a recovery signal to the state machine unit and the control unit, restores the state machine circuit to perform the memory control operation, and causes the control unit to output the flag Standard signal.
在本發明的一實施例中,上述的控制單元包括移位暫存器。移位暫存器耦接邏輯電路與恢復控制單元,依據恢復信號與輸入信號輸出旗標信號。移位暫存器包括N+1個位移電路,N+1個位移電路依據恢復信號移位輸入信號以產生旗標信號。In an embodiment of the invention, the control unit includes a shift register. The shift register is coupled to the logic circuit and the recovery control unit, and outputs a flag signal according to the recovery signal and the input signal. The shift register includes N+1 shift circuits, and the N+1 shift circuits shift the input signal according to the recovery signal to generate a flag signal.
在本發明的一實施例中,上述各個邏輯電路依據對應的狀態機電路輸出的狀態位元信號與對應的位移電路輸出的旗標信號執行及運算,以產生中止信號至對應的狀態機電路。In an embodiment of the invention, each of the logic circuits performs a sum operation according to a status bit signal output by the corresponding state machine circuit and a flag signal output by the corresponding displacement circuit to generate a suspension signal to the corresponding state machine circuit.
在本發明的一實施例中,上述各個邏輯電路包括及閘,其輸入端耦接對應的狀態機電路與對應的位移電路,依據對應的狀態機電路輸出的狀態位元信號與對應的位移電路輸出的旗標信號產生中止信號至對應的狀態機電路。In an embodiment of the invention, each of the logic circuits includes a gate, and the input end is coupled to the corresponding state machine circuit and the corresponding displacement circuit, and the state bit signal and the corresponding displacement circuit according to the corresponding state machine circuit output. The output flag signal generates an abort signal to the corresponding state machine circuit.
在本發明的一實施例中,其中若第N+1個位移電路輸出旗標信號,記憶體控制裝置通過記憶體控制測試。In an embodiment of the invention, wherein the N+1th shift circuit outputs a flag signal, the memory control device passes the memory control test.
在本發明的一實施例中,上述的狀態機電路具有不同的記憶體控制操作時間。In an embodiment of the invention, the state machine circuit described above has different memory control operating times.
本發明更提供一種記憶體控制裝置的記憶體控制測試方法,其中記憶體控制裝置包括具有N個狀態機電路的狀態機單元,其中N為正整數,記憶體控制裝置的記憶體控制測試方法包括下列步驟。提供控制單元,控制單元接收恢復信號,並反應恢復信號的接收而依序輸出旗標信號。提供N個邏輯電路,N個邏輯電路分別依據各個狀態機電路輸出的狀態位元信號以及旗標信號輸出中止信號至對應的狀態機電路,以中止對應的狀態機電路的記憶體控制操作。依據中止信號產生就緒信號。延遲就緒信號以產生恢復信號至狀態機單元與控制單元,以恢復狀態機電路執行記憶體控制操作,以及使控制單元輸出旗標信號。判斷各個狀態機電路是否皆已被中止過。若各個狀態機電路皆已被中止過,記憶體控制裝置通過記憶體控制測試。The invention further provides a memory control test method for a memory control device, wherein the memory control device comprises a state machine unit having N state machine circuits, wherein N is a positive integer, and the memory control test method of the memory control device comprises The following steps. A control unit is provided, and the control unit receives the recovery signal and outputs the flag signal in sequence in response to the reception of the recovery signal. N logic circuits are provided, and the N logic circuits respectively output the suspension signal to the corresponding state machine circuit according to the status bit signal output by each state machine circuit and the flag signal to suspend the memory control operation of the corresponding state machine circuit. A ready signal is generated based on the abort signal. The ready signal is delayed to generate a recovery signal to the state machine unit and the control unit to restore the state machine circuit to perform a memory control operation and to cause the control unit to output a flag signal. Determine if each state machine circuit has been aborted. If each state machine circuit has been suspended, the memory control device passes the memory control test.
在本發明的一實施例中,上述的記憶體控制裝置的記憶體控制測試方法包括,提供移位暫存器,依據恢復信號與輸入信號輸出旗標信號,其中移位暫存器包括N+1個位移電路,位移電路移位輸入信號以產生恢復信號。In an embodiment of the invention, the memory control test method of the memory control device includes: providing a shift register, and outputting a flag signal according to the recovery signal and the input signal, wherein the shift register comprises N+ A displacement circuit that shifts the input signal to generate a recovery signal.
在本發明的一實施例中,其中各個邏輯電路依據對應的狀態機電路輸出的狀態位元信號與對應的位移電路輸出的旗標信號執行及運算,以產生中止信號至對應的狀態機電路。In an embodiment of the invention, each logic circuit performs a sum operation according to a status bit signal output by the corresponding state machine circuit and a flag signal output by the corresponding displacement circuit to generate a suspension signal to the corresponding state machine circuit.
在本發明的一實施例中,上述的記憶體控制裝置的記憶體控制測試方法包括,提供多個及閘,各個及閘依據對應的狀態機電路輸出的狀態位元信號與對應的位移電路輸出的旗標信號產生中止信號至對應的狀態機電路。In an embodiment of the present invention, the memory control test method of the memory control device includes: providing a plurality of gates, and each gate and the corresponding state circuit circuit output state bit signal and corresponding displacement circuit output The flag signal generates abort signal to the corresponding state machine circuit.
在本發明的一實施例中,其中若第N+1個位移電路輸出旗標信號,記憶體控制裝置通過記憶體控制測試。In an embodiment of the invention, wherein the N+1th shift circuit outputs a flag signal, the memory control device passes the memory control test.
在本發明的一實施例中,上述的狀態機電路具有不同的記憶體控制操作時間。In an embodiment of the invention, the state machine circuit described above has different memory control operating times.
基於上述,本發明實施例的控制單元反應恢復信號的接收而依序輸出旗標信號給邏輯電路,以使邏輯電路依序地發出中止信號中止對應的狀態機電路,其中恢復信號為恢復控制單元透過延遲就緒信號所產生,如此便可測試各個狀態機電路的記憶體控制操作是否皆能正常運作,進而提高記憶體控制裝置管控品質。Based on the above, the control unit of the embodiment of the present invention sequentially outputs the flag signal to the logic circuit in response to the reception of the recovery signal, so that the logic circuit sequentially issues the suspension signal to suspend the corresponding state machine circuit, wherein the recovery signal is the recovery control unit. By generating the delay ready signal, it is possible to test whether the memory control operations of the various state machine circuits can operate normally, thereby improving the quality of the memory control device.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the invention will be apparent from the following description.
圖1是依照本發明的一實施例的記憶體控制裝置的示意圖,請參照圖1。記憶體控制裝置100包括狀態機單元102(其包括N個狀態機電路ST1~STN,)、N個邏輯電路LOC1~LOCN、控制單元104以及恢復控制單元106,其中N為正整數。邏輯電路LOC1~LOCN分別耦接其對應的狀態機電路ST1~STN以及控制單元104,恢復控制單元106則耦接邏輯電路LOC1~LOCN、狀態機單元102以及控制單元104 (未保持圖式清潔,因此未繪示)。1 is a schematic diagram of a memory control device according to an embodiment of the present invention. Please refer to FIG. 1. The memory control device 100 includes a state machine unit 102 (which includes N state machine circuits ST1 to STN), N logic circuits LOC1 LOLOCN, a control unit 104, and a recovery control unit 106, where N is a positive integer. The logic circuits LOC1 LOLOCN are respectively coupled to their corresponding state machine circuits ST1~STN and the control unit 104, and the recovery control unit 106 is coupled to the logic circuits LOC1 LOLOCN, the state machine unit 102, and the control unit 104 (the picture cleaning is not maintained, Therefore, it is not shown).
其中狀態機電路ST1~STN分別用以執行其對應的記憶體控制操作,例如當記憶體控制裝置100用於執行寫入指令時,狀態機電路ST1~STN可例如分別用以進行驗證(verify)、比較(compare)、電壓泵激(voltage pump)、寫入(write)、放電(discharge)、充電(charge)…等等記憶體控制操作,其中執行不同記憶體控制操作的狀態機電路可具有不同的記憶體控制操作時間,且各個狀態機電路ST1~STN所執行的記憶體控制操作可能隨記憶體控制裝置所執行的指令不同(例如執行抹除指令)而有所不同。控制單元104可反應恢復信號Re1的接收而依序地發出旗標信號給各個邏輯電路LOC1~LOCN,而邏輯電路LOC1~LOCN則分別用以依據其對應的狀態機電路輸出的狀態位元信號以及來自控制單元104的旗標信號產生中止(suspend)信號至對應的狀態機電路,以中止對應的狀態機電路ST1~STN的記憶體控制操作。另外,恢復控制單元106則可在任一邏輯電路LOC1~LOCN輸出中止信號時,依據中止信號產生就緒(ready)信號,並延遲就緒信號以產生恢復信號Re1至狀態機單元102與控制單元104,以恢復狀態機電路ST1~STN執行記憶體控制操作,以及使控制單元104繼續輸出旗標信號給下一個邏輯電路。The state machine circuits ST1~STN are respectively configured to perform their corresponding memory control operations. For example, when the memory control device 100 is configured to execute a write command, the state machine circuits ST1 STSTN can be used, for example, to verify respectively. a memory control operation, a voltage pump, a write, a discharge, a charge, etc., wherein a state machine circuit that performs different memory control operations may have Different memories control the operation time, and the memory control operations performed by the respective state machine circuits ST1 to STN may differ depending on the instructions executed by the memory control device (for example, executing an erase command). The control unit 104 can sequentially send the flag signal to the respective logic circuits LOC1 LOLOCN in response to the reception of the recovery signal Re1, and the logic circuits LOC1 LO LOCN are respectively used to output the status bit signals according to the corresponding state machine circuit and The flag signal from control unit 104 generates a suspend signal to the corresponding state machine circuit to suspend the memory control operation of the corresponding state machine circuits ST1~STN. In addition, the recovery control unit 106 can generate a ready signal according to the suspension signal when any of the logic circuits LOC1 LOLON outputs the suspension signal, and delay the ready signal to generate the recovery signal Re1 to the state machine unit 102 and the control unit 104. The recovery state machine circuits ST1 to STN perform a memory control operation and cause the control unit 104 to continue outputting the flag signal to the next logic circuit.
舉例來說,控制單元104可先發出旗標信號至狀態機電路ST1(假設其對應的記憶體控制操作為”開始”),以啟動狀態機單元102開始執行記憶體控制操作。與狀態機電路ST1對應的邏輯電路LOC1可依據狀態機電路ST1的狀態位元信號以及控制單元104發出的旗標信號輸出中止信號給狀態機電路ST1,以中止狀態機電路ST1的記憶體控制操作。而恢復控制單元106接收到邏輯電路LOC1輸出的中止信號後,便可據以產生就緒信號,並延遲就緒信號產生恢復信號Re1給狀態機電路ST1以及控制單元104,以使狀態機單元102恢復記憶體控制操作的執行,以及使控制單元104繼續發出旗標信號給下一個狀態機電路(狀態機電路ST2)。此時由於對應狀態機電路ST1的邏輯電路LOC1不會接收到控制單元104發出的旗標信號,因此狀態機電路ST1不會被中止,而可繼續進行狀態機電路ST2的測試。For example, control unit 104 may first issue a flag signal to state machine circuit ST1 (assuming its corresponding memory control operation is "start") to initiate state machine unit 102 to begin performing a memory control operation. The logic circuit LOC1 corresponding to the state machine circuit ST1 can output the suspension signal to the state machine circuit ST1 according to the state bit signal of the state machine circuit ST1 and the flag signal sent from the control unit 104 to suspend the memory control operation of the state machine circuit ST1. . After the recovery control unit 106 receives the suspension signal output by the logic circuit LOC1, it can generate a ready signal, and delay the ready signal generation recovery signal Re1 to the state machine circuit ST1 and the control unit 104 to restore the state machine unit 102 to the memory. The body control operation is performed, and the control unit 104 continues to issue a flag signal to the next state machine circuit (state machine circuit ST2). At this time, since the logic circuit LOC1 of the corresponding state machine circuit ST1 does not receive the flag signal sent from the control unit 104, the state machine circuit ST1 is not suspended, and the test of the state machine circuit ST2 can be continued.
類似地,邏輯電路LOC2可依據狀態機電路ST2的狀態位元信號以及控制單元104發出的旗標信號輸出中止信號給狀態機電路ST2,以中止狀態機電路ST2的記憶體控制操作(其可例如為“驗證”操作)。其中若控制單元104可順利地恢復狀態機單元102,而使下一個狀態機電路(狀態機電路ST2)執行其對應的記憶體控制操作,代表狀態機電路ST1可順利地自中止狀態中恢復,代表狀態機電路ST1的電路可正常執行,亦即其通過測試。以此類推,控制單元104可依序地輸出旗標信號給邏輯電路LOC3~LOCN,以依序地中止狀態機電路ST3~STN,而恢復控制單元106則依據邏輯電路LOC3~LOCN發出的中止信號產生恢復信號Re1重新啟動狀態機單元102,以依序地測試狀態機電路ST3~STN是否可自中止狀態中恢復而正常地執行記憶體控制操作。若各個狀態機電路ST1~STN皆可自中止狀態中恢復而正常地執行記憶體控制操作,即代表記憶體控制裝置100通過測試。而若在測試期間有任一狀態機電路無法自中止狀態中恢復而正常地執行記憶體控制操作,例如經過一段預設期間後,仍無法自中止狀態中恢復,則代表記憶體控制裝置100未通過測試。Similarly, the logic circuit LOC2 can output a suspension signal to the state machine circuit ST2 according to the status bit signal of the state machine circuit ST2 and the flag signal sent from the control unit 104 to suspend the memory control operation of the state machine circuit ST2 (which can for example For the "verify" operation). If the control unit 104 can smoothly restore the state machine unit 102 and cause the next state machine circuit (state machine circuit ST2) to perform its corresponding memory control operation, the representative state machine circuit ST1 can smoothly recover from the suspended state. The circuit representing the state machine circuit ST1 can be normally executed, that is, it passes the test. By analogy, the control unit 104 can sequentially output the flag signal to the logic circuits LOC3~LOCN to sequentially suspend the state machine circuits ST3~STN, and the recovery control unit 106 according to the logic signals LOC3~LOCN. The recovery signal Re1 is generated to restart the state machine unit 102 to sequentially test whether the state machine circuits ST3 to STN can resume from the suspended state and normally perform the memory control operation. If each of the state machine circuits ST1 to STN can resume from the suspended state and normally perform the memory control operation, that is, the memory control device 100 passes the test. If any of the state machine circuits cannot resume from the suspended state during the test and the memory control operation is normally performed, for example, after a predetermined period of time, the recovery cannot be resumed from the suspended state, the memory control device 100 is not represented. Passed the test.
由於執行不同記憶體控制操作所需的時間並不相同,習知技術以固定頻率路下達中止與恢復指令的測試方式,將無法全面地對記憶體控制電路進行測試。相較於習知技術,本實施例依序地中止並恢復各個狀態機電路ST1~STN的記憶體控制操作,而可更完整地測試記憶體控制裝置100中執行記憶體控制操作的電路是否具有缺陷,因而可有效提高記憶體控制裝置100的管控品質。Since the time required to perform different memory control operations is not the same, the conventional technique does not fully test the memory control circuit by issuing a test method of abort and resume commands on a fixed frequency path. Compared with the prior art, the present embodiment sequentially suspends and resumes the memory control operations of the state machine circuits ST1 to STN, and can more completely test whether the circuit for performing the memory control operation in the memory control device 100 has The defect can effectively improve the quality of the control of the memory control device 100.
圖2是依照本發明的一實施例的記憶體控制裝置的示意圖,請參照圖2。在本實施例的記憶體控制裝置200中,控制單元104可例如以移位暫存器202來實施,其耦接邏輯電路LOC1~LOCN與恢復控制單元106,移位暫存器202可依據恢復信號Re1與輸入信號輸出旗標信號,其中旗標信號為輸入信號經過邏輯運算與延遲而來。詳細來說,移位暫存器202可包括N+1個位移電路SR1~SRN+1,位移電路SR1~SRN+1可依據恢復信號Re1移位輸入信號,以產生旗標信號。進一步來說,每當移位暫存器202接收到恢復信號Re1,位移電路SR1~SRN+1便對輸入信號進行移位操作,以依序地將旗標信號輸出給邏輯電路LOC1~LOCN,以中止與邏輯電路LOC1~LOCN對應的狀態機電路ST1~STN的記憶體控制操作。其中邏輯電路LOC1~LOCN可用以依據對應的狀態機電路輸出的狀態位元信號與對應的位移電路輸出的旗標信號執行及運算,以產生中止信號至對應的狀態機電路ST1~STN。在本實施例中,邏輯電路LOC1~LOCN可例如以及閘來實施,然不以此為限,在其它實施例中,邏輯電路LOC1~LOCN亦可例如以不同的邏輯閘來實施,例如以或閘來實施,或者以或閘跟及閘來實施。及閘的輸入端可耦接對應的狀態機電路與對應的位移電路,如此便可分別依據對應的狀態機電路ST1~STN輸出的狀態位元信號與對應的位移電路SR1~SRN輸出的旗標信號產生中止信號至對應的狀態機電路ST1~STN。其中當第N+1個位移電路SRN+1輸出旗標信號時,即代表所有的狀態機電路ST1~STN皆已經過中止、恢復的測試,而可正常地執行記憶體控制操作,代表記憶體控制裝置100通過測試。2 is a schematic diagram of a memory control device according to an embodiment of the present invention. Please refer to FIG. 2. In the memory control device 200 of the embodiment, the control unit 104 can be implemented, for example, by the shift register 202, which is coupled to the logic circuits LOC1 LOLOCN and the recovery control unit 106, and the shift register 202 can be restored according to the recovery. The signal Re1 and the input signal output a flag signal, wherein the flag signal is an input signal that is logically operated and delayed. In detail, the shift register 202 may include N+1 shift circuits SR1~SRN+1, and the shift circuits SR1~SRN+1 may shift the input signal according to the resume signal Re1 to generate a flag signal. Further, each time the shift register 202 receives the resume signal Re1, the shift circuits SR1~SRN+1 perform a shift operation on the input signals to sequentially output the flag signals to the logic circuits LOC1~LOCN. The memory control operation of the state machine circuits ST1 to STN corresponding to the logic circuits LOC1 to LOCN is suspended. The logic circuits LOC1 LOLOCN can be used to perform and operate according to the status bit signal output by the corresponding state machine circuit and the flag signal output by the corresponding displacement circuit to generate a suspension signal to the corresponding state machine circuits ST1 STSTN. In this embodiment, the logic circuits LOC1 LO LOCN can be implemented, for example, and the gates. However, in other embodiments, the logic circuits LOC1 LO LOCN can also be implemented by using different logic gates, for example, or The gate is implemented, or it is implemented with a gate and a gate. The input end of the gate can be coupled to the corresponding state machine circuit and the corresponding displacement circuit, so that the state bit signal outputted by the corresponding state machine circuits ST1~STN and the corresponding displacement circuit SR1~SRN can be respectively outputted according to the flag. The signal generates an abort signal to the corresponding state machine circuits ST1~STN. When the N+1th shift circuit SRN+1 outputs the flag signal, it means that all the state machine circuits ST1~STN have been tested for suspension and recovery, and the memory control operation can be performed normally, representing the memory. The control device 100 passes the test.
圖3是依照本發明的一實施例之記憶體控制裝置的記憶體控制測試方法示意圖,請參照圖3。由上述實施例可知,記憶體控制裝置的記憶體控制測試方法可包括下列步驟。首先,提供控制單元,控制單元用以接收恢復信號,並反應恢復信號的接收而依序輸出旗標信號(步驟S302)。接著,提供N個邏輯電路,N個邏輯電路分別依據各個狀態機電路輸出的狀態位元信號以及旗標信號輸出中止信號至對應的狀態機電路,以中止對應的狀態機電路的記憶體控制操作(步驟S304)。其中N為正整數,狀態機電路可具有不同的記憶體控制操作時間,而邏輯電路可依據對應的狀態機電路輸出的狀態位元信號與對應的位移電路輸出的旗標信號執行及運算,以產生中止信號至對應的狀態機電路。然後,依據中止信號產生就緒信號(步驟S306),再延遲就緒信號以產生恢復信號至狀態機單元與控制單元,以恢復狀態機電路執行記憶體控制操作,以及使控制單元輸出旗標信號(步驟S308)。最後,判斷各個狀態機電路是否皆已被中止過(步驟S310),若各個狀態機電路皆已被中止過,記憶體控制裝置通過記憶體控制測試(步驟S312)。相反地,若各個狀態機電路尚未皆被中止過,則回到步驟S302繼續執行記憶體控制裝置的測試。此外,若在測試期間有任一狀態機電路無法自中止狀態中恢復而正常地執行記憶體控制操作,例如經過一段預設期間後,仍無法自中止狀態中恢復,則代表記憶體控制裝置未通過測試。3 is a schematic diagram of a memory control test method of a memory control device according to an embodiment of the present invention. Please refer to FIG. 3. As can be seen from the above embodiments, the memory control test method of the memory control device may include the following steps. First, a control unit is provided. The control unit is configured to receive the recovery signal and output the flag signal in sequence in response to the reception of the recovery signal (step S302). Next, N logic circuits are provided, and the N logic circuits respectively output the suspension signal to the corresponding state machine circuit according to the status bit signal output by each state machine circuit and the flag signal to suspend the memory control operation of the corresponding state machine circuit. (Step S304). Where N is a positive integer, the state machine circuit can have different memory control operation time, and the logic circuit can perform and operate according to the state bit signal output by the corresponding state machine circuit and the flag signal output by the corresponding displacement circuit, Abort signal is generated to the corresponding state machine circuit. Then, a ready signal is generated according to the suspension signal (step S306), and the ready signal is further delayed to generate a recovery signal to the state machine unit and the control unit to restore the state machine circuit to perform the memory control operation, and cause the control unit to output the flag signal (step S308). Finally, it is judged whether or not each state machine circuit has been suspended (step S310). If each state machine circuit has been suspended, the memory control device passes the memory control test (step S312). Conversely, if each state machine circuit has not been suspended yet, return to step S302 to continue the test of the memory control device. In addition, if any of the state machine circuits cannot resume from the suspended state during the test and the memory control operation is normally performed, for example, after a predetermined period of time, the recovery cannot be resumed from the suspended state, the memory control device is not represented. Passed the test.
圖4是依照本發明另一實施例之記憶體控制裝置的記憶體控制測試方法示意圖,請參照圖4。在本實施例中,圖3實施例的控制單元可例如以移位暫存器來實施,而邏輯電路可例如以及閘來實施,然不以此為限,在其它實施例中,邏輯電路亦可例如以不同的邏輯閘來實施,例如以或閘來實施,或者以或閘跟及閘來實施。在本實施例中,記憶體控制裝置的記憶體控制測試方法可包括下列步驟。首先,提供移位暫存器,移位暫存器依據恢復信號與輸入信號輸出旗標信號,其中移位暫存器包括N+1個位移電路,其移位輸入信號以產生恢復信號(步驟S402)。接著,提供多個及閘,各個及閘依據對應的狀態機電路輸出的狀態位元信號與對應的位移電路輸出的旗標信號產生中止信號至對應的狀態機電路(步驟S404)。然後,進入步驟S406,依據中止信號產生就緒信號。之後,延遲就緒信號以產生恢復信號至狀態機單元與移位暫存器,以恢復狀態機電路執行記憶體控制操作,以及使移位暫存器輸出旗標信號(步驟S408)。最後,判斷第N+1個位移電路是否輸出旗標信號(步驟S410),若第N+1個位移電路輸出旗標信號,代表記憶體控制裝置通過記憶體控制測試(步驟S412)。相反地,若第N+1個位移電路未輸出旗標信號,則回到步驟S402繼續執行記憶體控制裝置的測試。4 is a schematic diagram of a memory control test method of a memory control device according to another embodiment of the present invention, please refer to FIG. 4. In this embodiment, the control unit of the embodiment of FIG. 3 can be implemented, for example, by a shift register, and the logic circuit can be implemented, for example, and a gate. However, in other embodiments, the logic circuit is also This can be implemented, for example, with a different logic gate, for example with a sluice gate, or with a sluice gate and a brake. In this embodiment, the memory control test method of the memory control device may include the following steps. First, a shift register is provided. The shift register outputs a flag signal according to the recovery signal and the input signal, wherein the shift register comprises N+1 shift circuits, and the input signal is shifted to generate a resume signal (step S402). Then, a plurality of gates are provided, and each gate generates a suspension signal to the corresponding state machine circuit according to the state bit signal output by the corresponding state machine circuit and the flag signal output by the corresponding displacement circuit (step S404). Then, proceeding to step S406, a ready signal is generated in accordance with the suspension signal. Thereafter, the ready signal is delayed to generate a recovery signal to the state machine unit and the shift register to restore the state machine circuit to perform a memory control operation, and to cause the shift register to output a flag signal (step S408). Finally, it is judged whether the N+1th shift circuit outputs a flag signal (step S410), and if the N+1th shift circuit outputs a flag signal, the memory control device passes the memory control test (step S412). Conversely, if the N+1th shift circuit does not output the flag signal, the process returns to step S402 to continue the test of the memory control device.
綜上所述,本發明實施例的控制單元反應恢復信號的接收而依序輸出旗標信號給邏輯電路,以使邏輯電路依序地發出中止信號中止對應的狀態機電路,其中恢復信號為恢復控制單元透過延遲就緒信號所產生。如此便可依序地中止並恢復各個狀態機電路的記憶體控制操作,而可更完整地測試記憶體控制裝置中執行記憶體控制操作的電路是否具有缺陷,因而可有效提高記憶體控制裝置的管控品質。In summary, the control unit of the embodiment of the present invention sequentially outputs the flag signal to the logic circuit in response to receiving the recovery signal, so that the logic circuit sequentially issues the suspension signal to suspend the corresponding state machine circuit, wherein the recovery signal is recovered. The control unit is generated by a delay ready signal. In this way, the memory control operation of each state machine circuit can be suspended and restored sequentially, and the circuit for performing the memory control operation in the memory control device can be more completely tested for defects, thereby effectively improving the memory control device. Control quality.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.
100、200‧‧‧記憶體控制裝置
102‧‧‧狀態機單元
104‧‧‧控制單元
106‧‧‧恢復控制單元
LOC1~LOCN‧‧‧邏輯電路
Re1‧‧‧恢復信號
ST1~STN‧‧‧狀態機電路
SR1~SRN+1‧‧‧位移電路
S302~S312、S402~S412‧‧‧記憶體控制裝置的記憶體控制測試方法步驟100,200‧‧‧ memory control device
102‧‧‧ state machine unit
104‧‧‧Control unit
106‧‧‧Recovery control unit
LOC1~LOCN‧‧‧ logic circuit
Re1‧‧‧Recovery signal
ST1~STN‧‧‧ state machine circuit
SR1~SRN+1‧‧‧displacement circuit
Steps of memory control test method for S302~S312, S402~S412‧‧‧ memory control device
圖1是依照本發明的一實施例的記憶體控制裝置的示意圖。 圖2是依照本發明的一實施例的記憶體控制裝置的示意圖。 圖3是依照本發明的一實施例之記憶體控制裝置的記憶體控制測試方法示意圖。 圖4是依照本發明另一實施例之記憶體控制裝置的記憶體控制測試方法示意圖。1 is a schematic diagram of a memory control device in accordance with an embodiment of the present invention. 2 is a schematic diagram of a memory control device in accordance with an embodiment of the present invention. 3 is a schematic diagram of a memory control test method of a memory control device according to an embodiment of the invention. 4 is a schematic diagram of a memory control test method of a memory control device according to another embodiment of the present invention.
100‧‧‧記憶體控制裝置 100‧‧‧ memory control device
102‧‧‧狀態機單元 102‧‧‧ state machine unit
ST1~STN‧‧‧狀態機電路 ST1~STN‧‧‧ state machine circuit
LOC1~LOCN‧‧‧邏輯電路 LOC1~LOCN‧‧‧ logic circuit
104‧‧‧控制單元 104‧‧‧Control unit
106‧‧‧恢復控制單元 106‧‧‧Recovery control unit
Re1‧‧‧恢復信號 Re1‧‧‧Recovery signal
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW105103064A TWI576855B (en) | 2016-01-30 | 2016-01-30 | Memory control apparatus and memory control test method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW105103064A TWI576855B (en) | 2016-01-30 | 2016-01-30 | Memory control apparatus and memory control test method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI576855B true TWI576855B (en) | 2017-04-01 |
TW201727635A TW201727635A (en) | 2017-08-01 |
Family
ID=59240702
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW105103064A TWI576855B (en) | 2016-01-30 | 2016-01-30 | Memory control apparatus and memory control test method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI576855B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030074620A1 (en) * | 2001-10-12 | 2003-04-17 | Dorsey Michael C. | Configurable asic memory bist controller employing multiple state machines |
US7424660B2 (en) * | 2000-11-13 | 2008-09-09 | Omar Kebichi | Synchronization point across different memory BIST controllers |
US7475315B1 (en) * | 2007-01-10 | 2009-01-06 | Altera Corporation | Configurable built in self test circuitry for testing memory arrays |
US20110296086A1 (en) * | 2010-05-25 | 2011-12-01 | Fujitsu Limited | Flash memory having test mode function and connection test method for flash memory |
US20140026005A1 (en) * | 2008-10-30 | 2014-01-23 | Micron Technology, Inc. | Macro and command execution from memory array |
-
2016
- 2016-01-30 TW TW105103064A patent/TWI576855B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7424660B2 (en) * | 2000-11-13 | 2008-09-09 | Omar Kebichi | Synchronization point across different memory BIST controllers |
US20030074620A1 (en) * | 2001-10-12 | 2003-04-17 | Dorsey Michael C. | Configurable asic memory bist controller employing multiple state machines |
US7475315B1 (en) * | 2007-01-10 | 2009-01-06 | Altera Corporation | Configurable built in self test circuitry for testing memory arrays |
US20140026005A1 (en) * | 2008-10-30 | 2014-01-23 | Micron Technology, Inc. | Macro and command execution from memory array |
US20110296086A1 (en) * | 2010-05-25 | 2011-12-01 | Fujitsu Limited | Flash memory having test mode function and connection test method for flash memory |
Also Published As
Publication number | Publication date |
---|---|
TW201727635A (en) | 2017-08-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7870454B2 (en) | Structure for system for and method of performing high speed memory diagnostics via built-in-self-test | |
TWI646845B (en) | Conditional access chip, built-in self-test circuit and test method thereof | |
US20030112696A1 (en) | Semiconductor memory device | |
JP2015176619A (en) | semiconductor integrated circuit | |
US9728273B2 (en) | Embedded memory testing using back-to-back write/read operations | |
TWI639845B (en) | Semiconductor test device | |
TWI576855B (en) | Memory control apparatus and memory control test method thereof | |
US7973550B2 (en) | Semiconductor device test apparatus including interface unit and method of testing semiconductor device using the same | |
CN107086053B (en) | Memory control device and memory control test method thereof | |
US9653186B2 (en) | Memory-testing device and memory-testing method | |
JP5336692B2 (en) | Automatic failure testing of logic blocks using internal at-speed logic BIST | |
US20180321312A1 (en) | Test device | |
US9679665B2 (en) | Method for performing built-in self-tests | |
KR102010963B1 (en) | Semiconductor apparatus | |
JP2007286005A (en) | Semiconductor integrated circuit | |
KR101994769B1 (en) | Semiconductor apparatus test method and test system using the same | |
US20190115091A1 (en) | Byte enable memory built-in self-test (mbist) algorithm | |
KR20160056588A (en) | Test system and operating method thereof | |
KR101156029B1 (en) | Semiconductor memory device and operation method the same | |
CN104777414B (en) | Integrated circuit and method for testing an integrated circuit | |
JP2007531191A (en) | Resistive opening defect detection method in semiconductor memory | |
TWI730773B (en) | Signal processing system and method for operating a signal processing system | |
KR102033786B1 (en) | Semiconductor device and semiconductor system using the same | |
JP2013065376A (en) | Semiconductor device | |
JP2007527091A (en) | DFT technology to enhance self-timing memory for detecting delay faults |