source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_queue/src/Ifetch_queue_constant.cpp @ 131

Last change on this file since 131 was 131, checked in by rosiere, 15 years ago

1) add constant method
2) test with systemc 2.2.0

  • Property svn:keywords set to Id
File size: 1015 bytes
Line 
1#ifdef SYSTEMC
2/*
3 * $Id: Ifetch_queue_constant.cpp 131 2009-07-08 18:40:08Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/Ifetch_queue/include/Ifetch_queue.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16namespace ifetch_unit {
17namespace ifetch_queue {
18
19
20#undef  FUNCTION
21#define FUNCTION "Ifetch_queue::constant"
22  void Ifetch_queue::constant (void)
23  {
24    log_begin(Ifetch_queue,FUNCTION);
25    log_function(Ifetch_queue,FUNCTION,_name.c_str());
26
27    internal_ICACHE_RSP_ACK  = 1;
28    internal_EVENT_RESET_ACK = 1;
29   
30    PORT_WRITE(out_ICACHE_RSP_ACK , internal_ICACHE_RSP_ACK );
31    PORT_WRITE(out_EVENT_RESET_ACK, internal_EVENT_RESET_ACK);
32
33    log_end(Ifetch_queue,FUNCTION);
34  };
35
36}; // end namespace ifetch_queue
37}; // end namespace ifetch_unit
38}; // end namespace front_end
39}; // end namespace multi_front_end
40}; // end namespace core
41
42}; // end namespace behavioural
43}; // end namespace morpheo             
44#endif
Note: See TracBrowser for help on using the repository browser.