22.09.2015 Views

of Microprocessors

Musical-Applications-of-Microprocessors-2ed-Chamberlin-H-1987

Musical-Applications-of-Microprocessors-2ed-Chamberlin-H-1987

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

616 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

Each IC manufacturer has its own pet parallel multiplier line. One<br />

approach to parallel multiplication divides the large logic array into a<br />

number <strong>of</strong> identical blocks, which are then stacked horizontally and<br />

vertically to form the whole array. One type (AM2505, Advanced Micro<br />

Devices) uses a block that implements a complete 2 X 4 multiplication in a<br />

24-pin Ie. These blocks are then interconnected using a column for each two<br />

multiplier bits and row for each four multiplicand bits. Thus, the needed 10<br />

X 10 multiplier would use three rows <strong>of</strong> five chips each for a total <strong>of</strong> 15 IC<br />

packages.<br />

A variety <strong>of</strong> complete parallel multipliers all on a single chip are also<br />

available. One example, the MPY1616 from TRW, includes a 16 x 16-bit<br />

multiplier array and a 35-bit adder/accumulator on the multiplier's output all<br />

in a 64-pin IC package. The total multiply-add time is about 150 nsee. In<br />

spite <strong>of</strong> the large (1 inch X 3 inch) ceramic package, the unit's 3-5 W power<br />

dissipation requires that a heatsink be glued to its top surface, although it is<br />

still substantially less than what 32 AM2505s would require. Other<br />

organizations such as 12 X 12 and 8 X 8 are also available, and a couple <strong>of</strong><br />

recent units even use high-speed CMOS technology to reduce heat dissipation<br />

to more manageable levels. Unfortunately, all parallel multiplier ICs<br />

seem to be expensive ($50 to $100 or more), probably because usage volume<br />

is quite low compared to other IC types. In any case, a parallel multiplier is<br />

indicated for the Fourier series tone generator.<br />

Before continuing, let's briefly investigate a method for eliminating the<br />

amplitude multiplier. It is well known that if two sine waves <strong>of</strong> exactly the<br />

same frequency and unity amplitude but <strong>of</strong> different phase are added, that<br />

the amplitude and phase <strong>of</strong> the resultant depends on the phast ~ifference<br />

according to:<br />

PI-PZ<br />

A=2 cos P<br />

2<br />

where A is the resultant amplitude, P is the resultant phase, and PI and pz<br />

are the phases <strong>of</strong> the individual waves. Thus, the two parameters PI and<br />

pz can be manipulated to give the effect <strong>of</strong>A and P parameters. The advantage,<br />

<strong>of</strong> course, is that multiplication by A and addition to the harmonic<br />

accumulator is replaced by two additions to the accumulator. There are<br />

disadvantages, however. One is that the throughput rate <strong>of</strong> the phase adder<br />

and sine table is doubled; another is the highly nonlinear relation between<br />

PIIPZ and A,P, which would probably require a translation table to overcome.<br />

The most serious disadvantage, however, is that greatly increased<br />

resolution in the sine table is necessary for good control at low-amplitude<br />

levels where the two waves nearly cancel. This means both more words in the

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!