DSP Software Development Techniques for Embedded and Real-Time Systems This Page Intentionally Left Blank DSP Software Development Techniques for Embedded and Real-Time Systems by Robert Oshana AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO SINGAPORE SYDNEY TOKYO Newnes is an imprint of Elsevier 30 Corporate Drive, Suite 400, Burlington, MA 01803, USA Linacre House, Jordan Hill, Oxford OX2 8DP, UK Copyright © 2006, Elsevier Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. Permissions may be sought directly from Elsevier’s Science & Technology Rights Department in Oxford, UK: phone: (+44) 1865 843830, fax: (+44) 1865 853333, e-mail:
[email protected] You may also complete your request online via the Elsevier homepage (http://www.elsevier.com), by selecting “Customer Support” and then “Obtaining Permissions.” Recognizing the importance of preserving what has been written, Elsevier prints its books on acid-free paper whenever possible. Library of Congress Cataloging-in-Publication Data Application submitted. British Library Cataloguing-in-Publication Data A catalogue record for this book is available from the British Library. ISBN-13: 978-0-7506-7759-2 ISBN-10: 0-7506-7759-7 For information on all Newnes publications, visit our website at www.books.elsevier.com. 05 06 07 08 09 10 10 9 8 7 6 5 4 3 2 1 Printed in the United States of America. Dedicated to Susan, Sam, and Noah This Page Intentionally Left Blank Table of Contents Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iv Introduction: Why Use a DSP? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi What’s on the CD-ROM? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii Chapter 1 Introduction to Digital Signal Proc