広告

  • 追加された行はこの色です。
  • 削除された行はこの色です。
*[[Qucs]]で他のSPICEシミュレータが使える [#web1797c]
[[spice4qucs:https://github.com/ra3xdh/qucs/tree/spice4qucs]]は[[Qucs]]をオープンソースのSPICEである[[ngspice:http://ngspice.sourceforge.net/]]や大規模集積回路向けの回路シミュレータ[[Xyce]]のフロントエンドとして使えるように改造したもの。

シミュレーション時にどのシミュレータを使うか選べるようになっている。

詳しい使い方は[[アナジックスさん:http://www.anagix.com/]]の[[説明:http://www.anagix.com/free-opensource-eda-tools/]]([[spice4qucs help:https://qucs-help.readthedocs.org/en/spice4qucs/]]の訳)にあります。

&color(Red){バージョン0.0.19S-RC6から正式に採用されたらしく、新しいQucsを使えばこのページの内容をする必要はなさそう};

**コンパイル [#c73715da]
-[[spice4qucs:https://github.com/ra3xdh/qucs/tree/spice4qucs]]からソースをダウンロードする。
-[[spice4qucs:https://github.com/ra3xdh/qucs/tree/spice4qucs]]からソースをダウンロードする。[[こっちの方が良いかも:https://github.com/ra3xdh/qucs/releases/]]
-必要なライブラリなどをインストールする
 sudo apt-get install build-essential
 sudo apt-get install libqt4-dev libqt4-qt3support
 sudo apt-get install automake libtool gperf flex bison
-Verilog-Aも使えるように[[ADMS:https://github.com/Qucs/ADMS]]もインストールするため必要なパッケージをインストール
 sudo apt-get install libxml2 libxml2-dev
 sudo apt-get install zlib1g zlib1g-dev
 sudo apt-get install libgd2-xpm-dev
Perlライブラリもインストール
 (echo y;echo o conf prerequisites_policy follow;echo o conf commit)| sudo cpan
 sudo cpan -i XML::LibXML
 sudo cpan -f GD
-[[ADMS:https://github.com/Qucs/ADMS]]のコンパイル
 sh bootstrap.sh
 ./configure --enable-maintainer-mode
 make install
-サブディレクトリ(qucs)でまずGUIをコンパイル。
 cd qucs
 ./autogen.sh
 ./configure --enable-maintainer-mode
 make
 sudo make install
-サブディレクトリ(qucs-core)でシミュレータをコンパイル。
 cd qucs-core
 ./bootstrap.sh
 ./configure --enable-maintainer-mode
 make
 sudo make install
--[[ADMS:https://github.com/Qucs/ADMS]]をインストールした場合はconfigureにそのパスを付け足す
 cd qucs-core
 ./bootstrap.sh
 ./configure --enable-maintainer-mode --with-mkadms=[path/to/admsXml]
 make
 sudo make install

**使ってみる [#zc81e823]
-まず「Simulation」 => 「Simulation with spice」 => 「Settings」でそれぞれのシミュレータのパスを設定する。
-Simulation => Simulation with spiceで[[ngspice:http://ngspice.sourceforge.net/]]か[[Xyce]]を選ぶ
-「Simulate」でシミュレーション開始

**現時点での感想 [#padf6745]
[[ngspice:http://ngspice.sourceforge.net/]]はネイティブの「qucsator」より断然速い気がするが、回路によっては結果が違ったり、エラーで止まったりする。~
Qucs→netlist変換がうまく行っていないみたい。

[[Xyce]]でのシミュレーションはまだうまく行っていない。


広告

リロード   差分   ホーム 一覧 検索 最終更新 バックアップ リンク元   ヘルプ   最終更新のRSS