A ram with programmable data port configuration provides for programmable configuration of ram data ports, and in the case of a multiport ram, for independent programmable configuration of each data port. A single programmable ram cell can be utilized in a variety of data port configurations, thereby reducing the number of combinations necessary in a standard cell library or gate array in implement the every possible configuration. In one embodiment of the invention, a dual port ram is provided with a decoder, an input multiplexer and an output multiplexer for each data port. The input multiplexer for each data port provides several different selectable mappings of a ram input word of varying sizes to the input bit lines of the respective data port. Similarly, the output multiplexer for each data port provides several different selectable mappings of the ram output bit lines to the ram output word. The decoder receives configuration programming bits to determine the appropriate size of the ram input and output word for the respective port, and based on column addressing bits, outputs a select signal to select the appropriate mapping from the input and output multiplexers. Decoding circuitry is used during ram write operations to disable those input bits not addressed.

Patent
   RE40423
Priority
Jul 29 1996
Filed
May 15 2001
Issued
Jul 08 2008
Expiry
Jul 29 2016
Assg.orig
Entity
Large
4
83
all paid
1. A circuit for programmably configuring a data port having a fixed word length m, comprising:
a multiplexer circuit coupled to a data port, said multiplexer circuit having a selectable electronic mapping between said data port and a second port of programmable word-length n where n is less than or equal to m, said multiplexer circuit responsive to a select signal; and
a decoder having a configuration input and an address input, said decoder generating said select signal.
9. A multiport ram with programmable data port configuration, comprising:
a first internal data port of fixed width m;
a second internal data port of fixed width n;
a first multiplexer circuit coupled to said first internal data port, said first multiplexer circuit having a selectable electronic mapping between said first internal data port and a first external data port of programmable width x where x is less than or equal to m, said first multiplexer circuit responsive to a first select signal;
a second multiplexer circuit coupled to said second internal data port, said second multiplexer circuit having a selectable electronic mapping between said second internal data port and a second external data port of programmable width y where y is less than or equal to n, said second multiplexer circuit responsive to a second select signal;
a first decoder having a first configuration input and a first address input, said first decoder generating said first select signal; and
a second decoder having a second configuration input and a second address input, said second decoder generating said second select signal.
2. The circuit for programmably configuring a data port of claim 1 wherein m divided by n is a multiple of two.
3. The circuit for programmably configuring a data port of claim 1 wherein said programmable word-length n is dependent on said configuration input.
4. The circuit for programmably configuring a data port of claim 3 wherein said configuration input is received from a register having configuration bits stored therein.
5. The circuit for programmably configuring a data port of claim 3 wherein said configuration input is received from a ROM having configuration bits stored therein.
6. The circuit for programmably configuring a data port of claim 1 wherein said decoder selects an n-bit word from said m-bit data port based on said address input.
7. The circuit for programmably configuring a data port of claim 1 wherein said multiplexer circuit comprises:
an input multiplexer coupled to said data port and said select signal, said input multiplexer selectably configured to map input data words of word-length n from said second port into said data port; and
an output multiplexer coupled to said data port and said select signal, said output multiplexer selectably configured to map output data words of word-length m from said data port into said second port.
8. The circuit for programmably configuring a data port of claim 1 wherein said data port is part of a memory circuit, and wherein said decoder further comprises:
a decoding circuit coupled to said data port, wherein said decoding circuit is configured to selectively disable a write operation for a portion of said data port based on said configuration input and said address input.
10. The circuit multiport ram of claim 9 wherein m divided by x is a multiple of two.
11. The circuit multiport ram of claim 9 wherein said programmable width x is dependent on said first configuration input, and said programmable width y is dependent on said second configuration input.
12. The circuit multiport ram of claim 11 wherein said first configuration input and said second configuration input are received from at least one register having configuration bits stored therein.
13. The circuit multiport ram of claim 11 wherein said first configuration input and said second configuration input are received from a ROM having configuration bits stored therein.
14. The circuit multiport ram of claim 9 wherein said first decoder selects an x-bit word from said first internal data port based on said first address input, and said second decoder selects a y-bit word from said second internal data port based on said second address input.
15. The circuit multiport ram of claim 9 wherein said first multiplexer circuit comprises:
an input multiplexer coupled to said first internal data port and said first select signal, said input multiplexer selectably configured to map input data words of width x from said first external data port into said first internal data port; and
an output multiplexer coupled to said first internal data port and said first select signal, said output multiplexer selectably configured to map output data words of width m from said first internal data port into said first external data port.
16. The circuit multiport ram of claim 9 wherein said second multiplexer circuit comprises:
an input multiplexer coupled to said second internal data port and said second select signal, said input multiplexer selectably configured to map input data words of width y from said second external data port into said second internal data port; and
an output multiplexer coupled to said second internal data port and said second select signal, said output multiplexer selectably configured to map output data words of width n from said second internal data port into said second external data port.
17. The circuit multiport ram of claim 9 wherein each of said first and second decoders further comprise:
a decoding circuit coupled to a respective internal data port, wherein said decoding circuit is configured to selectively disable a write operation for a portion of said respective internal data port based on a respective configuration input and a respective address input.
18. The circuit multiport ram of claim 9 wherein x and y are independently programmable.

