Skip to content

Commit

Permalink
Fix class reference in Tofino 2 driver.
Browse files Browse the repository at this point in the history
  • Loading branch information
fruffy committed Jan 17, 2025
1 parent 80ef07c commit 4c08227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/tofino/bf-p4c/driver/p4c.tofino2.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 4c08227

Please sign in to comment.