P4C
The P4 Compiler
Loading...
Searching...
No Matches
ternary_match.h
1
17
18
#ifndef BACKENDS_TOFINO_BF_ASM_TOFINO_TERNARY_MATCH_H_
19
#define BACKENDS_TOFINO_BF_ASM_TOFINO_TERNARY_MATCH_H_
20
21
#include "backends/tofino/bf-asm/tables.h"
22
23
class
Target::Tofino::TernaryMatchTable :
public
::TernaryMatchTable {
24
friend
class ::TernaryMatchTable;
25
TernaryMatchTable(
int
line,
const
char
*n, gress_t gr,
Stage
*s,
int
lid)
26
: ::TernaryMatchTable(line, n, gr, s, lid) {}
27
28
void
pass1()
override
;
29
void
check_tcam_match_bus(
const
std::vector<Table::Layout> &
/*unused*/
)
override
;
30
};
31
32
class
Target::Tofino::TernaryIndirectTable :
public
::TernaryIndirectTable {
33
friend
class ::TernaryIndirectTable;
34
TernaryIndirectTable(
int
line,
const
char
*n, gress_t gr,
Stage
*s,
int
lid)
35
: ::TernaryIndirectTable(line, n, gr, s, lid) {}
36
37
void
pass1()
override
;
38
};
39
40
#endif
/* BACKENDS_TOFINO_BF_ASM_TOFINO_TERNARY_MATCH_H_ */
Stage
Definition
stage.h:123
backends
tofino
bf-asm
tofino
ternary_match.h
Generated by
1.13.2