hdlcoder std_logic_vector to stateflow type

1 回表示 (過去 30 日間)
borzack
borzack 2020 年 10 月 14 日
回答済み: Kiran Kintali 2020 年 12 月 22 日
Hi
I've a following vhdl code
signal a : std_logic_vector(10 downto 0);
signal b : std_logic_vector(10 downto 0);
a<=b;
My goal is to rewrite in stateflow and reproduce it by hdlcoder.
is there an easy way to do it?
Thanks

回答 (2 件)

Aman Vyas
Aman Vyas 2020 年 12 月 22 日
Hi,
You can use Stateflow HDL Code generation workflow where you can try to restructure your logic in the form of Finite State Machines (FSM), notation diagram or state transition diagram.
You can use a chart to model a finite state machine or a complex control algorithm intended for realization as an ASIC or FPGA. When the model meets design requirements, you then generate HDL code (VHDL® or Verilog®) that implements the design embodied in the model. You can simulate and synthesize generated HDL code using industry standard tools, and then map your system designs into FPGAs and ASICs.
For more info you can refer the following link :
Hope it helps !

Kiran Kintali
Kiran Kintali 2020 年 12 月 22 日
Attached simple Stateflow chart will generate the code you are looking for.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by