Combinational Logic using casez
{"Image DocumentName": "Combinational Logic using casez", "Image ImageDescription": "module priority_casez(input [3:0] a, output reg [3:0] y); begin. casez(a) 4 b1???: y = 4 b1000; // ? = don\u2019t care. 4 b01??: y = 4 b0100; 4 b001?: y = 4 b0010; 4 b0001: y = 4 b0001; default: y = 4 b0000; endcase. end. endmodule.", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}