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