From 55be8f491e19f0c9dbbedcee070f723a3373f6a0 Mon Sep 17 00:00:00 2001
From: scott-temple <120586182+scott-temple@users.noreply.github.com>
Date: Fri, 10 Feb 2023 10:22:37 -0700
Subject: [PATCH] fix mux syntax in circuit_model_examples
the documentation is inconsistent about using underscores or dashes when describing a mux. It used one-level, but multi_level. Only underscores are valid in openfpga
---
docs/source/manual/arch_lang/circuit_model_examples.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/source/manual/arch_lang/circuit_model_examples.rst b/docs/source/manual/arch_lang/circuit_model_examples.rst
index 437cea837..94f1d5e02 100644
--- a/docs/source/manual/arch_lang/circuit_model_examples.rst
+++ b/docs/source/manual/arch_lang/circuit_model_examples.rst
@@ -523,9 +523,9 @@ Template
.. option::
- - ``structure="tree|multi-level|one-level"`` Specify the multiplexer structure for a multiplexer. The structure option is only valid for SRAM-based multiplexers. For RRAM-based multiplexers, currently we only support the one-level structure
+ - ``structure="tree|multi_level|one_level"`` Specify the multiplexer structure for a multiplexer. The structure option is only valid for SRAM-based multiplexers. For RRAM-based multiplexers, currently we only support the one_level structure
- - ``num_level=""`` Specify the number of levels when ``multi-level`` structure is selected.
+ - ``num_level=""`` Specify the number of levels when ``multi_level`` structure is selected.
- ``add_const_input="true|false"`` Specify if an extra input should be added to the multiplexer circuits. For example, an 4-input multiplexer will be turned to a 5-input multiplexer. The extra input will be wired to a constant value, which can be specified through the XML syntax ``const_input_val``.
@@ -563,7 +563,7 @@ The code describing this Multiplexer is:
.. code-block:: xml
-
+