[Return to Logic Circuit Design Tutorial Home]

How to Set Delay on Circuit Components


Table of Contents

  1. Add Gate Delay
  2. Delete Gate Delay
  3. Simulation with Gate Delay
  4. Waveform with Gate Delay

1.Add Gate Delay

[1-1]Open schematic

Schematic Window

[1-2]Select the gate that you want to set the delay

Gate Selection

[1-3]Open Gate Property

  • Click Property Icon
  • Property Icon
  • "Edit Object Properties" window is launched
  • Edit Object Properties Window

    [1-4]Adding Gate Delay Property

  • Click "Add" button on "Edit Object Properties" window
  • "Add Property" window is launched
  • Add Property Window
  • Input Name(=td), Type(=int), Value(=specified gate delay)
  • After input property, Click "OK" button
  • Add Property Window(with Information)
  • Delay setting is finished
  • *If you want to apply gate delay on group
    *Please change "Apply to" pull down menu on "Edit Object Properties" window

    [Return to TOP]


    2. Delete Gate Delay

    [2-1]Select the gate that already set the delay

    Gate Selection(Already Set the Delay)

    [2-2]Click property icon. "Edit Object Properties" window is launched

    Edit Object Properties Window(Already Set the Delay)

    [2-3]Delete Gate Delay Property

  • Click "Delete" button on "Edit Object Properties" window
  • "Delete Property" window is launched
  • Delete Property Window
  • Select property which you want to Delete
  • After select property, Click "OK" button
  • Delect Delay Property
  • Gate delay is deleted
  • [Return to TOP]


    3. Simulation with Gate Delay

    Circuit Example
    
        // Please do not create a module in this file.
    
    
        // Default verilog stimulus. 
    
        initial
        begin 
    
           a = 1'b0;
           b = 1'b0;
           cin = 1'b0;
    
           #60
    
           a = 1'b1;
    
           #60
    
           a = 1'b0;
           b = 1'b1;
    
           #60
    
           a = 1'b1;
    
           #60
    
           a = 1'b0;
           b = 1'b0;
    
           #60
    
           a = 1'b1;
    
           #60
    
           a = 1'b0;
           b = 1'b1;
    
           #60
    
           a = 1'b1;
    
           #60
    
           $finish;
        end
    
        always #240 cin = ~cin; 
    
    

    [Return to TOP]


    4. Waveform with Gate Delay

    Edit Object Properties Window(Already Set the Delay)

    [Return to Logic Circuit Design Home/Return to Logic Circuit Design Tutorial Home]