New answers tagged

2 votes

Where to register value in Verilog?

Should I just register instruction in the icache module and then have the ir variable in the ...
toolic's user avatar
  • 7,820
1 vote
Accepted

Verilog Double Counter Testbench Issues

A couple of problems. You are using nonblcoking assigments in your DUT, but blocking assignments in your testbench. When you do the comparison, the DUT has not updated its values yet. You wait too ...
dave_59's user avatar
  • 8,167
-1 votes

Verilog Double Counter Testbench Issues

It looks like you're using bitwise "OR" instead of logical or: Instead of: if (expected_c0 != c0 | expected_c1 != c1) begin Try: if ((expected_c0 != c0) || (expected_c1 != c1)) begin in both ...
MicroservicesOnDDD's user avatar
2 votes

What is the technical reason an array of interfaces can't be indexed into unless the index is constant?

The reason is because the LRM does not allow it; it's not a true array. True arrays are groups of variables with identical data types. An individual index selection of an array is guaranteed to have ...
dave_59's user avatar
  • 8,167
0 votes

What is the technical reason an array of interfaces can't be indexed into unless the index is constant?

You can use a generate construct to access indexes of an array of interfaces. Here is a minimal example that compiles without errors with multiple simulators on ...
toolic's user avatar
  • 7,820
2 votes
Accepted

What is the relation between number of LUT values and output frequency?

The number of LUT values corresponds simply to the temporal resolution of your output waveform. So if you have an 8-bit LUT, your output waveform cannot be more accurate than 256 steps if reading ...
Tom Carpenter's user avatar
2 votes
Accepted

How do I call a module repeatedly in Verilog, in sync with a clock?

First, apart from your basic question about calling a module repeatedly in Verilog, there are alot of mistakes in your code: address is not being driven by any ...
Im Groot's user avatar
  • 309

Top 50 recent answers are included