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.

the outputs of dds_compiler and fir compiler are signed?

Status
Not open for further replies.

fena

Newbie level 3
Joined
Nov 24, 2009
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
turkey
Activity points
1,349
hi to all! I am using Xilinx ise 11.1 and its cores. my first question is: are the outputs of the dds_compiler and fir compiler signed? I couldn't find relative information on them. For fir, my coefficents are signed. does the output type depend on the type of the input?
also, if they are signed, what is the best way to convert them to unsigned (I mean, storing in a std_logic_vector in an unsigned way) by using only those classes:
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;

a final question, if i store the output of dds_compiler in a std_logic_vector and add it 127 (integer) and then convert it back to std_logic_vector, will it also work for this convertion? (data is 8 bit)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top