Effective Coding with VHDL: Principles and Best Practice Front Cover

Effective Coding with VHDL: Principles and Best Practice

  • Length: 624 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2016-05-27
  • ISBN-10: 0262034220
  • ISBN-13: 9780262034227
  • Sales Rank: #463717 (See Top 100 Books)
Description

A guide to applying software design principles and coding practices to VHDL to improve the readability, maintainability, and quality of VHDL code.

This book addresses an often-neglected aspect of the creation of VHDL designs. A VHDL description is also source code, and VHDL designers can use the best practices of software development to write high-quality code and to organize it in a design. This book presents this unique set of skills, teaching VHDL designers of all experience levels how to apply the best design principles and coding practices from the software world to the world of hardware. The concepts introduced here will help readers write code that is easier to understand and more likely to be correct, with improved readability, maintainability, and overall quality.

After a brief review of VHDL, the book presents fundamental design principles for writing code, discussing such topics as design, quality, architecture, modularity, abstraction, and hierarchy. Building on these concepts, the book then introduces and provides recommendations for each basic element of VHDL code, including statements, design units, types, data objects, and subprograms. The book covers naming data objects and functions, commenting the source code, and visually presenting the code on the screen. All recommendations are supported by detailed rationales. Finally, the book explores two uses of VHDL: synthesis and testbenches. It examines the key characteristics of code intended for synthesis (distinguishing it from code meant for simulation) and then demonstrates the design and implementation of testbenches with a series of examples that verify different kinds of models, including combinational, sequential, and FSM code. Examples from the book are also available on a companion website, enabling the reader to experiment with the complete source code.

Table of Contents

Part I Design Principles
Chapter 1 A Vhdl Refresher
Chapter 2 Design And Architecture
Chapter 3 Design Challenges
Chapter 4 Design Principles

Part II Basic Elements of VHDL
Chapter 5 Analysis, Elaboration, And Execution
Chapter 6 Vhdl Design Units
Chapter 7 Statements, Declarations, And Expressions
Chapter 8 Operators, Operands, And Attributes

Part III Statements
Chapter 9 Concurrent Statements
Chapter 10 Sequential Statements
Chapter 11 Assignment Statements

Part IV Types and Objects
Chapter 12 Categories Of Types In Vhdl
Chapter 13 Predefined And User-Defined Types
Chapter 14 Vhdl Data Objects

Part V Practical Coding Recommendations
Chapter 15 Excellent Routines
Chapter 16 Excellent Names
Chapter 17 Excellent Comments
Chapter 18 Excellent Style

Part VI Synthesis and Testbenches
Chapter 19 Synthesis
Chapter 20 Testbenches

To access the link, solve the captcha.