Added $assume cell type
This commit is contained in:
@@ -1163,7 +1163,24 @@ input A, EN;
|
||||
`ifndef SIMLIB_NOCHECKS
|
||||
always @* begin
|
||||
if (A !== 1'b1 && EN === 1'b1) begin
|
||||
$display("Assertation failed!");
|
||||
$display("Assertation %m failed!");
|
||||
$stop;
|
||||
end
|
||||
end
|
||||
`endif
|
||||
|
||||
endmodule
|
||||
|
||||
// --------------------------------------------------------
|
||||
|
||||
module \$assume (A, EN);
|
||||
|
||||
input A, EN;
|
||||
|
||||
`ifndef SIMLIB_NOCHECKS
|
||||
always @* begin
|
||||
if (A !== 1'b1 && EN === 1'b1) begin
|
||||
$display("Assumption %m failed!");
|
||||
$stop;
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user