private static final int STOPPED_IN_NDX = 3;
private final String name;
- private final String captureClockRelPath = "fillStag@1.gaspFill@0.fillScan@1";
+ //private final String captureClockRelPath = "fillStag@1.gaspFill@0.fillScan@1";
+ private final String captureClockRelPath = "fillStag@1";
// test library direct write mode doesn't understand per register write
// enables. We get simulation to work by toggling write clock.
private final boolean clockHack;
- private final String captureClockName = "si[4]";
+ private final String captureClockName = "sx[4]";
/*
private boolean traceFill = true;
* Each instance name in the path must begin with the character 'x'.
* Return a path with the added X's. */
private String prefixInstNamesInPathWithX(String path) {
+ if (model==null) throw new RuntimeException();
if (!(model instanceof NanosimModel)) return path;
StringBuffer sb = new StringBuffer();
sb.append('x');
this.dataPath = dataChain+'.'+propInst;
this.reportChain = reportChain;
this.reportPath = reportChain+'.'+propInst;
+ this.model = model;
this.captureClock =
prefixInstNamesInPathWithX(propInst+'.'+captureClockRelPath)
+'.'+captureClockName;
this.cc = cc;
- this.model = model;
this.clockHack = clockHack;
this.indenter = indenter;
}