Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ftqtfff committed Jan 8, 2023
1 parent 88e2668 commit 99d39a3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rateLimiter.sv
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,11 @@ module rateLimiter (
if(!$initstate) begin
assume(rst == 0);

//other assumptions
/*necessary assumption -s*/
//constraints
if(startCnt<=pktNumber)assume(pktStart == 1);
assume(startCnt<=pktNumber + 1); //set upper bound
if(globalTimer == totalCycles)assume(endCnt == pktNumber);
if(globalTimer == totalCycles)assume(error == 0);
/*necessary assumption -e*/
assume(state<=2);
//-----//

Expand Down

0 comments on commit 99d39a3

Please sign in to comment.