Submitted

Deep Learning Toolbox Model Quantization Library

Quantize and Compress Deep Learning models

2 months ago | 32 downloads |

Question

FAQ: Why aren't boolean and 1 bit unsigned integers treated as the same data type?

Variables and signals of the boolean data type (called logical in MATLAB) only represent the values 0 and 1. Variables and sign...

2 months ago | 1 answer | 0

Question

Best practices for converting MATLAB code to fixed point

I have tried to use fixed-point data types (i.e. fi) for MATLAB code. Are there any best practices for this process?

3 months ago | 0 answers | 0

Submitted

Fixed-Point Made Easy for FPGA Programming

Material used in the "Fixed-Point Made Easy for FPGA Programming" webinar.

3 months ago | 8 downloads |

Question

Some forms of Simulink logging write 64 bit integers as fi objects. Does that mean I need a Fixed-Point Designer license?

I've observed that some forms of logging in Simulink write integer variables out to MATLAB as fi objects. For example, DSP Bina...

4 months ago | 1 answer | 0

Answered

How can I use custom constraints for fxpopt?

fxpopt workflow allows user to automatically assign fixed-point data types on a system by trying a basic trial and error loop. ...

How can I use custom constraints for fxpopt?

fxpopt workflow allows user to automatically assign fixed-point data types on a system by trying a basic trial and error loop. ...

4 months ago | 0

| accepted

Question

How can I use custom constraints for fxpopt?

I am trying to use fxpopt with custom constraints and I cannot figure out how to do it. I am trying to have optimization be base...

4 months ago | 1 answer | 0

Answered

Why is matlab fixed pint arithmetic so slow?

Hi, There are two aspects to speed that you may be concerned about. The first is the speed of generated code running on your e...

Why is matlab fixed pint arithmetic so slow?

Hi, There are two aspects to speed that you may be concerned about. The first is the speed of generated code running on your e...

5 months ago | 0

Answered

fixed point to the power 0 changes word length

fi's element-wise power a.^b https://www.mathworks.com/help/fixedpoint/ref/embedded.fi.power.html is not designed to give t...

fixed point to the power 0 changes word length

fi's element-wise power a.^b https://www.mathworks.com/help/fixedpoint/ref/embedded.fi.power.html is not designed to give t...

5 months ago | 0

Answered

How do I show the hex or binary representation for an integer or fixed-point signal in Simulink?

Simulink provides two ways to show hex and binary of signals, Display Block, and Simulink Value Display (yellow boxes). To do t...

How do I show the hex or binary representation for an integer or fixed-point signal in Simulink?

Simulink provides two ways to show hex and binary of signals, Display Block, and Simulink Value Display (yellow boxes). To do t...

5 months ago | 0

| accepted

Question

How do I show the hex or binary representation for an integer or fixed-point signal in Simulink?

When designing or debugging integer or fixed-point algorithms, there are many cases where it is helpful for the display of value...

5 months ago | 1 answer | 0

Answered

How do I show the hex or binary representation for an integer or fixed-point variable in MATLAB?

Use of MATLAB's format command and/or Fixed-Point Designer's fipref object can be use to achieve hex display, binary display, or...

How do I show the hex or binary representation for an integer or fixed-point variable in MATLAB?

Use of MATLAB's format command and/or Fixed-Point Designer's fipref object can be use to achieve hex display, binary display, or...

5 months ago | 0

| accepted

Question

How do I show the hex or binary representation for an integer or fixed-point variable in MATLAB?

When designing or debugging integer or fixed-point algorithms, there are many cases where it is helpful for the display of value...

5 months ago | 1 answer | 1

Answered

Internal error in deep neural network quantification?

To avoid a ‘coder.internal.getSupportedLayerTypes’ error on creation of a dlquantizer object, install the ‘GPU Coder Interface ...

Internal error in deep neural network quantification?

To avoid a ‘coder.internal.getSupportedLayerTypes’ error on creation of a dlquantizer object, install the ‘GPU Coder Interface ...

5 months ago | 0

Answered

How can I export ranges from the Fixed-Point Tool to an excel sheet?

Currently (as of 20a) there is no way to automatically export data you see in the spreadsheet. Nevertheless you can use the Comm...

How can I export ranges from the Fixed-Point Tool to an excel sheet?

Currently (as of 20a) there is no way to automatically export data you see in the spreadsheet. Nevertheless you can use the Comm...

8 months ago | 0

| accepted

Question

How can I export ranges from the Fixed-Point Tool to an excel sheet?

I would like to export the range information I see on the spreadsheet of the Fixed-Point Tool to an excel sheet to share with my...

8 months ago | 1 answer | 0

Answered

What does the shared simulation range mean in the Fixed-Point Tool?

The Fixed-Point Tool collects ranges and proposes data types by data type groups rather than individual blocks. A Data type gr...

What does the shared simulation range mean in the Fixed-Point Tool?

The Fixed-Point Tool collects ranges and proposes data types by data type groups rather than individual blocks. A Data type gr...

11 months ago | 0

| accepted

Question

What does the shared simulation range mean in the Fixed-Point Tool?

I am using the Fixed-Point Tool to propose data types and I see that my signal has the specified design range, but it also has a...

11 months ago | 1 answer | 0

Answered

What does this mean and how can I get rid of it ?

Hello, please refer to this answer for more information on what this error means. Could you please add your model and script you...

What does this mean and how can I get rid of it ?

Hello, please refer to this answer for more information on what this error means. Could you please add your model and script you...

1 year ago | 0

Answered

Wrong conversion from double to fixed point

Hello, you can try to use any of the Fixed-Point designer workflows to achieve this task. Please find attached a script that u...

Wrong conversion from double to fixed point

Hello, you can try to use any of the Fixed-Point designer workflows to achieve this task. Please find attached a script that u...

1 year ago | 2

Answered

Where can I find some introductory material for Fixed Point?

The following resources provide a good overview of the basic concepts for you to get started with fixed-point: These resources...

Where can I find some introductory material for Fixed Point?

The following resources provide a good overview of the basic concepts for you to get started with fixed-point: These resources...

1 year ago | 2

| accepted

Question

Where can I find some introductory material for Fixed Point?

Are there some useful resources to get started with fixed-point basic concepts?

1 year ago | 1 answer | 0

Answered

Wrap/Saturate on overflow

I think it’s important to understand if these overflows are a concern in the context of the numerical behavior of your control a...

Wrap/Saturate on overflow

I think it’s important to understand if these overflows are a concern in the context of the numerical behavior of your control a...

1 year ago | 4

Answered

How to use derived ranges for gain and constant blocks using derive range analysis?

In this scenario, your parameter is not considered as tunable and therefore treated as an invariant constant. So the design rang...

How to use derived ranges for gain and constant blocks using derive range analysis?

In this scenario, your parameter is not considered as tunable and therefore treated as an invariant constant. So the design rang...

1 year ago | 2

| accepted

Question

How to use derived ranges for gain and constant blocks using derive range analysis?

I am trying to use derived range analysis and I am specifying design min, max for the gain block parameter as shown in the model...

1 year ago | 1 answer | 0

Answered

Why do I get this error when I am using fxpopt for fixed-point Optimization: Inconsistent numeric values for port 1 ...

This happens when your model simulation violates your design ranges (min, max specifications). Fxpopt throws this error, as it c...

Why do I get this error when I am using fxpopt for fixed-point Optimization: Inconsistent numeric values for port 1 ...

This happens when your model simulation violates your design ranges (min, max specifications). Fxpopt throws this error, as it c...

1 year ago | 2

| accepted

Question

Why do I get this error when I am using fxpopt for fixed-point Optimization: Inconsistent numeric values for port 1 ...

Why do I get this error: Inconsistent numeric values for port 1 of 'mDesignRange/output_signal': Output value (24.7745429376543...

1 year ago | 1 answer | 0

Answered

in this example ''Convert Neural Network Algorithms to Fixed-Point using fxpopt and Generate HDL Code'',how can i get 'xarr' and 'yarr'

The variables xarr and yarr are specified in the model worskpace. Please refer to the following documentation to learn more abou...

in this example ''Convert Neural Network Algorithms to Fixed-Point using fxpopt and Generate HDL Code'',how can i get 'xarr' and 'yarr'

The variables xarr and yarr are specified in the model worskpace. Please refer to the following documentation to learn more abou...

1 year ago | 0

| accepted

Submitted

Reducing memory footprint of Lookup tables in your design

Optimize Lookup tables to reduce memory

2 years ago | 2 downloads |

Submitted

Image classification on an ARM Cortex M Microcontroller

Prototyping and Deploying a neural network for image classification using MNIST data on an ARM Cortex M Microcontroller

2 years ago | 2 downloads |