Sha256: e3f768919f680751bf964336f15dfc68dc957814d9a31cfbdf830ef300cb5300
Contents?: true
Size: 580 Bytes
Versions: 6
Compression:
Stored size: 580 Bytes
Contents
module OrigenSWD # This is a dummy DUT model which is used # to instantiate and test the SWD locally # during development. # # It is not included when this library is imported. class DUT include OrigenSWD include Origen::Callbacks include Origen::Registers include Origen::Pins def initialize(options = {}) add_reg :test, 0x0, 32, data: { pos: 0, bits: 32 }, bit: { pos: 0 } add_pin :swd_clk add_pin :swd_dio end def startup(options) $tester.set_timeset('swd', 40) end end end
Version data entries
6 entries across 6 versions & 1 rubygems