semvec/pypi-packages huggingface dataset:
qsc-node-qscf 1.0.0
Quantum Safe Coin Foundation
License: MIT

.. These are examples of badges you might want to add to your README:
   please update the URLs accordingly

    .. image:: https://api.cirrus-ci.com/github/<USER>/QSC.svg?branch=main
        :alt: Built Status
        :target: https://cirrus-ci.com/github/<USER>/QSC
    .. image:: https://readthedocs.org/projects/QSC/badge/?version=latest
        :alt: ReadTheDocs
        :target: https://QSC.readthedocs.io/en/stable/
    .. image:: https://img.shields.io/coveralls/github/<USER>/QSC/main.svg
        :alt: Coveralls
        :target: https://coveralls.io/r/<USER>/QSC
    .. image:: https://img.shields.io/pypi/v/QSC.svg
        :alt: PyPI-Server
        :target: https://pypi.org/project/QSC/
    .. image:: https://img.shields.io/conda/vn/conda-forge/QSC.svg
        :alt: Conda-Forge
        :target: https://anaconda.org/conda-forge/QSC
    .. image:: https://pepy.tech/badge/QSC/month
        :alt: Monthly Downloads
        :target: https://pepy.tech/project/QSC
    .. image:: https://img.shields.io/twitter/url/http/shields.io.svg?style=social&label=Twitter
        :alt: Twitter
        :target: https://twitter.com/QSC

.. image:: https://img.shields.io/badge/-PyScaffold-005CA0?logo=pyscaffold
    :alt: Project generated with PyScaffold
    :target: https://pyscaffold.org/

|

===
QSC
===


    Add a short description here!


A longer description of your project goes here...


.. _pyscaffold-notes:

Note
====

This project has been set up using PyScaffold 4.6. For details and usage
information on PyScaffold see https://pyscaffold.org/.
QSC-jimhe 1.0.0
Quantum Safe Coin Foundation
License: MIT

.. These are examples of badges you might want to add to your README:
   please update the URLs accordingly

    .. image:: https://api.cirrus-ci.com/github/<USER>/QSC.svg?branch=main
        :alt: Built Status
        :target: https://cirrus-ci.com/github/<USER>/QSC
    .. image:: https://readthedocs.org/projects/QSC/badge/?version=latest
        :alt: ReadTheDocs
        :target: https://QSC.readthedocs.io/en/stable/
    .. image:: https://img.shields.io/coveralls/github/<USER>/QSC/main.svg
        :alt: Coveralls
        :target: https://coveralls.io/r/<USER>/QSC
    .. image:: https://img.shields.io/pypi/v/QSC.svg
        :alt: PyPI-Server
        :target: https://pypi.org/project/QSC/
    .. image:: https://img.shields.io/conda/vn/conda-forge/QSC.svg
        :alt: Conda-Forge
        :target: https://anaconda.org/conda-forge/QSC
    .. image:: https://pepy.tech/badge/QSC/month
        :alt: Monthly Downloads
        :target: https://pepy.tech/project/QSC
    .. image:: https://img.shields.io/twitter/url/http/shields.io.svg?style=social&label=Twitter
        :alt: Twitter
        :target: https://twitter.com/QSC

.. image:: https://img.shields.io/badge/-PyScaffold-005CA0?logo=pyscaffold
    :alt: Project generated with PyScaffold
    :target: https://pyscaffold.org/

|

===
QSC
===


    Add a short description here!


A longer description of your project goes here...


.. _pyscaffold-notes:

Note
====

This project has been set up using PyScaffold 4.6. For details and usage
information on PyScaffold see https://pyscaffold.org/.
peakrdl-cocotb-ralgen 0.1.7.post9
Generate RAL tests from systemRDL.
License: MIT
Requires Python: >=3.10

# peakrdl-cocotb-ralgen

A SystemRDL to raltest converter for cocotb.

This VIP confirms to sysrdl 1.2 and ral 1.0 format.
# Installation

```
pip3 install peakrdl-cocotb-ralgen
```
# Usage

```
peakrdl cocotb_ralgen <SystemRDL File> -o <output folder>
peakrdl python <SystemRDL File> -o <output folder>
```

Then in your cocotb test file
```
...
from peakrdl_cocotb_ralgen.callbacks.bsv import Callback
from peakrdl_cocotb_ralgen.testcases import rw_test, reset_test
from <AddrMap Name>_RAL import <AddrMap_Name>_RAL_Test as RAL
...
```
To read and check the value of all registers at Reset.
```
@cocotb.test
async def test_ral_reset(dut):
    """Ral test reset."""
    env = Env(dut)
    ral = RAL(env.reg, callback=Callback(dut))
    env.start()
    await FallingEdge(dut.rst_n)
    await ReadOnly()
    await reset_test.reset_test(ral, verbose=True)
```

To perform read write checks:

```
@cocotb.test
async def test_ral_readwrite(dut):
    """Ral test reset."""
    env = Env(dut)
    ral = RAL(env.reg, callback=Callback(dut))
    await RisingEdge(dut.rst_n)
    await ReadOnly()
    await rw_test.rw_test(ral,
    verbose=True
        foreground_read=True,
        foreground_write=False,
        count=1,
        verbose=True,
    )
...
```
# Supporting different RTL generators.
For interfacing your RTL Generator generated code, ralgen needs to know the pattern used by you for signal naming.
You can provide this information by passing a Callback function which maps the signal from systemRDL to RTL and provides methods to read & write to it.

# Adding new tests.

New tests can be added to the testcases folder.

# Contribution
PR's for supporting different RTL generators or test strategies are welcome.

# Example

For a complete working example [check the tests folder](https://github.com/dyumnin/cocotb-ralgen/blob/main/tests/cocotbtest_dma.py).
KIG2013-G9-cpptopython 0.2.3
C++ code packaged for use in Python for KIG2013 Assignment
License: MIT
Requires Python: >=3.7

# KIG2013 Programming Assignment (Group 9)

This is a python package built using C++ code as the source to enable using C++ code in Python. 


## Installation

Install with pip. Run the following in cmd line:
```
  py -m pip install KIG2013_G9_cpptopython
```
Alternatively on MacOS/Linux:
```
  python3 -m pip install KIG2013_G9_cpptopython
```

## Usage/Examples

```python
import KIG2013_G9_cpptopython

a = 1, b = 2
print(KIG2013_G9_cpptopython.add(a, b)) #Outputs 3
```


## Acknowledgements

 - [Pybind11 Library](https://github.com/pybind/pybind11)
 - [Python Example by pybind11](https://github.com/pybind/python_example)