Verilog Data Types Last Updated : 14 Jun, 2022 Comments Improve Suggest changes Like Article Like Report The data storage and transmission elements found in digital hardware are represented using a set of Verilog Hardware Description Language (HDL) data types. The purpose of Verilog HDL is to design digital hardware. Data types in Verilog are divided into NETS and Registers. These data types differ in the way that they are assigned and hold values, and also they represent different hardware structures. The Verilog HDL value set consists of four basic values: ValueDefinition0Logic zero or false1Logic one or truexUnknown logical valuezHigh impedance of tristate gateNETS - The nets variables represent the physical connection between structural entities. These variables do not store values (except trireg); they have the value of their drivers which changes continuously by the driving circuit. Some net data types are wire, tri, wor, trior, wand, triand, tri0, tri1, supply0, supply1 and trireg. Wire is the most frequently used type. A net data type must be used when a signal is:driven by the output of some device.declared as an input or in-out port.on the left-hand side of a continuous assignment.Registers - The register variables are used in procedural blocks which store values from one assignment to the next. An assignment statement in a procedure acts as a trigger that changes the value of the data storage element. Some register data types are: reg, integer, time and real. reg is the most frequently used type. Reg is used for describing logic, integer for loop variables and calculations, real in system modules, and time and real-time for storing simulation times in test benches. Notes - The reg variables are initialized to x at the start of the simulation. Any wire variable not connected to anything has the x value.The size of a register or wire may be specified during declaration.When the reg or wire size is more than one bit, then register and wire are declared as vectors. Reference: DIGITAL ELECTRONICS - Atul P.Godse, Mrs. Deepali A. Godse Comment More infoAdvertise with us Next Article Verilog Data Types L lakshmiprabha Follow Improve Article Tags : Digital Logic Similar Reads Difference between Verilog and SystemVerilog A Verilog and a System Verilog are hardware description languages used in the digital circuit design. Verilog is developed earlier focuses on a basic circuit description. A System Verilog is an extension of the Verilog offering additional features for the advanced design and verification including t 6 min read SAP ABAP | Data Types Before Understanding the Data type first understand the Data object. Data objects are variables that we declare in the program. It occupies some memory where you can store the data from external sources. Data can be of different types, so data types are responsible for defining the type of data of t 6 min read Data Types in Programming In Programming, data type is an attribute associated with a piece of data that tells a computer system how to interpret its value. Understanding data types ensures that data is collected in the preferred format and that the value of each property is as expected. Data Types in Programming Table of Co 11 min read PostgreSQL - Data Types PostgreSQL is a powerful, open-source relational database management system that supports a wide variety of data types. These data types are essential for defining the nature of the data stored in a database column. which allows developers to define, store, and manipulate data in a way that aligns w 5 min read COBOL - Data Types A Datatype is a classification by the programmer to tell the compiler/interpreter how data will be used inside a program. For example, the roll number of the student defined as the number will take input as a number only if other values are supplied instead of the number it will raise an abend insid 4 min read Like