Ignore:
Timestamp:
May 14, 2008, 3:09:48 PM (17 years ago)
Author:
rosiere
Message:
  • Ifetch_unit : systemC test ok
  • modif shell script and makefile.tools : SHELL=/bin/bash
Location:
trunk/IPs/systemC/Environment/Queue/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/Environment/Queue/include/Queue.h

    r81 r85  
    6161      // *****[ pop ]*****
    6262      // read the queue, and update the pointer
    63     public : virtual T    pop  ()             = 0;
    64 
    65       // *****[ pop ]*****
    66       // read the queue, and update the pointer
    67     public : virtual T    pop  (uint32_t num) = 0;
     63    public : virtual T    pop  (uint32_t num=0) = 0;
    6864
    6965      // *****[ push ]*****
    7066      // Push a new value (they must have a slot free)
    71     public : virtual bool push (T val)        = 0;
     67    public : virtual bool push (T val)          = 0;
    7268 
    7369    }; // Queue
  • trunk/IPs/systemC/Environment/Queue/include/Sort_Queue.h

    r81 r85  
    5959      // return the n-eme slot.
    6060      // (first = 0)
    61     public : slot_t<T> read (uint32_t num)
     61    public : slot_t<T> read (uint32_t num=0)
    6262      {
    6363        if (num >= Queue <T>::_nb_slot)
     
    7272      // *****[ pop ]*****
    7373      // read the queue, and update the pointer
    74     public : T pop  ()
    75       {
    76         return pop (0);
    77       }
    78 
    79       // *****[ pop ]*****
    80       // read the queue, and update the pointer
    81     public : T pop  (uint32_t num)
     74    public : T pop  (uint32_t num=0)
    8275      {
    8376        if (num >= Queue <T>::_nb_slot)
  • trunk/IPs/systemC/Environment/Queue/include/Sort_Queue_Dynamic.h

    r81 r85  
    107107      // return the n-eme slot.
    108108      // (first = 0)
    109     public : slot_t<T> read (uint32_t num)
     109    public : slot_t<T> read (uint32_t num=0)
    110110      {
    111111        if (num >= Queue <T>::_nb_slot)
     
    120120      // *****[ pop ]*****
    121121      // read the queue, and update the pointer
    122     public : T pop  ()
    123       {
    124         return pop (0);
    125       }
    126 
    127       // *****[ pop ]*****
    128       // read the queue, and update the pointer
    129     public : T pop  (uint32_t num)
     122    public : T pop  (uint32_t num=0)
    130123      {
    131124        if (num >= Queue <T>::_nb_slot)
Note: See TracChangeset for help on using the changeset viewer.