0% found this document useful (0 votes)
17 views1 page

DSP Implementations: Exercise 3

The document discusses quantization of Q7 values and bit-shift processing in fixed-point systems. It contains the following key points: 1. It asks to quantize several Q7 values to Q5 using different rounding methods. 2. It discusses how the input signal range would change if a system using Q2 representation was changed to Q19 to maintain the same SNR requirements. 3. It explains bit-shift operations in fixed-point C code that accumulates values within a 16-bit register, including why values are shifted and offsets are added.

Uploaded by

jackal1710
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views1 page

DSP Implementations: Exercise 3

The document discusses quantization of Q7 values and bit-shift processing in fixed-point systems. It contains the following key points: 1. It asks to quantize several Q7 values to Q5 using different rounding methods. 2. It discusses how the input signal range would change if a system using Q2 representation was changed to Q19 to maintain the same SNR requirements. 3. It explains bit-shift operations in fixed-point C code that accumulates values within a 16-bit register, including why values are shifted and offsets are added.

Uploaded by

jackal1710
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

!"# %&'()&)*+,+-.

*/0 12)34-/) 5

1. Quantize the following Q7 values to QS with a) tiuncation of two's
complement, b) tiuncation of magnituue, c) iounu-to-neaiest, anu u) conveigent
iounuing:
0.1101110 1.1011011 1.1011000 1.0101000 0.1101000 1.0000001 1.0101000

2. A BSP system is using Q2S iepiesentation. The system fulfills the given SNR
iequiiements with input signal iange of 78 uB. What is the input signal iange if
the same system is using Q19 iepiesentation.


S. A BSP application is implementeu on a S2-bit piocessoi, which has only S2-bit
iegisteis, S2-bit memoiy system, anu S2-bit aiithmetic units. The piece of C coue
shows pait of the implementation. (a) What is the numbei iepiesentation useu.
Explain (b) why s|kj is shifteu, (c) why 8192 is auueu to y, anu (u) why
(y+16S84) is shifteu.

int y,x[16],w[16],s[k],result;
.
.
.
y = 0;
for(k=0;k++;k<16){
y = y + w[k]*x[k] + s[k]<<15;
}
result = (y+16384)>>15;

4. In the pievious coue, theie is possibility foi oveiflow. Revise the coue to avoiu
the oveiflow.


2)
08/02/14 2
Signal Level [dB]

SNR [dB]

144+K dB

X dB

78 dB

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy