Class: String

Inherits:
Object
  • Object
show all
Includes:
ClassHDL::AssignDefOpertor, CtrlLogic
Defined in:
lib/tdl/exlib/itegration.rb,
lib/tdl/basefunc.rb,
lib/tdl/Logic/logic_latency.rb,
lib/tdl/axi4/axi4_interconnect_verb.rb,
lib/tdl/class_hdl/hdl_redefine_opertor.rb

Overview

add to itegration names_pool

Direct Known Subclasses

GenInnerStr, NqString, StringBandItegration

Constant Summary

Constants included from ClassHDL::AssignDefOpertor

ClassHDL::AssignDefOpertor::OP_SYMBOLS

Instance Method Summary collapse

Methods included from ClassHDL::AssignDefOpertor

curr_assign_block, curr_assign_block=, curr_assign_block_stack, curr_opertor_stack, included, init_op_methods, use_new_yield_opertors, use_old_cond_opertors, with_new_assign_block, with_new_opertor, with_normal_opertor, with_rollback_opertors

Methods included from CtrlLogic

#broaden_and_cross_clk, #cross_clock, #latency

Instance Method Details

#high_signalObject



22
23
24
# File 'lib/tdl/axi4/axi4_interconnect_verb.rb', line 22

def high_signal
    self
end

#low_signalObject



18
19
20
# File 'lib/tdl/axi4/axi4_interconnect_verb.rb', line 18

def low_signal
    self
end

#snoop(itgt = nil, sdlmodule = nil) ⇒ Object

def of(itgt)

itgt.names_pool[self]

end

def signal_of(itgt,sdlmodule)

sdlmodule.signal(self.of(itgt))

end



271
272
273
274
275
276
277
278
# File 'lib/tdl/exlib/itegration.rb', line 271

def snoop(itgt=nil,sdlmodule=nil)
     itgt ||= $_implicit_curr_itgt_.last
     if sdlmodule
         sdlmodule.signal(itgt.names_pool[self])
     else
         itgt.top_module.signal(itgt.names_pool[self])
     end
end

#to_inp(itgt = nil) ⇒ Object



255
256
257
258
259
260
261
# File 'lib/tdl/exlib/itegration.rb', line 255

def to_inp(itgt=nil)
    if itgt
        itgt.names_pool.use_self(self)
    else
        $_implicit_curr_itgt_.last.names_pool.use_self(self)
    end
end

#to_nqObject



105
106
107
# File 'lib/tdl/basefunc.rb', line 105

def to_nq
    NqString.new(self)
end