Checkpointing PPC Smartmodels in ModelSim 6.0b Issues

Feb 23, 2006 4 Replies

Hello,



I have set-up checkpointing in ModelSim 6.0b (also using EDK 7.1 SP2). ModelSim complains that "two foreign architectures are missing save and restore callbacks" when I checkpoint. These "foreign architectures" happen to be the PPC swift models. When I restore the checkpoints, the waveforms are fully restored. However, I cannot continue the simulation because it makes the following complaint:



# ** Fatal (SmartModel): # SWIFT protocol: # The first call to lsm_Model_DCEvaluate must occur at time 0. # Time: 424875000 ps Instance:/system/ppc405_0/ppc405_0/ppc405_i/ippc405_swift/ppc405_swift_inst # ** Fatal: Foreign module requested halt. # Time: 424875 ns Iteration: 0 Foreign Process: /system/ppc405_0/ppc405_0/ppc405_i/ippc405_swift/ppc405_swift_inst/SmartModel File: Foreign # Fatal error at an unknown location #



Anyone encountered this issue?



Thanks,



NN



You need to ask Xilinx if checkpointing/restore is supported for the PowerPC model since you need to hardcode it in. Have a look at the FLI (used for swift) documentation to get an idea what is required.

Hans

formatting link

Not quite; but I am having problems AT time 0ps; with the message

# ** Fatal (SmartModel): # SWIFT protocol: # Call to lsm_Model_DCEvaluate must be preceded by a call # to lsm_Model_SetSimTimeUnit.

May be related; I don't have any answers yet. (I have had other projects simulate correctly with SwiftModels; but this is my first of any complexity, as opposed to EDK projects with one toplevel ISE module)

- Brian

Mine appears to be related to starting ModelSim from within another tool (HDL Designer). The SmartModels don't seem to play well with the other stuff involved (cross-probing with the block diagrams).

I don't know if this sheds any light on the checkpointing problem; suspect it doesn't.

- Brian

Thanks for all your responses. I didn't seem like Xilinx has support for checkpointing of the swift models.

To get around this issue, I have been lett> >

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required