protocol

package
v0.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2019 License: BSD-3-Clause Imports: 0 Imported by: 4

Documentation

Overview

Package protocol provides low level primitives for working the AXI4 protocol

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadDisable

func ReadDisable(
	clientAddr chan<- Addr,
	clientData <-chan ReadData)

ReadDisable will disable AXI bus read transactions. Should be run once for each unused AXI read interface. This will block the calling goroutine.

func WriteDisable

func WriteDisable(
	clientAddr chan<- Addr,
	clientData chan<- WriteData,
	clientResp <-chan WriteResp)

WriteDisable will disable AXI bus write transactions. Should be run once for each unused AXI write interface. This will block the calling goroutine.

Types

type Addr

type Addr struct {
	Id     bool
	Addr   uintptr
	Len    byte
	Size   [3]bool
	Burst  [2]bool
	Lock   bool
	Cache  [4]bool
	Prot   [3]bool
	Region [4]bool
	Qos    [4]bool
	User   bool
}

Type Addr specifies AXI memory address channel fields.

type ReadData

type ReadData struct {
	Id   bool
	Data uint64
	Resp [2]bool
	Last bool
	User bool
}

Type ReadData specifies AXI memory read data channel fields.

type WriteData

type WriteData struct {
	Data uint64
	Strb [8]bool
	Last bool
	User bool
}

Type WriteData specifies AXI memory write data channel fields.

type WriteResp

type WriteResp struct {
	Id   bool
	Resp [2]bool
	User bool
}

Type WriteResp specifies AXI memory write response channel fields.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL