Skip to main content

A cocotb extension for HyperBus controllers

Project description

cocotb extension for HyperBus

PyPI version

GitHub repository: https://github.com/meeeeet/cocotbext_hyperbus

Installation

Installation from pip (release version, stable):

pip install cocotbext-uart

Installation for active development:

git clone https://github.com/meeeeet/cocotbext_hyperbus
pip install -e cocotbext_hyperbus

Documentation and usage examples

See the tests directory for complete testbenches using these modules.

HyperBus

The HyperBusController class can be used to drive and receive data from HyperRAM.

To use these modules, import the one you need and connect it to the DUT:

from cocotbext_hyperbus import HyperBusController
@cocotb.test()
async def sample_test(dut):
    hbc=HyperBusController(dut)

Methods

  • Reset(dut): Reset the dut
  • WriteReg(addr,data): Write data into register at addr
  • ReadReg(addr): Read from register at addr
  • WriteMem(addr,data): Write data into memory at addr
  • ReadReg(count): Read from memory at addr

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cocotbext_hyperbus-0.1.6.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

cocotbext_hyperbus-0.1.6-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page