19#ifndef BF_P4C_MAU_RESOURCE_H_
20#define BF_P4C_MAU_RESOURCE_H_
26#include "backends/tofino/bf-p4c/lib/autoclone.h"
27#include "backends/tofino/bf-p4c/mau/action_data_bus.h"
28#include "backends/tofino/bf-p4c/mau/instruction_memory.h"
29#include "backends/tofino/bf-p4c/mau/memories.h"
30#include "backends/tofino/bf-p4c/mau/table_format.h"
31#include "backends/tofino/bf-p4c/mau/tofino/input_xbar.h"
33#include "lib/safe_vector.h"
42 selector_ixbar, salu_ixbar, meter_ixbar;
44 std::map<UniqueId, Memories::Use> memuse;
56 int logical_table = -1);
60 gateway_ixbar.reset();
61 proxy_hash_ixbar.reset();
62 selector_ixbar.reset();
71 action_format.clear();
72 action_data_xbar.reset();
Definition table_layout.h:34
Definition json_generator.h:36
Definition json_loader.h:38
Definition safe_vector.h:27
Definition phv_fields.h:898
Definition autoclone.h:31
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24
Definition input_xbar.h:191
Definition instruction_memory.h:111
safe_vector< int > hash_dist_immed_units() const
Definition resource.cpp:76
int rng_unit() const
Definition resource.cpp:96
TableResourceAlloc * rename(const IR::MAU::Table *tbl, int stage_table=-1, int logical_table=-1)
Definition resource.cpp:21
bool has_tind() const
Definition resource.cpp:57