UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 23125

xilfatfs_v1_00_a - Size of the compiled code greater in 7.1i than in 6.3i

Description

In my design, I use the xilfatfs_v1_00_a software library. In EDK 7.1i, the size of the compiled code of my design is greater than in EDK 6.3i.

Solution

In EDK 7.1i, xilfatfs_v1_00_a was updated to include read/write caches, and the default is to allocate 10240 bytes. The snippet to include in the mss file (to use Xilfatfs) is as follows:

BEGIN LIBRARY

parameter LIBRARY_NAME = xilfatfs

parameter LIBRARY_VER = 1.00.a

parameter CONFIG_WRITE = true

parameter CONFIG_DIR_SUPPORT = false

parameter CONFIG_FAT12 = false

parameter CONFIG_MAXFILES = 5

parameter CONFIG_BUFCACHE_SIZE = 10240

parameter PROC_INSTANCE = powerpc_0

END LIBRARY

CONFIG_BUFCACHE_SIZE defines the amount of memory (in bytes) used by the library for buffering read and write calls to the System ACE. This improves the performance of both sysace_fread and sysace_fwrite by buffering the data in memory and avoiding unnecessary calls to read the CF device.

AR# 23125
Date Created 09/04/2007
Last Updated 12/15/2012
Status Active
Type General Article