📄 sig_test.mdl
字号:
Name "PN Spectrum1"
Ports [1]
Position [675, 339, 715, 391]
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ShowPortLabels off
ScopeProperties on
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "1024"
Overlap "32"
inpFftLenInherit on
FFTlength "1024"
numAvg "32"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[232 246 560 420]"
AxisProperties off
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-73.5792583669675"
YMax "0.180839501337596"
YLabel "Magnitude-squared, dB"
LineProperties off
LineStyles "-"
LineMarkers "None"
LineColors "[0 0 1]"
wintypeSpecScope "Hann"
RsSpecScope "50"
betaSpecScope "5"
winsampSpecScope "Periodic"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
Ports [0, 1]
Position [385, 478, 430, 512]
PulseType "Time based"
Period "100*Ts"
PulseWidth "90"
}
Block {
BlockType Reference
Name "Resource Estimator"
Tag "resEstTag"
Ports []
Position [655, 780, 708, 833]
ShowName off
AttributesFormatString "Resource\\nEstimator"
FontName "Arial"
SourceBlock "xbsIndex_r3/Resource Estimator"
SourceType "Xilinx Resource Estimator Block"
ShowPortLabels on
xl_estimator_area "[122 78 0 117 2 0 0]"
xl_use_estimator_area off
simulink_period "1"
mrp_directory "./sysgenADCDACysgen"
}
Block {
BlockType SubSystem
Name "Signal Builder"
Tag "STV Subsys"
Ports [0, 1]
Position [40, 350, 115, 390]
CopyFcn "sigbuilder_block('copy');"
DeleteFcn "sigbuilder_block('delete');"
LoadFcn "sigbuilder_block('load',[50 50 520 400 ]);"
ModelCloseFcn "sigbuilder_block('modelClose');"
PreSaveFcn "sigbuilder_block('preSave');"
StartFcn "sigbuilder_block('start');"
StopFcn "sigbuilder_block('stop');"
NameChangeFcn "sigbuilder_block('namechange');"
ClipboardFcn "sigbuilder_block('clipboard');"
OpenFcn "sigbuilder_block('open',[50 50 520 400 ]);"
CloseFcn "sigbuilder_block('close');"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "Sigbuilder block"
MaskDescription "Sigbuilder GUI"
MaskInitialization "if ~strcmp(get_param(bdroot(gcbh),'SimulationSt"
"atus'),'stopped') tuvar = sigbuilder_block('maskInit'); end"
MaskDisplay "plot(0,0,100,100,[10,10,40,40,10],[80,20,20,80,"
"80],[40,10],[50,50], [40,27,10],[65,72,56],[40,25,25,10],[28,28,43,43]);"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "port"
MaskIconUnits "autoscale"
System {
Name "Signal Builder"
Location [480, 85, 980, 386]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Demux
Name "Demux"
Tag "STV Demux"
Ports [1, 1]
Position [150, 42, 160, 618]
Outputs "1"
}
Block {
BlockType FromWorkspace
Name "FromWs"
Tag "STV FromWs"
Position [30, 300, 115, 350]
VariableName "tuvar"
SampleTime "0"
SigBuilderData "DataTag1"
VnvData "DataTag2"
}
Block {
BlockType Outport
Name "Signal 2"
Tag "STV Outport"
Position [280, 30, 300, 40]
IconDisplay "Port number"
}
Line {
SrcBlock "FromWs"
SrcPort 1
Points [15, 0]
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Signal 2"
DstPort 1
}
}
}
Block {
BlockType Sin
Name "Sine Wave"
Ports [0, 1]
Position [520, 455, 550, 485]
SineType "Time based"
Frequency "2*pi/(100*Ts)"
SampleTime "0"
}
Block {
BlockType Scope
Name "test\n1"
Ports [4]
Position [635, 104, 695, 251]
Location [5, 49, 1029, 743]
Open off
NumInputPorts "4"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "RC Network Output"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
TimeRange "131072"
YMin "1.5e+006~-2e-009~1.5e+006~-2000"
YMax "3.5e+006~2.5e-010~3.5e+006~2000"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
MaxDataPoints "5000000"
}
Line {
SrcBlock "Add"
SrcPort 1
Points [10, 0]
Branch {
Points [0, -170]
DstBlock "test\n1"
DstPort 3
}
Branch {
Points [30, 0; 220, 0]
Branch {
Points [0, -135]
DstBlock "test\n1"
DstPort 4
}
Branch {
DstBlock "PN Spectrum1"
DstPort 1
}
}
}
Line {
SrcBlock "Signal Builder"
SrcPort 1
Points [85, 0]
Branch {
DstBlock "Add"
DstPort 2
}
Branch {
Points [0, -210]
DstBlock "test\n1"
DstPort 2
}
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [65, 0]
Branch {
Points [0, 100]
DstBlock "Add"
DstPort 1
}
Branch {
Points [0, -130]
DstBlock "test\n1"
DstPort 1
}
}
Annotation {
Name "Demonstration of A/D and Delta-Sigma D/A\nConve"
"rsion"
Position [580, 696]
FontName "Arial"
FontSize 24
}
Annotation {
Name "50kHz\nSample Rate"
Position [332, 759]
}
Annotation {
Name "25kHz\nSample Rate"
Position [487, 754]
}
}
}
MatData {
NumRecords 3
DataRecord {
Tag DataTag2
Data " %)30 . R , 8 ( @ % "
"\" $ ! 0 % 0 $0 $ #, =F5R:69Y0FQK4&%T:', !V97)I"
"9GE\";&M(86YD;&5S '9N=DUG<DED> 86-T:79E1W)O=7 !R97%$:7-P4')C"
";G0 &)L:T1I<W!-;V1E 9W)O=7!#;G0 !G<F]U<%)E<4-N= "
"&=R;W5P1$]/4E-I9 ;6]D96Q( !B;&]C:T@ &]V97)I9&"
"53971T:6YG<P X P !@ @ & 4 ( ! "
" D #@ # & \" 8 !0 @ $ "
" \"0 . , 8 ( !@ % \" 0 "
" ) X X !@ @ & 4 ( 0 $ ! "
" D ( \\#\\. , 8 ( !@ % \" "
" 0 ) X P !@ @ & 4 ( "
" ! D #@ #@ & \" 8 !0 @ ! 0 "
"$ \"0 @ #P/PX P !@ @ & 4 ( "
" ! D #@ # & \" 8 !0 @ "
" $ \"0 . . 8 ( !@ % \" $ "
" ! 0 ) \" ' *) #@ #@ & \" 8 !0 "
" @ ! 0 $ \"0 @ \"P F2B0 X P !@ @ & "
" 4 ( ! D "
}
DataRecord {
Tag DataTag1
Data " %)30 . J H 8 ( @ % "
"\" $ ! 0 % 0 # $ !( 9W)I9%-E='1I;F< 8VAA;FYE;', "
" 87AE<P 8V]M;6]N 9&%T85-E= 9&%T85-E=$ED> #@ # "
" & \" 0 !0 @ ! @ $ $ \" &]N . ^ 0 "
" 8 ( @ % \" $ ! 0 % 0 \"@ $ \"\" "
" >$1A=&$ 'E$871A !S=&5P6 <W1E<%D 'E-:6X !Y36%X "
" 8V]L;W( &QI;F53='EL90!L:6YE5VED=&@ ;&%B96P &]U=$EN9&5X !A;&Q"
"81&%T80 86QL641A=&$ X !@ !@ @ & 4 ( 0 "
" 8 ! D P \";F9F9F9D30)N9F9F9F1- 0 %$ ! "
" 40 \"1 #@ & & \" 8 !0 @ ! !@ $ "
" \"0 # FIF9F9F9N;^:F9F9F9FYOP "
" . . 8 ( !@ % \" $ ! 0 ) \" "
" #@ #@ & \" 8 !0 @ ! 0 $ "
" \"0 @ X P !@ @ & 4 ( "
" ! D #@ # & \" 8 !0 @ "
"$ \"0 . 2 8 ( !@ % \" $ # "
"0 ) & -B!<T:4]N8_ #8@7-&E/;F/PX P !@ @ $ "
" 4 ( 0 $ ! ! 0 M #@ #@ & \" 8 "
" !0 @ ! 0 $ \"0 @ #X/PX X !@ "
"@ $ 4 ( 0 @ ! ! ( 4VEG;F%L(#(. . "
" 8 ( !@ % \" $ ! 0 ) \" /"
" _#@ ) & \" $ !0 @ ! 0 $ #@ & "
" & \" 8 !0 @ ! !@ $ \"0 # "
")N9F9F9F1- FYF9F9F9$T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
" ! 3 +B]S>7-G96Y!1$-$04-Y<V=E;@ #@ # & \" 0 "
" !0 @ ! @ $ $ \" &]N . , 8 ( ! "
" % \" $ # 0 0 , -BXX X !( !@ @ $ "
" 4 ( 0 !@ ! ! 8 06-C;W)D:6YG('1O($)L;V-K($UA<VMS#@"
" # & \" 0 !0 @ ! P $ $ # &]F9@ . "
" , 8 ( ! % \" $ ! 0 0 $ , X "
" P !@ @ $ 4 ( ! ! #@ # "
" & \" 0 !0 @ ! ! $ $ $ %9(1$P. > @"
" 8 ( @ % \" $ ! 0 % 0 # $ 8 "
" <VAA<F5D 8V]M<&EL871I;VX #@ ( # & \" ( !0 @ "
"! 0 $ !0 $ !, ! A0 &-O;7!I;&%T:6]N !C;VUP:6QA"
"=&EO;E]L=70 <VEM=6QI;FM?<&5R:6]D &EN8W)?;F5T;&ES= !T<FEM7W9B:"
"71S 9&)L7V]V<F0 &1E<')E8V%T961?8V]N=')O; . . "
" 8 ( ! % \" $ ' 0 0 !P '1A<F=E=#"
"$ #@ # ! & \" ( !0 @ ! 0 $ !0 $ < "
" ! #@ &ME>7, !V86QU97, . < 8 ( 0 % \" "
"$ ! 0 . 0 8 ( ! % \" $ + 0"
" 0 \"P $A$3\"!.971L:7-T . : 8 ( 0 % "
" \" $ ! 0 . . 8 ( ! % \" $ "
" ' 0 0 !P '1A<F=E=#$ #@ # & \" 0 !0 "
" @ ! 0 $ $ ! #$ . , 8 ( ! % "
"\" $ # 0 0 , ;V9F X !( !@ @ $ 4 ("
" 0 !< ! ! 7 179E<GEW:&5R92!I;B!3=6)3>7-T96T #@ $@ "
" & \" 0 !0 @ ! & $ $ !@ !!8V-O<F1I;"
"F<@=&\\@0FQO8VL@36%S:W,. , 8 ( ! % \" $ # "
" 0 0 , ;V9F X \"8! !@ @ \" 4 ( 0 $ "
"! 4 ! ( 0 @ !T87)G970Q X !0! !@ @ \" 4"
" ( 0 $ ! 4 ! 3 0 /< !X:6QI;GAF86UI;'D "
"<&%R= '-P965D !P86-K86=E <"
"WEN=&AE<VES7W1O;VP &1I<F5C=&]R>0 !T97-T8F5N8V@ <W"
"ES8VQK7W!E<FEO9 &-O<F5?9V5N97)A=&EO;@ !R=6Y?8V]R96=E;@ 979"
"A;%]F:65L9 &-L;V-K7VQO8P !S>6YT:&5S:7-?;&%N9W5A9V4 X "
" X !@ @ $ 4 ( 0 @ ! ! ( 4W!A<"
"G1A;C(. . 8 ( ! % \" $ & 0 0 !"
"@ 'AC,G,Q-0 #@ # & \" 0 !0 @ ! @ $ "
" $ \" \"TV . . 8 ( ! % \" $ % 0 "
" 0 !0 &-S,30T #@ # & \" 0 !0 @ ! P "
" $ $ # %A35 . 2 8 ( ! % \" $ 3 "
" 0 0 $P \"XO<WES9V5N041#1$%#>7-G96X X P !@ @ "
"$ 4 ( 0 ( ! ! @!O;@ #@ # & \" 0"
" !0 @ ! P $ $ # #8N. . 2 8 ( ! "
" % \" $ 8 0 0 & $%C8V]R9&EN9R!T;R!\";&]C:R!"
"-87-K<PX P !@ @ $ 4 ( 0 , ! ! P!O"
"9F8 #@ # & \" 0 !0 @ ! 0 $ $ ! # "
" . , 8 ( ! % \" 0 0 "
" X P !@ @ $ 4 ( 0 0 ! ! ! !62$1,"
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -