Sha256: 40dbf5615a083b5f6988ed78dc8f6962479b5e67fae5f88c609f6deb98e646c8
Contents?: true
Size: 470 Bytes
Versions: 100
Compression:
Stored size: 470 Bytes
Contents
require 'HDLRuby' configure_high require 'HDLRuby/std/counters' include HDLRuby::High::Std # A simple test of the after construct system :with_after do input :clk,:rst output :timeout par(clk.posedge,rst.posedge) do timeout <= 0 after(100,rst) { timeout <= 1 } end end # Instantiate it for checking. with_after :with_afterI # Generate the low level representation. low = with_afterI.systemT.to_low # Displays it puts low.to_yaml
Version data entries
100 entries across 100 versions & 1 rubygems