[hdl/en] Fix variable name typo (#4276)

This commit is contained in:
charly 2021-11-28 22:47:33 +01:00 committed by GitHub
parent 2ec43ca094
commit 3aa763520b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,7 @@ CHIP And {
PARTS: PARTS:
// Insert I and K into the nand gate and store the output in an internal // Insert I and K into the nand gate and store the output in an internal
// wire called notOut. // 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 // Use the not gate we constructed to invert notOut and send to the AND
// output. // output.
@ -228,4 +228,4 @@ Good luck and happy coding!
* [Hardware Description Language](https://en.wikipedia.org/wiki/Hardware_description_language) * [Hardware Description Language](https://en.wikipedia.org/wiki/Hardware_description_language)
* [HDL Programming Fundamentals](https://www.electronicdesign.com/products/hdl-programming-fundamentals) * [HDL Programming Fundamentals](https://www.electronicdesign.com/products/hdl-programming-fundamentals)