0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Mac(M5)でDSIMを動かしたい

0
Last updated at Posted at 2026-06-05

Verilogの勉強用に、フリーで使えるシミュレータであるDSIMをMac(M5)導入したい。色々試して、最終的にUTM+Linuxの環境で動かすことに成功した。

Apple Silicon上でそのまま動かす

Windows版もしくはLinux版しか提供されていないためNG

VMWare上でLinuxを立ち上げて、Linux版のDSIMをインストールする

DSIMのインストールに失敗する。

$ ./AltairDSim2026_linux64.bin
Preparing to install
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

JRE libraries are missing or not compatible....
Exiting....

x64用を使おうとして、エラーになっているのでどうしようもないか。

# file /tmp/install.dir.89246/Linux/resource/jre/bin/java 
/tmp/install.dir.89246/Linux/resource/jre/bin/java: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=8285421cd18031c62807cae9c05e6425d8f0d954, not stripped

VMWare上でWindows11 for ARMを立ち上げて、Windows版のDSIMをインストールする

DSIMのインストールはできて、

dsim -version
2026
Copyright (C) 2017-2025 Altair Engineering Inc. All rights reserved.

のようにバージョン表示までできた。いざ適当なベンチを動かそうとしたところ、ライセンス通信のエラーが発生。

dsim tb.v -top tb
Copyright (C) 2017-2025 Altair Engineering Inc. All rights reserved.
=W:[UsageMeter (2026-06-05 14:01:19 Tokyo Standard Time)] Not retryable
=W:[UsageMeter (2026-06-05 14:01:19 Tokyo Standard Time)] Error making SSL connection to license server: error:0A000086:SSL routines::certificate verify failed
=F:[UsageMeter (2026-06-05 14:01:19 Tokyo Standard Time)] retries skipped, exiting

UTM+Linux

UTMはQEMUで動いているため、x64の命令をM5でエミュレートできる。実行速度は遅くなる(実際Linuxのインストールには結構時間がかかった)が、Linux版のDSIMで$displayすることはできた。

$ ./run.sh
Copyright (C) 2017-2025 Altair Engineering Inc. All rights reserved.
=N:[UsageMeter (2026-06-09 13:16:59 +0900)] usage server initial connection
=N:[License] 
********************************************************************************

[DSIM LICENSE NOTICE]

The free license for DSim on-prem is scheduled to expire on September 1st.

To ensure uninterrupted service after this date, please transition your

environment to use Altair licensing.

KEY DATES:

Sept 1st: Free On-Prem licenses and DSim Cloud services discontinued.

Oct 15th: All DSim Cloud data will be permanently deleted.

For migration instructions and Altair licensing details, visit: altair.com/dsim

********************************************************************************
=N:[License] New lease granted.
Analyzing...
Elaborating...
  Top-level modules:
    $unit
    tb
  Found 4 unique specialization(s) of 4 design element(s).
Optimizing...
Building models...
PLI/VPI access: (none) 
Simulation time precision is 1ns.
Linking image.so...
Using default typical min/typ/max.
=S:Begin run-time elaboration and static initialization...
=N:Starting event scheduler...
hello
=T:Simulation terminated by $finish at time 0 (hello.v:4);
Run directory: /WORK/dsim_test
  System timescale is 1ns / 1ns
  Altair DSim version: 2026.0.0 (b:R #c:127 h:14cc828913 os:rocky_8.10)
  Random seed: (defaulted to 1)
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?