# US 6,058,066 A · Enhanced register array accessible by both a system microprocessor and a wavetable audio synthesizer

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 6,058,066 A
- Document ID: US6058066A
- Status: Granted
- Kind: A
- Application number: 09/160,992
- Filed: 1998-09-25
- Granted: 2000-05-02
- Earliest claimed: 1994-11-02
- Assignees: Advanced Micro Devices, Inc.
- Inventors: David E. Norris; Larry D. Hewitt; Jeffrey M. Blumenthal
- Web page: https://patentgrep.com/patent/US6058066A

## CPC

- H03K 23/68: with a base which is a non-integer
- G06F 3/162: {Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs}
- G06F 7/026: {Magnitude comparison, i.e. determining the relative order of operands based on their numerical value, e.g. window comparator}
- G06F 9/3869: {Implementation aspects, e.g. pipeline latches; pipeline synchronisation and clocking}
- G10H 1/0066: {using a MIDI interface}
- G10H 1/125: {using a digital filter}
- G10H 7/002: {using a common processing for different operations or calculations, and a set of microinstructions, e.g. programs, to control the sequence thereof}
- G10H 7/02: in which amplitudes at successive sample points of a tone waveform are stored in one or more memories
- G10H 2220/315: for joystick-like proportional control of musical input; Videogame input devices used for musical input or control, e.g. gamepad, joysticks
- G10H 2230/035: Power management, i.e. specific power supply solutions for electrophonic musical instruments, e.g. auto power shut-off, energy saving designs, power conditioning, connector design, avoiding inconvenient wiring
- G10H 2240/311: MIDI transmission (G10H2240/056 takes precedence)
- G10H 2250/191: Chebyshev polynomials, e.g. to provide filter coefficients for sharp rolloff filters
- G10H 2250/545: Aliasing, i.e. preventing, eliminating or deliberately using aliasing noise, distortions or artifacts in sampled or synthesised waveforms, e.g. by band limiting, oversampling or undersampling, respectively
- G10H 2250/571: Waveform compression, adapted for music synthesisers, sound banks or wavetables
- G10H 2250/605: Dynamic range companding algorithms, e.g. "mu"-law, primarily used in the digital telephone systems of North America and Japan, or A-law as used in European digital telephone systems
- G10H 2250/611: Waveform decimation, i.e. integer division of the sampling rate for reducing the number of samples in a discrete-time signal, e.g. by low-pass anti-alias filtering followed by the actual downsampling
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G10H: ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE

## Abstract

A register array accessible by both a system microprocessor and a digital signal processor of a PC audio circuit, comprising: (i) a random access memory (RAM) having a first port connected to a digital signal processor input/output port, and a second port connected to a RAM input/output port; (ii) a register data port connected to the RAM input/output port and having a connection to a register data bus; (iii) timing circuitry for timing the register array operations; (iv) row and column select circuitry for respectively selecting rows and columns in said RAM; and (v) an input/output channel ready signal line connected to said timing circuitry. The RAM includes a plurality of edge bits each of which stores a value indicating whether processing of a row of data values stored in said RAM is active or inactive. The system microprocessor is disabled from accessing the RAM whenever the RAM is not idle or the microprocessor seeks to access a row of the RAM currently subject to access by the digital signal processor. If the microprocessor is disabled from writing data to the RAM, the data may be temporarily stored in the register data port until the microprocessor's access is enabled.

## Claims

### Claim 1

A register array, comprising:
(a) a random access memory (RAM) including a plurality of status bits each of which is configured to store a value indicating whether particular data values stored in said RAM are active, wherein said status bits are configured to allow said value to be read without having to read said particular data values;
(b) timing circuitry configured to control a timing of said register array operations;
(c) row select circuitry configured to select a row in said RAM;
(d) column select circuitry configured to select a column in said RAM; and
(e) a status line, coupled to said plurality of status bits, configured to read said values.

### Claim 2 (depends on 1)

The register array of claim 1, wherein said plurality of status bits are positioned on an edge of said RAM.

### Claim 3

