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# 22228

iMPACT - "ERROR:Bitstream:2" and "ERROR:iMPACT:123 - Mask file" are generated during FPGA configuration


During FPGA configuration, iMPACT generates the following errors:

"ERROR:Bitstream:2 - The input file "top_level.msk" does not exist. Please check that the specified location is correct and that the bitstream was successfully created."

"ERROR:iMPACT:123 - Mask file top_level.msk is invalid."

For more iMPACT Error Articles and other Configuration Related Articles, see (Xilinx Answer 34104).


iMPACT is looking for a mask (*.msk) file in order to perform a "verify" operation. The ".msk" file needs to be present in the directory where the ".bit" file is located for iMPACT to pick this up.

Creating a mask file can be done in one of two ways:

  • From the command line, use the "-m" option in BitGen, or
  • From the ISE Design Environment Tools:
    1. Right-click the "Generate Programming file" process: The BitGen options window opens.
    2. Click the "Readback" option tab.
    3. Check "Create ReadBack Data files" and "Create Mask File".
    4. Click "OK".
    5. Re-run the "Generate Programming file" process.
AR# 22228
Date Created 09/04/2007
Last Updated 03/02/2010
Status Active
Type General Article