Deleted Added
sdiff udiff text old ( 13207:034ca389a810 ) new ( 13208:6703cb024823 )
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

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

26 *
27 * Authors: Gabe Black
28 */
29
30#include "systemc/core/sensitivity.hh"
31
32#include "systemc/core/event.hh"
33#include "systemc/core/port.hh"
34#include "systemc/core/scheduler.hh"
35#include "systemc/ext/core/sc_export.hh"
36#include "systemc/ext/core/sc_interface.hh"
37#include "systemc/ext/core/sc_port.hh"
38
39namespace sc_gem5
40{
41

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

52bool
53Sensitivity::notify(Event *e)
54{
55 if (process->disabled())
56 return false;
57 return notifyWork(e);
58}
59
60
61/*
62 * Dynamic vs. static sensitivity.
63 */
64
65void
66DynamicSensitivity::addToEvent(const ::sc_core::sc_event *e)
67{
68 Event::getFromScEvent(e)->addSensitivity(this);

--- 156 unchanged lines hidden ---