#124 No support for configuring a design

Other (110)

I was running a system that had two FPGAs from two different vendors. There turned out to be name conflicts, where the two vendors had the same names for different modules, and for one of the devices, the wrong modules were being picked up.

It would be of great value to be able to be able to add Verilog directives that would alter the search ordering. The directive should affect all modules (and their complete hierarchies) that follow the directive until another such directive is found. [I don't have a comment about what should happen if submodule contains another such directive. Should it be properly recursive?]

ModelSim uses the `uselib directive, although I don't think we should necessarily follow their pattern exactly. I suggest something like this:

`uselib "LatticeLib/XP10"

module_for_xp10_device instance1(...);

`uselib "Xilinx/3S4000"

module_for_3s4000_device instance2(...);

I think what ModelSim does is first require that you have already specified the library when you compiled the code, and then the `uselib just raises the specified library to the head of the list of search paths so that it takes top priority.


  • Timothy Miller

    Timothy Miller - 2006-12-14

    Logged In: YES
    Originator: YES

    Sorry. I should have said, "I was simulating a system that had two..."

  • Cary R.

    Cary R. - 2009-05-22
    • milestone: --> 530242
  • Stephen Williams

    The Verilog standard (IEEE1364-2001 and later) defines "configurations", so that's the feature that you're requesting.

  • Cary R.

    Cary R. - 2009-12-29
    • labels: 776825 -->
    • milestone: 530242 -->
    • summary: Allow RTL directives to affect library path search order --> No support for configuring a design
  • Cary R.

    Cary R. - 2009-12-29

    Since this is a standard part of Verilog I'm moving this feature request to the bug tracker.

  • Cary R.

    Cary R. - 2009-12-29
    • labels: --> Other
    • milestone: --> devel

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks