📄 acquisition_theoretic.mdl
字号:
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
MaskParam1 "1/1.023e6"
}
Block {
BlockType Reference
Name "Counter"
Ports [1, 1]
Position [95, 594, 160, 636]
SourceBlock "dspswit3/Counter"
SourceType "Counter"
Direction "Up"
CountEvent "Rising edge"
CounterSize "User defined"
MaxCount "1022"
InitialCount "800"
Output "Count"
HitValue "32"
ResetInput off
SamplesPerFrame "1"
Ts "1"
CntDtype "double"
HitDtype "Logical"
}
Block {
BlockType Reference
Name "Counter1"
Ports [1, 1]
Position [95, 414, 160, 456]
SourceBlock "dspswit3/Counter"
SourceType "Counter"
Direction "Up"
CountEvent "Rising edge"
CounterSize "User defined"
MaxCount "1022"
InitialCount "513"
Output "Count"
HitValue "32"
ResetInput off
SamplesPerFrame "1"
Ts "1"
CntDtype "double"
HitDtype "Logical"
}
Block {
BlockType SubSystem
Name "Di (t)"
Ports [0, 1]
Position [35, 91, 105, 149]
FontSize 12
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskType "SVi navigation data equivalent"
MaskDescription "Generate Bernoulli-distributed random binary nu"
"mbers for SVi navigation data by specifying the random generator seed!"
MaskPromptString "Random generator seed"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "seed=@1;"
MaskDisplay "fprintf('Data Code\\nseed: %d',seed);"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "123"
System {
Name "Di (t)"
Location [106, 300, 438, 409]
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 Reference
Name "D(t)"
Ports [0, 1]
Position [15, 13, 95, 57]
DialogController "commDDGCreate"
DialogControllerArgs "DataTag10"
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
P "0.5"
seed "seed"
Ts "1/50"
frameBased off
sampPerFrame "1"
orient off
outDataType "double"
}
Block {
BlockType Outport
Name "Out1"
Position [275, 28, 305, 42]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "D(t)"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Di (t)1"
Ports [0, 1]
Position [35, 256, 105, 314]
FontSize 12
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskType "SVi navigation data equivalent"
MaskDescription "Generate Bernoulli-distributed random binary nu"
"mbers for SVi navigation data by specifying the random generator seed!"
MaskPromptString "Random generator seed"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "seed=@1;"
MaskDisplay "fprintf('Data Code\\nseed: %d',seed);"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "234"
System {
Name "Di (t)1"
Location [106, 300, 438, 409]
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 Reference
Name "D(t)"
Ports [0, 1]
Position [15, 13, 95, 57]
DialogController "commDDGCreate"
DialogControllerArgs "DataTag11"
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
P "0.5"
seed "seed"
Ts "1/50"
frameBased off
sampPerFrame "1"
orient off
outDataType "double"
}
Block {
BlockType Outport
Name "Out1"
Position [275, 28, 305, 42]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "D(t)"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Product
Name "Divide"
Ports [2, 1]
Position [785, 382, 815, 413]
Inputs "*/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Divide1"
Ports [2, 1]
Position [795, 562, 825, 593]
Inputs "*/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "DocBlock"
Ports []
Position [1072, 690, 1112, 729]
ShowName off
UserDataPersistent on
UserData "DataTag12"
SourceBlock "simulink/Model-Wide\nUtilities/DocBlock"
SourceType "DocBlock"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
DocumentType "Text"
}
Block {
BlockType Gain
Name "Gain"
Position [675, 415, 695, 445]
Gain "1/1024"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [675, 585, 690, 615]
Gain "1/2048"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Lookup
Name "LUT"
Position [185, 590, 235, 640]
InputValues "[0:1022]"
OutputValues "local_prn_table(i,:)"
LookUpMeth "Use Input Above"
OutDataTypeMode "Same as input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow off
SampleTime "-1"
LUTDesignTableMode "Redesign Table"
LUTDesignDataSource "Block Dialog"
LUTDesignFunctionName "sqrt(x)"
LUTDesignUseExistingBP on
LUTDesignRelError "0.01"
LUTDesignAbsError "1e-6"
}
Block {
BlockType Lookup
Name "LUT1"
Position [185, 410, 235, 460]
InputValues "[0:1022]"
OutputValues "local_prn_table(1,:)"
LookUpMeth "Use Input Above"
OutDataTypeMode "Same as input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow off
SampleTime "-1"
LUTDesignTableMode "Redesign Table"
LUTDesignDataSource "Block Dialog"
LUTDesignFunctionName "sqrt(x)"
LUTDesignUseExistingBP on
LUTDesignRelError "0.01"
LUTDesignAbsError "1e-6"
}
Block {
BlockType MagnitudeAngleToComplex
Name "MA2C"
Ports [1, 1]
Position [185, 709, 215, 741]
Input "Angle"
ConstantPart "1"
}
Block {
BlockType MinMax
Name "MinMax"
Ports [1, 1]
Position [615, 340, 645, 370]
Function "max"
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType MinMax
Name "MinMax1"
Ports [1, 1]
Position [615, 520, 645, 550]
Function "max"
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [125, 707, 155, 738]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [380, 647, 410, 678]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Raised Cosine\nReceive Filter"
Ports [1, 1]
Position [740, 58, 820, 102]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag13"
SourceBlock "commfilt2/Raised Cosine\nReceive Filter"
SourceType "Raised Cosine Receive Filter"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
filtType "Square root"
N "8"
D "4"
R "0.5"
sampMode "Frame-based"
rateMode "None"
downFactor "8"
downOffset "0"
checkGain "Normalized"
filterGain "1"
checkCoeff off
variableName "rcRxFilt"
launchFVT off
}
Block {
BlockType Reference
Name "Raised Cosine\nReceive Filter1"
Ports [1, 1]
Position [740, 188, 820, 232]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag14"
SourceBlock "commfilt2/Raised Cosine\nReceive Filter"
SourceType "Raised Cosine Receive Filter"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
filtType "Square root"
N "8"
D "4"
R "0.5"
sampMode "Frame-based"
rateMode "None"
downFactor "8"
downOffset "0"
checkGain "Normalized"
filterGain "1"
checkCoeff off
variableName "rcRxFilt1"
launchFVT off
}
Block {
BlockType Reference
Name "Raised Cosine\nTransmit Filter"
Ports [1, 1]
Position [430, 58, 510, 102]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag15"
SourceBlock "commfilt2/Raised Cosine\nTransmit Filter"
SourceType "Raised Cosine Transmit Filter"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
filtType "Square root"
D "4"
R "0.5"
sampMode "Frame-based"
N "8"
checkGain "Normalized"
filterGain "1"
checkCoeff off
variableName "rcTxFilt"
launchFVT off
}
Block {
BlockType Reference
Name "Raised Cosine\nTransmit Filter1"
Ports [1, 1]
Position [430, 188, 510, 232]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag16"
SourceBlock "commfilt2/Raised Cosine\nTransmit Filter"
SourceType "Raised Cosine Transmit Filter"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -