How to Configure "use ieee.std_logic_unsigned.all; " in HDL Coder
3 次查看(过去 30 天)
显示 更早的评论
Is it possible to configure HDL Coder to generate VHDL code using "use ieee.std_logic_unsigned.all; " package ?
0 个评论
采纳的回答
Tim McBrayer
2015-3-16
The use of std_logic_unsigned, while convenient, is not supported by HDL Coder. Many people in the industry feel the use of the std_logic_unsigned and std_logic_signed packages can lead to a lack of clarity in VHDL code. The explicit use of the signed, unsigned, and std_logic types is a code style that leads to an unambiguous definition of each signal's type and an indication of what operations are permitted. This style is what is supported by HDL Coder.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 HDL Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!