@celox-sim/celox / index / ModuleDefinition
Interface: ModuleDefinition<Ports>
Defined in: packages/celox/src/types.ts:26
A compiled module descriptor emitted by celox-gen-ts. The type parameter Ports carries the generated port interface (e.g. AdderPorts) so that Simulator.create(Adder) returns a correctly-typed DUT accessor.
Type Parameters
Ports
Ports = Record<string, unknown>
Properties
__celox_module
readonly__celox_module:true
Defined in: packages/celox/src/types.ts:27
__ports?
readonlyoptional__ports:Ports
Defined in: packages/celox/src/types.ts:37
Phantom field — never set at runtime. Carries the Ports type.
defaultOptions?
readonlyoptionaldefaultOptions:SimulatorOptions
Defined in: packages/celox/src/types.ts:35
Default options baked in by the Vite plugin (e.g. via ?dse= query).
events
readonlyevents:string[]
Defined in: packages/celox/src/types.ts:31
name
readonlyname:string
Defined in: packages/celox/src/types.ts:28
ports
readonlyports:Record<string,PortInfo>
Defined in: packages/celox/src/types.ts:30
projectPath?
readonlyoptionalprojectPath:string
Defined in: packages/celox/src/types.ts:33
Absolute path to the Veryl project directory (set by Vite plugin).
sources
readonlysources: readonlySourceFile[]
Defined in: packages/celox/src/types.ts:29