From 8574cf9076fbbd6613d23557427817d929e99ebd Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 26 Mar 2020 15:15:06 +0000 Subject: [PATCH] Re: [libre-riscv-dev] cache SRAM organisation --- be/d05f898b65bc1e1030656763b92e7e525110fb | 132 ++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 be/d05f898b65bc1e1030656763b92e7e525110fb diff --git a/be/d05f898b65bc1e1030656763b92e7e525110fb b/be/d05f898b65bc1e1030656763b92e7e525110fb new file mode 100644 index 0000000..50897e8 --- /dev/null +++ b/be/d05f898b65bc1e1030656763b92e7e525110fb @@ -0,0 +1,132 @@ +Return-path: +Envelope-to: publicinbox@libre-riscv.org +Delivery-date: Thu, 26 Mar 2020 15:15:32 +0000 +Received: from localhost ([::1] helo=libre-riscv.org) + by libre-riscv.org with esmtp (Exim 4.89) + (envelope-from ) + id 1jHUEF-0000Aj-F5; Thu, 26 Mar 2020 15:15:31 +0000 +Received: from lkcl.net ([217.147.94.29]) + by libre-riscv.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) + (Exim 4.89) (envelope-from ) id 1jHUEC-0000AX-El + for libre-riscv-dev@lists.libre-riscv.org; Thu, 26 Mar 2020 15:15:28 +0000 +DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lkcl.net; + s=201607131; + h=Content-Type:To:Subject:Message-ID:Date:From:References:In-Reply-To:MIME-Version; + bh=QTQfk3i/6HFkSPDpu/jcXpywOkHxlzjx50c3MxNhIU0=; + b=H05DKzBuY/ZVKbCjEd6/M9LpJ/NIrxTWPcPxcvKp8xutijQMKOjfgCRMR0VEIsnql/yaPE2IchozIwybrMvYCFxphwcFEKWWTYUKtDgLzx/Y24F80Ac3haZ6sBFagWHrK7Rln1ORE7NqFtkghbQsvT7aWTsxb1uHM+0X0+cN1Ws=; +Received: from mail-lj1-f176.google.com ([209.85.208.176]) + by lkcl.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) + (Exim 4.84_2) (envelope-from ) id 1jHUEC-00016F-3u + for libre-riscv-dev@lists.libre-riscv.org; Thu, 26 Mar 2020 15:15:28 +0000 +Received: by mail-lj1-f176.google.com with SMTP id p10so6567593ljn.1 + for ; + Thu, 26 Mar 2020 08:15:12 -0700 (PDT) +X-Gm-Message-State: AGi0PuZLf4pQpOsT708t2luhclhap6eQQiLDyoGTsL0yu7nBvasDQbe4 + f+UVMYf+jOabBmzi4bkfBjGaNFy/G2uKPIk2Wnk= +X-Google-Smtp-Source: APiQypIOocK/NmVaOhpQTNhaRyAKX237ikpYjEjcpACIIz/HBkbENDR7LGABPN3anKvJz7YTS8AciUpg8rNtTAba6aQ= +X-Received: by 2002:a2e:94d5:: with SMTP id r21mr5278277ljh.81.1585235707043; + Thu, 26 Mar 2020 08:15:07 -0700 (PDT) +MIME-Version: 1.0 +Received: by 2002:ab3:5808:0:0:0:0:0 with HTTP; Thu, 26 Mar 2020 08:15:06 + -0700 (PDT) +In-Reply-To: +References: + <29b1a9ecedda151dc9c8da6516c3691dfede62ef.camel@fibraservi.eu> + + <6fa40cb78b3f8c013ca4953ccb4daa5c23e3b501.camel@fibraservi.eu> + + +From: Luke Kenneth Casson Leighton +Date: Thu, 26 Mar 2020 15:15:06 +0000 +X-Gmail-Original-Message-ID: +Message-ID: +To: Libre-RISCV General Development +X-Content-Filtered-By: Mailman/MimeDel 2.1.23 +Subject: Re: [libre-riscv-dev] cache SRAM organisation +X-BeenThere: libre-riscv-dev@lists.libre-riscv.org +X-Mailman-Version: 2.1.23 +Precedence: list +List-Id: Libre-RISCV General Development + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +Reply-To: Libre-RISCV General Development + +Content-Type: text/plain; charset="utf-8" +Content-Transfer-Encoding: base64 +Errors-To: libre-riscv-dev-bounces@lists.libre-riscv.org +Sender: "libre-riscv-dev" + +T24gVGh1cnNkYXksIE1hcmNoIDI2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