Quantcast
Channel: Cadence Functional Verification Forum
Viewing all articles
Browse latest Browse all 1069

BlackBox RTL/GateLevel

$
0
0

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!


Viewing all articles
Browse latest Browse all 1069

Trending Articles