From 264054ce6f1bb3ce79ce737c44939493c6a7dc6e Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 15 Jun 2020 22:54:34 +0100 Subject: [PATCH] Re: [libre-riscv-dev] Minerva L1 Cache --- 9f/e7f9b9bc5f71efebc5f9141c833c138018cf7f | 155 ++++++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 9f/e7f9b9bc5f71efebc5f9141c833c138018cf7f diff --git a/9f/e7f9b9bc5f71efebc5f9141c833c138018cf7f b/9f/e7f9b9bc5f71efebc5f9141c833c138018cf7f new file mode 100644 index 0000000..38d6502 --- /dev/null +++ b/9f/e7f9b9bc5f71efebc5f9141c833c138018cf7f @@ -0,0 +1,155 @@ +Return-path: +Envelope-to: publicinbox@libre-riscv.org +Delivery-date: Mon, 15 Jun 2020 22:55:10 +0100 +Received: from localhost ([::1] helo=libre-riscv.org) + by libre-soc.org with esmtp (Exim 4.89) + (envelope-from ) + id 1jkx4O-0001UD-Tz; Mon, 15 Jun 2020 22:55:08 +0100 +Received: from lkcl.net ([217.147.94.29]) + by libre-soc.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) + (Exim 4.89) (envelope-from ) id 1jkx4N-0001Tr-Er + for libre-riscv-dev@lists.libre-riscv.org; Mon, 15 Jun 2020 22:55:07 +0100 +DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lkcl.net; + s=201607131; + h=Content-Transfer-Encoding:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To:References:MIME-Version; + bh=pT4aX8bAxZv6m/iq2m7U1MkC70zHnJOeIk2vlFPqoC4=; + b=PDkY3nGV1IM0VtTydbWkiP8PvoxRyMZ6N1K53ciqI4kdRNBoJGBsUhmSoGxg/b1eiwYp7mksxK1RtK+td43nrnWuHSfolzmo1YSowUEO8/41rUTK0ie3DgwepKiL1XbwmyhBdRtmnJO4Nr9Gndn8c/batuO1gK7WYrgk1BVsyV8=; +Received: from mail-lj1-f182.google.com ([209.85.208.182]) + by lkcl.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) + (Exim 4.84_2) (envelope-from ) id 1jkx4N-0000cn-5V + for libre-riscv-dev@lists.libre-riscv.org; Mon, 15 Jun 2020 21:55:07 +0000 +Received: by mail-lj1-f182.google.com with SMTP id a9so21087136ljn.6 + for ; + Mon, 15 Jun 2020 14:54:51 -0700 (PDT) +X-Gm-Message-State: AOAM531CatoFI8tslv5vQ8yZThvTOzfx5Ezm0Wogd/xvpzwzoJNVg2ud + yaNQAEbO2PSlIlF0wYrIXpzY8/lSHhgh3zcGj1c= +X-Google-Smtp-Source: ABdhPJwt1xNTMhYGOEWwxmjQ/8FLJHnma7DHqjXEVsGHgEL3btHXMUFb0uLBCbESMJwRohup4isQdMgzA//5yp60noo= +X-Received: by 2002:a2e:8890:: with SMTP id k16mr13787388lji.161.1592258086228; + Mon, 15 Jun 2020 14:54:46 -0700 (PDT) +MIME-Version: 1.0 +References: <8A42B0DD-1009-49A4-AEB9-DBE04836FAAE@gatech.edu> + <909D7BCD-8ADB-438F-BCA7-44437DC92A99@gatech.edu> + + + + <077FCA11-14A9-4607-9833-BF7D50A93747@gatech.edu> + + + <7BA190FA-6551-4A23-BAAE-5CFC2B3838AE@gatech.edu> + + <36A521C7-583F-4562-8932-509898538E9B@gatech.edu> +In-Reply-To: <36A521C7-583F-4562-8932-509898538E9B@gatech.edu> +From: Luke Kenneth Casson Leighton +Date: Mon, 15 Jun 2020 22:54:34 +0100 +X-Gmail-Original-Message-ID: +Message-ID: +To: Libre-RISCV General Development +Subject: Re: [libre-riscv-dev] Minerva L1 Cache +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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