victoriya
Member level 2
- Joined
- Oct 26, 2010
- Messages
- 50
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,288
- Activity points
- 1,594
I have an sram memory . it's data width , address bus width and depth all are parametric.my sram depth is d and the address bus width must be log2(d) and represented by c parameter . I import the math function library by several methodes in my code but neither of them worked and there were errors.
I don't know how to write the width of address bus by the log2(d) and c parameter.
also the address port specifies the data which is written to the sram or read from it.I want to know how to define a register to determine the place of sram. for example some thing like this ( r[addr]).
my software is active hdl.
any help will be appreciated.
I don't know how to write the width of address bus by the log2(d) and c parameter.
also the address port specifies the data which is written to the sram or read from it.I want to know how to define a register to determine the place of sram. for example some thing like this ( r[addr]).
my software is active hdl.
any help will be appreciated.
Last edited: