URL
https://opencores.org/ocsvn/mod_mult_exp/mod_mult_exp/trunk
[/] [mod_mult_exp/] [trunk/] [bench/] [vhdl/] [mod_mult/] [ModularMultiplierIterative32bitTB.vhd] - Diff between revs 3 and 4
Show entire file |
Details |
Blame |
View Log
Rev 3 |
Rev 4 |
Line 6... |
Line 6... |
---- and exponentiator project ----
|
---- and exponentiator project ----
|
---- http://opencores.org/project,mod_mult_exp ----
|
---- http://opencores.org/project,mod_mult_exp ----
|
---- ----
|
---- ----
|
---- Description: ----
|
---- Description: ----
|
---- This is TestBench for the Montgomery modular multiplier ----
|
---- This is TestBench for the Montgomery modular multiplier ----
|
---- with the 64 bit width. ----
|
---- with the 32 bit width. ----
|
---- it takes two nubers and modulus as the input and results ----
|
---- it takes two nubers and modulus as the input and results ----
|
---- the Montgomery product A*B*(R^{-1}) mod M ----
|
---- the Montgomery product A*B*(R^{-1}) mod M ----
|
---- where R^{-1} is the modular multiplicative inverse. ----
|
---- where R^{-1} is the modular multiplicative inverse. ----
|
---- R*R^{-1} == 1 mod M ----
|
---- R*R^{-1} == 1 mod M ----
|
---- R = 2^word_length mod M ----
|
---- R = 2^word_length mod M ----
|
---- and word_length is the binary width of the ----
|
---- and word_length is the binary width of the ----
|
---- operated word (in this case 64 bit) ----
|
---- operated word (in this case 32 bit) ----
|
---- To Do: ----
|
---- To Do: ----
|
---- ----
|
---- ----
|
---- Author(s): ----
|
---- Author(s): ----
|
---- - Krzysztof Gajewski, gajos@opencores.org ----
|
---- - Krzysztof Gajewski, gajos@opencores.org ----
|
---- k.gajewski@gmail.com ----
|
---- k.gajewski@gmail.com ----
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.