Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Redcrafter/verilog2factorio
/ functions
Functions
286 in github.com/Redcrafter/verilog2factorio
⨍
Functions
286
◇
Types & classes
133
↓ 102 callers
Function
makeConnection
(c: Color | "red" | "green", ...points: Endpoint[])
src/entities/Entity.ts:379
↓ 90 callers
Method
assert
(condition: Boolean, message?: string)
src/logger.ts:3
↓ 50 callers
Method
output
()
src/nodes/Mem.ts:166
↓ 38 callers
Function
getInputNode
(bits: (number | string)[])
src/parser.ts:219
↓ 32 callers
Method
add
(p: Endpoint)
src/optimization/groups.ts:62
↓ 29 callers
Method
delete
()
src/nets.ts:125
↓ 26 callers
Method
log
(message: string)
src/logger.ts:2
↓ 23 callers
Method
getValue
(signal: SignalID)
test/simulator.ts:326
↓ 20 callers
Method
update
()
test/simulator.ts:281
↓ 18 callers
Method
get
(signal: SignalID, net: Network)
src/optimization/groups.ts:211
↓ 12 callers
Function
makeCon
(col: "red" | "green", a: SimEnd, d: ConnectionData)
test/simulator.ts:429
↓ 11 callers
Method
add
(e: Endpoint)
src/nets.ts:30
↓ 11 callers
Function
createTransformer
(input?: Endpoint, sig = signalC)
src/nodes/Node.ts:12
↓ 10 callers
Function
constNetwork
(net: Network, s: SignalID)
src/optimization/opt_const.ts:14
↓ 9 callers
Function
arraySame
(str: ArrayLike<T>, expected: T)
src/nodes/Mem.ts:10
↓ 8 callers
Method
convert
()
src/entities/Entity.ts:333
↓ 7 callers
Function
connect
(c: Color, a: Endpoint, b: Endpoint)
src/layout/netMatrix.ts:23
↓ 7 callers
Function
createSimulator
(file: string, moduleName: string)
test/simulator.ts:375
↓ 6 callers
Function
a
(signal: SignalID)
src/optimization/opt_merge.ts:33
↓ 6 callers
Function
add
(dat: Set<Endpoint>)
src/layout/annealing.ts:291
↓ 6 callers
Method
add
(e: SimEnd)
test/simulator.ts:297
↓ 6 callers
Function
createLimiter
(mask: number)
src/nodes/Node.ts:25
↓ 6 callers
Method
error
(message: string)
src/logger.ts:6
↓ 6 callers
Method
merge
(a: Group, b: Group)
src/optimization/groups.ts:99
↓ 6 callers
Method
setNode
(x: number, y: number, v: Point)
src/layout/annealing.ts:271
↓ 5 callers
Method
addSignal
(s: SignalID)
src/nets.ts:61
↓ 5 callers
Function
countLong
(comb: Entity)
src/layout/chunkAnnealing.ts:56
↓ 5 callers
Method
float
()
src/random.ts:42
↓ 5 callers
Function
isSpecial
(s: SignalID)
src/entities/Entity.ts:37
↓ 5 callers
Function
printYosys
()
web/index.js:125
↓ 5 callers
Method
remove
(p: Endpoint)
src/optimization/groups.ts:86
↓ 4 callers
Method
combs
()
src/nodes/SHR.ts:87
↓ 4 callers
Function
del
()
src/optimization/opt_const.ts:94
↓ 4 callers
Function
delN
(s: SignalID)
src/optimization/opt_const.ts:101
↓ 4 callers
Method
edgeLength
()
src/layout/annealing.ts:38
↓ 4 callers
Method
getAll
(signals: Map<SignalID, number>)
test/simulator.ts:320
↓ 4 callers
Function
hasClose
(c: Entity, net: Network)
src/layout/chunkAnnealing.ts:44
↓ 4 callers
Method
int
()
src/random.ts:35
↓ 4 callers
Function
isSpecial
(s: SignalID)
src/optimization/groups.ts:139
↓ 4 callers
Method
rand
(min: number, max: number)
src/layout/annealing.ts:66
↓ 4 callers
Function
repl
(str: string)
src/generateCircuitGraph.ts:12
↓ 4 callers
Method
reset
()
test/simulator.ts:282
↓ 3 callers
Function
buildGraph
(mod: yosys.Module)
src/parser.ts:160
↓ 3 callers
Method
getNode
(x: number, y: number)
src/layout/annealing.ts:267
↓ 3 callers
Method
hasOtherWriters
(e: Endpoint)
src/nets.ts:94
↓ 3 callers
Method
simple
(value: number)
src/entities/Constant.ts:63
↓ 3 callers
Method
warn
(...data: any[])
src/logger.ts:4
↓ 2 callers
Method
addGroup
(g: Group)
src/optimization/groups.ts:120
↓ 2 callers
Function
addNode
(node: Node)
src/parser.ts:252
↓ 2 callers
Function
addToSet
(a: Set<T>, b: Set<T>)
src/optimization/groups.ts:38
↓ 2 callers
Function
chain
(n: Network, color: Color)
src/optimization/opt_chain.ts:16
↓ 2 callers
Method
changeSignal
(from: SignalID, to: SignalID)
src/optimization/groups.ts:58
↓ 2 callers
Function
changeTab
(tab)
web/tabs.js:22
↓ 2 callers
Function
clock
()
test/tests/chip8.ts:54
↓ 2 callers
Function
clock
()
test/tests/rv32i_cpu.ts:53
↓ 2 callers
Function
connect
(color: "red" | "green", a: Endpoint, b: Endpoint)
src/entities/Entity.ts:380
↓ 2 callers
Method
connect
(makeCon: conFun)
test/simulator.ts:274
↓ 2 callers
Function
connectColor
(nets: Set<Network>, asd: "redP" | "greenP")
src/layout/chunkAnnealing.ts:98
↓ 2 callers
Function
createBlueprint
(entityList, name)
web/index.js:82
↓ 2 callers
Function
dist
(a: Point, b: Point)
src/layout/annealing.ts:7
↓ 2 callers
Function
dist
(a: Vec2, b: Vec2)
src/layout/chunkAnnealing.ts:37
↓ 2 callers
Method
doOp
(a: number, b: number)
test/simulator.ts:112
↓ 2 callers
Function
execYosys
(files: string[], command: string)
src/yosys.ts:299
↓ 2 callers
Function
genLabel
(ent: Entity)
src/generateCircuitGraph.ts:16
↓ 2 callers
Function
genNetlist
(files: string[])
src/yosys.ts:318
↓ 2 callers
Function
generateCircuitGraph
(filename: string, combs: Entity[])
src/generateCircuitGraph.ts:38
↓ 2 callers
Function
getEnd
(ent: Entity, color: string)
src/generateCircuitGraph.ts:74
↓ 2 callers
Function
getPoints
(n: Entity)
src/layout/chunkAnnealing.ts:68
↓ 2 callers
Method
getSub
(signalId: SignalID)
src/optimization/groups.ts:245
↓ 2 callers
Method
hasOtherColor
()
src/nets.ts:116
↓ 2 callers
Method
hasOtherReaders
(e: Endpoint)
src/nets.ts:107
↓ 2 callers
Method
hasSignal
(s: SignalID)
src/optimization/groups.ts:57
↓ 2 callers
Function
makeEdge
(from: Entity, to: Entity, color: "r" | "g")
src/generateCircuitGraph.ts:80
↓ 2 callers
Method
netSignalAdd
(e: Endpoint, s: SignalID)
src/entities/Decider.ts:54
↓ 2 callers
Function
opt_chain
(entities: Entity[])
src/optimization/opt_chain.ts:8
↓ 2 callers
Function
optimize
(entities: Entity[])
src/optimization/optimize.ts:12
↓ 2 callers
Function
pulse
()
test/tests/fibonacci.ts:14
↓ 2 callers
Function
pulse
()
test/tests/spiral.ts:42
↓ 2 callers
Function
pulse
()
test/tests/collatz.ts:16
↓ 2 callers
Function
setGlobalSource
(source: Node)
src/entities/Entity.ts:311
↓ 2 callers
Function
stringPoles
(el: El, x: number)
src/layout/netMatrix.ts:57
↓ 2 callers
Method
table
(tabularData?: any, properties?: string[])
src/logger.ts:5
↓ 2 callers
Method
toObj
()
src/entities/Pole.ts:22
↓ 2 callers
Function
trace
(x: number, y: number)
src/layout/chunkAnnealing.ts:160
↓ 2 callers
Function
transform
(name: string, nodes: Node[])
src/transformer.ts:52
↓ 1 callers
Function
Merge
(A: number)
test/tests/gates.ts:46
↓ 1 callers
Method
_connect
(getInputNode: nodeFunc)
src/nodes/SHR.ts:22
↓ 1 callers
Method
addEdge
(a: number, b: number)
src/layout/annealing.ts:75
↓ 1 callers
Method
addNode
(fixed: boolean)
src/layout/annealing.ts:70
↓ 1 callers
Function
arrMatch
(a: T[], b: T[])
src/parser.ts:136
↓ 1 callers
Function
arraysEqual
(a: T[], b: T[])
src/parser.ts:38
↓ 1 callers
Function
calcConstArith
(comb: Arithmetic)
src/optimization/opt_const.ts:32
↓ 1 callers
Function
calcConstDecider
(comb: Decider, a: number)
src/optimization/opt_const.ts:53
↓ 1 callers
Function
changeCombSignal
(endpoint: Endpoint, from: SignalID, to: SignalID)
src/optimization/groups.ts:12
↓ 1 callers
Function
compile
()
web/index.js:124
↓ 1 callers
Function
compress
(data: BlueprintWrapper)
src/blueprint.ts:138
↓ 1 callers
Function
createBlueprintBook
(blueprints: Blueprint[])
src/blueprint.ts:129
↓ 1 callers
Function
createBlueprintBook
(blueprints)
web/index.js:104
↓ 1 callers
Function
createBpString
(blueprints: Blueprint[])
src/blueprint.ts:142
↓ 1 callers
Function
createNode
(item: yosys.Cell)
src/parser.ts:49
next →
1–100 of 286, ranked by callers