RAM8

RAM8

Hello,

I am currently trying to get my RAM8 to work, however I am unfortunately failing.  I have already discovered what the problem is, but in order to fix it it would require me to mess with the registers, which is something I rather not do and I presume I am not supposed to either. 

As you can see, every time load equals true, ALL of the registers are updated, but since every way of DMux8Way16 except for the one in which 'in' is inserted is null, every other register is set to null.  How do I solve this without having to resort to changing the registers? 

Regards,
Sebastian

PS: My compliments on the book.  So far it has been a very satisfying learning experience! 

Re: RAM8

Re: RAM8

Hi Evan,
I have got as far as the Ram8.  I have had some distractions and have "lost the thread". 
After going back to the Register and DMux, I'm still stuck. 
I'd sooooo appreciate any help or hints. 
Following your hint to Sebastian, I came up with the following:
PARTS:
DMux8Way(sel=address,a=a,b=b,c=c,d=d,e=e,f=f,g=g,h=h);
Register(in=in,load=a,out=aa);
Register(in=in,load=b,out=bb);
Register(in=in,load=c,out=cc);
Register(in=in,load=d,out=dd);
Register(in=in,load=e,out=ee);
Register(in=in,load=f,out=ff);
Register(in=in,load=g,out=gg);
Register(in=in,load=h,out=hh);
}
Thanks
Mike

Re: RAM8

Hi,
Thanks for these hints.  Sorry - I still don't get it! 
After lots of gyrations, I added the same last line as did Sebastian:
"Mux8Way16(a=aa,b=bb,c=cc,d=dd,e=ee,f=ff,g=gg,h=hh,sel=address,out=out);"
Where can I turn for enlightenment? 
Thanks
Mike

Re: RAM8

Re: RAM8

Hi ybakos and Mark,
Thanks for your help and patience.  I eventually stumbled upon the solutions for the memory chips and have completed, including the RAM16K. But I've gotta say that I did not "get" your directions - only encouragement to persist (which was valuable). 
gust, thanks for your attempted rescue. :-) 
Onward and upward! 
Mike