Commit 5ef4c593 authored by Daniel Krebs's avatar Daniel Krebs
Browse files

lib/ips: add data fifo IP needed for stream routing

parent 6f20555b
......@@ -82,6 +82,31 @@ public:
{ return {"xilinx.com:ip:axi_fifo_mm_s:"}; }
};
class FifoData : public IpNode {
friend class FifoDataFactory;
};
class FifoDataFactory : public IpNodeFactory {
public:
FifoDataFactory();
IpCore* create()
{ return new FifoData; }
std::string
getName() const
{ return "FifoData"; }
std::string
getDescription() const
{ return "Xilinx's AXI4 data stream FIFO"; }
Vlnv getCompatibleVlnv() const
{ return {"xilinx.com:ip:axis_data_fifo:"}; }
};
} // namespace ip
} // namespace fpga
} // namespace villas
......
......@@ -38,6 +38,7 @@ namespace ip {
// instantiate factory to make available to plugin infrastructure
static FifoFactory factory;
static FifoDataFactory factoryData;
FifoFactory::FifoFactory() :
......@@ -46,6 +47,12 @@ FifoFactory::FifoFactory() :
// nothing to do
}
FifoDataFactory::FifoDataFactory() :
IpNodeFactory(getName())
{
// nothing to do
}
bool Fifo::init()
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment