blob: e35a9cf5a908ca2e7f1fd09361484d8963a55df7 [file] [log] [blame]
/*
:name: operations-on-packed-arrays-equality
:description: Test packed arrays operations support (equality)
:should_fail: 0
:tags: 7.4.3
:type: simulation parsing
*/
module top ();
bit [7:0] arr_a;
bit [7:0] arr_b;
initial begin
arr_a = 8'hff;
arr_b = 8'hff;
$display(":assert: (('%h' == 'ff') and ('%h' == 'ff'))", arr_a, arr_b);
$display(":assert: (%d == 1)", (arr_a == arr_b));
$display(":assert: (%d == 0)", (arr_a != arr_b));
end
endmodule