mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 13:27:29 -04:00
minor update
This commit is contained in:
parent
20d704b4d3
commit
ebee332e9d
1 changed files with 4 additions and 3 deletions
|
@ -93,9 +93,10 @@ module VX_fifo_queue #(
|
|||
end
|
||||
if (SIZE > 2) begin
|
||||
used_r <= used_r + ADDRW'($signed(2'(push) - 2'(pop)));
|
||||
end else begin // (SIZE == 2);
|
||||
end else begin
|
||||
// (SIZE == 2);
|
||||
`IGNORE_WARNINGS_BEGIN
|
||||
used_r <= used_r ^ (push ^ pop);
|
||||
used_r <= used_r ^ (push ^ pop);
|
||||
`IGNORE_WARNINGS_END
|
||||
end
|
||||
end
|
||||
|
@ -105,7 +106,7 @@ module VX_fifo_queue #(
|
|||
|
||||
if (0 == BUFFERED) begin
|
||||
|
||||
reg [1:0][DATAW-1:0] shift_reg;
|
||||
reg [DATAW-1:0] shift_reg [1:0];
|
||||
|
||||
always @(posedge clk) begin
|
||||
if (push) begin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue