1 / 19

Managing design complexity Partition of designs Typical design process using VHDL Test Bed

Managing design complexity Partition of designs Typical design process using VHDL Test Bed A VHDL example. Large Scale Design. Design Data Management. VHDL design data are organized as libraries. A library may contain any number of previously analyzed design units.

nelson
Download Presentation

Managing design complexity Partition of designs Typical design process using VHDL Test Bed

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Managing design complexity • Partition of designs • Typical design process using VHDL • Test Bed • A VHDL example

  2. Large Scale Design

  3. Design Data Management • VHDL design data are organized as libraries. • A library may contain any number of previously analyzed design units. • The dependency relations among VHDL units are defined by the analysis order rather than the lexical order. • A library is referred by its logical name. The mapping of a logical name into a file or a set of files on a disk is done by the VHDL toolset. • Each VHDL implementation should support at least two library logical names: WORK and STD: • WORK = the current library during analysis. • STD = VHDL-defined library:

  4. Design Data Management • * The package STANDARD contains the definition of the basic types such as boolean, bit, character, severity_level, integer, real, time, etc. • * The package TEXTIO contains a number of routines which are used to read and write ASCII files (and terminals). • Access to external libraries is achieved by the library clause: library TTL_components; use TTL_components.Main_package.all

  5. Name Visibility • The following VHDL constructs create a new name space: • an entity declaration and its architecture body • a process statement • a block statement • a subprogram • a configuration declaration • a record type declaration • a loop statement • a component declaration • A name declared within the current name space is visible from the point of its declaration until the end of the space. • A name's visibility can be masked by nested constructs. • The dot notation and the use clause are used to override the basic visibility rule. • If name-crash happens, none of the names are visible.

  6. Design Partitioning • Structure decomposition: an entity may consists of several • components which are instantiation of the next level entities. • Behavioral decomposition: • Embedded subprograms definition in process (sup-port parallel-sequential* hierarchy) • Concurrent procedure calls (support also parallel-parallel-sequential* hierarchy) • Ex. - It is very difficult to have sequential-parallel-sequential hierarchy in VHDL.

  7. Design Systems with VHDL • A complete VHDL design usually consists of the following three parts: • - an entity declaration • - an architectural body (or several) • - a test bench which consists of • * its entity declaration and • * its architecture body (mainly for stimuli definition) • VHDL supports the top-down design methodology.

  8. Design Systems with VHDL • A typical design process could be: • Common data types and conversion functions are de-fined in a package. • The interface of the system is defined in an entity. • A behavioral description is developed to capture the functional specification of the system. • The design is partitioned by grouping behaviors together to form blocks and substituting them with components. • The details of the components can then be designed using the same strategy. • Advantages of this approach: • Each intermediate result of the design process can be simulated to make sure that it is correct in respect to the original specification.

  9. An Example: Traffic Light Controller

  10. An Example: Traffic Light Controller (cont’d)

  11. An Example: Traffic Light Controller (cont’d)

  12. First partition of Traffic Light Controller

  13. Test-Bed

  14. Test bed

  15. State Diagram for Control Process

  16. VHDL for Control Process (example 1)

  17. VHDL for Control Process (example 2)

  18. Structural VHDL for Control Process

  19. Sources • Krzysztof Kuchcinski

More Related