Questions tagged [integer]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
53 views

STM32F4 PLC Integer Calculation vs Float Calculation

I am using a PLC that use a STM32F4 as its processor. The PLC software has Integer and Float calculation commands. When I working with floating point numbers usually trying to use integer calculations ...
0
votes
0answers
55 views

Simulation with "Integer data type" in vhdl

I need your help to understand operations I can do with integer data type in vhdl. I have implemented a simple example. ...
1
vote
1answer
88 views

My itoa (c++)conversion has a problem

I am receiving a string of data via UART in PIC32, extracting and concatenating two of its bytes, dividing the result by 2, converting the resulting integer to a string and transmitting via i2c to ...
0
votes
1answer
93 views

Subtracter with VHDL

I have this: ...
3
votes
1answer
130 views

VHDL - big difference in schematics between integer with and without range

I just discovered something that I would like some expert to comment on. CODE EXAMPLE A: ...
1
vote
1answer
152 views

VHDL unranged integer input ports bad practice?

I'm designing a customizeable interpolation filter and I'm looking for the best way to pass the coefficients (rather supporting points) to the filter. Below you see the current implementation. ...
1
vote
0answers
198 views

PIC assembly: express integer constant as string at build time

One of my engineers came to me with a question that I can't answer. This is for a project using a PIC16F controller, all written in assembler. He is defining a constant that he wants his program to ...