TW470884B - Parallel bus system capable of expanding peripheral devices - Google Patents
Parallel bus system capable of expanding peripheral devices Download PDFInfo
- Publication number
- TW470884B TW470884B TW88109447A TW88109447A TW470884B TW 470884 B TW470884 B TW 470884B TW 88109447 A TW88109447 A TW 88109447A TW 88109447 A TW88109447 A TW 88109447A TW 470884 B TW470884 B TW 470884B
- Authority
- TW
- Taiwan
- Prior art keywords
- characters
- address
- character
- data
- peripheral device
- Prior art date
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
Description
^^0884^^ 0884
本發明有關於一種並列匯流排系統,尤其是指一種可 =充周邊裝置的並列匯流排系統,可供晶片上的系統 Uysi:em 〇n chip)或其他類似系統擴充其周邊裝置之用。The present invention relates to a parallel bus system, in particular, to a parallel bus system that can be used as a peripheral device, which can be used by a system on a chip (Uysi: em chip) or other similar systems to expand its peripheral devices.
一般晶片上的系統(System 〇n Chip)如第一圖所示, 在一晶片1上已經具有中央處理單元n,解碼器12,及若 干周邊裳置13、14、15等,内部連線CS1、CS2、CS3及匯 流排1 0均已設定,使用時若需要外加其他周邊裝置,是相 當困難的。如果聯結兩顆晶片而作擴充,不但接線複雜, 而且程式撰寫十分繁瑣。 目前一般的串列匯流排系統具有可擴充周邊設備的功 能’但因為是串列式匯流排系統,相關指令與數據之傳輸 十分緩慢。 爹明目逆 因此本發明之一目的在提出一種可擴充周邊裝置的j 歹 統,相關的系統配合此種並列匯流排系統設 計’可輕易擴充所需的周邊裝置。 本發明又一目的在使所提出的並列匯流排系統中之周 邊裝置亦可視需要而主控該匯流排,使周邊裝置亦可主控 資料傳輸。 ^ » 本發明再一目的在使所提出的並列匯流排系統可jgjiAs shown in the first figure, the system on a general chip (System On Chip) already has a central processing unit n, a decoder 12, and a number of peripheral devices 13, 14, 15, etc. on a chip 1. The internal connection is CS1. , CS2, CS3, and bus 10 are all set. It is very difficult to use other peripheral devices when using it. If two chips are connected for expansion, not only the wiring is complicated, but the programming is very tedious. At present, the general serial bus system has the function of expanding peripheral equipment ', but because it is a serial bus system, the transmission of related commands and data is very slow. Therefore, it is an object of the present invention to provide a j 可 system capable of expanding peripheral devices. Related systems cooperate with such a parallel bus system design to easily expand required peripheral devices. Another object of the present invention is to enable peripheral devices in the proposed parallel bus system to control the bus as needed, so that peripheral devices can also control data transmission. ^ »Another object of the present invention is to make the proposed parallel bus system jgji
第4頁 470884 五、發明說明( 具有一個以上之中央處 排。 理單元,可以分時地主控該匯流 一第圖為般習用晶片上的系統(System on Chip)之 不意圖。 第一圖為本發明之並列匯流排系統一實施例之示意 圖。 弟圖為本發明之具有兩個中央處理單元的並列匯流 排糸統之示意圖。 第四圖為本發明操作模式之流程圖。 發明詳诫 =參考第一圖,其為本發明之並列匯流排系統一實施 例之示意圖,一中央處理單元21與若干周邊裝置22,23, 24,···互相以並列匯流排2〇連接。並列匯流排2〇具有十條 線(本發明不限定線的數目)’各條線的的功能請見表一的Page 4 470884 V. Description of the invention (with more than one central row. The processing unit can control the bus in a time-sharing manner. The first picture is the intention of the system on chip. The first picture It is a schematic diagram of an embodiment of the parallel bus system of the present invention. The figure is a schematic diagram of a parallel bus system with two central processing units of the present invention. The fourth diagram is a flowchart of the operation mode of the present invention. = Refer to the first figure, which is a schematic diagram of an embodiment of the parallel bus system of the present invention. A central processing unit 21 and a number of peripheral devices 22, 23, 24, ... are connected to each other by a parallel bus 20. Parallel bus Row 20 has ten lines (the number of lines is not limited in the present invention). The function of each line is shown in Table 1.
表 一 號 名 稱 說 明 〜8 CD0-CD7 指令字元、位址字元、數 據字元傳輸線 9 SCLK 系統時脈線 10 CSB 周邊裝置選擇線 第5頁 五、發明說明(3) 系統時脈線SCLK是中央 至各周邊襞置22 2S 9/1 里早兀21將糸統時脈信號送 m ^ ^ ' ,Μ’ · · ·等所用之線。 邊裴置接;訊ΪίίΤ線則為比中央處理單元21通知所有周 通知所有周邊裝置接受訊息,為低電位時,代表 中央處理單元21通知所有闲邊 於⑽〜CD7線上先送出指令斤字有元周之邊所裝/位率備接甘受訊息後, 址字元之Μ + /疋W ^ 7子兀之所有位兀,其次送出位 0 P有,然後送出數據字元之所有位元。各周 邊裝^ ^開始解讀這些訊息,以便按指示工作。 ,令字元(8位元)首先被送上CD0〜CD7線,為了使周邊 裝置能確知此為指令字元,可規定CDO線為1即代表指令字 元°指令字元之種類如表二所示: 表 指令名稱 CD0〜CD7 說 明 IDEN 11 00 IDO〜ID3 選擇周邊裝置指令 COMBO 1101DA0〜DA3 選擇周邊裝置内子裝置之 指令 M0DE1 11100001 周邊裝置為小型記憶體指 令 M0DE2 11100010 周邊裝置為大型記憶體指 令 NAUTO 11101000 周邊裝置内記憶體位址不 自動加減指令Table 1 Name Description ~ 8 CD0-CD7 Instruction characters, address characters, and data character transmission lines 9 SCLK system clock line 10 CSB Peripheral device selection line Page 5 V. Description of the invention (3) System clock line SCLK It is the line used to send the clock signal of the system to m ^ ^ ', M' · · · etc. from the center to the surroundings 22 2S 9/1. Bian Pei is connected; the communication line is more than the central processing unit 21 to notify all peripheral devices to notify all peripheral devices to accept messages. When the potential is low, the central processing unit 21 notifies all idle sides to send instructions on the ~~ CD7 line. After the Yuan Zhou's edge / bit rate is ready to receive the message, all the bits of the address character M + / 疋 W ^ 7 can be sent, followed by the bit 0 P, and then all the bits of the data character. Every week ^ ^ Begin to interpret these messages in order to work as directed. , So that the characters (8 bits) are first sent to the CD0 ~ CD7 line. In order for the peripheral device to know that this is the instruction character, the CDO line can be specified as 1 to represent the type of instruction character. Shown: Table instruction name CD0 ~ CD7 Description IDEN 11 00 IDO ~ ID3 Select peripheral device instruction COMBO 1101DA0 ~ DA3 Select instruction of peripheral device sub device M0DE1 11100001 Peripheral device is small memory instruction M0DE2 11100010 Peripheral device is large memory instruction NAUTO 11101000 Memory address in peripheral device does not increase or decrease automatically
第6頁 470884 五、發明說明(4) AUTOA1 11101100 周邊裝置内記憶體位址 白 AUTOA2 11101101 動加1指令 周邊裝置内記憶體位址 白 AUT0S1 11101110 動加2指令 周邊裝置内記憶體位址 白 AUT0S2 11101111 動減1指令 周邊裝置内記憶體位址 WR1B 11110000 動減2指令 寫入1字元數據 WR2B 11110001 寫入2字元數據 WR3B 11110010 寫入3子7L數據 WR4B 11110011 寫入4字元數據 RMW1B 11110100 讀後覆寫1字元數據 RMW2B 11110101 讀後覆寫2字元數據 RMW3B 11110110 讀後覆寫3字元數據 RMW4B 11110111 讀後覆寫4字元數據 RFW1B 11111000 寫後驗讀1字元數據 RFW2B 11111001 寫後驗讀2字元數據 RFW3B 11111010 寫後驗讀3字元數據 RFW4B 11111011 寫後驗讀4字元數據 RD1B 11111100 讀取1字元數據 RD2B 11111101 讀取2字元數據 RD3B 11111110 讀取3字元數據 RD4B 11111111 讀取4字元數據Page 6 470884 V. Description of the invention (4) AUTOA1 11101100 Memory address in the peripheral device AUTOA2 11101101 Move 1 instruction Peripheral memory address white AUT0S1 11101110 Move 2 instruction Peripheral memory address white AUT0S2 11101111 Subtract 1 Instruction peripheral memory address WR1B 11110000 Subtraction 2 Instruction write 1 character data WR2B 11110001 Write 2 character data WR3B 11110010 Write 3 sub 7L data WR4B 11110011 Write 4 character data RMW1B 11110100 Overwrite after reading 1-character data RMW2B 11110101 Overwrite 2-character data after reading RMW3B 11110110 Overwrite 3-character data after reading RMW4B 11110111 Overwrite 4-character data after reading RFW1B 11111000 Read 1-character data after writing RFW2B 11111001 Read-write after reading 2-character data RFW3B 11111010 Read 3-character data after writing RFW4B 11111011 Read 4-character data after writing RD1B 11111100 Read 1-character data RD2B 11111101 Read 2-character data RD3B 11111110 Read 3-character data RD4B 11111111 Read 4-character data
第7頁 470884Page 7 470884
REGISTER 1 0R5R4R3R2R1 R0 選擇暫存器指令 ^ 指令字元通常不只一個字元(本例一字元為8位元), 第一個字.元為IDEN ,用以指示何一周邊裝置準備接收訊 息,其後四碼即為周邊裝置的代碼,本例可指定16個周邊 裝置。其次是 COMBO 或 M0DE1,M0DE2 或 NAUT0,AUT0A1, AUT0A2,AUT0S1,AUT0S2 等字元。 ’ 使用^時,表示該被指定的周邊裝置中含有若干 子裝置’ COMBO後四碼即指定子裝置之位址,本例最高可 含16個子裝置。M〇DE1,m〇〇e2則用以確定周邊裝置的記憶 體是小型還是大型;NAUT〇則用以確定周邊裝置内記憶^ 位址不自動加減,若使用AUT0A1,AUT0A2,AUT0S1,或 AUT0S2 ’則後續的數據可以連續傳送,不必每次都附加 指令字元與位址字元。 ΐ次則送出其餘的1 6個讀寫指令字元其中之一,讀寫 曰々子元分為四種如下: 1 *寫入指令字元 沾⑴ΐ不中央處理單元欲將數據寫入周邊裝置内,其數據 0 士〜馬一予元到四字元,即WR1B,WR2B,WR3B,WR4B 〇 2.讀後覆寫字元 ^不中央處理單元欲將周邊装置内的數據讀出,加以 一 #馬入周邊裝置内原位址,其數據的型態可為一字 到四$ - 于凡,即RMW1B, RMW2B, RMW3B, RMW4B 。 d•寫後驗讀字元REGISTER 1 0R5R4R3R2R1 R0 Select register command ^ The command character is usually more than one character (the character in this example is 8 bits). The first character .ID is IDEN, which indicates which peripheral device is ready to receive messages. The next four codes are the codes of the peripheral devices. In this example, 16 peripheral devices can be specified. Followed by COMBO or M0DE1, M0DE2 or NAUT0, AUT0A1, AUT0A2, AUT0S1, AUT0S2, etc. ’When using ^, it means that the designated peripheral device contains several sub-devices. 'The last four codes of COMBO specify the address of the sub-device. In this example, it can contain up to 16 sub-devices. M〇DE1, m〇〇e2 is used to determine whether the memory of the peripheral device is small or large; NAUT〇 is used to determine the memory in the peripheral device ^ Address is not automatically added or subtracted, if AUT0A1, AUT0A2, AUT0S1, or AUT0S2 ' Then subsequent data can be transmitted continuously without having to append instruction characters and address characters each time. One time, one of the remaining 16 read-write instruction characters is sent. The read-write characters are divided into four types as follows: 1 * The write instruction characters are not written by the central processing unit to the peripheral device. In this case, the data is from 0 person to 1 yuan to 4 characters, that is, WR1B, WR2B, WR3B, WR4B 〇2. After writing, write the characters ^ If the central processing unit wants to read the data in the peripheral device, add 1 # 马 入 The original address in the peripheral device, the type of data can be one word to four $-Yu Fan, namely RMW1B, RMW2B, RMW3B, RMW4B. d • Read characters after writing
470884470884
表不中央處理單元欲將數據寫入周邊裝置内,並再讀 出驗證是否正確寫入,其數據的型態可為一字元到四字 元,即RFW1B, RFW2B, RFW3B, RFW4B 。 4 ·讀取指令字元 表示中央處理單元欲將周邊裝置内的數據讀出,其數 據的型態可為一字元到四字元,即RD1B,RD2B, RD3b RD4B 。 ’ ’It means that the central processing unit wants to write data into the peripheral device and then read out to verify whether it is written correctly. The data type can be one character to four characters, namely RFW1B, RFW2B, RFW3B, RFW4B. 4 · Read command character Indicates that the central processing unit wants to read the data in the peripheral device. The data type can be one character to four characters, namely RD1B, RD2B, RD3b RD4B. ’’
選擇暫存器指令REGISTER則用以指示中央處理單元將 數據送到周邊裝置相關的暫存器中以備處理,前二位元為 10,後面六個位元R5R4R3R2R1R0則可指定64個暫存器。 指令子元送完後’緊接著送出位址字元,位址字元的 型態如表三所示: 表三 位址指令 CD0〜CD7, CD0〜CD7, CD0〜CD7, 說 明 (位址) 00A21-A16, A15-A8, A 7 〜A 0, M0DE2 :位址4MB (位址) 010A20〜A16, A15〜A8, A 7 〜A 0, M0DE2 :位址2MB (位址) 0110A19〜A16, A15〜A8, A 7 〜A 0, M0DE2 :位址1MB (位址) Oil 10A18〜A16, A15〜A8, A7 〜A0, M0DE2 :位址 512KB (位址) 011110A17〜A16, A15〜A8, A7-A0, M0DE2 :位址 2 56KB (位址) 0111110A16, A15-A8, A 7 〜A 0, Μ 0 D E 2 :位址 1 28ΚΒ 第9頁 470884 五、發明說明(7) (位址)01111110, (位址)01111111, (位址)01111111, (位址)01111111, (位址)01111111, A15 〜A8, A7 〜A0,MODE2 :位址The register selection instruction REGISTER is used to instruct the central processing unit to send data to the registers associated with the peripheral device for processing. The first two bits are 10, and the last six bits R5R4R3R2R1R0 can specify 64 registers. . After the instruction sub-element is sent, the address character is sent immediately, and the type of the address character is shown in Table 3. Table 3 Address instructions CD0 ~ CD7, CD0 ~ CD7, CD0 ~ CD7, description (address) 00A21-A16, A15-A8, A 7 to A 0, M0DE2: Address 4MB (Address) 010A20 to A16, A15 to A8, A 7 to A 0, M0DE2: Address 2MB (Address) 0110A19 to A16, A15 ~ A8, A 7 ~ A 0, M0DE2: Address 1MB (Address) Oil 10A18 ~ A16, A15 ~ A8, A7 ~ A0, M0DE2: Address 512KB (Address) 011110A17 ~ A16, A15 ~ A8, A7 -A0, M0DE2: Address 2 56KB (Address) 0111110A16, A15-A8, A 7 to A 0, Μ 0 DE 2: Address 1 28KB Page 9 470884 V. Description of the invention (7) (Address) 01111110 , (Address) 01111111, (address) 01111111, (address) 01111111, (address) 01111111, A15 to A8, A7 to A0, MODE2: address
64KB 0 A14〜A8,A7〜A0,MODE2:位址64KB 0 A14 ~ A8, A7 ~ A0, MODE2: address
32KMB 10 A13〜Α8·,Α7〜AO, MODE2:位址 1 6ΚΒ 110 Α12〜Α8,Α7〜AO,MODE2:位址32KMB 10 A13 ~ Α8 ·, Α7 ~ AO, MODE2: Address 1 6KB 110 Α12 ~ Α8, Α7 ~ AO, MODE2: Address
8KB8KB
1.110 All 〜A8,A7 〜AO,MODE2:位址1.110 All to A8, A7 to AO, MODE2: address
4KB 表三的位址指令是以蟲例說明的,連續在 CD0〜CD7線上送出三字艮據記憶體的大小而有不同 的預定位元值,如為4MB的記憶體時,其第一個字元的前 兩個位元規定為「〇〇」,如為2MB的記憶體時,其第一個 字元的前三個位元規定為「〇丨〇」,餘類推。請^意, 一個位址字元的第一個位元CD〇定為〇,以便令4 第一個位元區別。 7予/〇的 若指令字元中用令,則位址字元只要送出 一^^^元即可’代表記憶體位址僅1 28個字元。 位址字元送完後,緊接著送出數據字元, 一 數目已由前述四種讀寫字元規定。 予凡的 送完數據字元後,周邊裝置選擇線CSB轉成高電位The address instruction of 4KB Table 3 is explained by a worm example. Three characters are continuously sent on the CD0 ~ CD7 lines. The predetermined bit value varies according to the size of the memory. If it is a 4MB memory, its first The first two bits of the character are specified as "〇〇". If it is 2MB of memory, the first three bits of the first character are specified as "〇 丨 〇", and so on. Please note that the first bit CD0 of an address character is set to 0 so that the first bit 4 of the address character is distinguished. If the command character is used in the command character, the address character only needs to send a ^^^ element, which means that the memory address is only 1 28 characters. After the address characters are sent, the data characters are sent out immediately, and the number has been specified by the aforementioned four read and write characters. After the data characters have been sent, the peripheral device selection line CSB goes high.
第10頁 470884 五、發明說明(8) 通知各周邊 本發明 適當時機控 制周邊裝置 通知其他周 請見第 具有兩個中 裝置33、34 制,或者是 一中央處理 第四圖 瞭解本發明 本發明 大小、邏輯 類與形態、 定只能使用 只是舉例說 後附之申請Page 10 470884 V. Description of the invention (8) Notify each peripheral The present invention controls the peripheral devices at appropriate timings Notify the other week Please see the second device with 33, 34 or a central processing The fourth figure to understand the present invention Size, logic class and form, can only be used only for example attached application
裝置此一回合的訊息告終。 的周邊裝置亦可設計成配合中央處理單_ 制此並列匯流排,如可在中央處理單在 選擇線CSB後,主動控制周邊裝晋早兀停止控 !妝里垃J您裝置選擇線CSB, 邊裝置接受訊息。 二圖,其為本發明並列匯流排另—種形熊,艮 央處理單元31、32,可安排分別控制相周: 、35,只要並列匯流排30無人主控即可加以押 其中一個中央處理單元具有優先權,可中斷^ 單元而掌控此並列匯流排。 為本發明操作模式之流程圖,由此圖即可輕 的操作步驟。 之並列匯流排系統中,並列線的數目、字元的 的正負、線的次序、指令字元與位址字元的種 中央處理單元的數目等均無限制,而且也不限 :日日片上的糸統(System on Chip)。上述例子 明,不能作為限制,本發明之精神與範圍應以 專利範圍為準。 mm ικηη 第11頁End this round of device messages. Peripheral devices can also be designed to cooperate with the central processing order _ to make this parallel bus, if you can actively control the peripheral equipment after the selection line CSB in the central processing order, stop the control early! Makeup, you can choose your device selection line CSB, Device accepts the message. The second picture is another parallel bus of the present invention-a kind of bear, Genyang processing units 31 and 32 can be arranged to control the phase cycle separately:, 35, as long as the parallel bus 30 is not controlled by the master, one of the central processing can be charged. The unit has priority and can interrupt the ^ unit and take control of this parallel bus. This is a flowchart of the operation mode of the present invention, from which the light operation steps can be performed. In the parallel bus system, there are no restrictions on the number of parallel lines, the sign of the characters, the order of the lines, the number of central processing units of the command character and the address character, and there is no limitation: System on Chip. The above examples show that it cannot be taken as a limitation, and the spirit and scope of the present invention should be based on the patent scope. mm ικηη page 11
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW88109447A TW470884B (en) | 1999-06-08 | 1999-06-08 | Parallel bus system capable of expanding peripheral devices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW88109447A TW470884B (en) | 1999-06-08 | 1999-06-08 | Parallel bus system capable of expanding peripheral devices |
Publications (1)
Publication Number | Publication Date |
---|---|
TW470884B true TW470884B (en) | 2002-01-01 |
Family
ID=21641015
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW88109447A TW470884B (en) | 1999-06-08 | 1999-06-08 | Parallel bus system capable of expanding peripheral devices |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW470884B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI421691B (en) * | 2008-09-29 | 2014-01-01 | Intel Corp | A method, an apparatus and a system of querying a device for information |
-
1999
- 1999-06-08 TW TW88109447A patent/TW470884B/en active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI421691B (en) * | 2008-09-29 | 2014-01-01 | Intel Corp | A method, an apparatus and a system of querying a device for information |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
USRE49875E1 (en) | Memory system having high data transfer efficiency and host controller | |
US5701417A (en) | Method and apparatus for providing initial instructions through a communications interface in a multiple computer system | |
EP2936325B1 (en) | Techniques to configure a solid state drive to operate in a storage mode or a memory mode | |
CN1698032B (en) | Booting from non-linear memory | |
EP1065594A3 (en) | Error detection and correction circuit in a flash memory | |
KR20150083741A (en) | EMBEDDED MULTIMEDIA CARD(eMMC), AND METHODS FOR OPERATING THE eMMC | |
US20090177816A1 (en) | Method and system for communication with sd memory and sdio devices | |
JP2008009817A (en) | Semiconductor device and data transfer method | |
US10866755B2 (en) | Two stage command buffers to overlap IOMMU map and second tier memory reads | |
TW470884B (en) | Parallel bus system capable of expanding peripheral devices | |
CN101911035B (en) | Bridge circuit interfacing a processor to external devices via memory address mapping | |
US10915447B1 (en) | Systems, devices, and methods for reduced critical path latency and increased work parallelization in memory writes | |
US7243178B2 (en) | Enable/disable claiming of a DMA request interrupt | |
CN110164394B (en) | Time sequence controller and time sequence control board | |
CN101303676A (en) | Electronic system with direct memory access and method thereof | |
JPS61269751A (en) | Apparatus and method for using auxiliary data memory in data processing memory having independent program memory unit and data memory unit | |
US6442636B1 (en) | Parallel bus system capable of expanding peripheral devices | |
KR100296473B1 (en) | A parallel bus system capable of expanding peripheral devices | |
JPS6341962A (en) | Program control device | |
JPS62187956A (en) | Dma control system | |
JPH04177452A (en) | Information processor | |
JPS59119456A (en) | Access system of segmented memory | |
JPS6255167B2 (en) | ||
JPS63165940A (en) | Data processor | |
JPS62293365A (en) | Data transfer system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GD4A | Issue of patent certificate for granted invention patent |