From ac4dd92b9d287d1267e7908da77eb41760b1853c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 24 Apr 2022 15:57:47 +0100 Subject: [PATCH] add block_ram tags as experiment to icache --- icache.vhdl | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.30.2