[go: up one dir, main page]

CN100351827C - Pin sharing system - Google Patents

Pin sharing system Download PDF

Info

Publication number
CN100351827C
CN100351827C CNB2004100328830A CN200410032883A CN100351827C CN 100351827 C CN100351827 C CN 100351827C CN B2004100328830 A CNB2004100328830 A CN B2004100328830A CN 200410032883 A CN200410032883 A CN 200410032883A CN 100351827 C CN100351827 C CN 100351827C
Authority
CN
China
Prior art keywords
group
pin
pins
integrated circuit
wires
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.)
Expired - Fee Related
Application number
CNB2004100328830A
Other languages
Chinese (zh)
Other versions
CN1684056A (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.)
MediaTek Inc
Original Assignee
MediaTek Inc
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 MediaTek Inc filed Critical MediaTek Inc
Priority to CNB2004100328830A priority Critical patent/CN100351827C/en
Publication of CN1684056A publication Critical patent/CN1684056A/en
Application granted granted Critical
Publication of CN100351827C publication Critical patent/CN100351827C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Multi Processors (AREA)

Abstract

The pin sharing system comprises an integrated circuit, a first device, a second device, a memory device, a first set of connections, a second set of connections, and a third set of connections. The integrated circuit comprises a first pin group and a second pin group. The first device includes a first set of data pins. The second device includes a set of input/output data address pins. The memory device includes a set of low address pins, a set of high address pins, and a set of memory data pins. The first group of wires connects the first group of data pins and the low address pin group to the first pin group. The second group of wires connects the memory data pin group and the input/output data address pin group to the second pin group. The second set of connections further includes a register coupled between the set of input/output data address pins and the second set of pins for temporarily storing a set of address information and subsequently transmitting the stored address information to the second device. The third group of wires connects the high address pin group and the register to the second pin group.

Description

引脚共用系统pin sharing system

技术领域technical field

本发明关于一种引脚共用系统,用来共用外围设备与集成电路间连接的线路。The present invention relates to a pin sharing system for sharing the lines connected between peripheral equipment and integrated circuits.

背景技术Background technique

随着半导体制造技术突飞猛进,一般集成电路的功能也越来越复杂,甚至有些集成电路可以控制许多个装置。然而当多个装置与集成电路相连接时却产生一个问题,那就是集成电路对外相连的引脚数目受到集成电路封装技术的限制常常不敷使用,因此有些引脚就必须设计可以让数个装置共用。所以,引脚共用系统为计算机中常见的结构。引脚共用系统可能包含数个外围设备,以及一个通常为中央处理器的集成电路。各外围设备受集成电路控制,因而需要数目不等的接线连接集成电路的引脚以及外围设备的引脚以传输信号。其中集成电路的引脚因为被数个外围设备所共用,因而就必须避免信号于集成电路与数个外围设备传递过程中产生冲突。With the rapid development of semiconductor manufacturing technology, the functions of general integrated circuits are becoming more and more complex, and some integrated circuits can even control many devices. However, when multiple devices are connected to the integrated circuit, a problem arises, that is, the number of externally connected pins of the integrated circuit is often insufficient due to the limitation of the integrated circuit packaging technology, so some pins must be designed to allow several devices to connect to each other. shared. Therefore, the pin-sharing system is a common structure in computers. A pin-shared system may consist of several peripherals, and an integrated circuit, usually a central processing unit. Each peripheral device is controlled by the integrated circuit, thus requiring different numbers of wires to connect the pins of the integrated circuit and the pins of the peripheral device to transmit signals. Since the pins of the integrated circuit are shared by several peripheral devices, it is necessary to avoid signal conflicts during transmission between the integrated circuit and the several peripheral devices.

例如美国专利第6,044,412号所公开的技术,引脚共用系统可应用于动态存储媒体(Dynamic Memory Device,例如:CD-ROM),与静态存储媒体(StaticMemory Device,例如:ROM)等外围设备之间。然而由于数个外围设备的引脚共用同一条接线,共用同一接线的数个装置将无法同时与集成电路连通,以致于此种引脚共用系统的多个外围设备常受限于共用接线而处于闲置状态。如果能令部分外围设备于分享接线或引脚的同时,亦能同时被集成电路所控制,则计算机系统整体的效能将因而提高。For example, the technology disclosed in U.S. Patent No. 6,044,412, the pin sharing system can be applied between dynamic storage media (Dynamic Memory Device, such as: CD-ROM) and peripheral devices such as static storage media (StaticMemory Device, such as: ROM) . However, since the pins of several peripheral devices share the same wiring, several devices sharing the same wiring will not be able to communicate with the integrated circuit at the same time, so that multiple peripherals in this pin-sharing system are often limited by the shared wiring and are in a state. idle state. If some peripheral devices can be controlled by the integrated circuit while sharing wiring or pins, the overall performance of the computer system will be improved accordingly.

发明内容Contents of the invention

本发明关于一种引脚共用系统,用来共用外围设备与集成电路间连接的线路。The present invention relates to a pin sharing system for sharing the lines connected between peripheral equipment and integrated circuits.

引脚共用系统包含一集成电路、第一装置、第二装置、存储器装置、第一组接线、第二组接线、以及第三组接线。集成电路包含一第一引脚组与第二引脚组。第一装置包含第一组数据引脚。第二装置包含一组输出入数据地址引脚。存储器装置包含一组低地址引脚、一组高地址引脚与一组存储器数据引脚。第一组接线连接第一组数据引脚与低地址引脚组至第一引脚组。第二组接线连接存储器数据引脚组与输出入数据地址引脚组至第二引脚组。第二组接线还包含连接于输出入数据地址引脚与第二引脚组间的寄存器,该寄存器用以暂时存储一组地址信息,随后将所存储的地址信息传送至第二装置。第三组接线连接高地址引脚组与寄存器至第二引脚组。The pin sharing system includes an integrated circuit, a first device, a second device, a memory device, a first set of wires, a second set of wires, and a third set of wires. The integrated circuit includes a first pin group and a second pin group. The first device includes a first set of data pins. The second device includes a set of input and output data address pins. The memory device includes a set of low address pins, a set of high address pins and a set of memory data pins. The first set of wires connects the first set of data pins and the set of low address pins to the first set of pins. The second group of wires connects the memory data pin group and the I/O data address pin group to the second pin group. The second set of wiring also includes a register connected between the I/O data address pin and the second set of pins, and the register is used to temporarily store a set of address information, and then transmit the stored address information to the second device. A third set of wires connects the high address pin set and registers to the second set of pins.

本引脚共用系统可使集成电路同时控制一个以上外围设备,并使集成电路的数个引脚可以被数个外围设备所共用,以提高外围设备使用的效率以及降低集成电路所须的接脚数目。This pin sharing system enables the integrated circuit to control more than one peripheral device at the same time, and enables several pins of the integrated circuit to be shared by several peripheral devices, so as to improve the efficiency of the use of peripheral devices and reduce the pins required by the integrated circuit number.

附图说明Description of drawings

图1为本发明引脚共用系统第一实施例的示意图。FIG. 1 is a schematic diagram of a first embodiment of a pin sharing system of the present invention.

图2为图1集成电路的示意图。FIG. 2 is a schematic diagram of the integrated circuit of FIG. 1 .

图3为本发明引脚共用系统第二实施例的示意图。FIG. 3 is a schematic diagram of a second embodiment of the pin sharing system of the present invention.

图4为本发明引脚共用系统第三实施例的示意图。FIG. 4 is a schematic diagram of a third embodiment of the pin sharing system of the present invention.

附图标号说明Explanation of reference numbers

10:引脚共用系统 12:集成电路10: Pin sharing system 12: Integrated circuit

14:第一装置     16:第二装置14: First device 16: Second device

18:存储器装置   20:第一引脚组18: memory device 20: first pin group

22:第二引脚组   26:第一组数据引脚22: The second pin group 26: The first group of data pins

28:输出入数据地址引脚30:低地址引脚28: I/O data address pin 30: Low address pin

32:高地址引脚   34:存储器数据引脚32: High address pin 34: Memory data pin

40:第一组接线   42:第二组接线40: The first set of wiring 42: The second set of wiring

44:第三组接线   46:寄存器44: The third group of wiring 46: Register

50:引脚选择模块 52:控制模块50: Pin selection module 52: Control module

54:裁决器   56:存储器控制器54: Arbiter 56: Memory controller

58:第一装置控制器60:第二装置控制器58: First device controller 60: Second device controller

66:第四组接线   68:第一逻辑门66: The fourth group of wiring 68: The first logic gate

70:第二逻辑门   72:读取引脚70: Second logic gate 72: Read pin

74:写入引脚     76:存储器控制引脚74: Write pin 76: Memory control pin

80:第三逻辑门   82:装置控制接脚80: The third logic gate 82: Device control pin

221:集成电路地址引脚  222:集成电路数据引脚221: IC address pin 222: IC data pin

223:集成电路控制引脚223: IC control pin

281:第二装置数据输入引脚281: Second device data input pin

282:第二装置数据输出引脚282: Second device data output pin

283:第二装置地址引脚283: Second device address pin

具体实施方式Detailed ways

请参阅图1,图1为本发明引脚共用系统10第一实施例的示意图。引脚共用系统10包含集成电路12,第一装置14,第二装置16,以及存储器装置18等外围设备。集成电路包含第一引脚组20与第二引脚组22。第一装置14具有第一组数据引脚26,第二装置16具有一组输出入数据地址引脚28,存储器装置18包含一组低地址引脚30、一组高地址引脚32与一组存储器数据引脚34。Please refer to FIG. 1 , which is a schematic diagram of a first embodiment of a pin sharing system 10 of the present invention. The pin sharing system 10 includes an integrated circuit 12 , a first device 14 , a second device 16 , and peripheral devices such as a memory device 18 . The integrated circuit includes a first pin group 20 and a second pin group 22 . The first device 14 has a first set of data pins 26, the second device 16 has a set of I/O data address pins 28, and the memory device 18 includes a set of low address pins 30, a set of high address pins 32 and a set of Memory data pin 34.

根据本发明的引脚共用系统10具有第一组接线40,第二组接线42,以及第三组接线44,用以连接集成电路12与第一装置14,第二装置16,以及存储器装置18。第一组接线40连接第一组数据引脚26与低地址引脚组30至第一引脚组20。第二组接线42用以连接存储器数据引脚组34与输出入数据地址引脚组28至该集成电路12的该第二引脚组22。第二组接线42还包含一寄存器46,连接于输出入数据地址引脚组28与第二引脚组22之间,可暂时性地存储数据,随后将数据闩锁。其中该组输出入数据地址引脚28包含一组第二装置数据输入引脚281,一组第二装置数据输出引脚282,以及一组第二装置地址引脚283,而该寄存器46则连接于该组第二装置地址引脚283与该第二组引脚22之间。第三组接线44用以连接该组高地址引脚32与第二组接线42的寄存器46至第二引脚组22。其中,集成电路12的第二引脚组22可包含一组集成电路地址引脚221与一组集成电路数据引脚222,使得该第二组接线42连接至第二引脚组22的该组集成电路数据引脚222,而该第三组接线44则可连接至第二引脚组22的该组集成电路地址引脚221。The pin sharing system 10 according to the present invention has a first set of wires 40, a second set of wires 42, and a third set of wires 44 for connecting the integrated circuit 12 to the first device 14, the second device 16, and the memory device 18. . The first set of wires 40 connects the first set of data pins 26 and the set of lower address pins 30 to the first set of pins 20 . The second group of wires 42 is used to connect the memory data pin group 34 and the I/O data address pin group 28 to the second pin group 22 of the integrated circuit 12 . The second group of wires 42 also includes a register 46 connected between the I/O data address pin group 28 and the second pin group 22 for temporarily storing data and then latching the data. Wherein the group of I/O data address pins 28 includes a group of second device data input pins 281, a group of second device data output pins 282, and a group of second device address pins 283, and the register 46 is connected between the set of second device address pins 283 and the second set of pins 22 . The third group of wires 44 is used to connect the group of high address pins 32 and the register 46 of the second group of wires 42 to the second pin group 22 . Wherein, the second pin group 22 of the integrated circuit 12 may include a group of integrated circuit address pins 221 and a group of integrated circuit data pins 222, so that the second group of wires 42 is connected to the group of the second group of pins 22 IC data pins 222 , and the third group of wires 44 can be connected to the group of IC address pins 221 of the second pin group 22 .

表一为各组接线与第一装置14,第二装置16,以及存储器装置18共享连接线表:Table 1 is a list of connection lines shared by each group of wires with the first device 14, the second device 16, and the memory device 18:

表一Table I

Figure C20041003288300071
Figure C20041003288300071

请参阅表一,由表一可知第一组接线40,第二组接线42,以及第三组接线44被第一装置14,第二装置16,以及存储器装置18的共享程度。于本引脚共用系统中,第一装置14,与第二装置16并未共用任何一组接线。第一组接线40由存储器装置18的低地址引脚30与第一装置14的数据引脚26分享以传输数据至集成电路12的第一引脚组20。第二组接线42由存储器装置18的存储器数据引脚34与第二装置16的输出入数据地址引脚28分享以传输数据至第二引脚组22的该组集成电路数据引脚222。第三组接线44则连接存储器装置18的高地址引脚32及第二组接线42上的寄存器46的闩锁致能至第二引脚组22的该第一组集成电路地址引脚221。此时,集成电路12的第一引脚组由第一装置14与存储器装置18共用,集成电路12的集成电路地址引脚221以及集成电路数据引脚222由第二装置16与存储器装置18共用。Please refer to Table 1. It can be seen from Table 1 that the first set of wires 40 , the second set of wires 42 , and the third set of wires 44 are shared by the first device 14 , the second device 16 , and the memory device 18 . In this pin-sharing system, the first device 14 and the second device 16 do not share any set of wires. The first set of wires 40 are shared by the lower address pins 30 of the memory device 18 and the data pins 26 of the first device 14 to transmit data to the first set of pins 20 of the integrated circuit 12 . The second set of wires 42 are shared by the memory data pins 34 of the memory device 18 and the I/O data address pins 28 of the second device 16 to transmit data to the set of IC data pins 222 of the second set of pins 22 . The third set of wires 44 connects the upper address pin 32 of the memory device 18 and the latch enable of the register 46 on the second set of wires 42 to the first set of IC address pins 221 of the second set of pins 22 . At this time, the first pin group of the integrated circuit 12 is shared by the first device 14 and the memory device 18, and the integrated circuit address pin 221 and the integrated circuit data pin 222 of the integrated circuit 12 are shared by the second device 16 and the memory device 18 .

表二为本发明引脚共用系统10装置使用与信号对照表。Table 2 is the usage and signal comparison table of the pin sharing system 10 of the present invention.

