keerthna
Member level 1
- Joined
- Sep 16, 2014
- Messages
- 33
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 6
- Activity points
- 251
I am trying to read the values of memory after 5 cycles into an output register. How do I do that?
For example if i have a code which looks like this,
after the 5 cycles of operation whatever mem values i get, how do i read them in another output register? and can i perform averaging operation on those 5 cycles? and get a nominal value?
For example if i have a code which looks like this,
Code dot - [expand] 1 2 3 4 5 6 7 8 reg[31:0] mem[0:5]; if(high==1) begin newcount1<=count2; mem[i]<=newcount1; i<=i+1; count2=0; end
after the 5 cycles of operation whatever mem values i get, how do i read them in another output register? and can i perform averaging operation on those 5 cycles? and get a nominal value?
Last edited by a moderator: