origen_core_support 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 999708ab9db10eccefefef06e4d559ab6074d81f
4
- data.tar.gz: b8eb4b68081709f88536added176ae6b90e01ead
3
+ metadata.gz: d4033dbe86db33f2449799d5af7b17ff9d372182
4
+ data.tar.gz: 1a614bade7fa98a4c78097fed327808717d01a61
5
5
  SHA512:
6
- metadata.gz: 7dc948d060adfd2dc2dfd9c3d9b703d454a094a64aa79c0a591bf4e1f9e5f24949625e8c60c1264d690062b959834d57f458240e47dccee37c37d4854eaf54fe
7
- data.tar.gz: 9b6375f3e9869122d4e06af6237982a734be0f25f0ae4e0be5c39a71c204085eb67ae4e218b274a575fa7ab7e798528bbae3460ac6e3d15e4dba0d2bc555552d
6
+ metadata.gz: 149e4ec8be23c466053ce371030964dfb793fae31b55bca56a6e73accb41965fddfbae45572931d50682d0551dadd867ff8f60b3e47274db76643daa510ecd22
7
+ data.tar.gz: a8881c40808b21ac6478b1d8d6e536b2135cea841df06eff03991759bac93ba136aa7d434915ffe086058301971b3bc8f40654103ca9e294f1ac53a942367b88
@@ -1,7 +1,7 @@
1
1
  module OrigenCoreSupport
2
2
  MAJOR = 0
3
3
  MINOR = 2
4
- BUGFIX = 2
4
+ BUGFIX = 3
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -12,13 +12,13 @@ Pattern.create(:end_with_halt => true) do
12
12
  $tester.cycle
13
13
  end
14
14
 
15
- ss "Test that basic port manipulation works"
15
+ ss "Test that basic pin group manipulation works"
16
16
  if !$tester.respond_to?('hpt_mode')
17
- $nvm.port(:porta).drive(0x55)
17
+ $nvm.pins(:porta).drive(0x55)
18
18
  $tester.cycle
19
- $nvm.port(:porta).expect(0xAA)
19
+ $nvm.pins(:porta).expect(0xAA)
20
20
  $tester.cycle
21
- $nvm.port(:porta)[1].dont_care
21
+ $nvm.pins(:porta)[1].dont_care
22
22
  $tester.cycle
23
23
  end
24
24
 
@@ -88,17 +88,17 @@ Pattern.create(:end_with_halt => true) do
88
88
  if !$tester.respond_to?('hpt_mode')
89
89
  ss "Test looping, these vectors should be executed once"
90
90
  $tester.loop_vector("test_loop_1", 1) do
91
- $nvm.port(:porta).drive(0xAA)
91
+ $nvm.pins(:porta).drive(0xAA)
92
92
  $tester.cycle
93
- $nvm.port(:porta).drive(0x55)
93
+ $nvm.pins(:porta).drive(0x55)
94
94
  $tester.cycle
95
95
  end
96
96
 
97
97
  ss "Test looping, these vectors should be executed 3 times"
98
98
  $tester.loop_vector("test_loop_2", 3) do
99
- $nvm.port(:porta).drive(0xAA)
99
+ $nvm.pins(:porta).drive(0xAA)
100
100
  $tester.cycle
101
- $nvm.port(:porta).drive(0x55)
101
+ $nvm.pins(:porta).drive(0x55)
102
102
  $tester.cycle
103
103
  end
104
104
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: origen_core_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen McGinty