I find it weird that the only way (it seems) to pin single-bit pipe, for example, to And16 is to write a long and messy line like this:
And16(a=x, b[0]=notzx, b[1]=notzx, b[2]=notzx, b[3]=notzx, b[4]=notzx, b[5]=notzx, b[6]=notzx, b[7]=notzx, b[8]=notzx, b[9]=notzx, b[10]=notzx, b[11]=notzx, b[12]=notzx, b[13]=notzx, b[14]=notzx, b[15]=notzx, out=out);
All the while I can write b=true and the Hardware Simulator has no problem with that. I understand why functionality in b[0..x]=.. behaves the way it does but hey, no shortcut to connect 1 pin to every pin in 16-pin bus?
cadet1620 used a chip named Widen16 (
http://nand2tetris-questions-and-answers-forum.32033.n3.nabble.com/different-bus-widths-td3372452.html) just to around this nonsense. Additionally, can someone explain what he means by using TECS chips?
I have read the help pages of hml language but I cannot find a cleaner way to do this..