summaryrefslogtreecommitdiffhomepage
path: root/hdl.html.markdown
diff options
context:
space:
mode:
authorcharly <49985859+charlyalizadeh@users.noreply.github.com>2021-11-28 22:47:33 +0100
committerGitHub <noreply@github.com>2021-11-28 22:47:33 +0100
commit3aa763520bb0d40e4ddb1f0d23bd693a548071a4 (patch)
tree6d846953fe3c03f6da96299c10bc06d5b688144c /hdl.html.markdown
parent2ec43ca09465f8e9683db79352bd375b3c7bb9d0 (diff)
[hdl/en] Fix variable name typo (#4276)
Diffstat (limited to 'hdl.html.markdown')
-rw-r--r--hdl.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/hdl.html.markdown b/hdl.html.markdown
index cad07817..3c3aff66 100644
--- a/hdl.html.markdown
+++ b/hdl.html.markdown
@@ -123,7 +123,7 @@ CHIP And {
PARTS:
// Insert I and K into the nand gate and store the output in an internal
// wire called notOut.
- Nand(a=i,b=b,out=notOut);
+ Nand(a=i,b=k,out=notOut);
// Use the not gate we constructed to invert notOut and send to the AND
// output.
@@ -228,4 +228,4 @@ Good luck and happy coding!
* [Hardware Description Language](https://en.wikipedia.org/wiki/Hardware_description_language)
-* [HDL Programming Fundamentals](https://www.electronicdesign.com/products/hdl-programming-fundamentals) \ No newline at end of file
+* [HDL Programming Fundamentals](https://www.electronicdesign.com/products/hdl-programming-fundamentals)