24.11.2012 Views

Discover New Applications For Low-Cost Solutions Discover ... - Xilinx

Discover New Applications For Low-Cost Solutions Discover ... - Xilinx

Discover New Applications For Low-Cost Solutions Discover ... - Xilinx

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.

In some cases the PTT button is<br />

replaced by a voice activity detector, which<br />

has an inherent turn-on delay, meaning that<br />

the beginning of your transmission will<br />

always be lost.<br />

To eliminate loss at the beginning of<br />

transmissions, we combined a PCM codec<br />

with a static RAM to implement a digital<br />

audio delay line, which holds up the voice<br />

signal (Figure 4).<br />

The PCM data transfers in to and out of<br />

the codec over a high-speed 2.048 MHz<br />

serial bus (Figure 5). Encoded PCM samples<br />

are converted to parallel data and written<br />

into a ring buffer in the RAM. By reading<br />

parallel data from the RAM location with a<br />

fixed offset (modulo the size of the ring<br />

buffer) to the write address, the output is<br />

delayed. The parallel data is then reconverted<br />

and fed into the codec over a serial bus.<br />

in<br />

analog<br />

out<br />

Figure 5 – Codec to RAM<br />

interface block diagram<br />

Figure 4 – Digital audio delay line<br />

One PCM sample reads/writes every 125<br />

microseconds. The delay can be adjusted by<br />

modifying the read-to-write address offset.<br />

These operations, in particular the<br />

emulation of the serial bus, cannot be performed<br />

by a standard microprocessor,<br />

which would be too slow. We chose a<br />

<strong>Xilinx</strong> CoolRunner-II device with 64<br />

macrocells for the interface between the<br />

codec and the RAM. This solves our speed<br />

problem and also saves PCB real estate that<br />

would have otherwise been taken by standard<br />

logic components.<br />

The Development Process<br />

Excellent support from Impact Memec,<br />

the local <strong>Xilinx</strong> representative, kept the<br />

development start-up time extremely<br />

short. We used ISE WebPACK software<br />

for all of the designs, and found it espe-<br />

delay<br />

D(7:0)<br />

AD(12:0) A<br />

codec 2.048<br />

Mb CoolRunner-II RAM<br />

control<br />

cially helpful for the following reasons:<br />

• Access to error messages on the <strong>Xilinx</strong><br />

website provided instant in-depth<br />

information about the particular message,<br />

often with hints on how to solve<br />

the problem.<br />

• The designs were simulated using<br />

ModelSim XE Starter, leading to some<br />

design modifications and allowing flaws<br />

to be fixed early in the development<br />

process. Some problems were due to<br />

signal spikes on clock lines, which were<br />

properly indicated by the simulator.<br />

All designs loaded and operated correctly<br />

on the first attempt when moved to<br />

the target hardware. We have no doubt<br />

that the design environment of the <strong>Xilinx</strong><br />

CoolRunner-II family of CPLDs is mature<br />

and sound.<br />

Conclusion<br />

<strong>Xilinx</strong> CoolRunner-II devices are well<br />

suited for our applications. They provide<br />

a reliable technical solution combined<br />

with a short development time and a low<br />

start-up cost.<br />

Based on this positive experience,<br />

Girsberger Elektronik AG is planning to<br />

incorporate <strong>Xilinx</strong> CoolRunner-II devices<br />

in such products as:<br />

• The upgrade and replacement of an old<br />

avalanche beacon ASIC to eliminate<br />

the high NRE cost.<br />

• A beacon to locate stolen cars. By taking<br />

over part of the training transmitter<br />

CPLD design, we will save significant<br />

development time.<br />

• A data over voice interface for use on<br />

ISDN B-channels. The CPLD beats<br />

the speed of any microprocessor in<br />

manipulating the bitstream on an<br />

industry-standard IOM bus.<br />

Although CPLDs are often associated<br />

with high speed or high density, <strong>Xilinx</strong><br />

CoolRunner-II devices are an interesting<br />

alternative for small-scale applications in<br />

which top speed and high density are not<br />

key concerns. <strong>For</strong> more information<br />

about Girsberger Elektronik AG, visit<br />

www.girsberger-elektronik.ch/.<br />

52 Xcell Journal Fall 2003

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

Saved successfully!

Ooh no, something went wrong!