Error making a Simulator

17 views
Skip to first unread message

tartaru...@gmail.com

unread,
Mar 29, 2018, 6:53:41 AM3/29/18
to archc
Hello,

I allready made a simulator and now wanted to create one with the debug option.
I used acsim xxx.ac -noabi -g but when i did the make, there was an error as follows:

cp main.cpp.tmpl main.cpp
g++ -g -O3 -std=c++11  -DAC_MATCH_ENDIANNESS  -Wno-deprecated   -I. `pkg-config --cflags systemc` `pkg-config --cflags archc`  -c main.cpp
In file included from ARMv7EM.H:23:0,
                 from main.cpp:24:
ARMv7EM_arch.H:38:3: error: invalid use of template-name ‘ac_mem’ without an argument list
   ac_mem INST;
   ^
ARMv7EM_arch.H:40:3: error: invalid use of template-name ‘ac_mem’ without an argument list
   ac_mem MEM;
   ^

Since it allready worked ones, I am not sure what it could be.
I allready uninstalled and reinstalled SystemC and ArchC but it has no effect.

Hope for some help :)

Greetings

P.S.: The error also occours without the -g flag.

Rodolfo Azevedo

unread,
Apr 9, 2018, 3:55:54 PM4/9/18
to ar...@googlegroups.com
Hi,

  What model are you running? Does it keep giving this message if you change your model?

  Rodolfo
--
Rodolfo Jardim de Azevedo
http://www.ic.unicamp.br/~rodolfo
IC - UNICAMP
--
--
Rodolfo Azevedo
University of Campinas - Brazil
Reply all
Reply to author
Forward
0 new messages