Login  Register

Re: Helpful HDL philosophy

Posted by cadet1620 on Jan 19, 2011; 1:29pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Helpful-HDL-philosophy-tp2111993p2287268.html

Sparky wrote
In the code mentioned above, is s=pin3 sentence necessary in Foo(a=pin1, d=green, s=pin3, d=pin4, c=red, b=pin2); and why???this doubt arose to me because s is a prt of Bar(q=red, s=pin3, r=green); right???
Thanks for noticing.  Not only is unnecessary, it's just plain wrong!  Cut-and-paste strikes again.
I'll fix the post.

--Mark