aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/.ci/hwtools/root.py
blob: 082676df72343ab191b57ba810d151ce06a79b60 (plain)
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
29
30
31
32
#!/usr/bin/env python
#
# Copyright 2021 Ettus Research, a National Instruments Brand
#
# SPDX-License-Identifier: LGPL-3.0-or-later
#
# Description:
#
#   Setup script for configuring the pipeline agent's environment to allow us
#   to run proprietary EDA vendor tools.
#

import sys

def do_setup():
    from rootapiclass import rootapi

    rootapi.set_workspace_name(name="uhddev", pretty_name="UHD FPGA")
    rootapi.set_major_version("1")

    rootapi.add_tool(name="hwtools", version="head")
    rootapi.add_tool(name="Vivado",   version="2019.1", allowlater=False)
    rootapi.add_tool(name="modelsim", version="2020.4", allowlater=True)

def do_finish():
    pass

def do_publish():
    pass

if __name__ == "__main__":
    sys.exit(-1)