P4C
The P4 Compiler
Loading...
Searching...
No Matches
create_pov_encoder.h
1
19#ifndef BF_P4C_PARDE_CREATE_POV_ENCODER_H_
20#define BF_P4C_PARDE_CREATE_POV_ENCODER_H_
21
22#include <ir/ir.h>
23
25 MatchAction(std::vector<const IR::Expression *> k, ordered_set<const IR::TempVar *> o,
26 ordered_map<unsigned, unsigned> ma)
27 : keys(k), outputs(o), match_to_action_param(ma) {}
28 std::vector<const IR::Expression *> keys;
29 ordered_set<const IR::TempVar *> outputs;
30 ordered_map<unsigned, unsigned> match_to_action_param;
31
32 std::string print() const;
33};
34
35IR::MAU::Table *create_pov_encoder(gress_t gress, cstring tableName, cstring action_name,
36 const MatchAction &match_action);
37
38#endif /*BF_P4C_PARDE_CREATE_POV_ENCODER_H_*/
Definition create_pov_encoder.h:24