From 40f5d3dbf69b5fc5aa3e5e2e110c7b65475e5e95 Mon Sep 17 00:00:00 2001 From: "Quek, Yao Jing" Date: Tue, 14 Nov 2023 14:06:04 +0800 Subject: [PATCH] Fix markdown lint check --- doc/components/binary_gray.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/components/binary_gray.md b/doc/components/binary_gray.md index 13e8e02e6..493921fc4 100644 --- a/doc/components/binary_gray.md +++ b/doc/components/binary_gray.md @@ -6,7 +6,7 @@ ROHD HCL provides a module to perform conversion on binary to gray and gray to b A fundamental digital logic operation known as binary to gray code conversion is employed in many different applications, notably in digital communication and signal processing systems. Gray code is a binary numbering system that is useful for minimizing communication channel faults because adjacent values only differ in one bit. This conversion algorithm converts a binary value into its equivalent Gray code representation from the input binary value. Each bit in the binary input is XORed with the bit before it to produce the Gray code. In order to reduce errors during signal transmission or processing, the transition between consecutive values must be as smooth as feasible in applications like rotary encoders, error correction, and circuit design. -The [`BinaryToGrayConverter`](https://intel.github.io/rohd-hcl/rohd_hcl/BinaryToGrayConverter-class.html) module in ROHD-HCL accept a single input `binary` to be converted to gray of type `Logic`. The output value can be access via the getter `grayCode`. +The `BinaryToGrayConverter` module in ROHD-HCL accept a single input `binary` to be converted to gray of type `Logic`. The output value can be access via the getter `grayCode`. An example is shown below to convert binary to gray code. @@ -22,7 +22,7 @@ print(binToGray.grayCode.value.toString(includeWidth: false)); // output: 100 The conversion of gray to binary code is an essential process in digital logic and communication systems. A binary numbering system called gray code is appropriate for use in applications where error reduction is crucial because adjacent values only differ by one bit. This conversion algorithm converts a Gray code value into its corresponding binary representation from the input. This is accomplished by computing the equivalent binary bit by XOR operations with the preceding bit after examining each bit in the Gray code, starting with the least significant bit. In many different domains, such as rotary encoders, digital signal processing, and error correction systems, it is necessary to extract precise binary representations from Gray code inputs. These applications include Gray to Binary Code Conversion. -The [`GrayToBinary`](https://intel.github.io/rohd-hcl/rohd_hcl/GrayToBinaryConverter-class.html) module in ROHD-HCL accept a single input `gray` to be converted to binary of type `Logic`. The output value can be access via the getter `binaryVal`. +The `GrayToBinary` module in ROHD-HCL accept a single input `gray` to be converted to binary of type `Logic`. The output value can be access via the getter `binaryVal`. An example is shown below to convert gray code to binary value.