Sha256: ce62ca880f2aa2e7e8bdec445f0155660c3e3afb82cb5a27c3623a94699d0dc5
Contents?: true
Size: 526 Bytes
Versions: 6
Compression:
Stored size: 526 Bytes
Contents
raise "Properties are deprecated in HDLRuby." # A simple D-FF system :dff do input :clk, :rst, :d output :q, :qb qb <= ~q par(clk.posedge) { q <= d & ~rst } clk.properties[:xcd] = "CLK" rst.properties[:xcd] = "RST" d.properties[:xcd] = "PORT0" q.properties[:xcd] = "PORT1" qb.properties[:xcd] = "PORT2" cur_system.properties[:xcd_target] = "dummy" cur_system.properties[:xcd_file] = "dff.xcd" cur_system.properties[:post_driver] = "drivers/xcd.rb", :xcd_generator end
Version data entries
6 entries across 6 versions & 1 rubygems