HOWTO use testbench

Back to bugtracker overview.

Information:
Type :: REQUEST
Status :: OPENED
Assigned to :: nobody

Description:
Has anybody ever used the testbench and can explain how to use it?

I see that it contains lots of not-synthesizeable code, so which simulation tool do I have to use?
Does it work with ModelSim?

Comments:

Cartledge, Dale Apr 7, 2010
I am trying to use the test bench as you have said above.
I am using the library called work as it is the name given when you first create a new library. I have placed the source files into this folder and then tried to compile them all. It then produces a lot of errors saying "cannot open include file "timescale.v"" and every other source file apart from can_ibo.

I am new to modelsim so i might be doing something simply wrong. Could you help?

Thanks in advance
Cartledge, Dale Apr 7, 2010
I am trying to use the test bench as you have said above.
I am using the library called work as it is the name given when you first create a new library. I have placed the source files into this folder and then tried to compile them all. It then produces a lot of errors saying "cannot open include file "timescale.v"" and every other source file apart from can_ibo.

I am new to modelsim so i might be doing something simply wrong. Could you help?

Thanks in advance
Bochem, Alexander Feb 7, 2010
Meanwhile I solve the problem myself.

1. Create a new library in ModelSim
2. Put all source files for CANcontroller and testbench into the corresponding folder.
3. Compile the files
4. start simulation of testbench file

The ModelSim Tutorial shows how to set Breakpoints and step through the code.

Thanks to myself ;-)

Post a comment:
Login to post comments!

Back to bugtracker overview.

© copyright 1999-2010 OpenCores.org, equivalent to ORSoC AB, all rights reserved. OpenCores®, registered trademark.