origen_std_lib 0.11.0 → 0.12.0

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
  SHA256:
3
- metadata.gz: e394b9fdda9ce749848911596a8ae6c892ebc4a6944e73ad28fe1d29aa4291b4
4
- data.tar.gz: 118bcb0e55721184fc3494c854ad8a5f31edc5e42cf69967eac683ab65e2f2c5
3
+ metadata.gz: 836141177146f1a749274c64b6435555625bf0e62ac858a54350d54ecabf9d09
4
+ data.tar.gz: 630b23dfd5df2501743cace53f32fa010284ad480bde49803f186c02c804adf1
5
5
  SHA512:
6
- metadata.gz: f2ac35cd028b6539e72120fc2a2170caa17783d32b37b2c28344ef2e3478a0c740bfb6b812f33c03f52d126e6d0c99bdacb79ebe8955eec9511467789ef619ad
7
- data.tar.gz: 190d14fded023b1731c98de347f37091696b82f1cc947568392c479c25c57089b36aa145cf6884522758f4d056eff890343456ffc81b22e3d19c726b587ae221
6
+ metadata.gz: 1650d5aa85a5298bdb91ba7b9ba49234dfae2f0f5d1d84647e997c5816ec35a7300d406d19d207ec15d005dc60ebba2e8e736f7447d18f55ea5f0a5453f52dc2
7
+ data.tar.gz: a09405cc87b1ebdb691ed04ab05313dbe7d24822c869d53ec250d5763ccca3a11979fad520b859b602509b7a30c0c8a20036767c054446d9ff24e71133951f16
data/config/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module OrigenStdLib
2
2
  MAJOR = 0
3
- MINOR = 11
3
+ MINOR = 12
4
4
  BUGFIX = 0
5
5
  DEV = nil
6
6
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -1,7 +1,7 @@
1
1
  #ifndef ORIGEN_HPP_INCLUDED
2
2
  #define ORIGEN_HPP_INCLUDED
3
3
 
4
- #define ORIGEN_VERSION "0.11.0"
4
+ #define ORIGEN_VERSION "0.12.0"
5
5
 
6
6
  #ifndef debugger
7
7
  #define debugger __asm__("int $3");
@@ -39,12 +39,6 @@ public class Origen {
39
39
  private static MultiSiteLong _y;
40
40
  private static boolean _ySet;
41
41
 
42
- private static MultiSiteLong _blockCycles;
43
- private static boolean _blockCyclesSet;
44
-
45
- private static MultiSiteLong _pageCycles;
46
- private static boolean _pageCyclesSet;
47
-
48
42
  public static ITestContext context;
49
43
  public static IMeasurement meas;
50
44
 
@@ -55,7 +49,6 @@ public class Origen {
55
49
  * @param level
56
50
  * @param msg
57
51
  */
58
- @SuppressWarnings("deprecation")
59
52
  public static void message(int level, String msg) {
60
53
  // No longer works on SMT 8.2, should this function be removed completely?
61
54
  // context.message(level,msg);
@@ -34,13 +34,15 @@ public class Functional_test extends Base {
34
34
  private int _bitPerWord;
35
35
 
36
36
  /** Pattern name */
37
+ @SuppressWarnings("unused")
37
38
  private String _pattern;
38
39
 
39
40
  /** Testname to override */
41
+ @SuppressWarnings("unused")
40
42
  private String _testNameOverride;
41
43
 
42
44
  /** The result of executing the primary pattern */
43
- private IMeasurementResult funcResult;
45
+ public IMeasurementResult funcResult;
44
46
 
45
47
  private MultiSiteBitSequence _capturedData;
46
48
 
@@ -57,9 +59,9 @@ public class Functional_test extends Base {
57
59
  /** The measurement that is only used dynamic pattern switching */
58
60
  public IMeasurement dynamicPatMeas;
59
61
 
60
- ArrayList<IMeasurementResult> dynamicMeasurementResults;
62
+ public ArrayList<IMeasurementResult> dynamicMeasurementResults;
61
63
 
62
- boolean _hasDynamicMeas = false;
64
+ public boolean _hasDynamicMeas = false;
63
65
 
64
66
  /** The list of patterns to patch */
65
67
  List<String> patchList;
@@ -109,6 +111,13 @@ public class Functional_test extends Base {
109
111
  return this;
110
112
  }
111
113
 
114
+ //overload for full path pattern. Boolean not used at the moment
115
+ public Functional_test overlaySubroutinePerSite(String subroutinePattern,
116
+ MultiSiteLong decData, String pin, int size, Boolean FullPathPattern ) {
117
+ Origen.overlaySubroutinePerSite(subroutinePattern, pin, decData, size);
118
+ return this;
119
+ }
120
+
112
121
  public Functional_test overlaySubroutineAllSites(
113
122
  String subroutinePattern, long decData, int size) {
114
123
  Origen.overlaySubroutineAllSites(
@@ -116,6 +125,12 @@ public class Functional_test extends Base {
116
125
  return this;
117
126
  }
118
127
 
128
+ //overload for full path pattern. Boolean not used at the moment
129
+ public Functional_test overlaySubroutineAllSites(String subroutinePattern, long decData, String pin, int size, Boolean FullPathPattern) {
130
+ Origen.overlaySubroutineAllSites(subroutinePattern, pin, decData, size);
131
+ return this;
132
+ }
133
+
119
134
  /**
120
135
  * Setup the patch measurement instance Call after all patterns are added to the list The setup
121
136
  * creates a new devicesetup with fake pattern calls to all patched patterns This make sure that
@@ -388,10 +403,11 @@ public class Functional_test extends Base {
388
403
  logTrace("Functional_test", "run");
389
404
  super.run();
390
405
 
406
+ // TODO - EP - with SMT 8.2.3 - xoc.dta.UncheckedDTAException: Pattern can only be set in setup().
391
407
  // Check if we need to override the pattern name
392
- if (_pattern != "") {
393
- measurement.setPatternName(_pattern);
394
- }
408
+ // if (_pattern != "") {
409
+ // measurement.setPatternName(_pattern);
410
+ // }
395
411
 
396
412
  // Check if we need to capture anything
397
413
  // When capture is enabled, we have to disable the cyclePassFail
@@ -440,13 +456,9 @@ public class Functional_test extends Base {
440
456
  logTrace("Functional_test", "processResults");
441
457
 
442
458
  if (_hasDynamicMeas && dynamicMeasurementResults.size() > 0) {
443
- MultiSiteBoolean dynamicPassed = null;
459
+ MultiSiteBoolean dynamicPassed = new MultiSiteBoolean(dynamicMeasurementResults.get(0).hasPassed());
444
460
  for (IMeasurementResult result : dynamicMeasurementResults) {
445
- if (dynamicPassed == null) {
446
- dynamicPassed = result.hasPassed();
447
- } else {
448
- dynamicPassed = dynamicPassed.and(result.hasPassed());
449
- }
461
+ dynamicPassed = dynamicPassed.and(result.hasPassed());
450
462
  }
451
463
  if (funcResult != null) {
452
464
  judgeAndDatalog(FUNC, dynamicPassed.and(funcResult.hasPassed()));
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: origen_std_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen McGinty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-26 00:00:00.000000000 Z
11
+ date: 2020-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen