Added clk input to ensure processing of similar subsequent trace lines.