Current todo items about PIC simulation

Zoltan Padrah zoltan.padrah at gmail.com
Sun Feb 26 21:06:20 UTC 2017


Hi,

I'm writing the current todo list below.  Also I've created a blog
post with the same content at :
https://zoltanp.github.io/2017/02/ktechlab-sdcc.html

I'm planning to write a blog post about the current status of KTechLab
and show that post to KDE people, for better visibility.




KTechLab (
[Github wiki](https://github.com/ktechlab/ktechlab/wiki) ;
[KDE Git repository](https://cgit.kde.org/ktechlab.git/)
)
in its current state is able to simulate circuits,
but it fails to simulate PICs with uploaded .c or .asm program,
because it is not able to properly generate .cod file from the
source code.

For simulating a PIC program, KTechLab needs to load
a .cod file into [gpsim](http://gpsim.sourceforge.net/).

Help is welcome in:

* documenting proper sdcc/gplink/gpasm usage for .cod file creation
   (no C++ coding is required for this ;-) );
* creating a few sample programs/projects for PICs, to be used for
   quick testing and included as a sample with KTechLab;

At the time of writing there is a junior C++ task, too:

* fixing KTechLab to actually compile the GPSim support, when it finds
   GPSim. Currently this is broken, because the `NO_GPSIM` macro
   ends up defined always. This macro should be converted to the
   `GPSim_FOUND` macro (and the negative logic removed).

If you feel like contributing to KTechLab,
please contact the project on the mailing list or on IRC.

Have fun with KTechLab!


 Zoltan


More information about the Ktechlab-devel mailing list