表二Table II

Figure C20041003288300072
Figure C20041003288300072

根据表二的描述,横轴为引脚共用系统10的外围设备使用状态,纵轴则表示三组接线中所传输的信号。当存储器装置18被使用时,第一组接线40用以传输低地址信号,第二组接线42用以传输存储器数据信号,第三组接线44用以传输高地址信号至存储器装置18。当第一装置14被使用时,第一组接线40用以传输数据信号。According to the description in Table 2, the horizontal axis represents the usage status of the peripheral devices of the pin-sharing system 10 , and the vertical axis represents the signals transmitted in the three sets of wiring. When the memory device 18 is used, the first set of wires 40 is used to transmit low address signals, the second set of wires 42 is used to transmit memory data signals, and the third set of wires 44 is used to transmit high address signals to the memory device 18 . When the first device 14 is used, the first set of wires 40 is used to transmit data signals.

当有数据欲写入该第二装置16时,第二组接线42用以分时地传输数据或地址信号至第二装置16,第三组接线44则用以传输地址闩锁指令(AddressLatch Enable,ALE)至寄存器46。此时,第二组接线42于第一时间将地址信号传输至寄存器46寄存,并且等候等候地址闩锁指令,而第三组接线44传输地址闩锁指令至寄存器46以使地址数据得以被传输至第二装置16的该组第二装置地址引脚283。于第二时间时,第二组接线42将另一数据信息传输至第二装置16的该组第二装置数据输入引脚281。由于第一装置14与第二装置16无共用的接线或引脚,因此引脚共用系统10的第一装置14与第二装置16可同时运作。When there is data to be written into the second device 16, the second group of wires 42 is used to time-divisionally transmit data or address signals to the second device 16, and the third group of wires 44 is used to transmit an address latch command (AddressLatch Enable , ALE) to register 46. At this time, the second group of wires 42 transmits the address signal to the register 46 for registration at the first time, and waits for the address latch command, while the third group of wires 44 transmits the address latch command to the register 46 so that the address data can be transmitted to the set of second device address pins 283 of the second device 16 . At a second time, the second set of wires 42 transmits another data message to the set of second device data input pins 281 of the second device 16 . Since the first device 14 and the second device 16 have no common wires or pins, the first device 14 and the second device 16 of the pin-sharing system 10 can operate simultaneously.

请参阅图2,图2为图1集成电路12的示意图。集成电路12用以决定存储器装置(未显示)、第一装置(未显示)与第二装置(未显示)各自的使用顺序。集成电路12包含引脚选择模块50(Pin Mux Selection Module)与控制模块52(Control Module)。控制模块52包含裁决器54,存储器控制器56,第一装置控制器58,以及第二装置控制器60,以决定外围设备各自的使用顺序。引脚选择模块50则受裁决器54控制与第一引脚组20以及第二引脚组22相连接,用以传送存储器控制器56,第一装置控制器58,以及第二装置控制器60的控制信号至第一引脚组20与第二引脚组22并经由第一组接线(未显示)、第二组接线(未显示)以及第三组接线(未显示)与多个信号至外围设备相通。Please refer to FIG. 2 , which is a schematic diagram of the integrated circuit 12 in FIG. 1 . The integrated circuit 12 is used to determine the usage sequence of the memory device (not shown), the first device (not shown) and the second device (not shown). The integrated circuit 12 includes a pin selection module 50 (Pin Mux Selection Module) and a control module 52 (Control Module). The control module 52 includes an arbiter 54 , a memory controller 56 , a first device controller 58 , and a second device controller 60 to determine the usage order of the peripheral devices. The pin selection module 50 is controlled by the arbiter 54 and connected to the first pin group 20 and the second pin group 22 to transmit the memory controller 56, the first device controller 58, and the second device controller 60 The control signal to the first pin group 20 and the second pin group 22 and through the first set of wiring (not shown), the second set of wiring (not shown) and the third set of wiring (not shown) and a plurality of signals to Peripherals communicate.

当存储器装置被使用时,控制模块52中的裁决器54(Arbitrator)将裁定(Arbitrate)由存储器控制器56存取(Access)引脚选择模块50,引脚选择模块50进一步将第一组接线40,第二组接线42,以及第三组接线44分配予以存储器控制器56,以传输信号并控制存储器装置18。When the memory device is used, the Arbitrator 54 (Arbitrator) in the control module 52 will arbitrate (Arbitrate) the access (Access) pin selection module 50 by the memory controller 56, and the pin selection module 50 further connects the first group of wires 40 , the second set of wires 42 , and the third set of wires 44 are assigned to the memory controller 56 to transmit signals and control the memory device 18 .