1. Field of the Invention

This invention relates to the field of digital electronics, and more particularly to random access memory (RAM) data ports.

2. Description of the Related Art

In the prior art, data input/output (I/O) functions for memory cells in integrated circuits (ICs) have been confined to fixed-width word-length operations. For example, applications involving the use of an eight-bit data word utilize a memory cell having an eight-bit data port, and applications involving a sixteen-bit data word utilize a different memory cell with a hardwired sixteen-bit data port. This specificity of memory cells based on word length prevents the widespread application and re-use of general memory configurations.

In the construction of electronic circuits, many skilled practitioners use what are referred to as “standard cells” to build their circuits. These standard cells are predesigned circuit building blocks resident in a library of such building blocks. Because the standard cells are individually designed and tested before they are added to the library, performance characteristics for the standard cells are predictable. Using predesigned standard cells can reduce the amount of time between conception of a circuit design and production of a working circuit prototype.

Similarly, many designers use programmable gate arrays (PGAs) to implement digital circuit designs. Gate arrays are integrated circuits with standard logic cells (e.g., NAND gates, NOR gates, registers, etc.) already resident in an integrated circuit. Typically, gate array ICs include thousands of these individual cells with mechanisms for interconnecting the cells. The designer merely identifies the interconnection of the resident logic cells to implement his circuit design. The mechanism for interconnecting the cells may be a one-time fuse mechanism, or a programmable mechanism allowing for reuse of the gate array IC in another design.

For instance, using a field-programmable gate array (FPGA), such as one from the XILINX product line, an erasable programmable ROM chip (EPROM) or electrically erasable programmable ROM chip (EEPROM) may be used to store the programmable configuration information for one or more PGAs. To implement a new logic design on the same PGAs, the designer erases the EPROM and loads in a new set of configuration information. During the startup cycle, the PGAs adopt the new configuration by interconnecting the logic cells based on the new configuration information. Using computer aided design (CAD) tools to generate the configuration information, a recursive design process can cycle from one working design implementation to a revised working design implementation in as little time as a single day.

One drawback of gate arrays is that the number of logic cells of any particular type (e.g., NAND gate, eight-bit shift register, etc.) is fixed. For larger sized cells such as RAM (random access memory) cells, this limitation is of greater concern, because of the relatively fewer number of such cells. It is therefore beneficial to make these larger sized cells as generic as possible to increase their utility for different design needs.

With respect to RAM cells, different applications entail different RAM configurations, e.g., eight-bit word access, sixteen-bit word access, serial (one-bit) access, etc. For this reason, many gate arrays and standard cell libraries include cells of each type to serve all applications. Unfortunately, the unused configurations in a gate array constitute wasted IC area that could be utilized for other needed logic cells.

In the prior art, dual port RAM circuits have been used to increase the utility of the RAM. Examples of dual port RAM for use in video systems are U.S. Pat. Nos. 4,633,441; 4,799,053; and 5,195,056 to Ishimoto, Van Aken et al., and Pinkham et al., respectively. A dual port RAM circuit has two data ports for accessing the contents of the RAM.

In a dual port RAM, the ports may have the same or different data widths. For instance, a dual port RAM may have a first port providing eight-bit access and a second port providing one-bit or serial access to the same memory. This configuration is useful for applications requiring both byte access and serial access, such as for parallel-to-serial and serial-to-parallel conversion. However, other applications may require different configurations. For example, in a video application, a designer may require a first port providing thirty-two-bit access to write pixel data and a second port providing eight-bit access for reading out eight-bit segments of pixel RGB data. In the prior art, the eight-bit/one-bit dual port RAM cell cannot be used in the thirty-two-bit/eight-bit configuration needed in the video application.

Dual port RAM cells provide an improvement in the manner in which memory is accessed. However, designers are limited to the fixed-width configuration available in the hardwired circuit, or else an application specific circuit must be designed to provide the needed configuration. Further, it is inefficient in the standard cell and gate array environments to provide for dual port RAM cells of each possible dual port combination.

The present invention is a RAM with programmable data port configuration. Whereas prior art RAM cells or arrays have hardwired data ports of fixed sizes, the invention provides for programmable configuration of RAM data ports, and in the case of a multiport RAM, for independent programmable configuration of each data port. A single programmable RAM cell can be utilized in a variety of data port configurations, reducing the number of combinations necessary in a standard cell library or gate array to implement every possible configuration.

In one embodiment of the invention, a dual port RAM is provided with a decoder, an input multiplexer and an output multiplexer for each data port. The input multiplexer for each data port provides several different selectable mappings of a RAM input word of varying sizes to the input bit lines of the respective data port. Similarly, the output multiplexer for each data port provides several different selectable mappings of the RAM output bit lines to the RAM output word. The decoder receives configuration programming bits to determine the appropriate size of the RAM input and output word for the respective port, and based on column addressing bits, outputs a select signal to select the appropriate mapping from the input and output multiplexers. Further decoding circuitry is used during RAM write operations to disable those input bits not addressed.

FIG. 1 is a block diagram of a dual port RAM with programmable data port configuration according to an embodiment of the invention.

FIG. 2 is a block diagram of a single programmable data port according to an embodiment of the invention.

FIG. 3 is a circuit diagram of a four-to-one multiplexer suitable for the embodiment of FIG. 2.

FIG. 4 is logic diagram of a selection decoder suitable for the embodiment of FIG. 2.

FIG. 5 is a diagram of an 8×4 RAM structure illustrating addressing for several configurations.

A RAM with programmable data port configuration is described. In the following description, numerous specific details are set forth to provide a more thorough description of the present invention. It will be apparent, however, to one skilled in the art, that the present invention may be practiced without these specific details. In other instances, well known features have not been described in detail so as not to obscure the present invention.

In an embodiment of the invention, a RAM structure, or cell, is provided with one or more data ports having a programmably configurable data width. Whereas RAM structures of the prior art are limited to a hardwired data width, precluding the use of the same structure or design for applications of different data widths, the invention provides for a single RAM structure to be utilized in a plurality of programmable data width configurations. In a multiport embodiment of the invention, each data port is independently configurable providing for broad use of the RAM design in many different applications. Standard cell and gate array environments are able to provide a single programmable RAM cell design where, in the prior art, many fixed data width RAM cells were required.

FIG. 1 is a top level block diagram of a dual port RAM structure having programmably configurable data ports. In FIG. 1, dual port RAM 100 comprises a first input/output (I/O) data port having input bus 108, output bus 109 and address bus 106; and a second I/O data port having input bus 117, output bus 118 and address bus 115. In some embodiments of the invention, however, one or more data ports may be read-only or write-only, comprising only an input multiplexer or an output multiplexer.

Port B input multiplexer 101 is coupled to input bus 108 and external input bus 103. Port B output multiplexer 102 is coupled to output bus 109 and external output bus 105. In addition, input multiplexer 101 and output multiplexer 102 receive select signal 120 from decoder 119. Decoder 119 receives low order address bits 104 and configuration bits 107.

Port A input multiplexer 110 is coupled to input bus 117 and external input bus 112. Port A output multiplexer 111 is coupled to output bus 118 and external output bus 114. In addition, input multiplexer 110 and output multiplexer 111 receive select signal 122 from decoder 121. Decoder 121 receives lower order address bits 113 and configuration bits 116.

Buses 108, 109, 117 and 118 have a fixed width according to the hardwired physical characteristics of dual port RAM 100. Address bus 106 comprises address bit lines ADDB0, ADDB1, . . . ADDBj, which are sufficient to provide unique addresses for memory words in dual port RAM 100 of the width provided by buses 108 and 109. Address bus 115 contains address bit lines ADDA0, ADDA1, . . . ADDAk, which are sufficient to address memory words in dual port RAM 100 having a width corresponding to buses 117 and 118.

External input bus 103 contains data input lines DINB0, DINB1, . . . DINBm, to form a bus width of the same size as bus 108 or smaller. Similarly external input bus 112 contains input lines DINA0, DINA1, . . . DINAn, to provide a bus having a width corresponding to the width of bus 117 or smaller. External output bus 105 consists of bit lines DOUTB0, DOUTB1, . . . DOUTBm, to form a bus having a width having of the same size as bus 109 or smaller. Similarly, external output bus 114 consists of output bit lines DOUTA0, DOUTA1, . . . DOUTAn, to form a bus width of the same size as bus 118 or smaller.

Typically, the configurable external bus width has a maximum value of the fixed internal bus width. Other possible programmable configurations are typically equal to the maximum bus width divided by a power of two. For example, if the internal fixed bus width is sixteen bits, common programmable external configurations are sixteen bits, eight bits, four bits, two bits and one bit. However, other configurations are also possible (e.g., twenty-four internal bits configured to twenty-four, eight, four or one external bits).

Configuration bits 107 are provided on control lines for selecting between possible port configurations. For example, two configuration bits can be used to provide four different port configurations, such as for one bit, two bit, four bit and eight bit wide configurations. Three configuration bits are sufficient to support eight different configurations, etc. Similarly, configuration bits 116 are provided on control lines for port A. Lower order address bits 104 provide for selection of data bit subsets from buses 108 and 109. Similarly, lower order address bits 113 provide for selection of data bit subsets from buses 117 and 118. The number of lower address bits is at least equal to log2 of the internal fixed bus width divided by the minimum external bus width.

Multiplexers 101, 102, 110 and 111 provide for mapping of the bit lines between the external buses and the respective internal buses to implement the desired configurations. Decoders 119 and 122 independently select the appropriate mapping from their associated multiplexers based on the respective port configuration bits, and the lower order (or column) address bits when applicable.

The configuration bits may be stored in an external memory circuit such as an EPROM, or the configuration bits may be stored in a local register. Further, the configuration bits may be set once at startup, or they may be set and reset during circuit operation to provide the utility of the different configurations while the circuit is operating. The independent programmability of each port provides a versatility advantage over memory circuits of the prior art.

FIG. 5 illustrates an addressing scheme for an eight by four RAM cell. The RAM contains eight rows (0-7) of memory words having four memory bits, B0 through B3. Row address bits A1, A2 and A3 are used to specify one row from the eight possible rows within the RAM. A1 is the most significant row address bit, and A3 is the least significant row address bit. Column address bits CA0 and CA1 are used to specify particular columns of the RAM. CA0 is the most significant column address bit, and is used to separate the RAM into a least significant two-bit column comprising bits B0 and B1, and a most significant two-bit column comprising bits B2 and B3. CA1 is used to specify a single bit column within each two-bit column specified by CA0. Further column address bits are used to further subdivide larger RAM configurations.

