There is a newer version of the record available.

Published January 3, 2024 | Version 0.6.0
Software Open

Spade 0.6.0

  • 1. Linköping University

Description

A hardware description language inspired by modern software languages.

Changes in 0.6.0:

Added

  • Allow instantiating single variant enums without ()
  • Added block comments delimited by /* */
  • Added std::conv::unsafe::unsafe_cast for converting between types. Also added std::conv::int_to_bits, std::conv::bits_to_int for safe conversions.
  • Added std::conv::flip_array
  • Add range indexing to arrays. You can now access parts of arrays using a[start:end]
  • Add uint<#N> for unsigned integers. Adjusted stdlib accordingly
  • Allow specifying type parameters for Units using turbofish (::<>) syntax. For example trunc::<10, 5>(x)

Changed

  • Instantiation parameters are now passed by name, which makes interaction with external verilog easier.
  • Breaking change: Integers with u suffixes now have no effect, use unsigned types instead.

Files

spade-v0.6.0.zip

Files (781.5 kB)

Name Size Download all
md5:1b54801f2151c2aefed725653f0b1b09
781.5 kB Preview Download

Additional details