Method: CPU#connect

Defined in:
lib/HDLRuby/hdr_samples/sw_encrypt_cpu_bench.rb,
lib/HDLRuby/hdr_samples/sw_encrypt_cpusim_bench.rb

#connect(sig) ⇒ Object

Connect signal +sig+ to the bus allocating an address to access it.


59
60
61
62
# File 'lib/HDLRuby/hdr_samples/sw_encrypt_cpu_bench.rb', line 59

def connect(sig)
    # Allocates the signal in the address space.
    @allocator.allocate(sig)
end