CN1296843C - 具有外部存储器支持猝发方式的接口处理器 - Google Patents

具有外部存储器支持猝发方式的接口处理器 Download PDF

Info

Publication number
CN1296843C
CN1296843C CNB028181581A CN02818158A CN1296843C CN 1296843 C CN1296843 C CN 1296843C CN B028181581 A CNB028181581 A CN B028181581A CN 02818158 A CN02818158 A CN 02818158A CN 1296843 C CN1296843 C CN 1296843C
Authority
CN
China
Prior art keywords
visit
data equipment
burst mode
processor
external memory
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 - Lifetime
Application number
CNB028181581A
Other languages
English (en)
Other versions
CN1555528A (zh
Inventor
尤金·P·赫克佐格
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.)
MStar France SAS
MediaTek Inc
MStar Semiconductor Inc Taiwan
Original Assignee
TTPCom Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TTPCom Ltd filed Critical TTPCom Ltd
Publication of CN1555528A publication Critical patent/CN1555528A/zh
Application granted granted Critical
Publication of CN1296843C publication Critical patent/CN1296843C/zh
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1605Handling requests for interconnection or transfer for access to memory bus based on arbitration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
    • G06F13/30Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal with priority control

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Abstract

多个数据设备(A、B、C)经过一个总线判优器(S)与外部存储器(F)相连接,从而支持由每个数据设备(A、B、C)进行的猝发方式访问。在所述存储器(F)中提供有一个或多个读寄存器(R1、R2、R3),每个寄存器(R1、R2、R3)支持由相应设备(A、B、C)进行的猝发方式访问。所述判优器(S)根据所述设备请求访问的标识选择将在最初访问段之后使用的寄存器。由此,存储器(F)支持多个并行的猝发方式访问。

Description

