Documentation ¶
Overview ¶
Package fbdl/func implements FBDL functionality types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { Func Masters int64 Reset string Width int64 Sizes access.Sizes AddrSpace addrSpace.AddrSpace Consts cnst.Container Blackboxes []*Blackbox Configs []*Config Irqs []*Irq Masks []*Mask Memories []*Memory Procs []*Proc Statics []*Static Statuses []*Status Streams []*Stream Subblocks []*Block }
func (*Block) GroupedInsts ¶
type Config ¶
type Config struct { Func Atomic bool InitValue val.BitStr Groups []string Range val.Range ReadValue val.BitStr ResetValue val.BitStr Width int64 Access access.Access }
func (*Config) GroupNames ¶
type Functionality ¶
type GroupHolder ¶
type GroupHolder interface {
GroupedInsts() []Groupable
}
type Groupable ¶
type Groupable interface { Functionality GroupNames() []string }
type Irq ¶
type Irq struct { Func AddEnable bool Clear string EnableInitValue val.BitStr EnableResetValue val.BitStr Groups []string InTrigger string OutTrigger string Access access.Access }
func (*Irq) GroupNames ¶
type Mask ¶
type Mask struct { Func Atomic bool Groups []string InitValue val.BitStr ReadValue val.BitStr ResetValue val.BitStr Width int64 Access access.Access }
func (*Mask) GroupNames ¶
type Memory ¶
type Param ¶
func (*Param) GroupNames ¶
type Proc ¶
type Proc struct { Func Delay *val.Time Params []*Param Returns []*Return CallAddr *int64 ExitAddr *int64 }
func (*Proc) ParamsBufSize ¶
func (*Proc) ParamsStartAddr ¶
ParamsStartAddr panics if proc has no params.
func (*Proc) ReturnsBufSize ¶
func (*Proc) ReturnsStartAddr ¶
ReturnsStartAddr panics if proc has no returns.
type Return ¶
func (*Return) GroupNames ¶
type Static ¶
type Status ¶
type Status struct { Func Atomic bool Groups []string ReadValue val.BitStr Width int64 Access access.Access }
func (*Status) GroupNames ¶
type Stream ¶
func (*Stream) IsDownstream ¶
IsDownstream returns true if Stream has only params or Stream has not params and no returns. Empty stream is treated as a downstream.
func (*Stream) IsUpstream ¶
IsUpstream returns true if Stream has only returns.
Click to show internal directories.
Click to hide internal directories.