我是靠谱客的博主 虚幻世界,最近开发中收集的这篇文章主要介绍What is the Difference Between Behavioral and Structural Model in Verilog,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

原文链接:https://pediaa.com/what-is-the-difference-between-behavioral-and-structural-model-in-verilog/

The main difference between behavioral and structural model in Verilog is that behavioral model describes the system in an algorithmic manner, while structural model describes the system using basic components such as logic gates.

Generally, a computer program is a set of instructions that allows the CPU to perform a task. There are various programming languages such as high-level and low-level languages. Moreover, there is a special type of software called Hardware Description Language (HDL). HDL is useful in describing the structure and the behaviours of electronic circuits. Verilog is a common HDL.

Key Areas Covered

  1. What is Behavioral Model in Verilog
    • Definition, Functionality
  2. What is Structural Model in Verilog
    - Definition, Functionality
  3. Difference Between Behavioral and Structural Model in Verilog
    - Comparison of Key Differences

Key Terms

Behavioral Model, Black Box Modeling, Glass Box Modeling, HDL, Structural Model, Verilog

在这里插入图片描述

What is Behavioral Model in Verilog

The behavioral model describes a system in an algorithmic way. Here, each algorithm is sequential. In other words, each algorithm consists of a set of instructions that execute one after the other. Furthermore, the behavioral model helps in controlling the simulation and manipulate variables of the data types.

Moreover, procedural statements are common behavioral models in Verilog. Each procedure has its own activity flow. Also, procedural assignments are useful for updating reg, integer, time and memory variables. Besides, a blocking procedural assignment statement should execute before executing the statements that follow it in a sequential block. However, these blocking procedural assignments do not prevent the execution of statements that follow it in a parallel block.

What is Structural Model in Verilog

The structural model describes a system using basic components such as digital gates and adders. In structural modeling, the programmer or the designer thinks about the circuit as a box or a module. It is encapsulated from the outer environment. In other words, it communicates with the outer environment through inputs and outputs.

Moreover, it is possible to describe the structure inside a module using gates and submodules. Also, it defines how these modules are connected to each other and to the module ports. Furthermore, the structural model helps to draw a schematic diagram for the circuit.

Difference Between Behavioral and Structural Model in Verilog

Definition

The behavioral model is a way of describing the function of a design as a set of concurrent algorithms. On the other hand, Structural model is a way of describing functions defined using basic components such as inverters, multiplexers, adders, decoders and basic logic gates. Thus, this describes the main difference between behavioral and structural model in Verilog.

Synonyms

Black box modeling is another name for behavioral modeling, while glass box modeling is another name for structural modeling.

Main Focus

Moreover, another difference between behavioral and structural model in Verilog is that the behavioral model focuses on showing the relationships between inputs and outputs, while the structural model focuses on constructing the design using logic gates and predefined modules.

Conclusion

In brief, there are two types of design models in Verilog; they are the behavioral and structural model. The main difference between behavioral and structural model in Verilog is that the behavioral model describes the system in an algorithmic manner, while the structural model describes the system using basis components such as logic gates.

References:

  1. Tala, Deepak Kumar. Introduction, 1 Feb. 1970, Available here.

Image Courtesy:

  1. ”Hitachi J100″ By C J Cowie at the English language Wikipedia (CC BY-SA 3.0) via Commons Wikimedia

最后

以上就是虚幻世界为你收集整理的What is the Difference Between Behavioral and Structural Model in Verilog的全部内容,希望文章能够帮你解决What is the Difference Between Behavioral and Structural Model in Verilog所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(65)

评论列表共有 0 条评论

立即
投稿
返回
顶部