当存储器装置18未被使用时,控制模块52中的裁决器54(Arbitrator)将裁定(Arbitrate)第一装置控制器58与第二装置控制器60为可被使用的状态。此时,第一装置控制器58可存取第一装置14,同时第二装置控制器60则可存取第二装置16。引脚选择模块50进一步将第三组接线44与第二组接线42分配予第二装置控制器60与第二装置16,以及将第一组接线40线分配予第一装置控制器58与第一装置14,以使集成电路12得以同时传输信号到第一装置14与第二装置16。When the memory device 18 is not in use, the arbitrator 54 (Arbitrator) in the control module 52 will arbitrate (Arbitrate) the first device controller 58 and the second device controller 60 to be available for use. At this time, the first device controller 58 can access the first device 14 , while the second device controller 60 can access the second device 16 . The pin selection module 50 further distributes the third group of wires 44 and the second group of wires 42 to the second device controller 60 and the second device 16, and distributes the first group of wires 40 to the first device controller 58 and the second device controller 58. A device 14 is provided so that the integrated circuit 12 can transmit signals to the first device 14 and the second device 16 simultaneously.

请参阅图3,图3为本发明引脚共用系统10的第二实施例的示意图。与前一实施例相比较,本实施例中进一步增加第四组接线66,以及第一逻辑门68、第二逻辑门70。第四组接线66连接第二装置16的读取引脚72、写入引脚74与存储器装置18的存储器控制引脚76至第二引脚组22的一集成电路控制引脚223。第一逻辑门68与第二逻辑门70位于第四组接线66上,分别与读取引脚72与写入引脚74连接。此外,原先用以连接高地址引脚32与寄存器46至第二引脚组22的第三组接线44,进一步更与第一逻辑门68、第二逻辑门70连接,以控制传输至第二装置16的读取引脚72、写入引脚74。Please refer to FIG. 3 . FIG. 3 is a schematic diagram of a second embodiment of the pin sharing system 10 of the present invention. Compared with the previous embodiment, the fourth group of wires 66 , and the first logic gate 68 and the second logic gate 70 are further added in this embodiment. The fourth set of wires 66 connects the read pin 72 , the write pin 74 of the second device 16 and the memory control pin 76 of the memory device 18 to an integrated circuit control pin 223 of the second pin set 22 . The first logic gate 68 and the second logic gate 70 are located on the fourth set of wires 66 and connected to the read pin 72 and the write pin 74 respectively. In addition, the third group of wiring 44 originally used to connect the high address pin 32 and the register 46 to the second pin group 22 is further connected to the first logic gate 68 and the second logic gate 70 to control transmission to the second pin group. Read pin 72 , write pin 74 of device 16 .

请参阅表三,表三为本发明第二实施例各组接线与第一装置14,第二装置16,以及存储器装置18共享连接线表:Please refer to Table 3. Table 3 is a list of connection lines shared by each group of wires and the first device 14, the second device 16, and the memory device 18 in the second embodiment of the present invention:

表三Table three

Figure C20041003288300091
Figure C20041003288300091

与第一实施例相比较,第二实施例进一步将第四组接线66由读取引脚72、写入引脚74、存储器控制引脚76共用,使第二引脚组22的集成电路控制引脚223得以由第二装置16与存储器装置18分享,且此第四组接线66并未连接至第一装置14。集成电路12的第一引脚组40由第一装置14与存储器装置18共用,集成电路12的集成电路地址引脚221以及集成电路数据引脚222由第二装置16与存储器装置18共用,集成电路12的集成电路存储器控制引脚223由第二装置16与存储器装置18共用。Compared with the first embodiment, in the second embodiment, the fourth group of wiring 66 is further shared by the read pin 72, the write pin 74, and the memory control pin 76, so that the integrated circuit control of the second pin group 22 The pin 223 is shared by the second device 16 and the memory device 18 , and the fourth set of wires 66 is not connected to the first device 14 . The first pin group 40 of the integrated circuit 12 is shared by the first device 14 and the memory device 18, and the integrated circuit address pin 221 and the integrated circuit data pin 222 of the integrated circuit 12 are shared by the second device 16 and the memory device 18. The integrated circuit memory control pin 223 of the circuit 12 is shared by the second device 16 and the memory device 18 .

请参阅表四,表四为本发明的第二实施例装置使用与信号对照表。Please refer to Table 4, Table 4 is a comparison table of device usage and signals in the second embodiment of the present invention.

表四Table four

Figure C20041003288300101
Figure C20041003288300101

