1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

pipe: rename streamer to pipe (closes #19)

This commit is contained in:
Steffen Vogel 2018-08-21 13:40:38 +02:00
parent 106d215dd2
commit 5c7f167617
2 changed files with 3 additions and 8 deletions

View file

@ -20,11 +20,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
##############################################################################
add_executable(streamer streamer.cpp)
add_executable(villas-fpga-pipe villas-fpga-pipe.cpp)
add_executable(pcimem pcimem.c)
target_link_libraries(streamer PUBLIC
target_link_libraries(villas-fpga-pipe PUBLIC
villas-fpga
)
add_executable(pcimem pcimem.c)

View file

@ -147,11 +147,9 @@ int main(int argc, char* argv[])
}
/* Logging setup */
spdlog::set_level(spdlog::level::debug);
setupColorHandling();
fpga::PCIeCard& card = setupFpgaCard(configFile, fpgaName);
auto rtds = reinterpret_cast<fpga::ip::Rtds*>
@ -163,7 +161,6 @@ int main(int argc, char* argv[])
auto fifo = reinterpret_cast<fpga::ip::Fifo*>
(card.lookupIp(fpga::Vlnv("xilinx.com:ip:axi_fifo_mm_s:")));
if(rtds == nullptr) {
logger->error("No RTDS interface found on FPGA");
return 1;
@ -179,7 +176,6 @@ int main(int argc, char* argv[])
return 1;
}
rtds->dump();
rtds->connect(rtds->getMasterPort(rtds->masterPort),