mirror of
https://github.com/bmartini/zynq-axis.git
synced 2024-09-05 19:19:27 +08:00
Augments of equal size for operator + for fifo_simple.v
This commit is contained in:
parent
c77f0abac8
commit
611aaa8066
@ -114,10 +114,10 @@ module fifo_simple
|
||||
|
||||
|
||||
// pop next
|
||||
assign pop_ptr_nx = pop_ptr + (pop & ~empty);
|
||||
assign pop_ptr_nx = pop_ptr + {{ADDR_WIDTH-1{1'b0}}, (pop & ~empty)};
|
||||
|
||||
// push next
|
||||
assign push_ptr_nx = push_ptr + (push & ~full);
|
||||
assign push_ptr_nx = push_ptr + {{ADDR_WIDTH-1{1'b0}}, (push & ~full)};
|
||||
|
||||
|
||||
// registered population count.
|
||||
|
Loading…
x
Reference in New Issue
Block a user