Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. kofeyok

    confused with types

    Using XOR gate would help to decide on the sign of the operators. Then, depending on the sign, I would have to cast it properly or just translate negative numbers into positive by flipping the bits and adding one. After that, do multiplication of positive #s and change the result into 2's...
  2. kofeyok

    confused with types

    Thanks for the answer Kriki, I think your approach will work. The only thing to figure out now is the multiplication I have to do with 'signed' numbers. I guess an IF statement which checks whether one or both numbers are negative should be introduced to decide whether the answer is negative...
  3. kofeyok

    confused with types

    Hi everyone, I am fairly new to VHDL and had several questions about types conversions that I've numbered for easiness of separating them. Any help would be greatly appreciated. I am using signed type throughout my program. Now, there is one third party function that outputs std_logic_vector...

Part and Inventory Search

Back
Top