module.hh (13291:ccbae1f89cd3) module.hh (13303:045f002c325c)
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

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

63 {
64 std::ostringstream os;
65 os << seed << "_" << counts[seed]++;
66 buf = os.str();
67 return buf.c_str();
68 }
69};
70
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

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

63 {
64 std::ostringstream os;
65 os << seed << "_" << counts[seed]++;
66 buf = os.str();
67 return buf.c_str();
68 }
69};
70
71extern UniqueNameGen globalNameGen;
72
71class Module
72{
73 private:
74 const char *_name;
75 sc_core::sc_module *_sc_mod;
76 Object *_obj;
77 bool _ended;
78 bool _deprecatedConstructor;

--- 87 unchanged lines hidden ---
73class Module
74{
75 private:
76 const char *_name;
77 sc_core::sc_module *_sc_mod;
78 Object *_obj;
79 bool _ended;
80 bool _deprecatedConstructor;

--- 87 unchanged lines hidden ---