Coverage for tsfpga/__init__.py: 100%
13 statements
« prev ^ index » next coverage.py v7.6.12, created at 2025-02-21 20:51 +0000
« prev ^ index » next coverage.py v7.6.12, created at 2025-02-21 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# --------------------------------------------------------------------------------------------------
9from pathlib import Path
11from .about import get_short_slogan
13THIS_DIR = Path(__file__).parent
14REPO_ROOT = THIS_DIR.parent.resolve()
16TSFPGA_PATH = REPO_ROOT / "tsfpga"
17TSFPGA_DOC = REPO_ROOT / "doc"
18TSFPGA_TCL = THIS_DIR / "vivado" / "tcl"
19TSFPGA_GENERATED = REPO_ROOT / "generated"
21TSFPGA_EXAMPLES = TSFPGA_PATH / "examples"
22TSFPGA_EXAMPLE_MODULES = TSFPGA_EXAMPLES / "modules"
24# Default encoding when opening files
25DEFAULT_FILE_ENCODING = "utf-8"
27__version__ = "13.1.3-dev"
29# We have the slogan in one place only, instead of repeating it here in a proper docstring.
30__doc__ = get_short_slogan() # noqa: A001