-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Karthik Parashar wrote:
> Hi Steve,
> 
> One more question regarding the vvp assembly.
> I saw a #define MAX_VEC (256*1024) and an assert on
> this.
> 
> I guess this has something to do with the 64K bit wise
> registers in a vvp-thread. 
> 
> I could have expected this to be 2 times 2^16 because
> of 2 bits per signal to denote X and Z values.
> However, this is 4 times 2^16.

That define is in the vvp code generator, and not part of the vvp
run time. In fact, it is an arbitrary value and used to size an
allocation map. That map helps with thread bit allocation, which
is much like register allocation in a standard compiler.

The devel vvp no longer has a limit of 64K of thread bits, that
256K limit is entirely arbitrary (but convenient) in the vvp code
generator.
- --
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

iD8DBQFEGbtDrPt1Sc2b3ikRAlrYAJ0RMEf8gzimpOre3cJy3GGkKWi/bgCgvNQB
FnlHpXtTOa721RdbzRB9Eto=
=h7GR
-----END PGP SIGNATURE-----

Reply via email to