Skip to content

Problem with my data send from C application to wishbone bus #962

Answered by stnolting
50L31L asked this question in Q&A
Discussion options

You must be logged in to vote

Is that normal ? or is there a way to make write action more faster ?

I depends on your application, but in general, yes, this is normal. 😉

Memory accesses consist not only of the actual LOAD/STORE operations, but also of instructions for pointer increments, loops, etc. The CPU therefore needs several clock cycles to execute a single memory access (e.g. writing a single word). If you need faster memory transfers without so much overhead, you could either optimize your code (for example using the Duff's Device approach) or you could use the processor's DMA.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@50L31L
Comment options

@stnolting
Comment options

@50L31L
Comment options

@stnolting
Comment options

Answer selected by 50L31L
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants