referring to fig1 there is provided in accordance with a preferred embodiment of the present invention a microprocessor architecture designated generally as 100 . system architecture 100 includes a cpu 105 , a cache controller unit 110 which includes cache memories 113 and 115 , an i / o subsystem 130 , a memory control and interface unit 120 ( mcu ), and interleaved memory banks 150a , 150b , 150c configured for interleaved operations . the interleaved memory banks 150 are connected to mcu 120 via an external data bus 140 . the present invention allows mcu 120 to accept data from either a 32 bit or a 64 bit external bus 140 . it is contemplated that the present invention will operate in a multiprocessor environment . cache memory 113 , 115 serves as a buffer between cpu 105 and memory 150a , 150b , and 150c . generally , a cache is a small , fast memory located close to cpu 105 that holds the most recently accessed code or data . typically , cpu 105 is the fastest unit in the system , with a processor cycle typically of tens of nanoseconds , while memory 150 has a cycle time of hundreds of nanoseconds . the speed gap between cpu 105 and memory 150 can be closed by using fast cache memory 110 between the two . however , regardless of how fast cpu 105 and cache 110 are , performance will suffer if there are no means of retrieving the data in a fast , efficient manner . consequently , connecting a wider external bus 140 to mcu 120 allows more data to be transferred . thus , the present invention allows mcu 120 to be connected to memory buses with different data widths . mcu 120 of a preferred embodiment of the present invention comprises a switch network 125 which includes a switch arbitration unit 132 , a data cache interface circuit 117 , an instruction cache interface circuit 112 , an i / o interface circuit 135 , and one or more memory port interface circuits 127 known as ports , each port interface circuit 127 includes a port arbitration unit 134 . mcu 120 is a circuit whereby data and instructions are transferred ( read or written ) between cache controller unit 110 ( ccu ) ( both d - cache 115 and i - cache 113 ( read only )), iou 130 and main memory 150 . switch network 125 is a means of communicating between a master and slave device . to switch network 125 the possible master devices are a d -- cache 115 , an i -- cache 113 , or an i / o controller unit ( iou ) 130 and the possible slave devices are a memory port 127 or an iou 130 , for example . the function of switch network 125 is to receive the various instruction and data requests from ccu 110 and iou 130 . these units may be referred to as bus requestors . after having received these requests , the switch arbitration unit 132 passes them to the appropriate memory port ( depending on the instruction address ). the port 127 , or ports as the case may be , will then generate the necessary timing signals , and send or receive the necessary data to / from external memory bus 140 . memory interface port 127 manages the data by sending to and receiving from interleaved memory 150 . d - cache 115 requires that any data transaction be carried out in 64 bit blocks , regardless of whether the system is currently coupled to a 32 or 64 bit external memory bus 140 . switch network 125 is connected to ccu 110 , iou 130 , and memory port 127 via a set of tri - state buffered signal buses . the tri - state buffered signal buses include a memory control data bus ( mc -- d -- bus ) 126 ( a ), a cache data bus ( cc -- d -- bus ) 126 ( b ), and a memory control instruction bus ( mc -- i -- bus ) 126 ( c ). furthermore , the present invention includes request buses cc -- d -- req 128 ( a ) and cc -- i -- req 128 ( b ) and control signals ( not shown ) mc -- d -- req -- ack , mc -- d -- da -- ack , and mc -- d -- b -- vld . generally , a bus transaction includes two parts : sending the address and receiving or sending the data . bus transactions are usually defined by what they do to memory : a read transaction transfers data from memory ( to either the cpu or an i / o device , for example ), and a write transaction writes data to the memory . in a read transaction , the address is first put on the memory address bus ( not shown ) to memory 150 , together with the appropriate control signals indicating a read . the memory responds by returning the data on bus 140 with the corresponding control signals . a write transaction requires that the cpu or i / o device send both address and data , and requires no return of data . the present invention contemplates being placed on a chip with either a 64 pin or a 32 pin external memory bus interface . as will be appreciated , the 64 pin interface can be used in either 32 or 64 bit mode ( i . e ., with either a 64 bit or 32 bit external bus 140 ). a chip with a 32 pin memory data bus interface can not operate in 64 bit mode . at reset , a preferred embodiment will assume a 32 bit memory interface during power up ( boot ), read a word from a fixed location ( on or off chip ) and ascertain therefrom the configuration required for proper system operation . in particular , during power up cpu 105 reads and executes boot code . the boot code instructs cpu 105 to read a specific memory location in memory 150 . that memory location would have encoded in it the information to determine what size data bus is coupled to system 100 . an alternative embodiment , includes pre - programming the chip hardware with the size of external bus 140 . thus , the sub - systems described below for allowing access to a 32 bit or 64 bit external memory bus 140 are aware , immediately after the chip is powered up or after a hardware reset , which size external bus 140 is currently coupled to system 100 . of course , other means for determining the size of the external bus will be apparent to those skilled in the art and in no way is the present invention limited to the techniques described above . referring to fig &# 39 ; s . 1 , 2 , and 4 , cc -- d -- bus 126 ( b ) and sw -- wd 215 , are used to send write data from the master device ( e . g ., d -- cache 115 ) to a write data fifo 230 ( described below and shown in fig2 ). mc -- d -- bus 126 ( a ), sw -- rd 450 and 455 are used to send the return read data from the slave device ( memory port 127 or iou 130 ) back to the master device . both sw -- wd and sw -- rd are both tri - state buses . the present invention allows the system architecture described above to be interfaced with either a 32 or 64 bit external memory bus 140 . in order to facilitate dual width memory transfers , the present invention is designed to use a maximum of two clock cycles to send a word between cache 110 and memory interface port 127 , or vice versa . for example , if cache 110 writes one long word ( 64 bits ), and the system 100 is coupled to a 32 bit external bus 140 , it will take two clock cycles to send the data to memory interface port 127 . referring to fig2 there is a logic design 200 ( hereinafter subsystem 200 ) for writing to main memory 150 . subsystem 200 represents the hardware necessary for either a 32 or 64 bit data transfer . subsystem 200 transfers data in a &# 34 ; double pumped &# 34 ; fashion . for example , instead of transferring one word of data every clock cycle , the subsystem 200 can transfer one half word of data every half clock cycle . since the buses are double - pumped , care is taken in the circuit design to ensure that there is no bus - conflict when the buses turn around and switch from one master to a new master . double pumping reduces the number of required bit lines thereby minimizing expensive wire requirements with minimal performance degradation . although the preferred embodiment implements a double pumping scheme , double pumping is not necessary for carrying out the present invention . subsystem 200 uses multiplexers 210 , 220 to send data from data cache bus ( cc -- d -- bus ) 126 ( b ) to main memory 150 . multiplexers 210 , 220 of a preferred embodiment of the present invention uses multiplexer / latches . in other words the multiplexers can temporarily store data . 16 or 32 bits ( depending on whether there is a 32 or 64 bit memory bus 140 , respectively ) of data will be transferred to memory interface port 127 every half clock cycle and stored in a write data fifo 230 , located between memory interface port 127 and ccu 110 . subsystem 200 also contains a buffer 250 and pad 260 . buffer 250 is a tri - state output pad buffer to drive the external memory data bus and pad 260 is used to connect subsystem 200 to main memory 150 . fig3 ( a ) and 3 ( b ) show a pair of timing diagrams for writing data to memory 150 with either a 32 bit memory bus or a 64 bit memory bus , respectively . data can be transferred in one cycle if a 64 bit memory bus is used , while it takes two cycles to transfer data using a 32 bit memory bus . specifically , fig3 ( a ) shows a timing diagram for writing data to memory 150 with a 32 bit memory bus . initially , cache 110 sends a request via the cache request signal ( cc -- d -- req ) 128 ( a ) for access to memory 150 , shown at reference number 310 . mcu 120 acknowledges that request when mc -- d -- req -- ack goes high ( at the rising edge of clock 305 ), as shown at reference number 315 . next , if access to memory is granted , the data to be written to memory 150 appears on the cc -- d -- bus 126 ( b ), as shown at reference number 320 . once the data appears on the cc -- d -- bus 126 ( b ), the data is transferred to write data fifo 230 during the next two clock 305 cycles . the mc -- d -- da -- ack signal indicates , as shown at reference number 325 , that the data is currently being received in write data fifo 230 . every time 32 bits of data enters mcu 120 it is placed in write data fifo 230 . the first 32 bits are sent during the first clock 305 cycle ( 15 bits per half clock cycle ) and the second 32 bits are sent during the second clock 305 cycle . referring to fig2 initially , all 64 bits of data act as inputs into multiplexers 210 and 220 . during the first clock 305 cycle , the first 32 bits are selected from multiplexers 210 , 220 and saved via sw -- wd 215 , 217 in write data fifo 230 . during the second clock cycle , the second 32 bits are selected from multiplexers 210 , 220 and saved in write data fifo 230 via sw -- wd 215 , 217 . those skilled in the relevant art will readily be capable of generating the necessary control signals / logic for multiplexers 210 , 220 based on the disclosed timing signals described above and the information that the system 100 is currently coupled to a 32 bit external bus . once the data is saved in write data fifo 230 , it can be written ( stored ) to memory 150 whenever external data bus 140 becomes available . oftentimes , not all of the data needs to be written to memory 150 ( e . g ., during a read - modify - write ). consequently , a data multiplexer select 240 is provided . referring to fig6 ( a ), data multiplexer select 240 provides a scheme for selecting a set of bytes from the data being transferred from write data fifo 230 to main memory 150 . during a read - modify - write , potentially only a portion of the data is modified . for example , as shown in fig6 ( b ) only the first 8 bits of wo have been modified ( as indicated by shading ). initially , all 32 bits are placed at inputs org0 660 through org3 666 of multiplexers a 610 through d 640 . the data at these inputs is the data originally read from the read portion of the read - modify - write operation . this data is modified and placed at the other inputs new0 650 through new3 656 of multiplexers a 610 through d 640 . as illustrated in this example , only the first 8 bits have been modified , the remaining 24 bits of data should not be stored into memory . thus , data line new0 650 is selected in multiplexer a 640 and data lines org1 662 , org2 6664 , and org3 664 are selected in multiplexers b 630 , c 640 , and d 650 . which has the effect of storing the data as originally read from memory except for the modified portion of the data . the structure and operation of the control logic for selecting the outputs of multiplexers a 640 through b 660 will become apparent to those skilled in the art . note that the data multiplexer select 240 is not essential to practice the present invention . it is only an option that has been implemented in a preferred embodiment of the present invention . the timing diagram shown in fig3 ( a ) shows an example of two 64 bit words being written to memory 150 via a 32 bit external bus 140 . a sample write data fifo 340 is shown with four 32 bit blocks . at this point , the data is ready to be sent on external data bus 140 in 32 bit blocks from write data fifo 340 . fig3 ( b ) shows the timing diagram for writing data to main memory 150 with a 64 bit external memory bus 140 . initially , cache 110 requests an acknowledgement from mcu 120 that it can write data to memory 150 . once again , this is accomplished by sending cc -- d -- req high at 350 . mcu 120 acknowledges the request by sending mc -- d -- req -- ack high at 355 , at which point the data is sent onto the cc -- d -- bus 126 ( b ). at the beginning of the next clock cycle ( shown at reference number 365 ) 32 bits of data are transferred to write data fifo 230 via lines sw -- wd 215 , 217 . once again , the mc -- d -- da -- ack signal goes high to acknowledge that write data fifo 230 is receiving the data from cache 110 . in contrast to the 32 bit memory bus timing constraints , it only takes one clock cycle to transfer the 64 bits to write data fifo 230 . 32 bits are transferred every half cycle . a sample write data fifo 375 is shown with two 64 bit blocks . at this point , the data is ready to be driven onto external data bus 140 in 64 bit blocks . referring to fig2 as stated above , all 64 bits of data act as inputs to multiplexers 210 and 220 . when a 64 bit external data bus 140 is coupled to system 100 , all 64 bits of data are selected from multiplexers 210 , 220 . thus , 64 bit blocks are stored in write data fifo 230 . during the first half clock cycle the first 32 bits are placed on sw -- wd 215 and during the second half clock cycle the second 32 bits are placed on sw -- wd 217 . consequently , it only takes one clock cycle to transfer 64 bits from cache 110 to write data fifo 240 . the above procedures discussed above for writing a 32 bit or 64 bit data stream to main memory 150 via external data bus 140 is generally outlined in fig7 . note that the procedure is exactly the same for both 32 and 64 bit data transfers , except step 750 . if system 100 is coupled to a 32 bit external bus then the data transfer takes two cycles and if system 100 is coupled to a 64 bit external bus then the data transfer takes only one cycle . since the 32 bit only implementation is a subset of the 64 bit implementation , the same mcu 120 control logic can be used in both . mcu 120 control is designed to change the control signals ( i . e ., inputs to the multiplexers ) according to the width of memory bus 140 . those skilled in the art will readily be capable of generating the necessary control logic to operate the present invention given the timing and hardware configuration described above . fig4 shows the memory system for reading data ( i . e ., an information fetch ). in a similar fashion to a write operation , cache 110 requires that data be returned back to cache 110 in 64 bit blocks . if memory port 127 returns a two long - word read request to cache 110 , it will take two clock 505 cycles to send 128 bits to cache 110 . the sw -- rd bus 450 , 455 is used to send the return read data from the slave device ( memory port 127 or iou 130 ) back to the master device . this bus is not double - pumped because of the timing constraints of cache 110 . data is sent only when clock 505 is high . cache 110 requires that the data be valid at the falling edge of clock 505 . since the data is received from the port 127 when clock 505 is high , if the sw -- rd bus 450 , 455 was double - pumped , the earliest that cache 110 would get the data would be at the positive edge of clock 505 , not at the negative edge of clock 505 . since the sw -- rd bus 450 , 455 is not double - pumped , this bus is only active ( not tri - stated ) during clock 505 and there is no problem with bus buffer conflict where two bus drivers drive the same wires at the same time . subsystem 400 also contains a buffer 440 and pad 450 . buffers 440 and 450 are used to translate the external pad voltages to the internal logic voltages and pad 450 is used to connect subsystem 400 to main memory 150 . fig5 ( a ) and fig5 ( b ) show the read data timing back to cache 110 for 32 bit and 64 bit bus modes , respectively . fig5 ( a ) shows the timing diagram for reading data from main memory 150 using a 32 bit external memory bus 140 . initially , 32 bits of data are transferred over external memory bus 140 and placed in read data fifo 430 in 32 bit blocks . next , the data is placed on data lines sw -- rd as shown at reference numbers 510 and 512 . when mc -- d -- b -- vld goes high , as shown at reference number 515 , the mc -- d -- bus is available . the data / instruction requested by cache 110 will subsequently appear on data bus ( mc -- d -- bus ) 126 ( a )/ instruction bus ( mc -- i -- bus ) 126 ( c ), respectively , subsequent to the beginning of the next clock 505 rising edge , as shown at reference number 520 . at this point , the data is being transferred to cache 110 . referring to fig1 and 4 , when utilizing a 32 bit external bus 140 the data enters mcu 120 through port 127 . the data is then stored in read data fifo 430 in 32 bit blocks . initially , read data fifo 430 is empty and data lines 450 , 455 are available . however , once data lines sw -- rd [ 31 : 0 ] 450 and sw -- rd [ 63 : 32 ] 455 become unavailable , the data remains stored in read data fifo 430 until the data lines 450 , 455 become available ( only data line 450 is used in 32 bit mode ). as soon as data line 450 becomes available , the first 32 bits in read data fifo 430 are sent to multiplexers 410 , 420 . specifically , multiplexer 420 is concerned with the lower 32 bits and multiplexer 410 is concerned with the higher 32 bits . the first 32 bits are popped from read data fifo 430 and placed at the input of multiplexer 420 via sw -- rd [ 31 : 0 ] 450 . next , the second set of 32 bits will be popped from read data fifo 430 and sent to multiplexer 410 via sw -- rd [ 63 : 32 ] 455 . once all 64 bits of data are placed at the inputs of multiplexers 410 , 420 , all 64 bits are selected from multiplexers 410 , 420 , and placed on mc -- d -- bus 126 ( a ) ( or mc -- i -- bus 126 ( c ) as the case may be ) and read into cache 110 . an alternative embodiment of the present invention can be configured with a separate set of multiplexers , one set for the i -- cache 113 and the a second set for d -- cache 115 . in addition , data line sw -- rd [ 63 : 32 ] is optional for 32 bit ( low cost ) implementations . referring to fig5 ( b ), a timing diagram for reading data when a 64 bit external bus 140 is being utilized is shown . initially , the data from external data bus 140 is stored in read data fifo 430 . since a 64 bit external data bus 140 is being used , the data is stored in read data fifo 430 is 64 bit long words . the data remains in read data fifo 430 until data lines sw -- rd 450 , 455 are available . once sw -- rd 450 , 455 become available , all 64 bits are transferred to the inputs of the multiplexers via sw -- rd 450 , 455 , as shown at reference number 550 . when mc -- d -- b -- vld goes high , as shown at 555 , the data will subsequently be placed on mc -- d -- bus 126 ( a ) ( or mc -- i -- bus 126 ( c ) as the case may be ) during the next cycle of clock 505 , as shown at reference number 560 . the data is transferred over mc -- d -- bus 126 ( a ) and forwarded to requesting cache 110 . referring again to fig4 after the data enters read data fifo 430 and data lines 450 , 455 are available , all 64 bits of data are placed at the inputs of multiplexers 410 , 420 . the lower 32 bits are placed at the input to multiplexer 420 via data line sw -- rd [ 31 : 0 ] 450 . the upper 32 bits are placed at the input to multiplexer 410 via data line sw -- rd [ 63 : 32 ] 455 . after all 64 bits have been placed on data lines sw -- rd [ 31 : 0 ] 450 and sw -- rd [ 63 : 32 ] 455 , the data is selected from multiplexers 410 , 420 and forwarded to cache 110 . the procedures discussed above for reading a 32 bit or 64 bit data stream from main memory 150 via external data bus 140 is generally outlined in fig8 . once again note that the procedure is exactly the same for both 32 and 64 bit data transfers , except steps 850 , 860 , and 870 . if system 100 is coupled to a 32 bit external bus then the data transfer takes two cycles per long word ( 64 bits ) and if system 100 is coupled to a 64 bit external bus then the data transfer takes only one cycle per long word . those skilled in the art will readily be in a position to generate the necessary control logic to operate the present invention given the timing and hardware configuration described above . data is put into read data fifo 430 when the switch read bus ( sw -- rd ) is not available . data is always put in write data fifo 230 and read out according to memory timing requirements . if external bus 140 or sw -- rd buses are currently being used by some other port , the oncoming write or read data is temporarily pushed into write data fifo 230 or read data fifo 430 , respectively . when the requested bus becomes available ( i . e ., external bus 140 or sw -- rd is released ), data is popped from the particular fifo and transferred to either memory 150 , or requesting cache 110 or iou 130 . on the other hand , if the requested bus is available when the data arrives in the write data fifo 230 or read data fifo 430 , then the data is immediately transferred through the respective fifo onto the data lines . the memory system is designed to allow a 64 bit data path to operate in either 64 or 32 bit mode . software can select which system configuration is used . the 32 bit mode control operation for both 64 and 32 bit chips is the same . essentially , the control logic and the data path is similar to when the system is configured to connect to a 32 bit external bus and run in 32 bit mode . however , when a 32 bit external bus is used the upper bits of the switch 125 and the write data fifo 230 or read data fifo 430 are not used ( i . e ., sw -- wd [ 31 : 16 ] and sw -- rd [ 63 : 32 ] will be &# 34 ; don &# 39 ; t care &# 34 ;). but as discussed above , the control logic remains the same . to fully appreciate the design of the present invention the write data fifo 230 and read data fifo 430 must be able to store at least two sets of data at any given time , where a set of data is equal to the maximum block of data that is to be transferred . this ensures that when external bus 140 has been accessed on the first set of data is being placed onto external bus 140 , a second set of data is immediately available to be put on external bus 140 . thus , there is no guaranteed lag time between the first set of data being placed on external bus 140 and the second set of data being place on external bus 140 . in addition , the present invention is directly scalable ( e . g . 64 / 128 bits ). consequently , one skilled in the art can readily design a system that provides for dual width memory bandwidth with a variety of bit transfer combinations . in addition , the present invention contemplates a multiple width memory bus . thus , it is contemplated that one skilled in the art could readily design a system , utilizing the teachings of the present invention described above , that is configured to handle , for example , a 32 bit , 64 bit , and / or 128 bit external data buses . thus , there are infinite combinations of external data bus widths that could be implemented into one system with the teachings of the present invention . it is contemplated that one skilled in the art can apply the teachings of the present invention to any type of bus in a computer - based system . for example , the present invention is applicable to dual width i / o buses . furthermore , the present invention is not limited to external buses , but can be applied to internal buses as well . while the invention has been particularly shown and described with reference to preferred embodiments thereof , it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention .