diff options
| author | Danny Milosavljevic <dannym@scratchpost.org> | 2016-09-27 02:04:56 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2016-10-09 18:19:21 +0300 |
| commit | 44721336de5d11810adc55ea6e7cdcec62dd5d37 (patch) | |
| tree | 4cb47731c305aadfec2ee6e36f19df089c19587c /gnu | |
| parent | adba5f08deeb1826f7f927e0c697246d3ab13f29 (diff) | |
gnu: Add iverilog.
* gnu/packages/fpga.scm (iverilog): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/fpga.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index f757a2823e9..1d1c981d54a 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm | |||
| @@ -73,3 +73,38 @@ | |||
| 73 | formal verification.") | 73 | formal verification.") |
| 74 | (license | 74 | (license |
| 75 | (license:non-copyleft "https://fedoraproject.org/wiki/Licensing:MIT#Modern_Variants"))))) | 75 | (license:non-copyleft "https://fedoraproject.org/wiki/Licensing:MIT#Modern_Variants"))))) |
| 76 | |||
| 77 | (define-public iverilog | ||
| 78 | (package | ||
| 79 | (name "iverilog") | ||
| 80 | (version "10.1.1") | ||
| 81 | (source (origin | ||
| 82 | (method url-fetch) | ||
| 83 | (uri | ||
| 84 | (string-append "ftp://ftp.icarus.com/pub/eda/verilog/v10/" | ||
| 85 | "verilog-" version ".tar.gz")) | ||
| 86 | (sha256 | ||
| 87 | (base32 | ||
| 88 | "1nnassxvq30rnn0r2p85rkb2zwxk97p109y13x3vr365wzgpbapx")))) | ||
| 89 | (build-system gnu-build-system) | ||
| 90 | (native-inputs | ||
| 91 | `(("flex" ,flex) | ||
| 92 | ("bison" ,bison) | ||
| 93 | ("ghostscript" ,ghostscript))) ; ps2pdf | ||
| 94 | (home-page "http://iverilog.icarus.com/") | ||
| 95 | (synopsis "FPGA Verilog simulation and synthesis tool") | ||
| 96 | (description "Icarus Verilog is a Verilog simulation and synthesis tool. | ||
| 97 | It operates as a compiler, compiling source code written in Verilog | ||
| 98 | (IEEE-1364) into some target format. | ||
| 99 | For batch simulation, the compiler can generate an intermediate form | ||
| 100 | called vvp assembly. | ||
| 101 | This intermediate form is executed by the ``vvp'' command. | ||
| 102 | For synthesis, the compiler generates netlists in the desired format.") | ||
| 103 | ;; GPL2 only because of: | ||
| 104 | ;; - ./driver/iverilog.man.in | ||
| 105 | ;; - ./iverilog-vpi.man.in | ||
| 106 | ;; - ./tgt-fpga/iverilog-fpga.man | ||
| 107 | ;; - ./vvp/vvp.man.in | ||
| 108 | ;; Otherwise would be GPL2+. | ||
| 109 | ;; You have to accept both GPL2 and LGPL2.1+. | ||
| 110 | (license (list license:gpl2 license:lgpl2.1+)))) | ||
