Verilog Data Types Last Updated : 14 Jun, 2022 Comments Improve Suggest changes 19 Likes 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 Create Quiz Comment L lakshmiprabha Follow 19 Improve L lakshmiprabha Follow 19 Improve Article Tags : Digital Logic Explore Number SystemsBase Conversions for Number System8 min read1's and 2's complement of a Binary Number8 min readBCD or Binary Coded Decimal6 min readError Detection Codes - Parity Bit4 min readBoolean Algebra and Logic GatesLogic Gates - Definition, Types, Uses8 min readBasic Conversion of Logic Gates6 min readRealization of Logic Gate Using Universal gates6 min readCanonical and Standard Form8 min readTypes of Integrated Circuits7 min readMinimization TechniquesMinimization of Boolean Functions4 min readIntroduction of K-Map (Karnaugh Map)4 min read5 variable K-Map in Digital Logic5 min readVarious Implicants in K-Map5 min readDon't Care (X) Conditions in K-Maps4 min readQuine McCluskey Method8 min readTwo Level Implementation of Logic Gates9 min readCombinational CircuitsHalf Adder3 min readFull Adder5 min readHalf Subtractor in Digital Logic4 min readFull Subtractor in Digital Logic3 min readParallel Adder and Parallel Subtractor5 min readSequential Binary Multiplier12 min readMultiplexers9 min readEvent Demultiplexer in Node.js3 min readBinary Decoder in Digital Logic5 min readEncoders5 min readCode Converters - Binary to/from Gray Code5 min readMagnitude Comparator in Digital Logic6 min readSequential CircuitsIntroduction of Sequential Circuits6 min readDifference between Combinational and Sequential Circuit4 min readLatches in Digital Logic6 min readFlip-Flop Types7 min readConversion of Flip-FlopConversion of S-R Flip-Flop into D Flip-Flop1 min readConversion of S-R Flip-Flop into T Flip-Flop1 min readConversion of J-K Flip-Flop into T Flip-Flop1 min readConversion of J-K Flip-Flop into D Flip-Flop4 min readRegister, Counter, and Memory UnitCounters in Digital Logic4 min readRipple Counter in Digital Logic3 min readRing Counter in Digital Logic7 min readGeneral Purpose Registers8 min readShift Registers in Digital Logic4 min readComputer Memory9 min readRandom Access Memory (RAM)11 min readRead Only Memory (ROM)8 min readLMNs and GATE PYQsLMN - Digital Electronics14 min readDigital Logic and Design - GATE CSE Previous Year Questions2 min read Like