Lec04 Advanced Sequential Circuit Design
Lec04 Advanced Sequential Circuit Design
1
Outline
Section 1- Timing
Section 2- Designware
Section 1- Timing
Setup/hold time
Pipeline
Section 2- Designware
Term definition
Setup time (tsetup): The time that the input signal must be stabilized
before the clock edge.
Hold time (thold): The time that the input signal must be stabilized
after the clock edge.
Clk-to-Q contamination delay (tccq): The contamination time that Q
is first changed after the clock edge.
Clk-to-Q propagation delay (tpcq): The propagation time that Q
reaches steady state after the clock edge.
D_2
tcc tc
q d
Section 1- Timing
Setup/hold time
Pipeline
Section 2- Designware
Area: 1 unit
Time: 40 mins (Wash: 20 mins + Dry: 20 mins)
0 40 80 120 160
0 40 80 120 160
0 40 80 120 160
0 40 80 120 160
Area: 1 unit
Time: 160 mins
Wash and Dry = 40 mins
0 40 80 120 160
Area: 1 unit
Time: 160 mins
Wash and Dry = 40 mins
0 40 80 120 160
Area: 1 unit
Time: 160 mins
Wash and Dry = 40 mins
0 40 80 120 160
Area: 1 unit
Time: 160 mins
Wash and Dry = 40 mins
Area: 2 units
Time: 80 mins
Wash and Dry = 40 mins
0 40 80 120 160
Area: 1 unit
Time: 160 mins
Wash 20 mins
Area 0.7 units
Dry 20 mins
Area 0.7 units
0 20 40 80 120 160
Area: 1 unit
Time: 160 mins
Wash 20 mins
Dry 20 mins
0 40 80 120 160
Area: 1 unit
Time: 160 mins
Wash 20 mins
Dry 20 mins
0 40 60 80 120 160
Area: 1 unit
Time: 160 mins
Wash 20 mins
Dry 20 mins
0 40 80 120 160
Area: 1 unit
Time: 160 mins
Wash 20 mins
Dry 20 mins
Area: 1 unit
Time: 160 mins
Wash 20 mins
Area: 1 unit
Basic
Time: 160 mins
Area: 2 units
Parallel
Time: 80 mins
Basic
Parallel
Pipeline
c 5-bit 9
Add 10
d 9-bit
Area: 24 units
er
Basic a Adder 10-bit output
Time: 24 x 4 = 96 units
b Adder
Parallel
Pipeline
a 9-bit
c Adder 10-bit Area: 28 units
output
Parallel b 9-bit Adder
Adder
Time: 19 x 4 = 76 units
d
Pipeline
a 9-bit
c Adder 10-bit Area: 28 units
output
Parallel b 9-bit Adder
Adder
Time: 19 x 4 = 76 units
d
c 5-bit
Add
d
Pipeline a
er 9-bit
Adder 10-bit output
b Adder
T=0 c1 + d1
c 5-bit
Pipe d Adder
9-bit
a Adder out
line 10-bit
b Adder put
T=0 c1 + d1
c 5-bit
Pipe d Adder
9-bit
a Adder out
line 10-bit
b Adder put
T=0 c1 + d1
c 5-bit
Pipe d Adder
9-bit
a Adder out
line 10-bit
b Adder put
T=0 c1 + d1
c 5-bit
Pipe d Adder
9-bit
a Adder out
line 10-bit
b Adder put
T=0 c1 + d1
c 5-bit
Pipe d Adder
9-bit
a Adder out
line 10-bit
b Adder put
T=0 c1 + d1
a 9-bit
c Adder 10-bit Area: 28 units
output
Parallel b 9-bit Adder
Adder
Time: 19 x 4 = 76 units
d
c 5-bit
Add Area: 24+ units
d
Pipeline a
er 9-bit
Adder 10-bit output Time: 60 units
b Adder
Section 1- Timing
Section 2- Designware
Characteristics
Pre-verified for quality and better quality of results (QOR) in
synthesis, decreasing design and technology risk.
Allows high-level optimization of performance during synthesis.
Increased design reusability, productivity
Parameterized in size and also in functionality for some IP
Technology-independent
Provide synthesizable models, simulation models, datasheets, and
examples.
adder +, +1
subtractor -, -1
comparator ==, <, <=, >, >=
multiplier *
selector If, case
Resource sharing
Allows similar operations that do not overlap in time to be carried out
by the same physical hardware.
Argument
assignment:
DW02_ mult #(N,N)
Table1-
2
Table1-1 I/O port
Relative path
`include <model_name>.v
//synopsys dc_script_begin
//set_implementation wall U1 (instance name of IP)
implementation type from (Table1-3)
//synopsys dc_script_end
//synopsys translate_off
(Table1-4)
//synopsys translate_on
//synopsys dc_script_begin
//set_implementation csa U1
(Table1-3)
//synopsys dc_script_end
Note : If you use Designware, you should use clean
command after each simulation. (./09_clean_up)!
endmodule