Re:Fairylog: A Racket language aiming to be like Verilog
by q3k on Sunday April 21, 2019 @05:38AM
(#19711338)
> Isn't there a Python based dialect for that already?
There's Migen (which is like Fairylog - a preprocessor/macro system for RTL) and MyHDL (which lets you write Verilog using a subset of 'synthesizable' Python).
Re:Fairylog: A Racket language aiming to be like Verilog
by sanxiyn on Sunday April 21, 2019 @04:54AM
(#19711238)
> Anyway, it seems to me it would be better to make a lib for this than a whole language.
This is a Racket library. The whole point of Racket is that you can make a language as a library.
Re:Fairylog: A Racket language aiming to be like Verilog
by sametmax on Sunday April 21, 2019 @05:31AM
(#19711317)
I am a strong opponent to most DSL. They usually make life harder, not easier, and a regular lib is most of the time a better choice.
Re:Fairylog: A Racket language aiming to be like Verilog
by speedplane on Sunday April 21, 2019 @04:46AM
(#19711211)
> Isn't there a Python based dialect for that already ? ... Anyway, it seems to be it would be better to make a lib for this than a whole language.
FPGA programmers are quite a different breed than python developers. Things that are simple in programming languages (e.g., multiplication) can create real issues in an FPGA. I'm normally all for simplifying and unifying semantics, but with hardware programming, a split is justified.
Re:Fairylog: A Racket language aiming to be like Verilog
by sametmax on Sunday April 21, 2019 @05:29AM
(#19711314)
Libs can track what a verilog integration system can check, and do that at a higher level. Qualcomm don't write all verilog or system c by hand, they have software generating it.
Re:Fairylog: A Racket language aiming to be like Verilog
by tejuis on Sunday April 21, 2019 @09:06AM
(#19711904)
What are they using as source then? Please let us know more?
Re:Fairylog: A Racket language aiming to be like Verilog
by sametmax on Sunday April 21, 2019 @02:09PM
(#19713539)
I know that some qualcomm tools use IP described in a python dialect, and then generate the verilog out of it. They have a whole synthesis system on top of that. I assume they are not alone.
Anyway, it seems to be it would be better to make a lib for this than a whole language.