I know that logic is a 4-state and bit is 2 state, using bit will make to lose testing of x and z. But when exactly bit and when logic?
Asked
Active
Viewed 732 times
1
-
2Possible duplicate of [Difference of SystemVerilog data types (reg, logic, bits)](http://stackoverflow.com/questions/13282066/difference-of-systemverilog-data-types-reg-logic-bits) – Rcordoval Dec 28 '16 at 04:37
1 Answers
0
This paper should cover your questions:
http://www.sutherland-hdl.com/papers/2013-DVCon_In-love-with-my-X_paper.pdf
TLDR; bit is better for performance (only 2 states to model), but hides X-propagation issues.

Arun D'souza
- 182
- 12