cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)

#include <axi_utils.hpp>

Public Member Functions

 Axis ()
 
 Axis (ap_uint< D > single_data)
 
 Axis (ap_uint< D > new_data, ap_uint<(D+7/8)> new_keep, ap_uint< 1 > new_last)
 
ap_uint< D > getTData ()
 
ap_uint<(D+7)/8 > getTKeep ()
 
ap_uint< 1 > getTLast ()
 
void setTData (ap_uint< D > new_data)
 
void setTKeep (ap_uint<(D+7)/8 > new_keep)
 
void setTLast (ap_uint< 1 > new_last)
 
Axis< D > & operator= (const Axis< D > &ot)
 
 Axis ()
 
 Axis (ap_uint< D > single_data)
 
 Axis ()
 
 Axis (ap_uint< D > single_data)
 
 Axis ()
 
 Axis (ap_uint< D > single_data)
 
 Axis ()
 
 Axis (ap_uint< D > single_data)
 
 Axis ()
 
 Axis (ap_uint< D > single_data)
 
 Axis ()
 
 Axis (ap_uint< D > single_data)
 
 Axis ()
 
 Axis (ap_uint< D > single_data)
 
 Axis ()
 
 Axis (ap_uint< D > single_data)
 

Protected Attributes

ap_uint< D > tdata
 
ap_uint<(D+7)/8 > tkeep
 
ap_uint< 1 > tlast
 

Detailed Description

template<int D>
struct Axis< D >

Definition at line 46 of file axi_utils.hpp.

Constructor & Destructor Documentation

◆ Axis() [1/19]

template<int D>
Axis< D >::Axis ( )
inline

Definition at line 52 of file axi_utils.hpp.

52 {}

◆ Axis() [2/19]

template<int D>
Axis< D >::Axis ( ap_uint< D >  single_data)
inline

Definition at line 53 of file axi_utils.hpp.

53 : tdata((ap_uint<D>)single_data), tkeep(~(((ap_uint<D>) single_data) & 0)), tlast(1) {}
ap_uint<(D+7)/8 > tkeep
Definition: axi_utils.hpp:49
ap_uint< 1 > tlast
Definition: axi_utils.hpp:50
ap_uint< D > tdata
Definition: axi_utils.hpp:48

◆ Axis() [3/19]

template<int D>
Axis< D >::Axis ( ap_uint< D >  new_data,
ap_uint<(D+7/8)>  new_keep,
ap_uint< 1 >  new_last 
)
inline

Definition at line 54 of file axi_utils.hpp.

54 : tdata(new_data), tkeep(new_keep), tlast(new_last) {}

◆ Axis() [4/19]

template<int D>
Axis< D >::Axis ( )
inline

Definition at line 161 of file harris.hpp.

161 {}

◆ Axis() [5/19]

template<int D>
Axis< D >::Axis ( ap_uint< D >  single_data)
inline

Definition at line 162 of file harris.hpp.

162 : tdata((ap_uint<D>)single_data), tkeep(1), tlast(1) {}

◆ Axis() [6/19]

template<int D>
Axis< D >::Axis ( )
inline

Definition at line 158 of file median_blur.hpp.

158 {}

◆ Axis() [7/19]

template<int D>
Axis< D >::Axis ( ap_uint< D >  single_data)
inline

Definition at line 159 of file median_blur.hpp.

159 : tdata((ap_uint<D>)single_data), tkeep(1), tlast(1) {}

◆ Axis() [8/19]

template<int D>
Axis< D >::Axis ( )
inline

Definition at line 85 of file mem_test_flash.hpp.

85 {}

◆ Axis() [9/19]

template<int D>
Axis< D >::Axis ( ap_uint< D >  single_data)
inline

Definition at line 86 of file mem_test_flash.hpp.

86 : tdata((ap_uint<D>)single_data), tkeep(1), tlast(1) {}

◆ Axis() [10/19]

template<int D>
Axis< D >::Axis ( )
inline

Definition at line 145 of file sobel.hpp.

145 {}

◆ Axis() [11/19]

template<int D>
Axis< D >::Axis ( ap_uint< D >  single_data)
inline

Definition at line 146 of file sobel.hpp.

146 : tdata((ap_uint<D>)single_data), tkeep(1), tlast(1) {}

◆ Axis() [12/19]

template<int D>
Axis< D >::Axis ( )
inline

Definition at line 170 of file warp_transform.hpp.

170 {}

◆ Axis() [13/19]

template<int D>
Axis< D >::Axis ( ap_uint< D >  single_data)
inline

Definition at line 171 of file warp_transform.hpp.

171 : tdata((ap_uint<D>)single_data), tkeep(1), tlast(1) {}

◆ Axis() [14/19]

template<int D>
Axis< D >::Axis ( )
inline

Definition at line 100 of file mem_test_flash.hpp.

100 {}

◆ Axis() [15/19]

template<int D>
Axis< D >::Axis ( ap_uint< D >  single_data)
inline

Definition at line 101 of file mem_test_flash.hpp.

101 : tdata((ap_uint<D>)single_data), tkeep(1), tlast(1) {}

◆ Axis() [16/19]

template<int D>
Axis< D >::Axis ( )
inline

Definition at line 100 of file mem_test_flash.hpp.

100 {}

◆ Axis() [17/19]

template<int D>
Axis< D >::Axis ( ap_uint< D >  single_data)
inline

Definition at line 101 of file mem_test_flash.hpp.

101 : tdata((ap_uint<D>)single_data), tkeep(1), tlast(1) {}

◆ Axis() [18/19]

template<int D>
Axis< D >::Axis ( )
inline

Definition at line 96 of file mem_test_flash.hpp.

96 {}

◆ Axis() [19/19]

template<int D>
Axis< D >::Axis ( ap_uint< D >  single_data)
inline

Definition at line 97 of file mem_test_flash.hpp.

97 : tdata((ap_uint<D>)single_data), tkeep(1), tlast(1) {}

Member Function Documentation

◆ getTData()

template<int D>
ap_uint<D> Axis< D >::getTData ( )
inline

Definition at line 55 of file axi_utils.hpp.

55  {
56  return tdata;
57  }
Here is the caller graph for this function:

◆ getTKeep()

template<int D>
ap_uint<(D+7)/8> Axis< D >::getTKeep ( )
inline

Definition at line 58 of file axi_utils.hpp.

58  {
59  return tkeep;
60  }

◆ getTLast()

template<int D>
ap_uint<1> Axis< D >::getTLast ( )
inline

Definition at line 61 of file axi_utils.hpp.

61  {
62  return tlast;
63  }

◆ operator=()

template<int D>
Axis<D>& Axis< D >::operator= ( const Axis< D > &  ot)
inline

Definition at line 79 of file axi_utils.hpp.

79  {
80  this->tdata = ot.tdata;
81  this->tkeep = ot.tkeep;
82  this->tlast = ot.tlast;
83  return *this;
84  }

◆ setTData()

template<int D>
void Axis< D >::setTData ( ap_uint< D >  new_data)
inline

Definition at line 64 of file axi_utils.hpp.

64  {
65  tdata = new_data;
66  }

◆ setTKeep()

template<int D>
void Axis< D >::setTKeep ( ap_uint<(D+7)/8 >  new_keep)
inline

Definition at line 67 of file axi_utils.hpp.

67  {
68  tkeep = new_keep;
69  }

◆ setTLast()

template<int D>
void Axis< D >::setTLast ( ap_uint< 1 >  new_last)
inline

Definition at line 70 of file axi_utils.hpp.

70  {
71  tlast = new_last;
72  }
Here is the caller graph for this function:

Member Data Documentation

◆ tdata

template<int D>
ap_uint< D > Axis< D >::tdata
protected

Definition at line 48 of file axi_utils.hpp.

◆ tkeep

template<int D>
ap_uint<(D+7)/8 > Axis< D >::tkeep
protected

Definition at line 49 of file axi_utils.hpp.

◆ tlast

template<int D>
ap_uint< 1 > Axis< D >::tlast
protected

Definition at line 50 of file axi_utils.hpp.


The documentation for this struct was generated from the following files: