StateMachine.py (11793:ef606668d247) StateMachine.py (12334:e0ab29a34764)
1# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
2# Copyright (c) 2009 The Hewlett-Packard Development Company
3# Copyright (c) 2013 Advanced Micro Devices, Inc.
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

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

1046// ${ident}: ${{self.short}}
1047
1048#include <sys/types.h>
1049#include <unistd.h>
1050
1051#include <cassert>
1052#include <typeinfo>
1053
1# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
2# Copyright (c) 2009 The Hewlett-Packard Development Company
3# Copyright (c) 2013 Advanced Micro Devices, Inc.
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

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

1046// ${ident}: ${{self.short}}
1047
1048#include <sys/types.h>
1049#include <unistd.h>
1050
1051#include <cassert>
1052#include <typeinfo>
1053
1054#include "base/misc.hh"
1054#include "base/logging.hh"
1055
1056''')
1057 for f in self.debug_flags:
1058 code('#include "debug/${{f}}.hh"')
1059 code('''
1060#include "mem/protocol/${ident}_Controller.hh"
1061#include "mem/protocol/${ident}_Event.hh"
1062#include "mem/protocol/${ident}_State.hh"

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

1163 ident = self.ident
1164
1165 code('''
1166// Auto generated C++ code started by $__file__:$__line__
1167// ${ident}: ${{self.short}}
1168
1169#include <cassert>
1170
1055
1056''')
1057 for f in self.debug_flags:
1058 code('#include "debug/${{f}}.hh"')
1059 code('''
1060#include "mem/protocol/${ident}_Controller.hh"
1061#include "mem/protocol/${ident}_Event.hh"
1062#include "mem/protocol/${ident}_State.hh"

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

1163 ident = self.ident
1164
1165 code('''
1166// Auto generated C++ code started by $__file__:$__line__
1167// ${ident}: ${{self.short}}
1168
1169#include <cassert>
1170
1171#include "base/misc.hh"
1171#include "base/logging.hh"
1172#include "base/trace.hh"
1173#include "debug/ProtocolTrace.hh"
1174#include "debug/RubyGenerated.hh"
1175#include "mem/protocol/${ident}_Controller.hh"
1176#include "mem/protocol/${ident}_Event.hh"
1177#include "mem/protocol/${ident}_State.hh"
1178#include "mem/protocol/Types.hh"
1179#include "mem/ruby/system/RubySystem.hh"

--- 413 unchanged lines hidden ---
1172#include "base/trace.hh"
1173#include "debug/ProtocolTrace.hh"
1174#include "debug/RubyGenerated.hh"
1175#include "mem/protocol/${ident}_Controller.hh"
1176#include "mem/protocol/${ident}_Event.hh"
1177#include "mem/protocol/${ident}_State.hh"
1178#include "mem/protocol/Types.hh"
1179#include "mem/ruby/system/RubySystem.hh"

--- 413 unchanged lines hidden ---