Download S-Edit User Guide

Transcript
Chapter 2: Creating a Project
Project Structure in S-Edit
In this example, NAND2 is a two input NAND
gate. A, B and Y are ports.
There are seven instanced symbols
(including M1, three other transistors, and
three power/ground symbols), and six red
shapes implementing three nets.
There is a fourth net between the two NMOS
devices, and a fifth (power) and sixth
(ground) net as well.

SPICE and Verilog Views
You can use Open View in the right-click menu in the Libraries navigator to view the SPICE, Verilog-A
or Verilog-AMS files associated with a cell in the S-Edit text-editor.
The difference between Verilog-A and Verilog-AMS is the file extension when the cell is netlisted.
Some simulators, including the S-Edit AMS simulator, handle files differently depending on whether
they have .v, .va, or .vams extensions, so we need a way for the user to specify which type of code they
will be writing.
Verilog-AMS views are written as CellName.vams, Verilog-A views are written as CellName.va.
Verilog view types are written as CellName.v. You should use Verilog should be used for digital RTL,
and structural Verilog (netlists), use Verilog-A for Verilog-A code and use Verilog-AMS for code that
mixes Verilog-A and Verilog-D constructs in the same cell.
S-Edit 16 User Guide
55