URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk/orpsocv2/bench
- from Rev 861 to Rev 862
- ↔ Reverse comparison
Rev 861 → Rev 862
/sysc/include/OrpsocAccess.h
30,6 → 30,7
#define ORPSOC_ACCESS__H |
|
#include <stdint.h> |
#define wishbone_ram orpsoc_top->v->ram_wb0->ram_wb_b3_0 |
|
class Vorpsoc_top; |
class Vorpsoc_top_orpsoc_top; |
107,11 → 108,7
Vorpsoc_top_or1200_except *or1200_except; |
Vorpsoc_top_or1200_sprs *or1200_sprs; |
Vorpsoc_top_or1200_dpram *rf_a; |
/*Vorpsoc_top_ram_wb_sc_sw *//*Vorpsoc_top_ram_wb_sc_sw__D20_A19_M800000 *//*Vorpsoc_top_wb_ram_b3__D20_A17_M800000 *ram_wb_sc_sw; */ |
Vorpsoc_top_ram_wb_b3__pi3 *wishbone_ram; |
// Arbiter |
//Vorpsoc_top_wb_conbus_top__pi1 *wb_arbiter; |
|
Vorpsoc_top *orpsoc_top; |
}; // OrpsocAccess () |
|
#endif // ORPSOC_ACCESS__H |
/sysc/src/OrpsocAccess.cpp
29,6 → 29,8
|
#include "OrpsocAccess.h" |
|
#include "Vorpsoc_top__Syms.h" |
|
#include "Vorpsoc_top.h" |
#include "Vorpsoc_top_orpsoc_top.h" |
#include "Vorpsoc_top_or1200_top.h" |
38,11 → 40,6
#include "Vorpsoc_top_or1200_sprs.h" |
#include "Vorpsoc_top_or1200_rf.h" |
#include "Vorpsoc_top_or1200_dpram.h" |
// Need RAM instantiation has parameters after module name |
// Include for ram_wb |
#include "Vorpsoc_top_ram_wb__A20_D20_M800000_MB17.h" |
// Include for ram_wb_b3 |
#include "Vorpsoc_top_ram_wb_b3__pi3.h" |
|
//! Constructor for the ORPSoC access class |
|
58,13 → 55,8
or1200_except = orpsoc_top->v->or1200_top0->or1200_cpu->or1200_except; |
or1200_sprs = orpsoc_top->v->or1200_top0->or1200_cpu->or1200_sprs; |
rf_a = orpsoc_top->v->or1200_top0->or1200_cpu->or1200_rf->rf_a; |
// Assign main memory accessor objects |
// For old ram_wb: ram_wb_sc_sw = orpsoc_top->v->ram_wb0->ram0; |
//ram_wb_sc_sw = orpsoc_top->v->wb_ram_b3_0; |
wishbone_ram = orpsoc_top->v->ram_wb0->ram_wb_b3_0; |
|
// Assign arbiter accessor object |
//wb_arbiter = orpsoc_top->v->wb_conbus; |
this->orpsoc_top = orpsoc_top; |
|
} // OrpsocAccess () |
|