📄 yangming1.mdl
字号:
Position [390, 67, 455, 123]
UserDataPersistent on
UserData "DataTag0"
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType "Digital Filter Design"
ShowPortLabels on
mwdsp_browser_bugfix_var off
}
Block {
BlockType Reference
Name "Digital\nFilter Design2"
Ports [1, 1]
Position [395, 162, 460, 218]
UserDataPersistent on
UserData "DataTag1"
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType "Digital Filter Design"
ShowPortLabels on
mwdsp_browser_bugfix_var off
}
Block {
BlockType Reference
Name "Digital\nFilter Design3"
Ports [1, 1]
Position [835, 142, 900, 198]
UserDataPersistent on
UserData "DataTag2"
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType "Digital Filter Design"
ShowPortLabels on
mwdsp_browser_bugfix_var off
}
Block {
BlockType Reference
Name "Digital\nFilter Design4"
Ports [1, 1]
Position [825, 232, 890, 288]
UserDataPersistent on
UserData "DataTag3"
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType "Digital Filter Design"
ShowPortLabels on
mwdsp_browser_bugfix_var off
}
Block {
BlockType Reference
Name "Downsample"
Ports [1, 1]
Position [920, 143, 955, 177]
SourceBlock "dspsigops/Downsample"
SourceType "Downsample"
N "60"
phase "0"
ic "0"
smode "Allow multirate"
fmode "Maintain input frame size"
}
Block {
BlockType Reference
Name "Downsample1"
Ports [1, 1]
Position [925, 238, 960, 272]
SourceBlock "dspsigops/Downsample"
SourceType "Downsample"
N "60"
phase "0"
ic "0"
smode "Allow multirate"
fmode "Maintain input frame size"
}
Block {
BlockType Reference
Name "Error Rate\nCalculation"
Ports [2]
Position [1190, 312, 1265, 363]
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "0"
st_delay "0"
cp_mode "Entire frame"
subframe "[]"
PMode "Workspace"
WsName "ErrorVec"
RsMode2 off
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType Reference
Name "M-PSK\nDemodulator\nBaseband"
Ports [1, 1]
Position [1050, 30, 1125, 80]
SourceBlock "commdigbbndpm3/M-PSK\nDemodulator\nBaseband"
SourceType "M-PSK Demodulator Baseband"
M "8"
OutType "Integer"
Dec "Binary"
Ph "pi/8"
outDtype1 "double"
outDtype2 "double"
}
Block {
BlockType Reference
Name "M-PSK\nModulator\nBaseband"
Ports [1, 1]
Position [50, 54, 125, 106]
SourceBlock "commdigbbndpm3/M-PSK\nModulator\nBaseband"
SourceType "M-PSK Modulator Baseband"
M "8"
InType "Integer"
Enc "Binary"
Ph "pi/8"
outDtype "double"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [345, 322, 375, 353]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [350, 442, 380, 473]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [780, 142, 810, 173]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [770, 237, 800, 268]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Raised Cosine\nTransmit Filter"
Ports [1, 1]
Position [145, 143, 225, 187]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag4"
SourceBlock "commfilt2/Raised Cosine\nTransmit Filter"
SourceType "Raised Cosine Transmit Filter"
ShowPortLabels on
filtType "Square root"
D "16"
R "0.2"
sampMode "Sample-based"
N "4"
checkGain "Normalized"
filterGain "1"
checkCoeff off
variableName "rcTxFilt"
launchFVT off
}
Block {
BlockType Reference
Name "Random Integer\nGenerator"
Ports [0, 1]
Position [15, 268, 95, 312]
SourceBlock "commrandsrc2/Random Integer\nGenerator"
SourceType "Random Integer Generator"
ShowPortLabels on
mul "8"
seed "8"
Ts "1/400"
frameBased off
sampPerFrame "1"
orient off
outDataType "double"
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [1010, 178, 1040, 207]
}
Block {
BlockType Scope
Name "Scope"
Ports [2]
Position [1215, 566, 1245, 599]
Floating off
Location [5, 48, 1285, 989]
Open off
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
YMin "0~0"
YMax "10~10"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Reference
Name "Sine Wave"
Ports [0, 1]
Position [255, 348, 300, 392]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "1"
Frequency "1600"
Phase "pi/2"
SampleMode "Discrete"
OutComplex "Real"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/24000"
SamplesPerFrame "1"
additionalParams off
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Sine Wave1"
Ports [0, 1]
Position [575, 243, 620, 287]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "1"
Frequency "1600"
Phase "0"
SampleMode "Discrete"
OutComplex "Real"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/24000"
SamplesPerFrame "1"
additionalParams off
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Sine Wave2"
Ports [0, 1]
Position [625, 158, 670, 202]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "1"
Frequency "1600"
Phase "pi/2"
SampleMode "Discrete"
OutComplex "Real"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/24000"
SamplesPerFrame "1"
additionalParams off
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Sine Wave4"
Ports [0, 1]
Position [235, 473, 280, 517]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "1"
Frequency "1600"
Phase "0"
SampleMode "Discrete"
OutComplex "Real"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/24000"
SamplesPerFrame "1"
additionalParams off
allowOverrides on
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
ResetState "Restart at time zero"
}
Block {
BlockType Sum
Name "Sum of\nElements"
Ports [2, 1]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -