06-07-2012 10:19 PM
I have a setup where Xilinx ML506-board controls motor drive, and it's very important to know what happens if the ethernet connection fails.
The control itself is implemented to run independently in the FPGA-board (with VHDL-black boxes and System Generator Blocks), but I use co-simulation to exchange monitoring data and basic higher-level user control (power on/off, etc....) with shared memory blocks (to user GUI made with Matlab GUIDE).
Now, for example, if I stop the simulation all shared memory blocks which have been set to initialize to some value (for example boolean high state, where the control logic is active low for power on/off control) are set to zero which results in forbidden behavior (power and all other active low logic is driven to active state).
So, the question is, has the behavior of the HW Co-Sim been documented in the case of a lost ethernet connection and are there any possibilities to control the behavior? Would be nice if the free clock running control logic could keep running in the FPGA, and be able to reconnect to the FPGA-board without disturbing the control itself.
06-08-2012 12:06 AM
if you have a working example, why don't you just try it? (Under save working conditions, when you are doing something with motors.)
One more thing:
I doubt that the ML-506 board used via the ethernet connection can work in free-running mode.
For free running mode you have to define I/Os, which can only be done with a new board definition file, and that can only use JTAG. (Or have you found some solution for this)
Also, the ethernet core IP used in the HW-Cosim interface needs a full license to run unlimited.
Without this IP-license it terminates its function after about 7 hours.
Check my other posts regarding these problems.
Have a nice simulation