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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DIGITAL HARDWARE 609<br />

between the 4116s and the DAC is required. Almost any edge-triggered<br />

latch can be used for the holding registers but the type 74175 will be<br />

specified because <strong>of</strong> its low cost and ready availability. Figure 17-13 shows a<br />

block diagram <strong>of</strong> the complete multiplexed oscillator. Excluding the timing<br />

generator and interface to the control computer, the total digital IC package<br />

count is approximately 40.<br />

Timing<br />

Figure 17-14 shows a timing diagram for the events that take place<br />

during one minor clock cycle. The only difference from one minor cycle to the<br />

next is the content <strong>of</strong> the minor cycle counter, which addresses the various<br />

memories involved. Each minor clock cycle consists <strong>of</strong> two subcycles that are<br />

termed internal and external subcycles. During the first subcycle, the required<br />

internal oscillator calculations are performed. The second subcycle is available<br />

to the external control computer for writing in new frequency control<br />

words or new waveforms if it so desires. Each subcycle is further divided into<br />

four "phases," each 125 nsec in duration. These phases are used to sequence<br />

the various events that take place. All <strong>of</strong> the necessary timing signals (except<br />

CAS, which utilizes a 30-nsec delay element) can be generated by a 3-bit<br />

counter driven by an 8-MHz crystal-controlled clock.<br />

At the beginning <strong>of</strong> a minor cycle, which is also the beginning <strong>of</strong> an<br />

internal subcycle, the minor cycle counter is incremented, which causes an<br />

address change to the frequency control memory and the accumulator memory.<br />

Since these are bipolar memories, the newly addressed contents emerge<br />

about 50 nsec later. The adder, which sees a stable input about midway<br />

through Phase 0, produces a stable output by the middle <strong>of</strong> Phase 1. At the<br />

beginning <strong>of</strong> Phase 2, the adder output is latched in the adder holding<br />

register and during Phase 3 the sum is written back into the accumulator<br />

memory. While all <strong>of</strong> this is going on, the previous contents <strong>of</strong> the accumulator<br />

memory are used to address the waveform memory in conjunction<br />

with 4 bits from the minor cycle counter, which identifies which stored<br />

waveform to use. The address selector switches between low 7-bit mode and<br />

high 7-bit mode as required by the 4116s at the beginning <strong>of</strong> Phase 2. The<br />

RAS spans Phases 1 to 3 while the CAS spans Phases 2 and 3 but with a 30­<br />

nsec turn-on delay to allow address switching to complete. At the end <strong>of</strong><br />

Phase 3, data from the waveform memory is available and is latched into the<br />

DAC register.<br />

The DAC is allowed to settle during the second subcycle and the<br />

appropriate SAH channel is updated during the first half <strong>of</strong> the next minor<br />

cycle. Thus, SAH channel I will actually contain the signal from oscillator<br />

1-1 which is corrected simply by relabeling the analog outputs.<br />

This time skew from one minor cycle to the next is an example <strong>of</strong><br />

pipelining, which is a very powerful logic throughput enhancement technique.<br />

It is applicable whenever a repetitive sequence <strong>of</strong> operations is to be

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

Saved successfully!

Ooh no, something went wrong!