forked from libre-chip/fayalite
sim: Speed up updating traces by tracking which traces are written to
This commit is contained in:
parent
8cff3687f7
commit
402f457c68
47 changed files with 2888 additions and 1687 deletions
|
|
@ -1098,35 +1098,35 @@ Simulation {
|
|||
value: [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1 (modified),
|
||||
0 (modified),
|
||||
0 (modified),
|
||||
1 (modified),
|
||||
0 (modified),
|
||||
1 (modified),
|
||||
0 (modified),
|
||||
0 (modified),
|
||||
0 (modified),
|
||||
0 (modified),
|
||||
0 (modified),
|
||||
1 (modified),
|
||||
1 (modified),
|
||||
0 (modified),
|
||||
0 (modified),
|
||||
0 (modified),
|
||||
],
|
||||
},
|
||||
big_slots: StatePart {
|
||||
value: [
|
||||
0,
|
||||
0,
|
||||
51,
|
||||
51 (modified),
|
||||
0,
|
||||
51,
|
||||
51 (modified),
|
||||
25,
|
||||
51,
|
||||
51 (modified),
|
||||
0,
|
||||
51,
|
||||
51 (modified),
|
||||
25,
|
||||
1,
|
||||
0,
|
||||
|
|
@ -1138,56 +1138,56 @@ Simulation {
|
|||
0,
|
||||
25,
|
||||
1,
|
||||
25 (modified),
|
||||
1 (modified),
|
||||
0,
|
||||
0 (modified),
|
||||
0 (modified),
|
||||
0,
|
||||
0 (modified),
|
||||
1,
|
||||
1 (modified),
|
||||
0 (modified),
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1 (modified),
|
||||
0,
|
||||
0 (modified),
|
||||
0 (modified),
|
||||
1,
|
||||
1 (modified),
|
||||
1 (modified),
|
||||
25,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
25,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
25,
|
||||
1,
|
||||
50,
|
||||
51,
|
||||
51,
|
||||
51,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0 (modified),
|
||||
0 (modified),
|
||||
1 (modified),
|
||||
1 (modified),
|
||||
25 (modified),
|
||||
1 (modified),
|
||||
50 (modified),
|
||||
51 (modified),
|
||||
51 (modified),
|
||||
51 (modified),
|
||||
0 (modified),
|
||||
0 (modified),
|
||||
0 (modified),
|
||||
0 (modified),
|
||||
1 (modified),
|
||||
1 (modified),
|
||||
0 (modified),
|
||||
1 (modified),
|
||||
1 (modified),
|
||||
0 (modified),
|
||||
1 (modified),
|
||||
1 (modified),
|
||||
0 (modified),
|
||||
0,
|
||||
0 (modified),
|
||||
0 (modified),
|
||||
0 (modified),
|
||||
],
|
||||
},
|
||||
sim_only_slots: StatePart {
|
||||
|
|
@ -1722,6 +1722,7 @@ Simulation {
|
|||
kind: BigClock {
|
||||
index: StatePartIndex<BigSlots>(0),
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x0,
|
||||
last_state: 0x1,
|
||||
},
|
||||
|
|
@ -1730,6 +1731,7 @@ Simulation {
|
|||
kind: BigSyncReset {
|
||||
index: StatePartIndex<BigSlots>(1),
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x0,
|
||||
last_state: 0x0,
|
||||
},
|
||||
|
|
@ -1742,6 +1744,7 @@ Simulation {
|
|||
HdlSome(UInt<8>),
|
||||
},
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x1,
|
||||
last_state: 0x1,
|
||||
},
|
||||
|
|
@ -1751,6 +1754,7 @@ Simulation {
|
|||
index: StatePartIndex<BigSlots>(5),
|
||||
ty: UInt<8>,
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x19,
|
||||
last_state: 0x19,
|
||||
},
|
||||
|
|
@ -1759,6 +1763,7 @@ Simulation {
|
|||
kind: BigBool {
|
||||
index: StatePartIndex<BigSlots>(3),
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x0,
|
||||
last_state: 0x0,
|
||||
},
|
||||
|
|
@ -1771,6 +1776,7 @@ Simulation {
|
|||
HdlSome(UInt<8>),
|
||||
},
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x1,
|
||||
last_state: 0x1,
|
||||
},
|
||||
|
|
@ -1780,6 +1786,7 @@ Simulation {
|
|||
index: StatePartIndex<BigSlots>(9),
|
||||
ty: UInt<8>,
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x19,
|
||||
last_state: 0x19,
|
||||
},
|
||||
|
|
@ -1788,6 +1795,7 @@ Simulation {
|
|||
kind: BigBool {
|
||||
index: StatePartIndex<BigSlots>(7),
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x0,
|
||||
last_state: 0x0,
|
||||
},
|
||||
|
|
@ -1797,6 +1805,7 @@ Simulation {
|
|||
index: StatePartIndex<BigSlots>(10),
|
||||
ty: UInt<1>,
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x1,
|
||||
last_state: 0x1,
|
||||
},
|
||||
|
|
@ -1806,6 +1815,7 @@ Simulation {
|
|||
index: StatePartIndex<BigSlots>(11),
|
||||
ty: UInt<0>,
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x0,
|
||||
last_state: 0x0,
|
||||
},
|
||||
|
|
@ -1814,6 +1824,7 @@ Simulation {
|
|||
kind: BigBool {
|
||||
index: StatePartIndex<BigSlots>(12),
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x1,
|
||||
last_state: 0x1,
|
||||
},
|
||||
|
|
@ -1822,6 +1833,7 @@ Simulation {
|
|||
kind: BigClock {
|
||||
index: StatePartIndex<BigSlots>(13),
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x0,
|
||||
last_state: 0x1,
|
||||
},
|
||||
|
|
@ -1831,6 +1843,7 @@ Simulation {
|
|||
index: StatePartIndex<BigSlots>(14),
|
||||
ty: UInt<8>,
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x19,
|
||||
last_state: 0x19,
|
||||
},
|
||||
|
|
@ -1840,6 +1853,7 @@ Simulation {
|
|||
index: StatePartIndex<BigSlots>(15),
|
||||
ty: UInt<0>,
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x0,
|
||||
last_state: 0x0,
|
||||
},
|
||||
|
|
@ -1848,6 +1862,7 @@ Simulation {
|
|||
kind: BigBool {
|
||||
index: StatePartIndex<BigSlots>(16),
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x0,
|
||||
last_state: 0x0,
|
||||
},
|
||||
|
|
@ -1856,6 +1871,7 @@ Simulation {
|
|||
kind: BigClock {
|
||||
index: StatePartIndex<BigSlots>(17),
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x0,
|
||||
last_state: 0x1,
|
||||
},
|
||||
|
|
@ -1865,6 +1881,7 @@ Simulation {
|
|||
index: StatePartIndex<BigSlots>(18),
|
||||
ty: UInt<8>,
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x19,
|
||||
last_state: 0x19,
|
||||
},
|
||||
|
|
@ -1873,6 +1890,7 @@ Simulation {
|
|||
kind: BigBool {
|
||||
index: StatePartIndex<BigSlots>(19),
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x1,
|
||||
last_state: 0x1,
|
||||
},
|
||||
|
|
@ -1882,6 +1900,7 @@ Simulation {
|
|||
index: StatePartIndex<BigSlots>(22),
|
||||
ty: UInt<0>,
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x0,
|
||||
last_state: 0x0,
|
||||
},
|
||||
|
|
@ -1891,6 +1910,7 @@ Simulation {
|
|||
index: StatePartIndex<BigSlots>(25),
|
||||
ty: UInt<0>,
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x0,
|
||||
last_state: 0x0,
|
||||
},
|
||||
|
|
@ -1899,6 +1919,7 @@ Simulation {
|
|||
kind: BigBool {
|
||||
index: StatePartIndex<BigSlots>(27),
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x1,
|
||||
last_state: 0x1,
|
||||
},
|
||||
|
|
@ -1907,6 +1928,7 @@ Simulation {
|
|||
kind: BigBool {
|
||||
index: StatePartIndex<BigSlots>(30),
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x0,
|
||||
last_state: 0x0,
|
||||
},
|
||||
|
|
@ -1915,6 +1937,7 @@ Simulation {
|
|||
kind: BigBool {
|
||||
index: StatePartIndex<BigSlots>(31),
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x0,
|
||||
last_state: 0x0,
|
||||
},
|
||||
|
|
@ -1923,6 +1946,7 @@ Simulation {
|
|||
kind: BigBool {
|
||||
index: StatePartIndex<BigSlots>(32),
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x0,
|
||||
last_state: 0x0,
|
||||
},
|
||||
|
|
@ -1931,6 +1955,7 @@ Simulation {
|
|||
kind: BigBool {
|
||||
index: StatePartIndex<BigSlots>(33),
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x0,
|
||||
last_state: 0x0,
|
||||
},
|
||||
|
|
@ -1939,6 +1964,7 @@ Simulation {
|
|||
kind: BigBool {
|
||||
index: StatePartIndex<BigSlots>(34),
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x1,
|
||||
last_state: 0x1,
|
||||
},
|
||||
|
|
@ -1947,6 +1973,7 @@ Simulation {
|
|||
kind: BigBool {
|
||||
index: StatePartIndex<BigSlots>(36),
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x0,
|
||||
last_state: 0x0,
|
||||
},
|
||||
|
|
@ -1955,6 +1982,7 @@ Simulation {
|
|||
kind: BigBool {
|
||||
index: StatePartIndex<BigSlots>(39),
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x1,
|
||||
last_state: 0x1,
|
||||
},
|
||||
|
|
@ -1964,6 +1992,7 @@ Simulation {
|
|||
index: StatePartIndex<BigSlots>(42),
|
||||
ty: UInt<8>,
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x19,
|
||||
last_state: 0x19,
|
||||
},
|
||||
|
|
@ -1973,6 +2002,7 @@ Simulation {
|
|||
index: StatePartIndex<BigSlots>(66),
|
||||
ty: UInt<0>,
|
||||
},
|
||||
maybe_changed: true,
|
||||
state: 0x0,
|
||||
last_state: 0x0,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue