How To Install irsim on Fedora 34

irsim is Switch-level simulator used even for VLSI

Introduction

In this tutorial we learn how to install irsim on Fedora 34.

What is irsim

IRSIM is a tool for simulating digital circuits. It is a “switch-level” simulator; that is, it treats transistors as ideal switches. Extracted capacitance and lumped resistance values are used to make the switch a little bit more realistic than the ideal, using the RC time constants to predict the relative timing of events.

We can use yum or dnf to install irsim on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install irsim.

Install irsim on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install irsim using dnf by running the following command:

sudo dnf -y install irsim

Install irsim on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install irsim using yum by running the following command:

sudo yum -y install irsim

How To Uninstall irsim on Fedora 34

To uninstall only the irsim package we can use the following command:

sudo dnf remove irsim

irsim Package Contents on Fedora 34

/usr/bin/irsim
/usr/lib/.build-id
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/26072187ba53e854f39843803dc373bbfb1b99
/usr/lib/.build-id/72
/usr/lib/.build-id/72/9756e895b7128a7156274d756bfd2e487367d8
/usr/lib/.build-id/87
/usr/lib/.build-id/87/b416a7ee5b58d16f1834e216f22d411e67c2ba
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/63598639873fb1d4733ef34dd261237dd3c4fc
/usr/lib64/irsim
/usr/lib64/irsim/prm
/usr/lib64/irsim/prm/amiabn.80.n99z.5.prm
/usr/lib64/irsim/prm/amic5.30.n98s.3.3.prm
/usr/lib64/irsim/prm/amicwl.50.n97l.5.prm
/usr/lib64/irsim/prm/hpcmos10.20.n98v.3.3.prm
/usr/lib64/irsim/prm/hpcmos14.30.n9ae.3.3.prm
/usr/lib64/irsim/prm/hpcmos26.40.n88x.5.prm
/usr/lib64/irsim/prm/orbit.60.n96e.5.prm
/usr/lib64/irsim/prm/scmos100.prm
/usr/lib64/irsim/prm/scmos1_6um.prm
/usr/lib64/irsim/prm/scmos2um.prm
/usr/lib64/irsim/prm/scmos30.prm
/usr/lib64/irsim/prm/scmos35.prm
/usr/lib64/irsim/prm/scmos50_3v.prm
/usr/lib64/irsim/prm/scmos50_5v.prm
/usr/lib64/irsim/prm/scmos60.prm
/usr/lib64/irsim/prm/tsmc18.10.nxxx.1.8.prm
/usr/lib64/irsim/prm/tsmc25.15.n99y.2.5.prm
/usr/lib64/irsim/prm/tsmc35.20.n98t.3.3.prm
/usr/lib64/irsim/prm/tsmc35p.20.n98tp.3.3.prm
/usr/lib64/irsim/tcl
/usr/lib64/irsim/tcl/bitmaps
/usr/lib64/irsim/tcl/bitmaps/center.xbm
/usr/lib64/irsim/tcl/bitmaps/left.xbm
/usr/lib64/irsim/tcl/bitmaps/lleft.xbm
/usr/lib64/irsim/tcl/bitmaps/right.xbm
/usr/lib64/irsim/tcl/bitmaps/rright.xbm
/usr/lib64/irsim/tcl/console.tcl
/usr/lib64/irsim/tcl/diglib.so
/usr/lib64/irsim/tcl/irsim.tcl
/usr/lib64/irsim/tcl/irsimexec
/usr/lib64/irsim/tcl/random.so
/usr/lib64/irsim/tcl/tclirsim.so
/usr/lib64/irsim/tcl/tkcon.tcl
/usr/lib64/irsim/tcl/vcd.tcl
/usr/share/doc/irsim
/usr/share/doc/irsim/COPYRIGHT
/usr/share/doc/irsim/README
/usr/share/doc/irsim/VERSION
/usr/share/doc/irsim/doc
/usr/share/doc/irsim/doc/Makefile
/usr/share/doc/irsim/doc/faultsim
/usr/share/doc/irsim/doc/faultsim/doc.tex
/usr/share/doc/irsim/doc/faultsim/fsim.ps
/usr/share/doc/irsim/doc/faultsim/fsim.tex
/usr/share/doc/irsim/doc/irsim-analyzer.3
/usr/share/doc/irsim/doc/irsim-analyzer.doc
/usr/share/doc/irsim/doc/irsim.1
/usr/share/doc/irsim/doc/irsim.doc
/usr/share/doc/irsim/doc/netchange.5
/usr/share/doc/irsim/doc/netchange.doc
/usr/share/doc/irsim/doc/powerEst.doc
/usr/share/man/man1/irsim.1.gz
/usr/share/man/man3/irsim-analyzer.3.gz
/usr/share/man/man5/netchange.5.gz

References

Summary

In this tutorial we learn how to install irsim on Fedora 34 using yum and dnf.