Changeset 68 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Queue/src/Queue_vhdl_body.cpp
- Timestamp:
- Dec 8, 2007, 5:12:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Queue/src/Queue_vhdl_body.cpp
r67 r68 62 62 if (is_log2(_param->_size_queue) == false) 63 63 vhdl->set_body ("\tconst_PTR_INIT when reg_PTR_READ = const_PTR_MAX else"); 64 vhdl->set_body ("\treg_PTR_READ +'1';"); 64 65 if (_param->_size_queue > 2) 66 vhdl->set_body ("\treg_PTR_READ +'1';"); 67 else 68 vhdl->set_body ("\tnot reg_PTR_READ;"); 65 69 } 66 70 vhdl->set_body (""); … … 73 77 if (is_log2(_param->_size_queue) == false) 74 78 vhdl->set_body ("\tconst_PTR_INIT when reg_PTR_WRITE = const_PTR_MAX else"); 75 vhdl->set_body ("\treg_PTR_WRITE+'1';"); 79 if (_param->_size_queue > 2) 80 vhdl->set_body ("\treg_PTR_WRITE+'1';"); 81 else 82 vhdl->set_body ("\tnot reg_PTR_WRITE;"); 76 83 } 77 84 vhdl->set_body ("");
Note: See TracChangeset
for help on using the changeset viewer.