regulus0808 wrote on Aug 24th, 2006, 8:41am:I know I have to use HED and I 've used it. What I am wondering is that, if there is a block which is described in transistor-level with real transistor models, capacitors, wires, and etc, there is a way that I can specify that block as digital block for the simulator to recognize the block as a digital block.
Or do I need to convert all transistor-level digital block into verilog-ams code to do that?
yes, you need to convert all transistor level digital blocks into digital code. Digital code includes verilog, vhdl, verilogAMS (without an analog section). this will make the AMS simulator treat the block as digital.
If you want to specify a NODE/Net as digital, you can do this by assigning a property to it in the schematic. Setting the netDiscipline property of a net/node to "logic" will make it digital, while "electrical" will make it analog.
If you're not running AMS from a testbench schematic, you can set nets/nodes to be analog or digital by using an OOMR (out-of module refernece ?)... an OOMR is simply a line of text in your netlist like:
logic Instance1.instance2.net1 (this will set net1 in intantce2 within instnace 1 to be digital).
cheers
aw