v1.6.0
版本发布时间: 2022-02-10 22:49:23
clash-lang/clash-compiler最新发布版本:v1.8.1(2023-11-11 06:13:10)
With each release we're trying hard to improve the usability of Clash and this release is no different: we've made many small improvements, which you can all find in the full changelog. We'd like to highlight a few of the bigger changes:
- From now on we'll be publishing
clash-prelude-hedgehog
containing generators for types inclash-prelude
. For those unfamiliar, Hedgehog is a test framework that allows its users to quickly generate a large number of test inputs. It can often find bugs not easily found by humans alone. The new package allows Clash developers to quickly get started. - Clash now generates a Verilator shim when compiling to Verilog or SystemVerilog. As a result, Verilator has been added to the Clash testsuite, to ensure we continue to output Verilatable HDL.
- We've added support for YAML blackboxes. Clash will now pickup on files with a
.primitives.yaml
extension. While we recommend upgrading your primitive files to the new format, old style primitives are still supported. We've included a utility to help you upgrade your blackboxes. See #2037 for more information.
We believe that the majority of users won't have to change anything to have their designs running on 1.6, when coming from 1.4. Any designs that use our clash-lib
API need take care:
-
clash-lib
now usesData.Monoid.Ap
instead ofData.Semigroup.Monad.Mon
. This means users defining primitives withTemplateFunction
will need to replaceMon
/getMon
withAp
/getAp
. #1835
You can find the full release notes in CHANGELOG.md.