From: Luke Kenneth Casson Leighton Date: Sun, 24 Apr 2022 14:57:47 +0000 (+0100) Subject: add block_ram tags as experiment to icache X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac4dd92b9d287d1267e7908da77eb41760b1853c;p=microwatt.git add block_ram tags as experiment to icache --- diff --git a/icache.vhdl b/icache.vhdl index a658783..0fad1a4 100644 --- a/icache.vhdl +++ b/icache.vhdl @@ -145,6 +145,8 @@ architecture rtl of icache is attribute ram_style : string; attribute ram_style of cache_tags : signal is "distributed"; + attribute syn_ramstyle : string; + attribute syn_ramstyle of cache_tags : signal is "block_ram"; -- L1 ITLB. constant TLB_BITS : natural := log2(TLB_SIZE); @@ -163,6 +165,8 @@ architecture rtl of icache is signal itlb_ptes : tlb_ptes_t; attribute ram_style of itlb_tags : signal is "distributed"; attribute ram_style of itlb_ptes : signal is "distributed"; + attribute syn_ramstyle of itlb_tags : signal is "block_ram"; + attribute syn_ramstyle of itlb_ptes : signal is "block_ram"; -- Privilege bit from PTE EAA field signal eaa_priv : std_ulogic;