As of August 2020 the site you are on (wiki.newae.com) is deprecated, and content is now at rtfm.newae.com.

Changes

Jump to: navigation, search
Example Running the Glitch Explorer
<ol style="list-style-type: decimal;">
<li>Change the Make a new file called ''Tuning Parameters'' to be ''1''ge_adjustment.</li><li><p>Set the following in Parameter 0 options:</p>{| class="wikitable"! Option! Value|-| Name| Offset|-| Parameter Path| [py'Glitch Module', 'Glitch Offset (as % of period)']|-| Data Format| Float|-| Range| -30 with these contents: 30|-| Value| -30|-| Step| 0.5|-| Repeat| 1|}
<psyntaxhighlight lang=python>The ''Parameter Path'' option can be found by manually making an adjustment class IterateGlitchParameters(object): def __init__(self, ge_window): self._starting_offset = -10 self.ge_window = ge_window  def reset_glitch_to_default(self, scope, target, project): """ Set glitch settings to defaults. """ self.offset = self._starting_offset  def change_glitch_parameters(self, scope, target, project): """ Example of simple glitch parameter modification function. """ # This value is minimum clock offset/width increment self.offset += 0.390625  if self.offset > 40: self.offset = self._starting_offset  # Write data to scope scope.glitch.offset = self.offset  #You MUST tell the ''glitch explorer about the updated settings if self.ge_window: self.ge_window.add_data("Glitch Offset ",scope.glitch.offset) glitch_iterator = IterateGlitchParameters(as % of periodself.glitch_explorer)'' in self.aux_list.register(glitch_iterator.change_glitch_parameters, "before_trace")self.aux_list.register(glitch_iterator.reset_glitch_to_default, "before_capture")</syntaxhighlight></li><li><p>Assuming you still have the GUI"Capture" working, you can simply find where you stored that script and observing the string printed to the hit ''Script CommandsRun'' tab. The numeric value of You should see it execute successfully on the command is not included in the parameter path (iline.e:</p><p>[[File:ge_step1_register., do not copy png|1000px]]</p></li><li><p>Confirm you see the value)modules loaded in the ''Aux Settings'' tab:</p><p>[[File:ge_step2_checkregister.png]]</p></li>
<li><p>On the main GUI in the ''Scope Settings'' tab, change the following values for the ''Glitch Module'':</p>
<blockquote><ol style="list-style-type: lower-alpha;">
<li>''Repeat'' set to 10.</li>
<li>''Glitch Width (as % of period)'' set to 8.0.</li></ol>
</blockquote>
<p>These values will be used during the glitch explorer run. We have not specified anything for the tuning, so they will not be changed from whatever is already in the GUI.</p></li>
<li><p>On the ''General Settings'' tab:</p>
<blockquote><ol style="list-style-type: lower-alpha;"><li>Ensure the ''Trace Format'' is set to ''None'' (i.e., no traces will be written to disk).</li>
<li>Set the ''Number of Traces'' to 121.</li></ol>
</blockquote></li><li>Press the ''Capture Multi'' button. You will get a warning as there is no trace writer, but can just hit ''Continue Anyway'', since we do not want to store traces to disk.</li>
<li><p>With any luck, at least one of the glitches will be successful:</p>
<p>If you get a reset (prints 'hello' again), you might need to reduce the &quot;repeat&quot; value. If you have no successful glitches, double-check all settings. You can continue to the next step anyway, as in that step we will also tune the &quot;glitch width&quot;.</p></li></ol>
Approved_users, bureaucrat, administrator
1,956
edits

Navigation menu