Sha256: 526da21bcbc209031db80ead631fa0335d451f10f9a96d224fd23e15f1c2ac7f
Contents?: true
Size: 556 Bytes
Versions: 3
Compression:
Stored size: 556 Bytes
Contents
if RubyVPI::USE_PROTOTYPE always do wait until DUT.<%= aModuleInfo.clock_port.name rescue "YOUR_CLOCK_SIGNAL_HERE" %>.posedge? # discard old outputs <% aModuleInfo.output_ports.each do |port| %> DUT.<%= port.name %>.x! <% end %> # process new inputs <% aModuleInfo.input_ports.each do |port| %> # some_interesting_process( DUT.<%= port.name %> ) <% end %> # produce new outputs <% aModuleInfo.output_ports.each do |port| %> # DUT.<%= port.name %> = some interesting output <% end %> end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby-vpi-20.0.0 | bin/generate/proto.rb |
ruby-vpi-21.1.0 | bin/generate/proto.rb |
ruby-vpi-21.0.0 | bin/generate/proto.rb |