From cdf549a49372f9a65be2df360e86cbccf9f95db3 Mon Sep 17 00:00:00 2001 From: Noah Van Dijk Date: Thu, 2 Apr 2026 10:23:13 -0500 Subject: [PATCH 1/2] Fix typos in GettingStarted Line 8: is a the > is the line 88: all this types > all these types --- guidelines/GettingStarted | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/guidelines/GettingStarted b/guidelines/GettingStarted index 17fe32523..ea15df93f 100644 --- a/guidelines/GettingStarted +++ b/guidelines/GettingStarted @@ -5,7 +5,7 @@ Getting Started Outline of a Yosys command -------------------------- -Here is a the C++ code for a "hello_world" Yosys command (hello.cc): +Here is the C++ code for a "hello_world" Yosys command (hello.cc): #include "kernel/yosys.h" @@ -85,7 +85,7 @@ the declarations for the following types in kernel/rtlil.h: The module is a container with connected cells and wires in it. The design is a container with modules in it. -All this types are also available without the RTLIL:: prefix in the Yosys +All these types are also available without the RTLIL:: prefix in the Yosys namespace. 4. SigMap and other Helper Classes @@ -204,4 +204,4 @@ Notes on the existing codebase For historical reasons not all parts of Yosys adhere to the current coding style. When adding code to existing parts of the system, adhere to this guide -for the new code instead of trying to mimic the style of the surrounding code. \ No newline at end of file +for the new code instead of trying to mimic the style of the surrounding code. From 52243e10fb0187357614b6060c1ce0a45f5e0fa6 Mon Sep 17 00:00:00 2001 From: Noah Van Dijk Date: Thu, 2 Apr 2026 10:24:31 -0500 Subject: [PATCH 2/2] Fix typo in pmgen/README.md Line 161: calulated > calculated --- passes/pmgen/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passes/pmgen/README.md b/passes/pmgen/README.md index 15569ebfc..542c2c0e8 100644 --- a/passes/pmgen/README.md +++ b/passes/pmgen/README.md @@ -158,7 +158,7 @@ in `select` lines. Index lines are using the `index expr1 === expr2` syntax. `expr1` is evaluated during matcher initialization and the same restrictions apply as for -`select` expressions. `expr2` is evaluated when the match is calulated. It is a +`select` expressions. `expr2` is evaluated when the match is calculated. It is a function of any state variables assigned to by previous blocks. Both expression are converted to the given type and compared for equality. Only cells for which all `index` statements in the block pass are considered by the match.