Answered
How to integrate existing HDL code with Simulink model?
HDL Coder natively supports integrating external HDL code into HDL Coder designs via its BlackBox architecture, available on bot...

11 years ago | 0

Answered
In the hdldemolib, on using the FFT streaming block, I get an error as given below
The error message seems pretty clear: it's stating that the HDL Streaming FFT block requires one of a class of certain data type...

11 years ago | 1

| accepted

Answered
How to generate HDL code using hdl coder for a model having universal bridge?
You do have a couple options here. In general if you want to use an unsupported block, you will need to find another way to mod...

11 years ago | 0

Answered
What is the difference between wr_dout and r_dout ports of a Dual-port RAM in the hdldemolib? Please give a detailed explanation (if possible with an example)
This is straightforward. The Dual Port RAM has two address inputs; wr_addr and rd_addr. wr_dout is the contents of the address w...

11 years ago | 1

| accepted

Answered
Where do I find the Dual Port RAM block in Matlab 2011b as in the link provided in the description of the question?
You can find the Simple Dual Port RAM in MATLAB R2011b in at least two simple ways. # Type 'hdldemolib' at the MATLAB prompt ...

11 years ago | 1

| accepted

Answered
How to generate HDL code for 2-D matrices
You are correct that HDL Coder does not support matrix multiplication directly. You can always decompose the matrix multiplicati...

11 years ago | 1

| accepted

Answered
question about HDL Coder
The short answer is "yes". This is normal, expected, and desired. I assume that by 'test bench' you are referring to the por...

11 years ago | 1

Answered
Error during HDL code conversion using HDLWorkFlow Advisor
This issue has been fixed in R2014a and newer releases. For earlier releases you will need to break the library link and manuall...

11 years ago | 0

| accepted

Answered
Check Block Compatibiity Error
HDL Coder only supports division for fixed-point numbers, not for doubles. Fixed point numbers are denoted by specifying a word ...

11 years ago | 0

| accepted

Answered
HDL Coder: 'RecipNewton for Product is not supported'
You can only use RecipNewton for a reciprocal, not a divide. Set the block to have inputs '/', and follow the output with a sepa...

11 years ago | 0

Answered
modulator FM from matlab to vhdl
You will need to update your modeling mindset from simulation to that needed for creating digital hardware. Digital hardware op...

11 years ago | 0

| accepted

Answered
Is JK FF in MATLAB (Simulink extras) can be converted to HDL code?
The J-K Flip Flop is not supported by HDL Coder for HDL code generation. HDL Coder does not support any blocks (such as the J-K ...

11 years ago | 0

| accepted

Answered
Data type conversion out of matlab function block with HDL Coder
The error message is saying in essence that |uint16| is different from |fixdt(0, 16, 0)| , which it is. Do you have |uint16| dat...

11 years ago | 0

Answered
i want to generate VHDL code from a simulink model using hdl coder but whenever i want to run the hdl path tool on my command window in matlab i got undefined function
Your problems stem from the use of a fairly old version of MATLAB. R2010b is 7 releases old, and many features have been added o...

11 years ago | 0

Answered
How to solve "unsupported unbounded loop structure" error when generate hdl code from stateflow
How many times is your loop going to execute? If you can't answer that by examining the state chart (and you can't), then the lo...

11 years ago | 0

Answered
HDL Coder Ports have Inf rate
The specified port has in infinite rate; this means that it is probably driven by a constant block that has an inf rate. When ra...

11 years ago | 0

Answered
bus expansion subsystem block and HDL coder
The good news: this construction is fully supported in R2014a, where HDL Coder has had substantial improvements in its bus suppo...

11 years ago | 0

| accepted

Answered
How do I extract a single bit from signed signals in Simulink? (with no run time warnings and no HDL coder hardware cost)
Take a look at the "Bit Slice" block in the HDL Operations category of the HDL library. This block should accomplish what you a...

11 years ago | 0

| accepted

Answered
how can i cnvert a simulink model to hdl code??
Trigger ports are supported in HDL Coder with some limitations, all of which are in the documentation. To access this documentat...

11 years ago | 0

| accepted

Answered
Does HDL coder supports electrical blocks(tool boxes like power system,power electronics etc) to convert in to VHDL code? Please let me know which tool boxes it supports.
HDL Coder does not support any of the blocks you mention. To see what blocks are supported in your installation, run the comman...

11 years ago | 0

Answered
Failed Generated HDL code, testbench.
HDL Coder supports generating code from a Simulink design in a few different ways. It can either generate code for a specified s...

11 years ago | 3

| accepted

Answered
M function converted into a VHDL with coder (Matlab R2012a)
MATLAB code is untimed code. It has no concept of time, and thus has no need to create or refer to a clocking signal within it. ...

11 years ago | 0

| accepted

Answered
Control Implementation Simulation Details
The general approach is that you partition your Simulink design into two parts; the design itself and the testbench driving it. ...

11 years ago | 0

| accepted

Answered
Warning: HDLCoder can not find a valid sample time for the model.
Digital hardware is best modeled in Simulink using the Fixed-step Discrete solver. This warning is informing you that a) you ar...

11 years ago | 1

| accepted

Answered
hdl coder synchronism problem
Can you register your inputs our outputs (or both)? HDL Coder supports this via its subsystem pipelining capability; this can be...

11 years ago | 1

| accepted

Answered
how to set M function input argument to logical?
If you are using a testbench, make sure the testbench is feeding the DUT with inputs of type logical. HDL Coder should use these...

11 years ago | 1

| accepted

Answered
how to convert matlab code to HDL code
The tool you are looking for is HDL Coder. You can use MATLAB's |ver| command to see if you have HDL Coder installed. If you do...

11 years ago | 0

Answered
HDL coder tutorial, !which ISE not recognized
The 'which' command is not part of a basic Windows install. It's a Unix utility that is frequently available on Windows through ...

11 years ago | 0

| accepted

Answered
How can I convert my Matlab code into Hdl code?
The tool your are looking for is HDL Coder. HDL Coder can convert your floating-point untimed MATLAB code in to clocked, fixed-...

11 years ago | 0

Answered
I wanted to use hdl code generation to convert matlab files to verilog but it doesnt work. I perform the examples in the web but it gives always the same error. I've installed SDK 7.1 before-after same error occured at fixed point conv. step.
HDL Coder requires a C compiler in order to build MEX objects. The error message is reporting that you have not configured one f...

12 years ago | 0

| accepted

Load more