From a49bfe871c65fb06df2b1cb3ef0c32cce458ccf2 Mon Sep 17 00:00:00 2001 From: Daniel Bates Date: Thu, 2 Sep 2021 12:41:10 +0100 Subject: [PATCH] Docs: Fix typo in coverage instructions (#3111) --- docs/CONTRIBUTORS | 1 + docs/guide/simulating.rst | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/CONTRIBUTORS b/docs/CONTRIBUTORS index bead98916..13308d1cc 100644 --- a/docs/CONTRIBUTORS +++ b/docs/CONTRIBUTORS @@ -11,6 +11,7 @@ Andreas Kuster Chris Randall Conor McCullough Dan Petrisko +Daniel Bates David Horton David Metz David Stanford diff --git a/docs/guide/simulating.rst b/docs/guide/simulating.rst index 19f54f198..c34087c37 100644 --- a/docs/guide/simulating.rst +++ b/docs/guide/simulating.rst @@ -230,7 +230,7 @@ coverage point insertions into the model and collect the coverage data. To get the coverage data from the model, in the user wrapper code, typically at the end once a test passes, call -:code:`Verilated::coveragep()->write` with an argument of the filename for +:code:`Verilated::threadContextp()->coveragep()->write` with an argument of the filename for the coverage data file to write coverage data to (typically "logs/coverage.dat").