Brian Taylor
|
864ef7925c
|
Add notes on the structure and organization of an external d_process program.
|
2023-10-28 19:43:50 +02:00 |
Brian Taylor
|
5c6b9f03b5
|
Fix the zero count.
|
2023-10-28 19:43:41 +02:00 |
Brian Taylor
|
1f5f7ae439
|
Update d_process examples.
|
2023-10-28 19:43:36 +02:00 |
Brian Taylor
|
09f070f582
|
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-28 11:00:33 +02:00 |
Brian Taylor
|
4530cde8e2
|
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-28 11:00:18 +02:00 |
Brian Taylor
|
182764a894
|
Add examples/xspice/d_process.
|
2023-10-28 11:00:12 +02:00 |