Top "Verilog" questions

Verilog is a hardware description language (HDL) used to model electronic systems.

Conditional instantiation of verilog module

Is it possible to instantiate a module conditionally in verliog ? example : if (en==1) then module1 instantiation else module2 instantiation

conditional instantiation verilog hdl
Verilog signed vs unsigned samples and first

Assuming I have a register reg [15:0] my_reg, which contains a 16-bit signed sample: How do I convert the sample …

bit-manipulation verilog hdl
How to use const in verilog

Instead of using module ... ( .. ) ; #15 endmodule I want use module ... ( ... ) ; // GateDelay is a const, like in c language const int GateDelay = 15 ; # …

constants verilog hdl system-verilog
What is inferred latch and how it is created when it is missing else statement in if condition. Can anybody explain briefly?

I tried to figure out the inferred latch and why it is needed internally, but I couldn't find any resources …

verilog
Tool for drawing timing diagrams

Recently I am working with a hardware design group developing an ASIC. And I am drawing a lot of timing …

hardware verilog asic timing-diagram
Verilog automatic task

What does it mean if a task is declared with the automatic keyword in Verilog? task automatic do_things; input [31:0] …

verilog
Using parameters to create constant in verilog

I want to take in a parameter and assign a number of zeroes equal to the paramter to a constant, …

verilog
Verilog signed multiplication: Multiplying numbers of different sizes?

For some reason I have been unable to find any definitive resources or stackoverflow questions answering this: Does verilog take …

verilog system-verilog
Verilog: how to take the absolute value

In verilog I have an array of binary values. How do I take the absolute value of the subtracted values ? …

verilog hdl vlsi
How to implement a (pseudo) hardware random number generator

How do you implement a hardware random number generator in an HDL (verilog)? What options need to be considered? This …

random verilog hdl