Answered
Error in using rate transition for multiple clock domains
Some init scripts might be missing when I ctrl-d the model. For example I get the error. Variable 'activeLines' does not exis...

4 years ago | 0

Answered
How to create a single dsp model that can be used for different fpga vendors (HDLcoder)
You can generate HDL code from variants. Attached is an example of the variant subsystem model using basic variant features. ...

4 years ago | 1

| accepted

Answered
R2020b Update 6 Crashes After Opening HDL Workflow Advisor
This is helpful. This looks like error is happening during model compilation or simulation and unrelated to code generation. I w...

4 years ago | 0

Answered
R2020b Update 6 Crashes After Opening HDL Workflow Advisor
This is not expected behavior. To workaround the issue can you reach out to https://www.mathworks.com/support/contact_us.html? ...

4 years ago | 0

Answered
How to assign the name of a (multiple) port while using HDL Coder generate RTL from simulink
Resource Sharing For Area Optimization Additional Help for Sharing Factor https://www.mathworks.com/support/search.html?q=...

4 years ago | 0

Answered
MATLAB function block doesn't generate synthesizable HDL.
I am attaching R2018a version of the model for viewing the contents of the MATLAB function. I recommend upgrading to latest rele...

4 years ago | 0

Answered
MATLAB function block doesn't generate synthesizable HDL.
Try the attached sample model which shows how to MATLAB function block with floating point single precision code using native fl...

4 years ago | 0

Answered
HDL coder error empty simulink object
>> mlhdlc_demo_setup('sysobj') you can see some of the examples in the product. >> ls mlhdlc_sysobj_ex.m mlhd...

4 years ago | 0

Answered
How to create a single dsp model that can be used for different fpga vendors (HDLcoder)
>> But it won't load in my matlab version R2019b >> openExample('hdlcoder/DesignForEfficientDSPBlockMappingExample') Attached ...

4 years ago | 0

Answered
How to assign the name of a (multiple) port while using HDL Coder generate RTL from simulink
>>As you see, input port of Demo is automatically expanded into in_0, in_1, in_2. My question is can the input name in RTL chang...

4 years ago | 0

Answered
Min and Max error while using HDL-Coder
Can you share your MATLAB project file with DPCM_Func.m entry point function and input type definition? https://www.mathworks.c...

4 years ago | 0

Answered
How to store the output of a repeating function (Matlab Function Block Simulink) ?
>> Do you have an idea how to detect multiple peaks not just one ? Can you consider Multiple enabled delays in a cascaded fashi...

4 years ago | 0

Answered
Unrecognized function or variable 'vsim'.
Based on your snapshot of ver command above it looks like you do have access to HDL Verifier. Try using one of the following c...

4 years ago | 0

| accepted

Answered
How to store the output of a repeating function (Matlab Function Block Simulink) ?
>> makehdl('pulse_detector_v4_with_index/Pulse Detector') ### Generating HDL for 'pulse_detector_v4_with_index/Pulse Detector...

4 years ago | 0

Answered
HDLCoder The Block/HDLImplementation pair: ('modelsimlib/HDL Cosimulation', 'hdldefaults.ModelSimHDLInstantiation') is not registered in the implementation database.
should be the same underlying install issue you are facing here. https://www.mathworks.com/matlabcentral/answers/889352-unrecog...

4 years ago | 0

Answered
How to store the output of a repeating function (Matlab Function Block Simulink) ?
% Hardware friendly implementation of peak finder % % Function inputs: % * WindowLen - non-tunable parameter defined un...

4 years ago | 0

| accepted

Answered
struct memeber can not be Simulink.Parameter?
Can you share a sample model?

4 years ago | 0

Answered
Unrecognized function or variable 'vsim'.
https://www.mathworks.com/support/contact_us.html please reach out to support for this install question.

4 years ago | 0

Answered
Unrecognized function or variable 'vsim'.
Possibly install issue. Do you have this file on your path? >> help vsim vsim Launch ModelSim for use with MATLAB and Simul...

4 years ago | 1

Answered
Convert MATLAB ANN Model to HDL using HDL Coder
Can you share reproduction steps? Thanks

4 years ago | 0

Answered
Deep Learning HDL Toolbox Support Package for Xilinx FPGA and SoC Devices
Please follow guidance from this thread. https://www.mathworks.com/matlabcentral/answers/882868-deep-learning-hdl-toolbox-suppo...

4 years ago | 0

Answered
Deep Learning HDL Toolbox Support Package for Xilinx FPGA and SoC Devices
We understand you running into the issue during the hardware support package setup, while downloading the Linux image. Can you c...

4 years ago | 0

Answered
start hdl coder from simulink model
We have seen this error when the DUT specification has a newline character. Launching HDL Coder app button in toolstrip has this...

4 years ago | 0

| accepted

Answered
HDLCoder timing closure errors on hps2fpga brigde when scaling up a model.
You can reach out to support@mathworks.com to get additional help on the topic.

4 years ago | 0

| accepted

Answered
HDLCoder timing closure errors on hps2fpga brigde when scaling up a model.
>> Im trying to scale up a motor control algorithm from 1 controller to 4 instances on HDLCoder This should be possible. Can yo...

4 years ago | 0

Answered
how to generate sine wave for fpga?
Attached model generates HDL Code using HDL Coder. >> makehdl(gcb) ### Generating HDL for 'sine_cust_hdl/WaveGen HDL'....

4 years ago | 0

Answered
How do I convert between enumeration and integer types for use with HDL Coder?
Updated Answer (R2021a) HDL Code Generation for Data Type Conversion block supports enumerated data types in R2021a release. ...

4 years ago | 1

Answered
Making Simulink HDL Coder with Dynamic Input.
What version of MATLAB are you using? I am able to generate code for the 'masters_v5/DUT/HDL DUT' subsystem >> makehdl(gc...

4 years ago | 0

Answered
simulink _hdl coder
>> Error: Evaluation of emission function on class hdldefaults.Subsystem failed with the error message: >> MATLAB:UndefinedFunc...

4 years ago | 0

Load more