Coverage for tsfpga/__init__.py: 100%
13 statements
« prev ^ index » next coverage.py v7.6.7, created at 2024-11-20 20:51 +0000
« prev ^ index » next coverage.py v7.6.7, created at 2024-11-20 20:51 +0000
1# --------------------------------------------------------------------------------------------------
2# Copyright (c) Lukas Vik. All rights reserved.
3#
4# This file is part of the tsfpga project, a project platform for modern FPGA development.
5# https://tsfpga.com
6# https://github.com/tsfpga/tsfpga
7# --------------------------------------------------------------------------------------------------
9# Standard libraries
10from pathlib import Path
12# Local folder libraries
13from .about import get_short_slogan
15THIS_DIR = Path(__file__).parent
16REPO_ROOT = THIS_DIR.parent.resolve()
18TSFPGA_PATH = REPO_ROOT / "tsfpga"
19TSFPGA_DOC = REPO_ROOT / "doc"
20TSFPGA_TCL = THIS_DIR / "vivado" / "tcl"
21TSFPGA_GENERATED = REPO_ROOT / "generated"
23TSFPGA_EXAMPLES = TSFPGA_PATH / "examples"
24TSFPGA_EXAMPLE_MODULES = TSFPGA_EXAMPLES / "modules"
26# Default encoding when opening files
27DEFAULT_FILE_ENCODING = "utf-8"
29__version__ = "13.0.1-dev"
30__doc__ = get_short_slogan() # pylint: disable=redefined-builtin