forked from libre-chip/fayalite
sim: WIP adding memory support
This commit is contained in:
parent
e504cfebfe
commit
3ed7827485
8 changed files with 335 additions and 38 deletions
|
@ -23,6 +23,12 @@ Simulation {
|
|||
..
|
||||
},
|
||||
},
|
||||
memories: StatePartAllocationLayout<Memories> {
|
||||
len: 0,
|
||||
debug_data: [],
|
||||
layout_data: [],
|
||||
..
|
||||
},
|
||||
},
|
||||
insns: [
|
||||
// at: module-XXXXXXXXXX.rs:1:1
|
||||
|
@ -41,6 +47,9 @@ Simulation {
|
|||
..
|
||||
},
|
||||
pc: 2,
|
||||
memories: StatePart {
|
||||
value: [],
|
||||
},
|
||||
small_slots: StatePart {
|
||||
value: [],
|
||||
},
|
||||
|
|
|
@ -35,6 +35,12 @@ Simulation {
|
|||
..
|
||||
},
|
||||
},
|
||||
memories: StatePartAllocationLayout<Memories> {
|
||||
len: 0,
|
||||
debug_data: [],
|
||||
layout_data: [],
|
||||
..
|
||||
},
|
||||
},
|
||||
insns: [
|
||||
// at: module-XXXXXXXXXX.rs:1:1
|
||||
|
@ -67,6 +73,9 @@ Simulation {
|
|||
..
|
||||
},
|
||||
pc: 5,
|
||||
memories: StatePart {
|
||||
value: [],
|
||||
},
|
||||
small_slots: StatePart {
|
||||
value: [],
|
||||
},
|
||||
|
|
|
@ -72,6 +72,12 @@ Simulation {
|
|||
..
|
||||
},
|
||||
},
|
||||
memories: StatePartAllocationLayout<Memories> {
|
||||
len: 0,
|
||||
debug_data: [],
|
||||
layout_data: [],
|
||||
..
|
||||
},
|
||||
},
|
||||
insns: [
|
||||
// at: module-XXXXXXXXXX.rs:1:1
|
||||
|
@ -162,6 +168,9 @@ Simulation {
|
|||
..
|
||||
},
|
||||
pc: 18,
|
||||
memories: StatePart {
|
||||
value: [],
|
||||
},
|
||||
small_slots: StatePart {
|
||||
value: [
|
||||
18446744073709551614,
|
||||
|
|
|
@ -68,6 +68,12 @@ Simulation {
|
|||
..
|
||||
},
|
||||
},
|
||||
memories: StatePartAllocationLayout<Memories> {
|
||||
len: 0,
|
||||
debug_data: [],
|
||||
layout_data: [],
|
||||
..
|
||||
},
|
||||
},
|
||||
insns: [
|
||||
// at: module-XXXXXXXXXX.rs:6:1
|
||||
|
@ -144,6 +150,9 @@ Simulation {
|
|||
..
|
||||
},
|
||||
pc: 15,
|
||||
memories: StatePart {
|
||||
value: [],
|
||||
},
|
||||
small_slots: StatePart {
|
||||
value: [
|
||||
18446744073709551614,
|
||||
|
|
|
@ -83,6 +83,12 @@ Simulation {
|
|||
..
|
||||
},
|
||||
},
|
||||
memories: StatePartAllocationLayout<Memories> {
|
||||
len: 0,
|
||||
debug_data: [],
|
||||
layout_data: [],
|
||||
..
|
||||
},
|
||||
},
|
||||
insns: [
|
||||
// at: module-XXXXXXXXXX.rs:4:1
|
||||
|
@ -174,6 +180,9 @@ Simulation {
|
|||
..
|
||||
},
|
||||
pc: 17,
|
||||
memories: StatePart {
|
||||
value: [],
|
||||
},
|
||||
small_slots: StatePart {
|
||||
value: [],
|
||||
},
|
||||
|
|
|
@ -84,6 +84,12 @@ Simulation {
|
|||
..
|
||||
},
|
||||
},
|
||||
memories: StatePartAllocationLayout<Memories> {
|
||||
len: 0,
|
||||
debug_data: [],
|
||||
layout_data: [],
|
||||
..
|
||||
},
|
||||
},
|
||||
insns: [
|
||||
// at: module-XXXXXXXXXX.rs:13:1
|
||||
|
@ -221,6 +227,9 @@ Simulation {
|
|||
..
|
||||
},
|
||||
pc: 30,
|
||||
memories: StatePart {
|
||||
value: [],
|
||||
},
|
||||
small_slots: StatePart {
|
||||
value: [
|
||||
18446744073709551614,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue