⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tdmddc.mdl

📁 ddc的vhdl源代码
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "out_ready"
	  Position		  [200, 108, 230, 122]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "resetn"
	  Position		  [195, 148, 225, 162]
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Enabled\nSubsystem"
	  Ports			  [0, 3, 1]
	  Position		  [225, 189, 400, 281]
	  TreatAsAtomicUnit	  on
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  MaskHideContents	  off
	  System {
	    Name		    "Enabled\nSubsystem"
	    Location		    [2, 84, 1142, 837]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      EnablePort
	      Name		      "Enable"
	      Ports		      []
	      Position		      [235, 20, 255, 40]
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Counter\nLimited"
	      Ports		      [0, 1]
	      Position		      [470, 240, 500, 270]
	      SourceBlock	      "simulink/Sources/Counter\nLimited"
	      SourceType	      "Counter Limited"
	      ShowPortLabels	      "FromPortIcon"
	      SystemSampleTime	      "-1"
	      FunctionWithSeparateData off
	      RTWMemSecFuncInitTerm   "Inherit from model"
	      RTWMemSecFuncExecute    "Inherit from model"
	      RTWMemSecDataConstants  "Inherit from model"
	      RTWMemSecDataInternal   "Inherit from model"
	      RTWMemSecDataParameters "Inherit from model"
	      uplimit		      "1"
	      tsamp		      "clock1"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn3"
	      Position		      [205, 225, 265, 255]
	      Expr		      "floor(2^3*u)"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn4"
	      Position		      [175, 370, 235, 400]
	      Expr		      "floor(2^3*u)"
	    }
	    Block {
	      BlockType		      MultiPortSwitch
	      Name		      "Index\nVector"
	      Ports		      [3, 1]
	      Position		      [560, 236, 610, 344]
	      Inputs		      "2"
	      zeroidx		      on
	      InputSameDT	      off
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Sin
	      Name		      "Initial Sine Wave2"
	      Ports		      [0, 1]
	      Position		      [385, 360, 415, 390]
	      SineType		      "Sample based"
	      Amplitude		      "2^6 -1"
	      Samples		      "40"
	      SampleTime	      "clock1"
	    }
	    Block {
	      BlockType		      Sin
	      Name		      "Initial Sine Wave3"
	      Ports		      [0, 1]
	      Position		      [355, 505, 385, 535]
	      SineType		      "Sample based"
	      Amplitude		      "2^6 -1"
	      Samples		      "40"
	      Offset		      "10"
	      SampleTime	      "clock1"
	    }
	    Block {
	      BlockType		      Logic
	      Name		      "Logical\nOperator"
	      Ports		      [1, 1]
	      Position		      [530, 144, 560, 176]
	      Operator		      "NOT"
	      AllPortsSameDT	      off
	      OutDataTypeMode	      "Boolean"
	    }
	    Block {
	      BlockType		      Step
	      Name		      "Noise Inject2"
	      Position		      [280, 315, 310, 345]
	      Time		      "1500*clock1"
	      SampleTime	      "clock1"
	    }
	    Block {
	      BlockType		      Step
	      Name		      "Noise Inject3"
	      Position		      [260, 450, 290, 480]
	      Time		      "1500*clock1"
	      SampleTime	      "clock1"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product2"
	      Ports		      [2, 1]
	      Position		      [350, 296, 395, 329]
	      CollapseMode	      "All dimensions"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product3"
	      Ports		      [2, 1]
	      Position		      [320, 441, 365, 474]
	      CollapseMode	      "All dimensions"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      RandomNumber
	      Name		      "Random\nNumber2"
	      Position		      [150, 225, 180, 255]
	      Variance		      "8"
	      SampleTime	      "clock1"
	    }
	    Block {
	      BlockType		      RandomNumber
	      Name		      "Random\nNumber3"
	      Position		      [120, 370, 150, 400]
	      Variance		      "8"
	      SampleTime	      "clock1"
	    }
	    Block {
	      BlockType		      Sin
	      Name		      "Sine Wave3"
	      Ports		      [0, 1]
	      Position		      [225, 290, 255, 320]
	      SineType		      "Sample based"
	      SampleTime	      "clock1"
	    }
	    Block {
	      BlockType		      Sin
	      Name		      "Sine Wave4"
	      Ports		      [0, 1]
	      Position		      [195, 445, 225, 475]
	      SineType		      "Sample based"
	      SampleTime	      "clock1"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum4"
	      Ports		      [2, 1]
	      Position		      [420, 300, 450, 330]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      CollapseMode	      "All dimensions"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum5"
	      Ports		      [2, 1]
	      Position		      [290, 225, 320, 255]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      CollapseMode	      "All dimensions"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum6"
	      Ports		      [2, 1]
	      Position		      [390, 445, 420, 475]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      CollapseMode	      "All dimensions"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum7"
	      Ports		      [2, 1]
	      Position		      [260, 370, 290, 400]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      CollapseMode	      "All dimensions"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "dout"
	      Position		      [690, 283, 720, 297]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "eop"
	      Position		      [680, 198, 710, 212]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "sop"
	      Position		      [680, 153, 710, 167]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Random\nNumber2"
	      SrcPort		      1
	      DstBlock		      "Fcn3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn3"
	      SrcPort		      1
	      DstBlock		      "Sum5"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sine Wave3"
	      SrcPort		      1
	      Points		      [45, 0]
	      DstBlock		      "Sum5"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Noise Inject2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -10]
	      DstBlock		      "Product2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum5"
	      SrcPort		      1
	      Points		      [5, 0; 0, 65]
	      DstBlock		      "Product2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product2"
	      SrcPort		      1
	      DstBlock		      "Sum4"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Random\nNumber3"
	      SrcPort		      1
	      DstBlock		      "Fcn4"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn4"
	      SrcPort		      1
	      DstBlock		      "Sum7"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sine Wave4"
	      SrcPort		      1
	      Points		      [25, 0; 0, -45]
	      DstBlock		      "Sum7"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum7"
	      SrcPort		      1
	      Points		      [5, 0; 0, 65]
	      DstBlock		      "Product3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Noise Inject3"
	      SrcPort		      1
	      Points		      [0, 0]
	      DstBlock		      "Product3"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product3"
	      SrcPort		      1
	      DstBlock		      "Sum6"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Initial Sine Wave3"
	      SrcPort		      1
	      Points		      [15, 0]
	      DstBlock		      "Sum6"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Initial Sine Wave2"
	      SrcPort		      1
	      Points		      [15, 0]
	      DstBlock		      "Sum4"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Logical\nOperator"
	      SrcPort		      1
	      DstBlock		      "sop"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Counter\nLimited"
	      SrcPort		      1
	      Points		      [10, 0]
	      Branch {
		DstBlock		"Logical\nOperator"
		DstPort			1
	      }
	      Branch {
		Points			[20, 0]
		Branch {
		  DstBlock		  "Index\nVector"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, -50]
		  DstBlock		  "eop"
		  DstPort		  1
		}
	      }
	    }
	    Line {
	      SrcBlock		      "Sum4"
	      SrcPort		      1
	      Points		      [65, 0; 0, -25]
	      DstBlock		      "Index\nVector"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum6"
	      SrcPort		      1
	      Points		      [60, 0; 0, -135]
	      DstBlock		      "Index\nVector"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Index\nVector"
	      SrcPort		      1
	      DstBlock		      "dout"
	      DstPort		      1
	    }
	    Annotation {
	      Name		      "06/25/07: as of now, due to the delay o"
"f sop and eop, wave2 is Q channel, wave3 is I channel.  Figure out why delay "
"by 1 is needed."
	      Position		      [488, 580]
	      FontSize		      16
	    }
	  }
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator"
	  Ports			  [2, 1]
	  Position		  [265, 107, 295, 138]
	  AllPortsSameDT	  off
	  OutDataTypeMode	  "Boolean"
	  SampleTime		  "clock1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "dout"
	  Position		  [460, 198, 490, 212]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "eop"
	  Position		  [465, 228, 495, 242]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "sop"
	  Position		  [465, 258, 495, 272]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "out_valid"
	  Position		  [510, 118, 540, 132]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Enabled\nSubsystem"
	  SrcPort		  1
	  DstBlock		  "dout"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Enabled\nSubsystem"
	  SrcPort		  2
	  DstBlock		  "eop"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Enabled\nSubsystem"
	  SrcPort		  3
	  DstBlock		  "sop"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "out_ready"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Logical\nOperator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "resetn"
	  SrcPort		  1
	  Points		  [10, 0; 0, -25]
	  Ds

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -