P4C
The P4 Compiler
Loading...
Searching...
No Matches
ActionAnalysis::Alignment Struct Reference

#include <action_analysis.h>

Public Member Functions

 Alignment (le_bitrange wb, le_bitrange rb, op_type_t rs=NONE)
 
int right_shift (PHV::Container container) const
 

Public Attributes

le_bitrange read_bits
 
op_type_t read_src
 
le_bitrange write_bits
 

Friends

std::ostream & operator<< (std::ostream &out, const Alignment &a)
 

Detailed Description

Information on the PHV fields and action data that are read by an individual field instruction. write_bits correspond to the bits in the container being written and read_bits are the bits of one of the sources. This information is used for verification and combining the PHV fields into MultiOperands.