-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This wiki site records information on how to edit and debug SpecC code. Please feel free to update and expand the information if you have found a more efficient way. Sharing your thoughts will help all students.
The following Intro describes basic usage of the SpecC compiler and guides through an Hello World example.
The SCE toolchain uses the SpecC compiler and implements a top-down design methodology. Follow the sceIntro for starting with SCE.
As any language, SpecC could be written in any text editor such as vi or notepad. However, this bare metal editing can be cumbersome if it comes to compiling the code and hunting for bugs. The following list discusses how to expand commonly used editors/IDEs for use with SpecC.
- Emacs
- Notepad++
- Visual Studio Code has interesting remote editing capabilities
Any SpecC design can be debugged identical to any c++ code using a debugger like gdb or any of its variants integrated into your favorite IDE. For some basic guidance in how to approach the debugging, please check the following pages.
- Basic Debugging
- SLDL-specific Debugging Aids
- Debugging with DDD
- Signal Tracing with SpecC
- Debugging generated code on ISS
Happy debugging!
- Tutorial SpecC SLDL and the design methodology part 1, part 2
- SpecC Language Reference Manual (LRM) pdf
- Standard Channel Library
- System-on-Chip Environment (SCE) implements design methodology Overview Article
- SCE Intro: sceIntro
- SCE Tutorial html, pdf, (original link, Tutorial errata link)
- Integrated processors with Instruction Set Simulators processors
- Automatically execute refinement through Makefiles or the GUI tester application refinementAutomation
- Creating an own database module SCEDB
- GUI Tester API link
- Repository Layout and Rules repoRules
- Developing Tools using SIR
- Shapes template for Visio 2007 provide the basic object for SpecC pictures. Thanks to Scott Weiner (F09). If you have suggestions and extensions, please let me know -- they will help other students.