Amir Yazdanbakhsh
Newbie level 5
- Joined
- Jun 18, 2013
- Messages
- 9
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 66
Hi,
I am doing some mixed-mode (VHDL + Verilog) simulation. My testbench is in VHDL and the I have two other modules which are written in verilog in two separate files. I have also generated separate SDF files for each of them. I followed the following procedure to run the testbench:
1) compile each Verilog file
vlogan <verilog files>
2) compile vhdl testbench
vhdlan <testbench>
3) run vcs and pass the name of SDF file to them.
But there are some warning when adding the SDF file that means it can not find some instantiation in the design. I've noticed that the VCS optimize some modules which seems are unused or doesn't do anything and remove them from the design. I could open the new Verilog in the DVE and see that some modules are removed. What I want to know is that how I can tell VSC to not to do any optimization?
Thanks
I am doing some mixed-mode (VHDL + Verilog) simulation. My testbench is in VHDL and the I have two other modules which are written in verilog in two separate files. I have also generated separate SDF files for each of them. I followed the following procedure to run the testbench:
1) compile each Verilog file
vlogan <verilog files>
2) compile vhdl testbench
vhdlan <testbench>
3) run vcs and pass the name of SDF file to them.
But there are some warning when adding the SDF file that means it can not find some instantiation in the design. I've noticed that the VCS optimize some modules which seems are unused or doesn't do anything and remove them from the design. I could open the new Verilog in the DVE and see that some modules are removed. What I want to know is that how I can tell VSC to not to do any optimization?
Thanks