# I'm trying to implement a method used by Mr. Jeff Miller in a Matlab training session entitled "Fixed Point Made Easy," and had a question regarding his use of look-up tables

조회 수: 1 (최근 30일)
Michael Kussmaul . 2023년 8월 8일
댓글: Michael Kussmaul . 2023년 8월 9일
My question is regarding the splitting of the sfix18 angle value into two numbers, one composed of the upper 9 bits the other composed of the lower 9 bits. Isn't the LUT_HIGH for angles =>pi, and the LUT_LOW for angles <pi so that only one LUT is being used at a time? I was also wondering what the workings of the HDL_Complex_Multiplier would look like. Thank you for your attention to my question.
Sincerely, Michael

댓글을 달려면 로그인하십시오.

### 채택된 답변

Kiran Kintali 2023년 8월 8일
편집: Kiran Kintali 님. 2023년 8월 8일
Can you share the training material and models you are referring to?
Looking at the picture you attached the two LUTs are not two sets of angles but upper and lower bits of the angle input.
You may find attached models helpful.
##### 댓글 수: 1이전 댓글 -1개 표시이전 댓글 -1개 숨기기
Michael Kussmaul 2023년 8월 9일
Here's the link to Mr. Miller's presentation: Fixed-Point Made Easy for FPGA Programming - YouTube. Here's the link to the materials in the presentation: https://bit.ly/378BEy3. You're right about the angles. I was thinking that the lower LUT would have sine values relating to angles of 0 to pi and the upper LUT would have values relating to angles of >pi to 2*pi. The angle though only has a single value at a time and would seem to only use one LUT for each clock cycle. Thanks very much for your response to my inquiry.

댓글을 달려면 로그인하십시오.

### 카테고리

Help CenterFile Exchange에서 Array and Matrix Mathematics에 대해 자세히 알아보기

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by