aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaku Rantamàˆki2012-06-13 01:05:31 +0300
committerAdam Vandenberg2012-07-23 13:12:47 -0700
commit6445e2974dd46aea5be697e23567a5b76d86bade (patch)
tree6bcdb2a741c064e731bc824cf019ecb6ec13c599
parent49eca440b9928e3887fcfa5cdba272179858fdf0 (diff)
downloadhomebrew-6445e2974dd46aea5be697e23567a5b76d86bade.tar.bz2
verilator 3.833
Verilator is the fastest free Verilog HDL simulator, and beats most commercial simulators. It compiles synthesizable Verilog (not test-bench code!), plus some PSL, SystemVerilog and Synthesis assertions into C++ or SystemC code. It is designed for large projects where fast simulation performance is of primary concern, and is especially well suited to generate executable models of CPUs for embedded software design teams. Closes #12798. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/verilator.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/verilator.rb b/Library/Formula/verilator.rb
new file mode 100644
index 000000000..66fbd4433
--- /dev/null
+++ b/Library/Formula/verilator.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Verilator < Formula
+ homepage 'http://www.veripool.org/wiki/verilator'
+ url 'http://www.veripool.org/ftp/verilator-3.833.tgz'
+ sha1 '4ca58d609371b0a6309c5564a5e8ba6857aa15db'
+
+ skip_clean 'bin' # Allows perl scripts to keep their executable flag
+
+ def install
+ system "./configure", "--prefix=#{prefix}"
+ system "make"
+ system "make install"
+ end
+end