Hi
I am working on Round Robin Assertion. I need Simple Round robin arbiter assertion code with test bench in working condition. For now I am working with [3:0]req and [3:0] gnt .All requests are asserted at same time but Only one gnt will come at a time after one clock delay
In reply to sumit@2001:
https://scholarworks.rit.edu/cgi/viewcontent.cgi?article=10982&context=theses
I tried using genvar like this
genvar i;
generate for(i=0; i<4;i++)
property rr_arbiter;
(req[i]!=0)|=>(gnt[i] ##0(onehot(gnt)));
endproperty
assert property (@(posedge clk) rr_arbiter);
endgenerate
Now There may be syntax error but I am using this method. In this I didn’t get any error but according to wave form there should be assertion error.
That’s why I was asking RR arbiter assertion code with test bench