Thanks for the clarification! Now,
As i read the file opcodes.txt (that came with 0.8.2 tarball) in the VVP directory, i get to understand that there are two types of registers the index register(0-3) that are used with "ix" instruction set and the bit wise registers. So, two questions here. 1. How many bit wise registers are present? 2. What is the length of the index registers? please correct me if i'm wrong in understanding this. Thanks in advance, Regards, ~Karthik. --- Stephen Williams <[EMAIL PROTECTED]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Karthik Parashar wrote: > > Hi, > > > > Can anybody enlighten me on why some registers are > > made memory elements(defined as .mem), while > others > > are variables (defuined as .var) in the VVP > assembly? > > If they are declared as memories, they are > implemented as > memories. Whether a technology will implement them > as > memories is another story. For example: > > reg [7:0] foo[0:1]; > > is a memory. > > > I was implementing booth multiplier with 8bit > unsigned > > numbers as the operands, and my partial products > > turned out to be implemented as ".mem" > > > > Thanks in advance, > > > > ~Karthik. > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > - -- > Steve Williams "The woods are lovely, > dark and deep. > steve at icarus.com But I have promises to > keep, > http://www.icarus.com and lines to code > before I sleep, > http://www.picturel.com And lines to code > before I sleep." > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.5 (GNU/Linux) > Comment: Using GnuPG with Mozilla - > http://enigmail.mozdev.org > > iD8DBQFD3kd5rPt1Sc2b3ikRAtjbAKCqx1fYkjexbz4zDlqsttWOcT3EFwCgjs9j > st+zo1MCrz3xiEJ/mCuPLIM= > =SRj3 > -----END PGP SIGNATURE----- > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com