TABLE 1
GENERAL MAPPING TABLE (×4, ×2, ×1)
MEM1 MEM2 CA0 CA1 D0 D1 D2 D3
0 0 X X B0 B1 B2 B3
0 1 0 X B0 B1 X X
0 1 1 X B2 B3 X X
1 0 X X X X X X
1 1 0 0 B0 X X X
1 1 0 1 B1 X X X
1 1 1 0 B2 X X X
1 1 1 1 B3 X X X
(X = Don't care conditions)

Table 1 is a mapping diagram for a four-bit internal RAM port with programmable configurations for four-bit wide access (×4), two-bit wide access (×2), and one-bit wide or serial access (×1). D0-D3 represent the bit lines of the external port (input and output) of the programmable RAM. B0-B3 represent the fixed internal bit lines (input and output) of the programmable RAM. MEM1 and MEM2 are the configuration bit values, and CA0 and CA1 are the low order (or column) address bit values for the configurations which require finer addressing.

Table 1 contains many “don't care” conditions that allow for variations in the implementation of the data port. In general, multiplexers are used to provide the selectable paths by which the internal and external bit lines are coupled. A decoder is used to control the multiplexers based on the inputs MEM1, MEM2, CA0 and CA1, such that the definitions of Table 1 are implemented.

TABLE 2
MAPPING TABLE FOR EMBODIMENT OF FIG. 2
MEM1 MEM2 CA0 CA1 D0 D1 D2 D3
0 0 X X B0 B1 B2 B3 S0
0 1 0 X B0 B1 B2 B3 S0
0 1 1 X B2 B3 B0 B1 S2
1 0 X X X X X X
1 1 0 0 B0 B1 B2 B3 S0
1 1 0 1 B1 B2 B3 B0 S1
1 1 1 0 B2 B3 B0 B1 S2
1 1 1 1 B3 B0 B1 B2 S3

Table 2 is an embodiment of Table 1 wherein the “don't care” conditions have been filled in to provide for assignment of the general bit mappings of Table 1 to four particular bit mappings for one embodiment of the programmable four-bit data port. The four particular bit mappings are labelled as S0-S3, and correspond to particular select signals output from a decoder in the implementation shown in FIG. 2.

FIG. 2 is a bit level block diagram of an embodiment for one port of a RAM device having programmable configuration capabilities as defined in Table 2. In the embodiment of FIG. 2, the hardwired width of RAM port 200 is four bits wide. Address lines A1, A2, . . . An are provided to RAM port 200 to address the four bit words from the RAM device. Multiplexers (MUXs) 202, 204, 206 and 208 are used to map the four bits of the output word comprising bits BO-0, BO-1, BO-2, and BO-3 to the external output word comprising bits DO-0, DO-1, DO-2 and DO-3. Multiplexers 203, 204, 207 and 209 are used to map the four bits of the external word comprising DI-0, DI-1, DI-2 and DI-3 to the RAM port input word comprising bits BI-0, BI-1, BI-2 and BI-3.

Each bit level multiplexer has four inputs, I0-I3, and one output, O. Select signal 210 is provided to each multiplexer (202-209) to select from the four inputs (I0-I3) the appropriate signal to pass to the output (O). The composition of select signal 210 is determined by what is appropriate to drive the selected implementation of multiplexers 202-209. In this embodiment, the selection of MUX input I0 from each multiplexer corresponds to decode selection S0, the selection of all I1 inputs corresponds to selection S1, etc. Input multiplexers 203, 205, 207, and 209 provide the RAM port input signals BI-0, BI-1, BI-2 and BI-3, respectively. Output multiplexers 202, 204, 206 and 208 provide output signals DO-0, DO-1, DO-2 and DO-3, respectively.

RAM port output signal BO-0 is coupled to input I0 of MUX 202, input I3 of MUX 204, input I2 of MUX 206 and input I1 of MUX 208. RAM port output signal BO-1 is coupled to input I1 of MUX 202, input I0 of MUX 204, input I3 of MUX 206 and input I2 of MUX 208. RAM port output signal BO-2 is coupled to input I2 of MUX 202, input I1 of MUX 204, input I0 of MUX 206 and input I3 of MUX 208. RAM port output signal BO-3 is coupled to input I3 of MUX 202, input I2 of MUX 204, input I1 of MUX 206 and input I0 of MUX 208.

External input signal DI-0 is coupled to input I0 of MUX 203, input I1 of MUX 205, input I2 of MUX 207 and input I3 of MUX 209. External input signal DI-1 is coupled to input I3 of MUX 203, input I0 of MUX 205, input I1 of MUX 207 and input I2 of MUX 209. External input DI-2 is coupled to input I2 of MUX 203, input I3 of MUX 205, input I0 of MUX 207 and input I1 of MUX 209. External input DI-3 is coupled to input signal I1 of MUX 203, input I2 of MUX 205, input I3 of MUX 207 and input I0 of MUX 209.

Decoder 201 receives configuration signals MEM1 and MEM2 to select from three possible configurations, i.e., one-bit, two-bit and four-bit wide operations. Lower order address bits CA0 and CA1 are provided to decoder 201 for addressing within the four-bit word for the one-bit wide and two-bit wide configurations. Also, further decoding circuitry acts to disable unselected RAM port input lines during write operations. The enable/disable signals are represented in FIG. 2 by line 211 coupling decoder 201 to RAM port 200.

In general, the embodiment of FIG. 2 operates by steering the data inputs and outputs of the RAM port 200 to different external ports via the multiplexers, depending on the selected configuration of the RAM (MEM1 and MEM2) and the low order address bits (or column address bits) CA0 and CA1. The RAM port 200 is internally configured as four-bit wide data words, but by use of the steering circuitry, the RAM may be accessed as a two-bit wide word or as a single bit for serial purposes. The configuration of the RAM data port in FIG. 2 is controlled by configuration bits MEM1 and MEM2 as follows:

MEM1 MEM2 Configuration
1 1 ×1
0 0 ×4
0 1 ×2
1 0 Unused

For other embodiments, the configuration (MEM1,MEM2)=(1,0) is used to specify a fourth configuration. More configuration bits may be used to increase the number of possible configurations further.

When the RAM configuration bits MEM1 and MEM2 are set to the four-bit wide (×4) configuration, the column address bits CA0 and CA1 are not used in the decoding process because all bits are selected. Decoder 201 selects the I0 input of multiplexers 202-209 via select signal 210. Multiplexers 202, 204, 206 and 208 steer internal output port signals BO-0 through BO-3 to external output ports DO-0 through DO-3, respectively. Multiplexers 203, 205, 207 and 209 steer external input port signals DI-0 through DI-3 to internal input ports BI-0 through BI-3, respectively. Thus, when the four-bit wide configuration is selected, the multiplexers pass the RAM inputs and outputs directly through without remapping.

When the RAM configuration bits are set to the two-bit wide (×2) configuration, column address bit CA0 is used to select from the two two-bit words at each row address. Address bit CA1 is unused. Decoder 201 selects mapping S0, or all I0 inputs, when CA0 is “0” to couple the two least significant bits (B0, B1) of the internal buses to the two least significant bits (D0, D1) of the external buses. Similarly, decoder 201 selects mapping S2, or all I2 inputs, when CA0 is “1” to couple the two most significant bits (B2, B3) of the internal buses to the two least significant bits of the external bus (D0, D1). Only the two lease significant bits are used to access the RAM in the (×2) configuration of this implementation. Alternatively, two other bits of the external bus may be used to access the selected two bits from the internal bus.

When the RAM configuration bits are set to the one-bit wide (×1) or serial configuration, column address bits CA0 and CA1 are used to address the individual bits in the four-bit word selected by address A0-An. Only one bit line on the external buses is used to access data. In this embodiment, the access line is the least significant external bit line. When (CA0, CA1) is (0,0), decoder 201 selects mapping S0, or all I0 inputs, to couple the least significant internal bit line (B0) to the least significant external bit line (D0). When (CA0,CA1) is (0,1), decoder 201 selects mapping S1, or all I1 inputs, to couple the second least significant internal bit line (B1) to the least significant external bit line (D0). When (CA0,CA1) is (1,0), decoder 201 selects mapping S2, or all I2 inputs, to couple the second most significant internal bit line (B2) to the least significant external bit line (D0). Finally, when (CA0,CA1) is (1,1), decoder 201 selects mapping S3, or all I3 inputs, to couple the most significant internal bit line (B3) to the least significant external bit line (D0). Thus, each bit of the four-bit internal word is addressable.

The embodiment of FIG. 2 is easily expanded for larger internal words and more possible configurations. It will also be obvious to one skilled in the art that multiplexer/decoder embodiments can be used to implement the mappings of Table 1. For example, at the cost of modifying the decoder, another embodiment may comprise a four to one multiplexer for coupling internal bit lines to external bit line D0, a two to one multiplexer for coupling only internal bit lines B1 and B3 to external bit line D1, and direct connections for coupling internal bit line B2 to external bit line D2 and internal bit line B3 to external bit line D3.

FIG. 3 is a circuit diagram of one embodiment of a four to one multiplexer suitable for use in the circuit of FIG. 2. Input signals I0, I1, I2 and I3 are provided to inverters 300, 301, 302 and 303, respectively. I0′, the output of inverter 300, is provided to the transmission gate formed by NMOS transistor 304 and parallel with PMOS transistor 305. I1′, the output of inverter 301, is provided to the transmission gate formed by NMOS 307 in parallel with PMOS transistor 308. I2′, the output of inverter 302, is provided to the transmission gate formed by NMOS transistor 310 and parallel with PMOS 311. I3′, the output of inverter 303, is provided to the transmission gate formed by NMOS transistor 313 in parallel with PMOS 314. The output line of the transmission gates are joined at node 316 (O′), which in turn is coupled to the input terminal of inverter 317. The inverter 317 provides signal 318 (O).

Select signal S0 is provided to the gate of NMOS transistor 304, and through inverter 306 to the gate of PMOS transistor 305. Select signal S1 is provided to the gate NMOS transistor 307 and through inverter 309 to the gate of PMOS transistor 308. Select signal S2 is provided to the gate of NMOS transistor 310 and through inverter 312 to the gate of PMOS transistor 311. Select signal S3 is provided to the gate of NMOS transistor 313 and through inverter 315 to the gate of PMOS transistor 314.

The transmission gates formed by the complimentary NMOS and PMOS transistors provide a closed circuit when the associated select signal is asserted. When the associated select signal is not asserted, the transmission gate provides an open circuit. By asserting only one select signal at any moment in time, multiplexing of the four input values to a single output value is achieved. Inverters 300-303 and 317 provide buffering for the transmission function, but are unnecessary when the transmission gates are formed from logic having built-in sourcing and sinking capabilities.

FIG. 4 is a logic level diagram of one embodiment of a decoder for the example of FIG. 2. The decoding function provided is defined by Table 2, with select signals S0-S3 corresponding to bit mappings S0-S3. In FIG. 4, configuration signals MEM1 and MEM2 are coupled to inverters 400 and 401 respectively to provide signals MEM1′ and MEM2′. Similarly, lower order address bits CA0 and CA1 are provided to inverters 402 and 403, respectively, to provide signals CA0′ and CA1′.

NAND gates 404 and 405 and NOR gate 406 provide decoding of the input signals to generate select signal S3. NAND gate 404 receives as input signals MEM2 and CA1. NAND gate 405 receives as input signals MEM1 and CA0. Output signal 416 from NAND gate 404 and output signal 417 from NAND gate 405 are provided as input signals to NOR gate 406. The output signal of NOR gate 406 is select signal S3.

NAND gate 407 and NOR gates 408 and 409 provide decoding of the input signals to generate select signal S2. NAND gate receives as input signals MEM2 and CA1. NOR gate 408 receives as signals MEM1′ and CA0′. Output signal 418 from NAND gate 407 and output signal 419 from NOR gate 408 are provided as input signals to NOR gate 409. The output signal of NOR gate 409 is select signal S2.

NAND gates 410 and 411 and NOR gate 412 provide decoding of the input signals to generate select signal S1. NAND gate 410 receives as input signals MEM2 and CA1′. NAND gate 411 receives as input signals MEM1 and CA0. Output signal 420 from NAND gate 410 and output signal 421 from NAND gate 411 are provided as input signals to NOR gate 412. The output signal of NOR gate 412 is select signal S1.

NOR gates 413, 414 and 415 provide decoding of the input signals to generate select signal S0. NOR gate 413 receives as input signals MEM2′ and CA1′. NOR gate 414 receives as input signals MEM1′ and CA0′. Output signal 422 from NOR gate 413 and output signal 423 from NOR gate 414 are provided as input signals to NOR gate 415. The output signal of NOR gate 415 is select signal S0.

TABLE 3
WRITE ENABLE CONTROLS
BI-0/ BI-1/ BI-2/ BI-3/
MEM1 MEM2 CA0 CA1 EN EN EN EN
0 0 X X 1 1 1 1
0 1 0 X 1 1 0 0
0 1 1 X 0 0 1 1
1 0 X X 0 0 0 0
1 1 0 0 1 0 0 0
1 1 0 1 0 1 0 0
1 1 1 0 0 0 1 0
1 1 1 1 0 0 0 1
(X = Don't care conditions)

For configurations in which a writing operation writes information to only a portion of the internal data word, the unselected portion of the internal data word is disabled to prevent the undesired writing over of underlying data. For this purpose, the RAM may be designed with individual “write enable” control of the internal bit lines or of the smallest selectable unit of the internal word. A decoding operation similar to that outlined in FIG. 4 is used to enable and disable the internal bit lines as necessary. Table 3 defines the enabling of bit lines BI-0 through BI-3 to correspond to the selection definitions of Table 1.

The contents of Table 3 can be reduced to the following Boolean equations:
BI-0/EN=(MEM1′ MEM2′)+(CA0′ MEM1′)+(MEM2 CA0′ CA1′)
BI-1/EN=(MEM1′ MEM2′)+(CA0′ MEM1′)+(MEM2 CA0′ CA1)
BI-2/EN=(MEM1′ MEM2′)+(CA0 MEM1′)+(MEM2 CA0 CA1′)
BI-3/EN=(MEM1′ MEM2′)+(CA0 MEM1′)+(MEM2 CA0 CA1)

Combinational logic for implementing the above decoding equations enables each bit line on the internal RAM input bus as appropriate based on the combination of signals MEM1, MEM2, CA0 and CA1. A similar derivation is performed to provide enabling/disabling write circuitry for other embodiments.

Thus, a multiport RAM with programmable data port configuration has been described.

Sheppard, Douglas P., Nance, Scott S., Sawyer, Nicholas J.

Patent Priority Assignee Title
7480763, Dec 10 2002 Altera Corporation Versatile RAM for a programmable logic device
8595398, Mar 09 2009 LONGITUDE FLASH MEMORY SOLUTIONS LTD Multi-port memory devices and methods
9489326, Mar 09 2009 LONGITUDE FLASH MEMORY SOLUTIONS LTD Multi-port integrated circuit devices and methods
9509307, Sep 22 2014 XILINX, Inc. Interconnect multiplexers and methods of reducing contention currents in an interconnect multiplexer
Patent Priority Assignee Title
3473160,
4394753, Nov 29 1979 Siemens Aktiengesellschaft Integrated memory module having selectable operating functions
4523276, Oct 05 1979 Hitachi, Ltd. Input/output control device with memory device for storing variable-length data and method of controlling thereof
4593373, Aug 09 1982 Sharp Kabushiki Kaisha Method and apparatus for producing n-bit outputs from an m-bit microcomputer
4609986, Jun 14 1984 ALTERA CORPORATION, A DELAWARE CORPORATION Programmable logic array device using EPROM technology
4617479, May 03 1984 ALTERA CORPORATION, A DELAWARE CORPORATION Programmable logic array device using EPROM technology
4633441, Sep 29 1983 NEC Electronics Corporation Dual port memory circuit
4642487, Sep 26 1984 XILINX, Inc.; XILINX, INC , A CORP OF CA Special interconnect for configurable logic array
4654781, Oct 02 1981 Raytheon Company Byte addressable memory for variable length instructions and data
4677318, Apr 12 1985 ALTERA CORPORATION, A DELAWARE CORPORATION Programmable logic storage element for programmable logic devices
4713792, Jun 06 1985 ALTERA CORPORATION, A DELAWARE CORPORATION Programmable macrocell using eprom or eeprom transistors for architecture control in programmable logic circuits
4751671, Feb 14 1983 Bankers Trust Company Size configurable data storage system
4758745, Sep 19 1986 Actel Corporation User programmable integrated circuit interconnect architecture and test method
4774421, May 03 1984 ALTERA CORPORATION, A DELAWARE CORPORATION Programmable logic array device using EPROM technology
4796232, Oct 20 1987 VERSYSS INCORPORATED, A DE CORP Dual port memory controller
4799053, Apr 28 1986 Texas Instruments Incorporated Color palette having multiplexed color look up table loading
4807189, Aug 05 1987 Texas Instruments Incorporated Read/write memory having a multiple column select mode
4871930, May 05 1988 ALTERA CORPORATION A CORPORATION OF DELAWARE Programmable logic device with array blocks connected via programmable interconnect
4899067, Jul 22 1988 ALTERA CORPORATION A CORPORATION OF DELAWARE Programmable logic devices with spare circuits for use in replacing defective circuits
4907203, Nov 19 1987 Mitsubishi Denki Kabushiki Kaisha Semiconductor memory device with changeable word organization modes including a test mode
4912342, May 05 1988 ALTERA CORPORATION A CORPORATION OF DELAWARE Programmable logic device with array blocks with programmable clocking
4942541, Jan 22 1988 KONICA MINOLTA PRINTING SOLUTIONS U S A , INC Patchification system
4947366, Oct 02 1987 GLOBALFOUNDRIES Inc Input/output controller incorporating address mapped input/output windows and read ahead/write behind capabilities
4963770, Nov 20 1987 KAWASAKI MICROELECTRONICS, INC Programmable logic device
4975601, Sep 29 1989 SGS-Thomson Microelectronics, Inc.; SGS-Thomson Microelectronics, Inc User-writable random access memory logic block for programmable logic devices
4985867, Sep 14 1988 KAWASAKI MICROELECTRONICS, INC Semiconductor memory circuit
4987319, Sep 08 1988 KAWASAKI MICROELECTRONICS, INC Programmable input/output circuit and programmable logic device
5003200, Sep 20 1988 KAWASAKI MICROELECTRONICS, INC Programmable logic device having programmable wiring for connecting adjacent programmable logic elements through a single switch station
5027326, Nov 10 1988 Dallas Semiconductor Corporation Self-timed sequential access multiport memory
5029141, Jul 29 1988 Mitsubishi Denki Kabushiki Kaisha Dynamic semiconductor memory with block decoding
5115411, Jun 06 1990 TERADATA US, INC Dual port memory system
5117388, Sep 20 1988 Fujitsu Microelectronics Limited Serial input/output semiconductor memory
5121006, Apr 22 1991 ALTERA CORPORATION A CORPORATION OF DELAWARE Registered logic macrocell with product term allocation and adjacent product term stealing
5128559, Aug 30 1990 SGS-Thomson Microelectronics, Inc. Logic block for programmable logic devices
5142672, Dec 15 1987 Advanced Micro Devices, Inc. Data transfer controller incorporating direct memory access channels and address mapped input/output windows
5146428, Feb 07 1989 Hitachi, Ltd. Single chip gate array
5177706, Mar 13 1990 Mitsubishi Denki Kabushiki Kaisha Semiconductor memory device having a plurality of ports
5195056, May 21 1987 Texas Instruments, Incorporated Read/write memory having an on-chip input data register, having pointer circuits between a serial data register and input/output buffer circuits
5220214, Apr 22 1991 ALTERA CORPORATION A CORPORATION OF DELAWARE Registered logic macrocell with product term allocation and adjacent product term stealing
5237701, Mar 31 1989 Ampex Corporation Data unpacker using a pack ratio control signal for unpacked parallel fixed m-bit width into parallel variable n-bit width word
5258668, May 08 1992 ALTERA CORPORATION A CORPORATION OF DELAWARE Programmable logic array integrated circuits with cascade connections between logic modules
5260610, Sep 03 1991 ALTERA CORPORATION A CORPORATION OF DELAWARE Programmable logic element interconnections for programmable logic array integrated circuits
5260611, Sep 03 1991 ALTERA CORPORATION A CORPORATION OF DELAWARE Programmable logic array having local and long distance conductors
5274581, May 08 1992 ALTERA CORPORATION A CORPORATION OF DELAWARE Look up table implementation of fast carry for adders and counters
5280456, Sep 20 1991 Fujitsu Limited Semiconductor memory device enabling change of output organization with high speed operation
5333294, Oct 09 1990 HEWLETT-PACKARD DEVELOPMENT COMPANY, L P Configurable data width direct memory access device with a read address counter and a write address counter which increments the addresses based on the desired data transfer width
5350954, Mar 29 1993 ALTERA CORPORATION A CORPORATION OF DELAWARE Macrocell with flexible product term allocation
5371422, Sep 03 1991 ALTERA CORPORATION A CORPORATION OF DELAWARE Programmable logic device having multiplexers and demultiplexers randomly connected to global conductors for interconnections between logic elements
5396608, Jun 28 1993 Analog Devices, Inc. Method and apparatus for accessing variable length words in a memory array
5404474, Jan 10 1992 ENTERASYS NETWORKS, INC Apparatus and method for addressing a variable sized block of memory
5406525, Jun 06 1994 Motorola, Inc. Configurable SRAM and method for providing the same
5410546, Nov 01 1993 Storage Technology Corporation Apparatus and method for CRC computation over fixed length blocks containing variable length packets of data received out of order
5426612, Sep 08 1988 Renesas Electronics Corporation First-in first-out semiconductor memory device
5434818, Dec 23 1993 Unisys Corporation Four port RAM cell
5504875, Mar 17 1993 Intel Corporation Nonvolatile memory with a programmable output of selectable width and a method for controlling the nonvolatile memory to switch between different output widths
5506850, Apr 08 1991 Logic analyzer for high channel count applications
5541530, May 17 1995 ALTERA CORPORATION A CORPORATION OF DELAWARE Programmable logic array integrated circuits with blocks of logic regions grouped into super-blocks
5543732, May 17 1995 ALTERA CORPORATION A CORPORATION OF DELAWARE Programmable logic array devices with interconnect lines of various lengths
5550782, May 08 1992 ALTERA CORPORATION, A DELAWARE CORPORATION Programmable logic array integrated circuits
5559450, Jul 27 1995 Lattice Semiconductor Corporation Field programmable gate array with multi-port RAM
5566123, Feb 10 1995 XILINX, Inc.; Xilinx, Inc Synchronous dual port ram
5592106, May 17 1995 ALTERA CORPORATION A CORPORATION OF DELAWARE Programmable logic array integrated circuits with interconnection conductors of overlapping extent
5614840, May 17 1995 ALTERA CORPORATION A CORPORATION OF DELAWARE Programmable logic array integrated circuits with segmented, selectively connectable, long interconnection conductors
5689195, May 17 1995 ALTERA CORPORATION A CORPORATION OF DELAWARE Programmable logic array integrated circuit devices
5689731, Jun 07 1995 International Business Machines Corporation Programmable serializer using multiplexer and programmable address counter for providing flexiblity in scanning sequences and width of data
5715197, Jul 29 1996 Xilinx, Inc Multiport RAM with programmable data port configuration
5717901, May 17 1995 ALTERA CORPORATION CORPORATION OF DELAWARE Variable depth and width memory device
5867422, Aug 08 1995 JOHN, LIZY Computer memory chip with field programmable memory cell arrays (fpmcas), and method of configuring
5933023, Sep 03 1996 XILINX, Inc. FPGA architecture having RAM blocks with programmable word length and width and dedicated address and data lines
6563751, Dec 29 2000 RPX CLEARINGHOUSE LLC System and method for testing TDM sRAMs
EP156316,
EP306726,
EP509135,
EP780846,
JP2199666,
JP474977,
JP58188392,
JP59180466,
JP63134685,
RE34363, Mar 12 1984 XILINX, Inc. Configurable electrical circuit having configurable logic elements and configurable interconnects
WO9710446,
WO9516993,
WO9717705,
/
Executed onAssignorAssigneeConveyanceFrameReelDoc
May 15 2001XILINX, Inc.(assignment on the face of the patent)
Date Maintenance Fee Events
Apr 08 2009M1553: Payment of Maintenance Fee, 12th Year, Large Entity.


Date Maintenance Schedule
Jul 08 20114 years fee payment window open
Jan 08 20126 months grace period start (w surcharge)
Jul 08 2012patent expiry (for year 4)
Jul 08 20142 years to revive unintentionally abandoned end. (for year 4)
Jul 08 20158 years fee payment window open
Jan 08 20166 months grace period start (w surcharge)
Jul 08 2016patent expiry (for year 8)
Jul 08 20182 years to revive unintentionally abandoned end. (for year 8)
Jul 08 201912 years fee payment window open
Jan 08 20206 months grace period start (w surcharge)
Jul 08 2020patent expiry (for year 12)
Jul 08 20222 years to revive unintentionally abandoned end. (for year 12)