Added everything from the other system
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
`define CLOG2_VH
|
||||
|
||||
// Verilog-2001 compatible ceil(log2(x)) macro (matches $clog2 semantics).
|
||||
`ifndef CLOG2
|
||||
`define CLOG2(x) \
|
||||
(((x) <= 1) ? 0 : \
|
||||
((x) <= 2) ? 1 : \
|
||||
@@ -37,3 +38,4 @@
|
||||
((x) <= 2147483648) ? 31 : 32)
|
||||
|
||||
`endif
|
||||
`endif
|
||||
|
||||
Reference in New Issue
Block a user