Re:An FPGA-friendly 32-bit RISC-V CPU implementation
by quigonjinn on Wednesday July 19, 2017 @02:42PM
(#14806757)
Kinda off-topic. SpinalHDL is the second HDL, that I come across, being implemented in Scala. It seems that every popular programming language has at least one HDL implemented in it these days. Any obvious reasons for this trend?
[ Parent
| on HN ]
Re:An FPGA-friendly 32-bit RISC-V CPU implementation
by aseipp on Wednesday July 19, 2017 @05:37PM
(#14808198)
Honestly, I'd wager it's because Verilog and VHDL suck in a lot of ways basically. They work, but almost anything has better abstraction and reuse capabilities, even embedded DSLs or bespoke compilers or whatever, and offer better feedback loops during development. REPLs help a lot when building big circuits out of smaller ones. Being able to use a package manager to grab and manage SoC/IP components is convenient, etc.
Most of these DSLs tend to work at the level of RTL as opposed to something like "high level synthesis" where register usage is inferred, too (OpenCL, C, etc). So depending on how it's designed the results can be pretty close to hand-written code IME, without much overhead. They're more like "Super RTL" as opposed to real "high level" languages...
Re:An FPGA-friendly 32-bit RISC-V CPU implementation
by debatem1 on Thursday July 20, 2017 @01:32AM
(#14810214)
I suspect you're right, but it makes me sad. I really like verilog as a language and after working with it for a few years wish it was possible to program desktops in a similar way.
Re:An FPGA-friendly 32-bit RISC-V CPU implementation
by Dolu on Thursday July 20, 2017 @05:24AM
(#14811050)
I was exactly in the same mood some years ago, until i triey one of those HDL alternative.
Re:An FPGA-friendly 32-bit RISC-V CPU implementation
by baobrien on Wednesday July 19, 2017 @03:09PM
(#14806977)
I'm not sure about the trend in general, but it looks like SpinalHDL is a fork of Chisel, the 'other' Scala-based HDL.
Re:An FPGA-friendly 32-bit RISC-V CPU implementation
by Dolu on Wednesday July 19, 2017 @05:19PM
(#14808041)
Yes kind of, SpinalHDL is a from scratch fork