Added external VPrint method for use for when Python print output not displayed on the console (E.g. Questa on Linux). Test updated to use this.
This commit is contained in:
parent
1acb3c8a00
commit
a12fb26cc5
3 changed files with 30 additions and 11 deletions
|
|
@ -162,6 +162,17 @@ int RunPython(const int node)
|
|||
|
||||
// Functions callable from Python
|
||||
|
||||
// ------------------------------------------------------------
|
||||
// Extrnal print function alternative for when Python print
|
||||
// output not displayed on the console (E.g. Questa on Linux).
|
||||
// ------------------------------------------------------------
|
||||
|
||||
uint32_t PyPrint(const char* str)
|
||||
{
|
||||
printf("%s\n", str);
|
||||
return 0;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------
|
||||
// VWrite wrapper function for Python
|
||||
// ------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue