From: Luke Kenneth Casson Leighton Date: Tue, 29 Mar 2022 10:58:32 +0000 (+0100) Subject: add patch for n25q to fix model using fork/join, should be begin/end X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=767bacda18106ff8fda51d24b89f0f4cdafbc5e4;p=ls2.git add patch for n25q to fix model using fork/join, should be begin/end --- diff --git a/qspi_model/README.txt b/qspi_model/README.txt new file mode 100644 index 0000000..52f57f2 --- /dev/null +++ b/qspi_model/README.txt @@ -0,0 +1,9 @@ +* download micron n25q model: +https://media-www.micron.com/-/media/client/global/documents/products/sim-model/nor-flash/serial/bfm/n25q/n25q_256mb_18v_micronxip_vg15,-d-,tar.gz?rev=20813bd927aa4890863866045fd77241 +* at line 2039 and 2065 change "fork : CP_sendToBus" and "join" + to "begin : CP_sendToBus" and "end" + (see n25q.patch) + +the micron n25q model contains the following copyright notice: +Copyright 2013 Micron Technology, Inc. All rights reserved. +(no license given, disclaimer noted) diff --git a/qspi_model/n25q.patch b/qspi_model/n25q.patch new file mode 100644 index 0000000..be0e5cd --- /dev/null +++ b/qspi_model/n25q.patch @@ -0,0 +1,20 @@ +--- N25Q256A11E_VG15/code/N25Qxxx.v.orig 2022-03-29 11:57:06.744320437 +0100 ++++ N25Q256A11E_VG15/code/N25Qxxx.v 2022-03-29 11:57:09.692322067 +0100 +@@ -2036,7 +2036,7 @@ + -> sendToBus_stack; + #0; + if(die_active == 1 ) begin +- fork : CP_sendToBus ++ begin : CP_sendToBus + + + dtr_dout_started = 1'b1; +@@ -2062,7 +2062,7 @@ + force DQ1 = bitOut; + // end + +- join ++ end + end + end +