Hey all,
Need a little help,
There is one process that writes to 200 cells in cycles, when there is EN, the writing process stops, and begins the reading process from the current cell that reached the counter of writing less X addresses (input vector).
For example:
total_cells = 200
write_cnt = 5
cell_back = 30 (input vector)
read_cnt = 5-30 = -25
Which is cell number 199-25 = 174
The question is how to implement the read_cnt line when there is an overflow without extra clk.
Thanks