Sha256: e9263f139a55143143fc0d6a6fc947d8495e8125f8023b13bb2f7309a20fb12f
Contents?: true
Size: 665 Bytes
Versions: 20
Compression:
Stored size: 665 Bytes
Contents
module <%= @namespace %>Dev # 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 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.mem_ap.write_register(reg, options) end def read_register(reg, options = {}) arm_debug.mem_ap.read_register(reg, options) end end end
Version data entries
20 entries across 20 versions & 2 rubygems