Browse Source

Adapted changes in SCC

Eyck Jentzsch 9 months ago
parent
commit
d5d236bf10
3 changed files with 5 additions and 5 deletions
  1. 1
    1
      dbt-core
  2. 3
    3
      platform/src/sysc/fe310.cpp
  3. 1
    1
      sc-components

+ 1
- 1
dbt-core

@@ -1 +1 @@
1
-Subproject commit 83cd591e4935d5c1916e4e56d9c6147e3aab8480
1
+Subproject commit 2f4aab87b0f86504a26cd8a6e781fc43bfd6e00f

+ 3
- 3
platform/src/sysc/fe310.cpp View File

@@ -83,13 +83,13 @@ fe310::fe310(sc_core::sc_module_name nm)
83 83
     size_t i = 0;
84 84
     for (const auto &e : e300_plat_t_map) {
85 85
         i_router->initiator.at(i)(e.target);
86
-        i_router->add_target_range(i, e.start, e.size);
86
+        i_router->set_target_range(i, e.start, e.size);
87 87
         i++;
88 88
     }
89 89
     i_router->initiator.at(i)(i_mem_qspi->target);
90
-    i_router->add_target_range(i, 0x20000000, 512_MB);
90
+    i_router->set_target_range(i, 0x20000000, 512_MB);
91 91
     i_router->initiator.at(++i)(i_mem_ram->target);
92
-    i_router->add_target_range(i, 0x80000000, 128_kB);
92
+    i_router->set_target_range(i, 0x80000000, 128_kB);
93 93
 
94 94
     i_uart0->clk_i(s_tlclk);
95 95
     i_uart1->clk_i(s_tlclk);

+ 1
- 1
sc-components

@@ -1 +1 @@
1
-Subproject commit a21b2e57a2f18ff9e683d529a106ae2a8d2639c9
1
+Subproject commit d334928b3627d8abbdbe5b047782901250e2270d