Commit Graph

7 Commits

Author SHA1 Message Date
Brian Taylor 2a622e0eef Fix d_process named pipes example. Use the correct gtkwave command for MacOS.
The following is also required:
commit 527b8378e8
Author: Brian Taylor <lbwnet@comcast.net>
Date:   Wed Apr 10 13:24:48 2024 -0700

    Fix circuits so that gtkwave tests run on MacOS. Add encoder/decoder example.
2025-01-26 11:52:11 -08:00
Brian Taylor b75f531206 Add notes on the structure and organization of an external d_process program. 2023-10-23 17:15:46 -07:00
Brian Taylor b35810c5a5 Fix the zero count. 2023-10-22 20:47:59 -07:00
Brian Taylor 5cf4be0af1 Update d_process examples. 2023-10-20 11:38:21 -07:00
Brian Taylor fb3866d2bf Error handling improvements in cfunc.mod. Ensure that d_process.h wiil always respond to version and interface checks sent from sendheader. This is needed so that the pipe reads in sendheader do not cause Windows to hang when the interface version and in/out counts do not match. This hang was the cause of errors not being reported and the Windows gui hanging. Startup and header checks are now detected in cm_d_process, and the simulator will run but with runtime errors since a d_process model cannot be completely instantiated after initial errors. It would be good to find a means of gracefully halting the simulation run. 2023-10-16 13:19:43 -07:00
Brian Taylor 73010da4e9 Use Xspice cm_message_send to report errors rathen than printing to stderr and calling exit. When a d_process model has errors found in start(), sendheader(), and dprocess_exchangedata() these are reported, but if the model is run a SIGINT is raised. There must be a better way of stopping the simulator. 2023-10-13 18:15:38 -07:00
Brian Taylor fcb61e5c3e Add examples/xspice/d_process. 2023-10-11 15:03:57 -07:00