summaryrefslogtreecommitdiff
path: root/src/systemc/ext/core/sc_port.hh
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-08-07 01:26:14 -0700
committerGabe Black <gabeblack@google.com>2018-09-20 01:39:26 +0000
commit0a0d4c644261cff371e05efa7e5a56efab4f82c8 (patch)
treebec25c191c51a9567fff35ba939737eb3ceda22d /src/systemc/ext/core/sc_port.hh
parentc18695fa7d8d1740792a5520742370794c203469 (diff)
downloadgem5-0a0d4c644261cff371e05efa7e5a56efab4f82c8.tar.xz
systemc: Fix the seed used with sc_gen_unique_name for sc_port.
The seed should only be "port" not "sc_port". Change-Id: Ia046103abc0a9ed283fcb7cf7d8069383a1e2b0d Reviewed-on: https://gem5-review.googlesource.com/12067 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/ext/core/sc_port.hh')
-rw-r--r--src/systemc/ext/core/sc_port.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemc/ext/core/sc_port.hh b/src/systemc/ext/core/sc_port.hh
index 0f5a66189..fb7b76d26 100644
--- a/src/systemc/ext/core/sc_port.hh
+++ b/src/systemc/ext/core/sc_port.hh
@@ -165,7 +165,7 @@ class sc_port_b : public sc_port_base
virtual void end_of_simulation() {}
explicit sc_port_b(int n, sc_port_policy p) :
- sc_port_base(sc_gen_unique_name("sc_port"), n, p)
+ sc_port_base(sc_gen_unique_name("port"), n, p)
{}
sc_port_b(const char *name, int n, sc_port_policy p) :
sc_port_base(name, n, p)