表四的横轴为引脚共用系统10的外围设备使用状态,纵轴则表示三组接线中所传输的信号。当存储器装置18被使用时,第一组接线40、第二组接线42、以及第三组接线44如同前述般被用于控制存储器装置18。第四组接线66于此状态下用以传输存储器控制信号至存储器控制引脚76。当第一装置14被使用时,第一组接线40用以传输数据信号至第一装置14。当第二装置16被使用时,除了第一实施例中的信号传输机制外,第三组接线44进一步传送输出入读写信号至第一逻辑门68以及第二逻辑门70。第四组接线66则传送存储器闲置信号至第一逻辑门68以及第二逻辑门70。两组逻辑门68、70则判断输出入读写信号以及存储器控制信号的值,将逻辑运算的结果分别传送至读取引脚72与写入引脚74。此时集成电路12仍得以同时传输信号到第一装置14与第二装置16。The horizontal axis of Table 4 represents the usage status of the peripheral devices of the pin-sharing system 10 , and the vertical axis represents the signals transmitted in the three sets of wiring. When the memory device 18 is used, the first set of wires 40 , the second set of wires 42 , and the third set of wires 44 are used to control the memory device 18 as previously described. The fourth set of wires 66 is used to transmit the memory control signal to the memory control pin 76 in this state. When the first device 14 is used, the first set of wires 40 is used to transmit data signals to the first device 14 . When the second device 16 is used, in addition to the signal transmission mechanism in the first embodiment, the third set of wires 44 further transmits the I/O read/write signals to the first logic gate 68 and the second logic gate 70 . The fourth set of wires 66 transmits the memory idle signal to the first logic gate 68 and the second logic gate 70 . The two groups of logic gates 68 and 70 determine the values of the input and output read and write signals and the memory control signal, and transmit the results of logic operations to the read pin 72 and the write pin 74 respectively. At this time, the integrated circuit 12 can still transmit signals to the first device 14 and the second device 16 at the same time.

请参阅图4,图4为本发明的第三实施例的示意图。与第一实施例相比较,本实施例中进一步增加第四组接线66,以及第三逻辑门80。第四组接线66连接第二装置16的一装置控制引脚82与存储器装置18的存储器控制引脚76至第二引脚组22的的集成电路控制引脚223。第三组接线44进一步与第三逻辑门80连接,第三逻辑门80再进一步与第二装置16的装置控制接脚82连接。第三组接线44更进一步与第二装置16的读取引脚72,与写入引脚74连接。Please refer to FIG. 4 , which is a schematic diagram of a third embodiment of the present invention. Compared with the first embodiment, the fourth group of wires 66 and the third logic gate 80 are further added in this embodiment. The fourth set of wires 66 connects a device control pin 82 of the second device 16 and a memory control pin 76 of the memory device 18 to an IC control pin 223 of the second pin set 22 . The third group of wires 44 is further connected to a third logic gate 80 , and the third logic gate 80 is further connected to a device control pin 82 of the second device 16 . The third set of wires 44 is further connected to the read pin 72 and the write pin 74 of the second device 16 .

根据本发明的引脚共用系统的第一装置可以为集成式电子接口的集成式电子驱动装置(Integrated Device Electronic Device),第二装置则可以为一包含微控制器的微控制器装置(Micro Controller Device),而该存储器装置则可以为闪速存储器(Flash Memory)。The first device of the pin-sharing system according to the present invention can be an integrated electronic drive device (Integrated Device Electronic Device) with an integrated electronic interface, and the second device can be a microcontroller device (Micro Controller) that includes a microcontroller. Device), and the memory device can be a flash memory (Flash Memory).

与公知引脚共用系统相比较,本引脚共用系统可使集成电路同时控制一个以上外围设备,并使集成电路的引脚可以被外围设备所共享,以提升外围设备使用的效率。Compared with the known pin-sharing system, the pin-sharing system enables the integrated circuit to control more than one peripheral device at the same time, and enables the pins of the integrated circuit to be shared by the peripheral devices, so as to improve the efficiency of using the peripheral devices.

经由以上较佳具体实施例的详述,为希望能更加清楚描述本发明的特征与精神,而并非以上述所公开的较佳具体实施例来对本发明的范畴加以限制。相反地,其目的是希望能涵盖各种改变及具有等效性的安排于本发明所欲申请的权利要求的范畴内。Through the above detailed description of the preferred embodiments, it is hoped that the characteristics and spirit of the present invention can be described more clearly, and the scope of the present invention is not limited by the preferred embodiments disclosed above. On the contrary, the intention is to cover various modifications and equivalent arrangements within the scope of the appended claims of the present invention.

Claims (11)

