In reply to megamind:
Please use code tags making your code easier to read. I have added them for you.
If you are looking for a non-zero value, you should be using the expression `HIER.signal != 0 and not == 1 (same as 6’b000001) or == '1 (same as 6’b111111). Also, I’m assuming signal is declared as a 6-bit value, and you are not just selecting the lower 6-bits of a larger value.
You didn’t mention if signal was synchronous or asynchronous. If synchronous, you should only be using the clk edge and not wait statements.