sync mask readded

This commit is contained in:
Markus Rosenstihl 2017-07-04 17:58:36 +02:00
parent 36be8e00c6
commit f45c4c8e76

View File

@ -188,8 +188,8 @@ void SpinCorePulseBlaster::run_pulse_program_w_sync(state& exp, double sync_freq
// reported to SpinCore (Contact Request 2016-12-19 at 1482143561) // reported to SpinCore (Contact Request 2016-12-19 at 1482143561)
// markusro: When is this necessary? (TODO) // markusro: When is this necessary? (TODO)
c=prog->create_command(); c=prog->create_command();
//c->ttls=sync_mask; c->ttls=sync_mask;
c->ttls = 0x0; //c->ttls = 0x0;
c->instruction=SpinCorePulseBlaster::CONTINUE; c->instruction=SpinCorePulseBlaster::CONTINUE;
//c->length=shortest_pulse+2; // //c->length=shortest_pulse+2; //
c->length=12; // markusro: why shortest_pulse+2=11 , tests show 120 ns minimum state time?? c->length=12; // markusro: why shortest_pulse+2=11 , tests show 120 ns minimum state time??
@ -204,7 +204,7 @@ void SpinCorePulseBlaster::run_pulse_program_w_sync(state& exp, double sync_freq
PulseBlasterCommand* c; PulseBlasterCommand* c;
c=prog->create_command(); c=prog->create_command();
c->instruction=SpinCorePulseBlaster::CONTINUE; c->instruction=SpinCorePulseBlaster::CONTINUE;
c->length=shortest_pulse+2; c->length=shortest_pulse+3;
prog->push_front(c); prog->push_front(c);
duration+=(1.0+shortest_pulse)/clock; duration+=(1.0+shortest_pulse)/clock;
} }