📄 tr_mods_ss.mdl
字号:
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Filter"
Location [550, 221, 857, 397]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 43, 55, 57]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Reference
Name "Analog\nButterworth\nLP Filter"
Ports [1, 1]
Position [80, 25, 125, 75]
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Butterworth"
filttype "Lowpass"
N "5"
Wlo "2*pi*400000"
Whi "2*pi*600000"
Rp "2"
Rs "40"
}
Block {
BlockType Gain
Name "Gain"
Position [180, 35, 210, 65]
Gain "3"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Analouge Signal "
Position [235, 43, 265, 57]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "To Spectrum"
Position [245, 108, 275, 122]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Analouge Signal "
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Analog\nButterworth\nLP Filter"
DstPort 1
}
Line {
SrcBlock "Analog\nButterworth\nLP Filter"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, 65]
DstBlock "To Spectrum"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "Multiplixer"
Ports [3, 1]
Position [510, 145, 635, 215]
ForegroundColor "gray"
BackgroundColor "gray"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Multiplixer"
Location [678, 192, 1205, 437]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Input A"
Position [100, 28, 130, 42]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Input B"
Position [95, 128, 125, 142]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Contorl"
Position [25, 178, 55, 192]
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType CombinatorialLogic
Name "Combinatorial \nLogic"
Position [195, 170, 225, 200]
TruthTable "[1;0]"
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion"
Position [80, 168, 155, 202]
OutDataType "sfix(16)"
OutScaling "2^0"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [2, 1]
Position [260, 26, 295, 64]
AllPortsSameDT off
OutDataTypeMode "boolean"
OutDataTypeStr "boolean"
}
Block {
BlockType Logic
Name "Logical\nOperator1"
Ports [2, 1]
Position [260, 126, 305, 159]
AllPortsSameDT off
OutDataTypeMode "boolean"
OutDataTypeStr "boolean"
}
Block {
BlockType Sum
Name "S2"
Ports [2, 1]
Position [360, 77, 375, 108]
ForegroundColor "blue"
OutDataTypeMode "double"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "double"
}
Block {
BlockType Outport
Name "Mux_out"
Position [455, 88, 485, 102]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Contorl"
SrcPort 1
DstBlock "Data Type Conversion"
DstPort 1
}
Line {
SrcBlock "Input B"
SrcPort 1
DstBlock "Logical\nOperator1"
DstPort 1
}
Line {
SrcBlock "Input A"
SrcPort 1
DstBlock "Logical\nOperator"
DstPort 1
}
Line {
SrcBlock "S2"
SrcPort 1
DstBlock "Mux_out"
DstPort 1
}
Line {
SrcBlock "Data Type Conversion"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, -130]
DstBlock "Logical\nOperator"
DstPort 2
}
Branch {
DstBlock "Combinatorial \nLogic"
DstPort 1
}
}
Line {
SrcBlock "Combinatorial \nLogic"
SrcPort 1
Points [5, 0; 0, -35]
DstBlock "Logical\nOperator1"
DstPort 2
}
Line {
SrcBlock "Logical\nOperator1"
SrcPort 1
Points [15, 0; 0, -45]
DstBlock "S2"
DstPort 2
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
Points [25, 0; 0, 40]
DstBlock "S2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Multiplixer1"
Ports [2, 1]
Position [510, 257, 635, 328]
ForegroundColor "gray"
BackgroundColor "gray"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Multiplixer1"
Location [318, 234, 845, 479]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Input A"
Position [100, 28, 130, 42]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Contorl"
Position [25, 178, 55, 192]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType CombinatorialLogic
Name "Combinatorial \nLogic"
Position [195, 170, 225, 200]
TruthTable "[1;0]"
}
Block {
BlockType Constant
Name "Control B"
Position [105, 123, 120, 147]
ShowName off
Value "0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion"
Position [80, 168, 155, 202]
OutDataType "sfix(16)"
OutScaling "2^0"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [2, 1]
Position [260, 26, 295, 64]
AllPortsSameDT off
OutDataTypeMode "boolean"
OutDataTypeStr "boolean"
}
Block {
BlockType Logic
Name "Logical\nOperator1"
Ports [2, 1]
Position [260, 126, 305, 159]
AllPortsSameDT off
OutDataTypeMode "boolean"
OutDataTypeStr "boolean"
}
Block {
BlockType Sum
Name "S2"
Ports [2, 1]
Position [360, 77, 375, 108]
ForegroundColor "blue"
OutDataTypeMode "double"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "double"
}
Block {
BlockType Outport
Name "Mux_out"
Position [455, 88, 485, 102]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Contorl"
SrcPort 1
DstBlock "Data Type Conversion"
DstPort 1
}
Line {
SrcBlock "Control B"
SrcPort 1
DstBlock "Logical\nOperator1"
DstPort 1
}
Line {
SrcBlock "Input A"
SrcPort 1
DstBlock "Logical\nOperator"
DstPort 1
}
Line {
SrcBlock "S2"
SrcPort 1
DstBlock "Mux_out"
DstPort 1
}
Line {
SrcBlock "Data Type Conversion"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, -130]
DstBlock "Logical\nOperator"
DstPort 2
}
Branch {
DstBlock "Combinatorial \nLogic"
DstPort 1
}
}
Line {
SrcBlock "Combinatorial \nLogic"
SrcPort 1
Points [5, 0; 0, -35]
DstBlock "Logical\nOperator1"
DstPort 2
}
Line {
SrcBlock "Logical\nOperator1"
SrcPort 1
Points [15, 0; 0, -45]
DstBlock "S2"
DstPort 2
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
Points [25, 0; 0, 40]
DstBlock "S2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Mux"
Ports [3, 1]
Position [710, 160, 830, 270]
BackgroundColor "cyan"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Mux"
Location [510, 444, 1220, 672]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "No_shift"
Position [15, 28, 45, 42]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Shift-180"
Position [15, 128, 45, 142]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Data_input"
Position [20, 178, 50, 192]
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType CombinatorialLogic
Name "Combinatorial \nLogic"
Position [230, 170, 260, 200]
TruthTable "[1;0]"
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion"
Position [115, 168, 190, 202]
OutDataType "sfix(16)"
OutScaling "2^0"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [430, 80, 460, 110]
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [2, 1]
Position [295, 26, 330, 64]
AllPortsSameDT off
OutDataTypeMode "boolean"
OutDataTypeStr "boolean"
}
Block {
BlockType Logic
Name "Logical\nOperator1"
Ports [2, 1]
Position [295, 126, 340, 159]
AllPortsSameDT off
OutDataTypeMode "boolean"
OutDataTypeStr "boolean"
}
Block {
BlockType Sum
Name "S2"
Ports [2, 1]
Position [395, 77, 410, 108]
ForegroundColor "blue"
OutDataTypeMode "double"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "double"
}
Block {
BlockType Outport
Name "Out1"
Position [485, 88, 515, 102]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Data_input"
SrcPort 1
DstBlock "Data Type Conversion"
DstPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -