Conflicting Definitions in top.v and Imported Block File

You can introduce a conflict if you import top.v and block files. Libero does not support HDL definition of low-level blocks inside top-level HDL files and subsequent importing of block files. For example, the following will cause an error:

  1. 1.Import a top.v file (File > Import HDL Source Files) that contains a definition for<top> and a module definition for<block1>.
  2. 2.Import the block <block1> (File > Import > Blocks).

Libero passes two duplicate files to the Synthesis tool because the definition for <block1> is duplicated. To continue, you must remove the <block1> definition from the top.v file and then re-import it.