Re: HDL Syntax for multibit internal pins
Posted by cadet1620 on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/HDL-Syntax-for-multibit-internal-pins-tp3277572p3844184.html
"a[16]=out1[16]" means connect wire 16 of bus a to wire 16 of bus out1. If you want to connect two buses to each other that are the same width, you simply need to write "a=out1".
Be sure to read Appendix A.5.3 for more info on buses.
--Mark