P4C
The P4 Compiler
Loading...
Searching...
No Matches
ActionData::SingleActionAllocation Struct Reference

#include <action_format.h>

Public Member Functions

 SingleActionAllocation (SingleActionPositions *sap, BusInputs *aai)
 
cstring action_name () const
 
void build_orig_inputs ()
 
void clear_inputs ()
 
void set_positions ()
 

Public Attributes

BusInputs * all_action_inputs
 
safe_vector< RamSectionPositionalloc_inputs
 
BusInputs current_action_inputs = {{bitvec(), bitvec(), bitvec()}}
 
safe_vector< RamSectionPositionorig_inputs
 
SingleActionPositionspositions
 

Detailed Description

Structure to keep track of a single action allocation for it's action data for a single possible layout. The orig_inputs is anything that hasn't been yet allocated, and the alloc_inputs is anything that has been allocated during the determination process