Enjoying this site? Please to help keep the Snapstats.org lights on.
Description
Karuta is an object-oriented scripting language and its compiler to design logic circuits. The main objective of Karuta is to improve the productivity of logic circuit design. This kind of software is usually known as HLS (High Level Synthesis).
Document site: https://karuta.readthedocs.io/en/latest/
Source code: https://github.com/nlsynth/karuta/ (see NEWS file for latest updates)
Twitter: https://twitter.com/karutalang
VSCode extention for Karuta syntax: https://marketplace.visualstudio.com/items?itemName=karuta.karuta
Script in Karuta is like this and can be compiled into a design in Verilog HDL.
module {
output led #0
process main() {
var b bool = false
while true {
wait(1000000)
led.write(b)
b = ~b
}
}
}
You can get synthesizable Verilog file led.v
by
$ karuta compile led.karuta