diff options
author | Martin Braun <martin.braun@ettus.com> | 2020-05-01 14:31:11 -0700 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-05-05 08:04:50 -0500 |
commit | 6a488d32ebd128b0f320863723a6877113bde6dd (patch) | |
tree | 81a3bcb6d7d76d86c4406b62bc8ad17ac0b18f5d /host/utils/rfnoc/templates/modules/static_router.v.mako | |
parent | 24527b39103b756581287f8e9e6082673645b1cd (diff) | |
download | uhd-6a488d32ebd128b0f320863723a6877113bde6dd.tar.gz uhd-6a488d32ebd128b0f320863723a6877113bde6dd.tar.bz2 uhd-6a488d32ebd128b0f320863723a6877113bde6dd.zip |
python: Move the rfnoc image builder module under the uhd module
Note: This commit changes nothing to the way the image builder is being
called. One can still run
rfnoc_image_builder [...]
as before. The difference is in the Python guts:
Where previously one had to do
import rfnoc
now the incantation becomes:
from uhd import imgbuilder
(Note that the submodule uhd.rfnoc already exists for wrapping the RFNoC
API into Python, hence the renaming from rfnoc to imgbuilder).
This is done for a variety of reasons:
- Now, there is only one and exactly one Python module for UHD that
contains all the things, as opposed to before where there were two.
- The rfnoc and uhd modules were installed in different ways (setuptools
vs. CMake); that is now harmonized. This also removes a lot of CMake
plumbing.
- It is not common to import the rfnoc module for anyone other than
rfnoc_image_builder
Diffstat (limited to 'host/utils/rfnoc/templates/modules/static_router.v.mako')
-rw-r--r-- | host/utils/rfnoc/templates/modules/static_router.v.mako | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/host/utils/rfnoc/templates/modules/static_router.v.mako b/host/utils/rfnoc/templates/modules/static_router.v.mako deleted file mode 100644 index 3649c278b..000000000 --- a/host/utils/rfnoc/templates/modules/static_router.v.mako +++ /dev/null @@ -1,15 +0,0 @@ -<%page args="connections"/>\ -\ -%for connection in connections: -<% - srcblk = connection["srcblk"] - dstblk = connection["dstblk"] - srcport = "in" if connection["srcport"] == None else connection["srcport"] - dstport = "out" if connection["dstport"] == None else connection["dstport"] -%>\ - assign s_${dstblk}_${dstport}_tdata = m_${srcblk}_${srcport}_tdata ; - assign s_${dstblk}_${dstport}_tlast = m_${srcblk}_${srcport}_tlast ; - assign s_${dstblk}_${dstport}_tvalid = m_${srcblk}_${srcport}_tvalid; - assign m_${srcblk}_${srcport}_tready = s_${dstblk}_${dstport}_tready; - -%endfor
\ No newline at end of file |