具有外部存储器支持猝发方式的接口处理器
技术领域
本发明涉及经过一个单一的总线判优器将诸如处理器的一个或多个设备连接到外部存储器上。
背景技术
为了加快对闪速(FLASH)存储器的访问,已经开发了页面方式或猝发方式,在这种方式下,一个最初的访问插入多个连续存储器地址码,以便将一个数据块读入到寄存器中,然后在后续的访问中,所述寄存器被渐增地访问,直到所有的数据都被访问为止,此时,重复所述处理。猝发方式的优点在于每个后续的访问能够比最初的访问短很多,一般,与最初访问128位的一个数据块的70nS相比,对于16位为30nS。图1示出了猝发方式访问,其中,一个最初访问的地址码为N和后续访问的地址码为N+1、N+2和N+3。这个数据段后面跟随有其地址码在M范围内的第二数据段。
猝发方式访问利用下述事实,即处理器以线性方式执行代码以产生连续的地址码,从而一旦提出一个最初访问,就不需要在后续的访问中重复,因此,所述的后续访问可以被缩短。但是,问题在于,如果所述处理器没有在后续的访问中访问全部数据,恐怕由于它仍然需要在其它地址处的数据,所以,由于需要更加频繁地使用较长的最初访问而使快速访问的优点减少。
此外,在多个处理器之间使用猝发方式的闪速存储器的共享也存在问题,即在某些环境中它的使用是不可能的。由此,例如,在ASIC中的多嵌入处理器将经过一个单一的总线判优器有益地访问一个单一的外部闪速存储器,所述判优器用于确定所述多个处理器之间的访问优先级。单一闪速存储器而不是多个存储器的使用减少了成本,在ASIC和存储器之间接口连接处所需要的端子数被保持为最小。但是,如果猝发方式访问被用于一个或多个处理器,和通过避免由其它处理器引起一个段的中断而使获益最大化,那么,其它处理器的访问等待时间增加了。因此,在由一个处理器进行猝发方式访问的有效使用和其它处理器所承受的访问等待时间之间存在一个兼顾的问题。当各个的处理器请求一个较高的访问优先级并不被其它的处理器破坏猝发方式访问时,这个问题将会更加恶化,因此,它们本身没有必要使用猝发方式。如果较高优先级处理器也请求以较高效率的MIPS速率运行,那么,这个问题就变得更糟。
图2示出了可由来自覆盖地址范围M的第二处理器的较高优先级访问中断的由覆盖地址范围N的第一处理器进行的猝发方式访问。最初访问N后面跟随有后续访问N+1,但是在完成地址范围N中的后续访问之前,访问被给予与第二处理器相关的较高优先级访问M。一旦这个访问完成,与第一处理器相关的访问被恢复,但是,在完成后续访问N+3之前,这必须再次利用较长的最初访问N+2开始。然后,在访问被再次恢复到具有N+4和N+5的第一处理器之前,所述第二处理器再次被具有较高优先级的访问M+1所中断。因此,与地址范围N相关的猝发方式的有效使用被与较高优先级地址范围M相关的访问所阻止,和所述地址范围M本身不能利用猝发方式,即使是所述地址码M和M+1是连续的地址。因此,平均数据流量严重受到损害,达到对于来自每个处理器的每个访问的最大访问时间的最糟情况。
发明内容
本发明的一个目的是提供一种将一个或多个处理器经过单一总线判优器连接到外部存储器从而减少或克服某些上述问题的方法。
根据本发明的一个方面,本发明是通过如下安排实现的,即所述判优器识别与到所述存储器的每次访问相关的所述处理器或其它设备,所述存储器具有多个块读取寄存器,这些寄存器是根据与每次访问相关的所述处理器和其它设备的标识选择的。
因此,通过将与每个猝发方式访问相关的脉冲串数据保存在分离的块读取寄存器中,并根据在由所述判优器提交的每个访问中识别的所述处理器从每个寄存器中读出数据,所述存储器能够支持并行的多个猝发方式访问,
所述块读取寄存器的数量并不一定与处理器的数量相同。如果寄存器的数量少于处理器的数量,那么,所述判优器可以共享一个或多个特定处理器之间的块读取寄存器,当仅具有较少的硬件需求时,这是一种最佳的选择。如果寄存器的数量多于处理器的数量,那么,所述判优器可以使用两个或多个寄存器去支持两个或多个地址码范围或来自单一处理器的数据段。作为一个例子,这将有效地分离在不同地址范围处连续发生的代码和数据访问。
根据本发明的另一方面,本发明的方法是经过单一的总线判优器将一个处理器或其它设备连接到一个外部存储器上,其中,所述判优器识别到所述存储器的每次访问的所述存储器地址码的范围,所述存储器具有多个块读取寄存器,这些寄存器是根据与每次访问相关的地址码范围的标识选择的。
附图说明
下面将参考附图并借助于例子对本发明进行描述,其中:
图1示出了在单一处理器和外部闪速存储器之间的常规猝发方式访问;
图2示出了两个处理器是如何经过总线判优器对外部闪速存储器进行访问的;
图3示出了本发明的一个实施例;
图4示出了在图3所示的实施例中,所述总线判优器是如何控制多个处理器对所述外部闪速存储器进行访问的。
具体实施方式
图3示出了一个片上系统ASIC,其中,插入了三个处理器核A、B和C以及一个总线判优器。总线判优器通过多端子接口I与外部闪速存储器设备F相连。所述闪速存储器设备F具有一个猝发方式访问机制和三个具有二进制编码选择系统的块读取寄存器R1、R2和R3,例如两根导线可以允许选择多达四个分离的块读取寄存器。
处理器A、B和C发送访问请求给总线判优器S,该判优器S根据经过接口I对闪速存储器进行给定访问中的预定优先级进行判优。总线判优器识别正在被给予访问的处理器并与闪速存储器设备进行通信,从而使处理器与被选择用于访问闪速存储器中的数据的特定块读取寄存器相关联。由此,在这个例子中,块读取寄存器R1、R2和R3中的每一个都可被选择来将闪速存储器的访问给予相应的处理器A、B和C。处理器的标识最好被二进制编码,并且例如可以使用在以字为基础的闪速设备中通常不用的A[0]地址信号。
由于闪速存储器能够支持猝发方式,块读取寄存器中的每一个都能够保持一个数据段,以支持在可能递增或递减的连续地址处的多个访问,在总线判优器的控制下,这些数据能够被从所述寄存器中读出并返回给各自的处理器。因此,经过接口传送的数据在不同块读取寄存器之间被交织,但这并不降低所述猝发方式访问的效率,这是由正被分离地存储在每个块读取寄存器中的数据保持的。因此,总线判优器S在预定优先级的基础上进行简单判优而不涉及通过中断猝发方式访问而引起的降低效率。
图4示出了两个处理器访问在分离的块读取寄存器中最初设置的各数据段的方式。一个数据段是由最初访问N设置的和另一个数据段是由最初访问M设置的,虽然数据段M中断数据段N,但后续的访问N+1到N+5和M+1都能够从被缩短的访问周期中获益。
很明显,如果判优器被连接到仅具有一个块读取寄存器的标准外部闪速存储器上,那么,对本发明的总线判优器的改变将不能避免它工作于标准模式下。
另外,虽然本发明已经针对访问闪速存储器进行了描述,但是,本发明同样可以访问外部RAM。
最后,虽然访问存储器的处理器或其它设备的标识可以是固定的,但是,本发明也可以根据可编程的地址范围将一个访问标识指定给一个设备。另外,也可以在系统需求的基础上动态改变标识分配。例如,请求访问的设备可以是一个直接存取存储器访问(DMA)模块,而不是处理器。

