diff options
author | Gabe Black <gabeblack@google.com> | 2018-08-07 01:26:14 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-09-20 01:39:26 +0000 |
commit | 0a0d4c644261cff371e05efa7e5a56efab4f82c8 (patch) | |
tree | bec25c191c51a9567fff35ba939737eb3ceda22d /src/systemc | |
parent | c18695fa7d8d1740792a5520742370794c203469 (diff) | |
download | gem5-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')
-rw-r--r-- | src/systemc/ext/core/sc_port.hh | 2 |
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) |