2 #include "halco/hicann-dls/vx/barrier.h"
3 #include "halco/hicann-dls/vx/omnibus.h"
4 #include "haldls/vx/barrier.h"
5 #include "haldls/vx/block.h"
6 #include "haldls/vx/timer.h"
7 #include "hate/visibility.h"
24 template <
typename DoneType>
54 typename haldls::vx::Timer::coordinate_type
const& coord, haldls::vx::Timer::Value time);
62 halco::hicann_dls::vx::BarrierOnFPGA
const& coord, haldls::vx::Barrier barrier);
70 halco::hicann_dls::vx::PollingOmnibusBlockOnFPGA
const& coord,
71 haldls::vx::PollingOmnibusBlock barrier);
79 template <
typename ContainerT>
80 void write(
typename ContainerT::coordinate_type
const& coord, ContainerT
const& config);
83 template <
typename ContainerT>
85 typename ContainerT::coordinate_type
const& coord);
130 template <
class Archive>
131 void serialize(Archive& ar, std::uint32_t
const version);
Ticket for to-be-available container data corresponding to a read instruction.
Dumper implements an interface derived from fisch::vx::PlaybackProgramBuilder.
void merge_front(Dumper &other)
Merge other PlaybackProgramBuilder to the beginning of this builder instance.
void block_until(halco::hicann_dls::vx::PollingOmnibusBlockOnFPGA const &coord, haldls::vx::PollingOmnibusBlock barrier)
Add instruction to block execution until specified barrier is completed.
Dumper()=default
Default constructor.
PlaybackProgram::ContainerTicket< ContainerT > read(typename ContainerT::coordinate_type const &coord)
We do not support read and throw at runtime.
Dumper & operator=(Dumper const &)=delete
Copy assignment forbidden.
void block_until(typename haldls::vx::Timer::coordinate_type const &coord, haldls::vx::Timer::Value time)
Add instruction to block execution until specified timer has reached specified value.
void merge_back(Dumper &other)
Merge other Dumper to the end of this instance.
void block_until(halco::hicann_dls::vx::BarrierOnFPGA const &coord, haldls::vx::Barrier barrier)
Add instruction to block execution until specified barrier is completed.
Dumper & operator=(Dumper &&)=default
Move assignment operator.
void write(typename ContainerT::coordinate_type const &coord, ContainerT const &config)
Add write instruction for container.
void copy_back(Dumper const &other)
Copy other Dumper to the end of this instance.
Dumper(Dumper &&)=default
Move constructor.
Dumper(Dumper const &)=delete
Copy constructor forbidden.
done_type done()
Return ordered list of write coordinate-container pairs.
bool empty() const
Get whether builder is empty, i.e.
friend std::ostream & operator<<(std::ostream &os, Dumper< T > const &builder)
Print coordinate/container pairs added until now.
~Dumper()=default
Destructor.
std::ostream & operator<<(std::ostream &os, Dumper< T > const &builder) SYMBOL_VISIBLE
struct stadls::vx::v2::DumperDone access
stadls::vx::detail::Dumper< DumperDone > Dumper