Versions in this module Expand all Collapse all v0 v0.1.1 Nov 13, 2025 Changes in this version + type CacheCapability interface + Role func() CacheRole + type CacheRole string + const CacheRoleHome + const CacheRoleRequest + type CacheWithHomeStore interface + HomeCache func() HomeCache + func NewHomeCacheCapability(name string) CacheWithHomeStore + type CacheWithRequestStore interface + RequestCache func() RequestCache + func NewMESICacheCapability(name string) CacheWithRequestStore + type DirectoryCapability interface + Directory func() DirectoryStore + func NewDirectoryCapability(name string) DirectoryCapability + type DirectoryStore interface + Add func(address uint64, nodeID int) + Clear func(address uint64) + Remove func(address uint64, nodeID int) + Reset func() + Sharers func(address uint64) []int + type HomeCache interface + Clear func() + GetLine func(addr uint64) (HomeCacheLine, bool) + Invalidate func(addr uint64) + UpdateLine func(addr uint64, line HomeCacheLine) + type HomeCacheLine struct + Address uint64 + Metadata map[string]string + Valid bool + type NodeCapability interface + Descriptor func() hooks.PluginDescriptor + Register func(broker *hooks.PluginBroker) error + func NewFlowControlCapability(name string, mgr policy.Manager) NodeCapability + func NewHookCapability(name string, category hooks.PluginCategory, description string, ...) NodeCapability + func NewRoutingCapability(name string, mgr policy.Manager) NodeCapability + type PacketAllocator func() (int64, error) + type RequestCache interface + Clear func() + GetState func(addr uint64) core.MESIState + Invalidate func(addr uint64) + SetState func(addr uint64, state core.MESIState) + type RequestCacheHandler interface + BuildSnoopResponse func(nodeID int, req *core.Packet, alloc PacketAllocator, cycle int) (*core.Packet, error) + HandleResponse func(packet *core.Packet) + type TransactionCapability interface + Creator func() TransactionCreator + func NewDefaultTransactionCapability(name string, allocate func() (int64, error), ...) TransactionCapability + func NewTransactionCapability(name string, creator TransactionCreator) TransactionCapability + type TransactionCreator func(params TxRequestParams) (*core.Packet, *core.Transaction, error) + type TxRequestParams struct + Address uint64 + Cycle int + DataSize int + DstID int + MasterID int + ParentPacketID int64 + SrcID int + TransactionType core.CHITransactionType v0.1.0 Nov 12, 2025