URL
https://opencores.org/ocsvn/mod_sim_exp/mod_sim_exp/trunk
Subversion Repositories mod_sim_exp
Compare Revisions
- This comparison shows the changes necessary to convert path
/mod_sim_exp
- from Rev 81 to Rev 80
- ↔ Reverse comparison
Rev 81 → Rev 80
/trunk/rtl/vhdl/core/operand_ram_asym.vhd
53,7 → 53,6
use ieee.std_logic_unsigned.all; |
|
library mod_sim_exp; |
use mod_sim_exp.mod_sim_exp_pkg.all; |
use mod_sim_exp.std_functions.all; |
|
-- structural description of a RAM to hold the operands, with |
119,7 → 118,7
signal addrA_single : std_logic_vector(log2(width*depth/32)-1 downto 0); |
begin |
addrA_single <= operand_in_sel & operand_addr; |
ramblock : tdpramblock_asym |
ramblock : entity mod_sim_exp.tdpramblock_asym |
generic map( |
depth => depth, |
width => width, |
152,7 → 151,7
addrA <= operand_in_sel & operand_addr(log2(RAMblock_maxwidth/32)-1 downto 0); |
|
full_ones : if (i < nrRAMblocks_full) generate |
ramblock_full : tdpramblock_asym |
ramblock_full : entity mod_sim_exp.tdpramblock_asym |
generic map( |
depth => depth, |
width => RAMblock_maxwidth, |
201,7 → 200,7
signal weA_part : std_logic; |
begin |
addrA_part <= operand_in_sel & operand_addr(log2(RAMblock_part_width/32)-1 downto 0); |
ramblock_part : tdpramblock_asym |
ramblock_part : entity mod_sim_exp.tdpramblock_asym |
generic map( |
depth => depth, |
width => RAMblock_part_width, |
/trunk/rtl/vhdl/core/modulus_ram_asym.vhd
54,7 → 54,6
|
library mod_sim_exp; |
use mod_sim_exp.std_functions.all; |
use mod_sim_exp.mod_sim_exp_pkg.all; |
|
-- structural description of a RAM to hold the modulus, with |
-- adjustable width (64, 128, 256, 512, 576, 640,..) and depth(nr of moduluses) |
128,7 → 127,7
waddr <= modulus_in_sel & modulus_addr(log2(RAMblock_maxwidth/32)-1 downto 0); |
|
full_ones : if (i < nrRAMblocks_full) generate |
ramblock_full : dpramblock_asym |
ramblock_full : entity mod_sim_exp.dpramblock_asym |
generic map( |
width => RAMblock_maxwidth, |
depth => depth, |