Sha256: 61d800634ca9ac3d9ae5a18e825cb869129637e48e81b0742376edba8a3d6f62
Contents?: true
Size: 326 Bytes
Versions: 105
Compression:
Stored size: 326 Bytes
Contents
require 'HDLRuby' configure_high # A simple 16-bit adder with an error system :adder do [15..0].input :x,:y [16..0].output :s seq do s = x + y end end # Instantiate it for checking. adder :adderI # Generate the low level representation. low = adderI.systemT.to_low # Displays it puts low.to_yaml
Version data entries
105 entries across 105 versions & 1 rubygems