127 lines
3.7 KiB
Plaintext
127 lines
3.7 KiB
Plaintext
Simulation {
|
|
state: State {
|
|
insns: Insns {
|
|
state_layout: StateLayout {
|
|
ty: TypeLayout {
|
|
small_slots: StatePartLayout<SmallSlots> {
|
|
len: 0,
|
|
debug_data: [],
|
|
..
|
|
},
|
|
big_slots: StatePartLayout<BigSlots> {
|
|
len: 2,
|
|
debug_data: [
|
|
SlotDebugData {
|
|
name: "InstantiatedModule(connect_const: connect_const).connect_const::o",
|
|
ty: UInt<8>,
|
|
},
|
|
SlotDebugData {
|
|
name: "",
|
|
ty: UInt<8>,
|
|
},
|
|
],
|
|
..
|
|
},
|
|
},
|
|
memories: StatePartLayout<Memories> {
|
|
len: 0,
|
|
debug_data: [],
|
|
layout_data: [],
|
|
..
|
|
},
|
|
},
|
|
insns: [
|
|
// at: module-XXXXXXXXXX.rs:1:1
|
|
0: Const {
|
|
dest: StatePartIndex<BigSlots>(1), // (0x5) SlotDebugData { name: "", ty: UInt<8> },
|
|
value: 0x5,
|
|
},
|
|
// at: module-XXXXXXXXXX.rs:3:1
|
|
1: Copy {
|
|
dest: StatePartIndex<BigSlots>(0), // (0x5) SlotDebugData { name: "InstantiatedModule(connect_const: connect_const).connect_const::o", ty: UInt<8> },
|
|
src: StatePartIndex<BigSlots>(1), // (0x5) SlotDebugData { name: "", ty: UInt<8> },
|
|
},
|
|
// at: module-XXXXXXXXXX.rs:1:1
|
|
2: Return,
|
|
],
|
|
..
|
|
},
|
|
pc: 2,
|
|
memory_write_log: [],
|
|
memories: StatePart {
|
|
value: [],
|
|
},
|
|
small_slots: StatePart {
|
|
value: [],
|
|
},
|
|
big_slots: StatePart {
|
|
value: [
|
|
5,
|
|
5,
|
|
],
|
|
},
|
|
},
|
|
io: Instance {
|
|
name: <simulator>::connect_const,
|
|
instantiated: Module {
|
|
name: connect_const,
|
|
..
|
|
},
|
|
},
|
|
main_module: SimulationModuleState {
|
|
base_targets: [
|
|
Instance {
|
|
name: <simulator>::connect_const,
|
|
instantiated: Module {
|
|
name: connect_const,
|
|
..
|
|
},
|
|
}.o,
|
|
],
|
|
uninitialized_ios: {},
|
|
io_targets: {
|
|
Instance {
|
|
name: <simulator>::connect_const,
|
|
instantiated: Module {
|
|
name: connect_const,
|
|
..
|
|
},
|
|
}.o,
|
|
},
|
|
did_initial_settle: true,
|
|
},
|
|
extern_modules: [],
|
|
state_ready_to_run: false,
|
|
trace_decls: TraceModule {
|
|
name: "connect_const",
|
|
children: [
|
|
TraceModuleIO {
|
|
name: "o",
|
|
child: TraceUInt {
|
|
location: TraceScalarId(0),
|
|
name: "o",
|
|
ty: UInt<8>,
|
|
flow: Sink,
|
|
},
|
|
ty: UInt<8>,
|
|
flow: Sink,
|
|
},
|
|
],
|
|
},
|
|
traces: [
|
|
SimTrace {
|
|
id: TraceScalarId(0),
|
|
kind: BigUInt {
|
|
index: StatePartIndex<BigSlots>(0),
|
|
ty: UInt<8>,
|
|
},
|
|
state: 0x05,
|
|
last_state: 0x05,
|
|
},
|
|
],
|
|
trace_memories: {},
|
|
trace_writers: [],
|
|
instant: 0 s,
|
|
clocks_triggered: [],
|
|
..
|
|
} |