Block to assign initial value for internal signal compatible with HDL coder?
Show older comments
Hello,
I,m using HDL coder. In my design there is a subtract block in a loop, which do -1 each clock cycle, but without an initial value(from my testbench, the default is 0x0000 for the generated code) for the input, the output will cause a data fill-out. That is to say the next value is 0xFFFF. I tried to use a IC block to initialize, but I was told that this block is not supported by HDL coder. I want to initialize an internal signal by 1. Do we have a HDL coder supported block to do that? I'm using MATLAB2013b and Xilinx 14.4 ISE design suite. Thanks.
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with HDL Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!