TWI880338B - Multi-circuit control system and reading method for status informatiopn thereof - Google Patents
Multi-circuit control system and reading method for status informatiopn thereof Download PDFInfo
- Publication number
- TWI880338B TWI880338B TW112134430A TW112134430A TWI880338B TW I880338 B TWI880338 B TW I880338B TW 112134430 A TW112134430 A TW 112134430A TW 112134430 A TW112134430 A TW 112134430A TW I880338 B TWI880338 B TW I880338B
- Authority
- TW
- Taiwan
- Prior art keywords
- circuit
- circuits
- data
- state information
- control system
- Prior art date
Links
Images
Landscapes
- Read Only Memory (AREA)
- Information Transfer Systems (AREA)
Abstract
Description
本發明是有關於一種多電路控制系統及其狀態資訊的讀取方法,且特別是有關於一種記憶體電路的多電路控制系統及其狀態資訊的讀取方法。 The present invention relates to a multi-circuit control system and a method for reading its status information, and in particular to a multi-circuit control system of a memory circuit and a method for reading its status information.
在多電路系統中(例如記憶體系統),主電路常需要監控多個僕電路工作狀態,並藉此獲知各個僕電路是否處於忙碌狀態中。在習知技術中,當主電路需要讀取各個僕電路的狀態資訊以獲知各個僕電路是否處於忙碌狀態時,須逐一的發送狀態資訊的讀取命令,後在針對僕電路逐一的接收狀態資訊。在當僕電路的數量過於龐大時,針對所有的僕電路發送狀態資訊的讀取命令需要耗去大量的時間,並造成時間的浪費,降低系統的工作效能。 In a multi-circuit system (such as a memory system), the master circuit often needs to monitor the working status of multiple slave circuits and thereby know whether each slave circuit is in a busy state. In the conventional technology, when the master circuit needs to read the status information of each slave circuit to know whether each slave circuit is in a busy state, it must send a read command for the status information one by one, and then receive the status information for each slave circuit one by one. When the number of slave circuits is too large, sending a read command for the status information for all slave circuits takes a lot of time, resulting in a waste of time and reducing the working efficiency of the system.
本發明提供一種多電路控制系統及其狀態資訊的讀取方法,可提升第二電路的狀態資訊的讀取效率。 The present invention provides a multi-circuit control system and a method for reading state information thereof, which can improve the efficiency of reading the state information of the second circuit.
本發明的多電路控制系統包括第一電路以及N個第二電路。第一電路提供讀取時脈信號。第二電路依序相互串接,並耦接至第一電路。其中各第二電路具有至少一第一資料移位器。至少一第一資料移位器用以載入各第二電路的狀態資訊,並根據讀取時脈信號以移出各狀態資訊至前級的各第二電路或第一電路,或者,第一電路透過並列傳輸機制以獲得各第二電路的狀態資訊。 The multi-circuit control system of the present invention includes a first circuit and N second circuits. The first circuit provides a read clock signal. The second circuits are serially connected to each other in sequence and coupled to the first circuit. Each second circuit has at least one first data shifter. At least one first data shifter is used to load the state information of each second circuit, and shift out each state information to each second circuit or first circuit of the previous stage according to the read clock signal, or the first circuit obtains the state information of each second circuit through a parallel transmission mechanism.
本發明的狀態資訊的讀取方法包括:使第一電路提供讀取時脈信號;使N個第二電路依序相互串接,並使第二電路耦接至第一電路;在各第二電路中提供至少一第一資料移位器,使至少一第一資料移位器載入各第二電路的狀態資訊;以及,使各第二電路根據讀取時脈信號以移出各狀態資訊至前級的各第二電路或第一電路,或者,使第一電路透過並列傳輸機制以獲得各第二電路的狀態資訊。 The method for reading status information of the present invention includes: enabling the first circuit to provide a read clock signal; enabling N second circuits to be serially connected in sequence and coupled to the first circuit; providing at least one first data shifter in each second circuit, enabling at least one first data shifter to load the status information of each second circuit; and enabling each second circuit to shift out each status information to the second circuit or the first circuit at the previous stage according to the read clock signal, or enabling the first circuit to obtain the status information of each second circuit through a parallel transmission mechanism.
基於上述,在本發明的多電路控制系統中,第一電路可透過讀取時脈信號以使多個第二電路的狀態資訊隨著讀取時脈信號的時脈循環依序被讀出。如此一來,第一電路可免去針對每一個第二電路下達讀取命令而產生的時間浪費,可提升多電路控制系統的工作效能。 Based on the above, in the multi-circuit control system of the present invention, the first circuit can read the clock signal so that the status information of multiple second circuits can be read out in sequence along with the clock cycle of the read clock signal. In this way, the first circuit can avoid the time waste caused by issuing a read command for each second circuit, which can improve the working performance of the multi-circuit control system.
100、200、600、700:多電路控制系統 100, 200, 600, 700: Multi-circuit control system
110、210、610、710:第一電路 110, 210, 610, 710: First circuit
120-1~120-N、220-1~220-N、300、620-1~620-N、720-1~720- A、730-1~730-B:第二電路 120-1~120-N, 220-1~220-N, 300, 620-1~620-N, 720-1~720- A, 730-1~730-B: Second circuit
310、320:資料移位器 310, 320: Data shifter
311、312、321、322:移位暫存器 311, 312, 321, 322: shift registers
ADD:位址信號 ADD: address signal
CLK:時脈信號 CLK: clock signal
CMD:命令信號 CMD: Command signal
IN[0]、IN[1]、IN[3]、IN[4]:資料輸入埠 IN[0], IN[1], IN[3], IN[4]: data input port
IO[7:0]:輸入輸出信號 IO[7:0]: input and output signals
IOP、IOP1、IOP2:並列輸入輸出埠 IOP, IOP1, IOP2: parallel input and output ports
LD:載入信號 LD: Load signal
OUT[0]、OUT[1]:資料輸出埠 OUT[0], OUT[1]: data output port
RE#:讀取時脈信號 RE#: Read clock signal
RP、RP1、RP2:讀取信號傳輸埠 RP, RP1, RP2: read signal transmission port
S410~S430、S810~S840:步驟 S410~S430, S810~S840: Steps
ST0[0]、ST0[1]、ST1[0]、ST1[1]、ST0[0]-0、ST0[1]-0、ST1[0]-0、ST1[1]-0、ST0[0]-1、ST0[1]-1、ST1[0]-1、ST1[1]-1、ST0[0]-2、ST0[1]-2、ST1[0]-2、ST1[1]-2:狀態資訊 ST0[0], ST0[1], ST1[0], ST1[1], ST0[0]-0, ST0[1]-0, ST1[0]-0, ST1[1]-0, ST0[0]-1, ST0[1]-1, ST1[0]-1, ST1[1]-1, ST0[0]-2, ST0[1]-2, ST1[0]-2, ST1[1]-2: Status information
T1、T2:時間區間 T1, T2: time interval
TP1~TP5:時間點 TP1~TP5: Time point
WE#:寫入信號 WE#: write signal
WP、WP1、WP2:寫入信號傳輸埠 WP, WP1, WP2: write signal transmission port
圖1繪示本發明一實施例的多電路控制系統的示意圖。 FIG1 is a schematic diagram of a multi-circuit control system according to an embodiment of the present invention.
圖2繪示本發明另一實施例的多電路控制系統的示意圖。 FIG2 is a schematic diagram of a multi-circuit control system of another embodiment of the present invention.
圖3繪示本發明實施例的多電路控制系統中的各個第二電路的實施方式的示意圖。 FIG3 is a schematic diagram showing the implementation of each second circuit in the multi-circuit control system of the embodiment of the present invention.
圖4繪示本發明實施例的多電路控制系統的狀態資訊的讀取方法的流程圖。 FIG4 is a flow chart showing a method for reading status information of a multi-circuit control system according to an embodiment of the present invention.
圖5繪示本發明實施例的多電路控制系統的動作波形圖。 Figure 5 shows the action waveform of the multi-circuit control system of the embodiment of the present invention.
圖6A繪示本發明實施例的多電路控制系統的另一實施方式的動作波形圖。 FIG6A shows an action waveform diagram of another implementation of the multi-circuit control system of the present invention.
圖6B繪示本發明另一實施例的多電路控制系統的示意圖。 FIG6B is a schematic diagram of a multi-circuit control system of another embodiment of the present invention.
圖7繪示本發明另一實施例的多電路控制系統的示意圖。 FIG7 is a schematic diagram of a multi-circuit control system of another embodiment of the present invention.
圖8繪示本發明實施例的多電路控制系統的狀態資訊的讀取方法的流程圖。 FIG8 is a flow chart showing a method for reading status information of a multi-circuit control system according to an embodiment of the present invention.
請參照圖1,圖1繪示本發明一實施例的多電路控制系統的示意圖。多電路控制系統100包括第一電路110以及多個第二電路120-1~120-N。第二電路120-1~120-N相互串聯耦接,第二電路120-1~120-N並與第一電路110相耦接。其中,第一級的第二電路120-1耦接在第二級的第二電路120-2與第一電路110間。第二級至第N級的第二電路120-2至120-N依序耦接在第一級的第二電路120-1後。其中,各個第二電路120-1~120-N具有資料輸出
埠OUT[0]以及資料輸入埠IN[0],第一電路110則具有資料輸入埠IN[0]。在細節上,第一級的第二電路120-1的資料輸出埠OUT[0]耦接至第一電路110的資料輸入埠IN[0]。第一級至第N-1級的第二電路120-1至120-(N-1)的資料輸入埠IN[0]分別耦接至後一級的(第二級至第N級)的第二電路120-2至120-N的資料輸出埠OUT[0]。
Please refer to FIG. 1, which shows a schematic diagram of a multi-circuit control system according to an embodiment of the present invention. The
此外,第一電路110以及第二電路120-1至120-N的每一者均具有寫入信號傳輸埠WP以及讀取信號傳輸埠RP。其中,第一電路110以及第二電路120-1至120-N的寫入信號傳輸埠WP相互耦接,並用以傳輸寫入信號WE#。第一電路110以及第二電路120-1至120-N的讀取信號傳輸埠RP相互耦接,第一電路110可透過讀取信號傳輸埠RP以傳輸讀取時脈信號RE#至第二電路120-1至120-N。在另一方面,第一電路110以及第二電路120-1至120-N的每一者可另具有並列輸入輸出埠IOP。其中,第一電路110與各個第二電路120-1至120-N間,可透過並列輸入輸出埠IOP進行並列的資料傳輸動作。
In addition, each of the
在本實施例中,各個第二電路120-1~120-N中,可具有資料移位器。其中,資料移位器可耦接在對應的第二電路120-1~120-N的資料輸入埠IN[0]以及資料輸出埠OUT[0]間。各個第二電路120-1~120-N可將其狀態資訊載入至資料移位器中,資料移位器則可根據對應的第二電路120-1~120-N所接收的讀取時脈信號RE#的時脈循環來移出所儲存的狀態資訊。 In this embodiment, each second circuit 120-1~120-N may have a data shifter. The data shifter may be coupled between the data input port IN[0] and the data output port OUT[0] of the corresponding second circuit 120-1~120-N. Each second circuit 120-1~120-N may load its state information into the data shifter, and the data shifter may shift out the stored state information according to the clock cycle of the read clock signal RE# received by the corresponding second circuit 120-1~120-N.
在細節上,當第一電路110有讀取第二電路120-1~120-N的狀態資訊的需求時,可透過並列輸入輸出埠IOP來傳送相關命令至第二電路120-1~120-N。相對應的,第二電路120-1~120-N可將其狀態資訊載入至其中的多個資料移位器中。接著,第一電路110可傳送讀取時脈信號RE#至第二電路120-1~120-N,並使第二電路120-1~120-N中的多個資料移位器根據讀取時脈信號RE#的時脈循環,來移出所儲存的狀態資訊至其資料輸出埠OUT[0]。
In detail, when the
根據多電路控制系統100的耦接形式,隨著讀取時脈信號RE#的時脈循環,第二電路120-1的狀態資訊可先被移位至第一電路110,而後級的第二電路120-2至120-N的狀態資訊則可被移位至前級的第二電路120-1至120-(N-1)。依次類推,隨著讀取時脈信號RE#的時脈循環的增加,第二電路120-2至120-N的狀態資訊可依序的被移位至第一電路110。如此一來,第一電路110可順利讀取所有的第二電路120-1至120-N的狀態資訊。
According to the coupling form of the
附帶一提的,本實施例的多電路控制系統100可以為記憶體系統,並例如可以應用在固態硬碟(Solid-state Disk,SSD)中。其中,第一電路110可以為記憶體控制器,並可設置為主(Master)電路。第二電路120-1至120-N則可以為記憶體電路,並可設置為僕(Slave)電路。其中,第二電路120-1至120-N例如可以為反及式(NAND)、及式(AND)或是反或式(NOR)快閃記憶體電路。並且,第一電路110可以設置在第一晶片上,第二電路120-1至120-N則可以分別設置在多個不同的晶片上。
Incidentally, the
在另一方面,在本發明實施例中,當第一電路110僅需針對第二電路120-1至120-N的其中之一的狀態資訊進行讀取時,可透過並列輸入輸出埠IOP來傳送相關命令至第二電路120-1~120-N。並透過所傳輸的資料封包,來告知所選定的第二電路(為第二電路120-1至120-N的其中之一),以透過並列輸入輸出埠IOP來傳送其狀態資訊至第一電路110。此外,當第一電路110透過其並列輸入輸出埠IOP來讀取選定的第二電路的狀態資訊的同時,第二電路120-1至120-N的狀態資訊的移位動作可以同時備進行。在這種機制下,第一電路110的資料輸入埠IN[0]可與第二電路120-1的資料輸出埠OUT[0]不相連接。
On the other hand, in the embodiment of the present invention, when the
請參照圖2,圖2繪示本發明另一實施例的多電路控制系統的示意圖。多電路控制系統200包括第一電路210以及多個第二電路220-1~220-N。第二電路220-1~220-N相互串聯耦接,第二電路220-1~220-N並與第一電路210相耦接。
Please refer to FIG. 2, which shows a schematic diagram of a multi-circuit control system of another embodiment of the present invention. The
與圖1實施例不相同的,本實施例中的各個第二電路220-1~220-N具有多個資料輸入埠IN[0]、IN[1]以及多個資料輸出埠OUT[0]、OUT[1]。第一電路210也具有多個資料輸入埠IN[0]、IN[1]。其中,第一級的第二電路220-1的資料輸出埠OUT[0]、OUT[1]分別耦接至第一電路210的資料輸入埠IN[0]、IN[1]。第一級至第N-1級的第二電路220-1至220-(N-1)的資料輸入埠IN[0]、IN[1]分別耦接至後一級的(第二級至第N級)的第二電路220-2至220-N的資料輸出埠OUT[0]、OUT[1]。
Different from the embodiment of FIG. 1 , each second circuit 220-1 to 220-N in this embodiment has multiple data input ports IN[0], IN[1] and multiple data output ports OUT[0], OUT[1]. The
在另一方面,在本實施例中,各個第二電路220-1至220-N中可具有多個資料移位器。其中的一資料移位器可耦接在資料輸入埠IN[0]以及資料輸出埠OUT[0]間,另一資料移位器可耦接在資料輸入埠IN[1]以及資料輸出埠OUT[1]間。本實施例中的第二電路220-1至220-N的資料移位動作與圖1的實施例相類似,在此恕不多贅述。 On the other hand, in this embodiment, each of the second circuits 220-1 to 220-N may have a plurality of data shifters. One of the data shifters may be coupled between the data input port IN[0] and the data output port OUT[0], and another data shifter may be coupled between the data input port IN[1] and the data output port OUT[1]. The data shifting operation of the second circuits 220-1 to 220-N in this embodiment is similar to that of the embodiment of FIG. 1, and will not be described in detail here.
在本實施例中,多電路控制系統200透過在各個第二電路220-1至220-N設置多個資料移位器,可加速各個第二電路220-1至220-N狀態資訊的讀取動作。
In this embodiment, the
值得一提的,在本發明實施例中,各個第二電路220-1至220-N中的資料輸入埠、資料輸出埠以及對應的資料移位器的數量也可以是兩個以上。圖2繪示的兩個資料輸入埠IN[0]、IN[1]以及兩個資料輸出埠OUT[0]、OUT[1]僅只是說明用的範例,不用以限縮本發明的實施範疇。 It is worth mentioning that in the embodiment of the present invention, the number of data input ports, data output ports and corresponding data shifters in each second circuit 220-1 to 220-N can also be more than two. The two data input ports IN[0], IN[1] and the two data output ports OUT[0], OUT[1] shown in FIG. 2 are merely examples for illustration and are not intended to limit the scope of implementation of the present invention.
請參照圖3,圖3繪示本發明實施例的多電路控制系統中的各個第二電路的實施方式的示意圖。第二電路300包括資料移位器310以及320。資料移位器310耦接在資料輸入埠IN[0]以及資料輸出埠OUT[0]間,資料移位器320則耦接在資料輸入埠IN[1]以及資料輸出埠OUT[1]間。資料移位器310、320分別由兩個移位暫存器群所組成。資料移位器310中的移位暫存器群包括多個移位暫存器311、312。資料移位器320中的移位暫存器群包括多個移位暫存器321、322。值得一提的,在圖3的繪示中,單一移
位暫存器群包括兩個移位暫存器僅只是說明用的範例。在本發明實施例中,單一移位暫存器群可以包括兩個或兩個以上的暫存器,沒有特定的限制。此外,第二電路300中的資料移位器的數量也可以為兩個以上,圖3的繪示不用以限制資料移位器的數量。
Please refer to Figure 3, which is a schematic diagram of the implementation method of each second circuit in the multi-circuit control system of an embodiment of the present invention. The
在本實施方式中,移位暫存器311、312依序耦接在資料輸入埠IN[0]以及資料輸出埠OUT[0]間。移位暫存器311、312共同接收載入信號LD、時脈信號CLK以及第一部分的狀態資訊ST0[0]、ST0[1]。其中,當要進行第二電路300的狀態資訊ST0[0]、ST0[1]的讀取動作時,載入信號LD可被致能,並使狀態資訊ST0[0]、ST0[1]分別被載入至移位暫存器311、312中。接著,載入信號LD可被禁能,移位暫存器311、312可根據時脈信號CLK的時脈循環,將狀態資訊ST0[0]、ST0[1]依序移位至資料輸出埠OUT[0]。
In this embodiment, the shift registers 311 and 312 are sequentially coupled between the data input port IN[0] and the data output port OUT[0]. The shift registers 311 and 312 receive the load signal LD, the clock signal CLK, and the first part of the state information ST0[0] and ST0[1]. When the state information ST0[0] and ST0[1] of the
此外,移位暫存器321、322依序耦接在資料輸入埠IN[1]以及資料輸出埠OUT[1]間。移位暫存器321、322共同接收載入信號LD、時脈信號CLK以及第二部分的狀態資訊ST1[0]、ST1[1]。其中,在載入信號LD被致能時,狀態資訊ST1[0]、ST1[1]的多個位元可分別被載入至移位暫存器321、322中。接著,在載入信號LD被禁能後,移位暫存器321、322可根據時脈信號CLK的時脈循環,將狀態資訊ST1[0]、ST1[1]依序移位至資料輸出埠OUT[1]。並透過資料輸出埠OUT[0]、OUT[1]以分別將狀態資訊ST0[0]、ST0[1]以及ST1[0]、ST1[1]分別傳遞至前一級的第二電路或第一電 路。 In addition, the shift registers 321 and 322 are coupled in sequence between the data input port IN[1] and the data output port OUT[1]. The shift registers 321 and 322 jointly receive the load signal LD, the clock signal CLK, and the second part of the state information ST1[0] and ST1[1]. When the load signal LD is enabled, a plurality of bits of the state information ST1[0] and ST1[1] can be loaded into the shift registers 321 and 322 respectively. Then, after the load signal LD is disabled, the shift registers 321 and 322 can shift the state information ST1[0] and ST1[1] in sequence to the data output port OUT[1] according to the clock cycle of the clock signal CLK. And through the data output ports OUT[0] and OUT[1], the status information ST0[0], ST0[1] and ST1[0], ST1[1] are respectively transmitted to the second circuit or the first circuit of the previous level.
另外,隨著時脈信號CLK的時脈循環,移位暫存器321、322可分別透過資料輸入埠IN[0]、IN[1]以及收來自於後一級的第二電路所傳送至的狀態資訊,並再將所接收到的狀態資訊透過資料輸出埠OUT[0]、OUT[1]以傳遞至前一級的第二電路或第一電路。 In addition, as the clock signal CLK cycles, the shift registers 321 and 322 can receive the status information transmitted from the second circuit of the next stage through the data input ports IN[0] and IN[1], and then transmit the received status information to the second circuit or the first circuit of the previous stage through the data output ports OUT[0] and OUT[1].
值得一提的,在本實施方式中,時脈信號CLK可根據第一電路所提供的讀取時脈信號RE#來產生。載入信號LD則可以根據第一電路所提供的寫入信號WE#來被禁能或致能。相關的實施細節在後續的實施例中會有詳細的說明。 It is worth mentioning that in this embodiment, the clock signal CLK can be generated according to the read clock signal RE# provided by the first circuit. The load signal LD can be disabled or enabled according to the write signal WE# provided by the first circuit. The relevant implementation details will be described in detail in the subsequent embodiments.
上述的移位暫存器311、312、321、322可應用本領域具通常知識者所熟知的移位暫存電路來實施,沒有特別的限制。
The above-mentioned
請參照圖4,圖4繪示本發明實施例的多電路控制系統的狀態資訊的讀取方法的流程圖。多電路控制系統包括為主電路的第一電路,以及多個為僕電路的第二電路。在步驟S410中,為僕電路的多個第二電路接收到為主電路的第一電路所發送的讀取狀態資訊的命令。接著,在步驟S420中,第二電路可其狀態資訊載入至移位暫存器中。在步驟S430中,第二電路可在每一個讀取時脈信號的時脈循環中,移位狀態資訊至下一個移位暫存器。 Please refer to FIG. 4, which shows a flow chart of a method for reading status information of a multi-circuit control system of an embodiment of the present invention. The multi-circuit control system includes a first circuit as a master circuit and a plurality of second circuits as slave circuits. In step S410, the plurality of second circuits as slave circuits receive a command to read status information sent by the first circuit as the master circuit. Then, in step S420, the second circuit can load its status information into a shift register. In step S430, the second circuit can shift the status information to the next shift register in each clock cycle of the read clock signal.
請同步參照圖3以及圖5,其中圖5繪示本發明實施例的多電路控制系統的動作波形圖。在圖5中,在時間區間T1間,為主電路的第一電路透過拉低寫入信號WE#以發送狀態資訊的讀取命令至第二電路300。對應於寫入信號WE#的拉低動作,第二電
路300可在時間區間T1後,透過拉高載入信號LD以致能載入信號LD,並使第二電路300的狀態資訊ST0[0]-0、狀態資訊ST0[1]-0、狀態資訊ST1[0]-0以及狀態資訊ST1[1]-0分別載入至移位暫存器312、311、322以及321中。
Please refer to FIG. 3 and FIG. 5 simultaneously, wherein FIG. 5 shows the action waveform diagram of the multi-circuit control system of the embodiment of the present invention. In FIG. 5, during the time interval T1, the first circuit, which is the main circuit, sends a read command of the state information to the
在時間區間T2中,第一電路可透過再次拉低寫入信號WE#以發送一虛設(dummy)時脈循環,第二電路300可根據虛設時脈循環,透過拉低載入信號LD以禁能載入信號LD。值得注意的,上述的虛設時脈循環並不是必要的。第二電路300也可在載入信號LD維持在致能狀態一預設時間後,自行拉低載入信號LD。
In the time interval T2, the first circuit can send a dummy clock cycle by pulling down the write signal WE# again, and the
在時間點TP1時,第二電路300的資料輸入埠IN[0]、IN[1]可分別接收後一級的第二電路的狀態資訊ST0[0]-1以及ST1[0]-1,第二電路300的資料輸出埠OUT[0]、OUT[1]可分別發送狀態資訊ST0[0]-0以及ST1[0]-0。
At time point TP1, the data input ports IN[0] and IN[1] of the
接著,在時間點TP2後,第一電路可開始提供持續轉態的讀取時脈信號RE#。對應於讀取時脈信號RE#的轉態動作,第二電路300可對應產生時脈信號CLK。在本實施例中,第二電路300可檢測讀取時脈信號RE#的下降緣,並根據讀取時脈信號RE#的下降緣來啟動時脈信號CLK的轉態動作。其中,在時間點TP1後,時脈信號CLK可以與讀取時脈信號RE#同相位。當然,在本發明其他實施例中,時脈信號CLK也可以與讀取時脈信號RE#具有一相位差,且時脈信號CLK的轉態動作也可,基於讀取時脈信號RE#,透過其他機制來啟動。例如第二電路300可根據讀取時
脈信號RE#的上升緣或者計數讀取時脈信號RE#的時脈循環達一定數量等。相關細節可以由電路設計者自行決定,並沒有一定的限制。
Then, after time point TP2, the first circuit may start to provide a continuously transitioning read clock signal RE#. Corresponding to the transition of the read clock signal RE#, the
在時間點TP2後,隨著時脈信號CLK的時脈循環,第二電路300中的移位暫存器311、312、321、322可根據時脈信號CLK的上升緣來執行狀態資訊的移位動作。因此,在時間點TP3,先前在資料輸入埠IN[0]、IN[1]上的後一級的第二電路的狀態資訊ST0[0]-1、ST1[0]-1分別被移入至移位暫存器311、321中,先前在移位暫存器311、321中狀態資訊ST0[1]-0、ST1[1]-0則分別被移入至移位暫存器312、322中。移位暫存器312、322並輸出所儲存的狀態資訊ST0[1]-0、ST1[1]-0至資料輸出埠OUT[0]、OUT[1]。此時資料輸入埠IN[0]、IN[1]接收後一級的第二電路的狀態資訊ST0[1]-1、ST1[1]-1。
After time point TP2, as the clock signal CLK cycles, the shift registers 311, 312, 321, 322 in the
在時間點TP4,先前在資料輸入埠IN[0]、IN[1]上的後一級的第二電路的狀態資訊ST0[1]-1、ST1[1]-1分別被移入至移位暫存器311、321中,先前在移位暫存器311、321中狀態資訊ST0[0]-1、ST1[0]-1則分別被移入至移位暫存器312、322中。移位暫存器312、322並輸出所儲存的狀態資訊ST0[0]-1、ST1[0]-1至資料輸出埠OUT[0]、OUT[1]。此時資料輸入埠IN[0]、IN[1]接收後二級的第二電路的狀態資訊ST0[0]-2、ST1[0]-2。 At time point TP4, the state information ST0[1]-1 and ST1[1]-1 of the second circuit of the next stage previously on the data input ports IN[0] and IN[1] are respectively shifted into the shift registers 311 and 321, and the state information ST0[0]-1 and ST1[0]-1 in the shift registers 311 and 321 are respectively shifted into the shift registers 312 and 322. The shift registers 312 and 322 output the stored state information ST0[0]-1 and ST1[0]-1 to the data output ports OUT[0] and OUT[1]. At this time, the data input ports IN[0] and IN[1] receive the state information ST0[0]-2 and ST1[0]-2 of the second circuit of the next stage.
在時間點TP5,先前在資料輸入埠IN[0]、IN[1]上的後二級的第二電路的狀態資訊ST0[0]-2、ST1[0]-2分別被移入至移位 暫存器311、321中,先前在移位暫存器311、321中狀態資訊ST0[1]-1、ST1[1]-1則分別被移入至移位暫存器312、322中。移位暫存器312、322並輸出所儲存的狀態資訊ST0[1]-1、ST1[1]-1至資料輸出埠OUT[0]、OUT[1]。此時資料輸入埠IN[0]、IN[1]接收後二級的第二電路的狀態資訊ST0[1]-2、ST1[1]-2。 At time point TP5, the state information ST0[0]-2 and ST1[0]-2 of the second circuit of the next two stages previously on the data input ports IN[0] and IN[1] are respectively shifted into the shift registers 311 and 321, and the state information ST0[1]-1 and ST1[1]-1 previously in the shift registers 311 and 321 are respectively shifted into the shift registers 312 and 322. The shift registers 312 and 322 output the stored state information ST0[1]-1 and ST1[1]-1 to the data output ports OUT[0] and OUT[1]. At this time, the data input ports IN[0] and IN[1] receive the state information ST0[1]-2 and ST1[1]-2 of the second circuit of the next two stages.
請同步參照圖2以及圖6A,其中圖6A繪示本發明實施例的多電路控制系統的另一實施方式的動作波形圖。在圖6A中,在時間區間T1間,為主電路的第一電路210拉低寫入信號WE#,並透過並列輸入輸出埠IOP傳送為命令信號CMD的輸入輸出信號IO[7:0]至第二電路220-1~220-N。接著,在時間區間T2間,為第一電路210再次拉低寫入信號WE#,並透過並列輸入輸出埠IOP傳送為位址信號ADD的輸入輸出信號IO[7:0]至第二電路220-1~220-N。其中,在本實施例中,命令信號CMD用以傳達第一電路210要針對第二電路220-1~220-N的其中之一進行狀態資訊的讀取動作。位址信號ADD則用以表示要所讀取的選中第二電路(第二電路220-1~220-N的其中之一)的位址資訊。
Please refer to FIG. 2 and FIG. 6A simultaneously, wherein FIG. 6A shows an operation waveform diagram of another embodiment of the multi-circuit control system of the present invention. In FIG. 6A, during the time interval T1, the
接著,第一電路210可提供讀取時脈信號RE#,並使選中第二電路(例如第二電路220-1)隨著讀取時脈信號RE#的時脈循環,依序透過並列輸入輸出埠IOP傳送為狀態資訊ST[0]-0、ST[1]-0的輸入輸出信號IO[7:0]至第一電路210。在第二電路220-1的狀態資訊ST[0]-0、ST[1]-0被輸出完成後,次一級的第二電路220-2的狀態資訊ST[0]-1、ST[1]-1可隨著讀取時脈信號RE#的時
脈循環,透過輸入輸出信號IO[7:0]被傳送至第一電路210。
Next, the
在本實施方式中,第一電路210可透過並列的輸入輸出埠IOP以針對所需要的第二電路220-1~220-N的其中之一執行狀態讀取動作,可快速的獲得各個第二電路220-1~220-N的狀態資訊。
In this embodiment, the
圖6B繪示本發明另一實施例的多電路控制系統的示意圖。多電路控制系統600包括第一電路610以及多個第二電路620-1~620-N。第二電路620-1~620-N相互串聯耦接,第二電路620-1~620-N並與第一電路610透過並列輸入輸出埠IOP相互耦接。在此請注意,在本實施例中,第一級的第二電路620-1的資料輸出埠OUT[0]、OUT[1]與第一電路610是相互隔離的。也就是說,本實施例的第一電路610可如圖6A的波形圖所示的,透過並列輸入輸出埠IOP透過並列傳輸機制以讀取各個第二電路620-1~620-N的狀態資訊。
FIG6B is a schematic diagram of a multi-circuit control system of another embodiment of the present invention. The
請參照圖7,圖7繪示本發明另一實施例的多電路控制系統的示意圖。多電路控制系統700包括第一電路710以及多個第二電路720-1~720-A以及730-1~730-B。其中第二電路720-1~720-A相互串聯耦接,且第一級的第二電路720-1的資料輸出埠OUT[0]以及OUT[1]分別耦接至第一電路710的資料輸入埠IN[0]以及IN[1]。另外,各個第二電路720-1~720-A的並列輸入輸出埠IOP共同耦接至第一電路710的並列輸入輸出埠IOP1。
Please refer to FIG. 7, which shows a schematic diagram of a multi-circuit control system of another embodiment of the present invention. The
另外,第二電路730-1~730-B相互串聯耦接,且第一級的
第二電路730-1的資料輸出埠OUT[0]以及OUT[1]分別耦接至第一電路710的資料輸入埠IN[2]以及IN[3]。並且,各個第二電路730-1~730-B的並列輸入輸出埠IOP共同耦接至第一電路710的並列輸入輸出埠IOP2。
In addition, the second circuits 730-1 to 730-B are coupled in series with each other, and the data output ports OUT[0] and OUT[1] of the first-stage second circuit 730-1 are respectively coupled to the data input ports IN[2] and IN[3] of the
在本實施例中,第一電路710可透過讀取信號傳輸埠RP1以及寫入信號傳輸埠WP1來分別傳送讀取時脈信號RE1#以及寫入信號WE1#至第二電路720-1~720-A以控制狀態資訊的讀取動作。第一電路710另可透過讀取信號傳輸埠RP2以及寫入信號傳輸埠WP2來分別傳送讀取時脈信號RE2#以及寫入信號WE2#至第二電路730-1~730-B以控制狀態資訊的讀取動作。並且,第一電路710可透過並列輸入輸出埠IOP1來讀取第二電路720-1~720-A其中之任一的狀態資訊,第一電路710也可透過並列輸入輸出埠IOP2來讀取第二電路730-1~730-B其中之任一的狀態資訊。
In this embodiment, the
關於狀態資訊的讀取動作的細節,在前述的實施例中已有詳細的說明,在此恕不多贅述。 The details of the status information reading action have been described in detail in the aforementioned implementation examples, so I will not elaborate on them here.
值得一提的,第二電路720-1~720-A所形成的串列中所具有的第二電路720-1~720-A的數量,與第二電路730-1~730-B所形成的串列中所具有的第二電路730-1~730-B的數量可以相同或不相同。並且,在本明其他實施例中,多電路系統700中也可具有其他的第二電路以形成的另一個或多個串列。具體來說,多電路系統700中,第二電路所形成的串列的數量可以為一個或多個,沒有特定的限制。
It is worth mentioning that the number of second circuits 720-1~720-A in the series formed by the second circuits 720-1~720-A and the number of second circuits 730-1~730-B in the series formed by the second circuits 730-1~730-B may be the same or different. In addition, in other embodiments of the present invention, the
請參照圖8,圖8繪示本發明實施例的多電路控制系統的狀態資訊的讀取方法的流程圖。其中,在步驟S810中,使第一電路提供讀取時脈信號。在步驟S820中,使N個第二電路依序相互串接,並使第二電路耦接至第一電路,其中N為大於1的整數。在步驟S830中,在各第二電路中提供至少一第一資料移位器,使至少一第一資料移位器載入各第二電路的狀態資訊。在步驟S840中,使各第二電路根據讀取時脈信號以移出各狀態資訊至前級的各第二電路或第一電路。 Please refer to FIG8, which shows a flow chart of a method for reading state information of a multi-circuit control system according to an embodiment of the present invention. In step S810, the first circuit provides a read clock signal. In step S820, N second circuits are connected in series in sequence, and the second circuits are coupled to the first circuit, wherein N is an integer greater than 1. In step S830, at least one first data shifter is provided in each second circuit, so that at least one first data shifter loads the state information of each second circuit. In step S840, each second circuit shifts out each state information to each second circuit or first circuit of the previous stage according to the read clock signal.
關於上述步驟的實施細節,在前述的多個實施例中已有詳細的說明,在此恕不多贅述。 The implementation details of the above steps have been described in detail in the aforementioned embodiments, so I will not elaborate on them here.
綜上所述,本發明的多電路控制系統中,透過使第一電路耦接至相互串聯的多個第二電路,並使第一電路提供讀取時脈信號,來讓多個第二電路的狀態資訊隨著讀取時脈信號的時脈循環依序被讀出。第一電路不需針對每一個第二電路逐一下達讀取命令以讀取每一個第二電路的狀態資訊,有效節省工作所需要的時間。 In summary, in the multi-circuit control system of the present invention, by coupling the first circuit to multiple second circuits connected in series, and allowing the first circuit to provide a read clock signal, the status information of multiple second circuits can be read out in sequence along with the clock cycle of the read clock signal. The first circuit does not need to issue a read command to each second circuit one by one to read the status information of each second circuit, which effectively saves the time required for work.
100:多電路控制系統 100:Multi-circuit control system
110:第一電路 110: First circuit
120-1~120-N:第二電路 120-1~120-N: Second circuit
IN[0]:資料輸入埠 IN[0]: Data input port
IOP:並列輸入輸出埠 IOP: parallel input and output port
OUT[0]:資料輸出埠 OUT[0]: data output port
RE#:讀取時脈信號 RE#: Read clock signal
RP:讀取信號傳輸埠 RP: Read signal transmission port
WE#:寫入信號 WE#: write signal
WP:寫入信號傳輸埠 WP: Write signal transmission port
Claims (17)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW112134430A TWI880338B (en) | 2023-09-11 | 2023-09-11 | Multi-circuit control system and reading method for status informatiopn thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW112134430A TWI880338B (en) | 2023-09-11 | 2023-09-11 | Multi-circuit control system and reading method for status informatiopn thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202512173A TW202512173A (en) | 2025-03-16 |
| TWI880338B true TWI880338B (en) | 2025-04-11 |
Family
ID=95828563
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW112134430A TWI880338B (en) | 2023-09-11 | 2023-09-11 | Multi-circuit control system and reading method for status informatiopn thereof |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI880338B (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1698132A (en) * | 2002-09-24 | 2005-11-16 | 桑迪士克股份有限公司 | Highly compact non-volatile memory with space efficient data registers and method thereof |
| US7251740B2 (en) * | 2004-01-23 | 2007-07-31 | Intel Corporation | Apparatus coupling two circuits having different supply voltage sources |
| US20130124763A1 (en) * | 2011-10-05 | 2013-05-16 | Analog Devices, Inc. | Methods for Discovery, Configuration, and Coordinating Data Communications Between Master and Slave Devices in a Communication System |
| WO2020172802A1 (en) * | 2019-02-26 | 2020-09-03 | 深圳配天智能技术研究院有限公司 | Master-slave device communication system and method |
| US20220397607A1 (en) * | 2021-06-14 | 2022-12-15 | Samsung Electronics Co., Ltd. | Flip-flop circuitry |
-
2023
- 2023-09-11 TW TW112134430A patent/TWI880338B/en active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1698132A (en) * | 2002-09-24 | 2005-11-16 | 桑迪士克股份有限公司 | Highly compact non-volatile memory with space efficient data registers and method thereof |
| US7251740B2 (en) * | 2004-01-23 | 2007-07-31 | Intel Corporation | Apparatus coupling two circuits having different supply voltage sources |
| US20130124763A1 (en) * | 2011-10-05 | 2013-05-16 | Analog Devices, Inc. | Methods for Discovery, Configuration, and Coordinating Data Communications Between Master and Slave Devices in a Communication System |
| WO2020172802A1 (en) * | 2019-02-26 | 2020-09-03 | 深圳配天智能技术研究院有限公司 | Master-slave device communication system and method |
| US20220397607A1 (en) * | 2021-06-14 | 2022-12-15 | Samsung Electronics Co., Ltd. | Flip-flop circuitry |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202512173A (en) | 2025-03-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20080235412A1 (en) | Memory controller with bi-directional buffer for achieving high speed capability and related method thereof | |
| EP0388175B1 (en) | Semiconductor memory device | |
| JP4145984B2 (en) | Semiconductor memory device | |
| CN106910526B (en) | Signal shift circuit, substrate chip, and semiconductor system including the same | |
| TWI880338B (en) | Multi-circuit control system and reading method for status informatiopn thereof | |
| JPH04301290A (en) | Pushup memory circuit | |
| TW202127274A (en) | Processing-in-memory (pim) device | |
| US6243777B1 (en) | Circuit for preventing bus contention | |
| KR100372247B1 (en) | semiconductor memory device having prefetch operation mode and data transfer method for reducing the number of main data lines | |
| CN101556562A (en) | Memory control apparatus and method for controlling the same | |
| US5349561A (en) | Multiport memory and method of operation thereof | |
| US5444660A (en) | Sequential access memory and its operation method | |
| CN119601063A (en) | Multi-circuit control system and method for reading state information thereof | |
| US20070043921A1 (en) | Wave pipelined output circuit of synchronous memory device | |
| TWI846502B (en) | Memory device and method for zq calibration | |
| US20040160843A1 (en) | Address buffer having (N/2) stages | |
| CN102237867A (en) | Semiconductor module including module control circuit and method for controlling the same | |
| WO1992004774A1 (en) | Semiconductor integrated circuit | |
| TWI884638B (en) | Storage chip and read operation method | |
| US7031201B2 (en) | Semiconductor memory device with late write function and data input/output method therefor | |
| CN115129652A (en) | Integrated circuit chip and many-core system | |
| US20080170451A1 (en) | Method and circuit for setting test mode of semiconductor memory device | |
| US11842193B2 (en) | Processing-in-memory (PIM) device | |
| KR102898025B1 (en) | Processing-In-Memory(PIM) device | |
| JP2001250373A (en) | FIFO type data input / output device and FIFO type data input / output method |