1.一种引脚共用系统,该引脚共用系统包含:1. A pin sharing system, the pin sharing system comprising: 一集成电路,该集成电路包含一第一引脚组与一第二引脚组;an integrated circuit comprising a first set of pins and a second set of pins; 一第一装置,该第一装置包含一第一组数据引脚;a first device comprising a first set of data pins; 一第二装置,该第二装置包含一组输出入数据地址引脚;A second device, the second device includes a set of input and output data address pins; 一存储器装置,该存储器装置包含一组低地址引脚、一组高地址引脚与一组存储器数据引脚;A memory device comprising a set of low address pins, a set of high address pins and a set of memory data pins; 一第一组接线,连接该第一组数据引脚与该组低地址引脚至该集成电路的该第一引脚组;a first group of wires, connecting the first group of data pins and the group of low address pins to the first group of pins of the integrated circuit; 一第二组接线,连接该组存储器数据引脚与该组输出入数据地址引脚至该集成电路的该第二引脚组,其中该第二组接线包含一寄存器,连接于该组输出入数据地址引脚与该第二引脚组之间,用以暂时存储一组地址信息,并于接收一地址闩锁指令时,将所存储的该组地址信息传送至该第二装置;以及A second set of wiring, connecting the set of memory data pins and the set of I/O data address pins to the second pin set of the integrated circuit, wherein the second set of wiring includes a register connected to the set of I/O Between the data address pin and the second pin group, a set of address information is temporarily stored, and when an address latch command is received, the stored set of address information is transmitted to the second device; and 一第三组接线,连接该存储器装置的高地址引脚与该第二组接线的寄存器的闩锁指令至该集成电路的该第二引脚组,a third set of wires connecting the high address pins of the memory device with the latch instruction of the register of the second set of wires to the second set of pins of the integrated circuit, 其中,该集成电路控制该第一组接线、该第二组接线以及该第三组接线相通多个信号至该存储器装置、该第一装置与该第二装置的顺序,以使该集成电路得以同时与该第一装置以及该第二装置相通。Wherein, the integrated circuit controls the order in which the first group of wires, the second group of wires and the third group of wires communicate a plurality of signals to the memory device, the first device and the second device, so that the integrated circuit can Simultaneously communicate with the first device and the second device. 2.如权利要求1所述的引脚共用系统,其中该集成电路包含:2. The pin sharing system as claimed in claim 1, wherein the integrated circuit comprises: 一控制模块,包含一存储器控制器,一第一装置控制器,以及一第二装置控制器,以决定该存储器装置,该第一装置与该第二装置的使用顺序;以及A control module, including a memory controller, a first device controller, and a second device controller, to determine the usage order of the memory device, the first device and the second device; and 一引脚选择模块,连接至该控制模块,以选择该第一组接线,该第二组接线,或该第三组接线以传送该多个信号。A pin selection module is connected to the control module to select the first group of wires, the second group of wires, or the third group of wires to transmit the plurality of signals. 3.如权利要求1所述的引脚共用系统,其中该第二引脚组包含一组集成电路地址引脚与一组集成电路数据引脚,该第二组接线连接至该组集成电路数据引脚,而该第三组接线连接至该组集成电路地址引脚。3. The pin sharing system as claimed in claim 1, wherein the second group of pins includes a group of integrated circuit address pins and a group of integrated circuit data pins, and the second group of wiring is connected to the group of integrated circuit data pins. pins, and the third set of wires is connected to the set of integrated circuit address pins. 4.如权利要求1所述的引脚共用系统,其中该第二装置的该组输出入数据地址引脚包含一组第二装置数据输入引脚,一组第二装置数据输出引脚,以及一组第二装置地址引脚,该寄存器连接于该组第二装置地址引脚与该第二引脚组之间。4. The pin sharing system as claimed in claim 1, wherein the group of I/O data address pins of the second device comprises a group of second device data input pins, a group of second device data output pins, and A group of second device address pins, the register is connected between the group of second device address pins and the second group of pins. 5.如权利要求1所述的引脚共用系统,还包含一第四组接线与一组逻辑门,以连接该第二装置的一读取引脚、一写入引脚、与该存储器装置的一存储器控制引脚至该集成电路的该第二引脚组的一集成电路控制引脚,该组逻辑门并与该第三组接线相连。5. The pin sharing system as claimed in claim 1 , further comprising a fourth set of wiring and a set of logic gates to connect a read pin of the second device, a write pin, and the memory device A memory control pin of the integrated circuit is connected to an integrated circuit control pin of the second pin group of the integrated circuit, and the group of logic gates is connected to the third group of wiring. 6.如权利要求1所述的引脚共用系统,还包含一第四组接线与一逻辑门,以连接该第二装置的一装置控制引脚与该存储器装置的一存储器控制引脚至该集成电路的该第二引脚组的一集成电路控制引脚,该逻辑门和该第二装置的一读取引脚与一写入引脚并与该第三组接线相连。6. The pin sharing system as claimed in claim 1 , further comprising a fourth set of wires and a logic gate to connect a device control pin of the second device and a memory control pin of the memory device to the An integrated circuit control pin of the second set of pins of the integrated circuit, the logic gate and a read pin and a write pin of the second device are connected to the third set of wires. 7.如权利要求5或第6所述的引脚共用系统,该集成电路控制该第一组接线、该第二组接线、该第三组接线与该第四组接线相通多个信号至该存储器装置、该第一装置与该第二装置的顺序,以使该集成电路得以同时与该第一装置以及该第二装置相通。7. The pin sharing system according to claim 5 or 6, the integrated circuit controls the first group of wiring, the second group of wiring, the third group of wiring and the fourth group of wiring to communicate a plurality of signals to the The sequence of the memory device, the first device and the second device enables the integrated circuit to communicate with the first device and the second device simultaneously. 8.如权利要求7所述的引脚共用系统,其中该集成电路包含:8. The pin sharing system as claimed in claim 7, wherein the integrated circuit comprises: 一控制模块,包含一存储器控制器,一第一装置控制器,以及一第二装置控制器,以决定该存储器装置,该第一装置与该第二装置的使用顺序;以及A control module, including a memory controller, a first device controller, and a second device controller, to determine the usage order of the memory device, the first device and the second device; and 一引脚选择模块,以选择该第一组接线,该第二组接线,该第三组接线,或该第四组接线以传送该多个信号。A pin selection module is used to select the first group of wires, the second group of wires, the third group of wires, or the fourth group of wires to transmit the plurality of signals. 9.如权利要求1所述的引脚共用系统,其中该第一装置包含一集成电子式驱动装置。9. The pin sharing system of claim 1, wherein the first device comprises an integrated electronic drive device. 10.如权利要求1所述的引脚共用系统,其中该第二装置包含一微控制器装置。10. The pin sharing system of claim 1, wherein the second device comprises a microcontroller device. 11.如权利要求1所述的引脚共用系统,其中该存储器装置包含一快闪存储器。11. The pin sharing system of claim 1, wherein the memory device comprises a flash memory.
CNB2004100328830A 2004-04-13 2004-04-13 Pin sharing system Expired - Fee Related CN100351827C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100328830A CN100351827C (en) 2004-04-13 2004-04-13 Pin sharing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100328830A CN100351827C (en) 2004-04-13 2004-04-13 Pin sharing system

Publications (2)

Publication Number Publication Date
CN1684056A CN1684056A (en) 2005-10-19
CN100351827C true CN100351827C (en) 2007-11-28

Family

ID=35263406

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100328830A Expired - Fee Related CN100351827C (en) 2004-04-13 2004-04-13 Pin sharing system

Country Status (1)

Country Link
CN (1) CN100351827C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9129072B2 (en) * 2012-10-15 2015-09-08 Qualcomm Incorporated Virtual GPIO
US10002102B2 (en) * 2015-03-13 2018-06-19 Microchip Technology Incorporated Low-pin microcontroller device with multiple independent microcontrollers
CN113987991B (en) * 2021-09-29 2022-09-27 展讯半导体(南京)有限公司 Signal transmission device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6044412A (en) * 1997-10-21 2000-03-28 Vlsi Technology, Inc. Integrated circuit pin sharing method and apparatus for diverse memory devices by multiplexing subsets of pins in accordance with operation modes
CN1361458A (en) * 2000-12-27 2002-07-31 扬智科技股份有限公司 Computer system that can support different types of dynamic random access memory
US20030074510A1 (en) * 2001-10-11 2003-04-17 International Business Machines Corporation Method and apparatus for sharing signal pins on an interface between a system controller and peripheral integrated circuits
TW546567B (en) * 2002-02-25 2003-08-11 Sunplus Technology Co Ltd The Simplification and making of reliable one-to-multiple access system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6044412A (en) * 1997-10-21 2000-03-28 Vlsi Technology, Inc. Integrated circuit pin sharing method and apparatus for diverse memory devices by multiplexing subsets of pins in accordance with operation modes
CN1361458A (en) * 2000-12-27 2002-07-31 扬智科技股份有限公司 Computer system that can support different types of dynamic random access memory
US20030074510A1 (en) * 2001-10-11 2003-04-17 International Business Machines Corporation Method and apparatus for sharing signal pins on an interface between a system controller and peripheral integrated circuits
TW546567B (en) * 2002-02-25 2003-08-11 Sunplus Technology Co Ltd The Simplification and making of reliable one-to-multiple access system

Also Published As

Publication number Publication date
CN1684056A (en) 2005-10-19

Similar Documents

Publication Publication Date Title
CN1302400C (en) Virtual PCI device apparatus and method
CN1069426C (en) System direct memory access (DMA) support logic for PCI based computer system
CN1270250C (en) Method and device for raising serial storage equipment reliability and elasticity
US20050033874A1 (en) Direct memory access using memory descriptor list
CN1018488B (en) Apparatus for conditioning priority arbitration
CN1608256A (en) Communicating message request transaction types between agents in a computer system using multiple message groups
CN101040274A (en) Command controlling different operations in different chips
CN1608255A (en) Communicating transaction types between agents in a computer system using packet headers including an extended type/extended length field
CN1650276A (en) ATA/SATA Combo Controller
TWI727236B (en) Data bit width converter and system on chip thereof
US11693798B2 (en) Layered ready status reporting structure
CN1260629C (en) Electronic peripheral card with dynamic memory configuration
CN1324499C (en) Method for handling unexpected completion packets and completion packets with a non-successful completion status
CN100351827C (en) Pin sharing system
CN1301467C (en) Computer system internal data access method and related device
TW200534535A (en) Pin-sharing system
CN1131484C (en) Structure for information transmission bus
EP1231540A2 (en) Direct memory access controller
CN1932880A (en) Computer using flash memory of hard disk drive as main and video memory
CN1687914A (en) VXI bus register base interface and implement method thereof
CN1779957A (en) pin sharing system
US20050273530A1 (en) Combined optical storage and flash card reader apparatus using sata port and accessing method thereof
CN1614580A (en) Low-speed bus structure and its data transmission
CN1707458A (en) bus integration system
CN1624918A (en) Multifunction chipset and related method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20071128

Termination date: 20190413

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