Sunday, November 16, 2014

Blog Post 3 11/16/14

Spice, at its core, is an analog circuit simulator. It automates the calculations that describe how a circuit changes over time. Therefore, its calculations are only as good as spice’s internal models and the accuracy of the parameters provided. However, for the purposes of this class it does a reasonably accurate job of modeling simple logic gates like inverters, NAND, and NOR gates. Some of its strong points include the ability to plot the voltages at various points in the circuit and its ability to measure time delays accurately. However, it is not an easy tool to use. While the schematic editor of CoolSpice can create the “netlists” that spice operates on, it is difficult to create measure statements with it. For this reason, my partner and I have often opted to edit the netlists directly using a text editor. Doing so can often be tedious, however, because the syntax is unlike many other computer languages and so errors are difficult to find. In addition, measure statements are very specific to each simulation, and so must be recreated for each new project. Despite the difficulty of use, spice is a very powerful tool. It allows for precise modeling of all for the analog workings of a circuit and for rapid parameter changes to achieve a specified behavior. This is its primary difference from logisim: spice is first and foremost an analog design tool, and is most useful when optimizing the performance of a circuit and seeing how it works under various conditions. However, its difficulty of use makes it impractical for anything other than physical modeling. To model the abstract behavior of logic gates, logisim is a better tool. Logisim allows the designer to focus on creating logic, such as an arithmetic unit, without worrying about how those gates would actually be built. However, logisim is simply unable to do the analog modeling that spice is designed to do. These two tools are useful in their own ways because they operate at different levels of abstraction.