Deleted Added
sdiff udiff text old ( 6794:b431ec0ad43d ) new ( 6877:2a1a3d916ca8 )
full compact
1# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
2# Copyright (c) 2009 The Hewlett-Packard Development Company
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 119 unchanged lines hidden (view full) ---

128 if isinstance(symbol, Type) and not symbol.isPrimitive:
129 code('#include "mem/protocol/${{symbol.c_ident}}.hh"')
130
131 code.write(path, "Types.hh")
132
133 for symbol in self.sym_vec:
134 symbol.writeCodeFiles(path)
135
136 def writeHTMLFiles(self, path):
137 machines = list(self.getAllType(StateMachine))
138 if len(machines) > 1:
139 name = "%s_table.html" % machines[0].ident
140 else:
141 name = "empty.html"
142
143 code = code_formatter()

--- 21 unchanged lines hidden ---