Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# -------------------------------------------------------------------------------------------------- 

2# Copyright (c) Lukas Vik. All rights reserved. 

3# 

4# This file is part of the tsfpga project. 

5# https://tsfpga.com 

6# https://gitlab.com/tsfpga/tsfpga 

7# -------------------------------------------------------------------------------------------------- 

8 

9""" 

10A set of reusable functions for working with HDL projects. 

11""" 

12 

13 

14from pathlib import Path 

15 

16 

17THIS_DIR = Path(__file__).parent 

18REPO_ROOT = (THIS_DIR / "..").resolve() 

19 

20TSFPGA_PATH = REPO_ROOT / "tsfpga" 

21TSFPGA_DOC = REPO_ROOT / "doc" 

22TSFPGA_MODULES = REPO_ROOT / "modules" 

23TSFPGA_TCL = THIS_DIR / "vivado" / "tcl" 

24TSFPGA_GENERATED = REPO_ROOT / "generated" 

25 

26TSFPGA_EXAMPLES = REPO_ROOT / "examples" 

27TSFPGA_EXAMPLE_MODULES = TSFPGA_EXAMPLES / "modules" 

28TSFPGA_EXAMPLE_MODULES_WITH_IP = TSFPGA_EXAMPLES / "modules_with_ip" 

29 

30ALL_TSFPGA_MODULES_FOLDERS = [ 

31 TSFPGA_MODULES, 

32 TSFPGA_EXAMPLE_MODULES, 

33 TSFPGA_EXAMPLE_MODULES_WITH_IP, 

34] 

35 

36__version__ = "7.0.0"