diff --git a/backends/tofino/bf-p4c/driver/p4c.tofino2.cfg b/backends/tofino/bf-p4c/driver/p4c.tofino2.cfg index 1a8852ffc41..1a8001e26fe 100644 --- a/backends/tofino/bf-p4c/driver/p4c.tofino2.cfg +++ b/backends/tofino/bf-p4c/driver/p4c.tofino2.cfg @@ -38,7 +38,7 @@ class Tofino2Backend(bfn.BarefootBackend): def process_command_line_options(self, opts): if opts.enable_bf_asm or os.getenv("ENABLE_BF_ASM"): - self.config_assembler(self.target) + self.config_assembler(self._target) bfn.BarefootBackend.process_command_line_options(self, opts) for t in Tofino2Variants.keys():