Answered

Discrete FIR Filter input port

As you have observed, all the coefficients are to be provided at the input interface. One way to do this would be to take each ...

Discrete FIR Filter input port

As you have observed, all the coefficients are to be provided at the input interface. One way to do this would be to take each ...

más de 1 año ago | 0

Answered

'vsim' requires HDL Verifier.

If you are trying to co-simulate MATLAB code and HDL code in ModelSim, you will need the HDL Verifier product to do so.

'vsim' requires HDL Verifier.

If you are trying to co-simulate MATLAB code and HDL code in ModelSim, you will need the HDL Verifier product to do so.

más de 1 año ago | 1

Answered

LTE HDL MIB Recovery block explanation

The LTE Toolbox example on Cell Search has further information and MATLAB code that you can run. For the HDL implementation, yo...

LTE HDL MIB Recovery block explanation

The LTE Toolbox example on Cell Search has further information and MATLAB code that you can run. For the HDL implementation, yo...

casi 2 años ago | 0

| accepted

Answered

How do I call an FFT multiple times with HDL Coder: System Object Methods in Loops?

As shown in the example, the HDL FFT needs into the separated out into a separte design file. The example puts the HDL-optimized...

How do I call an FFT multiple times with HDL Coder: System Object Methods in Loops?

As shown in the example, the HDL FFT needs into the separated out into a separte design file. The example puts the HDL-optimized...

casi 2 años ago | 0

Answered

Implementing scanning indow using HDL FIFOs

We have a block that does the windowing - please look at the Line Buffer block. I believe this will meet your needs.

Implementing scanning indow using HDL FIFOs

We have a block that does the windowing - please look at the Line Buffer block. I believe this will meet your needs.

casi 2 años ago | 0

Answered

F-OFDM filtering for 5G

You are right - this is not a formal part of the 5G standard. You can look at this example to see how F-OFDM behaves vs. OFDM. ...

F-OFDM filtering for 5G

You are right - this is not a formal part of the 5G standard. You can look at this example to see how F-OFDM behaves vs. OFDM. ...

casi 2 años ago | 0

| accepted

Answered

how to plot 8 bit data which is receiving from FPGA by UART?

You can display this via the Logic Analyzer or Time Scope.

how to plot 8 bit data which is receiving from FPGA by UART?

You can display this via the Logic Analyzer or Time Scope.

casi 2 años ago | 0

Answered

Super Sample Rate FIR Resource Utilization

HDL code for the super-sample FIR Filters does optimize for powers of 2, zeros and symmetry. I've attached a simple model which ...

Super Sample Rate FIR Resource Utilization

HDL code for the super-sample FIR Filters does optimize for powers of 2, zeros and symmetry. I've attached a simple model which ...

casi 2 años ago | 0

| accepted

Answered

Implementation of median filter on FPGA

