aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-05-23 15:00:43 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:16 -0800
commit7c78bdd6415515e62c5ba98e0c9fcf5f83479c27 (patch)
treecd2b858cb17dd1e59cba86647d52bdc1b5a9d1b7 /host/lib
parent1ed37cdfda93e430037ee4028ec5ac70ab223b1b (diff)
downloaduhd-7c78bdd6415515e62c5ba98e0c9fcf5f83479c27.tar.gz
uhd-7c78bdd6415515e62c5ba98e0c9fcf5f83479c27.tar.bz2
uhd-7c78bdd6415515e62c5ba98e0c9fcf5f83479c27.zip
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.
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/rfnoc/block_id.cpp2
1 files changed, 1 insertions, 1 deletions
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