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

HPS(Hard Process system) generate Verilog for Simulation

yu1987-08-22
Beginner
3,131 Views

Hi All,

 

 Generate Verilog for Simulation of HPS, But S2F_DATA_WIDTH always 0, mismatch with Setting of HPS. Why or How to solve this mismatch. Thanks

 

Please see the following picture.

yu19870822_0-1677660808696.jpeg

yu19870822_1-1677660815291.jpeg

 

 

0 Kudos
36 Replies
sstrell
Honored Contributor III
2,253 Views

You should be looking for H2F, not S2F, as the port to connect to.  Can you show more of the parameter settings and code?

Not sure what device you are using, but "S" I think is the connection to the hardened SDRAM controller in Cyclone V and Arria V SoC (it's been a while since I've looked at them).

0 Kudos
yu1987-08-22
Beginner
2,241 Views

Hi,

 

 The parameter setting as following picture.

yu19870822_0-1677716385483.png

 

Code:

yu19870822_2-1677716506941.png

 

 

Simulation Report Error:

 

yu19870822_1-1677716432244.png

 

0 Kudos
EBERLAZARE_I_Intel
2,208 Views

Hi,


Are you getting any error during compilation in Quartus?


Which file in your project did you check that stated the value is 0?


0 Kudos
yu1987-08-22
Beginner
2,180 Views

Hi,

 

 I have got no errors during compilation,(Quartus prime pro eition 22.2).

 

I also send you my project file(please check the attachment) ,you can open project in your local place. please help me double check.

 

Which file in your project did you check that stated the value is 0?

answer:  you can grep the fpga_interfaces in your generation IP file. because different generation, maybe different file names, but instantiation name is always fpga_interface.

yu19870822_0-1677804230169.png

 

yu19870822_1-1677804301425.png

 

 

0 Kudos
yu1987-08-22
Beginner
2,180 Views

Hi,

 

 Please see the attachment, I have send the whole project. You can open in your local place. Thanks

 

0 Kudos
EBERLAZARE_I_Intel
2,145 Views

Hi,


Thanks for the clarification, let me check on my side.


I am a little bit tight up on my side a the moment, thus it might take a few days.



0 Kudos
yu1987-08-22
Beginner
2,135 Views

Hi,

 

  Thank you so much. No problem.  Waiting for you.

0 Kudos
EBERLAZARE_I_Intel
2,082 Views

Hi,


Are you familiar with the Platform Designer?


Also, I am not exactly sure how it got the value as you mentioned, I tried to do the same settings as you did but I do have the value according to what was set in the HPS IP.


Value: 1,2,3 = drop down selection from Top to Bottom, with 0 being unused.


My guess would be, that you had no connection with the H2F interconnect, despite it being enabled or you might have not re-generate it after you had set it.


Anyway, we always recommend customer to go from our GHRD and build/remove any peripherals etc., of their own design from there. The GHRD is based of our dev kit, for you it will be the Agilex 7 SoC Dev Kit:

https://www.rocketboards.org/foswiki/Documentation/AgilexSoCGSRD

https://github.com/altera-opensource/ghrd-socfpga



You can view how the GHRD interconnects are and use the GHRD. Are you okay with proceeding with the GHRD? If not, you could try to create a new .qsys and add all new IPs as per the GHRD that you would want to work/play around with then try again.



p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.




0 Kudos
yu1987-08-22
Beginner
2,036 Views

Linux Quartus version : Quartus Prime Verison 22.4.0 Build 94

Agilex FPGA AGFB027R25A****

 

Hi,

After many attempts, I encountered a very strange phenomenon.

Please check my IP configuration options.

option 1:

When I configure F2H data width 128 and H2F data width 128(max), Compile the generated verilog ip file to find the data bit width parameter is normal 128.

 

yu19870822_0-1678174447654.png

 

option 2:

When I configure F2H data width 256 and H2F data width 128(max), Compile the generated verilog ip file and find that the F2S data bit width parameter is normal 256, but the S2F data bit width parameter is wrong 0.

 

yu19870822_1-1678174463000.png

 

Option 1 & option2 only the F2H bit width parameter was modified.

We may need to set the F2H bit width parameter 256, but we cannot solve the problem of setting the S2F bitwidth parameter to 0

0 Kudos
EBERLAZARE_I_Intel
2,014 Views

Hi,


Have you tired to remove the HPS IP and add a new one a re-generate?


0 Kudos
yu1987-08-22
Beginner
2,005 Views

Hi,

 

  Yes, try to generate one, then found above phenomenon.

0 Kudos
EBERLAZARE_I_Intel
1,975 Views

Hi,


I am still not seeing what you are seeing.


Can you list all the settings/changes you made once you select the HPS Agilex IP from the IP catalog to Generating the HDL in Platform Designer:




0 Kudos
yu1987-08-22
Beginner
1,913 Views

Hi ,

 

  Please see my whole project.

 

 

yu19870822_0-1678411761240.png

 

 

BTW:  Whether it's license problem or not?

0 Kudos
EBERLAZARE_I_Intel
1,881 Views

Hi,


I doubt it is a licensing issue, yes I am working from your project that I am not seeing the issue, with just removing and re-adding the HPS IP, I can see all the config changes respectively.




0 Kudos
EBERLAZARE_I_Intel
1,850 Views

Hi,


On a fresh Platform Designer, after creating a new .qsys file, can you share the whole steps you did from adding the IP to any changes, connections, export etc. that you did. We need the full list since I am not seeing the issue what you seeing.


As a matter of fact, please see how our GHRD connection is done:

https://www.rocketboards.org/foswiki/Documentation/AgilexSoCGSRD


What is your objective that you made such connection anyway? We recommend that you use the GHRD and you may remove any unwanted IPs or change an default settings then proceed from there.


0 Kudos
EBERLAZARE_I_Intel
1,816 Views

Hi,


Please check on my previous respond.


0 Kudos
yu1987-08-22
Beginner
1,807 Views

Hi,

 

  Thank you so much, I am checking, will tell you when we have result.

0 Kudos
EBERLAZARE_I_Intel
1,758 Views

Hi,


Do you have any new update?


0 Kudos
EBERLAZARE_I_Intel
1,716 Views

Hi,


I hope you have update for this week. Let me know.


0 Kudos
yu1987-08-22
Beginner
1,709 Views

Hi,

 

  Sorry, I still can't get the right confiuration for simulation.

 

0 Kudos
Reply