Sha256: b47cfa00b6d023ab2e451e495bd89d1aa86d9f6b1179430d4b22271b6be9b48b
Contents?: true
Size: 481 Bytes
Versions: 5
Compression:
Stored size: 481 Bytes
Contents
# This is a prototype of the design under test. # When prototyping is enabled, Vpi::advance_time invokes this # method instead of transferring control to the Verilog simulator. def <%= aOutputInfo.designClassName %>.simulate! if <%= aModuleInfo.ports.first.name %>.intVal == 1 # discard old outputs <% aModuleInfo.ports.reject { |p| p.input? }.each do |port| %> <%= port.name %>.hexStrVal = 'x' <% end %> # process new inputs # produce new outputs end end
Version data entries
5 entries across 5 versions & 1 rubygems