A register array suitable for a digital signal processor, comprising:
(a) a random access memory (RAM) having a first and a second port;
(b) a digital signal processor input/output port coupled to said first port and having a processor interface configured to be coupled to a digital signal processor;
(c) a RAM input/output port coupled to said second port;
(d) a register data port coupled to said RAM input/output port and having a register data bus interface configured to be coupled to a register data bus;
(e) timing circuitry coupled to said RAM and configured to control timing of operations of said register array;
(f) row select circuitry coupled to said RAM and configured to select a row in said RAM;
(g) column select circuitry coupled to said RAM and configured to select a column in said RAM; and
(h) an input/output channel ready signal line coupled to said timing circuitry, wherein said input/output channel ready signal line carries an input/output channel ready signal generated by said timing circuitry, and said input/output channel ready signal controls access to said digital signal processor input/output port.

### Claim 4 (depends on 3)

The register array of claim 3, further comprising:
a row comparator coupled to said processor interface and said register data bus interface, and configured to compare a first number representing a row in said RAM to be accessed through said second port with a second number representing a row in said RAM to be accessed by said first port, and to send a signal to said timing circuitry if said first and said second numbers are equal.

### Claim 5 (depends on 4)

The register array of claim 4 wherein said signal sent to said timing circuitry gates an output of said timing circuitry to inhibit a write to said RAM via said second port.

### Claim 6 (depends on 3)

The register array of claim 3, wherein said RAM further comprises a plurality of status bits each of which stores a value indicating whether particular data values stored in said RAM are active, wherein said status bits are configured to allow said value to be read without having to read said particular data values.

### Claim 7 (depends on 6)

The register array of claim 6, further comprising a status line, coupled to said plurality of status bits, for reading said values.

### Claim 8 (depends on 3)

The register array of claim 3, wherein said column select circuitry includes incrementing circuitry for automatically incrementing the column selected whenever additional data is written to said register data port.

### Claim 9

A register array, comprising:
(a) a random access memory (RAM) including means for indicating whether a row in said RAM is active without requiring said row in said RAM to be read;
(b) means for timing said register array operations;
(c) means for selecting a row in said RAM; and
(d) means for selecting a column in said RAM.

### Claim 10 (depends on 9)

The register array of claim 9, wherein said means for selecting a column includes means for automatically incrementing the column selected whenever additional data is written to said RAM.

### Claim 11

A register array suitable for a digital signal processor, comprising:
(a) a random access memory (RAM) having a first and second port;
(b) a digital signal processor input/output port coupled to said first port and having a processor interface configured to be coupled to a digital signal processor;
(c) a RAM input/output port coupled to said second port;
(d) a register data port coupled to said RAM input/output port and having a register data bus interface configured to be coupled to a register data bus;
(e) means for timing said register array operations;
(f) means for selecting a row in said RAM;
(g) means for selecting a column in said RAM; and
(h) an input/output channel ready signal line coupled to said timing circuitry, wherein said input/output channel ready signal line carries an input/output channel ready signal generated by said timing means, and said input/output channel ready signal controls access to said digital signal processor input/output port.

### Claim 12 (depends on 11)

The register array of claim 11, wherein said means for selecting a column includes means for automatically incrementing the column selected whenever additional data is written to said register data port.

### Claim 13

A register array suitable for a digital signal processor, comprising:
(a) a random access memory (RAM) having a first and a second port, and comprising a plurality of status bits each of which stores a value indicating whether particular data values stored in said RAM are active, wherein said status bits are configured to allow said value to be read without having to read said particular data values;
(b) a digital signal processor input/output port coupled to said first port and having a processor interface configured to be coupled to a digital signal processor;
(c) a RAM input/output port coupled to said second port and having a register data bus interface configured to be coupled to a register data bus;
(d) timing circuitry for timing said register array operations;
(e) row select circuitry for selecting a row in said RAM; and
(f) column select circuitry for selecting a column in said RAM.

### Claim 14 (depends on 13)

The register array of claim 13, further comprising a status line, coupled to said plurality of status bits, for reading said bit values.

### Claim 15 (depends on 13)

