URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 363 |
Rev 403 |
Line 55... |
Line 55... |
//! @param[in] orpsoc The SystemC Verilated ORPSoC instance
|
//! @param[in] orpsoc The SystemC Verilated ORPSoC instance
|
|
|
OrpsocAccess::OrpsocAccess (Vorpsoc_top *orpsoc_top)
|
OrpsocAccess::OrpsocAccess (Vorpsoc_top *orpsoc_top)
|
{
|
{
|
// Assign processor accessor objects
|
// Assign processor accessor objects
|
or1200_ctrl = orpsoc_top->v->or1200_top->or1200_cpu->or1200_ctrl;
|
or1200_ctrl = orpsoc_top->v->or1200_top0->or1200_cpu->or1200_ctrl;
|
or1200_except = orpsoc_top->v->or1200_top->or1200_cpu->or1200_except;
|
or1200_except = orpsoc_top->v->or1200_top0->or1200_cpu->or1200_except;
|
or1200_sprs = orpsoc_top->v->or1200_top->or1200_cpu->or1200_sprs;
|
or1200_sprs = orpsoc_top->v->or1200_top0->or1200_cpu->or1200_sprs;
|
rf_a = orpsoc_top->v->or1200_top->or1200_cpu->or1200_rf->rf_a;
|
rf_a = orpsoc_top->v->or1200_top0->or1200_cpu->or1200_rf->rf_a;
|
// Assign main memory accessor objects
|
// Assign main memory accessor objects
|
// For old ram_wb: ram_wb_sc_sw = orpsoc_top->v->ram_wb0->ram0;
|
// 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;
|
ram_wb_sc_sw = orpsoc_top->v->wb_ram_b3_0;
|
|
|
// Assign arbiter accessor object
|
// Assign arbiter accessor object
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.