FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6472 Discussions

Unable to generate output for 32bit real and imaginary data in hardware implementation for Agilex 7

Vandana_GS
Beginner
2,937 Views

Hi, 

I'm trying to do the hardware Implementation for a complex code containing real and imaginary 32 bits. I have two LED PIN options in the agilex board: Terasic Agilex SOM Module FPGA: Agilex AGFB014R24B2E2V . Is it necessary to assign the output LED Pins or any other alternative option is there to assign the pins. In the Questa simulation output is generated correctly. but while performing hardware implementation the output is not matching.

1. The error is appearing in the MSB four bits. Below is the simulated output:
 
Vandana_GS_1-1729078288157.png

 

2. Below is the hardware-implemented output as seen in signal tap analyzer:

Vandana_GS_2-1729078381848.png
Could you please suggest how we can proceed further?
 
Thanks & Regards
Vandana G S
Labels (1)
0 Kudos
1 Solution
12 Replies
sstrell
Honored Contributor III
2,899 Views

Without seeing any code of what the design is trying to do, there's really no way to help here.

And can you clarify/highlight what is wrong with the Signal Tap output vs. the simulation?

0 Kudos
Vandana_GS
Beginner
2,868 Views

Hi,

 

Thank you for the response. I will not be able to share the design file in the community. During the simulation the outputs are generated correctly  as expected.

Simulaton output matches the following requirement:

32'h5A:begin treal=32'h0; timag=32'h3F800000;end//90 degree
32'h10E:begin treal=32'h0; timag=32'hBF800000;end//270degree
32'h168:begin treal=32'h3F800000; timag=32'h0;end//360 degree
32'h21C:begin treal=32'hBF800000; timag=32'h0;end//540 degree
32'h32A:begin treal=32'h0; timag=32'h3F800000;end//810 degree

In the hardware implementation imaginary values are appearing correctly but real values are incorrect i.e., 3F800000 is replaced by 1F800000 and BF800000 is replaced by 5F800000. The problem is appearing in the MSB of the real data.

The pin planner used for  the design is provided in the txt file attached along with the post.

Thank you,

Vandana

 

 

0 Kudos
sstrell
Honored Contributor III
2,836 Views

This doesn't really help.  Without seeing code, there is no way to understand why bits are getting flipped when you don't expect it.  I/O pin selection doesn't really matter here.

0 Kudos
Vandana_GS
Beginner
2,792 Views

Hi,

Please find the attached code.

Thank you

0 Kudos
FvM
Honored Contributor II
2,776 Views

Hi,
I run the code on Cyclone 10LP test board (Trenz CYC1000) and get same result as in simulation. Recorded with 12 MHz clk and Power-Up Trigger. There might a timing problem in your hardware test.

FvM_0-1729333501156.png

 

0 Kudos
Vandana_GS
Beginner
2,771 Views

Hi,

As I am new to hardware programming could you please explain in detail. What could be the timing problem? Our FPGA has frequency clock of 50MHz.

Thank you

Vandana 

0 Kudos
FvM
Honored Contributor II
2,715 Views

Hi,
does the design pass timing analysis?

0 Kudos
Vandana_GS
Beginner
2,686 Views

Hi,

Yes. it has passed timing analysis

 

Thank you

Vandana G S

0 Kudos
FvM
Honored Contributor II
2,634 Views

Hi,
It's not clear how your signaltap is trigerred and which acquisition is used. May be data are simply sampled at the wrong time.

0 Kudos
Vandana_GS
Beginner
2,514 Views

Hi,

Since I am beginner using Quartus Prime software. please explain the procedure to signal tap trigger and performing acqusition. This will help in properly excuting the hardware implementation.

 

Thank you

Vandana 

0 Kudos
RichardTanSY_Altera
2,216 Views

Thank you for acknowledging the solution provided.


Now, I will transitioning this thread to community support. If you have any further questions or concerns, please don't hesitate to reach out. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support.

The community users will be able to help you on your follow-up questions.

 

Thank you and have a great day!

 

Best Regards,

Richard Tan


0 Kudos
Reply