forked from libre-chip/cpu
Compare commits
3 commits
b85019ddd0
...
c52cf12360
| Author | SHA1 | Date | |
|---|---|---|---|
| c52cf12360 | |||
| 12ef8c63b5 | |||
| 5433c6c2a7 |
2 changed files with 14 additions and 11 deletions
8
Cargo.lock
generated
8
Cargo.lock
generated
|
|
@ -304,7 +304,7 @@ checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6"
|
|||
[[package]]
|
||||
name = "fayalite"
|
||||
version = "0.3.0"
|
||||
source = "git+https://git.libre-chip.org/libre-chip/fayalite.git?branch=master#fbc8ffa5aea6cc76d643880cd21a34993fb1ec4f"
|
||||
source = "git+https://git.libre-chip.org/libre-chip/fayalite.git?branch=master#45fea70c1841aedbb32377d88c0280c7a83e6208"
|
||||
dependencies = [
|
||||
"base64",
|
||||
"bitvec",
|
||||
|
|
@ -331,7 +331,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "fayalite-proc-macros"
|
||||
version = "0.3.0"
|
||||
source = "git+https://git.libre-chip.org/libre-chip/fayalite.git?branch=master#fbc8ffa5aea6cc76d643880cd21a34993fb1ec4f"
|
||||
source = "git+https://git.libre-chip.org/libre-chip/fayalite.git?branch=master#45fea70c1841aedbb32377d88c0280c7a83e6208"
|
||||
dependencies = [
|
||||
"fayalite-proc-macros-impl",
|
||||
]
|
||||
|
|
@ -339,7 +339,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "fayalite-proc-macros-impl"
|
||||
version = "0.3.0"
|
||||
source = "git+https://git.libre-chip.org/libre-chip/fayalite.git?branch=master#fbc8ffa5aea6cc76d643880cd21a34993fb1ec4f"
|
||||
source = "git+https://git.libre-chip.org/libre-chip/fayalite.git?branch=master#45fea70c1841aedbb32377d88c0280c7a83e6208"
|
||||
dependencies = [
|
||||
"base16ct",
|
||||
"num-bigint",
|
||||
|
|
@ -354,7 +354,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "fayalite-visit-gen"
|
||||
version = "0.3.0"
|
||||
source = "git+https://git.libre-chip.org/libre-chip/fayalite.git?branch=master#fbc8ffa5aea6cc76d643880cd21a34993fb1ec4f"
|
||||
source = "git+https://git.libre-chip.org/libre-chip/fayalite.git?branch=master#45fea70c1841aedbb32377d88c0280c7a83e6208"
|
||||
dependencies = [
|
||||
"indexmap",
|
||||
"prettyplease",
|
||||
|
|
|
|||
|
|
@ -545,6 +545,7 @@ pub fn next_pc(config: PhantomConst<CpuConfig>) {
|
|||
sim.write(to_fetch.inner.data, HdlNone()).await;
|
||||
},
|
||||
|mut sim: ExternModuleSimulationState, ()| async move {
|
||||
sim.fork_join_scope(|scope, mut sim: ExternModuleSimulationState| async move {
|
||||
for step in 0usize.. {
|
||||
sim.wait_for_clock_edge(cd.clk).await;
|
||||
match ResetSteps::reset_step(state_for_debug, &mut sim, step).await {
|
||||
|
|
@ -553,6 +554,8 @@ pub fn next_pc(config: PhantomConst<CpuConfig>) {
|
|||
}
|
||||
}
|
||||
// TODO: finish
|
||||
})
|
||||
.await
|
||||
},
|
||||
)
|
||||
.await;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue