How to use a multi-bit version of a gate?

Posted by cygnus on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/How-to-use-a-multi-bit-version-of-a-gate-tp2585959.html

Hi,

Is there any other way for setting all the bits or a section of a bus to a particular input other than setting each of them manually?

i.e can I do something like this in HDL?

And16(a[0..5] = in[0..5], b[0..5] = in[0..5], out[0..5] = out[0..5]);