chisel3.util
Bit patterns are literals with masks, used to represent values with don't care bits. Equality comparisons will ignore don't care bits.
"b10101".U === BitPat("b101??") // evaluates to true.B "b10111".U === BitPat("b101??") // evaluates to true.B "b10001".U === BitPat("b101??") // evaluates to false.B
(Since version chisel3) Use '=/=', which avoids potential precedence problems
Bit patterns are literals with masks, used to represent values with don't care bits. Equality comparisons will ignore don't care bits.