Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17254 Discussions

How to sign-extend in Quartus ??

Altera_Forum
Honored Contributor II
2,555 Views

Hi 

 

Guys, i need ur help in Quartus(altera software for designing)... 

 

i want to know how to sign extend bit in quartus?? 

cause i have function that compare between 2 inputes(16bit) and if its less it will give(1) else(zero)... and then it will go the Mux 

 

so, i need to sign extend it from 1 bit to 16 bit... how??? what is the function(name of it) that do this operations??? 

 

thanks alot...
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
1,735 Views

How are you doing your design: schematic, VHDL, verilog? 

 

Why do you need to extend one bit to sixteen bits? From what you've described, your vector is either all ones or all zeroes.
0 Kudos
Reply