StateMachine.py (8943:f954ee138ca3) StateMachine.py (8946:fb6c89334b86)
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;

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

403
404 code('''
405/** \\file $c_ident.cc
406 *
407 * Auto generated C++ code started by $__file__:$__line__
408 * Created by slicc definition of Module "${{self.short}}"
409 */
410
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;

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

403
404 code('''
405/** \\file $c_ident.cc
406 *
407 * Auto generated C++ code started by $__file__:$__line__
408 * Created by slicc definition of Module "${{self.short}}"
409 */
410
411#include <sys/types.h>
412#include <unistd.h>
413
411#include <cassert>
412#include <sstream>
413#include <string>
414
415#include "base/compiler.hh"
416#include "base/cprintf.hh"
417#include "debug/RubyGenerated.hh"
418#include "debug/RubySlicc.hh"

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

985
986 code = self.symtab.codeFormatter()
987 ident = self.ident
988
989 code('''
990// Auto generated C++ code started by $__file__:$__line__
991// ${ident}: ${{self.short}}
992
414#include <cassert>
415#include <sstream>
416#include <string>
417
418#include "base/compiler.hh"
419#include "base/cprintf.hh"
420#include "debug/RubyGenerated.hh"
421#include "debug/RubySlicc.hh"

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

988
989 code = self.symtab.codeFormatter()
990 ident = self.ident
991
992 code('''
993// Auto generated C++ code started by $__file__:$__line__
994// ${ident}: ${{self.short}}
995
996#include <sys/types.h>
997#include <unistd.h>
998
993#include <cassert>
994
995#include "base/misc.hh"
996#include "debug/RubySlicc.hh"
997#include "mem/protocol/${ident}_Controller.hh"
998#include "mem/protocol/${ident}_Event.hh"
999#include "mem/protocol/${ident}_State.hh"
1000#include "mem/protocol/Types.hh"

--- 674 unchanged lines hidden ---
999#include <cassert>
1000
1001#include "base/misc.hh"
1002#include "debug/RubySlicc.hh"
1003#include "mem/protocol/${ident}_Controller.hh"
1004#include "mem/protocol/${ident}_Event.hh"
1005#include "mem/protocol/${ident}_State.hh"
1006#include "mem/protocol/Types.hh"

--- 674 unchanged lines hidden ---