mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
lib/ips: add data fifo IP needed for stream routing
This commit is contained in:
parent
a0c5acce4c
commit
2e339b406d
2 changed files with 32 additions and 0 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue