Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by particleynamics

  1. P

    Addition of a signed and an unsigned number

    but y isn't it working here.. am doing my project work on this xilinx and I have to link a fpga to it.. how to get correct output here?? :(
  2. P

    Addition of a signed and an unsigned number

    i manually assign random values in the testbench.. don't hv a program for it...
  3. P

    Addition of a signed and an unsigned number

    Dave_59 am using XILINX... n the code goes as follows .. Pls helpme.. module adder(result,operand1,operand2); input signed [31:0]operand1; input [15:0]operand2; output signed [31:0]result; reg signed [31:0] result; always @(operand1,operand2) begin result = operand2 + operand1; end endmodule
  4. P

    Addition of a signed and an unsigned number

    n how to do that?? can u help me with a code??
  5. P

    Addition of a signed and an unsigned number

    I tried the code given.. It is just adding the two giving a negative sign.. Can u pls solve this?? It has been so many days and u people couldn't solve 1 problem!! ---------- Post added at 17:21 ---------- Previous post was at 17:20 ---------- It should add or subtract depending upon the sign...
  6. P

    Addition of a signed and an unsigned number

    our unsigned number is 16 bits in range (it is nvr never going to have a negative value) while the other number is signed n of 30 bits in length.. we want to add or subtract depending on the sign of the signed number.. Can u please write a code on how to do it?? thanx fr d help :)
  7. P

    Addition of a signed and an unsigned number

    This is the snapshot I am getting.. I want the results as -10, 0 etc etc..
  8. P

    Addition of a signed and an unsigned number

    actually I on't want the output in the form of 32758 for -10 as output , I want it as -10 if I have done 20-30. How to implement this?? thanx fr ur responses.. plz hlp me solve this problms. I will attach test bench if u want.
  9. P

    Addition of a signed and an unsigned number

    I meant I hv to add a signe number with an unsigned.. for example 20 + 10, 20 + (-10), 20 + (-30) Basically an adder subtractor block where 1 input is signed and the othe unsigned. How do I do it??
  10. P

    Addition of a signed and an unsigned number

    I am trying to add a signed and an unsigned number in verilog. Can someone tell me how to?? Am not able to do.. :(

Part and Inventory Search

Back
Top