Coverage for hdl_registers/__init__.py: 100%

10 statements  

« prev     ^ index     » next       coverage.py v7.6.8, created at 2024-12-01 20:50 +0000

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

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

3# 

4# This file is part of the hdl-registers project, an HDL register generator fast enough to run 

5# in real time. 

6# https://hdl-registers.com 

7# https://github.com/hdl-registers/hdl-registers 

8# -------------------------------------------------------------------------------------------------- 

9 

10# Standard libraries 

11from pathlib import Path 

12 

13# Local folder libraries 

14from .about import get_short_slogan 

15 

16REPO_ROOT = Path(__file__).parent.parent.resolve() 

17 

18HDL_REGISTERS_PATH = REPO_ROOT / "hdl_registers" 

19HDL_REGISTERS_DOC = REPO_ROOT / "doc" 

20HDL_REGISTERS_GENERATED = REPO_ROOT / "generated" 

21HDL_REGISTERS_TESTS = REPO_ROOT / "tests" 

22HDL_REGISTERS_TOOLS = REPO_ROOT / "tools" 

23 

24__version__ = "6.1.1-dev" 

25__doc__ = get_short_slogan() # pylint: disable=redefined-builtin