VDHL sfixed decoding code does not work properly
问题 I am using David bishop's fixed point library to do some math in vhdl. and i need to decode the final value into integers. the method i have followed as below, and i do get fine value for fractional part but the decimal value is not correct. i could not find the issue yet. in decimal part 1st two digits are wrong. xx 8374.839923 xx numbers are wrong always. when i perform this, i get 2 74334.738295 for 1 74334.738295 inside architecture, inside process i do declare these variables, variable