Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Modify Slave FIFO to add flag?

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Modify Slave FIFO to add flag?
Moderator:
RSKV

Post Reply
Follow this topic



Modify Slave FIFO to add flag?

walkerb posted on 13 Apr 2012 2:00 PM PST
Member
4 Forum Posts

 How would I modify a GPIF 2 Slave FIFO implementation to include an additional flag?  I would like 3 flags but the precanned implemenation only provide 2.




Re: Modify Slave FIFO to add flag?

Chris R. posted on 14 Apr 2012 08:08 AM PST
Top Contributor
135 Forum Posts

Look here: http://www.cypress.com/?app=forum&id=167&rID=58405



Re: Modify Slave FIFO to add flag?

walkerb posted on 16 Apr 2012 09:25 PM PST
Member
4 Forum Posts

 Thanks.

I decided to modify the file gpif2model.xml in the projectfiles directory of the GPIF II Designer project.  I copy and modified one of the flag signal sections of the file.  The modification does not affect the configuration options but it does show up in the graphical represenation of the interface and I was able to verify the results in the header file.

 



Re: Modify Slave FIFO to add flag?

aasi posted on 17 Apr 2012 01:45 AM PST
Cypress Employee
1073 Forum Posts

The .xml file is a little complex, there are calculations based on the selected configuration and modifying one place will not take care of all the required modification. I would recommend using GPIF II Designer to generate your required configuration than change the .xml file directly.

Regards,

Anand



Re: Modify Slave FIFO to add flag?

walkerb posted on 19 Apr 2012 11:45 AM PST
Member
4 Forum Posts

That was the heart of the question.  I noticed that the signal definitions are easy to interpret.  Since DMA flags do not interact with state machine, I figured I was safe. Unless, of course, you know of a better way to produce a SlaveFifo implementation with three flags in GPIF II Designer.  I was unable to find an option to add any signals or instructions for copying a SlavFifo implementation so that I can make changes.



Re: Modify Slave FIFO to add flag?

aasi posted on 19 Apr 2012 08:37 PM PST
Cypress Employee
1073 Forum Posts

The slavefifo GPIF II project comes as a library with the GPIF II Designer (on the left side of the start page). You can save it as editable and use that to make the modification that you want in it.

Regards,

Anand



Re: Modify Slave FIFO to add flag?

walkerb posted on 30 Apr 2012 06:53 PM PST
Member
4 Forum Posts

 It would be nice if save-as-editable options were available in the save-project-as dialog box instead of as a separate item in the File menu.






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.