Reference
AD9081 high speed MxFE clocking model.
ad9081
Bases: ad9081_core
AD9081 combined transmit and receive model.
Source code in adijif/converters/ad9081.py
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
|
__init__(model=None, solver=None)
Initialize AD9081 clocking model for TX and RX.
This is a common class used to handle TX and RX constraints together.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
model |
(GEKKO, CpoModel)
|
Solver model |
None
|
solver |
str
|
Solver name (gekko or CPLEX) |
None
|
Source code in adijif/converters/ad9081.py
521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 |
|
get_required_clock_names()
Get list of strings of names of requested clocks.
This list of names is for the clocks defined by get_required_clocks
Returns:
Type | Description |
---|---|
List[str]
|
List[str]: List of strings of clock names in order |
Source code in adijif/converters/ad9081.py
551 552 553 554 555 556 557 558 559 560 561 562 563 564 |
|
get_required_clocks()
Generate list required clocks.
For AD9081 this will contain [converter clock, sysref requirement SOS]
Returns:
Name | Type | Description |
---|---|---|
List |
List
|
List of solver variables, equations, and constants |
Source code in adijif/converters/ad9081.py
608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
|
validate_config()
Validate device configurations including JESD and clocks of both ADC and DAC.
This check only is for static configuration that does not include variables which are solved.
Source code in adijif/converters/ad9081.py
539 540 541 542 543 544 545 546 |
|
ad9081_core
Bases: converter
AD9081 high speed MxFE model.
This model supports both direct clock configurations and on-board generation
Clocking: AD9081 can internally generate or leverage external clocks. The high speed clock within the system is referred to as the DAC clock and the ADC clock will be a divided down version of the clock: adc_clock == dac_clock / L, where L = 1,2,3,4
For internal generation, the DAC clock is generated through an integer PLL through the following relation: dac_clock == ((m_vco * n_vco) / R * ref_clock) / D
For external clocks, the clock must be provided at the DAC clock rate
Once we have the DAC clock the data rates can be directly evaluated into each JESD framer:
rx_baseband_sample_rate = (dac_clock / L) / datapath_decimation tx_baseband_sample_rate = dac_clock / datapath_interpolation
Source code in adijif/converters/ad9081.py
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 |
|
get_config(solution=None)
Extract configurations from solver results.
Collect internal converter configuration and output clock definitions leading to connected devices (clock chips, FPGAs)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
solution |
CpoSolveResult
|
CPlex solution. Only needed for CPlex solver |
None
|
Returns:
Name | Type | Description |
---|---|---|
Dict |
Dict
|
Dictionary of clocking rates and dividers for configuration |
Source code in adijif/converters/ad9081.py
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 |
|
get_required_clock_names()
Get list of strings of names of requested clocks.
This list of names is for the clocks defined by get_required_clocks
Returns:
Type | Description |
---|---|
List[str]
|
List[str]: List of strings of clock names in order |
Source code in adijif/converters/ad9081.py
149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
|
get_required_clocks()
Generate list required clocks.
For AD9081 this will contain [converter clock, sysref requirement SOS]
Returns:
Name | Type | Description |
---|---|---|
List |
List
|
List of solver variables, equations, and constants |
Source code in adijif/converters/ad9081.py
278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 |
|
ad9081_rx
Bases: adc
, ad9081_core
AD9081 Receive model.
Source code in adijif/converters/ad9081.py
310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 |
|
decimation: int
property
writable
Decimation factor. This is the product of the coarse and fine decimation.
__init__(model=None, solver=None)
Initialize AD9081 clocking model for RX.
This is a common class used to handle RX constraints together.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
model |
(GEKKO, CpoModel)
|
Solver model |
None
|
solver |
str
|
Solver name (gekko or CPLEX) |
None
|
Source code in adijif/converters/ad9081.py
361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 |
|
ad9081_tx
Bases: dac
, ad9081_core
AD9081 Transmit model.
Source code in adijif/converters/ad9081.py
425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 |
|
interpolation: int
property
writable
Interpolation factor.
This is the product of the coarse and fine interpolation.
Returns:
Name | Type | Description |
---|---|---|
int |
int
|
Interpolation factor |
__init__(model=None, solver=None)
Initialize AD9081 clocking model for TX.
This is a common class used to handle TX constraints together.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
model |
(GEKKO, CpoModel)
|
Solver model |
None
|
solver |
str
|
Solver name (gekko or CPLEX) |
None
|
Source code in adijif/converters/ad9081.py
481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 |
|
ad9082
Bases: ad9081
AD9081 combined transmit and receive model.
Source code in adijif/converters/ad9081.py
660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 |
|
__init__(model=None, solver=None)
Initialize AD9081 clocking model for TX and RX.
This is a common class used to handle TX and RX constraints together.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
model |
(GEKKO, CpoModel)
|
Solver model |
None
|
solver |
str
|
Solver name (gekko or CPLEX) |
None
|
Source code in adijif/converters/ad9081.py
668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 |
|
get_required_clock_names()
Get list of strings of names of requested clocks.
This list of names is for the clocks defined by get_required_clocks
Returns:
Type | Description |
---|---|
List[str]
|
List[str]: List of strings of clock names in order |
Source code in adijif/converters/ad9081.py
689 690 691 692 693 694 695 696 697 698 699 700 701 702 |
|
ad9082_rx
Bases: ad9081_rx
AD9082 MxFE RX Clocking Model.
Source code in adijif/converters/ad9081.py
648 649 650 651 |
|
ad9082_tx
Bases: ad9081_tx
AD9082 MxFE TX Clocking Model.
Source code in adijif/converters/ad9081.py
654 655 656 657 |
|
AD9680 high speed ADC clocking model.
ad9680
Bases: ad9680_bf
AD9680 high speed ADC model.
This model supports direct clock configurations
Clocking: AD9680 has directly clocked ADC that have optional input dividers. The sample rate can be determined as follows:
baseband_sample_rate = (input_clock / input_clock_divider) / datapath_decimation
Source code in adijif/converters/ad9680.py
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 |
|
input_clock_max = 4000000000.0
class-attribute
instance-attribute
Clocking AD9680 has directly clocked ADCs that have optional input dividers. The sample rate can be determined as follows:
baseband_sample_rate = (input_clock / input_clock_divider) / datapath_decimation
__init__(*args, **kwargs)
Initialize AD9680 class.
Objects will default to mode 0x88 with 1e9 sample_clock.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
*args |
Any
|
Pass through arguments |
()
|
**kwargs |
Any
|
Pass through keyword arguments |
{}
|
Source code in adijif/converters/ad9680.py
101 102 103 104 105 106 107 108 109 110 111 112 113 114 |
|
get_config(solution=None)
Extract configurations from solver results.
Collect internal converter configuration and output clock definitions leading to connected devices (clock chips, FPGAs)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
solution |
CpoSolveResult
|
CPlex solution. Only needed for CPlex solver |
None
|
Returns:
Name | Type | Description |
---|---|---|
Dict |
Dict
|
Dictionary of clocking rates and dividers for configuration |
Source code in adijif/converters/ad9680.py
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
|
get_required_clock_names()
Get list of strings of names of requested clocks.
This list of names is for the clocks defined by get_required_clocks
Returns:
Type | Description |
---|---|
List[str]
|
List[str]: List of strings of clock names in order |
Source code in adijif/converters/ad9680.py
167 168 169 170 171 172 173 174 175 |
|
get_required_clocks()
Generate list required clocks.
For AD9680 this will contain [converter clock, sysref requirement SOS]
Returns:
Name | Type | Description |
---|---|---|
List |
List
|
List of solver variables, equations, and constants |
Source code in adijif/converters/ad9680.py
177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 |
|
AD9144 high speed DAC clocking model.
ad9144
Bases: ad9144_bf
AD9144 high speed DAC model.
This model supports both direct clock configurations and on-board generation
Clocking: AD9144 has directly clocked DAC that have optional input dividers. The sample rate can be determined as follows:
baseband_sample_rate = (input_clock / input_clock_divider) / datapath_decimation
Source code in adijif/converters/ad9144.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 |
|
get_config(solution=None)
Extract configurations from solver results.
Collect internal converter configuration and output clock definitions leading to connected devices (clock chips, FPGAs)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
solution |
CpoSolveResult
|
CPlex solution. Only needed for CPlex solver |
None
|
Returns:
Name | Type | Description |
---|---|---|
Dict |
Dict
|
Dictionary of clocking rates and dividers for configuration |
Source code in adijif/converters/ad9144.py
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 |
|
get_required_clock_names()
Get list of strings of names of requested clocks.
This list of names is for the clocks defined by get_required_clocks
Returns:
Type | Description |
---|---|
List[str]
|
List[str]: List of strings of clock names in order |
Source code in adijif/converters/ad9144.py
185 186 187 188 189 190 191 192 193 194 195 196 197 198 |
|
get_required_clocks()
Generate list required clocks.
For AD9144 this will contain [converter clock, sysref requirement SOS]
Returns:
Name | Type | Description |
---|---|---|
List |
List
|
List of dictionaries of solver components |
Source code in adijif/converters/ad9144.py
286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 |
|
ADRV9009 transceiver clocking model.
adrv9009
Bases: adrv9009_core
ADRV9009 combined transmit and receive model.
Source code in adijif/converters/adrv9009.py
272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 |
|
__init__(model=None, solver=None)
Initialize ADRV9009 clocking model for TX and RX.
This is a common class used to handle TX and RX constraints together.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
model |
(GEKKO, CpoModel)
|
Solver model |
None
|
solver |
str
|
Solver name (gekko or CPLEX) |
None
|
Source code in adijif/converters/adrv9009.py
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 |
|
get_required_clocks()
Generate list of required clocks.
For ADRV9009 this will contain: [device clock requirement SOS, sysref requirement SOS]
Returns:
Type | Description |
---|---|
List[Dict]
|
list[dict]: List of dictionaries of solver variables, equations, and constants |
Raises:
Type | Description |
---|---|
Exception
|
Invalid relation of rates between RX and TX |
AssertionError
|
Gekko called |
Source code in adijif/converters/adrv9009.py
310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 |
|
validate_config()
Validate device configurations including JESD and clocks of both ADC and DAC.
This check only is for static configuration that does not include variables which are solved.
Source code in adijif/converters/adrv9009.py
298 299 300 301 302 303 304 305 |
|
adrv9009_clock_common
Bases: adrv9009_core
, adrv9009_bf
ADRV9009 class managing common singleton (Rx,Tx) methods.
Source code in adijif/converters/adrv9009.py
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 |
|
get_config(solution=None)
Extract configurations from solver results.
Collect internal converter configuration and output clock definitions leading to connected devices (clock chips, FPGAs)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
solution |
CpoSolveResult
|
CPlex solution. Only needed for CPlex solver |
None
|
Returns:
Name | Type | Description |
---|---|---|
Dict |
Dict
|
Dictionary of clocking rates and dividers for configuration |
Source code in adijif/converters/adrv9009.py
116 117 118 119 120 121 122 123 124 125 126 127 128 |
|
get_required_clocks()
Generate list of required clocks.
For ADRV9009 this will contain: [device clock requirement SOS, sysref requirement SOS]
Returns:
Type | Description |
---|---|
List[Dict]
|
list[dict]: List of dictionaries of solver variables, equations, and constants |
Source code in adijif/converters/adrv9009.py
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 |
|
adrv9009_core
Bases: converter
ADRV9009 transceiver clocking model.
This model manage the JESD configuration and input clock constraints. External LO constraints are not modeled.
Clocking: ADRV9009 uses onboard PLLs to generate the JESD clocks
Lane Rate = I/Q Sample Rate * M * Np * (10 / 8) / L
Lane Rate = sample_clock * M * Np * (10 / 8) / L
Source code in adijif/converters/adrv9009.py
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
|
get_config(solution=None)
Extract configurations from solver results.
Collect internal converter configuration and output clock definitions leading to connected devices (clock chips, FPGAs)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
solution |
CpoSolveResult
|
CPlex solution. Only needed for CPlex solver |
None
|
Returns:
Name | Type | Description |
---|---|---|
Dict |
Dict
|
Dictionary of clocking rates and dividers for configuration |
Source code in adijif/converters/adrv9009.py
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
|
get_required_clock_names()
Get list of strings of names of requested clocks.
This list of names is for the clocks defined by get_required_clocks
Returns:
Type | Description |
---|---|
List[str]
|
List[str]: List of strings of clock names mapped by get_required_clocks |
Source code in adijif/converters/adrv9009.py
80 81 82 83 84 85 86 87 88 89 |
|
adrv9009_rx
Bases: adc
, adrv9009_clock_common
, adrv9009_core
ADRV9009 Receive model.
Source code in adijif/converters/adrv9009.py
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 |
|
bit_clock_max_available = {'jesd204b': 12288000000.0}
class-attribute
instance-attribute
ADRV9009 Rx decimation stages. +-----------+ +-----------+ Dec 5 (5) +---------+ | +-----------+ | | | | +----------+ +----------+ | +------------+ +--------------+
---+---+ RHB3 (2) +---+ RHB2 (2) +---+--+ RHB1 (1,2) +---+ RFIR (1,2,4) + +----------+ +----------+ +------------+ +--------------+
adrv9009_tx
Bases: dac
, adrv9009_clock_common
, adrv9009_core
ADRV9009 Transmit model.
Source code in adijif/converters/adrv9009.py
235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 |
|
bit_clock_max_available = {'jesd204b': 12288000000.0}
class-attribute
instance-attribute
ADRV9009 Tx interpolation stages. +------------+ +--------------------+ Int 5 (5) +--------------------+ | +------------+ | | | | +------------+ +------------+ +------------+ | +--------------+ <---+---+ THB3 (1,2) +---+ THB2 (1,2) +---+ THB1 (1,2) +---+---+ TFIR (1,2,4) + +------------+ +------------+ +------------+ +--------------+