The register array of claim 13, further comprising:
a row comparator coupled to said processor interface and said register data bus interface, and configured to compare a first number representing a row in said RAM to be accessed through said second port with a second number representing a row in said RAM to be accessed by said first port, and to send a signal to said timing circuitry if said first and said second numbers are equal.

### Claim 16 (depends on 13)

The register array of claim 13, wherein said column select circuitry includes incrementing circuitry for automatically incrementing the column selected whenever additional data is written to said RAM.

### Claim 17 (depends on 13)

The register array of claim 13, wherein said timing circuitry includes:
core timing circuitry for timing said digital signal processor input/output port operations; and
input/output timing circuitry for timing said RAM input/output operations;
wherein during a non-idle period of the RAM, said core timing circuitry provides a gating signal to said input/output timing circuitry to inhibit access to said RAM via said second port.

### Claim 18 (depends on 17)

The register array of claim 17, wherein said core timing circuitry provides said gating signal during a period of data access of said RAM via said first port.

### Claim 19 (depends on 17)

The register array of claim 17, further comprising a row comparator for comparing a number of a row in said RAM to be accessed through said second port with a number of a row in said RAM to be accessed by said first port, and sending a gating signal to said input/output timing circuitry when said numbers are equal.

### Claim 20

A register array accessible by both a computer system microprocessor and a digital signal processor comprising:
(a) a dual port random access memory (RAM) having a first port and a second port;
(b) a digital signal processor input/output port coupled to said first port and having a processor interface configured to be coupled to a digital signal processor;
(c) a RAM input/output coupled to said second port;
(d) a register data port coupled to said RAM input/output port and having a register data bus interface configured to be coupled to a register data bus, the register array accessible by the computer system microprocessor via said register data bus;
(e) timing circuitry for timing said register array operations, wherein said timing circuitry is configured to inhibit simultaneous access to said RAM via said first port and said second port;
(f) row select circuitry for selecting a row in said RAM; and
(g) column select circuitry for selecting a column in said RAM.

### Claim 21 (depends on 20)

The register array of claim 20, further comprising an input/output channel ready signal line coupled to said timing circuitry.

### Claim 22 (depends on 20)

The register array of claim 20 wherein:
said timing circuitry includes:
core timing circuitry for timing said digital signal processor input/output port operations; and
input/output timing circuitry for timing said RAM input/output port operations;
wherein during a non-idle period of the RAM, said core timing circuitry provides a gating signal to said input/output timing circuitry to inhibit access to said RAM via the second port.

### Claim 23 (depends on 22)

The register array of claim 22 wherein said core timing circuitry provides said gating signal during a period of data access of the RAM via said first port.

### Claim 24 (depends on 22)

The register array of claim 22, wherein said column select circuitry includes incrementing circuitry for automatically incrementing the column selected whenever additional data is written to said RAM.

### Claim 25 (depends on 22)

The register array of claim 22, further comprising:
a row comparator coupled to said processor interface and said register data bus interface, and configured to compare a first number representing a row in said RAM to be accessed through said second port with a second number representing a row in said RAM to be accessed by said first port, and to send a signal to said timing circuitry if said first and said second numbers are equal.

### Claim 26

A method of using a register array, which is accessible by both a microprocessor of a host computer and a digital signal processor, to control accesses by said microprocessor and said digital signal processor of a random access memory (RAM) contained in said register array, wherein said RAM comprises rows and columns, comprising:
(a) providing a RAM idle condition;
(b) detecting attempts by said microprocessor to access a row in said RAM currently subject to accesses by said digital signal processor;
(c) disabling said microprocessor from accessing said RAM either when said RAM is not in said idle condition or when said microprocessor is attempting to access a row in said RAM currently subject to accesses by said digital signal processor; and
(d) enabling said microprocessor to access said RAM when said register array is in said idle condition and said microprocessor is not attempting to access a row in said RAM currently subject to accesses by said digital signal processor.

### Claim 27 (depends on 26)

The method of claim 26, wherein said register array further comprises a data port, and further comprising the step of:
when said microprocessor is disabled by said register array from writing data to said RAM, temporarily storing said data in said data port if said port is empty.

