clash-compiler
clash-compiler copied to clipboard
Haskell to VHDL/Verilog/SystemVerilog compiler
I encountered a situation where Vivado could not process my HDL because a type "A" collided with a signal name "a". GHC version: 9.0.2 Clash version: 1.6.3 Consider the following...
## Still TODO: - [x] Write a changelog entry (see changelog/README.md) - [x] Check copyright notices are up to date in edited files
In some cases a design requires clocks to be related somehow. For instance a low overhead clock crossing can be implemented if two clocks have the same origin, phase and...
Simulators (at least ModelSim) terminate immediately on `$finish` making it impossible to set e.g. an exit code to flag the error to the shell. I also noticed that the SystemVerilog...
I'm implementing an FM radio receiver in clash [here](https://github.com/adamwalker/fpga-fm-radio). The [fixed point](https://hackage.haskell.org/package/clash-prelude-1.6.3/docs/Clash-Sized-Fixed.html) data types have been very useful for keeping track of the decimal point and make DSP super nice...
This adds Xilinx's DcFifo to clash-cores. The Haskell model and the IP are both tested. Past discussion is [here](https://github.com/clash-lang/clash-compiler/pull/2182#issue-1222094757); it is bit cluttered. It's a draft PR because it depends...
After some refactoring I hit a bug where Clash failed during Normalization. When trying reducing to reduce it to a smaller case I no-longer hit a Normalization but hit a...
See https://github.com/martijnbastiaan/tasty/pull/2. This reduces the startup time of `clash-testsuite` from ~half a minute to sub second figures. I still have some i's to dot and t's to cross for that...
The API documentation for [`head` and `tail`](https://hackage.haskell.org/package/clash-prelude-1.6.3/docs/Clash-Sized-Vector.html#v:head) for the current stable version of Clash is slightly malformed, resulting in the documentation being rendered badly. I see: ...
I've been trying iverilog ("icarus verilog") on the system verilog code output from clash (approx 1.6.3) but it won't compile, well, parse, because .... iverilog doesn't seem to accept the...