Questions tagged [hdl]
HDL (Hardware Description Language) is a description language used to describe the behavior of digital circuits. Examples are Verilog, VHDL and ABEL.
305 questions
-1
votes
1
answer
124
views
PLL not locking after CPLD change
I am currently working on a redesign of one of my older PCBs. On this PCB there is a HEF4046BT used as a PLL. I needed to exchange the CPLD, which is used as a frequency divider between the ports ...
2
votes
1
answer
81
views
4
votes
3
answers
782
views
SystemVerilog threads execution order
I am trying to start few threads in SystemVerilog, as can be seen in the code below:
...
2
votes
2
answers
578
views
Using of physical FPGA for PCB prototyping
Does it make sense use a physical (real, not virtual model) FPGA while in the printed circuit board (PCB) developing cycle?
FPGA and my future PCB will have different element basis (standard cells). ...
1
vote
1
answer
283
views
Vivado warning: extra semicolon in not allowed here in this dialect; use SystemVerilog mode instead [closed]
Testbench source code:
I have a testbench from another project which has the same structure, but I haven't seen this error:
...
4
votes
2
answers
199
views
Verilog: Assignment not working as expected
I'm working on building a simple processor in Verilog. I'm now implementing the branch related instructions, but I'm observing some wrong (or at least unexpected) behavior. When I reach a branch ...
0
votes
1
answer
109
views
Is there a race condition in the hardware from using a signal as both clock and reset?
What is the synthesis result on this signal used as both clock and reset?
...
1
vote
1
answer
825
views
Using a parameter as a macro in system verilog code
Assume that I have below module definition with a parameter N:
...
-4
votes
1
answer
146
views
Whats the error?
I'm trying to make a counter but Vivado display an error, and I cannot see what's the problem. As far as I know the design is correct.
Someone can tell if I'm missing something, please.
0
votes
2
answers
181
views
FPGA arithmetic implementation
How does an FPGA synthesis tool decide how to implement arithmetic operations on the target hardware?
For example, if I implement some integer multiplication and division operations directly in HDL ...
2
votes
1
answer
181
views
D latch module in VHDL using NAND structure [closed]
What is the difference between a positive-level D latch and a negative-level D latch?
How to create positive and negative D latch in VHDL using NAND structure? Can you share some example codes for ...
1
vote
1
answer
112
views
A NAND gate with propagation delay in VHDL
I want to design a NAND gate (\$t_{PLH}\$ = \$t_{PHL}\$ = 10ns) with VHDL.
\$t_{PLH}\$ = Propagation delay low to high
\$t_{PHL}\$ = Propagation delay high to low
This is first code.
...
2
votes
2
answers
180
views
Fixed point multiplication circuit in HDL doesn't work as expected
I am implementing a fixed point multiplication circuit in SystemVerilog to multiply 2 64-bit numbers, each has 20 bits of decimal part (which remains 44 bits of integer part). The problem is the ...
1
vote
1
answer
99
views
Where to register value in Verilog?
I'm looking for some help understanding a synthesis error I run into frequently with Verilog code on an FPGA platform (Lattice ECP5U).
Here's a simplified setup that produces the error. ...
1
vote
2
answers
119
views
Verilog Double Counter Testbench Issues
I've been practicing writing some more advanced testbenches for my Verilog circuits. I thought I'd work with something simple: a double counter setup, where c0 is 3-bits long and c1 is 16-bits long. ...