Skip to content

Commit

Permalink
WRspice: release bumped to 4.3.20.
Browse files Browse the repository at this point in the history
  • Loading branch information
wrcad committed Sep 15, 2024
1 parent e1c3215 commit c4c3201
Show file tree
Hide file tree
Showing 5 changed files with 106 additions and 6 deletions.
9 changes: 5 additions & 4 deletions wrspice/bin/csvtoraw.cc
Original file line number Diff line number Diff line change
Expand Up @@ -317,12 +317,13 @@ double *num_parse(const char **line, bool no_units_txt)
}


// cvstoraw: convert a space/comma separated file to a rwfile.
// cvstoraw: convert a space/comma separated file to a rawfile.
//
// Usage: csvtoraw -|filename
// output to standard output.
// Usage: csvtoraw [filename]
// Output goes to standard output. Input from the file is a name
// was given, or stdin otherwise.
//
// A "csv" (comma-separated values) is assumed to have a form as
// A "csv" (comma-separated values) file is assumed to have a form as
// described below.
// o Any lines that start with white space or a comment character
// ahead of the header line are ignored. Comment characters are *#!.
Expand Down
40 changes: 39 additions & 1 deletion wrspice/docs/wrs4.3
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,50 @@ End of general info.


===============================================================================
wrspice-4.3.19 01/28/2024
wrspice-4.3.20 09/15/2024
Current Release

CHANGES AND NEW FEATURES
------- --- --- --------

* Continued behind-the-scenes revision due to evolution to Qt.

* Revised drag between plot windows, previous approach did not work in Qt.
Much better approach now.
1) new "file cabinet" icon in upper left, drag traces there to hide,
can be dragged back out.
2) New indicator when text editing showing horizontal justification.

* Compose command forms like "compose x lin=10 start=1 step=0"
are now accepted, the vector contains the start value repeated lin
times.

* Image/Imlib print driver for Qt: there is a new "No Backg" check box
just above the driver selection entry area. When checked, image file
output will have transparent background pixels, so that when the image
is placed, any existing background will show through.

* New csvtoraw conversion function utility.


BUGS FIXED
---- -----

* Tri-conditional (A ? B : C) now handled correctly by adms in Verilog-A
input.

* Fix bugs and error reporting in PWL parser.

* Move dimension icon in plot window away from the "file cabinet" icon
in plot windows.


-------------------------------------------------------------------------------
wrspice-4.3.19 01/28/2024

CHANGES AND NEW FEATURES
------- --- --- --------

* New command: sprint varname|- [/format] expression ...

This is similar to the "line" mode of the print command, however
Expand Down
33 changes: 33 additions & 0 deletions wrspice/help/spMain.hlp
Original file line number Diff line number Diff line change
Expand Up @@ -3503,6 +3503,39 @@ printtoraw
proc2mod
wrspiced

!! utilities.tex 091524
!!KEYWORD
csvtoraw
!!TITLE
The <tt>csvtoraw</tt> Utility: CSV to Rawfile Conversion
!!HTML
This program will convert a space/comma separated file to a rawfile.

<p>
Usage: <tt>csvtoraw</tt> [<i>filename</i>]<br>
Output goes to the standard output channel. Input comes from the
file if a name was given, or standard input otherwise.

<p>
A "csv" (comma-separated values) file is assumed to have a form as
described below.
<ul>
<li>Any lines that start with white space or a comment character
ahead of the header line are ignored. Comment characters are <tt>*#!</tt>.
<li>The header line contains a number of words, space and/or comma
separated, these are the vector names. If they contain a comment
character or comma the word should be double-quoted.
<li>Lines that follow are ignored if the first non-space character is
a comment character, comma, or the line is blank.
<li>Otherwise the lines should contain the same number of numbers as
words in the header line. Any number format as used in <i>WRspice</i>
is fine, numbers are separated by spaces and/or commas.
<li>The leftmost logical column will be taken as the scale vector.
</ul>

!!SEEALSO
utilities

!! utilities.tex 090222
!!KEYWORD
mmjco
Expand Down
28 changes: 28 additions & 0 deletions wrspice/manual/utilities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,34 @@ \chapter{Utility Programs}
The {\WRspice} distribution provides a few supplemental utility
and accessory programs.

%S-----------------------------------------------------------------------------
\section{The {\vt csvtoraw} Utility: CSV to Rawfile Conversion}
\index{csvtoraw program}

% spMain.hlp:csvtpraw 091524

This program will convert a space/comma separated file to a rawfile.

Usage: {\vt csvtoraw} [{\it filename/\}]\\
Output goes to the standard output channel. Input is taken from the
file if a name was given, otherwise from standard input.

A ``csv'' (comma-separated values) file is assumed to have a form as
described below.
\begin{itemize}
\item{Any lines that start with white space or a comment character
ahead of the header line are ignored. Comment characters are {\vt *#!}.}
\item{The header line contains a number of words, space and/or comma
separated, these are the vector names. If they contain a comment
character or comma the word should be double-quoted.}
\item{Lines that follow are ignored if the first non-space character is
a comment character, comma, or the line is blank.}
\item{Otherwise the lines should contain the same number of numbers as
words in the header line. Any number format as used in {\WRspice}
is fine, numbers are separated by spaces and/or commas.}
\item{The leftmost logical column will be taken as the scale vector.}
\end{itemize}

%S-----------------------------------------------------------------------------
\section{The {\vt mmjco} Utility: Tunnel Junction Model Calculator}
\index{mmjco program}
Expand Down
2 changes: 1 addition & 1 deletion wrspice/release.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh

release_num=19
release_num=20

echo 4.3.$release_num

0 comments on commit c4c3201

Please sign in to comment.