WIP: add a simulator #3

Draft
programmerjake wants to merge 36 commits from adding-simulator into master

I figured i should probably make a PR...

I figured i should probably make a PR...
programmerjake added 12 commits 2024-11-20 21:27:13 +00:00
WIP adding simulator
Some checks failed
/ deps (push) Successful in 17s
/ test (push) Failing after 16s
56ff69ba52
WIP implementing simulator
Some checks failed
/ test (push) Blocked by required conditions
/ deps (push) Has been cancelled
32253bc3f4
add missing copyright headers
All checks were successful
/ deps (push) Successful in 11m33s
/ test (push) Successful in 4m51s
41ce9b3474
working on simulator
All checks were successful
/ deps (push) Successful in 17s
/ test (push) Successful in 4m50s
96b3f1fee4
working on simulator
All checks were successful
/ deps (push) Successful in 18s
/ test (push) Successful in 4m49s
5b2abd3fca
working on simulator...
All checks were successful
/ deps (push) Successful in 20s
/ test (push) Successful in 4m58s
f780e31622
simulator WIP: use petgraph for topological sort over assignments
All checks were successful
/ deps (push) Successful in 18s
/ test (push) Successful in 4m50s
d7d8e2e7ce
Simulation::settle_step() works for simple modules
All checks were successful
/ deps (push) Successful in 18s
/ test (push) Successful in 4m49s
2e9d5c1835
simple combinatorial simulation works!
All checks were successful
/ deps (push) Successful in 21s
/ test (push) Successful in 4m49s
414a2d74f1
WIP adding VCD output
All checks were successful
/ deps (push) Successful in 18s
/ test (push) Successful in 4m48s
6eef3c23b5
wire up simulator trace writing interface
All checks were successful
/ deps (push) Successful in 17s
/ test (push) Successful in 4m48s
904752fa0c
WIP adding VCD output
All checks were successful
/ deps (push) Successful in 15s
/ test (push) Successful in 4m50s
/ deps (pull_request) Successful in 14s
/ test (pull_request) Successful in 4m49s
16ea6850c8
programmerjake force-pushed adding-simulator from 16ea6850c8 to e2653a3245 2024-11-21 06:37:04 +00:00 Compare
programmerjake force-pushed adding-simulator from e2653a3245 to 11ddbc43c7 2024-11-21 06:54:27 +00:00 Compare
programmerjake added 1 commit 2024-11-23 00:07:45 +00:00
WIP adding deduce_resets pass
All checks were successful
/ deps (push) Successful in 19s
/ test (push) Successful in 4m46s
/ deps (pull_request) Successful in 13s
/ test (pull_request) Successful in 4m45s
913baa37e9
programmerjake added 1 commit 2024-11-24 11:44:55 +00:00
WIP working on implementing deduce_resets pass
Some checks failed
/ deps (push) Successful in 18s
/ test (push) Failing after 1m31s
/ deps (pull_request) Successful in 13s
/ test (pull_request) Failing after 1m31s
59be3bd645
programmerjake added 1 commit 2024-11-24 22:39:57 +00:00
working on deduce_resets pass
Some checks failed
/ deps (push) Successful in 16s
/ test (push) Failing after 1m30s
/ deps (pull_request) Successful in 13s
/ test (pull_request) Failing after 1m32s
698b8adc23
programmerjake added 1 commit 2024-11-24 22:42:54 +00:00
increase rust version to support omitting match arms with uninhabited types
Some checks failed
/ deps (push) Successful in 17s
/ test (push) Failing after 1m18s
/ deps (pull_request) Successful in 13s
/ test (pull_request) Failing after 1m17s
52ab134673
programmerjake added 1 commit 2024-11-24 22:46:47 +00:00
increase rust version in CI too
All checks were successful
/ deps (push) Successful in 15s
/ test (push) Successful in 4m57s
/ deps (pull_request) Successful in 14s
/ test (pull_request) Successful in 5m1s
9516fe03a1
programmerjake added 2 commits 2024-11-25 08:01:28 +00:00
working on deduce_resets
All checks were successful
/ deps (push) Successful in 16s
/ test (push) Successful in 4m54s
/ deps (pull_request) Successful in 13s
/ test (pull_request) Successful in 4m53s
3e3da53bd2
programmerjake added 1 commit 2024-11-26 08:07:27 +00:00
working on deduce_resets.rs
All checks were successful
/ deps (push) Successful in 19s
/ test (push) Successful in 4m53s
/ deps (pull_request) Successful in 13s
/ test (pull_request) Successful in 4m52s
7851bf545c
programmerjake added 2 commits 2024-11-27 04:48:41 +00:00
make ClockDomain and Reg generic over reset type
All checks were successful
/ deps (push) Successful in 15s
/ test (push) Successful in 4m57s
/ deps (pull_request) Successful in 13s
/ test (pull_request) Successful in 4m55s
9b5f1218fd
programmerjake added 1 commit 2024-11-27 05:27:15 +00:00
working on deduce_resets
Some checks failed
/ deps (push) Successful in 15s
/ test (push) Has been cancelled
/ deps (pull_request) Successful in 13s
/ test (pull_request) Successful in 5m1s
546010739a
programmerjake added 1 commit 2024-11-27 05:28:50 +00:00
Merge remote-tracking branch 'origin/master' into adding-simulator
All checks were successful
/ deps (push) Successful in 15s
/ test (push) Successful in 4m55s
/ deps (pull_request) Successful in 14s
/ test (pull_request) Successful in 4m58s
9128a84284
programmerjake added 2 commits 2024-11-27 09:32:53 +00:00
working on deduce_resets
All checks were successful
/ deps (push) Successful in 16s
/ test (push) Successful in 4m57s
/ deps (pull_request) Successful in 13s
/ test (pull_request) Successful in 5m3s
d744d85c66
programmerjake added 2 commits 2024-11-28 07:24:29 +00:00
deduce_resets works!
All checks were successful
/ deps (push) Successful in 18s
/ test (push) Successful in 4m56s
/ deps (pull_request) Successful in 13s
/ test (pull_request) Successful in 5m0s
6446b71afd
programmerjake added 1 commit 2024-11-28 07:52:29 +00:00
simulating circuits with deduced resets works
All checks were successful
/ deps (push) Successful in 15s
/ test (push) Successful in 4m58s
/ deps (pull_request) Successful in 14s
/ test (pull_request) Successful in 4m58s
3abba7f9eb
programmerjake added 4 commits 2024-12-02 04:14:51 +00:00
programmerjake added 1 commit 2024-12-02 04:26:40 +00:00
test doc tests in CI
All checks were successful
/ deps (push) Successful in 16s
/ test (push) Successful in 5m16s
/ deps (pull_request) Successful in 13s
/ test (pull_request) Successful in 5m18s
d3f52292a1
Author
Owner

got simulating circuits with registers to work! only things left: enums and memories and a few kinds of expressions

got simulating circuits with registers to work! only things left: enums and memories and a few kinds of expressions
programmerjake added 1 commit 2024-12-03 05:06:43 +00:00
WIP adding enums to simulator
All checks were successful
/ deps (push) Successful in 23s
/ test (push) Successful in 5m17s
/ deps (pull_request) Successful in 13s
/ test (pull_request) Successful in 5m19s
4422157db8
All checks were successful
/ deps (push) Successful in 23s
Required
Details
/ test (push) Successful in 5m17s
Required
Details
/ deps (pull_request) Successful in 13s
Required
Details
/ test (pull_request) Successful in 5m19s
Required
Details
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin adding-simulator:adding-simulator
git checkout adding-simulator
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: libre-chip/fayalite#3
No description provided.