Changeset 112 for trunk/Softwares/Common


Ignore:
Timestamp:
Mar 18, 2009, 11:36:26 PM (16 years ago)
Author:
rosiere
Message:

1) Stat_list : fix retire old and new register bug
2) Stat_list : remove read_counter and valid flag, because validation of destination is in retire step (not in commit step)
3) Model : add class Model (cf Morpheo.sim)
4) Allocation : alloc_interface_begin and alloc_interface_end to delete temporary array.
5) Script : add distexe.sh
6) Add Comparator, Multiplier, Divider. But this component are not implemented
7) Software : add Dhrystone

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Softwares/Common/src/c/func_math.c

    r102 r112  
    88                      unsigned int op2)
    99{
     10  unsigned int size    = 32;
    1011  unsigned int num_bit,carry;
    1112  unsigned int op2_aux = op2;
    1213  unsigned int res     = 0;
    1314 
    14   for(num_bit=0;num_bit<32; num_bit++)
     15  for(num_bit=0;num_bit<size; num_bit++)
    1516    {
    1617      if (op2_aux == 0)
Note: See TracChangeset for help on using the changeset viewer.