edwar-vhd / SFU-Piecewise-Polynomial-Approximation

Special Function Units (SFUs) are hardware accelerators, their implementation helps improve the performance of GPUs to process some of the most complex operations. This SFU implements the Piecewise Polynomial Approximation, which provides high performance, low area costs and good accuracy for real implementation of hardware.
6 stars 1 forks source link

What does (31 to 16 => a_in(15)) mean? #5

Open dalxung opened 1 year ago

dalxung commented 1 year ago

in convert_int_int.vhd When "100" => a_tmp := (31 to 16 => a_in(15)) & a_in(15 to 0); There is a syntax. Are both the source and destination of (31 downto 16 => a_in(15)) a_in and assign the source bit string range from 31 to 16 to the 15th position of the target bit string? Can you fit 16 bits into 1 bit space? Isn't that incorrect syntax?

divadnauj-GB commented 1 month ago

I do not think this question belongs to this repository, we do not have any design file called "convert_int_int.vhd" in this specific repository