intdev.hh (8711:c7e14f52c682) | intdev.hh (8839:eeb293859255) |
---|---|
1/* 2 * Copyright (c) 2008 The Regents of The University of Michigan 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; --- 76 unchanged lines hidden (view full) --- 85 }; 86 87 IntPort * intPort; 88 89 public: 90 IntDev(MemObject * parent, Tick latency = 0) 91 { 92 if (parent != NULL) { | 1/* 2 * Copyright (c) 2008 The Regents of The University of Michigan 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; --- 76 unchanged lines hidden (view full) --- 85 }; 86 87 IntPort * intPort; 88 89 public: 90 IntDev(MemObject * parent, Tick latency = 0) 91 { 92 if (parent != NULL) { |
93 intPort = new IntPort(parent->name() + ".int_port", | 93 intPort = new IntPort(parent->name() + ".int_master", |
94 parent, this, latency); 95 } else { 96 intPort = NULL; 97 } 98 } 99 100 virtual ~IntDev() 101 {} --- 128 unchanged lines hidden --- | 94 parent, this, latency); 95 } else { 96 intPort = NULL; 97 } 98 } 99 100 virtual ~IntDev() 101 {} --- 128 unchanged lines hidden --- |