Documentation
¶
Overview ¶
Package eda holds functions to manipulate data from EDA.
Index ¶
- func RunStandalone(cfg string, run, threshold, rfmMask int, opts ...Option) error
- func Serve(addr, odir, devmem, devshm string, opts ...Option) error
- type Device
- func (dev *Device) Boot(args []conddb.RFM) error
- func (dev *Device) Close() error
- func (dev *Device) Configure() error
- func (dev *Device) ConfigureDIF(addr string, dif uint8, asics []conddb.ASIC) error
- func (dev *Device) DumpConfig(w io.Writer, rfm int) error
- func (dev *Device) DumpCounters(w io.Writer, rfm int) error
- func (dev *Device) DumpFIFOStatus(w io.Writer, rfm int) error
- func (dev *Device) DumpRegisters(w io.Writer) error
- func (dev *Device) Initialize() error
- func (dev *Device) Start(run uint32) error
- func (dev *Device) Stop() error
- type Option
- func WithCShaper(v uint32) Option
- func WithConfigDir(dir string) Option
- func WithCtlAddr(addr string) Option
- func WithDAQMode(mode string) Option
- func WithDevSHM(dir string) Option
- func WithRFMMask(v uint32) Option
- func WithRShaper(v uint32) Option
- func WithResetBCID(timeout time.Duration) Option
- func WithThreshold(v uint32) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunStandalone ¶
Types ¶
type Device ¶
type Device struct {
// contains filtered or unexported fields
}
Device represents an EDA board device.
func (*Device) ConfigureDIF ¶
func (*Device) Initialize ¶
type Option ¶
type Option func(*config)
func WithCShaper ¶
func WithConfigDir ¶
func WithCtlAddr ¶
func WithDAQMode ¶
func WithDevSHM ¶
func WithRFMMask ¶
func WithRShaper ¶
func WithResetBCID ¶
func WithThreshold ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.