Sha256: addcaeb7e02e387ff398e026c08a55f75217c61d51d462d6aead08d8973bda20
Contents?: true
Size: 503 Bytes
Versions: 2
Compression:
Stored size: 503 Bytes
Contents
Pattern.create do tester.set_timeset 'tp0', 20 dut.pin(:ss).drive 1 dut.pin(:sclk).drive 0 dut.pin(:mosi).drive 0 dut.pin(:miso).dont_care tester.cycle tester.overlay_style = :label out_data = Origen::Registers::Reg.dummy(12).write 7 out_data.bits[3..0].overlay 'heres_the_label' dut.spi.shift master_out: out_data cc 'repeat test reversing bit order' dut.spi.data_order = :msb0 out_data.bits[3..0].overlay 'heres_the_other_label' dut.spi.shift master_out: out_data end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
origen_spi-0.3.0 | pattern/overlay_test.rb |
origen_spi-0.2.0 | pattern/overlay_test.rb |