Commit 28f3b2fe authored by Jan Pospisil's avatar Jan Pospisil

fixed X values at the beginning of the simulation

parent 62381b86
......@@ -226,14 +226,15 @@ package FfpgFmcPackage;
int Cycle;
int Bunch;
LocalInterface.ClkIn0_k <= 0;
LocalInterface.Trigger <= 0;
seq_item_port.get_next_item(tx);
`uvm_info("FMCGEN", tx.convert2string(), UVM_NONE);
if (tx.Cycles > 0)
phase.raise_objection(this);
if (Configuration.ClockPeriod % 2)
$warning("Clock period is not a multiple of 2, different clock period is generated!");
LocalInterface.ClkIn0_k <= 0;
LocalInterface.Trigger <= 0;
for (Cycle = 0; (Cycle < tx.Cycles) || (tx.Cycles == 0); Cycle++ ) begin
for (Bunch = 0; Bunch < Configuration.TriggerPeriodicity; Bunch++) begin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment