first steps to RTL (not working, debug msg)
still working....
implement qunatize as near RTL (need to change signals)