A cocotb extension for HyperBus controllers
Project description
cocotb extension for HyperBus
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 dutWriteReg(addr,data)
: Write data into register at addrReadReg(addr)
: Read from register at addrWriteMem(addr,data)
: Write data into memory at addrReadReg(count)
: Read from memory at addr
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cocotbext_hyperbus-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46b5a28792d8152ad1c11136edee09e3fa325494090a5b7866d91385db32751a |
|
MD5 | f774c47204e14f23cf33702c02170fea |
|
BLAKE2b-256 | 2ad1f87ebd2e0e5a327a51f48680264462c87e89cf58d92aae11253e65bc701d |