Class: Udb::XlenCondition
- Inherits:
-
Condition
- Object
- AbstractCondition
- Condition
- Udb::XlenCondition
- Extended by:
- T::Sig
- Defined in:
- lib/udb/condition.rb
Instance Method Summary collapse
- #initialize(xlen) constructor
- #to_h ⇒ Hash{String => T.untyped}, Boolean
- #to_idl(cfg_arch) ⇒ String
- #to_logic_tree_internal ⇒ LogicNode
Constructor Details
#initialize(xlen)
1720 1721 1722 |
# File 'lib/udb/condition.rb', line 1720 def initialize(xlen) @xlen = xlen end |
Instance Method Details
#to_h ⇒ Hash{String => T.untyped}, Boolean
1736 |
# File 'lib/udb/condition.rb', line 1736 def to_h = { "xlen" => @xlen } |
#to_idl(cfg_arch) ⇒ String
1739 |
# File 'lib/udb/condition.rb', line 1739 def to_idl(cfg_arch) = "xlen() == #{@xlen}" |