OpenCores
Issue List
pmem.sh corrupted #21
Closed kaspermaa opened this issue over 10 years ago
kaspermaa commented over 10 years ago

It seems that the generation of pmem.sh is somehow corrupted.

kaspermaa commented over 10 years ago

Hi Olivier.

First of all, really impressive and great project. Thanks you so much for sharing it to the open community.

I've might have found a minor bug when simulation the omsp430. Running the bash script named run, located at /trunk/core/sim/rtl_sim/run/, outputs the error: pmem.sh: line 1: include: command not found.

When looking into pmem.sh the first line is: include "openMSP430_undefines.v"

So somehow this line of text has found its way into pmem.sh. I've noticed that msp430-gcc is used to generate pmem.sh; I'm using msp430gcc version 4.6.3 and OpenMSP430 revision 190.

Hope this can help.

Best regards

Kasper Andersen

olivier.girard commented over 10 years ago

Hi Kasper,

I use msp430-gcc version 4.7.0 and it all works fine on my machine...

Could you send me your "openMSP430_defines.v" file (in the "rtl/verilog" directory) and the generated "pmem.h" file (in the "sim/rtl_sim/run" directory).

Maybe your setup has something special which would require an update of the "sed" commands in the "msp430sim" script.

Thanks a lot, Olivier

kaspermaa commented over 10 years ago

Hi again.

I've done a complete re-install of Ubuntu 13.10 and installed all entire msp430 toolchain from the default Ubuntu repo (msp430-gcc 4.6.3). All the simulations are running now without any errors. So I'll guess my old test environment was buggy somehow. But anyways, everything is working perfectly now, so this thread can be closed.

Again, thanks for this amazing project.

Best regards

Kasper Andesen

olivier.girard closed this over 10 years ago

Assignee
No one
Labels
Request