Deleted Added
sdiff udiff text old ( 13146:3539fe351218 ) new ( 13155:4e77f1d0cdc3 )
full compact
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

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

30#include <memory>
31#include <string>
32#include <vector>
33
34#include "base/logging.hh"
35#include "systemc/core/kernel.hh"
36#include "systemc/core/module.hh"
37#include "systemc/core/process_types.hh"
38#include "systemc/ext/core/sc_module.hh"
39#include "systemc/ext/core/sc_module_name.hh"
40#include "systemc/ext/utils/sc_report_handler.hh"
41
42namespace sc_gem5
43{
44
45Process *
46newMethodProcess(const char *name, ProcessFuncWrapper *func)
47{

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

667
668void
669halt()
670{
671 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
672}
673
674void
675at_posedge(const sc_signal_in_if &)
676{
677 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
678}
679
680void
681at_posedge(const sc_signal_in_if &)
682{
683 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
684}
685
686void
687at_negedge(const sc_signal_in_if &)
688{
689 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
690}
691
692void
693at_negedge(const sc_signal_in_if &)
694{
695 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
696}
697
698const char *
699sc_gen_unique_name(const char *seed)
700{
701 ::sc_gem5::Module *mod = ::sc_gem5::currentModule();
702 return mod ? mod->uniqueName(seed) :
703 ::sc_gem5::nameGen.gen(seed);

--- 30 unchanged lines hidden ---