fpga: Add X440/FBX support
Co-authored-by: Martin Braun <martin.braun@ettus.com> Co-authored-by: Wade Fife <wade.fife@ni.com> Co-authored-by: Ryan Marlow <ryan@lmarlow.com> Original-commit: 596760a12e4834e47589c12f8a4fd083aa2f7c25
This commit is contained in:
committed by
Aki Tomita
co-authored by
Martin Braun
Wade Fife
Ryan Marlow
parent
a405111ce7
commit
5cadf901c7
@@ -168,8 +168,12 @@ module axis_replay #(
|
||||
// The lower MEM_ALIGN bits for all memory byte addresses should be 0.
|
||||
localparam MEM_ALIGN = $clog2(MEM_DATA_W / 8);
|
||||
//
|
||||
// AXI alignment requirement (4096 bytes) in MEM_DATA_W-bit words
|
||||
localparam AXI_ALIGNMENT = 4096 / BYTES_PER_WORD;
|
||||
// Burst length in bytes
|
||||
localparam BURST_LENGTH = 2**MEM_COUNT_W * BYTES_PER_WORD;
|
||||
//
|
||||
// AXI alignment requirement (normally 4096 bytes) in MEM_DATA_W-bit words
|
||||
localparam AXI_ALIGNMENT = (BURST_LENGTH <= 4096) ? 4096 / BYTES_PER_WORD :
|
||||
BURST_LENGTH / BYTES_PER_WORD;
|
||||
|
||||
// Memory Buffering Parameters
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user