Kaleb Barrett

Results 630 comments of Kaleb Barrett

The `SINGLETON_HANDLES` cache's cleanup behavior can cause use-after-frees. See https://github.com/cocotb/cocotb/pull/1782#issuecomment-627739972 for details.

`SINGLETON_HANDLE` will be very difficult to replace. It is used to ensure the lifetime of all handles is the entire program, and that one cannot obtain multiple copies of the...

The `SINGLETON_HANDLES` cache and the object lifetime system should be documented in the internal documentation.

@gtaylormb I recommended removing cocotb's severity system task overloads instead (#2095) and allowing the simulator to handle severity reporting as it normally would. The only thing the user would have...

@eric-wieser There has been interest in using cocotb as a slave to HDL testbenches. The HDL testbenches would judge pass/fail and end the cocotb "test". A task that ends a...

Yes. A cocotb test could set up stimulus, monitor and do checking against Python or MATLAB models, mocking out un-implemented firmware with a model, basically anything cocotb can currently do....

A cocotb test in this case would spin up a bunch of tasks and then sit in an infinite `Timer` wait, or maybe do heartbeat logs, etc.

You might want to consider making a benchmark nox session so we can easily run that locally as well.

> You can add multiple tests. What do you mean by multiple tests? Just multiple benchmarks right? > Can make a separate repository if this is better. I don't have...

I opened a PR to implement pushing benchmarks results to another repo https://github.com/benchmark-action/github-action-benchmark/pull/112.