fix interpreter test harness and start testing
interpreter on debug for now
This commit is contained in:
@ -65,7 +65,7 @@ module Parfait
|
||||
# private
|
||||
def set_type(type)
|
||||
# puts "Type was set for #{self.class}"
|
||||
raise "not type #{type.class}" unless type.is_a?(Type)
|
||||
raise "not type #{type.class} in #{self}" unless type.is_a?(Type)
|
||||
@type = type
|
||||
end
|
||||
|
||||
|
@ -17,7 +17,7 @@ module Risc
|
||||
# fire events for changed pc and register contents
|
||||
include Eventable
|
||||
include Logging
|
||||
log_level :info
|
||||
log_level :debug
|
||||
|
||||
attr_reader :instruction # current instruction or pc
|
||||
attr_reader :clock # current instruction or pc
|
||||
|
Reference in New Issue
Block a user