Support for binary masks in preparators
Detected in build:
Published in build:
A preparator mask is assumed to be hexadecimal, and its size is calculated from the string representation.
I suggest extending the mask format as follows.
// Simple mask in the current format. 0000xxxx // Symbol _ is ignored. 0000_xxxx // Prefix '<base> specifies the base: b (B) stands for binary; h (H) stands for hexadecimal. 'b00001111_00001111_00001111_0000xxxx 'h0000_xxxx // Prefix <width>'<base> specifies the bit width and the base. 32'b00001111_00001111_00001111_0000xxxx 32'h0000_xxxx