OpenCores
URL https://opencores.org/ocsvn/leros/leros/trunk

Subversion Repositories leros

[/] [leros/] [trunk/] [doc/] [notes.txt] - Blame information for rev 3

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 martin
Some possible changes/enhancements:
2
 
3
The address register for indirect load/stores could be made
4
permanent and visible. One could reuse the loaded contents
5
for several DM accesses (e.g. local variables on the stack).
6
Would need an additional register and a MUX selecting from
7
that register or forwarding the just read address from the
8
DM.
9
 
10
If not implementing this address register, the combination
11
of load address and load/store should be implemented as
12
a pseudo instruction in the assembler to avoid programming
13
errors:
14
        load (Rx+n)
15
        store (Rx+n)
16
 
17
The content of A could also be written into DM in the next
18
cycle. This would extend the pipeline to three stages. But
19
it would be a funny mix between a register architecture and
20
an accumulator architecture, where the result is written
21
into two places (A and Rx). Would safe a store sometimes.
22
 
23
        A + Rx -> A, Ry
24
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.