📄 utra_lib.mdl
字号:
"_decoding" SourceType "" sizes "sizes" CRC "crc" chCode "chCode" } Block { BlockType Reference Name "dl_RX_demodulation" Ports [4, 2, 0, 0, 0] Position [400, 562, 725, 728] Orientation "left" NamePlacement "alternate" FontName "helvetica" FontSize 14 SourceBlock "utra_lib/Modulation blocks/dl_RX_demodulat""ion" SourceType "" sizes "sizes" control "control" Inter_int_mode "Inter_int_mode" cols "cols" Intra_int_flag "Intra_int_flag" } Block { BlockType Reference Name "dl_TX_channel_coding" Ports [2, 1, 0, 0, 0] Position [270, 66, 600, 179] FontName "helvetica" FontSize 14 SourceBlock "utra_lib/Channel coding block/dl_TX_channel""_coding" SourceType "" sizes "sizes" CRC "crc" chCode "chCode" } Block { BlockType Reference Name "dl_TX_modulation" Ports [1, 2, 0, 0, 0] Position [645, 58, 970, 187] FontName "helvetica" FontSize 14 SourceBlock "utra_lib/Modulation blocks/dl_TX_modulatio""n" SourceType "" sizes "sizes" control "control" C "C" Inter_int_mode "Inter_int_mode" cols "cols" Intra_int_flag "Intra_int_flag" } Block { BlockType Reference Name "dl_rake" Ports [5, 4, 0, 0, 0] Position [760, 564, 1020, 726] Orientation "left" NamePlacement "alternate" FontName "helvetica" FontSize 14 FontWeight "bold" SourceBlock "utra_lib/Receivers/dl_rake" SourceType "" N_rake "chips_in_slot" nSlot "nSlot" nPilot "nPilot" th "0.1" nFin "1" C "C" } Line { SrcBlock "dl_TX_channel_coding" SrcPort 1 DstBlock "dl_TX_modulation" DstPort 1 } Line { SrcBlock "dl_RX_demodulation" SrcPort 2 DstBlock "dl_RX_channel_decoding" DstPort 2 } Line { SrcBlock "dl_RX_demodulation" SrcPort 1 DstBlock "dl_RX_channel_decoding" DstPort 1 } Line { SrcBlock "dl_rake" SrcPort 4 DstBlock "dl_RX_demodulation" DstPort 4 } Line { SrcBlock "dl_rake" SrcPort 3 DstBlock "dl_RX_demodulation" DstPort 3 } Line { SrcBlock "dl_rake" SrcPort 2 DstBlock "dl_RX_demodulation" DstPort 2 } Line { SrcBlock "dl_rake" SrcPort 1 DstBlock "dl_RX_demodulation" DstPort 1 } Line { SrcBlock "Channel estimator" SrcPort 2 Points [0, 130] DstBlock "dl_rake" DstPort 3 } Line { SrcBlock "Channel estimator" SrcPort 3 Points [0, 160] DstBlock "dl_rake" DstPort 4 } Line { SrcBlock "Channel estimator" SrcPort 1 Points [0, 100] DstBlock "dl_rake" DstPort 2 } Line { SrcBlock "data source 01 ..10" SrcPort 1 Points [0, 0] Branch { DstBlock "dl_TX_channel_coding" DstPort 1 } Branch { DstBlock "Delayed ber calculation" DstPort 1 } } Line { SrcBlock "Delayed ber calculation" SrcPort 1 DstBlock "To Workspace23" DstPort 1 } Line { SrcBlock "dl_RX_channel_decoding" SrcPort 1 Points [-55, 0; 0, -185] DstBlock "Delayed ber calculation" DstPort 2 } Line { SrcBlock "dl_RX_channel_decoding" SrcPort 2 DstBlock "To Workspace24" DstPort 1 } Line { SrcBlock "dl_TX_modulation" SrcPort 2 Points [155, 0] DstBlock "channel2" DstPort 2 } Line { SrcBlock "dl_TX_modulation" SrcPort 1 Points [90, 0] DstBlock "channel2" DstPort 1 } Line { SrcBlock "channel2" SrcPort 4 Points [0, 300] DstBlock "dl_rake" DstPort 5 } Line { SrcBlock "channel2" SrcPort 3 DstBlock "Channel estimator" DstPort 2 } Line { SrcBlock "channel2" SrcPort 2 DstBlock "Channel estimator" DstPort 1 } Line { SrcBlock "channel2" SrcPort 1 Points [0, 180] DstBlock "dl_rake" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "dl_TX_channel_coding" DstPort 2 } } } Block { BlockType SubSystem Name "DL_empty" Ports [0, 0, 0, 0, 0] Position [532, 35, 741, 217] Orientation "left" FontName "helvetica" ShowPortLabels on MaskPromptString "TX channel Type|Channel coding |Coding ratio "" |Spreading code length|Inter frame interleaver |Number of frames for int""er frame interleaver|Number of columns for inter frame interleaver |Intra fra""me interleaver (on or off)" MaskStyleString "popup(Dedicated Transport channel|Primary commo""n control|Secondary common control (FACH or PCH)),popup(Convolutional coding|""Turbo),popup(2|3),popup(4|8|16|32|64|128|256),popup(block interleaver|multist""age interleaver),edit,edit,checkbox" MaskTunableValueString "on,on,on,on,on,on,on,on" MaskCallbackString "|||||||" MaskEnableString "on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on" MaskVariables "tx_ch=@1;cType=@2;Kindex=@3;nC=@4;Inter_int_mod""e=@5;nFrames=@6;cols=@7;Intra_int_flag=@8;" MaskInitialization "nCode=2^(nC+1);\n % if you want to specify"" which code is used define ncode=[nCode index]\n[sizes,crc,chCode,C,control]=""dl_start(nCode,cType,Kindex,nFrames,tx_ch);\ninput_block_size=sizes(1);;bits_""in_frame=sizes(2);nFrames=sizes(3);\nnSlot=sizes(5); chips_in_slot=sizes(6);n""CRC=crc(1);crc_poly=crc(2);\ncType=chCode(1);K=chCode(2); nTail=chCode(3);ch_""poly=[chCode(4:6)];\nnPilot=control(1);TPC=control(2);TFI=control(3);" MaskDisplay "disp('EMPTY SUBSYSTEM MASK\\n\\nDOWNLINK\\n\\nT""ransportChannel\\n\\n\\n\\n\\n1 - Decicated transport \nchannel\\n2 - Primary"" common control channel\\n3 - Secondary common control channel')\ndisp(tx_ch)" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "Dedicated Transport channel|Convolutional codin""g|2|256|block interleaver|1|1|off" System { Name "DL_empty" Location [691, 80, 1582, 565] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on } } Block { BlockType SubSystem Name "DL_no channel" Ports [5, 4, 0, 0, 0] Position [770, 33, 1090, 217] FontName "helvetica" ShowPortLabels on MaskPromptString "TX channel Type|Channel coding |Coding ratio "" |Spreading code and it's index|Inter frame interleaver |Number of frames"" for inter frame interleaver|Number of columns for block inter frame interlea""ver |Intra frame interleaver (on or off)" MaskStyleString "popup(Dedicated Transport channel|Primary commo""n control|Secondary common control (FACH or PCH)),popup(Convolutional coding|""Turbo),popup(2|3),edit,popup(block interleaver|multistage interleaver),edit,e""dit,checkbox" MaskTunableValueString "on,on,on,on,on,on,on,on" MaskCallbackString "|||||||" MaskEnableString "on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on" MaskVariables "tx_ch=@1;cType=@2;Kindex=@3;CI=@4;Inter_int_mod""e=@5;nFrames=@6;cols=@7;Intra_int_flag=@8;" MaskInitialization "[sizes,crc,chCode,C,control]=dl_start(CI,cType,""Kindex,nFrames,tx_ch);\n % if you want to specify which code is used def""ine ncode=[nCode index]\ninput_block_size=sizes(1);bits_in_frame=sizes(2);nSl""ot=sizes(5);\nchips_in_slot=sizes(6);nCRC=crc(1);nPilot=control(1);" MaskDisplay "disp('NO CHANNEL\\n\\nDOWNLINK\\n\\nTransportCh""annel\\n\\n\\n\\n\\n1 - Decicated transport \nchannel\\n2 - Primary common co""ntrol channel\\n3 - Secondary common control channel')\ndisp(tx_ch)\nport_lab""el('input',1,'I-signal');\nport_label('input',2,'channel')\nport_label('input""',3,'delay')\nport_label('input',4,'channel length');\nport_label('input',5,'""Q-signal');\nport_label('output',1,'I-signal');\nport_label('output',2,'Q-sig""nal')\nport_label('output',3,'ber')\nport_label('output',4,'fer & crc');" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "Dedicated Transport channel|Convolutional codin""g|2|[256 128]|block interleaver|1|1|off" System { Name "DL_no channel" Location [67, 116, 1186, 749] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "I -signalI" Position [1010, 390, 1040, 400] Orientation "left" NamePlacement "alternate" Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "channel" Position [1015, 420, 1045, 430] Orientation "left" NamePlacement "alternate" Port "2" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "delay" Position [1010, 450, 1040, 460] Orientation "left" NamePlacement "alternate" Port "3" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "nTaps" Position [1010, 480, 1040, 490] Orientation "left" NamePlacement "alternate" Port "4" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "Q - signal" Position [1005, 510, 1035, 520] Orientation "left" Port "5" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Constant Name "Constant" Position [5, 106, 125, 134] ShowName off Value "input_block_size+nCRC" } Block { BlockType Reference Name "Delayed ber calculation1" Ports [2, 1, 0, 0, 0] Position [200, 182, 400, 278] SourceBlock "utra_lib/Test functions/Delayed ber calcula""tion" SourceType "Unknown" N "input_block_size" nFrames "nFrames" } Block { BlockType Reference Name "data source 01 ..10" Ports [0, 1, 0, 0, 0] Position [15, 43, 100, 87] ForegroundColor "green" ShowName off SourceBlock "utra_lib/Source blocks/data source 01 ..10" SourceType "koe" nFrames "nFrames" N "input_block_size" } Block { BlockType Reference Name "dl_RX_channel_decoding" Ports [2, 2, 0, 0, 0] Position [170, 391, 355, 529] Orientation "left" ForegroundColor "green" NamePlacement "alternate" ShowName off SourceBlock "utra_lib/Channel coding block/dl_RX_channel""_decoding" SourceType "Unknown" sizes "sizes" CRC "crc" chCode "chCode" } Block { BlockType Reference Name "dl_RX_demodulation" Ports [4, 2, 0, 0, 0] Position [425, 388, 605, 527] Orientation "left" ForegroundColor "yellow" SourceBlock "utra_lib/Modulation blocks/dl_RX_demodulat""ion" SourceType "Unknown" sizes "sizes" control "control" C "C" Inter_int_mode "Inter_int_mode" cols "cols" Intra_int_flag "Intra_int_flag" } Block { BlockType Reference Name "dl_TX_channel_coding" Ports [2, 1, 0, 0, 0] Position [205, 37, 375, 148] ForegroundColor "green" ShowName off SourceBlock "utra_lib/Channel coding block/dl_TX_channel""_coding" SourceType "Unknown" sizes "sizes" CRC "crc"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -