Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How To replace a huge module

Status
Not open for further replies.

aspirinnnnn

Member level 1
Member level 1
Joined
Jan 4, 2012
Messages
33
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Beijing,China
Activity points
1,511
i got this file a.v it is a netlist verilog file , but a huge module in it for example module xxx has some problems ,now i have a file b.v contains the right module xxx , now i want to replace the xxx module in a.v with the module in b.v

I am doing simulation with VCS , is there any way i can do it ? really need you help
 

You just need to recompile the file b after the file a. If the module xxx is identical, I mean same port name and dimension, this one should replace the previous compile in file a by the module in file b.
 
sir , i know what you mean ,but i don't know what exactly to do . i have file testbench.v a.v(contains the wrong module ), file b.v(contains the right module ) ,can you show me what to do ? appreciate your help

---------- Post added at 10:54 ---------- Previous post was at 10:36 ----------

You just need to recompile the file b after the file a.

i did it like this vcs +v2k -debug_all +v2k testbench.v a.v b.v -v lib.v seems right , is this all right?
 

if the compile order is garantue as you wrote, yes, that will work.
or you could used three commands to compile separatly the files.
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top