<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Code Bus Cache and System Bus Cache</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Code-Bus-Cache-and-System-Bus-Cache/m-p/1075776#M157930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/anjalikkrishna"&gt;anjalikkrishna&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The terms&amp;nbsp;Code Bus Cache and&amp;nbsp;System Bus Cache concern the Cortex-M4 processor&lt;/P&gt;&lt;P&gt;(as part of i.MX8), which has "a modified 32-bit Harvard bus architecture. Using a 32-bit&lt;BR /&gt;address space, low-order addresses (0x0000_0000 through 0x1FFF_FFFF) use the&lt;BR /&gt;Processor Code (PC) bus, and high-order addresses (0x2000_0000 through&lt;BR /&gt;0xFFFF_FFFF) use the Processor System (PS) bus. As the bus names imply, normal&lt;BR /&gt;operation has code accesses on the PC bus and data accesses on the PS bus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;This device has been augmented with tightly-coupled memories for the PC and PS buses.&lt;BR /&gt;The memories include RAMs and caches. These local memories provide zero wait state&lt;BR /&gt;access to RAM and cacheable address spaces.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;The local memory controller includes four memory controllers and their attached&amp;nbsp;memories:&lt;BR /&gt;• SRAM lower (SRAM_L) controller via the PC bus&lt;BR /&gt;• SRAM upper (SRAM_U) controller via the PS bus&lt;BR /&gt;• Cache memory controller via the PC bus&lt;BR /&gt;• Cache memory controller via the PS bus"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jul 2020 09:48:00 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2020-07-22T09:48:00Z</dc:date>
    <item>
      <title>Code Bus Cache and System Bus Cache</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Code-Bus-Cache-and-System-Bus-Cache/m-p/1075775#M157929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am working on i.MX8 . The reference manual of the same&amp;nbsp; talks about Code Bus Cache&amp;nbsp; and system bus cache in multiple places. What exactly are they.? Are they cache for instruction code and data ? Then why are they called Code "Bus" Cache and system "Bus" cache?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2020 08:05:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Code-Bus-Cache-and-System-Bus-Cache/m-p/1075775#M157929</guid>
      <dc:creator>anjalikkrishna</dc:creator>
      <dc:date>2020-07-22T08:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Code Bus Cache and System Bus Cache</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Code-Bus-Cache-and-System-Bus-Cache/m-p/1075776#M157930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/anjalikkrishna"&gt;anjalikkrishna&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The terms&amp;nbsp;Code Bus Cache and&amp;nbsp;System Bus Cache concern the Cortex-M4 processor&lt;/P&gt;&lt;P&gt;(as part of i.MX8), which has "a modified 32-bit Harvard bus architecture. Using a 32-bit&lt;BR /&gt;address space, low-order addresses (0x0000_0000 through 0x1FFF_FFFF) use the&lt;BR /&gt;Processor Code (PC) bus, and high-order addresses (0x2000_0000 through&lt;BR /&gt;0xFFFF_FFFF) use the Processor System (PS) bus. As the bus names imply, normal&lt;BR /&gt;operation has code accesses on the PC bus and data accesses on the PS bus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;This device has been augmented with tightly-coupled memories for the PC and PS buses.&lt;BR /&gt;The memories include RAMs and caches. These local memories provide zero wait state&lt;BR /&gt;access to RAM and cacheable address spaces.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;The local memory controller includes four memory controllers and their attached&amp;nbsp;memories:&lt;BR /&gt;• SRAM lower (SRAM_L) controller via the PC bus&lt;BR /&gt;• SRAM upper (SRAM_U) controller via the PS bus&lt;BR /&gt;• Cache memory controller via the PC bus&lt;BR /&gt;• Cache memory controller via the PS bus"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2020 09:48:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Code-Bus-Cache-and-System-Bus-Cache/m-p/1075776#M157930</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2020-07-22T09:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Code Bus Cache and System Bus Cache</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Code-Bus-Cache-and-System-Bus-Cache/m-p/1157776#M162381</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-III lia-component-message-view-widget-author-username"&gt;&lt;A id="link_10" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/110850" target="_self"&gt;&lt;SPAN class=""&gt;anjalikkrishna,&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-III lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Code Bus and System bus are&amp;nbsp; ARMv7 memory system concepts, in which Code Bus covers 0x0000_0000 - 0x1FFF_FFFF, and System bus covers 0x2000_0000 - 0xFFFF_FFFF.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-III lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;On iMX8 (M4 as an example) the cache controlled is implemented as LMEM (outer of processor), there are two cache parts, one mapped to Code Bus, the other mapped to System bus.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-III lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;That's why they are called this way.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-III lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-09-23 at 9.08.36 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/125978iC77E98211714155C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2020-09-23 at 9.08.36 PM.png" alt="Screen Shot 2020-09-23 at 9.08.36 PM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;But both Code Bus Cache and System Bus cache can cache for instructions and data on its own mapped memory region.&lt;/P&gt;
&lt;P&gt;This depends on the memory attributes on each memory region by default or configured by MPU.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 13:30:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Code-Bus-Cache-and-System-Bus-Cache/m-p/1157776#M162381</guid>
      <dc:creator>Zodiac</dc:creator>
      <dc:date>2020-09-23T13:30:52Z</dc:date>
    </item>
  </channel>
</rss>

