1
0
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:
Berin Martini 2016-05-30 21:58:08 -07:00
parent c77f0abac8
commit 611aaa8066

View File

@ -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.