Skip to content

Commit

Permalink
[flash_ctrl,dv] fix constraint for mp_regions test
Browse files Browse the repository at this point in the history
Signed-off-by: Jaedon Kim <[email protected]>
  • Loading branch information
jdonjdon authored and msfschaffner committed Mar 2, 2024
1 parent 8d74044 commit 6d341ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class flash_ctrl_mp_regions_vseq extends flash_ctrl_base_vseq;
constraint flash_op_c {
flash_op.op inside {FlashOpRead, FlashOpProgram, FlashOpErase};
flash_op.addr inside {[0 : FlashSizeBytes - 1]};

flash_op.otf_addr == flash_op.addr[OTFHostId-1:0];
// Bank erase is supported only for data & 1st info partitions
flash_op.partition != FlashPartData && flash_op.partition != FlashPartInfo ->
flash_op.erase_type == flash_ctrl_pkg::FlashErasePage;
Expand Down

0 comments on commit 6d341ad

Please sign in to comment.