Ceedling
satcat5
Our great sponsors
Ceedling | satcat5 | |
---|---|---|
3 | 25 | |
557 | 387 | |
1.6% | 36.7% | |
3.3 | 3.8 | |
8 days ago | about 2 months ago | |
Ruby | VHDL | |
GNU General Public License v3.0 or later | CERN Open Hardware Licence Version 2 - Weakly Reciprocal |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Ceedling
-
Looking for a GitHub repo which contains unit tests
Unfortunately, our codebase (at work) isn't on a public github account. But I can really recommend throwtheswitch.org.
-
Bare Metal Embedded C++ (14/17) Unit Testing?
throwtheswitch.org tools are pretty interesting. They focus on C, but support C++ as well.
-
“Static Linking Considered Harmful” Considered Harmful
This is very situational, but I have recently been part of a project that does a lot of C server-side development and we have found that static linking our non-glibc dependencies has really improved our developer experience. Using ceedling's dependency plugin[1] and producing a single "statically" linked library has made our C development much closer to using a language with a more modern package manager. Don't get me wrong, if I was trying to distribute binaries to machines I didn't control I'd definitely be willing to invest in the Linux packaging "fun", but for a server-side application it's been a good choice for our team overall.
[1] https://github.com/ThrowTheSwitch/Ceedling/tree/master/plugi...
satcat5
-
Layout of Rust's u128 and i128 changed
I needed 128-bit and 256-bit integers on an embedded project recently.
In short, it was for fixed-point digital signal processing. The raw input and output samples were int64_t. We needed to add, subtract, multiply, and accumulate these to do filtering and linear regression with no loss of precision.
Conventional bigintegers weren't an option because the target application doesn't allow heap allocation. So we rolled our own [1] stack-allocated, fixed-width big integer class.
[1] https://github.com/the-aerospace-corporation/satcat5/blob/ma...
- Show HN: SatCat5, the open-source FPGA Ethernet switch
-
CRC32 algorithm match value between 96 bit wide data bus and 24 bit wide data bus
And here's an open-source implementation I wrote a few years back. You can skip the part at the end that handles variable-length trailing bytes, since you have a fixed-width input.
-
Questions about lattice ecp5 fpga.
My SatCat5 project also has a few options. Anything under src/vhdl/common/cfgbus_* can be connected to AXI or Wishbone with a simple adapter.
- SatCat5: FPGA gateware that implements a low-power, mixed-media Ethernet switch
-
GPSDO without VCXO?
For an all-digital solution, here's an NCO that generates an arbitrary-frequency square wave from a numeric counter.
- network switch
What are some alternatives?
oasis - a small statically-linked linux system
verilog-ethernet - Verilog Ethernet components for FPGA implementation
go - The Go programming language
SpinalHDL - Scala based HDL
panda - code powering the comma.ai panda
surf - A huge VHDL library for FPGA development
CMock - CMock - Mock/stub generator for C
SBusFPGA - Stuff to put a FPGA in a SBus system (SPARCstation)
test
opentitan - OpenTitan: Open source silicon root of trust
interrupt - A community for embedded software makers.
chisel - Chisel: A Modern Hardware Design Language