📄 modelo_sts12_add_drop.mdl
字号:
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Medidor de BER"
Location [72, 206, 746, 449]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 43, 55, 57]
}
Block {
BlockType Inport
Name "In2"
Position [25, 93, 55, 107]
Port "2"
}
Block {
BlockType Reference
Name "Error Rate\nCalculation"
Ports [2, 1]
Position [280, 27, 380, 123]
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "0"
st_delay "0"
cp_mode "Entire frame"
subframe "[0.000125]"
PMode "Port"
WsName "ErrorVec"
RsMode2 "off"
stop "off"
numErr "100"
maxBits "1e6"
}
Block {
BlockType Reference
Name "Frame Status Conversion1"
Ports [1, 1]
Position [215, 88, 250, 112]
ShowName off
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort "off"
outframe "Frame-based"
}
Block {
BlockType Reference
Name "Frame Status Conversion2"
Ports [1, 1]
Position [215, 38, 250, 62]
ShowName off
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort "off"
outframe "Frame-based"
}
Block {
BlockType Reference
Name "Reshape"
Ports [1, 1]
Position [85, 38, 115, 62]
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "Row vector"
OutputDimensions "[1,1]"
}
Block {
BlockType Reference
Name "Reshape1"
Ports [1, 1]
Position [85, 88, 115, 112]
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "Row vector"
OutputDimensions "[1,1]"
}
Block {
BlockType Reference
Name "Transpose1"
Ports [1, 1]
Position [150, 40, 180, 60]
NamePlacement "alternate"
SourceBlock "dspmtrx3/Transpose"
SourceType "Transpose"
Hermitian "off"
}
Block {
BlockType Reference
Name "Transpose2"
Ports [1, 1]
Position [150, 90, 180, 110]
NamePlacement "alternate"
SourceBlock "dspmtrx3/Transpose"
SourceType "Transpose"
Hermitian "off"
}
Block {
BlockType Outport
Name "Out1"
Position [490, 68, 520, 82]
}
Line {
SrcBlock "Frame Status Conversion2"
SrcPort 1
DstBlock "Error Rate\nCalculation"
DstPort 1
}
Line {
SrcBlock "Frame Status Conversion1"
SrcPort 1
DstBlock "Error Rate\nCalculation"
DstPort 2
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Reshape"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Reshape1"
DstPort 1
}
Line {
SrcBlock "Error Rate\nCalculation"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Transpose1"
SrcPort 1
DstBlock "Frame Status Conversion2"
DstPort 1
}
Line {
SrcBlock "Transpose2"
SrcPort 1
DstBlock "Frame Status Conversion1"
DstPort 1
}
Line {
SrcBlock "Reshape"
SrcPort 1
DstBlock "Transpose1"
DstPort 1
}
Line {
SrcBlock "Reshape1"
SrcPort 1
DstBlock "Transpose2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Medidor de BER1"
Ports [2, 1]
Position [1845, 1634, 1920, 1701]
AncestorBlock "SoftTDMLib_Compacta/Medidores/Medidor de BER"
TreatAsAtomicUnit off
MaskType "Medidor BER (Tasa de error de bits)"
MaskDescription "Este bloque mide la tasa de error de bits que e"
"xiste entre el Transmisor y el Receptor, se puede utilizar tanto para medir s"
"e馻les en tramas como se馻les unidimensionales "
MaskDisplay "port_label('input',1,'Tx')\nport_label('input',"
"2,'Rx')\nport_label('output',1,'Salida')\nimage(imread('BER.jpg'))"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Medidor de BER1"
Location [72, 206, 703, 394]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 43, 55, 57]
}
Block {
BlockType Inport
Name "In2"
Position [25, 93, 55, 107]
Port "2"
}
Block {
BlockType Reference
Name "Error Rate\nCalculation"
Ports [2, 1]
Position [280, 27, 380, 123]
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "0"
st_delay "0"
cp_mode "Entire frame"
subframe "[0.000125]"
PMode "Port"
WsName "ErrorVec"
RsMode2 "off"
stop "off"
numErr "100"
maxBits "1e6"
}
Block {
BlockType Reference
Name "Frame Status Conversion1"
Ports [1, 1]
Position [215, 88, 250, 112]
ShowName off
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort "off"
outframe "Frame-based"
}
Block {
BlockType Reference
Name "Frame Status Conversion2"
Ports [1, 1]
Position [215, 38, 250, 62]
ShowName off
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort "off"
outframe "Frame-based"
}
Block {
BlockType Reference
Name "Reshape"
Ports [1, 1]
Position [85, 38, 115, 62]
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "Row vector"
OutputDimensions "[1,1]"
}
Block {
BlockType Reference
Name "Reshape1"
Ports [1, 1]
Position [85, 88, 115, 112]
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "Row vector"
OutputDimensions "[1,1]"
}
Block {
BlockType Reference
Name "Transpose1"
Ports [1, 1]
Position [150, 40, 180, 60]
NamePlacement "alternate"
SourceBlock "dspmtrx3/Transpose"
SourceType "Transpose"
Hermitian "off"
}
Block {
BlockType Reference
Name "Transpose2"
Ports [1, 1]
Position [150, 90, 180, 110]
NamePlacement "alternate"
SourceBlock "dspmtrx3/Transpose"
SourceType "Transpose"
Hermitian "off"
}
Block {
BlockType Outport
Name "Out1"
Position [490, 68, 520, 82]
}
Line {
SrcBlock "Reshape1"
SrcPort 1
DstBlock "Transpose2"
DstPort 1
}
Line {
SrcBlock "Reshape"
SrcPort 1
DstBlock "Transpose1"
DstPort 1
}
Line {
SrcBlock "Transpose2"
SrcPort 1
DstBlock "Frame Status Conversion1"
DstPort 1
}
Line {
SrcBlock "Transpose1"
SrcPort 1
DstBlock "Frame Status Conversion2"
DstPort 1
}
Line {
SrcBlock "Error Rate\nCalculation"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Reshape1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Reshape"
DstPort 1
}
Line {
SrcBlock "Frame Status Conversion1"
SrcPort 1
DstBlock "Error Rate\nCalculation"
DstPort 2
}
Line {
SrcBlock "Frame Status Conversion2"
SrcPort 1
DstBlock "Error Rate\nCalculation"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "MuxBytes_(12STS-1)\nUna_etapa"
Ports [12, 1]
Position [610, 427, 755, 1383]
SourceBlock "SoftTDMLib_Compacta/Multiplexores\nSONET/MUX ST"
"S-N/MuxBytes_(12STS-1)\nUna_etapa"
SourceType "MUX(bytes) \"Una Etapa\"(12 STS-1)"
}
Block {
BlockType Reference
Name "POH Rx"
Ports [2, 4]
Position [3400, 360, 3465, 410]
SourceBlock "SoftTDMLib_Compacta/Cabeceras (Overhead)/Cabece"
"ra SONET/POH Rx"
SourceType "Cabecera de Ruta (POH) Rx (SONET)"
}
Block {
BlockType Reference
Name "POH Rx1"
Ports [2, 4]
Position [3405, 445, 3470, 495]
SourceBlock "SoftTDMLib_Compacta/Cabeceras (Overhead)/Cabece"
"ra SONET/POH Rx"
SourceType "Cabecera de Ruta (POH) Rx (SONET)"
}
Block {
BlockType Reference
Name "POH Rx10"
Ports [2, 4]
Position [3410, 1210, 3475, 1260]
SourceBlock "SoftTDMLib_Compacta/Cabeceras (Overhead)/Cabece"
"ra SONET/POH Rx"
SourceType "Cabecera de Ruta (POH) Rx (SONET)"
}
Block {
BlockType Reference
Name "POH Rx11"
Ports [2, 4]
Position [3410, 1295, 3475, 1345]
SourceBlock "SoftTDMLib_Compacta/Cabeceras (Overhead)/Cabece"
"ra SONET/POH Rx"
SourceType "Cabecera de Ruta (POH) Rx (SONET)"
}
Block {
BlockType Reference
Name "POH Rx12"
Ports [2, 4]
Position [2705, 1220, 2770, 1270]
SourceBlock "SoftTDMLib_Compacta/Cabeceras (Overhead)/Cabece"
"ra SONET/POH Rx"
SourceType "Cabecera de Ruta (POH) Rx (SONET)"
}
Block {
BlockType Reference
Name "POH Rx2"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -