Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21344 Discussions

ufixed to slv conversion

Altera_Forum
Honored Contributor II
1,268 Views

respected sir/mam, 

 

suppose the code is :k :ufixed(3 downto -3); 

l<= to_slv(ufixed(k),7); 

 

can you sir plz tell me this conversion is right ?:cry:
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
556 Views

all you need is: 

 

l <= to_slv(k);
0 Kudos
Reply