Claims (8)

1.一种包括多个数据设备和一个用于控制所述多个数据设备经过一个接口对外部存储器进行访问的总线判优器的装置,其特征是所述外部存储器包括一个或多个读寄存器,每个读寄存器都被用于支持由一个相应的数据设备进行的猝发方式访问,所述判优器根据所述数据设备请求访问的标识选择将在一个最初访问段之后使用的所述读寄存器。
2.根据权利要求1所述的装置,其中,一个数据设备的所述标识是固定的。
3.根据权利要求1所述的装置,其中,一个数据设备的标识基于一个可编程的地址范围。
4.根据权利要求1所述的装置,其中,根据操作需求改变所述标识的分配。
5.根据权利要求1至4中任一个所述的装置,其中,一个数据设备的所述标识是被二进制编码的。
6.根据权利要求1至4中任一个所述的装置,其中,所述数据设备包括处理器或直接存储器存取模块。
7.根据权利要求1至4中任一个所述的装置,其中,所述外部存储器包括闪速存储器或RAM存储器。
8.一种经过一个总线判优器将多个数据设备连接到外部存储器从而支持由每个数据设备进行的猝发方式访问的方法,其特征是在所述存储器中提供有一个或多个读寄存器,每个读寄存器被用于支持由相应数据设备进行的猝发方式访问,所述判优器根据所述数据设备请求访问的标识选择将在一个最初访问段之后使用的读寄存器。
CNB028181581A 2001-09-17 2002-09-17 具有外部存储器支持猝发方式的接口处理器 Expired - Lifetime CN1296843C (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
GBGB0122401.3A GB0122401D0 (en) 2001-09-17 2001-09-17 Interfacing processors with external memory
GB0122401.3 2001-09-17

Publications (2)

Publication Number Publication Date
CN1555528A CN1555528A (zh) 2004-12-15
CN1296843C true CN1296843C (zh) 2007-01-24

Family

ID=9922208

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB028181581A Expired - Lifetime CN1296843C (zh) 2001-09-17 2002-09-17 具有外部存储器支持猝发方式的接口处理器

Country Status (10)

Country Link
US (1) US7716442B2 (zh)
EP (1) EP1436710B1 (zh)
JP (1) JP4322116B2 (zh)
KR (1) KR100899514B1 (zh)
CN (1) CN1296843C (zh)
AT (1) ATE320043T1 (zh)
DE (1) DE60209761T2 (zh)
ES (1) ES2259718T3 (zh)
GB (1) GB0122401D0 (zh)
WO (1) WO2003025768A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE555563T1 (de) 2004-07-30 2012-05-15 Andrew Richardson Signalübertragungsverfahren aus einem lokalen netzwerkknoten
WO2006010958A2 (en) 2004-07-30 2006-02-02 Andrew Richardson Power control in a local network node (lnn)
WO2006010953A2 (en) 2004-07-30 2006-02-02 Andrew Richardson A local network node
US7419038B2 (en) 2005-05-31 2008-09-02 Great Stuff, Inc. Reel and reel housing
JP6053384B2 (ja) * 2012-08-08 2016-12-27 キヤノン株式会社 情報処理装置、メモリ制御装置およびその制御方法
GB2522057B (en) 2014-01-13 2021-02-24 Advanced Risc Mach Ltd A data processing system and method for handling multiple transactions
CN111371526A (zh) * 2020-03-16 2020-07-03 天津津航计算技术研究所 一种用于多任务模块猝发通信条件下的混合多址方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0961283A2 (en) * 1998-05-28 1999-12-01 Fujitsu Limited Memory circuit
US6031785A (en) * 1997-03-15 2000-02-29 Samsung Electronics, Co., Ltd. Random access memory having burst mode capability and method for operating the same
WO2000043897A1 (fr) * 1999-01-20 2000-07-27 Fujitsu Limited Systeme de gestion de fichier comme support de conference
US6216180B1 (en) * 1998-05-21 2001-04-10 Intel Corporation Method and apparatus for a nonvolatile memory interface for burst read operations
WO2001035210A2 (en) * 1999-11-05 2001-05-17 Analog Devices, Inc. Bus architecture and shared bus arbitration method for a communication processor
US6278654B1 (en) * 2000-06-30 2001-08-21 Micron Technology, Inc. Active terminate command in synchronous flash memory

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5093914A (en) * 1989-12-15 1992-03-03 At&T Bell Laboratories Method of controlling the execution of object-oriented programs
US5592435A (en) * 1994-06-03 1997-01-07 Intel Corporation Pipelined read architecture for memory
US5577230A (en) * 1994-08-10 1996-11-19 At&T Corp. Apparatus and method for computer processing using an enhanced Harvard architecture utilizing dual memory buses and the arbitration for data/instruction fetch
JP3176228B2 (ja) * 1994-08-23 2001-06-11 シャープ株式会社 半導体記憶装置
US5878240A (en) * 1995-05-11 1999-03-02 Lucent Technologies, Inc. System and method for providing high speed memory access in a multiprocessor, multimemory environment
EP0777182B1 (en) * 1995-11-28 2001-07-04 Bull S.A. A memory access limiter for random access dynamic memories
JP3264614B2 (ja) 1996-01-30 2002-03-11 富士写真光機株式会社 観察装置
US6061346A (en) * 1997-01-17 2000-05-09 Telefonaktiebolaget Lm Ericsson (Publ) Secure access method, and associated apparatus, for accessing a private IP network
JP3728641B2 (ja) * 1997-08-05 2005-12-21 株式会社リコー 画像形成装置
JP3910301B2 (ja) 1998-12-14 2007-04-25 株式会社東芝 半導体装置及びその製造方法
US6457075B1 (en) * 1999-05-17 2002-09-24 Koninkijke Philips Electronics N.V. Synchronous memory system with automatic burst mode switching as a function of the selected bus master
US6460133B1 (en) * 1999-05-20 2002-10-01 International Business Machines Corporation Queue resource tracking in a multiprocessor system
JP2001014840A (ja) * 1999-06-24 2001-01-19 Nec Corp 複数ラインバッファ型メモリlsi
US6621761B2 (en) * 2000-05-31 2003-09-16 Advanced Micro Devices, Inc. Burst architecture for a flash memory
JP4538911B2 (ja) * 2000-06-19 2010-09-08 ブラザー工業株式会社 メモリアクセス制御装置および記憶媒体
DE10107833B4 (de) * 2001-02-16 2012-02-16 Robert Bosch Gmbh Speicheranordnung und Verfahren zum Auslesen einer Speicheranordnung

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6031785A (en) * 1997-03-15 2000-02-29 Samsung Electronics, Co., Ltd. Random access memory having burst mode capability and method for operating the same
US6216180B1 (en) * 1998-05-21 2001-04-10 Intel Corporation Method and apparatus for a nonvolatile memory interface for burst read operations
EP0961283A2 (en) * 1998-05-28 1999-12-01 Fujitsu Limited Memory circuit
WO2000043897A1 (fr) * 1999-01-20 2000-07-27 Fujitsu Limited Systeme de gestion de fichier comme support de conference
WO2001035210A2 (en) * 1999-11-05 2001-05-17 Analog Devices, Inc. Bus architecture and shared bus arbitration method for a communication processor
US6278654B1 (en) * 2000-06-30 2001-08-21 Micron Technology, Inc. Active terminate command in synchronous flash memory

Also Published As

Publication number Publication date
CN1555528A (zh) 2004-12-15
US7716442B2 (en) 2010-05-11
WO2003025768A1 (en) 2003-03-27
KR100899514B1 (ko) 2009-05-27
EP1436710A1 (en) 2004-07-14
JP2005503612A (ja) 2005-02-03
ATE320043T1 (de) 2006-03-15
DE60209761T2 (de) 2006-11-09
ES2259718T3 (es) 2006-10-16
GB0122401D0 (en) 2001-11-07
EP1436710B1 (en) 2006-03-08
US20050005035A1 (en) 2005-01-06
JP4322116B2 (ja) 2009-08-26
KR20040045446A (ko) 2004-06-01
DE60209761D1 (de) 2006-05-04

Similar Documents

Publication Publication Date Title
US5412788A (en) Memory bank management and arbitration in multiprocessor computer system
EP1754229B1 (en) System and method for improving performance in computer memory systems supporting multiple memory access latencies
US6253297B1 (en) Memory control using memory state information for reducing access latency
EP0497600B1 (en) Memory access method and apparatus
US6857055B2 (en) Programmable embedded DRAM current monitor
JPH0219945A (ja) 主記憶制御装置
US4691280A (en) High performance multi-processor system
CN1296843C (zh) 具有外部存储器支持猝发方式的接口处理器
US20080034132A1 (en) Memory interface for controlling burst memory access, and method for controlling the same
CN1497451A (zh) 用于减少存储器设备等待时间的装置、方法和系统
EP1109102B1 (en) Memory system comprising multiple memory devices and memory access method
CN1758208A (zh) 对挂接在片外单总线上的多种存储器进行访问的方法
CN112513824B (zh) 一种内存交织方法及装置
US6330632B1 (en) System for arbitrating access from multiple requestors to multiple shared resources over a shared communications link and giving preference for accessing idle shared resources
US7558938B2 (en) Memory bus encoding
US20040034748A1 (en) Memory device containing arbiter performing arbitration for bus access right
CN1275162C (zh) 动态随机存取存储器初始化设定方法
CN113806061A (zh) 一种内存分配方法、存储介质及嵌入设备
KR19990071122A (ko) 다중 프로세서 회로
CN1012295B (zh) 中央处理器代表无判优功能外设进行判优的存储器直接存取访问判优设备
KR20030057667A (ko) 프로그램로직을 이용한 데이터처리장치 및 제어방법
JPH05334233A (ja) データ転送装置
CN1641619A (zh) 一种多处理机通信装置及其通信方法
JPS6041387B2 (ja) ダイレクトメモリアクセス制御回路
JP2003050787A (ja) マルチプロセッサ制御システム

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
ASS Succession or assignment of patent right

Owner name: KAIMAN CHENXING SEMICONDUCTOR CO., LTD.

Free format text: FORMER OWNER: TTP COMMUNICATION CO., LTD.

Effective date: 20090403

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

Effective date of registration: 20090403

Address after: Cayman Islands, Grand Cayman

Co-patentee after: MSTAR FRANCE S.A.S.

Patentee after: Cayman Morningstar Semiconductor

Co-patentee after: Mstar Semiconductor,Inc.

Co-patentee after: MSTAR SEMICONDUCTOR Inc.

Address before: Cayman Islands Grand Cayman

Patentee before: Cayman Morningstar Semiconductor

Effective date of registration: 20090403

Address after: Cayman Islands Grand Cayman

Patentee after: Cayman Morningstar Semiconductor

Address before: Hertfordshire

Patentee before: Ttpcom Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210226

Patentee after: MEDIATEK Inc.

Patentee before: MEDIATEK Inc.

Patentee before: MSTAR FRANCE S.A.S.

Effective date of registration: 20210226

Address after: No. 1, Xingzhu Road, Hsinchu Science Park, Taiwan, China

Patentee after: MEDIATEK Inc.

Patentee after: MSTAR FRANCE S.A.S.

Patentee after: Mstar Semiconductor,Inc.

Address before: No. 1, Xingzhu Road, Hsinchu Science Park, Taiwan, China

Patentee before: MEDIATEK Inc.

Patentee before: MSTAR FRANCE S.A.S.

Patentee before: Mstar Semiconductor,Inc.

Patentee before: MSTAR SEMICONDUCTOR Inc.

Effective date of registration: 20210226

Address after: No. 1, Xingzhu Road, Hsinchu Science Park, Taiwan, China

Patentee after: MEDIATEK Inc.

Patentee after: MSTAR FRANCE S.A.S.

Patentee after: Mstar Semiconductor,Inc.

Patentee after: MSTAR SEMICONDUCTOR Inc.

Address before: Greater Cayman, British Cayman Islands

Patentee before: Cayman Morningstar Semiconductor

Patentee before: MSTAR FRANCE S.A.S.

Patentee before: Mstar Semiconductor,Inc.

Patentee before: MSTAR SEMICONDUCTOR Inc.

CX01 Expiry of patent term

Granted publication date: 20070124

CX01 Expiry of patent term