mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
build error fix
This commit is contained in:
parent
b146fab290
commit
8bb5e5ab8a
1 changed files with 4 additions and 4 deletions
|
@ -35,7 +35,7 @@ module VX_pending_size #(
|
|||
`STATIC_ASSERT(INCRW <= SIZEW, ("invalid parameter: %d vs %d", INCRW, SIZEW))
|
||||
`STATIC_ASSERT(DECRW <= SIZEW, ("invalid parameter: %d vs %d", DECRW, SIZEW))
|
||||
|
||||
if (SIZE == 1) begin : g_size1
|
||||
if (SIZE == 1) begin : g_size_eq1
|
||||
|
||||
reg size_r;
|
||||
|
||||
|
@ -59,7 +59,7 @@ module VX_pending_size #(
|
|||
assign alm_full = 1'b1;
|
||||
assign size = size_r;
|
||||
|
||||
end else begin : g_sizeN
|
||||
end else begin : g_size_gt1
|
||||
|
||||
reg empty_r, alm_empty_r;
|
||||
reg full_r, alm_full_r;
|
||||
|
@ -124,7 +124,7 @@ module VX_pending_size #(
|
|||
end
|
||||
end
|
||||
|
||||
if (SIZE > 2) begin : g_sizeN
|
||||
if (SIZE > 2) begin : g_size_gt2
|
||||
|
||||
wire is_empty_n = (used_r == ADDRW'(1));
|
||||
wire is_full_n = (used_r == ADDRW'(SIZE-1));
|
||||
|
@ -152,7 +152,7 @@ module VX_pending_size #(
|
|||
end
|
||||
end
|
||||
|
||||
end else begin : g_size2
|
||||
end else begin : g_size_eq2
|
||||
|
||||
always @(posedge clk) begin
|
||||
if (reset) begin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue