Example 1: A Buffer with no delays.
td.addBuffer("CLK,"","")
Example 2: A Buffer with tphl and tplh delays.
td.addUserDelay("tphl",tphlMin,tphlTyp,tphlMax, "tphl prop delay part xyz");
td.addUserDelay("tplh",tplhMin,tplhTyp,tplhMax, "tplh prop delay part xyz");
td.addBuffer("CLK","tphl","tplh");
Example 1: An Inverter with no delays.
td.addInverter("CLK,"","")
Example 2: An Inverter with tphl and tplh delays.
td.addUserDelay("tphl",tphlMin,tphlTyp,tphlMax, "tphl prop delay part xyz");
td.addUserDelay("tplh",tplhMin,tplhTyp,tplhMax, "tplh prop delay part xyz");
td.addInverter("CLK","tphl","tplh");
Example 1: A positive edge triggered DFF with enable and clk2q delay.
td.addUserDelay("clk2q",clk2qmin,clk2qTyp,clk2qMax, "DFF clock to Q delay part xyz");
td.addDFF("FIFO_RD","CLK",true,"clk2q","FIFO_RD_EN","","");
Example 2: A positve edge triggered DFF with enable and clk2q delay and synchronous reset.
td.addUserDelay("clk2q",clk2qmin,clk2qTyp,clk2qMax, "DFF clock to Q delay part xyz");
td.addDFF("FIFO_RD","CLK",true,"clk2q","FIFO_RD_EN","FIFO_RST","");
Example 1: A 8 bit up counter, positive edge triggered, with clk2q delay, count enable and synchronous reset.
td.addUserDelay("clk2q",clk2qmin,clk2qTyp,clk2qMax, "Counter clock to Q delay part xyz");
td.addCounter("FIFO_WR_CNTR[7:0]","CLK",true,"clk2q",true,"FIFO_RD_CNTR_EN","","","RST","");