-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathsc_event.h
916 lines (739 loc) · 21.2 KB
/
sc_event.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
/*****************************************************************************
Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
more contributor license agreements. See the NOTICE file distributed
with this work for additional information regarding copyright ownership.
Accellera licenses this file to you under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied. See the License for the specific language governing
permissions and limitations under the License.
*****************************************************************************/
/*****************************************************************************
sc_event.h --
Original Author: Martin Janssen, Synopsys, Inc., 2001-05-21
CHANGE LOG AT THE END OF THE FILE
*****************************************************************************/
#ifndef SC_EVENT_H
#define SC_EVENT_H
#include "sysc/kernel/sc_cmnhdr.h"
#include "sysc/kernel/sc_kernel_ids.h"
#include "sysc/kernel/sc_simcontext.h"
#include "sysc/communication/sc_writer_policy.h"
#include "sysc/utils/sc_ptr_flag.h"
#if defined(_MSC_VER) && !defined(SC_WIN_DLL_WARN)
#pragma warning(push)
#pragma warning(disable: 4251) // DLL import for std::string
#endif
namespace sc_core {
// forward declarations
class sc_event;
class sc_event_timed;
class sc_event_list;
class sc_event_or_list;
class sc_event_and_list;
class sc_object;
class sc_object_host;
class sc_signal_channel;
// friend function declarations
SC_API int sc_notify_time_compare( const void*, const void* );
// ----------------------------------------------------------------------------
// CLASS : sc_event_expr
//
// The event expression class.
// ----------------------------------------------------------------------------
template< typename T >
class sc_event_expr
{
friend class sc_event;
friend class sc_event_and_list;
friend class sc_event_or_list;
typedef T type;
inline sc_event_expr()
: m_expr( new T(true) )
{}
public:
inline sc_event_expr( sc_event_expr const & e) // move semantics
: m_expr(e.m_expr)
{
e.m_expr = 0;
}
T const & release() const
{
sc_assert( m_expr );
T* expr = m_expr;
m_expr=0;
return *expr;
}
void push_back( sc_event const & e) const
{
sc_assert( m_expr );
m_expr->push_back(e);
}
void push_back( type const & el) const
{
sc_assert( m_expr );
m_expr->push_back(el);
}
operator T const &() const
{
return release();
}
~sc_event_expr()
{
delete m_expr;
}
private:
mutable type * m_expr;
// disabled
void operator=( sc_event_expr const & );
};
// ----------------------------------------------------------------------------
// CLASS : sc_event_list
//
// Base class for lists of events.
// ----------------------------------------------------------------------------
class SC_API sc_event_list
{
friend class sc_process_b;
friend class sc_method_process;
friend class sc_thread_process;
friend void sc_thread_cor_fn( void* arg );
public:
sc_event_list( const sc_event_list& );
sc_event_list& operator = ( const sc_event_list& );
int size() const;
bool empty() const
{ return size() == 0; }
protected:
void push_back( const sc_event& );
void push_back( const sc_event_list& );
explicit
sc_event_list( bool and_list_, bool auto_delete_ = false );
sc_event_list( const sc_event&,
bool and_list_,
bool auto_delete_ = false );
~sc_event_list();
void swap( sc_event_list& );
void move_from( const sc_event_list& );
bool and_list() const;
void add_dynamic( sc_method_handle ) const;
void add_dynamic( sc_thread_handle ) const;
void remove_dynamic( sc_method_handle, const sc_event* ) const;
void remove_dynamic( sc_thread_handle, const sc_event* ) const;
bool busy() const;
bool temporary() const;
void auto_delete() const;
void report_premature_destruction() const;
void report_invalid_modification() const;
private:
std::vector<const sc_event*> m_events;
bool m_and_list;
bool m_auto_delete;
mutable unsigned m_busy;
};
// ----------------------------------------------------------------------------
// CLASS : sc_event_and_list
//
// AND list of events.
// ----------------------------------------------------------------------------
class SC_API sc_event_and_list
: public sc_event_list
{
friend class sc_event;
friend class sc_event_expr<sc_event_and_list>;
friend class sc_process_b;
friend class sc_method_process;
friend class sc_thread_process;
protected:
explicit
sc_event_and_list( bool auto_delete_ );
public:
sc_event_and_list();
sc_event_and_list( const sc_event& );
void swap( sc_event_and_list& );
sc_event_and_list& operator &= ( const sc_event& );
sc_event_and_list& operator &= ( const sc_event_and_list & );
sc_event_expr<sc_event_and_list> operator & ( const sc_event& );
sc_event_expr<sc_event_and_list> operator & ( const sc_event_and_list& );
};
typedef sc_event_expr<sc_event_and_list> sc_event_and_expr;
// ----------------------------------------------------------------------------
// CLASS : sc_event_or_list
//
// OR list of events.
// ----------------------------------------------------------------------------
class SC_API sc_event_or_list
: public sc_event_list
{
friend class sc_event;
friend class sc_event_expr<sc_event_or_list>;
friend class sc_process_b;
friend class sc_method_process;
friend class sc_thread_process;
protected:
explicit
sc_event_or_list( bool auto_delete_ );
public:
sc_event_or_list();
sc_event_or_list( const sc_event& );
void swap( sc_event_or_list& );
sc_event_or_list& operator |= ( const sc_event& );
sc_event_or_list& operator |= ( const sc_event_or_list & );
sc_event_expr<sc_event_or_list> operator | ( const sc_event& ) const;
sc_event_expr<sc_event_or_list> operator | ( const sc_event_or_list& ) const;
};
typedef sc_event_expr<sc_event_or_list> sc_event_or_expr;
// ----------------------------------------------------------------------------
// CLASS : sc_event
//
// The event class.
// ----------------------------------------------------------------------------
class SC_API sc_event
{
friend class sc_event_list;
friend class sc_event_timed;
friend class sc_simcontext;
friend class sc_object_host;
friend class sc_process_b;
friend class sc_process_handle;
friend class sc_method_process;
friend class sc_thread_process;
friend void sc_thread_cor_fn( void* arg );
friend class sc_clock;
friend class sc_event_queue;
friend class sc_signal_channel;
template<typename IF> friend class sc_fifo;
friend class sc_semaphore;
friend class sc_mutex;
friend class sc_join;
friend class sc_trace_file;
public:
sc_event();
explicit sc_event( const char* name );
~sc_event();
void cancel();
const char* basename() const;
const char* name() const
{ return m_name.c_str(); }
sc_object* get_parent_object() const
{ return m_parent_with_hierarchy_flag; }
bool in_hierarchy() const
{ return m_parent_with_hierarchy_flag.get_flag() == true; }
void notify();
void notify( const sc_time& );
void notify( double, sc_time_unit );
void notify_delayed();
void notify_delayed( const sc_time& );
void notify_delayed( double, sc_time_unit );
sc_event_or_expr operator | ( const sc_event& ) const;
sc_event_or_expr operator | ( const sc_event_or_list& ) const;
sc_event_and_expr operator & ( const sc_event& ) const;
sc_event_and_expr operator & ( const sc_event_and_list& ) const;
// has this event been triggered in the current delta cycle?
bool triggered() const;
// never notified event
static const sc_event& none() { return sc_get_curr_simcontext()->null_event(); }
private:
void add_static( sc_method_handle ) const;
void add_static( sc_thread_handle ) const;
void add_dynamic( sc_method_handle ) const;
void add_dynamic( sc_thread_handle ) const;
void notify_internal( const sc_time& );
void notify_next_delta();
bool remove_static( sc_method_handle ) const;
bool remove_static( sc_thread_handle ) const;
bool remove_dynamic( sc_method_handle ) const;
bool remove_dynamic( sc_thread_handle ) const;
void register_event( const char* name, bool is_kernel_event = false );
void reset();
void trigger();
private:
enum notify_t { NONE, DELTA, TIMED };
sc_simcontext* m_simc;
sc_dt::uint64 m_trigger_stamp; // delta of last trigger
notify_t m_notify_type;
int m_delta_event_index;
sc_event_timed* m_timed;
mutable std::vector<sc_method_handle> m_methods_static;
mutable std::vector<sc_method_handle> m_methods_dynamic;
mutable std::vector<sc_thread_handle> m_threads_static;
mutable std::vector<sc_thread_handle> m_threads_dynamic;
std::string m_name; // name of the event
sc_ptr_flag<sc_object_host> m_parent_with_hierarchy_flag; // parent object of
// the event, extra flag is set to true, if event is registered in hierarchy
private:
static struct kernel_tag {} kernel_event;
explicit sc_event( kernel_tag, const char* name = NULL );
// disabled
sc_event( const sc_event& );
sc_event& operator = ( const sc_event& );
};
// ----------------------------------------------------------------------------
// CLASS : sc_event_timed
//
// Class for storing the time to notify a timed event.
// ----------------------------------------------------------------------------
class SC_API sc_event_timed
{
friend class sc_event;
friend class sc_simcontext;
friend SC_API int sc_notify_time_compare( const void*, const void* );
private:
sc_event_timed( sc_event* e, const sc_time& t )
: m_event( e ), m_notify_time( t )
{}
~sc_event_timed()
{ if( m_event != 0 ) { m_event->m_timed = 0; } }
sc_event* event() const
{ return m_event; }
const sc_time& notify_time() const
{ return m_notify_time; }
static void* operator new( std::size_t )
{ return allocate(); }
static void operator delete( void* p, std::size_t )
{ deallocate( p ); }
private:
// dedicated memory management
static void* allocate();
static void deallocate( void* );
private:
sc_event* m_event;
sc_time m_notify_time;
private:
// disabled
sc_event_timed();
sc_event_timed( const sc_event_timed& );
sc_event_timed& operator = ( const sc_event_timed& );
};
// IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
inline
void
sc_event::notify( double v, sc_time_unit tu )
{
notify( sc_time( v, tu, m_simc ) );
}
inline
void
sc_event::notify_internal( const sc_time& t )
{
if( t == SC_ZERO_TIME ) {
// add this event to the delta events set
m_delta_event_index = m_simc->add_delta_event( this );
m_notify_type = DELTA;
} else {
sc_event_timed* et =
new sc_event_timed( this, m_simc->time_stamp() + t );
m_simc->add_timed_event( et );
m_timed = et;
m_notify_type = TIMED;
}
}
inline
void
sc_event::notify_next_delta()
{
if( m_notify_type != NONE ) {
SC_REPORT_ERROR( SC_ID_NOTIFY_DELAYED_, 0 );
}
// add this event to the delta events set
m_delta_event_index = m_simc->add_delta_event( this );
m_notify_type = DELTA;
}
inline
void
sc_event::notify_delayed( double v, sc_time_unit tu )
{
notify_delayed( sc_time( v, tu, m_simc ) );
}
inline
void
sc_event::add_static( sc_method_handle method_h ) const
{
m_methods_static.push_back( method_h );
}
inline
void
sc_event::add_static( sc_thread_handle thread_h ) const
{
m_threads_static.push_back( thread_h );
}
inline
void
sc_event::add_dynamic( sc_method_handle method_h ) const
{
m_methods_dynamic.push_back( method_h );
}
inline
void
sc_event::add_dynamic( sc_thread_handle thread_h ) const
{
m_threads_dynamic.push_back( thread_h );
}
// ----------------------------------------------------------------------------
// Deprecated functional notation for notifying events.
// ----------------------------------------------------------------------------
extern void notify( sc_event& e );
extern void notify( const sc_time& t, sc_event& e );
extern void notify( double v, sc_time_unit tu, sc_event& e );
// IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
inline
sc_event_list::sc_event_list( bool and_list_, bool auto_delete_ )
: m_events()
, m_and_list( and_list_ )
, m_auto_delete( auto_delete_ )
, m_busy( 0 )
{
}
inline
sc_event_list::sc_event_list( const sc_event& e,
bool and_list_,
bool auto_delete_ )
: m_events()
, m_and_list( and_list_ )
, m_auto_delete( auto_delete_ )
, m_busy(0)
{
m_events.push_back( &e );
}
inline
sc_event_list::sc_event_list( sc_event_list const & that )
: m_events()
, m_and_list( that.m_and_list )
, m_auto_delete( false )
, m_busy( 0 )
{
move_from( that );
that.auto_delete(); // free automatic lists
}
inline
sc_event_list&
sc_event_list::operator=( sc_event_list const & that )
{
if( m_busy )
report_invalid_modification();
if( SC_LIKELY_(this != &that) ) {
move_from( that );
that.auto_delete(); // free automatic lists
}
return *this;
}
inline
sc_event_list::~sc_event_list()
{
if( m_busy )
report_premature_destruction();
}
inline
void
sc_event_list::swap( sc_event_list& that )
{
if( busy() || that.busy() )
report_invalid_modification();
m_events.swap( that.m_events );
}
inline
void
sc_event_list::move_from( sc_event_list const& that )
{
if( that.temporary() ) {
swap( const_cast<sc_event_list&>(that) ); // move from source
} else {
m_events = that.m_events; // copy from source
}
}
inline
int
sc_event_list::size() const
{
return static_cast<int>(m_events.size());
}
inline
bool
sc_event_list::and_list() const
{
return m_and_list;
}
inline
bool
sc_event_list::busy() const
{
return m_busy != 0;
}
inline
bool
sc_event_list::temporary() const
{
return m_auto_delete && ! m_busy;
}
inline
void
sc_event_list::auto_delete() const
{
if( m_busy ) {
--m_busy;
}
if( ! m_busy && m_auto_delete ) {
delete this;
}
}
// IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
inline
sc_event_or_list::sc_event_or_list()
: sc_event_list( false )
{}
inline
sc_event_or_list::sc_event_or_list( const sc_event& e )
: sc_event_list( false )
{
push_back( e );
}
inline
sc_event_or_list::sc_event_or_list( bool auto_delete_ )
: sc_event_list( false, auto_delete_ )
{}
inline
sc_event_or_list&
sc_event_or_list::operator |= ( const sc_event& e )
{
if( busy() )
report_invalid_modification();
push_back( e );
return *this;
}
inline
sc_event_or_list&
sc_event_or_list::operator |= ( const sc_event_or_list& el )
{
if( busy() )
report_invalid_modification();
push_back( el );
return *this;
}
inline
sc_event_or_expr
sc_event_or_list::operator | ( const sc_event& e2 ) const
{
sc_event_or_expr expr;
expr.push_back( *this );
expr.push_back( e2 );
return expr;
}
inline
sc_event_or_expr
sc_event_or_list::operator | ( const sc_event_or_list& e2 ) const
{
sc_event_or_expr expr;
expr.push_back( *this );
expr.push_back( e2 );
return expr;
}
// sc_event
inline
sc_event_or_expr
sc_event::operator | ( const sc_event& e2 ) const
{
sc_event_or_expr expr;
expr.push_back( *this );
expr.push_back( e2 );
return expr;
}
inline
sc_event_or_expr
sc_event::operator | ( const sc_event_or_list& e2 ) const
{
sc_event_or_expr expr;
expr.push_back( *this );
expr.push_back( e2 );
return expr;
}
// sc_event_expr
inline
sc_event_or_expr
operator | ( sc_event_or_expr expr, sc_event const & e )
{
expr.push_back( e );
return expr;
}
inline
sc_event_or_expr
operator | ( sc_event_or_expr expr, sc_event_or_list const & el )
{
expr.push_back( el );
return expr;
}
inline
void
sc_event_or_list::swap( sc_event_or_list & that )
{
sc_event_list::swap( that );
}
// IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
inline
sc_event_and_list::sc_event_and_list()
: sc_event_list( true )
{}
inline
sc_event_and_list::sc_event_and_list( const sc_event& e )
: sc_event_list( true )
{
push_back( e );
}
inline
sc_event_and_list::sc_event_and_list( bool auto_delete_ )
: sc_event_list( true, auto_delete_ )
{}
inline
void
sc_event_and_list::swap( sc_event_and_list & that )
{
sc_event_list::swap( that );
}
inline
sc_event_and_list&
sc_event_and_list::operator &= ( const sc_event& e )
{
if( busy() )
report_invalid_modification();
push_back( e );
return *this;
}
inline
sc_event_and_list&
sc_event_and_list::operator &= ( const sc_event_and_list& el )
{
if( busy() )
report_invalid_modification();
push_back( el );
return *this;
}
inline
sc_event_and_expr
sc_event_and_list::operator & ( const sc_event& e )
{
sc_event_and_expr expr;
expr.push_back( *this );
expr.push_back( e );
return expr;
}
inline
sc_event_and_expr
sc_event_and_list::operator & ( const sc_event_and_list& el )
{
sc_event_and_expr expr;
expr.push_back( *this );
expr.push_back( el );
return expr;
}
// sc_event
inline
sc_event_and_expr
sc_event::operator & ( const sc_event& e2 ) const
{
sc_event_and_expr expr;
expr.push_back( *this );
expr.push_back( e2 );
return expr;
}
inline
sc_event_and_expr
sc_event::operator & ( const sc_event_and_list& e2 ) const
{
sc_event_and_expr expr;
expr.push_back( *this );
expr.push_back( e2 );
return expr;
}
// sc_event_expr
inline
sc_event_and_expr
operator & ( sc_event_and_expr expr, sc_event const & e )
{
expr.push_back( e );
return expr;
}
inline
sc_event_and_expr
operator & ( sc_event_and_expr expr, sc_event_and_list const & el )
{
expr.push_back( el );
return expr;
}
} // namespace sc_core
#if defined(_MSC_VER) && !defined(SC_WIN_DLL_WARN)
#pragma warning(pop)
#endif
// $Log: sc_event.h,v $
// Revision 1.14 2011/08/29 18:04:32 acg
// Philipp A. Hartmann: miscellaneous clean ups.
//
// Revision 1.13 2011/08/26 20:46:09 acg
// Andy Goodrich: moved the modification log to the end of the file to
// eliminate source line number skew when check-ins are done.
//
// Revision 1.12 2011/08/24 22:05:50 acg
// Torsten Maehne: initialization changes to remove warnings.
//
// Revision 1.11 2011/03/12 21:07:51 acg
// Andy Goodrich: changes to kernel generated event support.
//
// Revision 1.10 2011/03/06 15:55:11 acg
// Andy Goodrich: Changes for named events.
//
// Revision 1.9 2011/03/05 01:39:21 acg
// Andy Goodrich: changes for named events.
//
// Revision 1.8 2011/02/18 20:27:14 acg
// Andy Goodrich: Updated Copyrights.
//
// Revision 1.7 2011/02/13 21:47:37 acg
// Andy Goodrich: update copyright notice.
//
// Revision 1.6 2011/02/01 21:03:23 acg
// Andy Goodrich: new return codes for trigger_dynamic calls.
//
// Revision 1.5 2011/01/18 20:10:44 acg
// Andy Goodrich: changes for IEEE1666_2011 semantics.
//
// Revision 1.4 2010/12/07 20:09:11 acg
// Andy Goodrich: writer policy fix.
//
// Revision 1.3 2009/05/22 16:06:29 acg
// Andy Goodrich: process control updates.
//
// Revision 1.2 2008/05/22 17:06:25 acg
// Andy Goodrich: updated copyright notice to include 2008.
//
// Revision 1.1.1.1 2006/12/15 20:20:05 acg
// SystemC 2.3
//
// Revision 1.8 2006/05/26 20:33:16 acg
// Andy Goodrich: changes required by additional platform compilers (i.e.,
// Microsoft VC++, Sun Forte, HP aCC).
//
// Revision 1.7 2006/05/08 17:57:51 acg
// Andy Goodrich: added David Long's forward declarations for friend
// functions, methods, and operators to keep the Microsoft compiler happy.
//
// Revision 1.6 2006/04/11 23:13:20 acg
// Andy Goodrich: Changes for reduced reset support that only includes
// sc_cthread, but has preliminary hooks for expanding to method and thread
// processes also.
//
// Revision 1.5 2006/01/24 20:56:00 acg
// Andy Goodrich: fixed up CVS comment.
//
// Revision 1.4 2006/01/24 20:48:14 acg
// Andy Goodrich: added deprecation warnings for notify_delayed(). Added two
// new implementation-dependent methods, notify_next_delta() & notify_internal()
// to replace calls to notify_delayed() from within the simulator. These two
// new methods are simpler than notify_delayed() and should speed up simulations
//
// Revision 1.3 2006/01/13 18:44:29 acg
// Added $Log to record CVS changes into the source.
//
#endif
// Taf!