Verilog HDL (1)

tags: verilog

Basic syntax rules

1, identifier

be careful:
1 case sensitive
2 can't start with numbers, "$" etc.
3 Transfer Identifier: Use \ as the beginning, with a blank character (space, tab, backbill end)

	reg clk;
	reg \clk ;

These two are the same

2, interval

1 space character (\ b)
2TAB button (\ T)
3 wrap (\ n)

3, constant and its representation method

Integer constant constant Real number constant String type constant
Integrated Not integrated, used for logic simulation Not integrated, used for logic simulation

1 Commonly used representation of the integer type constant:

  • Decimal form
    Example: 30
  • Expressed in the form of a base (format: <bit wide> ")> <value>)
    Example: 32'd47

2 Realism in Verilog:
Example: 0.1, 0.52
Verilog language can automatically convert real numbers to integers

3 character string production:
Example: "Hello Word!"
Verilog will convert a string into a string 8bitascii value of unsigned integer.

Intelligent Recommendation

Verilog HDL FPGA from entry to abandonment (1)

This is an introductory article. The author has also been confused and very confused about how hardware programming is, but the effort is not disappointing. I hope my article will be recognized by rea...

Introduction to Verilog HDL and basic syntax (1)

FPGA learning Phase 1: Introduction to Verilog HDL and basic syntax (1) FPGA hardware development route learning plan: Since I want to learn the related content of FPGA and lay some foundation for dig...

Verilog HDL simple design example (1)

Verilog HDL simple design example (1) statement 8-bit adder with carry end Use level-sensitive always block to design instruction decoding circuit Use task and always blocks to design the combinatoria...

[Verilog HDL] 4 Select 1 Data Selector

Source code Signal connection diagram...

Verilog HDL learning notes (1) - Chapter 3

First, the lexical agreement 1.Verilog is the case in case, to distinguish, where the keywords should be lowercase 2. Blank characters and spaces (/ b) and tabs (/ T) consist of, in addition to blanks...

More Recommendation

"Design and Verification: Verilog HDL" reading notes (1)

Introduction to HDL design method Verilog is essentially a design method Verilog first impression Verilog design verification process glance Verilog is essentially a design method In the past people w...

3. 1【Verilog HDL】After learning about Verilog programming language

Recommended study books: "Verilog HDL Digital Design and Comprehensive" (Second Edition) "Verilog HDL Programming Art" Currently, we will learn based on these two books and wildfir...

How to understand FPGA and Verilog HDL in a common way? - Quick Start Verilog HDL and FPGA Series 1

How to understand FPGA and Verilog HDL in a common way? - Quick Start Verilog HDL and FPGA Series 1 1. From novice to expert There are five stages in any field, from novice to expert: the exploration ...

[Verilog HDL Learning Path] Chapter 1 Verilog HDL Digital Design Overview

1 Verilog HDL Digital Design Overview 1.1 Several important concepts EDA(Electronic Design Automation) Electronic technology automation EDA tools Similar to IDE (Integrated Development Environment) in...

Josh study notes the Verilog (Part 1-- acquaintance HDL design methodology)

Article Directory 1. Changes in the design process Features 2. Verilog language The origin of 2.1 Verilog 2.2 Verilog and VHDL 2.3 Verilog and C 3. HDL design and verification process 3.1 defined func...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top