HDL Coder disable Clock Enable output port

9 ビュー (過去 30 日間)
Michael Felger
Michael Felger 2019 年 2 月 27 日
回答済み: Bharath Venkataraman 2019 年 2 月 28 日
How can I disable the Clock Enable output port in generated VDHL-Code?
I can specify the name In HDL Code Generation -> Global Settings -> Ports -> Clock enable output port (default ce_out). But there is no checkbox to disable the output port.
The documentation says "A clock enable output is generated when the design requires one."
What is the condition for "when the design requires one"?

採用された回答

Bharath Venkataraman
Bharath Venkataraman 2019 年 2 月 28 日
There is not a separate option - it is assumed that a requirement of a clock enable on the input would mean one is desired on the output.

その他の回答 (1 件)

Bharath Venkataraman
Bharath Venkataraman 2019 年 2 月 28 日
You can use the option Minimize Clock Enables to remove the clock enable port. The clock enable typically cannot be removed for multi-rate designs.
HDL Code Generation -> Global Settings -> Ports -> Minimize clock enables (check this box).
  1 件のコメント
Michael Felger
Michael Felger 2019 年 2 月 28 日
I don't want to remove the clock enable INPUT port, only the clock enable OUTPUT port.
Activating the Minimize Clock Enables removes both.
Is there no option to remove the Clock Enable output port seperately?

サインインしてコメントする。

製品


リリース

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by