From 9d3afafccf1b176afd3ea143ff482ff8de21d6ab Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 20 May 2020 18:22:11 +0100 Subject: [PATCH] Re: [libre-riscv-dev] Debug port (was Re: minimum viable ASIC) --- 5c/df2aad62cc8f92bc1afcf23e46df563cfeaeeb | 148 ++++++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 5c/df2aad62cc8f92bc1afcf23e46df563cfeaeeb diff --git a/5c/df2aad62cc8f92bc1afcf23e46df563cfeaeeb b/5c/df2aad62cc8f92bc1afcf23e46df563cfeaeeb new file mode 100644 index 0000000..0ec1271 --- /dev/null +++ b/5c/df2aad62cc8f92bc1afcf23e46df563cfeaeeb @@ -0,0 +1,148 @@ +Return-path: +Envelope-to: publicinbox@libre-riscv.org +Delivery-date: Wed, 20 May 2020 18:22:47 +0100 +Received: from localhost ([::1] helo=libre-riscv.org) + by libre-soc.org with esmtp (Exim 4.89) + (envelope-from ) + id 1jbSQY-0007C5-Lp; Wed, 20 May 2020 18:22:46 +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 1jbSQW-0007Bz-Si + for libre-riscv-dev@lists.libre-riscv.org; Wed, 20 May 2020 18:22:44 +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=lbN5AQt4I0NqPAQUCZI97Ykn3OZc4PxXqP7Qsw9I3qo=; + b=XUfeLC/LWT/0qKsDHbR9FWUur4RRFzAKoya6eVk36/fq4zuZ0fMDumMHFUyrnIZJJMHxRyJf+PtmmWRQ/iGfCIBNd34gUjakt+qpQlg+1DCGs3CWmCO6uQDp2ezX2Af3cHjMFj9O7NnEPseORORpwkVdT1OTz8WcDFXKQ15dlpU=; +Received: from mail-lf1-f50.google.com ([209.85.167.50]) + by lkcl.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) + (Exim 4.84_2) (envelope-from ) id 1jbSQW-0008Aa-Iq + for libre-riscv-dev@lists.libre-riscv.org; Wed, 20 May 2020 17:22:44 +0000 +Received: by mail-lf1-f50.google.com with SMTP id 202so2800899lfe.5 + for ; + Wed, 20 May 2020 10:22:29 -0700 (PDT) +X-Gm-Message-State: AOAM532IkhcuczD6r8nakUGgZEhQCrAVeDYptFLlu0rEUzUGg+UuybRB + 5enLr+MKbKHXycFf3gwtAyJpY6qxIZXhMEiMmi4= +X-Google-Smtp-Source: ABdhPJyPq7cbE9JzsLcTX7RU8S8wWN2V+2ADbD71GPS546aTTglzrK65Fv0AGVRu90RvQwGOBIr+KMeEqGdqyGc6RDQ= +X-Received: by 2002:a05:6512:62:: with SMTP id + i2mr3006038lfo.152.1589995343446; + Wed, 20 May 2020 10:22:23 -0700 (PDT) +MIME-Version: 1.0 +References: + <9191058ea0912f2b508a6f73ea567e5f@f-cpu.org> + + <63e8b9ce54648590e2a6fc51bc2110dde7585f5e.camel@fibraservi.eu> + + <803285a5aa4bed5be9c8d4bc5855f49174742f33.camel@fibraservi.eu> +In-Reply-To: <803285a5aa4bed5be9c8d4bc5855f49174742f33.camel@fibraservi.eu> +From: Luke Kenneth Casson Leighton +Date: Wed, 20 May 2020 18:22:11 +0100 +X-Gmail-Original-Message-ID: +Message-ID: +To: Libre-RISCV General Development +Subject: Re: [libre-riscv-dev] Debug port (was Re: minimum viable ASIC) +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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