フィルターのクリア

How to add a custom parameter in the generated module with HDL Coder,simulink?

1 回表示 (過去 30 日間)
SHIYU SONG
SHIYU SONG 2022 年 3 月 9 日
回答済み: Kiran Kintali 2022 年 3 月 17 日
Hi,
I want to design an uart_tx module, which has two parameters clk_frequency and Baud_rate.
In verilog, the correct code is as below:
module uart_tx
#(
parameter CLK_FRE = 50, //clock frequency(Mhz)
parameter BAUD_RATE = 115200 //serial baud rate
)
So, which block can generate it? Thanks.

採用された回答

Kiran Kintali
Kiran Kintali 2022 年 3 月 17 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCode Generation についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by