minor update
This commit is contained in:
@@ -27,8 +27,9 @@ script:
|
|||||||
- ./ci/test_driver.sh
|
- ./ci/test_driver.sh
|
||||||
- ./ci/travis_run.py ./ci/blackbox.sh --driver=vlsim --debug
|
- ./ci/travis_run.py ./ci/blackbox.sh --driver=vlsim --debug
|
||||||
- ./ci/travis_run.py ./ci/blackbox.sh --driver=vlsim --cores=1 --scope --app=demo --args="-n1"
|
- ./ci/travis_run.py ./ci/blackbox.sh --driver=vlsim --cores=1 --scope --app=demo --args="-n1"
|
||||||
|
- ./ci/travis_run.py ./ci/blackbox.sh --driver=rtlsim --cores=2 --clusters=2
|
||||||
- ./ci/travis_run.py ./ci/blackbox.sh --driver=rtlsim --cores=4 --l2cache
|
- ./ci/travis_run.py ./ci/blackbox.sh --driver=rtlsim --cores=4 --l2cache
|
||||||
- ./ci/travis_run.py ./ci/blackbox.sh --driver=rtlsim --cores=2 --l2cache --clusters=2
|
- ./ci/travis_run.py ./ci/blackbox.sh --driver=rtlsim --cores=2 --clusters=2 --l2cache --l3cache
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
# Gather code coverage
|
# Gather code coverage
|
||||||
|
|||||||
@@ -354,11 +354,7 @@ void Simulator::run() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int Simulator::get_last_wb_value(int reg) const {
|
int Simulator::get_last_wb_value(int reg) const {
|
||||||
#if (NUM_CLUSTERS != 1)
|
return (int)vortex_->Vortex->genblk1__BRA__0__KET____DOT__cluster->genblk1__BRA__0__KET____DOT__core->pipeline->commit->writeback->last_wb_value[reg];
|
||||||
return (int)vortex_->Vortex->genblk2__DOT__genblk1__BRA__0__KET____DOT__cluster->genblk1__BRA__0__KET____DOT__core->pipeline->commit->writeback->last_wb_value[reg];
|
|
||||||
#else
|
|
||||||
return (int)vortex_->Vortex->genblk1__DOT__cluster->genblk1__BRA__0__KET____DOT__core->pipeline->commit->writeback->last_wb_value[reg];
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Simulator::load_bin(const char* program_file) {
|
void Simulator::load_bin(const char* program_file) {
|
||||||
|
|||||||
Reference in New Issue
Block a user