process.hh (13053:a7a320144bc1) process.hh (13063:c9905ead0041)
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

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

34#include <memory>
35#include <vector>
36
37#include "base/fiber.hh"
38#include "sim/eventq.hh"
39#include "systemc/core/bindinfo.hh"
40#include "systemc/core/list.hh"
41#include "systemc/core/object.hh"
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

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

34#include <memory>
35#include <vector>
36
37#include "base/fiber.hh"
38#include "sim/eventq.hh"
39#include "systemc/core/bindinfo.hh"
40#include "systemc/core/list.hh"
41#include "systemc/core/object.hh"
42#include "systemc/core/sched_event.hh"
42#include "systemc/ext/core/sc_event.hh"
43#include "systemc/ext/core/sc_export.hh"
44#include "systemc/ext/core/sc_interface.hh"
45#include "systemc/ext/core/sc_module.hh"
46#include "systemc/ext/core/sc_port.hh"
47#include "systemc/ext/core/sc_process_handle.hh"
48#include "systemc/ext/utils/sc_report.hh"
49

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

65
66 const std::string name();
67};
68
69class SensitivityTimeout : virtual public Sensitivity
70{
71 private:
72 void timeout();
43#include "systemc/ext/core/sc_event.hh"
44#include "systemc/ext/core/sc_export.hh"
45#include "systemc/ext/core/sc_interface.hh"
46#include "systemc/ext/core/sc_module.hh"
47#include "systemc/ext/core/sc_port.hh"
48#include "systemc/ext/core/sc_process_handle.hh"
49#include "systemc/ext/utils/sc_report.hh"
50

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

66
67 const std::string name();
68};
69
70class SensitivityTimeout : virtual public Sensitivity
71{
72 private:
73 void timeout();
73 EventWrapper<SensitivityTimeout,
74 &SensitivityTimeout::timeout> timeoutEvent;
75 ::sc_core::sc_time time;
74 ScEvent timeoutEvent;
76
77 public:
78 SensitivityTimeout(Process *p, ::sc_core::sc_time t);
79 ~SensitivityTimeout();
80};
81
82class SensitivityEvent : virtual public Sensitivity
83{

--- 307 unchanged lines hidden ---
75
76 public:
77 SensitivityTimeout(Process *p, ::sc_core::sc_time t);
78 ~SensitivityTimeout();
79};
80
81class SensitivityEvent : virtual public Sensitivity
82{

--- 307 unchanged lines hidden ---