• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Functional Verification
  3. BlackBox RTL/GateLevel

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 65
  • Views 6135
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

BlackBox RTL/GateLevel

jesolano
jesolano over 8 years ago

Hello!

I would like to create two black boxes one in RTL and another in GATE LEVEL, it can also be one like black box and the other not, however
the two DUTs have the same instance inside the module which accuses the following error:
ncelab: *E,MUNIT: More than one unit matches 'ABC'
attached is an example

//

//---FILE RTL.sv

module ABC;
initial begin

$display ("RTL FILE");

end
 
endmodule


//---FILE GATE_LEVEL.v


module ABC;
initial begin

$display ("GATE_LEVEL FILE");

end
 
endmodule


//--- FILE 3 TB.sv

module tb;

  ABC DUT_1();

  ABC DUT_2();

endmodule


//**** OBS:

///***********
//************ I want to create two black boxes one in RTL and another in GATE LEVEL,
//************ it can be one like black box and the other not, however
//************ the two DUTs have the same instance inside the module which accuses the following error:
                                                            
//************  ncelab: *E,MUNIT: More than one unit matches 'ABC':
//************    module designlib.ABC:rtl  (VST)
//************    module designlib.ABC:gate (VST).

//

Best regards!

  • Cancel
Parents
  • tpylant
    tpylant over 8 years ago

    Could you use the -bbcell/-bblist commands instead?

    -bbcell cell_name

    Ignore the specified cell when elaborating the design.

    For some simulations, you may want to ignore some parts of the design hierarchy and treat these parts of the hierarchy as black boxes to increase the performance of the simulator. One way to do this is to replace actual models in the design with empty (black box) modules. You can create empty modules for the actual modules you want to replace, compile these units into a library, and then write a configuration to specify the source description to be used to represent each instance in the design.

    The -bbcell option lets you blackbox all instances of a particular cell from the command line without changing the HDL or writing a configuration. The argument to this option is the Lib.Cell specification of the cell you want to ignore. All instances of the specified cell will be treated as a black box. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • tpylant
    tpylant over 8 years ago

    Could you use the -bbcell/-bblist commands instead?

    -bbcell cell_name

    Ignore the specified cell when elaborating the design.

    For some simulations, you may want to ignore some parts of the design hierarchy and treat these parts of the hierarchy as black boxes to increase the performance of the simulator. One way to do this is to replace actual models in the design with empty (black box) modules. You can create empty modules for the actual modules you want to replace, compile these units into a library, and then write a configuration to specify the source description to be used to represent each instance in the design.

    The -bbcell option lets you blackbox all instances of a particular cell from the command line without changing the HDL or writing a configuration. The argument to this option is the Lib.Cell specification of the cell you want to ignore. All instances of the specified cell will be treated as a black box. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information