-
Notifications
You must be signed in to change notification settings - Fork 0
wip: ripple control stability #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
sethp
wants to merge
6
commits into
main
Choose a base branch
from
fix/ripple-control-stability
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
32bad1d
fix: set -e in makefile, spelling
sethp 8dac463
wip: horizontal control stability
sethp 22a3e0e
Merge branch 'main' of https://github.com/rustbox/cuddly-robot into f…
sethp 5692cf8
adding 8 and 10 bit counters on the 22v10 and 16v8
f844146
Merge branch 'fix/ripple-control-stability' of https://github.com/rus…
sethp d90f88f
wip(gal): vertical control stability
sethp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[v1] | ||
"galette 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = ["galette"] | ||
"galette 0.3.0 (git+https://github.com/rustbox/galette.git?rev=2ba00658608c4e4d1fd51d903a7799dcabe2f9cc#2ba00658608c4e4d1fd51d903a7799dcabe2f9cc)" = ["galette"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"installs":{"galette 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)":{"version_req":"0.3.0","bins":["galette"],"features":[],"all_features":false,"no_default_features":false,"profile":"release","target":"x86_64-unknown-linux-gnu","rustc":"rustc 1.62.1 (e092d0b6b 2022-07-16)\nbinary: rustc\ncommit-hash: e092d0b6b43f2de967af0887873151bb1c0b18d3\ncommit-date: 2022-07-16\nhost: x86_64-unknown-linux-gnu\nrelease: 1.62.1\nLLVM version: 14.0.5\n"}}} | ||
{"installs":{"galette 0.3.0 (git+https://github.com/rustbox/galette.git?rev=2ba00658608c4e4d1fd51d903a7799dcabe2f9cc#2ba00658608c4e4d1fd51d903a7799dcabe2f9cc)":{"version_req":null,"bins":["galette"],"features":[],"all_features":false,"no_default_features":false,"profile":"release","target":"x86_64-unknown-linux-gnu","rustc":"rustc 1.62.1 (e092d0b6b 2022-07-16)\nbinary: rustc\ncommit-hash: e092d0b6b43f2de967af0887873151bb1c0b18d3\ncommit-date: 2022-07-16\nhost: x86_64-unknown-linux-gnu\nrelease: 1.62.1\nLLVM version: 14.0.5\n"}}} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
|
||
GAL16V8 | ||
|
||
-------\___/------- | ||
Clock | 1 20 | VCC | ||
| | | ||
NC | 2 19 | Q0 | ||
| | | ||
NC | 3 18 | Q1 | ||
| | | ||
NC | 4 17 | Q2 | ||
| | | ||
NC | 5 16 | Q3 | ||
| | | ||
NC | 6 15 | Q4 | ||
| | | ||
NC | 7 14 | Q5 | ||
| | | ||
NC | 8 13 | Q6 | ||
| | | ||
R | 9 12 | Q7 | ||
| | | ||
GND | 10 11 | /OE | ||
------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
GAL-Assembler: Galette 0.3.0 | ||
Device: GAL16V8 | ||
|
||
*F0 | ||
*G0 | ||
*QF2194 | ||
*L0000 11101111111111111111111111111111 | ||
*L0256 11011110111111111111111111111111 | ||
*L0288 11101101111111111111111111111111 | ||
*L0512 11011101111011111111111111111111 | ||
*L0544 11111110110111111111111111111111 | ||
*L0576 11101111110111111111111111111111 | ||
*L0768 11011101110111101111111111111111 | ||
*L0800 11111111111011011111111111111111 | ||
*L0832 11111110111111011111111111111111 | ||
*L0864 11101111111111011111111111111111 | ||
*L1024 11011101110111011110111111111111 | ||
*L1056 11111111110111101111111111111111 | ||
*L1088 11111111110011111111111111111111 | ||
*L1120 11111110110111111111111111111111 | ||
*L1152 11101111110111111111111111111111 | ||
*L1280 11011101110111011101111011111111 | ||
*L1312 11111111111111111110110111111111 | ||
*L1344 11111111111111101111110111111111 | ||
*L1376 11111111111011111111110111111111 | ||
*L1408 11111110111111111111110111111111 | ||
*L1440 11101111111111111111110111111111 | ||
*L1536 11011101110111011101110111101111 | ||
*L1568 11111111111111111111111011011111 | ||
*L1600 11111111111111111110111111011111 | ||
*L1632 11111111111111101111111111011111 | ||
*L1664 11111111111011111111111111011111 | ||
*L1696 11111110111111111111111111011111 | ||
*L1728 11101111111111111111111111011111 | ||
*L1792 11011101110111011101110111011110 | ||
*L1824 11111111111111111111111111101101 | ||
*L1856 11111111111111111111111011111101 | ||
*L1888 11111111111111111110111111111101 | ||
*L1920 11111111111111101111111111111101 | ||
*L1952 11111111111011111111111111111101 | ||
*L1984 11111110111111111111111111111101 | ||
*L2016 11101111111111111111111111111101 | ||
*L2048 11111111 | ||
*L2056 0100001101101111011101010110111001110100011001010111001000000000 | ||
*L2120 00000000 | ||
*L2128 1111111111111111111111111111111111111111111111111111111111111111 | ||
*L2192 0 | ||
*L2193 1 | ||
*C8c57 | ||
* | ||
4718 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
|
||
Pin # | Name | Pin Type | ||
----------------------------- | ||
1 | Clock | Clock | ||
2 | NC | Input | ||
3 | NC | Input | ||
4 | NC | Input | ||
5 | NC | Input | ||
6 | NC | Input | ||
7 | NC | Input | ||
8 | NC | Input | ||
9 | R | Input | ||
10 | GND | GND | ||
11 | /OE | /OE | ||
12 | Q7 | Output | ||
13 | Q6 | Output | ||
14 | Q5 | Output | ||
15 | Q4 | Output | ||
16 | Q3 | Output | ||
17 | Q2 | Output | ||
18 | Q1 | Output | ||
19 | Q0 | Output | ||
20 | VCC | VCC | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
GAL16V8 | ||
Counter | ||
|
||
Clock NC NC NC NC NC NC NC R GND | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It doesn't look like |
||
/OE Q7 Q6 Q5 Q4 Q3 Q2 Q1 Q0 VCC | ||
|
||
Q0.R = /Q0 | ||
|
||
; 0 1 | ||
; 1 0 | ||
Q1.R = /Q1 * Q0 + Q1 * /Q0 | ||
|
||
; 0 1 1 | ||
; 1 0 x | ||
; 1 x 0 | ||
Q2.R = /Q2*Q1*Q0 + | ||
Q2 * /Q1 + | ||
Q2 * /Q0 | ||
|
||
; 0 1 1 1 | ||
; 1 0 x x | ||
; 1 x 0 x | ||
; 1 x x 0 | ||
Q3.R = /Q3*Q2*Q1*Q0 + | ||
Q3 * /Q2 + | ||
Q3 * /Q1 + | ||
Q3 * /Q0 | ||
|
||
; 0 1 1 1 1 | ||
; 1 0 x x x | ||
; 1 x 0 x x | ||
; 1 x x 0 x | ||
; 1 x x x 0 | ||
Q4.R = /Q4*Q3*Q2*Q1*Q0 + | ||
Q2 * /Q3 + | ||
Q2 * /Q2 + | ||
Q2 * /Q1 + | ||
Q2 * /Q0 | ||
|
||
; 0 1 1 1 1 1 | ||
; 1 0 x x x x | ||
; 1 x 0 x x x | ||
; 1 x x 0 x x | ||
; 1 x x x 0 x | ||
; 1 x x x x 0 | ||
Q5.R = /Q5*Q4*Q3*Q2*Q1*Q0 + | ||
Q5 * /Q4 + | ||
Q5 * /Q3 + | ||
Q5 * /Q2 + | ||
Q5 * /Q1 + | ||
Q5 * /Q0 | ||
|
||
; 0 1 1 1 1 1 1 | ||
; 1 0 x x x x x | ||
; 1 x 0 x x x x | ||
; 1 x x 0 x x x | ||
; 1 x x x 0 x x | ||
; 1 x x x x 0 x | ||
; 1 x x x x x 0 | ||
Q6.R = /Q6*Q5*Q4*Q3*Q2*Q1*Q0 + | ||
Q6 * /Q5 + | ||
Q6 * /Q4 + | ||
Q6 * /Q3 + | ||
Q6 * /Q2 + | ||
Q6 * /Q1 + | ||
Q6 * /Q0 | ||
|
||
; 0 1 1 1 1 1 1 1 | ||
; 1 0 x x x x x x | ||
; 1 x 0 x x x x x | ||
; 1 x x 0 x x x x | ||
; 1 x x x 0 x x x | ||
; 1 x x x x 0 x x | ||
; 1 x x x x x 0 x | ||
; 1 x x x x x x 0 | ||
Q7.R = /Q7*Q6*Q5*Q4*Q3*Q2*Q1*Q0 + | ||
Q7 * /Q6 + | ||
Q7 * /Q5 + | ||
Q7 * /Q4 + | ||
Q7 * /Q3 + | ||
Q7 * /Q2 + | ||
Q7 * /Q1 + | ||
Q7 * /Q0 | ||
|
||
|
||
DESCRIPTION | ||
|
||
8 bit counter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You gotta run
rustup update
my man: rustc from July? And/or, we should drop a.rust-toolchain.toml
file in this repo too.