[gem5-users] Using Emulated driver in SE mode

2021-08-02 Thread hissa alshamsi via gem5-users
Hello everyone, I am struggling with establishing a communication between an io device and the CPU in SE mode. In order to do that I have referred to the codes in https://github.com/powerjg/gem5/commit/86394e326cede3be7b26eb728dd6a9a0a93406 , where an emulated driver has been used. In

[gem5-users] Memory mapped I/O

2021-07-23 Thread hissa alshamsi via gem5-users
Hello everyone, I am trying to write data to a memory mapped queue in gem5. I have created a queue as a SimObject which is connected by PIO port. I am working on SE mode and want to enqueue data to the queue from the user-mode program. The device registers has been mapped to the program

[gem5-users] Running multithreaded program in SE mode

2021-07-09 Thread hissa alshamsi via gem5-users
Hello everyone, I am using m5threads library (installed from GitHub) for running a multithreaded program in SE mode (gem5 version 20.1.0.0). The program works fine with 2 threads and 2 out-of-order CPUs by using this command: build/X86/gem5.opt configs/example/se.py -n 2 --cpu-type=DerivO3CPU

[gem5-users] Issue in using HMC in SE mode

2021-06-26 Thread hissa alshamsi via gem5-users
Hello, I am using gem5.20 and trying to run the hello world program in se.py using HMC, but I’m getting an error saying I’m trying to initiate an orphan node. build/X86/gem5.opt configs/example/se.py --cmd=tests/test-progs/hello/bin/x86/linux/hello --mem-type=HMC_2500_1x32 Traceback (most

[gem5-users] Fatal error while running multithreaded program in SE mode

2021-06-25 Thread hissa alshamsi via gem5-users
Hi everyone, I am trying to run a multithreaded program in SE mode, after installing m5thread and following the steps in https://github.com/WeijingShi/playground/blob/master/Run-openmp-code-in-gem5.md But I keep getting that syscall getdents unimplemented. This is the line I have used:

[gem5-users] HMC in SE mode using a single vault controller

2021-06-22 Thread hissa alshamsi via gem5-users
Hi everyone, I am trying to use HMC in SE mode. The problem is when I run hello world binary file or any other larger benchmark, apparently from stats.txt only one vault controller is being used. I don't know why the other controllers are shown to be in IDLE state with zero values. I have

[gem5-users] In-memory processor taking over the contents of host processor in SE mode

2021-06-21 Thread hissa alshamsi via gem5-users
Hello, I am using SE mode in gem5 and trying to implement the concept of processing in memory. I have added a TimingSimpleCPU in the memory configuration and trying to make it takeover all the contents of the host processor to be operated in the memory instead of the host CPU. I found out that

[gem5-users] A problem in using PIMProcess function of gem5-based PIMSim

2021-06-17 Thread hissa alshamsi via gem5-users
Hello, I am trying to compile a PIMProcess function in gem5-based PIMSim. The function includes takeOverFrom() which is supposed to let PIM cores take over all the contents from host-side CPU. These are the lines for pim_cpu configuration in the memory, where I have added an interrupt