Answered
Is it possible to get a conceptual explanation of how the scanning window filter work using the HDL pixel stream interface
The Line Buffer block help page has a brief description of its algorithm. The page also also has an example on how to construct ...

casi 3 años ago | 0

Answered
HDL COSIMULATION is taking too long time
You can use he FIL Frame To Pixels and FIL Pixels To Frame blocks - these send in multiple pixels at at time a line or frame at ...

casi 3 años ago | 0

Answered
FFT on FPGA using HDL coder
You can use the HDL Optimized FFT block for HDL code generation. Can you clarify on what challenges you face for fixed point co...

casi 3 años ago | 0

Answered
How can I create a subsystem which performs the opposite of the Multiport Switch block?
What output do you expect for each of these output signals in HDL? Say you have 10 outputs, your input is 1, and you want to se...

casi 3 años ago | 0

Answered
Estimating the latency of a custom IP block in HDL Coder
One of the ways to do this is by having the computatiobn block emit a valid output signal. based on this signal, the controller ...

casi 3 años ago | 0

Answered
HDL Coder VHDL Output
fix14 implies that there are 14 bits in total. u implies unsigned. En15 indicates that the LSB has a value of 2^-15, with an in...

casi 3 años ago | 0

Answered
How to profile an HDL Subsystem?
If you synthesize your HDL design in the appropriate HDL tool (example: Vivado), you will know what clock speed you can run the ...

casi 3 años ago | 0

| accepted

Answered
how to generate sine wave for fpga?
You can use the self-guided tutorial on HDL Coder to see how to use the tool. The HDL Optimized NCO block in Simulink will allow...

casi 3 años ago | 0

Answered
FPGA-in-the-Loop (FIL) Simulink Block Creation
Does your HDL code handle single datatype pixel input? You may want to try it with the appropriate fixed-point pixel data that t...

casi 3 años ago | 0

Answered
How to plot n bit series of numbers. (n = 16 for example)
You can have a similar display using the dsp.LogicAnalyzer object. Here is the sample code I used: data = fi(rand(100,1),1,16,1...

casi 3 años ago | 0

Answered
Is there any hdl library available for pulse generator. If yes please tell me the link
You can use the NCO HDL Optimized block to generate sine or cosine waves. Other repetitve waveforms can be genrated using a RAM...

alrededor de 3 años ago | 0

Answered
conv2 'valid' implementation
You can use the MATLAB workflow in the example for image filtering.

alrededor de 3 años ago | 0

Answered
conv2 'valid' implementation
If you are looking for conv2 for image filtering, you can use the ImageFilter <https://www.mathworks.com/help/visionhdl/ref/imag...

alrededor de 3 años ago | 0

Answered
Size mismatch using reshape in HDL Coder
Could you try assigning the value to a different variable rather than back to A. Ar = reshape(A,8,8); use Ar in the code bel...

alrededor de 3 años ago | 0

| accepted

Answered
For HDL code generation, the float point to fixed point conversion is ok. Because of "Accounting for output port latency: 10 cycles", the test bench does not agree with the HDL code. How to solve this problem?
It appears that delay balancing cannot balance the delays added because the added delays are in a feedback loop. If you can shar...

alrededor de 3 años ago | 0

Answered
For HDL code generation, the float point to fixed point conversion is ok. Because of "Accounting for output port latency: 10 cycles", the test bench does not agree with the HDL code. How to solve this problem?
The HDL testbench will account for this latency. So generating the HDL code and testbench will let you run the modified testbenc...

alrededor de 3 años ago | 0

| accepted

Answered
Matlab Simulink hardware design - Do we need a third party simulator?
You can run the generated HDL and testbench in the vivido simulator. However, if you want to run HDL cosimulation (that is, runn...

alrededor de 3 años ago | 0

Answered
I want to convert matlab code to verilog for my image processing project using hdl coder, i have the code but i dont know how to divide my code into function and test bench, please help me. I m using matlab r2018a version.
<https://www.mathworks.com/examples/vision-hdl/mw/visionhdl-ex64676005-accelerate-a-pixel-streaming-design-using-matlab-coder He...

alrededor de 3 años ago | 1

| accepted

Answered
Is it possible for Filter Design HDL coder to generate a FIR filter whose sampling rate is higher than clock rate?
This is available with HDL Coder and the FIR block in DSP System Toolbox. Please take a look at this <https://www.mathworks.com...

alrededor de 3 años ago | 1

| accepted

Answered
HDL Sinusiod with phase offset and variable frequency
You may be able to use the <https://www.mathworks.com/help/dsp/ref/ncohdloptimized.html HDL Optimized NCO> to meet your needs.

alrededor de 3 años ago | 0

Answered
Simulink: How to implement an SRRC filter in HDL coder?
You can use <https://www.mathworks.com/products/filterhdl/features.html Filter Design HDL Coder> to implement a Farrow or an FIR...

alrededor de 3 años ago | 0

Answered
Dual Port Ram - Output Port Widths or Dimension Error
Please try putting a signal specification block before each of the RAM inputs. Make sure that each signal specification block ha...

más de 3 años ago | 0

Answered
How to avoid the division operator from hdlcoder?
You can try using the <https://www.mathworks.com/help/simulink/slref/hdlreciprocal.html HDL reciprocal block> followed by a mult...

más de 3 años ago | 0

Answered
HDL NCO: How do I set the fraction length for the phase accumulator?
The accumulator and quantizer do not have fractional bits. You can scale your input phase offset to match the accumulator and qu...

más de 3 años ago | 0

| accepted

Answered
HDL Coder Filter - Latency and Clock rate
I assume that you are sharing resources in the filter implementation leading to the 201x clock requirement. If your design sy...

más de 3 años ago | 0

Answered
Why my Integer Fir on filterbuilder gives me zero coefficients?
Could you post the coefficients (at least the min/max values)? What is your input data type? For implementation onto an FPGA, y...

más de 3 años ago | 0

Answered
HDL Coder Filter - Latency and Clock rate
The latency of 3 samples is not the group delay of the filter. It specified the number of pipeline delays in the data processing...

más de 3 años ago | 0

Answered
HDL workflow Advisor image
This <https://www.mathworks.com/products/vision-hdl.html Vision HDL Toolbox page> shows the capabilities provided for image proc...

más de 3 años ago | 0

Answered
Lane Detection with Zynq-Based Hardware - Pixel-Stream Model
You also need to download the <https://www.mathworks.com/hardware-support/zynq-vision.html Xilinx Zynq Support from Computer Vis...

más de 3 años ago | 0

| accepted

Answered
Generating Verilog for Butterworth IIR lowpass filter, incorrect simulation
Can you try running the HDL code and testbench in ModelSim to see if it passes? If it does, that means that HDL code matches the...

más de 3 años ago | 0

Load more