optimized opae cci to dev memcpy using double buffering and request window to work around unordered read requests

This commit is contained in:
Blaise Tine
2020-04-23 01:30:45 -07:00
parent 3e64cb4380
commit 77a52ea20b
10 changed files with 249 additions and 110 deletions

View File

@@ -29,7 +29,12 @@
if (!(cond)) $error(msg); \
endgenerate
`define LOG2UP(x) ((x > 1) ? $clog2(x) : 1)
`define CLOG2(x) $clog2(x);
`define FLOG2(x) ($clog2(x) - (((1 << $clog2(x)) > x) ? 1 : 0))
`define LOG2UP(x) ((x > 1) ? $clog2(x) : 1)
`define MIN(x, y) ((x < y) ? x : y);
`define MAX(x, y) ((x > y) ? x : y);
///////////////////////////////////////////////////////////////////////////////