Author |
Message |
Topic: Memory Callback Functions Problems |
DominicChan
Replies: 7
Views: 11193
|
Forum: Ask a Question Posted: Wed Nov 11, 2009 1:56 am Subject: Memory Callback Functions Problems |
In addition, gdb seems not be able to read the memory locations that are defined for a callback function.
e.g.
If I define:
icmAddWriteCallback(
host_processor, ... |
Topic: Memory Callback Functions Problems |
DominicChan
Replies: 7
Views: 11193
|
Forum: Ask a Question Posted: Thu Nov 05, 2009 10:30 pm Subject: Code |
I am using OVPSim v20090319.0.
For the platform, I have two files:
platorm.c
#include <stdlib>
#include <stdio>
#include "icm/icmCpuManager.h"
#include "i ... |
Topic: Memory Callback Functions Problems |
DominicChan
Replies: 7
Views: 11193
|
Forum: Ask a Question Posted: Wed Nov 04, 2009 3:12 am Subject: Memory Callback Functions Problems |
Dear Sir,
I created two memory write call back functions for two addresses (address_1 and address_2) for a processor.
In the address_1 call back function, I use icmWriteProcessorMemory to write ... |
Topic: _start and semi-hosting conflict |
DominicChan
Replies: 3
Views: 6090
|
Forum: Ask a Question Posted: Tue Sep 22, 2009 7:02 pm Subject: _start and semi-hosting conflict |
$(IMPERAS_LD) -o $@ --section-start .text=0 $^
gives me error messages:
undefined reference to `_fopen'
undefined reference to `_fread'
undefined reference to `_fwrite'
and that's why I though ... |
Topic: _start and semi-hosting conflict |
DominicChan
Replies: 3
Views: 6090
|
Forum: Ask a Question Posted: Tue Sep 22, 2009 2:26 am Subject: _start and semi-hosting conflict |
Dear Sir,
I used the OVP examples as template and created an application:
(1) in asmtest.S, I defined
.org 0x10000
.global _start
_start:
...
l.movhi ... |
Topic: How to compile cache model with VMI interface version 2.0.10 |
DominicChan
Replies: 3
Views: 11524
|
Forum: Memories and Caches Posted: Tue Apr 07, 2009 7:43 pm Subject: How to compile cache model with VMI interface version 2.0.10 |
Dear Sir,
That was my mistake. I forgot to do a make clean before creating a new cache model and therefore an old version of cache.o was used.
Best Regards,
Dominic |
Topic: How to compile cache model with VMI interface version 2.0.10 |
DominicChan
Replies: 3
Views: 11524
|
Forum: Memories and Caches Posted: Tue Apr 07, 2009 3:07 am Subject: How to compile cache model with VMI interface version 2.0.10 |
Dear Sir,
I downloaded the latest OVP Sim and OR1K toolchain and installed OK. Then I created a cache model and run an application with the created cache model and the simulator gave this error:
... |
Topic: How to get number of CPU cycles simulated? |
DominicChan
Replies: 1
Views: 4436
|
Forum: Ask a Question Posted: Mon Mar 09, 2009 7:55 pm Subject: How to get number of CPU cycles simulated? |
Dear Sir,
I am using the Or1K CPU model within the OVPSim and when the simulation finished, OVPSim will report the number of instructions simulated. Is there a way to get OVPSim to report the numbe ... |
Topic: Less Cache Models in 20090123 release |
DominicChan
Replies: 2
Views: 9595
|
Forum: Memories and Caches Posted: Mon Mar 09, 2009 7:27 pm Subject: Less Cache Models in 20090123 release |
Thanks for your reply. I would be grateful if you can send me the source code to
dominicchan@astri.org
Thanks a lot. |
Topic: Less Cache Models in 20090123 release |
DominicChan
Replies: 2
Views: 9595
|
Forum: Memories and Caches Posted: Thu Mar 05, 2009 3:16 am Subject: Less Cache Models in 20090123 release |
Dear Sir,
I downloaded the latest OVPsim release 20090123 and released that there are less cache models than the previous release. Is it possible that I re-use some of the previous release cache mo ... |
Topic: printf() semihosting |
DominicChan
Replies: 1
Views: 4732
|
Forum: First time - readme Posted: Fri Jan 30, 2009 12:55 am Subject: printf() semihosting |
Dear Sir,
I was following the "$IMPERAS_HOME/Examples/Platforms/semihosting" example and the application is doing a printf(). I assume this is done through the semihosting mechanism.
H ... |
Topic: "OVP_Processor_Modeling_Guide.pdf" is corrupted |
DominicChan
Replies: 1
Views: 4664
|
Forum: First time - readme Posted: Fri Jan 16, 2009 3:05 am Subject: "OVP_Processor_Modeling_Guide.pdf" is corrupted |
Dear Sir,
Acrobat reader says the file "OVP_Processor_Modeling_Guide.pdf" is corrupted. I got this from the OVP_SIM package.
Is there one that I can download?
Best Regards,
Dominic |
Topic: Cannot find cache model |
DominicChan
Replies: 4
Views: 7603
|
Forum: First time - readme Posted: Mon Jan 12, 2009 7:45 pm Subject: Cannot find cache model |
Hi Lee,
I installed the latest version of OVPSim of and run transparentMMC example OK.
Many thanks for your help,
Dominic |
Topic: Cannot find cache model |
DominicChan
Replies: 4
Views: 7603
|
Forum: First time - readme Posted: Sun Jan 11, 2009 10:51 pm Subject: Cannot find cache model |
Hi Lee,
Thanks for your reply. I enclosed the answers to your questions.
Also I downloaded the OR1K OVP package on 26-Non-2008
Thanks a lot,
Dominic
> 1. Which Example you are referr ... |
Topic: Cannot find cache model |
DominicChan
Replies: 4
Views: 7603
|
Forum: First time - readme Posted: Thu Jan 01, 2009 11:54 pm Subject: Cannot find cache model |
Dear Sir,
I followed the doc "OVPsim_and_CpuManager_User_Guide.pdf" and for Chapter 10 - Cache examples, the platform and application can be compiled OK. But when I start the simulation, ... |
|