help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Verilog - x and z values with octave load


From: Joe Koski
Subject: Re: Verilog - x and z values with octave load
Date: Tue, 18 Jan 2005 09:27:44 -0700
User-agent: Microsoft-Entourage/11.0.0.040405

on 1/17/05 10:27 PM, Luke Darnell at address@hidden wrote:

> Hi,
> 
> I am trying to load some data from a verilog simulation.
> My verilog simulation dumps each variable I am interested in, to a file of the
> same name.
> I am then using the octave command "load variable_name" to load the required
> variable_name.
> I am running into problems the when variable file has undefined values, "x",
> or high impedance values "z".
> "load" doesn't seem to like "x" or "z" values.
> Is there a way I can change "load" to read in "x" and "z"??
> Or does anyone have a better way of reading in values from a verilog/vhdl
> simulation??
> 
Luke,

Two things to try. The octave C-style input format (e.g.,
fscanf(file_id,template,"C") allows line-by-line reading in a "for" loop
with the use of a specified format, but is slow for large files. Second,
since all you are trying to do is plot data, take a look at doing it
directly with gnuplot, especially if you have gnuplot 4.0. You already know
(almost) how to write the script if you have been using octave for plots,
and you have more options available than can be passed through octave to
gnuplot.

Joe




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]