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

📄 bpsk_12.mdl

📁 用systerm generation完成BPSK的调制解调过程
💻 MDL
📖 第 1 页 / 共 5 页
字号:
"COMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above this li"
"ne -- machine generated code. ');\n"
    }
    Block {
      BlockType		      Reference
      Name		      "Gateway Out4"
      Ports		      [1, 1]
      Position		      [1085, 289, 1140, 311]
      ForegroundColor	      "[0.250980, 0.000000, 0.000000]"
      SourceBlock	      "xbsIndex_r4/Gateway Out"
      SourceType	      "Xilinx Gateway Out Block"
      infoedit		      "Gateway out block.  Converts Xilinx fixed point"
" inputs into ouputs of type Simulink integer, double, or fixed point.<P><P>Ha"
"rdware notes:  In hardware these blocks become top level output ports or are "
"discarded, depending on how they are configured."
      hdl_port		      on
      timing_constraint	      "None"
      locs_specified	      off
      LOCs		      "{}"
      xl_use_area	      off
      xl_area		      "[0,0,0,0,0,0,0]"
      block_version	      "VER_STRING_GOES_HERE"
      has_advanced_control    "0"
      sggui_pos		      "20,20,411,338"
      block_type	      "gatewayout"
      sg_icon_stat	      "55,22,1,1,white,yellow,0,f0cec300"
      sg_mask_display	      "fprintf('','COMMENT: begin icon graphics ');\np"
"atch([0 55 55 0 ],[0 0 22 22 ],[0.95 0.93 0.65]);\npatch([22 18 23 18 22 28 3"
"0 32 38 33 28 25 31 25 28 33 38 32 30 28 22 ],[2 6 11 16 20 20 18 20 20 15 20"
" 17 11 5 2 7 2 2 4 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 22 22 0 0"
" ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMENT: begin"
" icon text ');\ncolor('black');port_label('input',1,' ');\ncolor('black');por"
"t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','"
"COMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above this li"
"ne -- machine generated code. ');\n"
    }
    Block {
      BlockType		      Reference
      Name		      "MCode"
      Ports		      [3, 1]
      Position		      [225, 170, 350, 230]
      SourceBlock	      "xbsIndex_r4/MCode"
      SourceType	      "Xilinx MCode block Block"
      infoedit		      "Pass input values to a MATLAB function for eval"
"uation in Xilinx fixed-point type. The input ports of the block are input arg"
"uments of the function. The output ports of the block are output arguments of"
" the function."
      mfname		      "BPSKmultiplex"
      explicit_period	      on
      period		      "1"
      dbl_ovrd		      off
      enable_debug	      off
      xl_use_area	      off
      xl_area		      "[0,0,0,0,0,0,0]"
      block_version	      "8.1"
      has_advanced_control    "0"
      sggui_pos		      "303,131,425,337"
      block_type	      "mcode"
      sg_icon_stat	      "125,60,3,1,white,blue,0,ec4bc827"
      sg_mask_display	      "fprintf('','COMMENT: begin icon graphics ');\np"
"atch([0 65 65 0 ],[0 0 62 62 ],[0.77 0.82 0.91]);\npatch([16 6 21 6 16 32 36 "
"40 58 44 31 21 35 21 31 44 58 40 36 32 16 ],[7 17 32 47 57 57 53 57 57 43 56 "
"46 32 18 8 21 7 7 11 7 7 ],[0.98 0.96 0.92]);\nplot([0 0 65 65 0 ],[0 62 62 0"
" 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMENT: beg"
"in icon text ');\ncolor('black');port_label('input',1,'x1');\ncolor('black');"
"port_label('input',2,'x2');\ncolor('black');port_label('input',3,'x3');\ncolo"
"r('black');port_label('output',1,'y');\ncolor('black');disp('\\bf{BPSKmultipl"
"ex}','texmode','on');\nfprintf('','COMMENT: end icon text');\n"
      suppress_output	      "1"
      defparams		      "{}"
      hide_port_list	      "{}"
    }
    Block {
      BlockType		      Reference
      Name		      "Mult"
      Ports		      [2, 1]
      Position		      [720, 226, 790, 284]
      SourceBlock	      "xbsIndex_r4/Mult"
      SourceType	      "Xilinx Multiplier Block"
      infoedit		      "Hardware notes: To use the internal pipeline st"
"age of the dedicated multiplier you must select 'Pipeline for maximum perform"
"ance'."
      precision		      "Full"
      arith_type	      "Signed  (2's comp)"
      n_bits		      "16"
      bin_pt		      "14"
      quantization	      "Truncate"
      overflow		      "Wrap"
      en		      off
      latency		      "3"
      dbl_ovrd		      off
      use_behavioral_HDL      off
      use_embedded	      off
      pipeline		      on
      use_rpm		      on
      placement_style	      "Rectangular shape"
      xl_use_area	      off
      xl_area		      "[0,0,0,0,0,0,0]"
      block_version	      "VER_STRING_GOES_HERE"
      has_advanced_control    "0"
      sggui_pos		      "20,20,425,450"
      block_type	      "mult"
      sg_icon_stat	      "70,58,2,1,white,blue,0,9c0d74db"
      sg_mask_display	      "fprintf('','COMMENT: begin icon graphics ');\np"
"atch([0 70 70 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([20 10 24 10 20 35 3"
"9 43 59 46 34 25 39 25 34 46 59 43 39 35 20 ],[6 16 30 44 54 54 50 54 54 41 5"
"3 44 30 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 0 70 70 0 ],[0 58 58"
" 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMENT: b"
"egin icon text ');\ncolor('black');port_label('input',1,'a');\ncolor('black')"
";port_label('input',2,'b');\ncolor('black');port_label('output',1,'(ab)');\nc"
"olor('black');disp('\\newline\\bf{}\\newlinez^{-3}','texmode','on');\nfprintf"
"('','COMMENT: end icon text');\n"
    }
    Block {
      BlockType		      Reference
      Name		      "Negate"
      Ports		      [1, 1]
      Position		      [165, 255, 200, 295]
      SourceBlock	      "xbsIndex_r4/Negate"
      SourceType	      "Xilinx Negate Block Block"
      precision		      "Full"
      arith_type	      "Signed  (2's comp)"
      n_bits		      "16"
      bin_pt		      "14"
      quantization	      "Truncate"
      overflow		      "Wrap"
      en		      off
      latency		      "0"
      dbl_ovrd		      off
      xl_use_area	      off
      xl_area		      "[0,0,0,0,0,0,0]"
      block_version	      "VER_STRING_GOES_HERE"
      has_advanced_control    "0"
      sggui_pos		      "-1,-1,-1,-1"
      block_type	      "negate"
      sg_icon_stat	      "35,40,1,1,white,blue,0,6784aebb"
      sg_mask_display	      "fprintf('','COMMENT: begin icon graphics ');\np"
"atch([0 35 35 0 ],[0 0 40 40 ],[0.77 0.82 0.91]);\npatch([8 2 10 2 8 17 20 23"
" 33 25 18 13 21 13 18 25 33 23 20 17 8 ],[6 12 20 28 34 34 31 34 34 26 33 28 "
"20 12 7 14 6 6 9 6 6 ],[0.98 0.96 0.92]);\nplot([0 0 35 35 0 ],[0 40 40 0 0 ]"
");\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMENT: begin i"
"con text ');\ncolor('black');disp('\\bf{x(-1)}','texmode','on');\nfprintf('',"
"'COMMENT: end icon text');\n"
    }
    Block {
      BlockType		      DiscretePulseGenerator
      Name		      "Pulse\nGenerator"
      Ports		      [0, 1]
      Position		      [50, 138, 95, 172]
      Period		      "1000"
      PulseWidth	      "500"
    }
    Block {
      BlockType		      Reference
      Name		      "Resource Estimator"
      Tag		      "resEstTag"
      Ports		      []
      Position		      [898, 446, 951, 499]
      ShowName		      off
      AttributesFormatString  "Resource\\nEstimator"
      FontName		      "Arial"
      SourceBlock	      "xbsIndex_r4/Resource Estimator"
      SourceType	      "Block Parameters Block"
      ShowPortLabels	      on
      Slices		      "0"
      FFs		      "0"
      BRAMs		      "0"
      LUTs		      "0"
      IOBs		      "0"
      EBMs		      "0"
      TBUFs		      "0"
      xl_use_estimator_area   off
      est_options	      "Estimate"
      sggui_pos		      "-1,-1,-1,-1"
      sg_icon_stat	      "53,53,0,0,white,blue,0,07734"
      has_advanced_control    "0"
      block_type	      "resource_estimator"
      sg_mask_display	      "fprintf('','COMMENT: begin icon graphics ');\np"
"atch([0 53 53 0 ],[0 0 53 53 ],[0.77 0.82 0.91]);\npatch([13 4 16 4 13 27 31 "
"35 50 38 27 19 31 19 27 38 50 35 31 27 13 ],[6 15 27 39 48 48 44 48 48 36 47 "
"39 27 15 7 18 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 0 53 53 0 ],[0 53 53 0"
" 0 ]);\nfprintf('','COMMENT: end icon graphics');\npatch([0 iWidth iWidth 0],"
"[0 0 iHeight iHeight] , bg);\npatch(logoX,logoY , fg);\n;plot([0 0 iWidth iWi"
"dth 0], [0 iHeight iHeight 0 0]);\n"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [5]
      Position		      [1180, 98, 1235, 302]
      Location		      [162, 70, 795, 731]
      Open		      off
      NumInputPorts	      "5"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"Pulse Generator"
	axes2			"BPSK"
	axes3			"BPSK+noise"
	axes4			"filter output"
	axes5			"Pulse Generator"
      }
      TimeRange		      "1500"
      YMin		      "-1~-2~-2~-2~-1"
      YMax		      "2~2~2~2~2"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [1]
      Position		      [1165, 348, 1220, 552]
      Location		      [87, 298, 994, 563]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"Pulse Generator"
      }
      TimeRange		      "1500"
      YMin		      "-1"
      YMax		      "2"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Sin
      Name		      "cos(wt)"
      Ports		      [0, 1]
      Position		      [20, 285, 50, 315]
      SineType		      "Sample based"
      Samples		      "100"
      Offset		      "25"
      SampleTime	      "1"
    }
    Line {
      SrcBlock		      "Pulse\nGenerator"
      SrcPort		      1
      Points		      [5, 0; 10, 0]
      Branch {
	Labels			[1, 0]
	DstBlock		"Gateway In"
	DstPort			1
      }
      Branch {
	Points			[0, -35]
	DstBlock		"Scope"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "cos(wt)"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	Points			[0, -100]
	DstBlock		"Gateway In1"
	DstPort			1
      }
      Branch {
	Points			[0, 0; 0, 65]
	DstBlock		"Gateway In4"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "MCode"
      SrcPort		      1
      DstBlock		      "Gateway Out"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Gateway In"
      SrcPort		      1
      Points		      [0, 25]
      DstBlock		      "MCode"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Gateway In1"
      SrcPort		      1
      Points		      [0, 0]
      Branch {
	DstBlock		"MCode"
	DstPort			2
      }
      Branch {
	Points			[0, 0]
	DstBlock		"Negate"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Gateway Out"
      SrcPort		      1
      Points		      [0, 0; 35, 0]
      Branch {
	DstBlock		"Canal con ruido"
	DstPort			1
      }
      Branch {
	Points			[0, -40]
	DstBlock		"Scope"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Canal con ruido"
      SrcPort		      1
      Points		      [0, 0; 5, 0]
      Branch {
	Points			[0, 40]
	DstBlock		"Gateway In3"

⌨️ 快捷键说明

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