Hi, A couple of more questions to understand the VVP better! (though a long mail, please go through this and kindly reply!)
I want to know the difference between the host of arithmetic and logical instruction that VVP contains. As i understand, broadly, there are 2 types of arithmetic and logical instruction. The structural type and the procedeural(supposedly generated from the behavioral code) What does it mean in terms of verilog code, to generate 1.a structural addition like .arith/add 2.an indexed addition like %ix/add 3.a behavioral addition %add Also since the above class of instructions exist for other arithmetic and logical instructions, it is important to understand this distiction so as to understnad VVP. Similarly, there are thread load/store and the index register load store instructions. As i understand, all the nets and vars are modeled as thread wise, single bit registers where as the index registers are used to load and store from memory or store temporary states of nets and vars. Please correct me if i'm wrong! Rgds, ~Karthik. --- Karthik Parashar <[EMAIL PROTECTED]> wrote: > And about the bit wise registers ? > As i understand, instructions like %load uses them > to > load a signal (of the .net type). > > Rgds, > ~Karthik. > > > --- Stephen Williams <[EMAIL PROTECTED]> wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Karthik Parashar wrote: > > > 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? > > > > The index registers are native longs, not Verilog > > vectors, > > so 32bit on a 32bit host, 64bits on a 64bit host, > > etc. > > And in post-0.8 snapshots they can also be real > > values. > > > > - -- > > 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 > > > > > iD8DBQFD36JWrPt1Sc2b3ikRArqRAJ9+QRH0RqOixb+oQXRwxhvcd2qEXwCgi6xy > > /cgUd7G/Ai/N75X1314v1qY= > > =QbBp > > -----END PGP SIGNATURE----- > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com