HSpiceLab

Read and save data from HSPICE generated output files (ASCII formatted)

https://github.com/raihanm90/HSpiceLab

이 제출물을 팔로우합니다

HSpiceLab

MATLAB toolbox to read HSPICE generated and ASCII formatted .tr#/.sw#/.ac# output files.

It is compatible with any POST_VERSION format.
For a note, ASCII formatted file can be created using .OPTION post=2 in the .sp file.

read_hspice_tr_sw_ac.m

This function reads a ASCII formatted HSPICE output file (.option post=2) 'filename.tr#' or 'filename.sw#' or 'filename.ac#' and saves all the signals in the variable 'simulation_result' as a structure.

Description of the input/output:

Input: filename = name of the ASCII formatted HSpice output file (.tr#/.ac#/.sw#) Output: simulation_result = a structure (2 fields) that contains the contents from the HSPICE file.
      simulation_result(#).var_name=name of the signals present in the file (in the same order as the file).
      simulation_result(#).val=a vector contains the values of the signal with the name simulation_result(#).var_nam

.tr#/.sw# files:

.tr# and .sw# files are generated for transient (.TRAN) analysis and DC (.DC) analysis respectively. Signal names are saved as it is.

.ac# files:

.ac# files are generated for AC (.AC) analysis. Signal names are saved in the following manner:
      node voltages and branch/element currents = .var_name_real and .var_name_imag for real and imaginary values of the signal.
      MmN(xx)[Mm=V/Im,N=M,R,I,P,DB,T,xx=node/element] = signal names are saved as it is.

Examples:

An example for each output file type is shown in the 'Examples' folder to demonstrate the usage of function. Explanation and usage of each file is documented in the Details.

View read_hspice_tr0 on File Exchange

인용 양식

Mohammad Abu Raihan Miah (2026). HSpiceLab (https://github.com/raihanm90/HSpiceLab/releases/tag/v4.0.0), GitHub. 검색 날짜: .

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
4.0.0

See release notes for this release on GitHub: https://github.com/raihanm90/HSpiceLab/releases/tag/v4.0.0

3.0.1

See release notes for this release on GitHub: https://github.com/raihanm90/HSpiceLab/releases/tag/v3.0.1

2.0.2

See release notes for this release on GitHub: https://github.com/raihanm90/HSpice/releases/tag/v2.0.2

2.0.0

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.