微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 天线设计和射频技术 > tstonefile

tstonefile

时间:04-09 整理:3721RD 点击:
Hi all,

These are my questions:

-how to include .s2p file into the hspice netlist.
-is there any syntax so the simulator can display the content of .s2p file in hspice simulation.

I'm new to this hspice & rf stuff. So, i really appreciate if anyone does know how to solve my problem. Thanks

S-parameter data is frequency domain whereas HSpice is a time domain simulator. It is not easy to use S2P files in an HSpice simulation.

Most techniques to workaround this are based on deriving a lumped equivalent circuit, often RLC networks, that give the same frequency domain simulation and then use that same circuit topology in HSpice. There is an extractor built-in to HSpice to do this. Check the .LIN command.

Hi RealAEL,

Nice advice. It does help me solve this problem. Here's the syntax on how to include .s2p file in the hspice netlist.

S MODEL

.option list node post ingold=2
.lin sparcalc=1 noisecalc=0 dataformat=ri
.ac lin np fstart fstop

P1 p1 gnd port=1 z0=50 ac=1
P2 p2 gnd port=2 z0=50 ac=1

S1 P1 gnd P2 gnd mname=<modelname>
.model <modelname> S TSTONEFILE=<filename>.s2p

.print s11(r) s11(i) s21(r) s21(i) s12(r) s12(i) s22(r) s22(i)
.END

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top