Rev |
Log message |
Author |
Age |
Path |
865 |
Raise illegal instruction exception when l.ror is not implemented
Instead of throwing an illegal instruction exception when the rotate
instructions are disabled (OR1200_ALU_IMPL_ROTATE is undefined), another
instruction (slr?) was executed instead.
This closes bug 97
Signed-off-by: Olof Kindgren <olof at opencores.org>
acked-by: Julius Baxter <julius at opencores.org> |
olof |
3865d 13h |
/openrisc/trunk/ |
864 |
ORPSoC: Merge display_arch_state tasks
or1200-monitor contains the tasks display_arch_state and display_arch_state_except which are almost identical. This patch merges these two tasks into one, with a parameter to specify whether it should print out "(exception)" or not
Signed-off-by: Olof Kindgren <olof@opencores.org> |
olof |
3958d 00h |
/openrisc/trunk/ |
863 |
ORPSoC: Add paramers to or1200-monitor for setting name and path of log files
Two small patches in one to make or1200-monitor more useful outside of orpsocv2:
- Setting log path with a parameter allows more flexible directory layout
- if the plusarg "testcase" is set at runtime, this is used to set a unique
prefix for the log files. Plusargs are currently not used in orpsocv2, so if
it is not set, the name falls back to the value of the parameter
TEST_NAME_STRING. The value of the parameter is set to the define
`TEST_NAME_STRING in the test bench top levele to avoid any changes to the
orpsocv2 scripts. With this, we can get rid of `include test-defines in
or1200_monitor.v
Signed-off-by: Olof Kindgren <olof@opencores.org> |
olof |
3964d 04h |
/openrisc/trunk/ |
862 |
sysc: avoid using orpsoc internal classes directly
The problem with using the internal classes directly is
that you have to use the internally generated name,
this in itself is perhaps not such a big issue, the issue
is that the internal name changes when the underlaying verilog
design changes.
This works around this by using the classes through the
top module, which is part of the external api. |
stekern |
3974d 20h |
/openrisc/trunk/ |
861 |
sysc: include unistd.h
write, read, pipe et al are declared in this, newer gcc will
warn on missing declerations, thus making the build to fail |
stekern |
3974d 20h |
/openrisc/trunk/ |
860 |
or1200_monitor.v: Remove trailing whitespace |
olof |
3979d 01h |
/openrisc/trunk/ |
859 |
Execute trapped instruction after breakpoint is removed
Closes bug #104
When the instruction replaced by a trap instruction is restored by the
debugger, this instruction is not executed.
Proposed solution:
- Checked for a debug unstall condition plus a trap condition in
or1200_du(dbg_stall && |except_stop).
- Then, when this event occur, flush the entire pipeline (in or1200_ctrl) and
set the pc to npc in or1200_genpc(which is equal to the trapped instruction
address).
Signed-off-by: Franck Jullien <crevars at opencores.org>
acked-by: Olof Kindgren <olof at opencores.org> |
olof |
3979d 03h |
/openrisc/trunk/ |
858 |
orpsoc/tests: Fix or1200-dsxinsn when caches are not present
This test would go into an endless loop when caches are not present. |
stekern |
4079d 09h |
/openrisc/trunk/ |
857 |
orpsocv2: remove reference to r32 in context save/restore |
julius |
4088d 23h |
/openrisc/trunk/ |
856 |
Fixed rounding of UART divisor |
skrzyp |
4133d 02h |
/openrisc/trunk/ |
855 |
Publish OR1K 1.0 architecture spec |
julius |
4176d 01h |
/openrisc/trunk/ |
854 |
Add OR1200_OR32_LWS define to board specific or1200_defines.v |
stekern |
4185d 18h |
/openrisc/trunk/ |
853 |
Declare pcreg_boot before usage
When things were moved around in rev 813, this error was introduced
Signed-off-by: Olof Kindgren <olof at opencores.org>
acked-by: Julius Baxter <julius at opencores.org> |
olof |
4211d 03h |
/openrisc/trunk/ |
852 |
Declare pcreg_boot before usage
When things were moved around in rev 813, this error was introduced
Signed-off-by: Olof Kindgren <olof at opencores.org>
acked-by: Julius Baxter <julius at opencores.org> |
olof |
4211d 03h |
/openrisc/trunk/ |
851 |
changed branch delay flags |
skrzyp |
4214d 03h |
/openrisc/trunk/ |
850 |
or1200_genpc: fix ipcu_cycstb_o generation
In some circumstances the CPU is still waiting for the lsu to finish
while in a pre branch state. However, ipcu_cycstb_o is set and the cycle
starts with the wrong address on the iwb bus (the one before the
branched address).
This fixes this issue.
Patch by: Franck Jullien <franck.jullien@gmail.com> |
stekern |
4225d 19h |
/openrisc/trunk/ |
849 |
or1200: Fix for cache bug related to first_{hit|miss}_ack
Under certain circumstances, when first_hit_ack and
first_miss_ack is asserted at the same time, cache data
would wrongly be overwritten with bus data.
Patch by: Matthew Hicks <firefalcon@gmail.com> |
stekern |
4225d 19h |
/openrisc/trunk/ |
848 |
or1200: l.lws support
Using the l.lws instruction doesn't work currently.
It simply skips the instruction. No exception or reaction.
The patch attached simply duplicates the behaviour of
l.lwz for l.lws.
Patch by: Jeppe Græsdal Johansen <jjohan07@student.aau.dk> |
stekern |
4225d 19h |
/openrisc/trunk/ |
847 |
or1200_genpc: fix ipcu_cycstb_o generation
In some circumstances the CPU is still waiting for the lsu to finish
while in a pre branch state. However, ipcu_cycstb_o is set and the cycle
starts with the wrong address on the iwb bus (the one before the
branched address).
This fixes this issue.
Patch by: Franck Jullien <franck.jullien@gmail.com> |
stekern |
4225d 19h |
/openrisc/trunk/ |
846 |
or1200: Fix for cache bug related to first_{hit|miss}_ack
Under certain circumstances, when first_hit_ack and
first_miss_ack is asserted at the same time, cache data
would wrongly be overwritten with bus data.
Patch by: Matthew Hicks <firefalcon@gmail.com> |
stekern |
4225d 19h |
/openrisc/trunk/ |
845 |
or1200: l.lws support
Using the l.lws instruction doesn't work currently.
It simply skips the instruction. No exception or reaction.
The patch attached simply duplicates the behaviour of
l.lwz for l.lws.
Patch by: Jeppe Græsdal Johansen <jjohan07@student.aau.dk> |
stekern |
4225d 19h |
/openrisc/trunk/ |
844 |
|
skrzyp |
4226d 12h |
/openrisc/trunk/ |
843 |
Applied RDiez suggestions |
skrzyp |
4226d 12h |
/openrisc/trunk/ |
842 |
Moving GDB 7.1 into the old collection. |
jeremybennett |
4228d 10h |
/openrisc/trunk/ |
841 |
GDB 7.2 is now considered the stable version. |
jeremybennett |
4228d 11h |
/openrisc/trunk/ |
840 |
Relocate GDB 6.8 to the old directory. |
jeremybennett |
4228d 11h |
/openrisc/trunk/ |
839 |
Forgot about updating linker flags, thanks RDiez! |
skrzyp |
4229d 14h |
/openrisc/trunk/ |
838 |
added branch-delay option and sets r0 to zero |
skrzyp |
4230d 03h |
/openrisc/trunk/ |
837 |
Instructions redirecting users to new directories. |
jeremybennett |
4236d 08h |
/openrisc/trunk/ |
836 |
The old legacy directory, which just a README these days. |
jeremybennett |
4236d 09h |
/openrisc/trunk/ |