📄 cdma.mdl
字号:
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Digital\nFilter Design"
Ports [1, 1]
Position [470, 50, 510, 90]
BackgroundColor "cyan"
ShowName off
UserDataPersistent on
UserData "DataTag0"
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType ""
ShowPortLabels on
}
Block {
BlockType Reference
Name "Digital\nFilter Design1"
Ports [1, 1]
Position [470, 150, 510, 190]
BackgroundColor "orange"
ShowName off
UserDataPersistent on
UserData "DataTag1"
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType ""
ShowPortLabels on
}
Block {
BlockType Reference
Name "Digital\nFilter Design2"
Ports [1, 1]
Position [475, 365, 515, 405]
ShowName off
UserDataPersistent on
UserData "DataTag2"
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType ""
ShowPortLabels on
}
Block {
BlockType Display
Name "Display"
Ports [1]
Position [705, 29, 785, 91]
Decimation "1"
}
Block {
BlockType Display
Name "Display1"
Ports [1]
Position [710, 125, 790, 195]
Decimation "1"
}
Block {
BlockType Display
Name "Display2"
Ports [1]
Position [710, 341, 790, 409]
Decimation "1"
}
Block {
BlockType Reference
Name "Dot Product"
Ports [2, 1]
Position [270, 36, 300, 69]
BackgroundColor "cyan"
ShowName off
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
InputSameDT on
OutputDataTypeScalingMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
LockScale off
RndMeth "Floor"
DoSatur off
}
Block {
BlockType Reference
Name "Dot Product1"
Ports [2, 1]
Position [270, 176, 300, 209]
ShowName off
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
InputSameDT on
OutputDataTypeScalingMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
LockScale off
RndMeth "Floor"
DoSatur off
}
Block {
BlockType Reference
Name "Dot Product2"
Ports [2, 1]
Position [270, 106, 300, 139]
BackgroundColor "orange"
ShowName off
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
InputSameDT on
OutputDataTypeScalingMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
LockScale off
RndMeth "Floor"
DoSatur off
}
Block {
BlockType Reference
Name "Dot Product3"
Ports [2, 1]
Position [410, 51, 440, 84]
BackgroundColor "cyan"
ShowName off
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
InputSameDT on
OutputDataTypeScalingMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
LockScale off
RndMeth "Floor"
DoSatur off
}
Block {
BlockType Reference
Name "Dot Product4"
Ports [2, 1]
Position [415, 151, 445, 184]
BackgroundColor "orange"
ShowName off
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
InputSameDT on
OutputDataTypeScalingMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
LockScale off
RndMeth "Floor"
DoSatur off
}
Block {
BlockType Reference
Name "Dot Product6"
Ports [2, 1]
Position [415, 366, 445, 399]
ShowName off
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
InputSameDT on
OutputDataTypeScalingMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
LockScale off
RndMeth "Floor"
DoSatur off
}
Block {
BlockType Reference
Name "Error Rate\nCalculation"
Ports [2, 1]
Position [590, 39, 680, 81]
ShowName off
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "1"
st_delay "0"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType Reference
Name "Error Rate\nCalculation1"
Ports [2, 1]
Position [595, 139, 685, 181]
ShowName off
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "1"
st_delay "0"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType Reference
Name "Error Rate\nCalculation2"
Ports [2, 1]
Position [600, 354, 690, 396]
ShowName off
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "1"
st_delay "0"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType Reference
Name "Gaussian Noise\nGenerator"
Ports [0, 1]
Position [329, 300, 381, 330]
Orientation "up"
ForegroundColor "blue"
BackgroundColor "lightBlue"
NamePlacement "alternate"
ShowName off
FontName "Arial"
SourceBlock "commnoisgen2/Gaussian Noise\nGenerator"
SourceType "Gaussian Noise Generator"
ShowPortLabels on
m "0"
d "0.1"
s "12345"
Ts "2e-7"
frameBased off
sampPerFrame "1"
orient off
}
Block {
BlockType Reference
Name "PN Sequence\nGenerator"
Ports [0, 1]
Position [15, 300, 85, 340]
SourceBlock "commseqgen2/PN Sequence\nGenerator"
SourceType "PN Sequence Generator"
poly "[1 1 0 0 1]"
ini_sta "[0 1 0 0]"
shift "0"
Ts "2e-7"
frameBased off
sampPerFrame "10"
reset off
}
Block {
BlockType Relay
Name "Relay1"
Position [155, 350, 185, 380]
BackgroundColor "cyan"
ShowName off
OnSwitchValue "0.9"
OffSwitchValue "0.1"
OffOutputValue "-1"
SampleTime "2e-7"
}
Block {
BlockType Relay
Name "Relay2"
Position [155, 255, 185, 285]
ShowName off
OnSwitchValue "0.9"
OffSwitchValue "0.1"
OffOutputValue "-1"
SampleTime "2e-7"
}
Block {
BlockType Relay
Name "Relay3"
Position [130, 30, 160, 60]
BackgroundColor "cyan"
ShowName off
OnSwitchValue "0.9"
OffSwitchValue "0.1"
OffOutputValue "-1"
SampleTime "6e-6"
}
Block {
BlockType Relay
Name "Relay4"
Position [130, 100, 160, 130]
BackgroundColor "orange"
ShowName off
OnSwitchValue "0.9"
OffSwitchValue "0.1"
OffOutputValue "-1"
SampleTime "6e-6"
}
Block {
BlockType Relay
Name "Relay5"
Position [130, 170, 160, 200]
ShowName off
OnSwitchValue "0.9"
OffSwitchValue "0.1"
OffOutputValue "-1"
SampleTime "6e-6"
}
Block {
BlockType Relay
Name "Relay6"
Position [530, 55, 560, 85]
BackgroundColor "cyan"
ShowName off
OnSwitchValue "0.51"
OffSwitchValue "0.49"
OffOutputValue "-1"
SampleTime "6e-6"
}
Block {
BlockType Relay
Name "Relay7"
Position [530, 155, 560, 185]
BackgroundColor "orange"
ShowName off
OnSwitchValue "0.51"
OffSwitchValue "0.49"
OffOutputValue "-1"
SampleTime "6e-6"
}
Block {
BlockType Relay
Name "Relay8"
Position [535, 370, 565, 400]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -