Commit graph

129 commits

Author SHA1 Message Date
Jacob Lifshay 37d03cec33
change #[hdl] if to only accept Expr<T> instead of accepting bool, this prevents using == by accident 2024-07-22 00:52:48 -07:00
Jacob Lifshay 79031ccf88
fix blinky example to use cmp_eq instead of == 2024-07-22 00:52:29 -07:00
Jacob Lifshay 5707ede2ae
support IntCmp with primitive integer types 2024-07-22 00:50:53 -07:00
Jacob Lifshay 422330d195
fix doc test
All checks were successful
/ test (push) Successful in 15m15s
2024-07-21 21:09:31 -07:00
Jacob Lifshay a191ece9a5
add blinky example
Some checks failed
/ test (push) Failing after 7m59s
2024-07-21 20:48:43 -07:00
Jacob Lifshay 23a77368b3
add beginnings of simple CLI 2024-07-21 20:47:52 -07:00
Jacob Lifshay 8080cc7b5c
add utility functions for getting smallest integer type that fits a range/value 2024-07-21 20:46:23 -07:00
Jacob Lifshay bdfa18e11d
add IntTypeTrait::literal utility function 2024-07-21 20:45:36 -07:00
Jacob Lifshay 8ca0cd56c4
fix warning 2024-07-21 20:44:29 -07:00
Jacob Lifshay 1809fccb45
clarify docs some more
All checks were successful
/ test (push) Successful in 14m27s
2024-07-21 17:38:54 -07:00
Jacob Lifshay 5cf638c74a
fix broken doc tests
All checks were successful
/ test (push) Successful in 14m25s
2024-07-19 17:14:09 -07:00
Jacob Lifshay dba883e300
split <int>.cast() into cast_as_type and cast to be more useful when casting to deduced fixed types 2024-07-19 17:12:29 -07:00
Jacob Lifshay af95bb2f58
write docs for #[hdl] expressions
All checks were successful
/ test (push) Successful in 8m53s
2024-07-18 00:51:01 -07:00
Jacob Lifshay 153dc261e3
WIP writing docs -- refactor #[hdl] docs to be a module tree for easier navigation
All checks were successful
/ test (push) Successful in 9m51s
2024-07-18 00:13:28 -07:00
Jacob Lifshay 190e440b35
WIP adding docs
All checks were successful
/ test (push) Successful in 9m6s
2024-07-16 19:46:52 -07:00
Jacob Lifshay 86827def91
rename ClockDomain fields to clk and rst for consistency 2024-07-16 19:46:08 -07:00
Jacob Lifshay 63fd038729
correctly handle hdl byte literal suffixes 2024-07-16 19:45:12 -07:00
Jacob Lifshay c2e5ea8e89
implement #[hdl] [a; N] -- an array repeat expression 2024-07-16 17:19:17 -07:00
Jacob Lifshay d610858144
move Value derive macro re-export to same place as Value trait
All checks were successful
/ test (push) Successful in 8m55s
2024-07-16 16:51:54 -07:00
Jacob Lifshay 6a5f1b8af1
prep for eventual publishing
All checks were successful
/ test (push) Successful in 9m43s
2024-07-11 22:39:00 -07:00
Jacob Lifshay 109dda21ce
remove unused paste dependency 2024-07-11 22:36:10 -07:00
Jacob Lifshay 8bd7fcfa27
reformat messy code that rustfmt doesn't format
All checks were successful
/ test (push) Successful in 9m17s
2024-07-10 23:34:41 -07:00
Jacob Lifshay 929e9f8b16
ci: run cargo doc too to ensure docs continue to build
All checks were successful
/ test (push) Successful in 9m8s
2024-07-10 23:06:29 -07:00
Jacob Lifshay 28f32d7d1a
work around rustdoc bug https://github.com/rust-lang/rust/issues/127593 2024-07-10 23:00:05 -07:00
Jacob Lifshay 25aa90ec60
rust 1.79.0 released
All checks were successful
/ test (push) Successful in 8m29s
2024-06-13 13:27:57 -07:00
Jacob Lifshay 3059219fc4
use full action url 2024-06-11 22:20:22 -07:00
Jacob Lifshay 1a55c21af4
fix indentation 2024-06-11 22:15:23 -07:00
Jacob Lifshay 6f57505191
add ci 2024-06-11 22:13:07 -07:00
Jacob Lifshay 0b958e7852
initial public commit 2024-06-10 23:09:13 -07:00