P4C
The P4 Compiler
Loading...
Searching...
No Matches
tofino/counter.h
1
17
18
#ifndef BACKENDS_TOFINO_BF_ASM_TOFINO_COUNTER_H_
19
#define BACKENDS_TOFINO_BF_ASM_TOFINO_COUNTER_H_
20
21
#include "backends/tofino/bf-asm/tables.h"
22
23
class
Target::Tofino::CounterTable :
public
::CounterTable {
24
friend
class ::CounterTable;
25
CounterTable(
int
line,
const
char
*n, gress_t gr,
Stage
*s,
int
lid)
26
: ::CounterTable(line, n, gr, s, lid) {}
27
};
28
29
template
<>
30
void
CounterTable::setup_teop_regs(Target::Tofino::mau_regs &,
int
) {
31
BUG(
"teop not supported on tofino"
);
32
}
33
34
template
<>
35
void
CounterTable::write_alu_vpn_range(Target::Tofino::mau_regs &) {
36
BUG(
"alu vpn not available on tofino"
);
37
}
38
39
#endif
/* BACKENDS_TOFINO_BF_ASM_TOFINO_COUNTER_H_ */
Stage
Definition
stage.h:123
backends
tofino
bf-asm
tofino
counter.h
Generated by
1.13.2