aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests
diff options
context:
space:
mode:
authorettus <matt.prost@ni.com>2020-09-02 11:26:42 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2020-09-03 09:40:34 -0500
commit5e7c0e61a8014535611ff7083e45e7a63d40c6d8 (patch)
tree89178b13fd79e2d79fd2602b616d3105a70726c0 /host/tests
parent3d5d136534bed3e1af50176fc36e26245ab323b9 (diff)
downloaduhd-5e7c0e61a8014535611ff7083e45e7a63d40c6d8.tar.gz
uhd-5e7c0e61a8014535611ff7083e45e7a63d40c6d8.tar.bz2
uhd-5e7c0e61a8014535611ff7083e45e7a63d40c6d8.zip
rfnoc: replay: Add support for 32-bit memory address widths
Increases the supported memory sizes in software to 2^32 and beyond. Signed-off-by: mattprost <matt.prost@ni.com>
Diffstat (limited to 'host/tests')
-rw-r--r--host/tests/rfnoc_block_tests/replay_block_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/tests/rfnoc_block_tests/replay_block_test.cpp b/host/tests/rfnoc_block_tests/replay_block_test.cpp
index 4e4e7847d..f84b98ac8 100644
--- a/host/tests/rfnoc_block_tests/replay_block_test.cpp
+++ b/host/tests/rfnoc_block_tests/replay_block_test.cpp
@@ -73,8 +73,8 @@ struct replay_block_fixture
: num_channels(4)
, num_input_ports(num_channels)
, num_output_ports(num_channels)
- , mem_addr_size(20)
- , max_buffer_size(1 << mem_addr_size)
+ , mem_addr_size(32)
+ , max_buffer_size(1ULL << mem_addr_size)
, default_item_size(4)
, word_size(8)
, reg_iface(std::make_shared<replay_mock_reg_iface_t>(