HDL Coder Black box Multiple clock domain
이전 댓글 표시
We are trying to encapsulate legacy code that essentially acts as a CDC FIFO. Is there a clever way to do this?
Attached is a summation of what I've tried. Tried entering multiple clock / reset names in HDL properties, but the generated code did not cooperate.
답변 (1개)
Naveen Sahukari
2022년 5월 10일
0 개 추천
Hi Darryl,
Pease go through the following demo example as Asynchronous FIFO design with multiple clock domain crossing. In this model clock domain crossing is implemented using Doc block with BlackBox by inserting necessary Verilog/VHDL code.
matlab/toolbox/hdlcoder/hdlcoderdemos/hdlcoder_asynchronous_fifo.slx
matlab/toolbox/hdlcoder/hdlcoderdemos/hdlcoder_async_fifo.m
Regards
Naveen
카테고리
도움말 센터 및 File Exchange에서 Speed and Area Optimization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!