From 6a488d32ebd128b0f320863723a6877113bde6dd Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 1 May 2020 14:31:11 -0700 Subject: 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 --- host/utils/rfnoc/templates/modules/static_router.v.mako | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 host/utils/rfnoc/templates/modules/static_router.v.mako (limited to 'host/utils/rfnoc/templates/modules/static_router.v.mako') 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 -- cgit v1.2.3