3.1 Duplicate Block Definition

If you import two versions of your block file, you must choose which one you want to use. For example:

  • Import top.v and block1.v files as HDL (File > Import HDL Source Files) into the top-level project.
  • Import <block1> (File > Import > Blocks).

Libero recognizes a duplicate definition of <block1>; one from the HDL and another in the imported block file. The Design Hierarchy tab shows a <block1>.cxf and <block1>.v file under duplicate modules; Libero uses the HDL <block1> by default.

To override the default behavior and select the block definition, right click the <block1>.cxf file and choose Use This File. When you update the behavior, the block icon appears in the Design Hierarchy.