Changeset 53 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic
- Timestamp:
- Sep 6, 2007, 6:30:49 PM (17 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic
- Files:
-
- 109 added
- 1 deleted
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/Makefile.deps
r48 r53 8 8 # DIR_MORPHEO must be defined 9 9 10 Counter = yes 11 10 12 ifndef Behavioural 11 13 include $(DIR_MORPHEO)/Behavioural/Makefile.deps 12 14 endif 13 14 Counter = yes15 15 16 16 #-----[ Library ]------------------------------------------ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Counter.cpp
r42 r53 48 48 49 49 #ifdef SYSTEMC 50 51 #if defined(STATISTICS) or defined(VHDL_TESTBENCH) 50 52 SC_METHOD (transition); 51 53 dont_initialize (); 52 54 sensitive_pos << *(in_CLOCK); 55 #endif 53 56 54 57 SC_METHOD (genMealy); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Group/Makefile.deps
r48 r53 8 8 # DIR_MORPHEO must be defined 9 9 10 Group = yes 11 10 12 ifndef Behavioural 11 13 include $(DIR_MORPHEO)/Behavioural/Makefile.deps 12 14 endif 13 14 Group = yes15 15 16 16 #-----[ Library ]------------------------------------------ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/Makefile.deps
r48 r53 8 8 # DIR_MORPHEO must be defined 9 9 10 RegisterFile_Monolithic = yes 11 10 12 ifndef Behavioural 11 13 include $(DIR_MORPHEO)/Behavioural/Makefile.deps … … 15 17 endif 16 18 17 RegisterFile_Monolithic = yes18 19 #-----[ Library ]------------------------------------------ 19 20 RegisterFile_Monolithic_LIBRARY = -lRegisterFile_Monolithic \ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Parameters.h
r44 r53 25 25 public : const uint32_t _nb_word ; 26 26 public : const uint32_t _size_word ; 27 public : const uint32_t _size_address ; 27 28 28 29 public : Parameters (uint32_t nb_port_read , -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Types.h
r44 r53 19 19 typedef uint32_t Taddress_t; 20 20 typedef uint32_t Tdata_t; 21 21 22 22 }; // end namespace registerfile_monolithic 23 23 }; // end namespace registerfile -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/src/Parameters.cpp
r15 r53 22 22 _nb_port_write (nb_port_write), 23 23 _nb_word (nb_word ), 24 _size_word (size_word ) 24 _size_word (size_word ), 25 _size_address (static_cast<uint32_t>(log2(_nb_word))) 25 26 { 26 27 test(); … … 31 32 _nb_port_write (param._nb_port_write), 32 33 _nb_word (param._nb_word ), 33 _size_word (param._size_word ) 34 _size_word (param._size_word ), 35 _size_address (param._size_address ) 34 36 { 35 37 test(); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/src/RegisterFile_Monolithic_allocation.cpp
r42 r53 60 60 in_READ_VAL [i] = interface->set_signal_valack_in ("val" , VAL); 61 61 out_READ_ACK [i] = interface->set_signal_valack_out ("ack" , ACK); 62 in_READ_ADDRESS [i] = interface->set_signal_in <Taddress_t> ("address", static_cast<uint32_t>(log2(_param._nb_word)));62 in_READ_ADDRESS [i] = interface->set_signal_in <Taddress_t> ("address", _param._size_address); 63 63 out_READ_DATA [i] = interface->set_signal_out <Tdata_t > ("data" , _param._size_word); 64 64 } … … 83 83 in_WRITE_VAL [i] = interface->set_signal_valack_in ("val" , VAL); 84 84 out_WRITE_ACK [i] = interface->set_signal_valack_out ("ack" , ACK); 85 in_WRITE_ADDRESS [i] = interface->set_signal_in <Taddress_t> ("address", static_cast<uint32_t>(log2(_param._nb_word)));85 in_WRITE_ADDRESS [i] = interface->set_signal_in <Taddress_t> ("address", _param._size_address); 86 86 in_WRITE_DATA [i] = interface->set_signal_in <Tdata_t > ("data" , _param._size_word); 87 87 } -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/src/RegisterFile_Monolithic_genMealy_read.cpp
r15 r53 17 17 void RegisterFile_Monolithic::genMealy_read (void) 18 18 { 19 log_printf(FUNC,Register _File,"genMealy_read","Begin");19 log_printf(FUNC,RegisterFile,"genMealy_read","Begin"); 20 20 21 21 #ifdef STATISTICS … … 31 31 Tdata_t data = REGISTER_READ(reg_DATA[address]); 32 32 33 log_printf(TRACE,Register _File,"genMealy_read","[%d] -> %.8x",static_cast<uint32_t>(address),static_cast<uint32_t>(data));33 log_printf(TRACE,RegisterFile,"genMealy_read","[%d] -> %.8x",static_cast<uint32_t>(address),static_cast<uint32_t>(data)); 34 34 35 35 #ifdef STATISTICS … … 41 41 else 42 42 { 43 //log_printf(TRACE,Register _File,"genMealy_read","Read [%d] : No transaction",i);43 //log_printf(TRACE,RegisterFile,"genMealy_read","Read [%d] : No transaction",i); 44 44 PORT_WRITE(out_READ_DATA[i],0); 45 45 } 46 46 } 47 log_printf(FUNC,Register _File,"genMealy_read","End");47 log_printf(FUNC,RegisterFile,"genMealy_read","End"); 48 48 49 49 }; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/src/RegisterFile_Monolithic_transition.cpp
r41 r53 16 16 void RegisterFile_Monolithic::transition (void) 17 17 { 18 log_printf(FUNC,Register _File,"transition","Begin");18 log_printf(FUNC,RegisterFile,"transition","Begin"); 19 19 #ifdef STATISTICS 20 20 _stat_nb_write = 0; … … 33 33 Tdata_t data = PORT_READ(in_WRITE_DATA [i]); 34 34 35 log_printf(TRACE,Register _File,"transition","[%d] <- %.8x",static_cast<uint32_t>(address),static_cast<uint32_t>(data));35 log_printf(TRACE,RegisterFile,"transition","[%d] <- %.8x",static_cast<uint32_t>(address),static_cast<uint32_t>(data)); 36 36 37 37 // Write in registerFile … … 47 47 vhdl_testbench_transition (); 48 48 #endif 49 log_printf(FUNC,Register _File,"transition","End");49 log_printf(FUNC,RegisterFile,"transition","End"); 50 50 }; 51 51 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/Makefile.deps
r48 r53 8 8 # DIR_MORPHEO must be defined 9 9 10 Select_Priority_Fixed = yes 11 10 12 ifndef Behavioural 11 13 include $(DIR_MORPHEO)/Behavioural/Makefile.deps 12 14 endif 13 14 Select_Priority_Fixed = yes15 15 16 16 #-----[ Library ]------------------------------------------ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Shifter/Makefile.deps
r48 r53 8 8 # DIR_MORPHEO must be defined 9 9 10 Shifter = yes 11 10 12 ifndef Behavioural 11 13 include $(DIR_MORPHEO)/Behavioural/Makefile.deps 12 14 endif 13 14 Shifter = yes15 15 16 16 #-----[ Library ]------------------------------------------ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/Makefile.deps
r48 r53 8 8 # DIR_MORPHEO must be defined 9 9 10 Victim_Pseudo_LRU = yes 11 10 12 ifndef Behavioural 11 13 include $(DIR_MORPHEO)/Behavioural/Makefile.deps … … 15 17 endif 16 18 17 Victim_Pseudo_LRU = yes18 19 #-----[ Library ]------------------------------------------ 19 20 Victim_Pseudo_LRU_LIBRARY = -lVictim_Pseudo_LRU \
Note: See TracChangeset
for help on using the changeset viewer.