Community Profile

photo

Tim McBrayer

MathWorks

Active since 2011

Followers: 0   Following: 0

Software developer for MathWorks working on HDL Coder.

Statistics

  • Thankful Level 1
  • 24 Month Streak
  • Pro
  • Revival Level 2
  • Knowledgeable Level 5
  • First Answer

View badges

Feeds

View by

Answered
Import verilog o vhdl in simulink
You can integrate your HDL code with a Simulink design during HDL code generation. There is no way to import the logic in to Sim...

nästan 6 år ago | 0

Answered
Do not generate a seperate module for the subsystem when Generating HDL code
Yes, this is a native capability of HDL Coder. Each subsystem has a HDL Block property named "FlattenHierarchy" that can be eith...

ungefär 6 år ago | 1

| accepted

Answered
Using Reference Model for HDL code Generation
Mark each instance of the subsystem as atomic. When marked atomic, it will generate only one output file for all instances. ...

ungefär 6 år ago | 1

Answered
buffer block inside enabled subsystem
As the error message states, all ports of an enabled subsystem must be the same rate, for HDL code generation. From your image I...

ungefär 6 år ago | 0

Answered
hdl code generation for function block
Are you attempting to process single data types with your MATLAB Function block? This isn't supported by HDL Coder. In addition,...

ungefär 6 år ago | 0

Answered
i want to convert the following matlab code to verilog code using sysgen. i am new to sysgen.For that what is the procedure to do?
By "sysgen", I am assuming that you are referring to <https://www.xilinx.com/products/design-tools/vivado/integration/sysgen.htm...

ungefär 6 år ago | 0

Answered
Issue unexpected output from hdlcoder
This looks like an issue with your data types. Note that your output Verilog code has the output being a 4-bit value. You don't ...

ungefär 6 år ago | 2

Answered
HDL Code Generation 2D-matrices
The only current way to do this is by implementing your own matrix multiplication. You will need 200000 * 4 * 4 = 3200000 multip...

ungefär 6 år ago | 0

Answered
error in hdl code
The error is that you do not have a license for the lte_toolbox. You need to do one of the following: If you do have a licens...

ungefär 6 år ago | 0

Answered
HDL code generation error.
You can place your enabled subsystem inside another subsystem. This should allow you to generate DHL code for the design.

mer än 6 år ago | 0

Answered
How to share multipliers while generating VHDL code in HDL Coder
The sharing factor is available on each Subsystem as a HDL Block property, and is applied to all sharable content contained unde...

mer än 6 år ago | 0

| accepted

Answered
Generate HDL code from SVM function in Matlab.
The R2016a list of built-in MATLAB functions supported for HDL code generation can be found at <https://www.mathworks.com/help/r...

mer än 6 år ago | 0

Answered
generation matlab to VHDL
I'm not sure you want to be attempting to perform HLS on HDL source code. HLS is normally a C/C++ based flow, not an HDL flow. I...

mer än 6 år ago | 0

| accepted

Answered
Using Unit Delays in triggered Subsystems for HDL Codegeneration
This should work fine, and does in a small test I just tried. Can you open a customer support case so that this may be further i...

mer än 6 år ago | 0

Answered
Generate HDL code from simulink
There is no ability in HDL Coder to import .scs or .ckt files.

mer än 6 år ago | 0

Answered
how can i convert inbuilt functions of matlab like svd in vhdl language.
The list of MATLAB functions supported for HDL Code generation are in the documentation. The R2017a list is at http://www.mathwo...

mer än 6 år ago | 0

Answered
Generating HDL code for look up table
The short answer is no, HDL Coder cannot do this. This is because you are asking for hardware to look up two values at the same ...

nästan 7 år ago | 0

| accepted

Answered
CLK_Enable HDL coder
I understand your confusion; the wording of this message should more properly refer to 'clk', and not 'clk_enable'. Your desi...

nästan 7 år ago | 0

Answered
makehdl like functionality for MATLAB Algorithm HDL generation
Native Floating Point code generation support was introduced in HDL Coder in R2017a for Simulink models. To instantiate a |floor...

nästan 7 år ago | 0

Answered
HDL Coder Clock Summary Explanation
The clock report is primarily intended to show the relationship between the various signal rates. As you have noted, these times...

nästan 7 år ago | 0

Answered
Can I convert .vhdl handwrt into .m or directly to sim block?
The only currently available capability for combining HDL and Simulink is to use HDL Verifier to co-simulate your HDL in ModelSi...

nästan 7 år ago | 0

Answered
Best way to do a dynamic bit slice?
Simulink has limited bit-manipulation capabilities; it's designed to address a higher level of abstraction, for the most part. T...

ungefär 7 år ago | 0

| accepted

Answered
please help sir !!! how can i fix that the HDL check report errors
HDL Coder does not support matrices for code generation. You will need to convert your frame-based design into a pixel-based des...

ungefär 7 år ago | 0

Answered
HDL Coder reset control
Andrew, There is a block-level parameter that allows the reset to be disabled on a block by block basis. You can access this...

ungefär 7 år ago | 3

| accepted

Answered
is there a way to work with enabled subsystems when generating hdl code?
What is the data type of the Simulink signal feeding into the Enable port? It must be a scalar and either a |boolean| or a |ufix...

ungefär 7 år ago | 0

Answered
Conversion of GMM in MATLAB Code to VHDL using HDL Coder
You mention Simulink, but then discuss generating code from MATLAB if I understand correctly. I will answer as if you are genera...

ungefär 7 år ago | 1

Answered
how can i implement sobel edge detector using Simulink on FPGA?
The simplest answer is that you need the HDL Coder product in order to generate HDL code from a Simulink model. The links that W...

ungefär 7 år ago | 0

Answered
Hi, I'm trying to generate a VHDL code from Hdl coder. My function file is like below.
You will need to use some other method of informing your loop when to stop iterating. Hardware designs require fixed sizes for b...

ungefär 7 år ago | 0

| accepted

Answered
HDL Coder, Bus and Black Box
HDL Coder gained bus support for black box HDL architectures in R2015b. Is there a chance you can update your MATLAB release? ...

mer än 7 år ago | 0

| accepted

Answered
i get the error when i m trying to generate the hdl code for a matlab program by hdl coder... the error is 'In emlhdlcoder.WorkFlow.Manager/wfa_generateCode (line 627)'... help me to solve this error.. thanks in advance..
It's hard to say what your immediate problem is with no error message listed, but I strongly suspect that you are using function...

mer än 7 år ago | 0

| accepted

Load more