📄 qpsk_mod_const_freq.mdl
字号:
"led and held on positve edge)"
axes6 "registered odd data stream (sampl"
"ed and held on negaitve edge)"
axes7 "registered odd data stream (re-re"
"gistered on positive edge)"
}
YMin "-5~-5~-5~-5~-5~-5~-5"
YMax "5~5~5~5~5~5~5"
SaveName "ScopeData20"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "ser_to_prll"
Ports [7]
Position [835, 16, 880, 174]
Location [1, 50, 1025, 737]
Open off
NumInputPorts "7"
List {
ListType AxesTitles
axes1 "clock"
axes2 "serial data"
axes3 "even data stream"
axes4 "odd data stream"
axes5 "registered even data stream (samp"
"led and held on negaitve edge)"
axes6 "registered even data stream (re-r"
"egistered on positive edge) "
axes7 "registered odd data stream (sampl"
"ed and held on positve edge)"
}
TimeRange "10"
YMin "-5~-5~-5~-5~-5~-5~-5"
YMax "5~5~5~5~5~5~5"
SaveName "ScopeData10"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Outport
Name "odd bit stream"
Position [930, 188, 960, 202]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "even bit stream"
Position [935, 293, 965, 307]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Data Type Conversion1"
DstPort 1
}
Branch {
Points [0, -125]
DstBlock "ser_to_prll"
DstPort 2
}
}
Line {
SrcBlock "In2"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Data Type Conversion"
DstPort 1
}
Branch {
Points [0, -210]
DstBlock "ser_to_prll"
DstPort 1
}
}
Line {
SrcBlock "NOT gate"
SrcPort 1
Points [25, 0; 0, -5]
Branch {
Points [0, -45]
DstBlock "Logical\nOperator"
DstPort 2
}
Branch {
Points [0, 220; 210, 0; 0, -145]
DstBlock "D Flip-Flop1"
DstPort 2
}
}
Line {
SrcBlock "Data Type Conversion1"
SrcPort 1
Points [0, 0; 90, 0]
Branch {
DstBlock "Logical\nOperator"
DstPort 1
}
Branch {
Points [0, 100]
DstBlock "Logical\nOperator1"
DstPort 1
}
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
Points [40, 0]
Branch {
DstBlock "D Flip-Flop"
DstPort 1
}
Branch {
Points [0, -95]
DstBlock "ser_to_prll"
DstPort 4
}
}
Line {
SrcBlock "Logical\nOperator1"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "D Flip-Flop1"
DstPort 1
}
Branch {
Points [0, -215]
DstBlock "ser_to_prll"
DstPort 3
}
}
Line {
SrcBlock "Data Type Conversion"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "NOT gate"
DstPort 1
}
Branch {
Points [0, 45]
Branch {
Points [0, 5]
DstBlock "Logical\nOperator1"
DstPort 2
}
Branch {
Points [0, 205; 290, 0; 0, -60]
Branch {
DstBlock "D Flip-Flop"
DstPort 2
}
Branch {
Points [0, 60; 155, 0; 0, -175]
DstBlock "D Flip-Flop2"
DstPort 2
}
}
}
}
Line {
SrcBlock "D Flip-Flop"
SrcPort 1
Points [265, 0]
Branch {
DstBlock "odd bit stream"
DstPort 1
}
Branch {
Points [0, -40]
DstBlock "ser_to_prll"
DstPort 7
}
}
Line {
SrcBlock "Constant1"
SrcPort 1
DstBlock "D Flip-Flop1"
DstPort 3
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "D Flip-Flop"
DstPort 3
}
Line {
SrcBlock "Constant2"
SrcPort 1
DstBlock "D Flip-Flop2"
DstPort 3
}
Line {
SrcBlock "D Flip-Flop2"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "even bit stream"
DstPort 1
}
Branch {
Points [0, -165]
DstBlock "ser_to_prll"
DstPort 6
}
}
Line {
SrcBlock "D Flip-Flop1"
SrcPort 1
Points [45, 0]
Branch {
DstBlock "D Flip-Flop2"
DstPort 1
}
Branch {
Points [5, 0; 0, -180]
DstBlock "ser_to_prll"
DstPort 5
}
}
Annotation {
Name "data type convertor required \nconv"
"ert bit type into boolean\n"
Position [71, 139]
ForegroundColor "red"
BackgroundColor "yellow"
}
Annotation {
Name "NOT gate \nimplemented \nusing trut"
"h table"
Position [231, 324]
ForegroundColor "red"
BackgroundColor "yellow"
}
Annotation {
Name "DFF used to hold \nbits constant fo"
"r \ntwo bit periods"
Position [606, 239]
ForegroundColor "red"
BackgroundColor "yellow"
}
Annotation {
Name "Both outputs are \nregistered at th"
"e \nsame clock edge\nto align the two \ndata streams\n"
Position [946, 99]
ForegroundColor "red"
BackgroundColor "yellow"
FontName "Arial"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "Serial data is \ndenultiplexed and "
"\ndemultiplexed data \nstreams are registered\n\nTwo AND gates \nwith a NOT g"
"ate \nform a DEMUX "
Position [361, 389]
ForegroundColor "red"
BackgroundColor "yellow"
}
Annotation {
Name "even bit stream first registered \n"
"on negative edge and then on \npositive edge to allign \nwith the odd bit str"
"eam"
Position [731, 409]
ForegroundColor "red"
BackgroundColor "yellow"
}
Annotation {
Name "odd bit sream is \nregistered only "
"once \nin positive edge"
Position [496, 144]
ForegroundColor "red"
BackgroundColor "yellow"
}
}
}
Block {
BlockType Outport
Name "even_out"
Position [490, 278, 520, 292]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "odd_out"
Position [490, 148, 520, 162]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "data_ser"
Position [175, 18, 205, 32]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "ser_prll"
SrcPort 2
Points [15, 0]
Branch {
DstBlock "even_out"
DstPort 1
}
Branch {
Points [0, -195]
DstBlock "Scope"
DstPort 3
}
}
Line {
SrcBlock "clock\nsource"
SrcPort 1
Points [80, 0]
Branch {
DstBlock "ser_prll"
DstPort 2
}
Branch {
Points [0, -235]
DstBlock "Scope"
DstPort 1
}
}
Line {
SrcBlock "ser_prll"
SrcPort 1
Points [50, 0]
Branch {
DstBlock "odd_out"
DstPort 1
}
Branch {
Points [0, -45]
DstBlock "Scope"
DstPort 4
}
}
Line {
SrcBlock "data source"
SrcPort 1
Points [35, 0]
Branch {
Points [0, -130]
DstBlock "data_ser"
DstPort 1
}
Branch {
Points [45, 0]
Branch {
DstBlock "ser_prll"
DstPort 1
}
Branch {
Points [0, -85]
DstBlock "Scope"
DstPort 2
}
}
}
Annotation {
Name "bit period of the data \nis equal to ha"
"lf the \nclock period\n"
Position [71, 104]
ForegroundColor "red"
BackgroundColor "yellow"
}
Annotation {
Name "clock is used as both \nthe triger for "
"D-flop and \nselector signal for the \ndemultiplexor"
Position [66, 354]
ForegroundColor "red"
BackgroundColor "yellow"
}
Annotation {
Name "registered parallel data \nappears one "
"clock later"
Position [606, 84]
ForegroundColor "red"
BackgroundColor "yellow"
}
}
}
Block {
BlockType Scope
Name "odd"
Ports [3]
Position [710, 494, 740, 526]
Location [5, 54, 1021, 733]
Open off
NumInputPorts "3"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
TimeRange "5"
YMin "-5~-5~-5"
YMax "5~5~5"
SaveName "ScopeData13"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "prod_even"
Ports [1]
Position [695, 123, 725, 157]
Location [5, 54, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "5"
SaveName "ScopeData14"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "prod_odd"
Ports [1]
Position [710, 399, 740, 431]
Location [501, 296, 1019, 483]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "5"
SaveName "ScopeData8"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Sin
Name "qudrature Sine"
Ports [0, 1]
Position [410, 270, 440, 300]
SineType "Time based"
Frequency "2*pi*4"
Phase "pi"
SampleTime "0.001"
}
Block {
BlockType Scope
Name "unipol even"
Ports [1]
Position [150, 29, 180, 61]
Location [12, 55, 345, 242]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "5"
SaveName "ScopeData11"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "unipol odd"
Ports [1]
Position [140, 484, 170, 516]
Location [13, 302, 346, 489]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "5"
SaveName "ScopeData12"
DataFormat "StructureWithTime"
}
Block {
BlockType SubSystem
Name "unipol_to_bipol"
Ports [1, 1]
Position [145, 97, 285, 163]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "unipol_to_bipol"
Location [565, 239, 890, 429]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "unipolar_ip"
Position [65, 23, 95, 37]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [210, 16, 245, 154]
Inputs "+-"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -