Documentation
¶
Overview ¶
implementation of ajvondrak's xand core
Index ¶
Constants ¶
View Source
const ( MemoryLoad = iota MemoryStore )
View Source
const ( AluSubtract = iota AluLessThanZero AluLessThanOrEqualToZero )
View Source
const MemorySize = 128
Variables ¶
This section is empty.
Functions ¶
func RegistrationName ¶
func RegistrationName() string
Types ¶
type Alu ¶
type BranchUnit ¶
type BranchUnit struct {
Control, Condition, OnTrue, OnFalse chan<- Word
Result <-chan Word
// contains filtered or unexported fields
}
func NewBranchUnit ¶
func NewBranchUnit() *BranchUnit
type Core ¶
type Core struct {
// contains filtered or unexported fields
}
func (*Core) GetDebugStatus ¶
func (*Core) InstallProgram ¶
type MemoryUnit ¶
type MemoryUnit struct {
Control, Op, Addr, Value chan<- Word
Result <-chan Word
Error <-chan error
// contains filtered or unexported fields
}
func NewMemoryUnit ¶
func NewMemoryUnit() *MemoryUnit
Click to show internal directories.
Click to hide internal directories.