1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-02-07 06:44:09 +08:00

Compile cleanup

This commit is contained in:
Andreas Olofsson 2016-01-10 11:58:54 -05:00
parent 0568add03a
commit 55eeafe0db

View File

@ -20,11 +20,11 @@ module oh_arbiter(/*AUTOARG*/
input [N-1:0] requests; //request vector
output [N-1:0] grants; //grant (one hot)
wire [N-1:0] waitmask;
genvar j;
generate
if(TYPE=="FIXED")
begin
wire [N-1:0] waitmask;
assign waitmask[0] = 1'b0;
for (j=N-1; j>=1; j=j-1)
begin : gen_arbiter