Changeset 135 for trunk/IPs/systemC/processor/Morpheo/Behavioural/include
- Timestamp:
- Jul 17, 2009, 10:59:05 AM (15 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Allocation.h
r128 r135 154 154 155 155 #define ALLOC0_INTERFACE_END() 156 157 #ifdef VHDL_TESTBENCH 158 #define INTERFACE0_TEST(value) \ 159 do \ 160 { \ 161 interface->make_testbench(value); \ 162 } while(0) 163 #else 164 #define INTERFACE0_TEST(value) 165 #endif 156 166 157 167 #define ALLOC0_VAL_ACK_IN( sig, name, type) \ … … 351 361 delete [] interface; \ 352 362 } while (0) 363 364 #ifdef VHDL_TESTBENCH 365 #define INTERFACE1_TEST(value,x1) \ 366 do \ 367 { \ 368 for (uint32_t it1=0; it1<x1; it1++) \ 369 interface [it1]->make_testbench(value); \ 370 } while(0) 371 #else 372 #define INTERFACE1_TEST(value,x1) 373 #endif 353 374 354 375 #define ALLOC1_VAL_ACK_IN( sig, name, type) \ … … 571 592 delete [] interface; \ 572 593 } while (0) 594 595 #ifdef VHDL_TESTBENCH 596 #define INTERFACE2_TEST(value,x1,x2) \ 597 do \ 598 { \ 599 for (uint32_t it1=0; it1<x1; it1++) \ 600 for (uint32_t it2=0; it2<x2; it2++) \ 601 interface [it1][it2]->make_testbench(value); \ 602 } while(0) 603 #else 604 #define INTERFACE2_TEST(value,x1,x2) 605 #endif 573 606 574 607 #define _ALLOC2_VAL_ACK_IN( sig, name, type, x1, x2) \ … … 861 894 } while (0) 862 895 896 #ifdef VHDL_TESTBENCH 897 #define INTERFACE3_TEST(value,x1,x2,x3) \ 898 do \ 899 { \ 900 for (uint32_t it1=0; it1<x1; it1++) \ 901 for (uint32_t it2=0; it2<x2; it2++) \ 902 for (uint32_t it3=0; it3<x3; it3++) \ 903 interface [it1][it2][it3]->make_testbench(value); \ 904 } while(0) 905 #else 906 #define INTERFACE3_TEST(value,x1,x2,x3) 907 #endif 908 863 909 // #define _ALLOC3_VAL_ACK_IN( sig, name, type, x1, x2, x3) 864 910 // #define _ALLOC3_VAL_ACK_OUT( sig, name, type, x1, x2, x3) -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Interface.h
r113 r135 55 55 #ifdef VHDL_TESTBENCH 56 56 private : uint32_t _nb_cycle ; 57 protected : bool _make_testbench; 57 58 #endif 58 59 … … 232 233 public : Signal * get_reset (void); 233 234 235 public : void make_testbench (bool value) {_make_testbench = value;} 234 236 public : void testbench (void); 235 237 public : void testbench_cycle (void); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Version.h
r134 r135 10 10 #define MORPHEO_MAJOR_VERSION "0" 11 11 #define MORPHEO_MINOR_VERSION "2" 12 #define MORPHEO_REVISION "13 4"12 #define MORPHEO_REVISION "135" 13 13 #define MORPHEO_CODENAME "Castor" 14 14 15 #define MORPHEO_DATE_DAY "1 5"15 #define MORPHEO_DATE_DAY "17" 16 16 #define MORPHEO_DATE_MONTH "07" 17 17 #define MORPHEO_DATE_YEAR "2009" -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Vhdl.h
r113 r135 23 23 namespace morpheo { 24 24 namespace behavioural { 25 26 #define id1(x1) toString(x1) 27 #define id2(x1,x2) toString(x1)+"_"+toString(x2) 28 #define id3(x1,x2,x3) toString(x1)+"_"+toString(x2)+"_"+toString(x3) 29 #define id4(x1,x2,x3,x4) toString(x1)+"_"+toString(x2)+"_"+toString(x3)+"_"+toString(x4) 25 30 26 31 #define VHDL_EXTENSION ".vhdl"
Note: See TracChangeset
for help on using the changeset viewer.