228 lines
8 KiB
Plaintext
228 lines
8 KiB
Plaintext
Simulation {
|
|
state: State {
|
|
insns: Insns {
|
|
state_layout: StateLayout {
|
|
ty: TypeLayout {
|
|
small_slots: StatePartAllocationLayout<SmallSlots> {
|
|
len: 0,
|
|
debug_data: [],
|
|
..
|
|
},
|
|
big_slots: StatePartAllocationLayout<BigSlots> {
|
|
len: 5,
|
|
debug_data: [
|
|
SlotDebugData {
|
|
name: "InstantiatedModule(connect_const_reset: connect_const_reset).connect_const_reset::reset_out",
|
|
ty: AsyncReset,
|
|
},
|
|
SlotDebugData {
|
|
name: "InstantiatedModule(connect_const_reset: connect_const_reset).connect_const_reset::bit_out",
|
|
ty: Bool,
|
|
},
|
|
SlotDebugData {
|
|
name: "",
|
|
ty: Bool,
|
|
},
|
|
SlotDebugData {
|
|
name: "",
|
|
ty: AsyncReset,
|
|
},
|
|
SlotDebugData {
|
|
name: "",
|
|
ty: Bool,
|
|
},
|
|
],
|
|
..
|
|
},
|
|
},
|
|
memories: StatePartAllocationLayout<Memories> {
|
|
len: 0,
|
|
debug_data: [],
|
|
layout_data: [],
|
|
..
|
|
},
|
|
},
|
|
insns: [
|
|
// at: module-XXXXXXXXXX.rs:1:1
|
|
Const {
|
|
dest: StatePartIndex<BigSlots>(2), // SlotDebugData { name: "", ty: Bool },
|
|
value: 1,
|
|
},
|
|
Copy {
|
|
dest: StatePartIndex<BigSlots>(3), // SlotDebugData { name: "", ty: AsyncReset },
|
|
src: StatePartIndex<BigSlots>(2), // SlotDebugData { name: "", ty: Bool },
|
|
},
|
|
// at: module-XXXXXXXXXX.rs:4:1
|
|
Copy {
|
|
dest: StatePartIndex<BigSlots>(0), // SlotDebugData { name: "InstantiatedModule(connect_const_reset: connect_const_reset).connect_const_reset::reset_out", ty: AsyncReset },
|
|
src: StatePartIndex<BigSlots>(3), // SlotDebugData { name: "", ty: AsyncReset },
|
|
},
|
|
// at: module-XXXXXXXXXX.rs:1:1
|
|
Copy {
|
|
dest: StatePartIndex<BigSlots>(4), // SlotDebugData { name: "", ty: Bool },
|
|
src: StatePartIndex<BigSlots>(0), // SlotDebugData { name: "InstantiatedModule(connect_const_reset: connect_const_reset).connect_const_reset::reset_out", ty: AsyncReset },
|
|
},
|
|
// at: module-XXXXXXXXXX.rs:5:1
|
|
Copy {
|
|
dest: StatePartIndex<BigSlots>(1), // SlotDebugData { name: "InstantiatedModule(connect_const_reset: connect_const_reset).connect_const_reset::bit_out", ty: Bool },
|
|
src: StatePartIndex<BigSlots>(4), // SlotDebugData { name: "", ty: Bool },
|
|
},
|
|
// at: module-XXXXXXXXXX.rs:1:1
|
|
Return,
|
|
],
|
|
..
|
|
},
|
|
pc: 5,
|
|
memory_write_log: [],
|
|
memories: StatePart {
|
|
value: [],
|
|
},
|
|
small_slots: StatePart {
|
|
value: [],
|
|
},
|
|
big_slots: StatePart {
|
|
value: [
|
|
1,
|
|
1,
|
|
1,
|
|
1,
|
|
1,
|
|
],
|
|
},
|
|
},
|
|
io: Instance {
|
|
name: <simulator>::connect_const_reset,
|
|
instantiated: Module {
|
|
name: connect_const_reset,
|
|
..
|
|
},
|
|
},
|
|
uninitialized_inputs: {},
|
|
io_targets: {
|
|
Instance {
|
|
name: <simulator>::connect_const_reset,
|
|
instantiated: Module {
|
|
name: connect_const_reset,
|
|
..
|
|
},
|
|
}.bit_out: CompiledValue {
|
|
layout: CompiledTypeLayout {
|
|
ty: Bool,
|
|
layout: TypeLayout {
|
|
small_slots: StatePartAllocationLayout<SmallSlots> {
|
|
len: 0,
|
|
debug_data: [],
|
|
..
|
|
},
|
|
big_slots: StatePartAllocationLayout<BigSlots> {
|
|
len: 1,
|
|
debug_data: [
|
|
SlotDebugData {
|
|
name: "InstantiatedModule(connect_const_reset: connect_const_reset).connect_const_reset::bit_out",
|
|
ty: Bool,
|
|
},
|
|
],
|
|
..
|
|
},
|
|
},
|
|
body: Scalar,
|
|
},
|
|
range: TypeIndexRange {
|
|
small_slots: StatePartIndexRange<SmallSlots> { start: 0, len: 0 },
|
|
big_slots: StatePartIndexRange<BigSlots> { start: 1, len: 1 },
|
|
},
|
|
write: None,
|
|
},
|
|
Instance {
|
|
name: <simulator>::connect_const_reset,
|
|
instantiated: Module {
|
|
name: connect_const_reset,
|
|
..
|
|
},
|
|
}.reset_out: CompiledValue {
|
|
layout: CompiledTypeLayout {
|
|
ty: AsyncReset,
|
|
layout: TypeLayout {
|
|
small_slots: StatePartAllocationLayout<SmallSlots> {
|
|
len: 0,
|
|
debug_data: [],
|
|
..
|
|
},
|
|
big_slots: StatePartAllocationLayout<BigSlots> {
|
|
len: 1,
|
|
debug_data: [
|
|
SlotDebugData {
|
|
name: "InstantiatedModule(connect_const_reset: connect_const_reset).connect_const_reset::reset_out",
|
|
ty: AsyncReset,
|
|
},
|
|
],
|
|
..
|
|
},
|
|
},
|
|
body: Scalar,
|
|
},
|
|
range: TypeIndexRange {
|
|
small_slots: StatePartIndexRange<SmallSlots> { start: 0, len: 0 },
|
|
big_slots: StatePartIndexRange<BigSlots> { start: 0, len: 1 },
|
|
},
|
|
write: None,
|
|
},
|
|
},
|
|
made_initial_step: true,
|
|
needs_settle: false,
|
|
trace_decls: TraceModule {
|
|
name: "connect_const_reset",
|
|
children: [
|
|
TraceModuleIO {
|
|
name: "reset_out",
|
|
child: TraceAsyncReset {
|
|
location: TraceScalarId(0),
|
|
name: "reset_out",
|
|
flow: Sink,
|
|
},
|
|
ty: AsyncReset,
|
|
flow: Sink,
|
|
},
|
|
TraceModuleIO {
|
|
name: "bit_out",
|
|
child: TraceBool {
|
|
location: TraceScalarId(1),
|
|
name: "bit_out",
|
|
flow: Sink,
|
|
},
|
|
ty: Bool,
|
|
flow: Sink,
|
|
},
|
|
],
|
|
},
|
|
traces: [
|
|
SimTrace {
|
|
id: TraceScalarId(0),
|
|
kind: BigAsyncReset {
|
|
index: StatePartIndex<BigSlots>(0),
|
|
},
|
|
state: 0x1,
|
|
last_state: 0x1,
|
|
},
|
|
SimTrace {
|
|
id: TraceScalarId(1),
|
|
kind: BigBool {
|
|
index: StatePartIndex<BigSlots>(1),
|
|
},
|
|
state: 0x1,
|
|
last_state: 0x1,
|
|
},
|
|
],
|
|
trace_memories: {},
|
|
trace_writers: [
|
|
Running(
|
|
VcdWriter {
|
|
finished_init: true,
|
|
timescale: 1 ps,
|
|
..
|
|
},
|
|
),
|
|
],
|
|
instant: 1 μs,
|
|
clocks_triggered: [],
|
|
} |