Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Pic24f read-after-write (stall case)

Status
Not open for further replies.

mandarsansare

Newbie level 6
Newbie level 6
Joined
Apr 28, 2012
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Thane,Maharashtra,IN
Visit site
Activity points
1,381
tbl.jpg

device:pIC24FJ256GB110

I am not getting the highlighted part. Why it is "Allowed"?????

Ref manual says:

Read-After-Write Dependency Rules If a working register, Wn, is used as a write operation destination in the current instruction, and the same working register, Wn, being read in the prefetched instruction are the same, the following rules will apply: 1. If the destination write (current instruction) does not modify the contents of Wn, no stalls will occur; or 2. If the source read (prefetched instruction) does not calculate an EA using Wn, no stalls will occur.

Any kind of help is appreciated!!! Thank You
 

The device manual paragraph "Read-After-Write Dependency Rules" is describing operations that will automatically take place during program execution. You don't need to take care of it, except if you are calculating cycle accurate execution times or consider how to optimize instruction flow when writing assembler code (I guess you don't).

What are you trying to achieve?
 

I am studying PIC24F for my future projects. I was reading datasheets and Ref. manuals....so this doubt came.
I m not trying to achieve anything regarding RAW dependency ....just I was curious to know..
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top