Experience with Simulating RocketIO in Modelsim

T

Timothy Campbell

Guest
Does anyone have any experience simulating RocketIO in Modelsim SE via
use of SmartModels. I am trying to stimulate the TXP and TXN pins of the
MGT via use of a .do file. Is there are proper way to do this, or is the
following acceptable:

restart -f
force RocketIO_10mhz 0 0ns, 1 50ns -repeat 100ns
run 2us
run 50ns
force RXNIn1_Data 1
force RXPIn1_Data 0
run 100ns
force RXNIn1_Data 1
force RXPIn1_Data 0
run 100ns
force RXNIn1_Data 1
force RXPIn1_Data 0
run 100ns
force RXNIn1_Data 0
force RXPIn1_Data 1
run 100ns
force RXNIn1_Data 0
force RXPIn1_Data 1
run 100ns
force RXNIn1_Data 0
force RXPIn1_Data 1
run 100ns
force RXNIn1_Data 1
force RXPIn1_Data 0
run 100ns
force RXNIn1_Data 1
force RXPIn1_Data 0
run 100ns
force RXNIn1_Data 0
force RXPIn1_Data 1
run 100ns
force RXNIn1_Data 1
force RXPIn1_Data 0
run 100ns

p.s. The input clock to the MGT is running at 40Mhz

Best Regards,
T. Justin Campbell
 
Hi Timothy,

if you really want to punish yourself then you can work with the
force-commands.

However, if you want to work with the Rocket-IOs properly then the only
real way is to build a testbench which models your system.

This means:
- create the clock-signals in the testbench
- build a system that lives on itself as far as possible and is not
dependent on force-commands.

Cheers,

Martin

Timothy Campbell wrote:

Does anyone have any experience simulating RocketIO in Modelsim SE via
use of SmartModels. I am trying to stimulate the TXP and TXN pins of the
MGT via use of a .do file. Is there are proper way to do this, or is the
following acceptable:

restart -f
force RocketIO_10mhz 0 0ns, 1 50ns -repeat 100ns
run 2us
run 50ns
force RXNIn1_Data 1
force RXPIn1_Data 0
run 100ns
force RXNIn1_Data 1
force RXPIn1_Data 0
run 100ns
force RXNIn1_Data 1
force RXPIn1_Data 0
run 100ns
force RXNIn1_Data 0
force RXPIn1_Data 1
run 100ns
force RXNIn1_Data 0
force RXPIn1_Data 1
run 100ns
force RXNIn1_Data 0
force RXPIn1_Data 1
run 100ns
force RXNIn1_Data 1
force RXPIn1_Data 0
run 100ns
force RXNIn1_Data 1
force RXPIn1_Data 0
run 100ns
force RXNIn1_Data 0
force RXPIn1_Data 1
run 100ns
force RXNIn1_Data 1
force RXPIn1_Data 0
run 100ns

p.s. The input clock to the MGT is running at 40Mhz

Best Regards,
T. Justin Campbell
 

Welcome to EDABoard.com

Sponsor

Back
Top