|
<< Click to Display Table of Contents >> 6.3 SmartModels (Swift Models) |
![]() ![]()
|
SmartModels (also known as Swift models) are behavioral simulation models distributed as binary object files to hide their internal representation from end users. The SWIFT standard was created by Synopsys as a way of creating and distributing binary models so that they can be simulated by any simulator licensed to support the SWIFT standard. Theoretically, Synopsys has declared the Swift standard obsolete, but many FPGA vendors currently distribute Swift-based simulation models for their IP.
To use a SmartModel, you first need to create a Verilog or VHDL wrapper module (currently only Verilog wrapper modules are supported) for the model using smartmodel_wrapper_generator.exe and then you can instantiate instances of this module in your design. For most users, its generally best to create wrappers for all of your SmartModels at one time.The section below discusses the process of creating wrapper modules in more detail.
Generating SmartModel Wrappers and Using SmartModels with VeriLogger Extreme
|
set LMC_HOME=c:\tools\swift |
smartmodel_wrapper_generator -verilog -u dcc_fpgacore
smartmodel_wrapper_generator -verilog|-vhdl [-bit2bus] [-u] [<sm_name>] -verilog - Verilog generation; -vhdl - VHDL generation; -bit2bus - generate additional parent wrapper with buses; -u - use uppercase letters for naming modules; <sm_name> - name of SmartModel to generate (by default wrappers for all found SmartModels will be generated into appropriate output files) |
|