led.mdl
来自「Model illustrates the working of LED in 」· MDL 代码 · 共 1,531 行 · 第 1/5 页
MDL
1,531 行
"seband"
SourceType "Rectangular QAM Demodulator Baseband"
M "8"
PowType "Min. distance between symbols"
MinDist "2"
AvgPow "1"
PeakPow "1"
Ph "0"
Dec "Binary"
Mapping "[0:15]"
OutType "Integer"
DecType "Hard decision"
VarSource "Dialog"
Variance "1"
outDtype1 "Inherit via internal rule"
outDtype2 "Inherit via internal rule"
derotateFactorDTMode "Same word length as input"
derotateFactorWordLen "16"
denormFactorDTMode "Same word length as input"
denormFactorWordLen "16"
prodOutDTMode "Inherit via internal rule"
prodOutWordLen "32"
prodOutRoundingMode "Floor"
prodOutOverflowMode "Wrap"
sumDTMode "Inherit via internal rule"
sumWordLen "32"
}
Block {
BlockType Reference
Name "Rectangular QAM\nDemodulator\nBaseband2"
Ports [1, 1]
Position [245, 464, 310, 506]
DialogController "commDDGCreate"
DialogControllerArgs "DataTag4"
SourceBlock "commdigbbndam3/Rectangular QAM\nDemodulator\nBa"
"seband"
SourceType "Rectangular QAM Demodulator Baseband"
M "4"
PowType "Min. distance between symbols"
MinDist "2"
AvgPow "1"
PeakPow "1"
Ph "0"
Dec "Binary"
Mapping "[0:15]"
OutType "Integer"
DecType "Hard decision"
VarSource "Dialog"
Variance "1"
outDtype1 "Inherit via internal rule"
outDtype2 "Inherit via internal rule"
derotateFactorDTMode "Same word length as input"
derotateFactorWordLen "16"
denormFactorDTMode "Same word length as input"
denormFactorWordLen "16"
prodOutDTMode "Inherit via internal rule"
prodOutWordLen "32"
prodOutRoundingMode "Floor"
prodOutOverflowMode "Wrap"
sumDTMode "Inherit via internal rule"
sumWordLen "32"
}
Block {
BlockType Reference
Name "Rectangular QAM\nModulator\nBaseband"
Ports [1, 1]
Position [150, 205, 220, 245]
SourceBlock "commdigbbndam3/Rectangular QAM\nModulator\nBase"
"band"
SourceType "Rectangular QAM Modulator Baseband"
M "16"
InType "Integer"
Enc "Binary"
Mapping "[0:15]"
PowType "Min. distance between symbols"
MinDist "2"
AvgPow "1"
PeakPow "1"
Ph "0"
outDtype "double"
outWordLen "16"
outUDDataType "sfix(16)"
outFracLenMode "Best precision"
outFracLen "15"
}
Block {
BlockType Reference
Name "Rectangular QAM\nModulator\nBaseband1"
Ports [1, 1]
Position [150, 335, 220, 375]
SourceBlock "commdigbbndam3/Rectangular QAM\nModulator\nBase"
"band"
SourceType "Rectangular QAM Modulator Baseband"
M "8"
InType "Integer"
Enc "Binary"
Mapping "[0:15]"
PowType "Min. distance between symbols"
MinDist "2"
AvgPow "1"
PeakPow "1"
Ph "0"
outDtype "double"
outWordLen "16"
outUDDataType "sfix(16)"
outFracLenMode "Best precision"
outFracLen "15"
}
Block {
BlockType Reference
Name "Rectangular QAM\nModulator\nBaseband2"
Ports [1, 1]
Position [150, 465, 220, 505]
SourceBlock "commdigbbndam3/Rectangular QAM\nModulator\nBase"
"band"
SourceType "Rectangular QAM Modulator Baseband"
M "4"
InType "Integer"
Enc "Binary"
Mapping "[0:15]"
PowType "Min. distance between symbols"
MinDist "2"
AvgPow "1"
PeakPow "1"
Ph "0"
outDtype "double"
outWordLen "16"
outUDDataType "sfix(16)"
outFracLenMode "Best precision"
outFracLen "15"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [190, 35, 210, 55]
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "|++"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Line {
SrcBlock "Random Integer\nGenerator"
SrcPort 1
Points [15, 0; 0, 5]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Constant3"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [0, -25]
DstBlock "Manual Switch"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [20, 0; 0, 10]
DstBlock "Manual Switch"
DstPort 1
}
Line {
SrcBlock "Manual Switch"
SrcPort 1
Points [35, 0; 0, 30]
DstBlock "Multiport\nSwitch"
DstPort 1
}
Line {
SrcBlock "Rectangular QAM\nModulator\nBaseband"
SrcPort 1
DstBlock "Rectangular QAM\nDemodulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "Random Integer\nGenerator1"
SrcPort 1
DstBlock "Rectangular QAM\nModulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "Rectangular QAM\nModulator\nBaseband1"
SrcPort 1
DstBlock "Rectangular QAM\nDemodulator\nBaseband1"
DstPort 1
}
Line {
SrcBlock "Random Integer\nGenerator2"
SrcPort 1
DstBlock "Rectangular QAM\nModulator\nBaseband1"
DstPort 1
}
Line {
SrcBlock "Rectangular QAM\nModulator\nBaseband2"
SrcPort 1
DstBlock "Rectangular QAM\nDemodulator\nBaseband2"
DstPort 1
}
Line {
SrcBlock "Random Integer\nGenerator3"
SrcPort 1
DstBlock "Rectangular QAM\nModulator\nBaseband2"
DstPort 1
}
Line {
SrcBlock "Rectangular QAM\nDemodulator\nBaseband"
SrcPort 1
DstBlock "Multiport\nSwitch"
DstPort 2
}
Line {
SrcBlock "Rectangular QAM\nDemodulator\nBaseband1"
SrcPort 1
DstBlock "Multiport\nSwitch"
DstPort 3
}
Line {
SrcBlock "Rectangular QAM\nDemodulator\nBaseband2"
SrcPort 1
DstBlock "Multiport\nSwitch"
DstPort 4
}
Line {
SrcBlock "Multiport\nSwitch"
SrcPort 1
DstBlock "LED"
DstPort 1
}
}
}
MatData {
NumRecords 5
DataRecord {
Tag DataTag4
Data " %)30 . < 8 ( 0 % "
"\" $ ! 0 . 0 8 ( ! % \" $ "
"/ 0 0 #P %)104U$96UO9'5L871O<@ "
}
DataRecord {
Tag DataTag3
Data " %)30 . < 8 ( 0 % "
"\" $ ! 0 . 0 8 ( ! % \" $ "
"/ 0 0 #P %)104U$96UO9'5L871O<@ "
}
DataRecord {
Tag DataTag2
Data " %)30 . < 8 ( 0 % "
"\" $ ! 0 . 0 8 ( ! % \" $ "
"/ 0 0 #P %)104U$96UO9'5L871O<@ "
}
DataRecord {
Tag DataTag1
Data " %)30 . . 8 ( ! % "
"\" $ ( 0 0 \" '!R;V9I;&5R"
}
DataRecord {
Tag DataTag0
Data " %)30 . '0 8 ( @ % "
"\" $ ! 0 % 0 $0 $ #_ 8VAI<$EN9F\\ !M96T"
" &-A8VAE 8V-S0F]A<F1.86UE !C8W-0<F]C3F%M"
"90 &)O87)D5'EP90 :7-3:6UU;&%T;W( !E;F%B;&5(4U)41%@ "
"'9E<G-I;VY.=6UB97( 9'-P8FEO<P !L87-T17)R &-U<W1O;4"
"-O9&4 96YA8FQE1%-00DE/4U1A8@!25$]3 '!E<FEP:&5R86QS "
" X #P)@ !@ @ \" 4 ( 0 $ ! 4 ! "
"1 0 $,! !D979I8V5)1 &-O9&5G96YH;V]K<&]I;G0 ;&EB7VQE "
" !L:6)?8F4 &EN8P <W)C !P<"
"F5P<F]C &UV4W=I=&-H <W5B1F%M:6QY !C<'5#;&]C:U"
")A=&5-2'H &EN=$UE;0 ;G5M4V5C=&EO;G, !S96-T:6]N "
" &%L;&YA;65S ;G5M4E1/4P !25$]3 &ES0G5I"
";'1);@ 9&5S8W)I<'1I;VX !C;VYT96YT<P #@ #@ "
" & \" 0 !0 @ ! !0 $ $ 4 !#-C<Q,P "
" X X !@ @ $ 4 ( 0 4 ! ! % 0S"
"8P,# . < ( 8 ( 0 % \" $ % 0 . "
" 6 8 ( ! % \" $ H 0 0 * \"0H2"
"6YS=&%L;%]D:7(I7&,V,# P7&-S;%QL:6)<8W-L-C<Q,RYL:6(. 8 8 ( ! "
" % \" $ L 0 0 + \"0H26YS=&%L;%]D:7(I7&,V,# P7"
"&-G=&]O;'-<;&EB7')T<S8W,# N;&EB X !X !@ @ $ 4 ( "
" 0 $$ ! ! !! )\"A-051,04)?4D]/5\"E<=&]O;&)O>%QR='=<=&%R9"
"V5T<UQC8W-L:6YK7')T;&EB7&1S<%]R=%]C-C<Q,\"YL:6( #@ '@ & \" "
" 0 !0 @ ! 00 $ $ $$ D*$U!5$Q!0E]23T]4*5QT;"
"V]L8F]X7')T=UQT87)G971S7&-C<VQI;FM<<G1L:6)<<G1W7W)T7V,V-S$P+FQI8@ . "
" > 8 ( ! % \" $ !! 0 0 00 \"0H3"
"4%43$%\"7U)/3U0I7'1O;VQB;WA<<G1W7'1A<F=E='-<8V-S;&EN:UQR=&QI8EQV:7!?<G1?8S8W,"
"3 N;&EB X !X @ !@ @ ! 4 ( 0 4 ! "
" X !@ !@ @ $ 4 ( 0 \"D ! ! I "
" )\"A);G-T86QL7V1I<BE<8S8P,#!<8W-L7&QI8EQC<VPV-S$S92YL:6( #@ & "
" & \" 0 !0 @ ! +0 $ $ \"T D*$EN<W1A;"
"&Q?9&ER*5QC-C P,%QC9W1O;VQS7&QI8EQR=',V-S P92YL:6( . > 8 ( ! "
" % \" $ !\" 0 0 0@ \"0H34%43$%\"7U)/3U0I7'1"
"O;VQB;WA<<G1W7'1A<F=E='-<8V-S;&EN:UQR=&QI8EQD<W!?<G1?8S8W,3!E+FQI8@ X "
" !X !@ @ $ 4 ( 0 $( ! ! !\" )\"A"
"-051,04)?4D]/5\"E<=&]O;&)O>%QR='=<=&%R9V5T<UQC8W-L:6YK7')T;&EB7')T=U]R=%]C-C<"
"Q,&4N;&EB #@ '@ & \" 0 !0 @ ! 0@ $ "
" $ $( D*$U!5$Q!0E]23T]4*5QT;V]L8F]X7')T=UQT87)G971S7&-C<VQI;FM<<G1L"
":6)<=FEP7W)T7V,V-S$P92YL:6( . F 8 ( 0 % \" "
" $ ! 0 . : 8 ( ! % \" $ V "
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?