Answered

Are there Simulink guidelines for choosing ufix1 vs. boolean?

A ufix1 type is an arithmetic type--it represents a number. You can add, subtract, etc., with it. It can represent the numeric v...

Are there Simulink guidelines for choosing ufix1 vs. boolean?

A ufix1 type is an arithmetic type--it represents a number. You can add, subtract, etc., with it. It can represent the numeric v...

oltre 2 anni ago | 0

| accepted

Answered

hdlcoder mwdot stopped working

mwdot is used to provide a layout of the model that HDL Coder generates to capture any changes from the original model that you ...

hdlcoder mwdot stopped working

mwdot is used to provide a layout of the model that HDL Coder generates to capture any changes from the original model that you ...

oltre 2 anni ago | 0

| accepted

Answered

Why simple digital intergrator can not work in HDL Coder

The Native Floating Point implementation for the DTI uses addition, which is pipelined by default. You can change the NFP settin...

Why simple digital intergrator can not work in HDL Coder

The Native Floating Point implementation for the DTI uses addition, which is pipelined by default. You can change the NFP settin...

oltre 2 anni ago | 0

Answered

Is it possible to have a simulink model and run a co simulation using the model along with verilog either user created or from the HDL Coder?

Yes. The HDL Verifier tool allows cosimulation between Simulink and HDL code. This code can be generated by HDL Coder, or it can...

Is it possible to have a simulink model and run a co simulation using the model along with verilog either user created or from the HDL Coder?

Yes. The HDL Verifier tool allows cosimulation between Simulink and HDL code. This code can be generated by HDL Coder, or it can...

oltre 2 anni ago | 1

| accepted

Answered

why the error is occuring while converting from simulink to vhdl?

Are you using Xilinx System Generator, and if so, is it at the top of the design hierarchy? If so, you need to fix that, just li...

why the error is occuring while converting from simulink to vhdl?

Are you using Xilinx System Generator, and if so, is it at the top of the design hierarchy? If so, you need to fix that, just li...

oltre 2 anni ago | 0

Answered

how to convert simulink model into vhdl coder

HDL Coder generates platform independent, bit-true and cycle-accurate VHDL or Verilog code from a compliant Simulink model or su...

how to convert simulink model into vhdl coder

HDL Coder generates platform independent, bit-true and cycle-accurate VHDL or Verilog code from a compliant Simulink model or su...

oltre 2 anni ago | 1

Answered

simulink integrator block to VHDL?

For HDL code, you need to think in discrete time steps. So, you can use the |Discrete-Time Integrator| instead of the continuous...

simulink integrator block to VHDL?

For HDL code, you need to think in discrete time steps. So, you can use the |Discrete-Time Integrator| instead of the continuous...

oltre 2 anni ago | 0

| accepted

Answered

How to generate the video to VHDL code generaion in MATLAB?(HDL Code)

As the Readiness report states, you are using several functions not supported for HDL code generation. The |VideoReader| object ...

How to generate the video to VHDL code generaion in MATLAB?(HDL Code)

As the Readiness report states, you are using several functions not supported for HDL code generation. The |VideoReader| object ...

oltre 2 anni ago | 0

Answered

Support for triangle wave generator in hdllib

A simple counter, suitably configured for your needs (i.e. the number of steps, output data type, and sample rate), will generat...

Support for triangle wave generator in hdllib

A simple counter, suitably configured for your needs (i.e. the number of steps, output data type, and sample rate), will generat...

oltre 2 anni ago | 0

Answered

Error Assertion failed: b:\matlab\src\cgir_hdl\pir_transforms\cgfcnconverter.cpp:752:sese

You have encountered a potential bug. Please report this to MathWorks via normal service channels.

Error Assertion failed: b:\matlab\src\cgir_hdl\pir_transforms\cgfcnconverter.cpp:752:sese

You have encountered a potential bug. Please report this to MathWorks via normal service channels.

oltre 2 anni ago | 0

Answered

matlab hdl coder assertion error

You have encountered a potential bug. Please report this to MathWorks through normal service channels.

matlab hdl coder assertion error

You have encountered a potential bug. Please report this to MathWorks through normal service channels.

oltre 2 anni ago | 0

Answered

HDL Workflow advisor to convert a difference equation into verilog

I'm not entirely sure what your question is. Both approaches are perfectly valid as input for HDL Coder and are both very well s...

HDL Workflow advisor to convert a difference equation into verilog

I'm not entirely sure what your question is. Both approaches are perfectly valid as input for HDL Coder and are both very well s...

oltre 2 anni ago | 1

Answered

HDL coder Black box replacement for MAtlab code

You will need to replace your assignment with a System object inherited from hdl.BlackBox, and place the correct assignment beha...

HDL coder Black box replacement for MAtlab code

You will need to replace your assignment with a System object inherited from hdl.BlackBox, and place the correct assignment beha...

circa 3 anni ago | 0

Answered

Xilinx System Generator simulink block

Yes, Simulink designs with Xilinx System Generator blocks can be taken to a FPGA bitstream, either as a standalone workflow, or ...

Xilinx System Generator simulink block

Yes, Simulink designs with Xilinx System Generator blocks can be taken to a FPGA bitstream, either as a standalone workflow, or ...

circa 3 anni ago | 0

| accepted

Answered

The most interesting head scratching "break" command problem in Simulink these days

A |break| statement exits a loop statement at an arbitrary iteration. In your code it is entirely data dependent. A loop will in...

The most interesting head scratching "break" command problem in Simulink these days

A |break| statement exits a loop statement at an arbitrary iteration. In your code it is entirely data dependent. A loop will in...

circa 3 anni ago | 0

Answered

How can I use vhdl generics when I generate a matlab system object from my vhdl code with HDL verifier?

It sounds like you are trying to model existing handwritten VHDL that uses generics in its interface, in Simulink, and using a S...

How can I use vhdl generics when I generate a matlab system object from my vhdl code with HDL verifier?

It sounds like you are trying to model existing handwritten VHDL that uses generics in its interface, in Simulink, and using a S...

circa 3 anni ago | 0

Answered

made a code in matlab which includes functions like rand, eig, cov and many more. I want to convert the same to HDL, but cannot due to those functions.

You will need to decompose the computation of eigenvectors to more basic operations and organize these in a way that meets your ...

made a code in matlab which includes functions like rand, eig, cov and many more. I want to convert the same to HDL, but cannot due to those functions.

You will need to decompose the computation of eigenvectors to more basic operations and organize these in a way that meets your ...

circa 3 anni ago | 0

Answered

while implementing 1st step of hdl workflow advisor for led blinking example of setting target using vivado .

HDL Coder does not support generating HDL code for the manual switch block. I believe that you are attempting to generate code f...

while implementing 1st step of hdl workflow advisor for led blinking example of setting target using vivado .

HDL Coder does not support generating HDL code for the manual switch block. I believe that you are attempting to generate code f...

circa 3 anni ago | 0

Answered

How do I import my existing Verilog-A code into SIMULINK?

Neither HDL Coder nor HDL Verifier currently have direct support for Verilog-A. If you can update your Verilog-A to Verilog-AMS ...

How do I import my existing Verilog-A code into SIMULINK?

Neither HDL Coder nor HDL Verifier currently have direct support for Verilog-A. If you can update your Verilog-A to Verilog-AMS ...

circa 3 anni ago | 1

Answered

Error Goto/From connections subsystem boundaries

I don't think that this has anything to do with the hardware board. The error is that From/Goto cannot cross a nonvirtual subsys...

Error Goto/From connections subsystem boundaries

I don't think that this has anything to do with the hardware board. The error is that From/Goto cannot cross a nonvirtual subsys...

circa 3 anni ago | 0

Answered

