Func.py (7839:9e556fb25900) | Func.py (8245:a9d06c894afe) |
---|---|
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; --- 63 unchanged lines hidden (view full) --- 72 return 73 74 code = self.symtab.codeFormatter() 75 76 # Header 77 code(''' 78/** Auto generated C++ code started by $__file__:$__line__ */ 79 | 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; --- 63 unchanged lines hidden (view full) --- 72 return 73 74 code = self.symtab.codeFormatter() 75 76 # Header 77 code(''' 78/** Auto generated C++ code started by $__file__:$__line__ */ 79 |
80#include "debug/RubySlicc.hh" |
|
80#include "mem/protocol/Types.hh" 81''') 82 83 if self.isInternalMachineFunc: 84 code('#include "mem/protocol/${{self.machineStr}}_Controller.hh"') 85 86 code('using namespace std;') 87 # Generate function header --- 24 unchanged lines hidden --- | 81#include "mem/protocol/Types.hh" 82''') 83 84 if self.isInternalMachineFunc: 85 code('#include "mem/protocol/${{self.machineStr}}_Controller.hh"') 86 87 code('using namespace std;') 88 # Generate function header --- 24 unchanged lines hidden --- |