79670400

Date: 2025-06-18 10:06:09
Score: 1
Natty:
Report link

1 & 2 -

Clear, in and load variables are condition variables in your gen_bits module. But, you define this variables as a bit, 2-stated memory variable in your testbench.

So, any if/else/case block which checks these values in positive edge of the clock on your testbench, will get the left side value of these variables at the positive edge clock as expected.

Because you are reading a memory block end of the day, not checking an output of a combinational circuit.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Erkmen