This can be done with the spectre-simulink co-simulation capability (or ams-simulink co-simulation capability). Contact Cadence Customer Support for more details. If you really want to do this with Matlab (rather than Simulink) one possibility would be to build a SystemVerilog DPI-C wrapper using mathworks code generation capabilities (from Matlab) and then this can be simulated in AMS Designer as part of the simulation. I've an idea how this could be done with pure spectre too (not using SystemVerilog though), but that's currently not available (I'll chat with my contacts at the Mathworks though to see if we can do this in future). Regards, Andrew.
↧