Adjust bit offsets, improve accuracy from 1.34601 to 0.752564

This commit is contained in:
Aadi Desai 2023-05-30 12:31:53 +01:00
parent ef78c48a8a
commit 8d276e71a4
No known key found for this signature in database

View file

@ -13,8 +13,8 @@ always_comb reverse = i_saw[14];
logic [15:0] qsaw;
always_comb qsaw = reverse
? {~i_saw[13:0], 2'b01} // Reverse
: {i_saw[13:0], 2'b00}; // Normal
? {~i_saw[13:0], 2'b11} // Reverse
: {i_saw[13:0], 2'b01}; // Normal
logic [15:0] qsin;
cordic cordic