From 7c78bdd6415515e62c5ba98e0c9fcf5f83479c27 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 23 May 2019 15:00:43 -0700 Subject: rfnoc: Change Block-ID format to 0/FFT#1 Previously, it was 0/FFT_1. The counter was separated by an underscore. Now, we separate by a # symbol to allow for underscores in block names. This means 'FIR_Filter' is now a valid blockname. --- host/lib/rfnoc/block_id.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib') diff --git a/host/lib/rfnoc/block_id.cpp b/host/lib/rfnoc/block_id.cpp index 1cef4c9c8..573b393e5 100644 --- a/host/lib/rfnoc/block_id.cpp +++ b/host/lib/rfnoc/block_id.cpp @@ -53,7 +53,7 @@ std::string block_id_t::to_string() const std::string block_id_t::get_local() const { - return str(boost::format("%s_%d") % get_block_name() % get_block_count()); + return str(boost::format("%s#%d") % get_block_name() % get_block_count()); } uhd::fs_path block_id_t::get_tree_root() const -- cgit v1.2.3