Sha256: bb7355234c7a9d466c3646736eb9fb489a495af0945861bba0d71d2e5328a830
Contents?: true
Size: 796 Bytes
Versions: 2
Compression:
Stored size: 796 Bytes
Contents
module <%= @namespace %> module Test # This is a dummy DUT controller that should be used to test that your test module can # integrate into a top-level app class DUTController include Origen::TopLevel include OrigenJTAG include OrigenARMDebug def startup(options = {}) tester.set_timeset('func_25', 40) ss 'Startup the SoC' pin(:resetb).drive!(0) 100.cycles pin(:resetb).dont_care end def shutdown(options = {}) ss 'Shutdown the SoC' pin(:resetb).drive!(0) end def write_register(reg, options = {}) arm_debug.write_register(reg, options) end def read_register(reg, options = {}) arm_debug.read_register(reg, options) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems