Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

In what situation Design Compiler will synthesis RTL into latch?

Status
Not open for further replies.

hfooo1

Member level 1
Joined
Nov 3, 2007
Messages
37
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,492
in waht situation Design Compiler will synthesis RTL into latch?

someone said we dont use latch because of DFT problem.
But can we solve it by adding a MUX before it?
 

latch

always @(a or b)
if(a) out = 1'b1;
else if(b) out = 1'b0;

Latch will be introduced for 'out', since 'else' is missing.

www.nandigits.com
Netlist Debug/ECO in GUI mode
 

Re: latch

hfooo1 said:
in waht situation Design Compiler will synthesis RTL into latch?

someone said we dont use latch because of DFT problem.
But can we solve it by adding a MUX before it?

latch will be introduced when you use reg in Verilog (as well as variable in VHDL) associated with output port and store the value arcording to the changing clock level(clk='1'). It's correct for both VHDL and Verilog.
 

latch

latch will be infered when a combinational circuit described improperly

example:
1. when sensitivity list is not complete i.e all the combinational inputs must in sensitivity list
2. In always or process all the control paths are not evaluate the output
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top