数,模混合模型的建立.pptVIP

  • 5
  • 0
  • 约 35页
  • 2017-10-07 发布于重庆
  • 举报
数,模混合模型的建立.ppt

数、模混合模型的建立 数模混合型模型的特点 在一个器件中,它既有模拟端口,也有数字型的端口。在通常情况下,模拟端口的数据类型为pin-type型,而数字端口的类型为state型。 模拟端口的量纲与数字端口的量纲是不同的,因此它们有一个转换的关系,在作数字、模拟器件的时候需要将它们进行转换。 电压型比较器 设计电压型比较器的功能如下:通过比较输入端的电压,当p点电压大于m点电压时,其输出端为logic_1,当p点电压小于或等于m点电压时,其输出端为logic_0。 比较器的MAST模型 element template comparator p m out = td # header electrical p, m # pin declarations state logic_4 out # pin declaration number td=0 # argument declaration { state nu before, after # local variables when (dc_init) { # DC initialization schedule_event(time, out, l4_0) when (threshold(v(p), v(m), before, after)) { # comparison if (after 0

文档评论(0)

1亿VIP精品文档

相关文档