32a33
> from m5.util import code_formatter
53c54
< def __init__(self, **kwargs):
---
> def __init__(self, protocol, **kwargs):
57c58,59
< self.symtab = SymbolTable()
---
> self.protocol = protocol
> self.symtab = SymbolTable(self)
58a61,65
> def codeFormatter(self, *args, **kwargs):
> code = code_formatter(*args, **kwargs)
> code['protocol'] = self.protocol
> return code
>