Why do I receive an error while running an example titled 'Wireless Network Hardware Implementation with SDR' submitted by MathWorks Communications Toolbox Team in File Exchange?

1 次查看(过去 30 天)
I was trying out an example submitted by MathWorks Communications Toolbox Team in File Exchange, titled 'Wireless Network Hardware Implementation with SDR'. At step 3.2 - Generate RTL Code and IP Core, I am receiving an error as mentioned below:
Error: Evaluation of elaborate function on class hdldefaults.Concatenate failed with the error message: MATLAB:assertion:failed: Assertion Failed.
Additionally, another warning that pops up while HDL Workflow Advisor is running, in step 2.3 - Check block Compatibility.
Warning: Distributed pipelining will not distribute registers across this block because of treating it as a block box.
Message: The initial condition is not used when the model is in single-tasking mode. Multi-tasking mode is not supported for HDL.
I also tried changing the TLC file to 'ert.tlc' (from 'grt.tlc') and the issue persists.
I am using MATLAB R2018a on a Windows 10 machine.

采纳的回答

MathWorks Support Team
The model works fine in in R2017b, but not in R2018a and R2018b. The issue arises because the default value of 'ConcatenateDimension' of the Concatenate blocks in 'Vector' mode is no longer set to a value of '1'. This is a bug in HDL coder and shall be fixed in one of the future releases.
As a workaround, please navigate to the subsystem Transceiver_N1_N2_fpt_HDL1/Radio Node1/TxRx_N1 and apply the following procedure on these three blocks - DFE Position Concatenate1, DFE Position Concatenate2 and DFE Position Concatenate5.
  1. Double click on block
  2. Change mode to multidimensional array
  3. Change Concatenate dimension to 1
  4. Set Mode back to Vector

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Code Generation 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by