Classes

Parent Previous Next

VisualSim                                                                                                                              


Classes and Libraries


Introduction

This tutorial will teach the process of constructing classes, as a method to manage sub-models.  This document augments the chapters in the Basic Technology document covering Classes and Library.  It assumes that the following directory structure has been set up in <VS>/VS_AR

In other words, the following paths are used in this document:

The following top-down design steps are followed in this exercise:


Short Excercise on Creating Classes

Step 1: Create Top-Level Block Diagram

VisualSim BDE

Step 2: Specify Ports for Hierarchical Block


VisualSim Port

Step 3: Specify and Verify the Functional Behavior of the Hierarchical Block


VisualSim Hierarchical Block

Step 4: Create a Class using the Hierarchical Block


Sub Model

Step 5: Instantiate a Class from the VS GUI


Instantiate Entity

Step 6: Create a New Library


Step 7: Populating the New Library

Step 8: Import this New Library into the User_Library

Step 9: View this New Library in the User_Library