techmccat

Results 15 comments of techmccat

I was planning on writing some initial peripheral code for the CLIC, but since it's not standardized yet i'm not sure how to go about it. Ideally this generic version...

Wrote some initial code and pushed it to https://github.com/techmccat/riscv/tree/sifive-clic Needs some work on CLINT (in)compatibility and separating che common code

After getting around to porting bl602-hal to vectored mode I think the volatile-register approach might be better than the one used in #135, mainly because it allows to interact with...

It's showing artifacts on my end, I think it has to do with how the mask is computed.

The code is going to be a little annoying to upload since it's scattered across a bunch of folders, but I might be able to reproduce it with a smaller...

The code draws quadtrees and is like this ```rust #[derive(Debug, PartialEq, Clone)] pub struct Leaf { pub feature: bool, pos: Vec, } impl Dimensions for Leaf { fn bounding_box(&self) ->...

Update: I can't reproduce the bug with the test rectangles I've provided, nor can I figure out why it's happening.

Managed to isolate the bug to the if block at line 250 (falling back to draw_contiguous doesn't show any artifacts), I'll look into it more tomorrow.

Surprisingly enough the artifacts seem to be gone, but it's a tad slower than the previous version (was 4-5ms and now it's 6-7ms)

my target is thumbv7em (STM32F411 clocked at 50MHz). Benchmarking code is a bit of a mess but i'll try to sort it out and upload it later today. Edit: i...