Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

transfer data problem

Altera_Forum
Honored Contributor II
1,231 Views

Hi, I use QuartusII 4.0, Nios 3.1 and Stratix 1S10. 

 

I design an user logic circuit. There are 3 registers in it, and each of them has its own address. 

 

In software, I write data to these register sequentially, like 

 

*p = 10.0; // p is the address of the first register, (p+1) is the address of the second register 

*(p+1) = 15.0; 

 

Then I use modelsim to observe the waveform, and I find there are 11 clock between the two transfer. 

 

That means after the first transfer for the first register, and wait 11 clk, then the second transfer starts. 

 

Why there are so many clock cycles between these two transfer ? 

 

Thanks a lot. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/ohmy.gif
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
518 Views

Hi pipiwau, 

What kind of Nios II processor r u using (e,s,f) (DMIPS is different from clock frequency..)?or are u using multiclock domain in your project?
0 Kudos
Altera_Forum
Honored Contributor II
518 Views

I use Nios 3.1, not niosII processor. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif

0 Kudos
Altera_Forum
Honored Contributor II
518 Views

anybody know?? http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/unsure.gif

0 Kudos
Reply