P4C
The P4 Compiler
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Table::Layout Struct Reference

Public Types

enum  bus_type_t {
  SEARCH_BUS , RESULT_BUS , TIND_BUS , IDLE_BUS ,
  L2R_BUS , R2L_BUS
}
 

Public Member Functions

 Layout (int l, int r)
 
bool operator!= (const Layout &a) const
 
bool operator== (const Layout &) const
 
bool word_initialized () const
 

Public Attributes

std::map< bus_type_t, int > bus
 
bool home_row = false
 
int lineno = -1
 
std::vector< int > maprams
 
std::vector< MemUnitmemunits
 
int row = -1
 
std::vector< int > vpns
 
int word = -1
 

Friends

std::ostream & operator<< (std::ostream &out, const Layout &l)