Coverage for tsfpga/__init__.py: 100%
12 statements
« prev ^ index » next coverage.py v6.5.0, created at 2023-01-31 20:01 +0000
« prev ^ index » next coverage.py v6.5.0, created at 2023-01-31 20:01 +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://gitlab.com/tsfpga/tsfpga
7# --------------------------------------------------------------------------------------------------
9"""
10A set of reusable functions for working with HDL projects.
11"""
14# Standard libraries
15from pathlib import Path
17THIS_DIR = Path(__file__).parent
18REPO_ROOT = THIS_DIR.parent.resolve()
20TSFPGA_PATH = REPO_ROOT / "tsfpga"
21TSFPGA_DOC = REPO_ROOT / "doc"
22TSFPGA_TCL = THIS_DIR / "vivado" / "tcl"
23TSFPGA_GENERATED = REPO_ROOT / "generated"
25TSFPGA_EXAMPLES = TSFPGA_PATH / "examples"
26TSFPGA_EXAMPLE_MODULES = TSFPGA_EXAMPLES / "modules"
28# Default encoding when opening files
29DEFAULT_FILE_ENCODING = "utf-8"
31__version__ = "11.0.1-dev"