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.

[No title]

Status
Not open for further replies.

sky_above

Member level 2
Joined
May 14, 2018
Messages
43
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
375
Realization of D flip flop by basic gates from library while synthesizing

With a rtl of a D-Flipflop how can the synthesis tool be instructed so that the synthesis tool while synthesizing that rtl does not pick up the D-Flipflop library cell directly but realizes the D-Flipflop by collection of basic NAND, NOR , INVERTER gates from the library?
 

Re: Realization of D flip flop by basic gates from library while synthesizing

You just have to define your ff the way you want. There us absolutely no reason the synthesis tool would pick the slower, less efficient way of doing it.
 

Re: Realization of D flip flop by basic gates from library while synthesizing

With a rtl of a D-Flipflop how can the synthesis tool be instructed so that the synthesis tool while synthesizing that rtl does not pick up the D-Flipflop library cell directly but realizes the D-Flipflop by collection of basic NAND, NOR , INVERTER gates from the library?

synthesis tool will never build a flip-flop out of basic gates. it will pick the dff from the library.
 

Re: Realization of D flip flop by basic gates from library while synthesizing

You could make your own block-level FF-as-gates design
and then refer to this explicitly in higher level blocks' code,
perhaps?
 

Re: Realization of D flip flop by basic gates from library while synthesizing

You could 'fool' the tool, but whatever flip-flop you get out of it will be so poorly designed. Not to mention the STA analysis is gone, it simply wouldn't work because it would see combinational loops.
 

Re: Realization of D flip flop by basic gates from library while synthesizing

It is simply that you can not do with a synthesis Tool.

A group of people will take care a NAND level of standard cell which can circuit design, or libabry design team.
The others ( like you ) will use their output ( as called libraries ) to do synthesis.
That flow makes things be easier.

I am not sure but maybe you can see the NAND level in case you use some Spice ( Hspice, Pspice ... ) simulation tool.
 

Re: Realization of D flip flop by basic gates from library while synthesizing

You could 'fool' the tool, but whatever flip-flop you get out of it will be so poorly designed. Not to mention the STA analysis is gone, it simply wouldn't work because it would see combinational loops.

Suppose you are synthesizing a big design where there are many D-Flipflops along with some combinational logics. Suppose we synthesize that big design such that all D-Flipflops are realized by basic NAND, NOR, INVERTER and not by library D-Flipflop cell.
How will you get combinational loops? Because a flipflop have a combinational loop inside it by its design. Will not the tools like the STA tool understand that these are all flip-flops when it analyzes the whole design?
 

Re: Realization of D flip flop by basic gates from library while synthesizing

Are you actually asking about ASIC design? In this case, flip flops from the library are already representing the minimal gate level implementation and there's absolutely no use of defining it differently. If the question is however about FPGA, don't expect useful behaviour of your homemade FFs.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top