~ruther/nix-fpga

ref: 657f7298a01b67041204aea5496e1947a76e64c7 nix-fpga/pkgs/questa/fhs-package.nix -rw-r--r-- 1.1 KiB
657f7298 — Rutherther feat: add executables to fhs package, split to individual frameworks 1 year, 19 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ pkgs, myLib, licenseInterface ? "" }:

myLib.finalPkgGenerator.override {
  mainProgram = "vsim";

  fhsEnv = pkgs.callPackage ./fhs.nix {  inherit myLib licenseInterface; };

  executables = [
    "crd2bin" "dumplog64" "flps_util" "hdloffice" "hm_entity" "jobspy" "mc2com"
    "mc2perfanalyze" "mc2_util" "qhcvt" "qhdel" "qhdir" "qhgencomp" "qhlib" "qhmake" "qhmap"
    "qhsim" "qrun" "qverilog" "qvhcom" "qvlcom" "qwave2vcd" "qwaveman" "qwaveutils"
    "sccom" "scgenmod" "sdfcom" "sm_entity" "triage" "vcd2qwave" "vcd2wlf" "vcom" "vcover"
    "vdbg" "vdel" "vdir" "vencrypt" "verror" "vgencomp" "vhencrypt" "vis" "visualizer"
    "vlib" "vlog" "vmake" "vmap" "vopt" "vovl" "vrun"
    "vsim" "wlf2log" "wlf2vcd" "wlfman" "wlfrecover" "xml2ucdb"
  ];

  # This is here for compatibility with some tools like
  # VUnit, where modelsim.ini is checked to see if the
  # given path is ModelSim installation.
  customInstallScript = ''
    echo -e " \
    ; This is here for compatibility with some tools like\n \
    ; VUnit, where modelsim.ini is checked in modelsim/bin/.. to see if the\n \
    ; given path is ModelSim installation. \
    " > "$out/modelsim.ini"
  '';
}
Do not follow this link