Class: Origen::Value::X

Inherits:
Object show all
Defined in:
lib/origen/value.rb

Overview

Represents a single bit value of 'X'

Instance Method Summary collapse

Instance Method Details

#x?Boolean Also known as: undefined?

Returns:

  • (Boolean)


19
20
21
# File 'lib/origen/value.rb', line 19

def x?
  true
end

#x_or_z?Boolean Also known as: z_or_x?

Returns:

  • (Boolean)


24
25
26
# File 'lib/origen/value.rb', line 24

def x_or_z?
  true
end

#z?Boolean Also known as: hi_z?

Returns:

  • (Boolean)


14
15
16
# File 'lib/origen/value.rb', line 14

def z?
  false
end