EDAboard.com | EDAboard.eu | EDAboard.de | EDAboard.co.uk | RTV forum PL | NewsGroups PL

create_generated_clock (syntax, do I need it?)

Ask a question - edaboard.com

elektroda.net NewsGroups Forum Index - Synthesis - create_generated_clock (syntax, do I need it?)


Guest

Sat Jul 08, 2006 7:32 pm   



Hi

I'm having an issue with create_generated_clock in design compiler. I
have a fast clock which I 1) invert and clock flops, 2) divide down and
use to clock more flops.

1) I invert the clock just by "assign clkInNot = ~clkIn;" inside a
module callded clkInv.

Q: Do I need to tell DC this is a clock or will it know?



2) I divide the clock inside a module called clkdiv:

clkdiv clkdiv_inst (
.clk_in(clk),
.clk_out(clk_divided),
);

and use the output to clock more flops. The create_generated_clock
statement looks like this:

create_generated_clock -name "DIV4_CLK" -divide_by 4 -source [get_port
"clk"] [get_pins "clkdiv/clk_out"]

However this clock does not appear in my clock report statements. Do I
have the syntax wrong?


Thanks.

are.aarseth@gmail.com
Guest

Mon Jul 31, 2006 10:38 pm   



Quote:
1) I invert the clock just by "assign clkInNot = ~clkIn;" inside a
module callded clkInv.

Q: Do I need to tell DC this is a clock or will it know?

It will know. Also you should see some posedge -> negedge / negedge
posedge paths in your timing reports.
Quote:



2) I divide the clock inside a module called clkdiv:
create_generated_clock -name "DIV4_CLK" -divide_by 4 -source [get_port
"clk"] [get_pins "clkdiv/clk_out"]

However this clock does not appear in my clock report statements. Do I
have the syntax wrong?

How exactly are you dividing the clock? I assume its a flop of some
kind? If so you should create the clock on the Q output of the flop and
put -source on the clk input of the flop. -source may not be needed. So
your syntax would be:
create_generated_clock -name "DIV4_CLK" -divide_by 4 -source [get_pins
divider_r_reg/cp] [get_pins "divider_r_reg/q"]

elektroda.net NewsGroups Forum Index - Synthesis - create_generated_clock (syntax, do I need it?)

Ask a question - edaboard.com

Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
RTV map EDAboard.com map News map EDAboard.eu map EDAboard.de map EDAboard.co.uk map Opony