The C interface has the following features:
You can pass data between e modules and C modules.
You can call C routines from e code, even if that C routine has no knowledge of e.
You can use e data types in C code.
You can call e methods and manipulate e data from C code.
You can access any global data under sys in C code.
For best performance, you can compile and statically link C code with Specman Elite.
For easier debugging of your e code, you can dynamically load C code as a shared library into Specman Elite.[1]
[1] . In this chapter, we do not discuss dynamic loading of C code. The dynamic linking mechanism is very similar to the static linking mechanism with minor differences. Therefore, the discussion of dynamic linking is left for Specman Elite reference manuals.