Hi, Jay,

If you're using a modern-ish version of Simulink, look for the "WaveScope" 
block.  It will do exactly what you want.  It is far better than the old 
"Scope" block.  If you give the signals names, the WaveScope block will show 
you a nice logic analyzer view of your signals during simulation.  It only 
captures and shows the signals that you've asked for; if you want to see 
another signal, you can add it to WaveScope, but you'll have to re-run the 
simulation.  One fantastic thing is about it is that you can easily watch 
signals at different levels of hierarchy, which is not so convenient to do 
using the old Scope block.

Hope this helps,
Dave

On Sep 5, 2013, at 6:24 PM, Jay Brady wrote:

> Is there a way to look at the binary values on a wire (a la Chipscope) while 
> simulating using Simulink?
>  
> I have a chunk of a ROACH1 model that I’ve been designing and simulating in 
> simulink. As I’m running my simulations, I need to check the values on some 
> of the wires, and the only ways I know how to do that are with “gateway out” 
> + “scope”, or  “gateway out” + “to workspace” blocks. I would like to look at 
> the binary values on wires, rather than doubles the gateway blocks give me, 
> from a simulink simulation (like I can using Chipscope, except without 
> actually compiling and running a boffile on the ROACH). Does anyone know a 
> way to do this?
>  
> Jay
>  
> (yes, I can just num2bin() the output, but I wonder if there is another way)
>  
>  


Reply via email to