They contain different models, with different behaviour. ahdlLib only contains Verilog-A models (so are pure analog) whereas bmslib (a newer library, although it's been around for years) contains a mixture of verilog (pure digital), veriloga (analog only) and verilogams (mixed-signal) models. The verilog and verilogams models can only be simulated in AMS (not spectre) and would aim to be more efficient in terms of representing digital signals as event-driven digital rather than as continuous voltages. You can't do that in spectre itself, so you'd have to use veriloga models there. So I'd say if using AMS, you'd use the verilog or verilogams views as a preference over the veriloga models. Regards, Andrew.
↧