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)
1721 1722 1723 |
# File 'lib/udb/condition.rb', line 1721 def initialize(xlen) @xlen = xlen end |
Instance Method Details
#to_h ⇒ Hash{String => T.untyped}, Boolean
1737 |
# File 'lib/udb/condition.rb', line 1737 def to_h = { "xlen" => @xlen } |
#to_idl(cfg_arch) ⇒ String
1740 |
# File 'lib/udb/condition.rb', line 1740 def to_idl(cfg_arch) = "xlen() == #{@xlen}" |