### Claim 28 (depends on 27)

The method of claim 27, further comprising the step of:
storing data stored in said data port into said RAM when said register array enables said microprocessor to access said RAM.

### Claim 29 (depends on 27)

The method of claim 27, further comprising the step of:
lengthening said microprocessor's input/output cycle if said data port is full.

### Claim 30 (depends on 29)

The method of claim 29, further comprising the step of:
storing data currently stored in said data port into said RAM when said register array enables said microprocessor to access said RAM.

### Claim 31 (depends on 30)

The method of claim 30, further wherein said input/output cycle is lengthened using an input/output channel ready signal.

### Claim 32 (depends on 29)

The method of claim 29, wherein said input/output cycle is lengthened using an input/output channel ready signal.

### Claim 33

A method of using a register array, accessible by both a microprocessor of a host computer system and a digital signal processor, to control accesses by said microprocessor and said digital signal processor of a random access memory (RAM) contained in said register array, the method comprising:
(a) reading a first set of data stored in a first row of the RAM during a read cycle;
(b) writing a second set of data to the first row of the RAM during a write cycle;
(c) inhibiting a write to the first row of the RAM by the microprocessor during a period of time between the read cycle and the write cycle.

### Claim 34 (depends on 33)

The method of claim 33 further comprising:
during the period of time between the read cycle and the write cycle, detecting an attempt to write to a row of the RAM by the microprocessor;
determining that the row attempted to be written to is the first row and inhibiting a write to the first row by said microprocessor in response to said determination.

### Claim 35 (depends on 33)

The method of claim 33 further including:
during the period of time between the read cycle and the write cycle, detecting an attempt to write to a row of the RAM by the microprocessor;
comparing the address of the row attempted to be written by the microprocessor with the address of the first row to determine whether the row attempted to be written is the first row, and inhibiting a write by said microprocessor if said row attempted to be written is the first row.

### Claim 36 (depends on 33)

The method of claim 33 wherein said register array further comprises a timing generator for timing at least the RAM input operations, and wherein inhibiting the write includes providing a gating signal to the timing generator to gate the outputs of the timing generator.

### Claim 37 (depends on 33)

The method of claim 33, wherein said register array further comprises a data port, and further comprising:
when the write is inhibited, temporarily storing data to be written in a data port if the port is empty.

### Claim 38 (depends on 37)

The method of claim 37, further comprising:
writing data stored in the data port into the RAM after the write cycle.

### Claim 39 (depends on 37)

The method of claim 37, further comprising:
lengthening the microprocessor's input/output cycle if the data port is full.

### Claim 40 (depends on 39)

The method of claim 39, further comprising:
writing data stored in the data port into the RAM after the write cycle.

### Claim 41 (depends on 39)

The method of claim 39, wherein said input/output cycle is lengthened using an input/output channel ready signal.

### Claim 42

A method of using a register array, which is accessible by both a microprocessor of a host computer and a digital signal processor, to control accesses by said microprocessor and said digital signal processor of a random access memory (RAM) contained in said register array, wherein said RAM comprises rows, columns, and a plurality of status bits, comprising:
(a) storing a value in one of said plurality of status bits, said value indicating whether data stored in a one of said rows corresponding to said one of said plurality of status bits is active;
(b) reading said value from said one of said plurality of status bits, wherein said reading of said value from said one of said plurality of status bits is accomplished without causing said data to be read from said one of said rows; and
(c) determining if said value indicates that said one of said rows is active; and
(d) reading said data stored in said one of said rows, if said value indicates that said one of said rows is active.

### Claim 43 (depends on 42)

The method of claim 42, further comprising:
storing a value in each one of said plurality of status bits, each value indicating whether data stored in a one of said rows corresponding to said one of said plurality of status bits is active;
reading each one of said plurality of status bits; and
reading each one of a plurality of said rows, wherein a value stored in a one of said plurality of status bits corresponding to said each one of said plurality of said rows indicates that said each one of said plurality of said rows is active.
