HackerTrans
TopNewTrendsCommentsPastAskShowJobs

555dreams

no profile record

comments

555dreams
·4년 전·discuss
Despite sounding weird, the multiplication without division is actually very helpful for low cost and resource constrained MCUs/soft-CPUs. Even utilizing the `mno-div` complication flag, division can still occur in precompiled binaries that are linked (because the linker looks at the -march setting). By standardizing the use of multiplication without division we can avoid dealing with this.

As a side note, I ran into this exact problem in a work project last year and needed to implement software division in an illegal instruction handler to get around it.
555dreams
·5년 전·discuss
Something of note here is the built-in Verilator and Renode simulation. If you don't physically have an FPGA but still want to try custom hardware acceleration this repo lets you simulate your improvements.
555dreams
·5년 전·discuss
To iterate on what other people have been saying, nMigen is great! But I probably wouldn't learn it as my first intro to HDLs because in my opinion it's best thought of as a macro-generator for Verilog.

I'd first go through the HDLbits online tutorials for Verilog (https://hdlbits.01xz.net/wiki/Problem_sets). They're a nice interactive intro to Verilog (and HDLs in general) and can be simulated directly in your browser without having to download any software. Even if you only plan to write nMigen, learning Verilog will be helpful when you inevitably need to inspect the nMigen generated Verilog.
555dreams
·5년 전·discuss
I have! SymbiFlow is very good for being a FOSS hardware toolchain, sometimes it has trouble with peculiar FPGA primitives but it's nothing you can't work around.

I've hacked around with my EOS S3 board less than my other boards (mostly because if I need a CPU I'll just add a VexRiscv soft-core in a regular FPGA), but I can definitely see it's use case if you'd like to accelerate sections of your software without building the entire design on an FPGA.
555dreams
·5년 전·discuss
The Tomu is super cool! It also has a bunch of spinoffs, the most interesting of which IMO is the Fomu (https://tomu.im/fomu.html). It's an ice40up5k FPGA in your USB port, not sure if you can get them anywhere due to the parts shortage but I know I've enjoyed hacking on mine.
555dreams
·5년 전·discuss
This is a really great list for learning C89/C99! I have to double recommend "Expert C Programming: Deep C Secrets", such a fascinating and fun book (albeit showing some age).