Are you able to generate VHDL (which is the default), or is there an error during HDL code genration? The last section (Generat...

Implementation of median filter on FPGA

Are you able to generate VHDL (which is the default), or is there an error during HDL code genration? The last section (Generat...

alrededor de 2 años ago | 0

Answered

Implementation of median filter on FPGA

Here is a link to an example of how to do this in Simulink.

Implementation of median filter on FPGA

Here is a link to an example of how to do this in Simulink.

alrededor de 2 años ago | 0

| accepted

Answered

converting a vector input to scalar

The Signal From Workspace block should help you get your data into Simulink. https://www.mathworks.com/help/dsp/ref/signalfromw...

converting a vector input to scalar

The Signal From Workspace block should help you get your data into Simulink. https://www.mathworks.com/help/dsp/ref/signalfromw...

alrededor de 2 años ago | 0

Answered

CRC generation in HDL

You can set the CRC polynomial on the block and send in the bits either serially or multiple bits at a time based on your polyno...

CRC generation in HDL

You can set the CRC polynomial on the block and send in the bits either serially or multiple bits at a time based on your polyno...

alrededor de 2 años ago | 0

Answered

How to speed up a Simulink simulation of slow mechanics requiring a fast clock?

There are a wide variety of things you can do. The first thing to try is to run the model in Accelerator or Rapid Accelerator mo...

How to speed up a Simulink simulation of slow mechanics requiring a fast clock?

There are a wide variety of things you can do. The first thing to try is to run the model in Accelerator or Rapid Accelerator mo...

más de 2 años ago | 0

Answered

Cosimulation Wizard and required toolboxes

You need the HDL Verifier product to use the Cosimulation Wizard.

Cosimulation Wizard and required toolboxes

You need the HDL Verifier product to use the Cosimulation Wizard.

más de 2 años ago | 0

Answered

HDL Coder - reducing size of fixed-point variables

The number of bytes taken to store the fixed-point variable in MATLAB does not determine the number of bits in HDL. te number of...

HDL Coder - reducing size of fixed-point variables

The number of bytes taken to store the fixed-point variable in MATLAB does not determine the number of bits in HDL. te number of...

más de 2 años ago | 0

Answered

Generating VHDL code from MATLAB program using HDL generator

Is there a pattern to how x gets its value that you can utilize here? For example, if x is incremented by 1 all the time, or onl...

Generating VHDL code from MATLAB program using HDL generator

Is there a pattern to how x gets its value that you can utilize here? For example, if x is incremented by 1 all the time, or onl...

más de 2 años ago | 0

Answered

"Abnormal exit: Can't find bus object 'pixelcontrol' in the MATLAB workspace" error in HDL Coder

Please try running the command pixelcontrolbus in the MATLAB command line.

"Abnormal exit: Can't find bus object 'pixelcontrol' in the MATLAB workspace" error in HDL Coder

Please try running the command pixelcontrolbus in the MATLAB command line.

más de 2 años ago | 0

| accepted

Answered

Why i do not get a fixed point out from a FFT HDL optimized block in simulink?

I may need the model to do further debugging. In the meantime, I created a simple FFT model in R2018b which seems to do the righ...

Why i do not get a fixed point out from a FFT HDL optimized block in simulink?

I may need the model to do further debugging. In the meantime, I created a simple FFT model in R2018b which seems to do the righ...

más de 2 años ago | 1

| accepted

Answered

Why i do not get a fixed point out from a FFT HDL optimized block in simulink?

Could you double click on the FFT block and send a snapshot of its parameters?

Why i do not get a fixed point out from a FFT HDL optimized block in simulink?

Could you double click on the FFT block and send a snapshot of its parameters?

más de 2 años ago | 0

Answered

HDL Coder doesn't create input for clock signal

Does your MATLAB code have states? You need to have some state in the MATLAB code to have resets and clocks. This is an example...

HDL Coder doesn't create input for clock signal

Does your MATLAB code have states? You need to have some state in the MATLAB code to have resets and clocks. This is an example...

más de 2 años ago | 0

Answered

What values to use for minimum blancking for a pixel streaming interface

Typical video interfaces (240p and higher resolution) will have sufficient blanking, so one way to go is to pick blanking requir...

What values to use for minimum blancking for a pixel streaming interface

Typical video interfaces (240p and higher resolution) will have sufficient blanking, so one way to go is to pick blanking requir...

más de 2 años ago | 0

Answered

VariableSizeFFTHDLExample File Not found

The LTE HDL Toolbox product is required for this example.

VariableSizeFFTHDLExample File Not found

The LTE HDL Toolbox product is required for this example.

más de 2 años ago | 1

| accepted

Answered

How to read an image in a simulink

Please look at the examples in Vision HDL Toolbox to see how to go about doing this. https://www.mathworks.com/help/visionhdl/e...

How to read an image in a simulink

Please look at the examples in Vision HDL Toolbox to see how to go about doing this. https://www.mathworks.com/help/visionhdl/e...

más de 2 años ago | 0

Answered

使用Generate HDL Code from MATLAB Code Using the Command Line Interface时，显示错误使用 codegen

It appears that you need to set up the path to ISE. See teh function hdlsetuptoolpath for information on how to do this.

使用Generate HDL Code from MATLAB Code Using the Command Line Interface时，显示错误使用 codegen

It appears that you need to set up the path to ISE. See teh function hdlsetuptoolpath for information on how to do this.

más de 2 años ago | 0

Answered

Differences in Performance Between Simulink and Matlab FIRs

Attached is a model where I have taken your coefficients and ran them through fitler and the FIR Filter block. The numbers seem ...

Differences in Performance Between Simulink and Matlab FIRs

Attached is a model where I have taken your coefficients and ran them through fitler and the FIR Filter block. The numbers seem ...

casi 3 años ago | 0

Answered

Differences in Performance Between Simulink and Matlab FIRs

Could you please pass along a complete script that runs? I think Fs=30e6 from your comments, but I do not have data defined.

Differences in Performance Between Simulink and Matlab FIRs

Could you please pass along a complete script that runs? I think Fs=30e6 from your comments, but I do not have data defined.

casi 3 años ago | 0

Answered

Differences in Performance Between Simulink and Matlab FIRs

I suggest using the the Discrete FIR Filter block with the coefficients you used for MATLAB. If that works, it is the easiest wa...

Differences in Performance Between Simulink and Matlab FIRs

I suggest using the the Discrete FIR Filter block with the coefficients you used for MATLAB. If that works, it is the easiest wa...

casi 3 años ago | 0

Answered

How to use boolean to control switch with fixed point data.

S1 and S2 when they are assigned to mealy_state_reg likely need to be fixed point. Try using assignements as follows: mealy_st...

How to use boolean to control switch with fixed point data.

S1 and S2 when they are assigned to mealy_state_reg likely need to be fixed point. Try using assignements as follows: mealy_st...

casi 3 años ago | 0

Answered

RTL generation error: Signal rate of value inf found

If you turn on sample time colors in your model, you should be able to see where the inf sample time is being set.

RTL generation error: Signal rate of value inf found

If you turn on sample time colors in your model, you should be able to see where the inf sample time is being set.

casi 3 años ago | 0

Answered

can someone please help about NCO HDL optimized block. How to generate a simple sine wave with it. I am gettting a single straight line as output for what ever phase increment i use. can someone help how to set sampling frequency as well

Attached is a simple NCO which generates a sine wave. Phase increment is set to 4 and accumulator size is 8 bits, so you will se...

can someone please help about NCO HDL optimized block. How to generate a simple sine wave with it. I am gettting a single straight line as output for what ever phase increment i use. can someone help how to set sampling frequency as well

Attached is a simple NCO which generates a sine wave. Phase increment is set to 4 and accumulator size is 8 bits, so you will se...

casi 3 años ago | 0

| accepted