From d5d236bf10c2edf8bd16f3a55aedc75ae5428793 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Sat, 24 Nov 2018 21:38:02 +0100 Subject: [PATCH] Adapted changes in SCC --- dbt-core | 2 +- platform/src/sysc/fe310.cpp | 6 +++--- sc-components | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dbt-core b/dbt-core index 83cd591..2f4aab8 160000 --- a/dbt-core +++ b/dbt-core @@ -1 +1 @@ -Subproject commit 83cd591e4935d5c1916e4e56d9c6147e3aab8480 +Subproject commit 2f4aab87b0f86504a26cd8a6e781fc43bfd6e00f diff --git a/platform/src/sysc/fe310.cpp b/platform/src/sysc/fe310.cpp index 70bbed6..1cab7e2 100644 --- a/platform/src/sysc/fe310.cpp +++ b/platform/src/sysc/fe310.cpp @@ -83,13 +83,13 @@ fe310::fe310(sc_core::sc_module_name nm) size_t i = 0; for (const auto &e : e300_plat_t_map) { i_router->initiator.at(i)(e.target); - i_router->add_target_range(i, e.start, e.size); + i_router->set_target_range(i, e.start, e.size); i++; } i_router->initiator.at(i)(i_mem_qspi->target); - i_router->add_target_range(i, 0x20000000, 512_MB); + i_router->set_target_range(i, 0x20000000, 512_MB); i_router->initiator.at(++i)(i_mem_ram->target); - i_router->add_target_range(i, 0x80000000, 128_kB); + i_router->set_target_range(i, 0x80000000, 128_kB); i_uart0->clk_i(s_tlclk); i_uart1->clk_i(s_tlclk); diff --git a/sc-components b/sc-components index a21b2e5..d334928 160000 --- a/sc-components +++ b/sc-components @@ -1 +1 @@ -Subproject commit a21b2e57a2f18ff9e683d529a106ae2a8d2639c9 +Subproject commit d334928b3627d8abbdbe5b047782901250e2270d