Search Engine **www.edaboard.com**

49 Threads found on edaboard.com: **Arithmetic Operations**

They are general purpose registers . All **arithmetic** and logic **operations** operate on those registers;
you can use them as source or destination of instructions without saving to and loading from RAM
different from accumulator , because in accumulator based architecture the output of ALU always saved on a single register

Microcontrollers :: 11-09-2016 06:13 :: hamidmoallemi :: Replies: **5** :: Views: **677**

Hi,
I need help regarding fixed point **arithmetic** **operations**,
There are two numbers one is of 24 bits in this 1 bit for sign and 13 bits for integer and 10 bits for fractional part.The second number is 16 bits in which 1 bit for sign and 15 bits for fractional part.
when i multiply both numbers i will get 39 bits (N1 + N2-1) then i have to add

PLD, SPLD, GAL, CPLD, FPGA Design :: 04-27-2016 05:07 :: kommu4946 :: Replies: **2** :: Views: **2244**

Logic is same as assembly language or is there any other formula that i will use and my work is easy?
It's much easier that writing assembler, **arithmetic** **operations** and I/O format conversions can be performed by C-compiler libraries. For the latter, you should read the compiler documentation.

Microcontrollers :: 12-12-2015 09:44 :: FvM :: Replies: **106** :: Views: **7293**

How to design a Calculator in VHDL for **arithmetic** **operations** to be displayed on LCD ? **arithmetic** **operations** include Add,compare,AND,OR . Also,input of calculator is from linear feedback shift register? How many components will be needed in design?

ASIC Design Methodologies and Tools (Digital) :: 11-18-2015 06:52 :: angel15 :: Replies: **1** :: Views: **645**

reg0 <= (0001*x,0011*x,0101*x,0111*x,1001*x,1011*x,1101*x,1111*x);
All signals involved in the **arithmetic** **operations** should have unsigned type, otherwise type casts are necessary. The array type of reg0 should be defined respectively.
0001 etc. aren't valid unsigned literals.

PLD, SPLD, GAL, CPLD, FPGA Design :: 06-21-2015 08:02 :: FvM :: Replies: **5** :: Views: **381**

std_logic_vector isn't a numeric data type. No **arithmetic** **operations** defined for it. You can use unsigned type instead Or use the non-IEEE library std_**arithmetic**_unsigned. Or apply type casts like
y<= std_logic_vector(unsigned(not(a)) + unsigned("00000001"));

Analog Circuit Design :: 06-13-2015 10:12 :: FvM :: Replies: **1** :: Views: **475**

Hello,
1.When multiplying 2 unsigned vectors in VHDL, must they be at the same it legal to multiply an unsigned vector with an integer? Or both operands must be of the same type?

PLD, SPLD, GAL, CPLD, FPGA Design :: 11-13-2014 22:09 :: shaiko :: Replies: **14** :: Views: **1238**

Hi,
I am using Synopsys DC for synthesizing Verilog code to gate level netlist . I have designed a customized adder and I want it to be used where there is addition in my functional Verilog code, e.g.,
wire a,b,c;
assign a = b + c;
Right now, it seems DC uses DW library by default. How to make synthesis library out of my

ASIC Design Methodologies and Tools (Digital) :: 10-31-2014 20:37 :: Ebrahim Songhori :: Replies: **3** :: Views: **855**

Hi Friends,
how to swap two variables without using third variable without **arithmetic** **operations** and without bitwise operator. thanks for helping me.

PC Programming and Interfacing :: 07-28-2014 12:36 :: nthulasiram :: Replies: **3** :: Views: **951**

I have written a verilog file that implements some **arithmetic** **operations**, I defined my signals as wire signed or reg signed. when I simulate that on isim simulator it does the operation as specified, with signed **arithmetic**. but when I simulate the same file in modelsim it behaves as if the signals are unsigned!
I have t

ASIC Design Methodologies and Tools (Digital) :: 05-23-2014 21:04 :: 3wais :: Replies: **1** :: Views: **748**

interrupt service functions would in addition to the Program Counter and status register (results of **arithmetic** **operations** such as overflow, negative result, etc) would also save any other registers which may be used in the function. This may be automatic, e.g. in C, or under the programmers control, e.g. in assembly language.
These would then be

Microcontrollers :: 05-03-2014 11:18 :: horace1 :: Replies: **4** :: Views: **698**

Explain what you are trying to do. It looks like you are trying to extend the contents of the array by filling it in with the contents of another array, that isn't adding which implies **arithmetic** **operations**, it's concatenaton.
You might be able to overlay the second array after the first by creating a union the size of the resulting array and enc

Microcontrollers :: 12-09-2013 09:48 :: betwixt :: Replies: **6** :: Views: **504**

I'm still relatively new to VHDL and I'm having trouble working out how to implement trigonometric functions.
I need to implement the following function in VHDL to determine the angle from an inclinometer, and any advice on how to do this would be much appreciated.
alpha = arcsin( (Vout-Offset)/0.035 )
[/

PLD, SPLD, GAL, CPLD, FPGA Design :: 03-08-2013 10:26 :: kureigu :: Replies: **19** :: Views: **2494**

Dear All I have made a simple calculator using pic16F877A in Mikroc. Now I want to improve it. I want to do **operations** on string instead of single single digit. Like 220*450, 556+778 etc.
earlier its is just for single digit like 4+8, 9-4 etc.
pls help me in this regard and Also I want to make functions of **arithmetic** **operations**. Do help (...)

Microcontrollers :: 02-11-2013 07:11 :: tak_iiec@yahoo.com :: Replies: **2** :: Views: **3716**

The 8 bit processors only operate on bytes. Unless you have a processor that can operate on pairs of bytes (some can do 16 bit **arithmetic**) you must manipulate larger numbers yourself.
Keith

Microcontrollers :: 11-24-2012 03:24 :: keith1200rs :: Replies: **2** :: Views: **545**

Hello Dear
I want to use some **arithmetic** **operations** such as (+,_,*) in my design. The design is fix point. Could you please tell me, If I use (+,_,*) symbols in my vhdl code, is it synthesize correctly or not? Or I need to design the units ( n_bit full adder, for instance) then write the code structurally. ( consider it that, I don't start to cod

PLD, SPLD, GAL, CPLD, FPGA Design :: 09-08-2012 20:12 :: sheikh :: Replies: **6** :: Views: **801**

The following are some tutorials covering Fixed Point **arithmetic**:
Fixed-point math in C
Fixed-Point **arithmetic**: An

Digital Signal Processing :: 07-18-2012 22:12 :: bigdogguru :: Replies: **3** :: Views: **1788**

I need to perform
Vout= 0.5 V1 + 0.6 V2 + 0.9V3 - 0.8 V4 -0.9 V5
I know that I have to use superposition.I can easily solve those negative terms simply by assuming Rf and then finding out R1,.. to be connected to the negative terminal of op-amp. But for finding out the positive terms I have many equations and I think I have to solve three

Analog Circuit Design :: 04-27-2012 13:16 :: iVenky :: Replies: **9** :: Views: **1941**

I have made a program for PI controller and the excerpts are as follows-
v1<= v_prev + (k1*iq_error)+(k2*f_prev1)+(k3*f_prev2);
All the variables are std logic vector ( 7 downto 0)
but there is an error in execution of this code-
* can not have such operands in this context.
I have also included IEEE.NUMERIC_STD.ALL; but still error persis

PLD, SPLD, GAL, CPLD, FPGA Design :: 04-20-2012 18:50 :: mohit1108 :: Replies: **2** :: Views: **989**

I want to design a processor that one part of which should be like this
W(k)=Pre_W(k)-3*W(k-1)
pre_W(k)=∑x1(i)^3 i=0 to 7
and my **arithmetic** **operations** are all floating point so i should port map them which i cant use process , to perform this I write the code below s74:multiplier port map (a =>z1(i),

PLD, SPLD, GAL, CPLD, FPGA Design :: 04-06-2012 11:21 :: masoud.malekzadeh :: Replies: **2** :: Views: **534**

Last searching phrases:

waffle | pspice libraries | wien bridge | 8051 development board | charge pump ldo | three stage amplifier | solar cell battery | infrared temperature sensor | cadence pspice | microblaze and edk

waffle | pspice libraries | wien bridge | 8051 development board | charge pump ldo | three stage amplifier | solar cell battery | infrared temperature sensor | cadence pspice | microblaze and edk