Sha256: 1f09a8ccf8ac462c7df90e6035d59dcd31fd352a498a906501a3a5783d0982dc
Contents?: true
Size: 1 KB
Versions: 15
Compression:
Stored size: 1 KB
Contents
require 'origen_std_lib' module OrigenStdLibDev class Interface include OrigenTesters::ProgramGenerators include OrigenStdLib def func(name) i = test_suites.add(name) i.test_method = test_methods.origen.functional_test flow.test(i) end def dc_meas(name) i = test_suites.add(name) tm = test_methods.origen.dc_measurement tm.apply_shutdown = 1 tm.check_shutdown = 1 tm.shutdown_pattern = 'some_pattern' tm.measure = 'CURR' tm.settling_time = 100 tm.pin = 'SOME_PIN' tm.force_value = 10.4 tm.i_range = 1000 tm.limits.lo = 1 tm.limits.hi = 2 i.test_method = tm flow.test(i) end def freq_meas(name) i = test_suites.add(name) tm = test_methods.origen.frequency_measurement tm.period_based = 1 tm.pin = 'PINA' tm.samples = 4000 tm.period_in_ns = 40 tm.limits.lo = 1.Mhz tm.limits.hi = 2.Mhz i.test_method = tm flow.test(i) end end end
Version data entries
15 entries across 15 versions & 1 rubygems