Difference between int32 and fixed point

HDL Coder treats all integral types (both int and uint types) as the fixed point types that they are equivalent to. There is no ...

Difference between int32 and fixed point

HDL Coder treats all integral types (both int and uint types) as the fixed point types that they are equivalent to. There is no ...

circa 3 anni ago | 1

| accepted

Answered

Build-in function and HDL Coder Application

It doesn't matter whether a function is built-in or not; it matters whether HDL Coder supports a given function. The list of sup...

Build-in function and HDL Coder Application

It doesn't matter whether a function is built-in or not; it matters whether HDL Coder supports a given function. The list of sup...

circa 3 anni ago | 0

| accepted

Answered

Fixed-step or Variable-step when designing with HDL coder

You can use variable-step discrete with no continuous states, but I don't think there is much benefit to doing so.

Fixed-step or Variable-step when designing with HDL coder

You can use variable-step discrete with no continuous states, but I don't think there is much benefit to doing so.

circa 3 anni ago | 0

| accepted

Answered

i got error in HDL code geneartion "design,test bench and build folders cannot be under 'D:\matlab\toolbox\hdlcoder\hdlcoderdemos\mlhdlc_sfir.m' path"...how to solve this

Copy mlhdlc_sfir.m and mlhdlc_sfir_tb.m into a working directory that isn't inside your MATLAB install directory.

i got error in HDL code geneartion "design,test bench and build folders cannot be under 'D:\matlab\toolbox\hdlcoder\hdlcoderdemos\mlhdlc_sfir.m' path"...how to solve this

Copy mlhdlc_sfir.m and mlhdlc_sfir_tb.m into a working directory that isn't inside your MATLAB install directory.

circa 3 anni ago | 0

Answered

Does Simulink HDL coder support MEX block?

No, HDL Coder does not support MEX blocks. For custom code you can use the MATLAB Function or MATLAB System blocks. Please note ...

Does Simulink HDL coder support MEX block?

No, HDL Coder does not support MEX blocks. For custom code you can use the MATLAB Function or MATLAB System blocks. Please note ...

circa 3 anni ago | 0

| accepted

Answered

Problem with a loop in the hdl coder

For loops are supported, when they have fixed loop indices. While loops in general are not, as there is no way the compiler can ...

Problem with a loop in the hdl coder

For loops are supported, when they have fixed loop indices. While loops in general are not, as there is no way the compiler can ...

circa 3 anni ago | 0

Answered

How can matlab functions like eig, rand, cov and likewise be converted into vhdl using hdl coder?

None of those three functions are supported by HDL Coder, as you seem aware. Think about what you are trying to accomplish; are ...

How can matlab functions like eig, rand, cov and likewise be converted into vhdl using hdl coder?

None of those three functions are supported by HDL Coder, as you seem aware. Think about what you are trying to accomplish; are ...

circa 3 anni ago | 0

| accepted

Answered

norm() block in Simulink HDL coder

The short answer is no, HDL Coder does not support |norm()|. From the hardware perspective, the |norm()| function is a compli...

norm() block in Simulink HDL coder

The short answer is no, HDL Coder does not support |norm()|. From the hardware perspective, the |norm()| function is a compli...

circa 3 anni ago | 0

Answered

HDL Coder linspace block for Simulink

As I understand it you want a constant value in Simulink that emulates the |linspace| command. If this is what you are asking fo...

HDL Coder linspace block for Simulink

As I understand it you want a constant value in Simulink that emulates the |linspace| command. If this is what you are asking fo...

circa 3 anni ago | 0

| accepted

Answered

Why do I get an error with system object calls in HDL Code Generation?

I'm not an expert in the DSP side of the product, but my understanding of your code is that you are invoking the same object twi...

Why do I get an error with system object calls in HDL Code Generation?

I'm not an expert in the DSP side of the product, but my understanding of your code is that you are invoking the same object twi...

circa 3 anni ago | 2

| accepted