forsyde / ForSyDe-SystemC

The SystemC implementation of the ForSyDe system modeling and simulation methodology
http://forsyde.ict.kth.se
Other
8 stars 4 forks source link

XMLExport dumper doesn't generate file #3

Open tpvidigal opened 7 years ago

tpvidigal commented 7 years ago

While running the mulacc example, the ForSyDe instrospection block (top.hpp) caused error at the start of the simulation, because XMLExport dumper couldn't generate the XML file. Forcing the elimination of this block during preprocessing (#define FORSYDE_INSTROSPECTION), the example worked perfectly. I installed and run the example using ForSyDe-Shell in Ubuntu 16.04 LTS.

shaniaki commented 7 years ago

What is the error? Have you checked if the target (sub-)folder for XML generation exists?

tpvidigal commented 7 years ago

Couldn't find the file, but in fact it was missing the directory "gen". The ForSyDe-Shell generates a directory "xml" but the XMLExport uses "gen". That is the correct behaviour? Or the shell should make the "gen" dir?