I'm trying to generate Simulation data for a protocol, but it seems that when I initialize clock generator for 768kHz. And loop to generate a clock it shows up as 384kHz in Logic.
In SimulationDataGenerator:
mClockGenerator.Init(768000.0, simulation_sample_rate);
In a loop inside GenerateSimulationData:
mSck->Transition();
SimulationChannels.AdvanceAll(mClockGenerator.AdvanceByHalfPeriod(1.0));
mSck->Transition();
SimulationChannels.AdvanceAll(mClockGenerator.AdvanceByHalfPeriod(1.0));
By the name of the function I would have expected it to advance by only half a period when given 1.0 as argument. Especially when 1.0 is the default value for the argument.
My apologies if this is not the appropriate place to report this kind of issues.

I'm trying to generate Simulation data for a protocol, but it seems that when I initialize clock generator for 768kHz. And loop to generate a clock it shows up as 384kHz in Logic.
In SimulationDataGenerator:
mClockGenerator.Init(768000.0, simulation_sample_rate);
In a loop inside GenerateSimulationData:
mSck->Transition();
SimulationChannels.AdvanceAll(mClockGenerator.AdvanceByHalfPeriod(1.0));
mSck->Transition();
SimulationChannels.AdvanceAll(mClockGenerator.AdvanceByHalfPeriod(1.0));
By the name of the function I would have expected it to advance by only half a period when given 1.0 as argument. Especially when 1.0 is the default value for the argument.
My apologies if this is not the appropriate place to report this kind of issues.