-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrfsoc27dr_qpsk.tcl
More file actions
2610 lines (2435 loc) · 138 KB
/
Copy pathrfsoc27dr_qpsk.tcl
File metadata and controls
2610 lines (2435 loc) · 138 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
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
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
423
424
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
510
511
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
646
647
648
649
650
651
652
653
654
655
656
657
658
659
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
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
################################################################
# This is a generated script based on design: rfsoc_qpsk
#
# Though there are limitations about the generated script,
# the main purpose of this utility is to make learning
# IP Integrator Tcl commands easier.
################################################################
namespace eval _tcl {
proc get_script_folder {} {
set script_path [file normalize [info script]]
set script_folder [file dirname $script_path]
return $script_folder
}
}
variable script_folder
set script_folder [_tcl::get_script_folder]
################################################################
# Check if script is running in correct Vivado version.
################################################################
set scripts_vivado_version 2020.2
set current_vivado_version [version -short]
if { [string first $scripts_vivado_version $current_vivado_version] == -1 } {
puts ""
catch {common::send_gid_msg -ssname BD::TCL -id 2041 -severity "ERROR" "This script was generated using Vivado <$scripts_vivado_version> and is being run in <$current_vivado_version> of Vivado. Please run the script in Vivado <$scripts_vivado_version> then open the design in Vivado <$current_vivado_version>. Upgrade the design by running \"Tools => Report => Report IP Status...\", then run write_bd_tcl to create an updated script."}
return 1
}
################################################################
# START
################################################################
# To test this script, run the following commands from Vivado Tcl console:
# source rfsoc_qpsk_script.tcl
# If there is no project opened, this script will create a
# project, but make sure you do not have an existing project
# <./myproj/project_1.xpr> in the current working folder.
set list_projs [get_projects -quiet]
if { $list_projs eq "" } {
create_project project_1 myproj -part xczu27dr-ffve1156-2-i
}
# CHANGE DESIGN NAME HERE
variable design_name
set design_name rfsoc_qpsk
# If you do not already have an existing IP Integrator design open,
# you can create a design using the following command:
# create_bd_design $design_name
# Creating design if needed
set errMsg ""
set nRet 0
set cur_design [current_bd_design -quiet]
set list_cells [get_bd_cells -quiet]
if { ${design_name} eq "" } {
# USE CASES:
# 1) Design_name not set
set errMsg "Please set the variable <design_name> to a non-empty value."
set nRet 1
} elseif { ${cur_design} ne "" && ${list_cells} eq "" } {
# USE CASES:
# 2): Current design opened AND is empty AND names same.
# 3): Current design opened AND is empty AND names diff; design_name NOT in project.
# 4): Current design opened AND is empty AND names diff; design_name exists in project.
if { $cur_design ne $design_name } {
common::send_gid_msg -ssname BD::TCL -id 2001 -severity "INFO" "Changing value of <design_name> from <$design_name> to <$cur_design> since current design is empty."
set design_name [get_property NAME $cur_design]
}
common::send_gid_msg -ssname BD::TCL -id 2002 -severity "INFO" "Constructing design in IPI design <$cur_design>..."
} elseif { ${cur_design} ne "" && $list_cells ne "" && $cur_design eq $design_name } {
# USE CASES:
# 5) Current design opened AND has components AND same names.
set errMsg "Design <$design_name> already exists in your project, please set the variable <design_name> to another value."
set nRet 1
} elseif { [get_files -quiet ${design_name}.bd] ne "" } {
# USE CASES:
# 6) Current opened design, has components, but diff names, design_name exists in project.
# 7) No opened design, design_name exists in project.
set errMsg "Design <$design_name> already exists in your project, please set the variable <design_name> to another value."
set nRet 2
} else {
# USE CASES:
# 8) No opened design, design_name not in project.
# 9) Current opened design, has components, but diff names, design_name not in project.
common::send_gid_msg -ssname BD::TCL -id 2003 -severity "INFO" "Currently there is no design <$design_name> in project, so creating one..."
create_bd_design $design_name
common::send_gid_msg -ssname BD::TCL -id 2004 -severity "INFO" "Making design <$design_name> as current_bd_design."
current_bd_design $design_name
}
common::send_gid_msg -ssname BD::TCL -id 2005 -severity "INFO" "Currently the variable <design_name> is equal to \"$design_name\"."
if { $nRet != 0 } {
catch {common::send_gid_msg -ssname BD::TCL -id 2006 -severity "ERROR" $errMsg}
return $nRet
}
set bCheckIPsPassed 1
##################################################################
# CHECK IPs
##################################################################
set bCheckIPs 1
if { $bCheckIPs == 1 } {
set list_check_ips "\
xilinx.com:ip:axi_intc:4.1\
xilinx.com:ip:xlconcat:2.1\
xilinx.com:ip:proc_sys_reset:5.0\
xilinx.com:ip:usp_rf_data_converter:2.4\
xilinx.com:ip:zynq_ultra_ps_e:3.3\
xilinx.com:ip:clk_wiz:6.0\
xilinx.com:ip:axi_dma:7.1\
UoS:SysGen:axi_qpsk_rx_csync:1.1\
UoS:SysGen:axi_qpsk_rx_dec:1.1\
UoS:SysGen:axi_qpsk_rx_rrc:1.1\
UoS:SysGen:axi_qpsk_rx_tsync:1.1\
xilinx.com:ip:smartconnect:1.0\
UoS:RFSoC:axi_qpsk_tx:5.3\
xilinx.com:ip:axis_data_fifo:2.0\
xilinx.com:ip:fir_compiler:7.2\
xilinx.com:user:axis_signal_join:1.0\
xilinx.com:user:axis_signal_splitter:1.0\
"
set list_ips_missing ""
common::send_gid_msg -ssname BD::TCL -id 2011 -severity "INFO" "Checking if the following IPs exist in the project's IP catalog: $list_check_ips ."
foreach ip_vlnv $list_check_ips {
set ip_obj [get_ipdefs -all $ip_vlnv]
if { $ip_obj eq "" } {
lappend list_ips_missing $ip_vlnv
}
}
if { $list_ips_missing ne "" } {
catch {common::send_gid_msg -ssname BD::TCL -id 2012 -severity "ERROR" "The following IPs are not found in the IP Catalog:\n $list_ips_missing\n\nResolution: Please add the repository containing the IP(s) to the project." }
set bCheckIPsPassed 0
}
}
if { $bCheckIPsPassed != 1 } {
common::send_gid_msg -ssname BD::TCL -id 2023 -severity "WARNING" "Will not continue with creation of design due to the error(s) above."
return 3
}
##################################################################
# DESIGN PROCs
##################################################################
# Hierarchical cell: interpolate_logic
proc create_hier_cell_interpolate_logic { parentCell nameHier } {
variable script_folder
if { $parentCell eq "" || $nameHier eq "" } {
catch {common::send_gid_msg -ssname BD::TCL -id 2092 -severity "ERROR" "create_hier_cell_interpolate_logic() - Empty argument(s)!"}
return
}
# Get object for parentCell
set parentObj [get_bd_cells $parentCell]
if { $parentObj == "" } {
catch {common::send_gid_msg -ssname BD::TCL -id 2090 -severity "ERROR" "Unable to find parent cell <$parentCell>!"}
return
}
# Make sure parentObj is hier blk
set parentType [get_property TYPE $parentObj]
if { $parentType ne "hier" } {
catch {common::send_gid_msg -ssname BD::TCL -id 2091 -severity "ERROR" "Parent <$parentObj> has TYPE = <$parentType>. Expected to be <hier>."}
return
}
# Save current instance; Restore later
set oldCurInst [current_bd_instance .]
# Set parent object as current
current_bd_instance $parentObj
# Create cell and set as current instance
set hier_obj [create_bd_cell -type hier $nameHier]
current_bd_instance $hier_obj
# Create interface pins
create_bd_intf_pin -mode Master -vlnv xilinx.com:interface:axis_rtl:1.0 M_AXIS
create_bd_intf_pin -mode Slave -vlnv xilinx.com:interface:axis_rtl:1.0 S_AXIS
# Create pins
create_bd_pin -dir I -type clk clk_128
create_bd_pin -dir I -type clk clk_25_6
create_bd_pin -dir I -type rst s_axis_aresetn
# Create instance: axis_data_fifo_0, and set properties
set axis_data_fifo_0 [ create_bd_cell -type ip -vlnv xilinx.com:ip:axis_data_fifo:2.0 axis_data_fifo_0 ]
set_property -dict [ list \
CONFIG.FIFO_DEPTH {16} \
CONFIG.HAS_RD_DATA_COUNT {1} \
CONFIG.HAS_WR_DATA_COUNT {1} \
CONFIG.IS_ACLK_ASYNC {1} \
CONFIG.SYNCHRONIZATION_STAGES {2} \
CONFIG.TDATA_NUM_BYTES {2} \
] $axis_data_fifo_0
# Create instance: axis_data_fifo_1, and set properties
set axis_data_fifo_1 [ create_bd_cell -type ip -vlnv xilinx.com:ip:axis_data_fifo:2.0 axis_data_fifo_1 ]
set_property -dict [ list \
CONFIG.FIFO_DEPTH {16} \
CONFIG.HAS_RD_DATA_COUNT {1} \
CONFIG.HAS_WR_DATA_COUNT {1} \
CONFIG.IS_ACLK_ASYNC {1} \
CONFIG.SYNCHRONIZATION_STAGES {2} \
CONFIG.TDATA_NUM_BYTES {2} \
] $axis_data_fifo_1
# Create instance: axis_signal_join_0, and set properties
set axis_signal_join_0 [ create_bd_cell -type ip -vlnv xilinx.com:user:axis_signal_join:1.0 axis_signal_join_0 ]
# Create instance: axis_signal_splitter_1, and set properties
set axis_signal_splitter_1 [ create_bd_cell -type ip -vlnv xilinx.com:user:axis_signal_splitter:1.0 axis_signal_splitter_1 ]
# Create instance: fir_compiler_0, and set properties
set fir_compiler_0 [ create_bd_cell -type ip -vlnv xilinx.com:ip:fir_compiler:7.2 fir_compiler_0 ]
set_property -dict [ list \
CONFIG.BestPrecision {true} \
CONFIG.Clock_Frequency {128} \
CONFIG.CoefficientVector {-0.022406403381708004,-0.04601348505451235,-0.04571148260226924,-0.00894199371574465,0.030576596828620555,0.026616656511643785,-0.01525599274205929,-0.03372569851901567,0.006989917525156605,0.05391609472090984,0.025731835161325215,-0.061194110212675575,-0.07627482901512517,0.0759512321930129,0.31171064206024807,0.426500837477317,0.31171064206024807,0.0759512321930129,-0.07627482901512517,-0.061194110212675575,0.025731835161325215,0.05391609472090984,0.006989917525156605,-0.03372569851901567,-0.01525599274205929,0.026616656511643785,0.030576596828620555,-0.00894199371574465,-0.04571148260226924,-0.04601348505451235,-0.022406403381708004} \
CONFIG.Coefficient_Fractional_Bits {16} \
CONFIG.Coefficient_Sets {1} \
CONFIG.Coefficient_Sign {Signed} \
CONFIG.Coefficient_Structure {Inferred} \
CONFIG.Coefficient_Width {16} \
CONFIG.ColumnConfig {4} \
CONFIG.DATA_Has_TLAST {Not_Required} \
CONFIG.Decimation_Rate {1} \
CONFIG.Filter_Architecture {Systolic_Multiply_Accumulate} \
CONFIG.Filter_Type {Interpolation} \
CONFIG.Interpolation_Rate {5} \
CONFIG.M_DATA_Has_TUSER {Not_Required} \
CONFIG.Number_Channels {1} \
CONFIG.Output_Rounding_Mode {Truncate_LSBs} \
CONFIG.Output_Width {16} \
CONFIG.Quantization {Quantize_Only} \
CONFIG.RateSpecification {Frequency_Specification} \
CONFIG.S_DATA_Has_FIFO {false} \
CONFIG.S_DATA_Has_TUSER {Not_Required} \
CONFIG.Sample_Frequency {25.6} \
CONFIG.Select_Pattern {All} \
CONFIG.Zero_Pack_Factor {1} \
] $fir_compiler_0
# Create instance: fir_compiler_1, and set properties
set fir_compiler_1 [ create_bd_cell -type ip -vlnv xilinx.com:ip:fir_compiler:7.2 fir_compiler_1 ]
set_property -dict [ list \
CONFIG.BestPrecision {true} \
CONFIG.Channel_Sequence {Basic} \
CONFIG.Clock_Frequency {128} \
CONFIG.CoefficientVector {-0.022406403381708004,-0.04601348505451235,-0.04571148260226924,-0.00894199371574465,0.030576596828620555,0.026616656511643785,-0.01525599274205929,-0.03372569851901567,0.006989917525156605,0.05391609472090984,0.025731835161325215,-0.061194110212675575,-0.07627482901512517,0.0759512321930129,0.31171064206024807,0.426500837477317,0.31171064206024807,0.0759512321930129,-0.07627482901512517,-0.061194110212675575,0.025731835161325215,0.05391609472090984,0.006989917525156605,-0.03372569851901567,-0.01525599274205929,0.026616656511643785,0.030576596828620555,-0.00894199371574465,-0.04571148260226924,-0.04601348505451235,-0.022406403381708004} \
CONFIG.Coefficient_Fractional_Bits {16} \
CONFIG.Coefficient_Sets {1} \
CONFIG.Coefficient_Sign {Signed} \
CONFIG.Coefficient_Structure {Inferred} \
CONFIG.Coefficient_Width {16} \
CONFIG.ColumnConfig {4} \
CONFIG.DATA_Has_TLAST {Not_Required} \
CONFIG.Decimation_Rate {1} \
CONFIG.Filter_Architecture {Systolic_Multiply_Accumulate} \
CONFIG.Filter_Type {Interpolation} \
CONFIG.Interpolation_Rate {5} \
CONFIG.M_DATA_Has_TUSER {Not_Required} \
CONFIG.Number_Channels {1} \
CONFIG.Number_Paths {1} \
CONFIG.Output_Rounding_Mode {Truncate_LSBs} \
CONFIG.Output_Width {16} \
CONFIG.Quantization {Quantize_Only} \
CONFIG.RateSpecification {Frequency_Specification} \
CONFIG.S_DATA_Has_FIFO {false} \
CONFIG.S_DATA_Has_TUSER {Not_Required} \
CONFIG.Sample_Frequency {25.6} \
CONFIG.Select_Pattern {All} \
CONFIG.Zero_Pack_Factor {1} \
] $fir_compiler_1
# Create interface connections
connect_bd_intf_net -intf_net S_AXIS_1 [get_bd_intf_pins S_AXIS] [get_bd_intf_pins axis_signal_splitter_1/s_axis]
connect_bd_intf_net -intf_net axis_data_fifo_0_M_AXIS [get_bd_intf_pins axis_data_fifo_0/M_AXIS] [get_bd_intf_pins fir_compiler_1/S_AXIS_DATA]
connect_bd_intf_net -intf_net axis_data_fifo_1_M_AXIS [get_bd_intf_pins axis_data_fifo_1/M_AXIS] [get_bd_intf_pins fir_compiler_0/S_AXIS_DATA]
connect_bd_intf_net -intf_net axis_signal_join_0_m_axis [get_bd_intf_pins M_AXIS] [get_bd_intf_pins axis_signal_join_0/m_axis]
connect_bd_intf_net -intf_net axis_signal_splitter_1_m_axis_l [get_bd_intf_pins axis_data_fifo_0/S_AXIS] [get_bd_intf_pins axis_signal_splitter_1/m_axis_l]
connect_bd_intf_net -intf_net axis_signal_splitter_1_m_axis_u [get_bd_intf_pins axis_data_fifo_1/S_AXIS] [get_bd_intf_pins axis_signal_splitter_1/m_axis_u]
connect_bd_intf_net -intf_net fir_compiler_0_M_AXIS_DATA [get_bd_intf_pins axis_signal_join_0/s_axis_u] [get_bd_intf_pins fir_compiler_0/M_AXIS_DATA]
connect_bd_intf_net -intf_net fir_compiler_1_M_AXIS_DATA [get_bd_intf_pins axis_signal_join_0/s_axis_l] [get_bd_intf_pins fir_compiler_1/M_AXIS_DATA]
# Create port connections
connect_bd_net -net clk_25_6_1 [get_bd_pins clk_25_6] [get_bd_pins axis_data_fifo_0/s_axis_aclk] [get_bd_pins axis_data_fifo_1/s_axis_aclk] [get_bd_pins axis_signal_splitter_1/clk]
connect_bd_net -net m_axis_aclk_1 [get_bd_pins clk_128] [get_bd_pins axis_data_fifo_0/m_axis_aclk] [get_bd_pins axis_data_fifo_1/m_axis_aclk] [get_bd_pins axis_signal_join_0/clk] [get_bd_pins fir_compiler_0/aclk] [get_bd_pins fir_compiler_1/aclk]
connect_bd_net -net s_axis_aresetn_1 [get_bd_pins s_axis_aresetn] [get_bd_pins axis_data_fifo_0/s_axis_aresetn] [get_bd_pins axis_data_fifo_1/s_axis_aresetn]
# Restore current instance
current_bd_instance $oldCurInst
}
# Hierarchical cell: decimate_logic
proc create_hier_cell_decimate_logic { parentCell nameHier } {
variable script_folder
if { $parentCell eq "" || $nameHier eq "" } {
catch {common::send_gid_msg -ssname BD::TCL -id 2092 -severity "ERROR" "create_hier_cell_decimate_logic() - Empty argument(s)!"}
return
}
# Get object for parentCell
set parentObj [get_bd_cells $parentCell]
if { $parentObj == "" } {
catch {common::send_gid_msg -ssname BD::TCL -id 2090 -severity "ERROR" "Unable to find parent cell <$parentCell>!"}
return
}
# Make sure parentObj is hier blk
set parentType [get_property TYPE $parentObj]
if { $parentType ne "hier" } {
catch {common::send_gid_msg -ssname BD::TCL -id 2091 -severity "ERROR" "Parent <$parentObj> has TYPE = <$parentType>. Expected to be <hier>."}
return
}
# Save current instance; Restore later
set oldCurInst [current_bd_instance .]
# Set parent object as current
current_bd_instance $parentObj
# Create cell and set as current instance
set hier_obj [create_bd_cell -type hier $nameHier]
current_bd_instance $hier_obj
# Create interface pins
create_bd_intf_pin -mode Master -vlnv xilinx.com:interface:axis_rtl:1.0 M_AXIS
create_bd_intf_pin -mode Master -vlnv xilinx.com:interface:axis_rtl:1.0 M_AXIS1
create_bd_intf_pin -mode Slave -vlnv xilinx.com:interface:axis_rtl:1.0 S_AXIS_DATA
create_bd_intf_pin -mode Slave -vlnv xilinx.com:interface:axis_rtl:1.0 S_AXIS_DATA1
# Create pins
create_bd_pin -dir I -type clk clk_128
create_bd_pin -dir I -type clk clk_25_6
create_bd_pin -dir I -type rst reset_128
# Create instance: axis_data_fifo_0, and set properties
set axis_data_fifo_0 [ create_bd_cell -type ip -vlnv xilinx.com:ip:axis_data_fifo:2.0 axis_data_fifo_0 ]
set_property -dict [ list \
CONFIG.FIFO_DEPTH {1024} \
CONFIG.HAS_RD_DATA_COUNT {1} \
CONFIG.HAS_WR_DATA_COUNT {1} \
CONFIG.IS_ACLK_ASYNC {1} \
CONFIG.SYNCHRONIZATION_STAGES {2} \
CONFIG.TDATA_NUM_BYTES {2} \
] $axis_data_fifo_0
# Create instance: axis_data_fifo_1, and set properties
set axis_data_fifo_1 [ create_bd_cell -type ip -vlnv xilinx.com:ip:axis_data_fifo:2.0 axis_data_fifo_1 ]
set_property -dict [ list \
CONFIG.FIFO_DEPTH {1024} \
CONFIG.HAS_RD_DATA_COUNT {1} \
CONFIG.HAS_WR_DATA_COUNT {1} \
CONFIG.IS_ACLK_ASYNC {1} \
CONFIG.SYNCHRONIZATION_STAGES {2} \
CONFIG.TDATA_NUM_BYTES {2} \
] $axis_data_fifo_1
# Create instance: fir_compiler_0, and set properties
set fir_compiler_0 [ create_bd_cell -type ip -vlnv xilinx.com:ip:fir_compiler:7.2 fir_compiler_0 ]
set_property -dict [ list \
CONFIG.BestPrecision {true} \
CONFIG.Clock_Frequency {128} \
CONFIG.CoefficientVector {0.000000000000000,0.000334572125978,0.000544017123724,0.000522441431073,0.000240278267880,-0.000223779650047,-0.000685041173635,-0.000907841223530,-0.000709286416705,-0.000073807958764,0.000784067110132,0.001464985642156,0.001549220097694,0.000823458902944,-0.000541928350420,-0.001981104094791,-0.002738848576995,-0.002235766176576,-0.000428470470073,0.002036616111696,0.004009353651230,0.004337629320872,0.002482009521849,-0.001064117021164,-0.004814975617696,-0.006866276702417,-0.005805770430360,-0.001547801659521,0.004358928855801,0.009210184803343,0.010311512524452,0.006359034341166,-0.001628754335595,-0.010381454784459,-0.015594720754498,-0.013893872246607,-0.004704947021658,0.008900610930255,0.020980773482568,0.025035778148769,0.017043212478671,-0.002058969751056,-0.025653057844456,-0.043081361482323,-0.043287941093966,-0.019203945040852,0.028832362915462,0.092097819935811,0.155559990649596,0.202442440345737,0.219705082318609,0.202442440345737,0.155559990649596,0.092097819935811,0.028832362915462,-0.019203945040852,-0.043287941093966,-0.043081361482323,-0.025653057844456,-0.002058969751056,0.017043212478671,0.025035778148769,0.020980773482568,0.008900610930255,-0.004704947021658,-0.013893872246607,-0.015594720754498,-0.010381454784459,-0.001628754335595,0.006359034341166,0.010311512524452,0.009210184803343,0.004358928855801,-0.001547801659521,-0.005805770430360,-0.006866276702417,-0.004814975617696,-0.001064117021164,0.002482009521849,0.004337629320872,0.004009353651230,0.002036616111696,-0.000428470470073,-0.002235766176576,-0.002738848576995,-0.001981104094791,-0.000541928350420,0.000823458902944,0.001549220097694,0.001464985642156,0.000784067110132,-0.000073807958764,-0.000709286416705,-0.000907841223530,-0.000685041173635,-0.000223779650047,0.000240278267880,0.000522441431073,0.000544017123724,0.000334572125978,0.000000000000000} \
CONFIG.Coefficient_Fractional_Bits {17} \
CONFIG.Coefficient_Sets {1} \
CONFIG.Coefficient_Sign {Signed} \
CONFIG.Coefficient_Structure {Inferred} \
CONFIG.Coefficient_Width {16} \
CONFIG.ColumnConfig {11} \
CONFIG.Decimation_Rate {5} \
CONFIG.Filter_Architecture {Systolic_Multiply_Accumulate} \
CONFIG.Filter_Type {Decimation} \
CONFIG.Interpolation_Rate {1} \
CONFIG.Number_Channels {1} \
CONFIG.Output_Rounding_Mode {Truncate_LSBs} \
CONFIG.Output_Width {16} \
CONFIG.Quantization {Quantize_Only} \
CONFIG.RateSpecification {Frequency_Specification} \
CONFIG.S_DATA_Has_FIFO {false} \
CONFIG.Sample_Frequency {128} \
CONFIG.Zero_Pack_Factor {1} \
] $fir_compiler_0
# Create instance: fir_compiler_1, and set properties
set fir_compiler_1 [ create_bd_cell -type ip -vlnv xilinx.com:ip:fir_compiler:7.2 fir_compiler_1 ]
set_property -dict [ list \
CONFIG.BestPrecision {true} \
CONFIG.Clock_Frequency {128} \
CONFIG.CoefficientVector {0.000000000000000,0.000334572125978,0.000544017123724,0.000522441431073,0.000240278267880,-0.000223779650047,-0.000685041173635,-0.000907841223530,-0.000709286416705,-0.000073807958764,0.000784067110132,0.001464985642156,0.001549220097694,0.000823458902944,-0.000541928350420,-0.001981104094791,-0.002738848576995,-0.002235766176576,-0.000428470470073,0.002036616111696,0.004009353651230,0.004337629320872,0.002482009521849,-0.001064117021164,-0.004814975617696,-0.006866276702417,-0.005805770430360,-0.001547801659521,0.004358928855801,0.009210184803343,0.010311512524452,0.006359034341166,-0.001628754335595,-0.010381454784459,-0.015594720754498,-0.013893872246607,-0.004704947021658,0.008900610930255,0.020980773482568,0.025035778148769,0.017043212478671,-0.002058969751056,-0.025653057844456,-0.043081361482323,-0.043287941093966,-0.019203945040852,0.028832362915462,0.092097819935811,0.155559990649596,0.202442440345737,0.219705082318609,0.202442440345737,0.155559990649596,0.092097819935811,0.028832362915462,-0.019203945040852,-0.043287941093966,-0.043081361482323,-0.025653057844456,-0.002058969751056,0.017043212478671,0.025035778148769,0.020980773482568,0.008900610930255,-0.004704947021658,-0.013893872246607,-0.015594720754498,-0.010381454784459,-0.001628754335595,0.006359034341166,0.010311512524452,0.009210184803343,0.004358928855801,-0.001547801659521,-0.005805770430360,-0.006866276702417,-0.004814975617696,-0.001064117021164,0.002482009521849,0.004337629320872,0.004009353651230,0.002036616111696,-0.000428470470073,-0.002235766176576,-0.002738848576995,-0.001981104094791,-0.000541928350420,0.000823458902944,0.001549220097694,0.001464985642156,0.000784067110132,-0.000073807958764,-0.000709286416705,-0.000907841223530,-0.000685041173635,-0.000223779650047,0.000240278267880,0.000522441431073,0.000544017123724,0.000334572125978,0.000000000000000} \
CONFIG.Coefficient_Fractional_Bits {17} \
CONFIG.Coefficient_Sets {1} \
CONFIG.Coefficient_Sign {Signed} \
CONFIG.Coefficient_Structure {Inferred} \
CONFIG.Coefficient_Width {16} \
CONFIG.ColumnConfig {11} \
CONFIG.Decimation_Rate {5} \
CONFIG.Filter_Architecture {Systolic_Multiply_Accumulate} \
CONFIG.Filter_Type {Decimation} \
CONFIG.Interpolation_Rate {1} \
CONFIG.Number_Channels {1} \
CONFIG.Output_Rounding_Mode {Truncate_LSBs} \
CONFIG.Output_Width {16} \
CONFIG.Quantization {Quantize_Only} \
CONFIG.RateSpecification {Frequency_Specification} \
CONFIG.S_DATA_Has_FIFO {false} \
CONFIG.Sample_Frequency {128} \
CONFIG.Zero_Pack_Factor {1} \
] $fir_compiler_1
# Create interface connections
connect_bd_intf_net -intf_net axis_data_fifo_0_M_AXIS [get_bd_intf_pins M_AXIS1] [get_bd_intf_pins axis_data_fifo_0/M_AXIS]
connect_bd_intf_net -intf_net axis_data_fifo_1_M_AXIS [get_bd_intf_pins M_AXIS] [get_bd_intf_pins axis_data_fifo_1/M_AXIS]
connect_bd_intf_net -intf_net fir_compiler_0_M_AXIS_DATA [get_bd_intf_pins axis_data_fifo_0/S_AXIS] [get_bd_intf_pins fir_compiler_0/M_AXIS_DATA]
connect_bd_intf_net -intf_net fir_compiler_1_M_AXIS_DATA [get_bd_intf_pins axis_data_fifo_1/S_AXIS] [get_bd_intf_pins fir_compiler_1/M_AXIS_DATA]
connect_bd_intf_net -intf_net s_i_axis_1 [get_bd_intf_pins S_AXIS_DATA] [get_bd_intf_pins fir_compiler_0/S_AXIS_DATA]
connect_bd_intf_net -intf_net s_q_axis_1 [get_bd_intf_pins S_AXIS_DATA1] [get_bd_intf_pins fir_compiler_1/S_AXIS_DATA]
# Create port connections
connect_bd_net -net clk_wiz_0_clk_out1 [get_bd_pins clk_128] [get_bd_pins axis_data_fifo_0/s_axis_aclk] [get_bd_pins axis_data_fifo_1/s_axis_aclk] [get_bd_pins fir_compiler_0/aclk] [get_bd_pins fir_compiler_1/aclk]
connect_bd_net -net clk_wiz_1_clk_out1 [get_bd_pins clk_25_6] [get_bd_pins axis_data_fifo_0/m_axis_aclk] [get_bd_pins axis_data_fifo_1/m_axis_aclk]
connect_bd_net -net reset_128_peripheral_aresetn [get_bd_pins reset_128] [get_bd_pins axis_data_fifo_0/s_axis_aresetn] [get_bd_pins axis_data_fifo_1/s_axis_aresetn]
# Restore current instance
current_bd_instance $oldCurInst
}
# Hierarchical cell: qpsk_tx
proc create_hier_cell_qpsk_tx { parentCell nameHier } {
variable script_folder
if { $parentCell eq "" || $nameHier eq "" } {
catch {common::send_gid_msg -ssname BD::TCL -id 2092 -severity "ERROR" "create_hier_cell_qpsk_tx() - Empty argument(s)!"}
return
}
# Get object for parentCell
set parentObj [get_bd_cells $parentCell]
if { $parentObj == "" } {
catch {common::send_gid_msg -ssname BD::TCL -id 2090 -severity "ERROR" "Unable to find parent cell <$parentCell>!"}
return
}
# Make sure parentObj is hier blk
set parentType [get_property TYPE $parentObj]
if { $parentType ne "hier" } {
catch {common::send_gid_msg -ssname BD::TCL -id 2091 -severity "ERROR" "Parent <$parentObj> has TYPE = <$parentType>. Expected to be <hier>."}
return
}
# Save current instance; Restore later
set oldCurInst [current_bd_instance .]
# Set parent object as current
current_bd_instance $parentObj
# Create cell and set as current instance
set hier_obj [create_bd_cell -type hier $nameHier]
current_bd_instance $hier_obj
# Create interface pins
create_bd_intf_pin -mode Master -vlnv xilinx.com:interface:aximm_rtl:1.0 M00_AXI
create_bd_intf_pin -mode Master -vlnv xilinx.com:interface:aximm_rtl:1.0 M01_AXI
create_bd_intf_pin -mode Master -vlnv xilinx.com:interface:aximm_rtl:1.0 M05_AXI
create_bd_intf_pin -mode Master -vlnv xilinx.com:interface:axis_rtl:1.0 M_AXIS
create_bd_intf_pin -mode Slave -vlnv xilinx.com:interface:aximm_rtl:1.0 S00_AXI
# Create pins
create_bd_pin -dir I -type clk PL_clk_100
create_bd_pin -dir O -type clk clk_out_128
create_bd_pin -dir O -type clk clk_out_25_6
create_bd_pin -dir I -type clk dac_clk_128
create_bd_pin -dir O -from 0 -to 0 -type rst peripheral_aresetn
create_bd_pin -dir I -type rst pl_reset
create_bd_pin -dir I -type rst ps_periph_reset
create_bd_pin -dir I -type rst reset
create_bd_pin -dir O -from 0 -to 0 -type rst reset_128
create_bd_pin -dir O -from 2 -to 0 -type intr s2mm_introut
# Create instance: axi_smc_1, and set properties
set axi_smc_1 [ create_bd_cell -type ip -vlnv xilinx.com:ip:smartconnect:1.0 axi_smc_1 ]
set_property -dict [ list \
CONFIG.NUM_SI {3} \
] $axi_smc_1
# Create instance: clk_tx_25_6M, and set properties
set clk_tx_25_6M [ create_bd_cell -type ip -vlnv xilinx.com:ip:clk_wiz:6.0 clk_tx_25_6M ]
set_property -dict [ list \
CONFIG.CLKIN1_JITTER_PS {78.12} \
CONFIG.CLKOUT1_DRIVES {Buffer} \
CONFIG.CLKOUT1_JITTER {239.910} \
CONFIG.CLKOUT1_PHASE_ERROR {219.892} \
CONFIG.CLKOUT1_REQUESTED_OUT_FREQ {25.6} \
CONFIG.CLKOUT2_DRIVES {Buffer} \
CONFIG.CLKOUT2_JITTER {0.0} \
CONFIG.CLKOUT2_PHASE_ERROR {0.0} \
CONFIG.CLKOUT2_REQUESTED_OUT_FREQ {100.000} \
CONFIG.CLKOUT2_USED {false} \
CONFIG.CLKOUT3_DRIVES {Buffer} \
CONFIG.CLKOUT4_DRIVES {Buffer} \
CONFIG.CLKOUT5_DRIVES {Buffer} \
CONFIG.CLKOUT6_DRIVES {Buffer} \
CONFIG.CLKOUT7_DRIVES {Buffer} \
CONFIG.CLK_OUT1_PORT {clk_out1} \
CONFIG.CLK_OUT2_PORT {clk_out2} \
CONFIG.MMCM_CLKFBOUT_MULT_F {43.625} \
CONFIG.MMCM_CLKIN1_PERIOD {7.812} \
CONFIG.MMCM_CLKIN2_PERIOD {10.000} \
CONFIG.MMCM_CLKOUT0_DIVIDE_F {43.625} \
CONFIG.MMCM_CLKOUT1_DIVIDE {1} \
CONFIG.MMCM_COMPENSATION {AUTO} \
CONFIG.MMCM_DIVCLK_DIVIDE {5} \
CONFIG.NUM_OUT_CLKS {1} \
CONFIG.PLL_CLKIN_PERIOD {10.000} \
CONFIG.PRIMITIVE {MMCM} \
CONFIG.PRIM_IN_FREQ {128} \
CONFIG.RESET_BOARD_INTERFACE {Custom} \
CONFIG.USE_BOARD_FLOW {false} \
] $clk_tx_25_6M
# Create instance: dma_tx_fft, and set properties
set dma_tx_fft [ create_bd_cell -type ip -vlnv xilinx.com:ip:axi_dma:7.1 dma_tx_fft ]
set_property -dict [ list \
CONFIG.c_include_mm2s {0} \
CONFIG.c_include_s2mm {1} \
CONFIG.c_include_sg {0} \
CONFIG.c_m_axi_s2mm_data_width {128} \
CONFIG.c_s2mm_burst_size {256} \
CONFIG.c_sg_include_stscntrl_strm {0} \
CONFIG.c_sg_length_width {26} \
] $dma_tx_fft
# Create instance: dma_tx_symbol, and set properties
set dma_tx_symbol [ create_bd_cell -type ip -vlnv xilinx.com:ip:axi_dma:7.1 dma_tx_symbol ]
set_property -dict [ list \
CONFIG.c_include_mm2s {0} \
CONFIG.c_include_sg {0} \
CONFIG.c_m_axi_s2mm_data_width {128} \
CONFIG.c_s2mm_burst_size {256} \
CONFIG.c_sg_include_stscntrl_strm {0} \
CONFIG.c_sg_length_width {26} \
] $dma_tx_symbol
# Create instance: dma_tx_time, and set properties
set dma_tx_time [ create_bd_cell -type ip -vlnv xilinx.com:ip:axi_dma:7.1 dma_tx_time ]
set_property -dict [ list \
CONFIG.c_include_mm2s {0} \
CONFIG.c_include_sg {0} \
CONFIG.c_m_axi_s2mm_data_width {128} \
CONFIG.c_s2mm_burst_size {256} \
CONFIG.c_sg_include_stscntrl_strm {0} \
] $dma_tx_time
# Create instance: interpolate_logic
create_hier_cell_interpolate_logic $hier_obj interpolate_logic
# Create instance: ps8_0_axi_periph, and set properties
set ps8_0_axi_periph [ create_bd_cell -type ip -vlnv xilinx.com:ip:axi_interconnect:2.1 ps8_0_axi_periph ]
set_property -dict [ list \
CONFIG.NUM_MI {6} \
CONFIG.NUM_SI {1} \
] $ps8_0_axi_periph
# Create instance: qpsk_tx, and set properties
set qpsk_tx [ create_bd_cell -type ip -vlnv UoS:RFSoC:axi_qpsk_tx:5.3 qpsk_tx ]
# Create instance: reset_128, and set properties
set reset_128 [ create_bd_cell -type ip -vlnv xilinx.com:ip:proc_sys_reset:5.0 reset_128 ]
# Create instance: reset_25_6, and set properties
set reset_25_6 [ create_bd_cell -type ip -vlnv xilinx.com:ip:proc_sys_reset:5.0 reset_25_6 ]
# Create instance: reset_pl, and set properties
set reset_pl [ create_bd_cell -type ip -vlnv xilinx.com:ip:proc_sys_reset:5.0 reset_pl ]
# Create instance: xlconcat_0, and set properties
set xlconcat_0 [ create_bd_cell -type ip -vlnv xilinx.com:ip:xlconcat:2.1 xlconcat_0 ]
set_property -dict [ list \
CONFIG.NUM_PORTS {3} \
] $xlconcat_0
# Create interface connections
connect_bd_intf_net -intf_net Conn1 [get_bd_intf_pins M01_AXI] [get_bd_intf_pins ps8_0_axi_periph/M01_AXI]
connect_bd_intf_net -intf_net axi_dma_fft_M_AXI_S2MM [get_bd_intf_pins axi_smc_1/S00_AXI] [get_bd_intf_pins dma_tx_fft/M_AXI_S2MM]
connect_bd_intf_net -intf_net axi_dma_symbol_M_AXI_S2MM [get_bd_intf_pins axi_smc_1/S01_AXI] [get_bd_intf_pins dma_tx_symbol/M_AXI_S2MM]
connect_bd_intf_net -intf_net axi_dma_time_M_AXI_S2MM [get_bd_intf_pins axi_smc_1/S02_AXI] [get_bd_intf_pins dma_tx_time/M_AXI_S2MM]
connect_bd_intf_net -intf_net axi_qpsk_tx_m_fft_axis [get_bd_intf_pins dma_tx_fft/S_AXIS_S2MM] [get_bd_intf_pins qpsk_tx/m_fft_axis]
connect_bd_intf_net -intf_net axi_smc_1_M00_AXI [get_bd_intf_pins M00_AXI] [get_bd_intf_pins axi_smc_1/M00_AXI]
connect_bd_intf_net -intf_net axis_combiner_0_M_AXIS [get_bd_intf_pins M_AXIS] [get_bd_intf_pins interpolate_logic/M_AXIS]
connect_bd_intf_net -intf_net ps8_0_axi_periph_M00_AXI [get_bd_intf_pins dma_tx_time/S_AXI_LITE] [get_bd_intf_pins ps8_0_axi_periph/M00_AXI]
connect_bd_intf_net -intf_net ps8_0_axi_periph_M02_AXI [get_bd_intf_pins dma_tx_fft/S_AXI_LITE] [get_bd_intf_pins ps8_0_axi_periph/M02_AXI]
connect_bd_intf_net -intf_net ps8_0_axi_periph_M03_AXI [get_bd_intf_pins ps8_0_axi_periph/M03_AXI] [get_bd_intf_pins qpsk_tx/axi_qpsk_tx_s_axi]
connect_bd_intf_net -intf_net ps8_0_axi_periph_M04_AXI [get_bd_intf_pins dma_tx_symbol/S_AXI_LITE] [get_bd_intf_pins ps8_0_axi_periph/M04_AXI]
connect_bd_intf_net -intf_net ps8_0_axi_periph_M05_AXI [get_bd_intf_pins M05_AXI] [get_bd_intf_pins ps8_0_axi_periph/M05_AXI]
connect_bd_intf_net -intf_net qpsk_tx_m_rf_axis [get_bd_intf_pins interpolate_logic/S_AXIS] [get_bd_intf_pins qpsk_tx/m_rf_axis]
connect_bd_intf_net -intf_net qpsk_tx_m_symbol_axis [get_bd_intf_pins dma_tx_symbol/S_AXIS_S2MM] [get_bd_intf_pins qpsk_tx/m_symbol_axis]
connect_bd_intf_net -intf_net qpsk_tx_m_time_axis [get_bd_intf_pins dma_tx_time/S_AXIS_S2MM] [get_bd_intf_pins qpsk_tx/m_time_axis]
connect_bd_intf_net -intf_net zynq_ultra_ps_e_0_M_AXI_HPM0_LPD [get_bd_intf_pins S00_AXI] [get_bd_intf_pins ps8_0_axi_periph/S00_AXI]
# Create port connections
connect_bd_net -net axi_dma_fft_s2mm_introut_1 [get_bd_pins dma_tx_fft/s2mm_introut] [get_bd_pins xlconcat_0/In0]
connect_bd_net -net axi_dma_symbol_s2mm_introut [get_bd_pins dma_tx_symbol/s2mm_introut] [get_bd_pins xlconcat_0/In2]
connect_bd_net -net axi_dma_time_s2mm_introut [get_bd_pins dma_tx_time/s2mm_introut] [get_bd_pins xlconcat_0/In1]
connect_bd_net -net clk_dac0_rst_interconnect_aresetn [get_bd_pins axi_smc_1/aresetn] [get_bd_pins interpolate_logic/s_axis_aresetn] [get_bd_pins reset_25_6/interconnect_aresetn]
connect_bd_net -net clk_dac_1 [get_bd_pins clk_out_128] [get_bd_pins dac_clk_128] [get_bd_pins clk_tx_25_6M/clk_in1] [get_bd_pins interpolate_logic/clk_128] [get_bd_pins reset_128/slowest_sync_clk]
connect_bd_net -net clk_tx_locked [get_bd_pins clk_tx_25_6M/locked] [get_bd_pins reset_25_6/dcm_locked]
connect_bd_net -net dac0_bufg_BUFG_O [get_bd_pins clk_out_25_6] [get_bd_pins axi_smc_1/aclk] [get_bd_pins clk_tx_25_6M/clk_out1] [get_bd_pins dma_tx_fft/m_axi_s2mm_aclk] [get_bd_pins dma_tx_fft/s_axi_lite_aclk] [get_bd_pins dma_tx_symbol/m_axi_s2mm_aclk] [get_bd_pins dma_tx_symbol/s_axi_lite_aclk] [get_bd_pins dma_tx_time/m_axi_s2mm_aclk] [get_bd_pins dma_tx_time/s_axi_lite_aclk] [get_bd_pins interpolate_logic/clk_25_6] [get_bd_pins ps8_0_axi_periph/M00_ACLK] [get_bd_pins ps8_0_axi_periph/M02_ACLK] [get_bd_pins ps8_0_axi_periph/M03_ACLK] [get_bd_pins ps8_0_axi_periph/M04_ACLK] [get_bd_pins qpsk_tx/clk] [get_bd_pins reset_25_6/slowest_sync_clk]
connect_bd_net -net reset_1 [get_bd_pins reset] [get_bd_pins clk_tx_25_6M/reset]
connect_bd_net -net reset_128_peripheral_aresetn [get_bd_pins reset_128] [get_bd_pins reset_128/peripheral_aresetn]
connect_bd_net -net reset_pl_interconnect_aresetn [get_bd_pins ps8_0_axi_periph/ARESETN] [get_bd_pins reset_pl/interconnect_aresetn]
connect_bd_net -net reset_pl_peripheral_aresetn [get_bd_pins ps8_0_axi_periph/S00_ARESETN] [get_bd_pins reset_pl/peripheral_aresetn]
connect_bd_net -net rst_dac0_bufg_0M_peripheral_aresetn [get_bd_pins peripheral_aresetn] [get_bd_pins dma_tx_fft/axi_resetn] [get_bd_pins dma_tx_symbol/axi_resetn] [get_bd_pins dma_tx_time/axi_resetn] [get_bd_pins ps8_0_axi_periph/M00_ARESETN] [get_bd_pins ps8_0_axi_periph/M02_ARESETN] [get_bd_pins ps8_0_axi_periph/M03_ARESETN] [get_bd_pins ps8_0_axi_periph/M04_ARESETN] [get_bd_pins qpsk_tx/axi_qpsk_tx_aresetn] [get_bd_pins reset_25_6/peripheral_aresetn]
connect_bd_net -net rst_ps8_0_99M_peripheral_aresetn [get_bd_pins ps_periph_reset] [get_bd_pins ps8_0_axi_periph/M01_ARESETN] [get_bd_pins ps8_0_axi_periph/M05_ARESETN]
connect_bd_net -net xlconcat_0_dout [get_bd_pins s2mm_introut] [get_bd_pins xlconcat_0/dout]
connect_bd_net -net zynq_ultra_ps_e_0_pl_clk0 [get_bd_pins PL_clk_100] [get_bd_pins ps8_0_axi_periph/ACLK] [get_bd_pins ps8_0_axi_periph/M01_ACLK] [get_bd_pins ps8_0_axi_periph/M05_ACLK] [get_bd_pins ps8_0_axi_periph/S00_ACLK] [get_bd_pins reset_pl/slowest_sync_clk]
connect_bd_net -net zynq_ultra_ps_e_0_pl_resetn0 [get_bd_pins pl_reset] [get_bd_pins reset_128/ext_reset_in] [get_bd_pins reset_25_6/ext_reset_in] [get_bd_pins reset_pl/ext_reset_in]
# Restore current instance
current_bd_instance $oldCurInst
}
# Hierarchical cell: qpsk_rx
proc create_hier_cell_qpsk_rx { parentCell nameHier } {
variable script_folder
if { $parentCell eq "" || $nameHier eq "" } {
catch {common::send_gid_msg -ssname BD::TCL -id 2092 -severity "ERROR" "create_hier_cell_qpsk_rx() - Empty argument(s)!"}
return
}
# Get object for parentCell
set parentObj [get_bd_cells $parentCell]
if { $parentObj == "" } {
catch {common::send_gid_msg -ssname BD::TCL -id 2090 -severity "ERROR" "Unable to find parent cell <$parentCell>!"}
return
}
# Make sure parentObj is hier blk
set parentType [get_property TYPE $parentObj]
if { $parentType ne "hier" } {
catch {common::send_gid_msg -ssname BD::TCL -id 2091 -severity "ERROR" "Parent <$parentObj> has TYPE = <$parentType>. Expected to be <hier>."}
return
}
# Save current instance; Restore later
set oldCurInst [current_bd_instance .]
# Set parent object as current
current_bd_instance $parentObj
# Create cell and set as current instance
set hier_obj [create_bd_cell -type hier $nameHier]
current_bd_instance $hier_obj
# Create interface pins
create_bd_intf_pin -mode Master -vlnv xilinx.com:interface:aximm_rtl:1.0 M00_AXI
create_bd_intf_pin -mode Slave -vlnv xilinx.com:interface:aximm_rtl:1.0 S00_AXI
create_bd_intf_pin -mode Slave -vlnv xilinx.com:interface:axis_rtl:1.0 s_i_axis
create_bd_intf_pin -mode Slave -vlnv xilinx.com:interface:axis_rtl:1.0 s_q_axis
# Create pins
create_bd_pin -dir I -type clk adc_clk_64
create_bd_pin -dir O -type clk clk_128
create_bd_pin -dir O -type clk clk_25_6
create_bd_pin -dir I -type clk pl_clk_100
create_bd_pin -dir I -type rst pl_reset
create_bd_pin -dir I -type rst reset
create_bd_pin -dir O -from 0 -to 0 -type rst reset_128
create_bd_pin -dir O -from 3 -to 0 -type intr s2mm_introut
# Create instance: axi_interconnect_0, and set properties
set axi_interconnect_0 [ create_bd_cell -type ip -vlnv xilinx.com:ip:axi_interconnect:2.1 axi_interconnect_0 ]
set_property -dict [ list \
CONFIG.NUM_MI {8} \
] $axi_interconnect_0
# Create instance: clk_rx, and set properties
set clk_rx [ create_bd_cell -type ip -vlnv xilinx.com:ip:clk_wiz:6.0 clk_rx ]
set_property -dict [ list \
CONFIG.CLKIN1_JITTER_PS {156.25} \
CONFIG.CLKOUT1_JITTER {125.232} \
CONFIG.CLKOUT1_PHASE_ERROR {126.718} \
CONFIG.CLKOUT1_REQUESTED_OUT_FREQ {128.000} \
CONFIG.CLKOUT2_JITTER {183.627} \
CONFIG.CLKOUT2_PHASE_ERROR {126.718} \
CONFIG.CLKOUT2_REQUESTED_OUT_FREQ {25.60} \
CONFIG.CLKOUT2_USED {true} \
CONFIG.CLK_OUT1_PORT {clk_128} \
CONFIG.CLK_OUT2_PORT {clk_25_6} \
CONFIG.MMCM_CLKFBOUT_MULT_F {18.000} \
CONFIG.MMCM_CLKIN1_PERIOD {15.625} \
CONFIG.MMCM_CLKIN2_PERIOD {10.0} \
CONFIG.MMCM_CLKOUT0_DIVIDE_F {9.000} \
CONFIG.MMCM_CLKOUT1_DIVIDE {45} \
CONFIG.MMCM_DIVCLK_DIVIDE {1} \
CONFIG.NUM_OUT_CLKS {2} \
CONFIG.PRIM_IN_FREQ {64} \
CONFIG.RESET_BOARD_INTERFACE {Custom} \
CONFIG.USE_BOARD_FLOW {false} \
] $clk_rx
# Create instance: decimate_logic
create_hier_cell_decimate_logic $hier_obj decimate_logic
# Create instance: dma_rx_csync, and set properties
set dma_rx_csync [ create_bd_cell -type ip -vlnv xilinx.com:ip:axi_dma:7.1 dma_rx_csync ]
set_property -dict [ list \
CONFIG.c_include_mm2s {0} \
CONFIG.c_include_sg {0} \
CONFIG.c_m_axi_s2mm_data_width {128} \
CONFIG.c_s2mm_burst_size {128} \
CONFIG.c_sg_include_stscntrl_strm {0} \
CONFIG.c_sg_length_width {26} \
] $dma_rx_csync
# Create instance: dma_rx_dec, and set properties
set dma_rx_dec [ create_bd_cell -type ip -vlnv xilinx.com:ip:axi_dma:7.1 dma_rx_dec ]
set_property -dict [ list \
CONFIG.c_include_mm2s {0} \
CONFIG.c_include_sg {0} \
CONFIG.c_m_axi_s2mm_data_width {128} \
CONFIG.c_s2mm_burst_size {128} \
CONFIG.c_sg_include_stscntrl_strm {0} \
CONFIG.c_sg_length_width {26} \
] $dma_rx_dec
# Create instance: dma_rx_rrc, and set properties
set dma_rx_rrc [ create_bd_cell -type ip -vlnv xilinx.com:ip:axi_dma:7.1 dma_rx_rrc ]
set_property -dict [ list \
CONFIG.c_include_mm2s {0} \
CONFIG.c_include_sg {0} \
CONFIG.c_m_axi_s2mm_data_width {128} \
CONFIG.c_s2mm_burst_size {128} \
CONFIG.c_sg_include_stscntrl_strm {0} \
CONFIG.c_sg_length_width {26} \
] $dma_rx_rrc
# Create instance: dma_rx_tsync, and set properties
set dma_rx_tsync [ create_bd_cell -type ip -vlnv xilinx.com:ip:axi_dma:7.1 dma_rx_tsync ]
set_property -dict [ list \
CONFIG.c_include_mm2s {0} \
CONFIG.c_include_sg {0} \
CONFIG.c_m_axi_s2mm_data_width {128} \
CONFIG.c_s2mm_burst_size {128} \
CONFIG.c_sg_include_stscntrl_strm {0} \
CONFIG.c_sg_length_width {26} \
] $dma_rx_tsync
# Create instance: qpsk_rx_csync, and set properties
set qpsk_rx_csync [ create_bd_cell -type ip -vlnv UoS:SysGen:axi_qpsk_rx_csync:1.1 qpsk_rx_csync ]
# Create instance: qpsk_rx_dec, and set properties
set qpsk_rx_dec [ create_bd_cell -type ip -vlnv UoS:SysGen:axi_qpsk_rx_dec:1.1 qpsk_rx_dec ]
# Create instance: qpsk_rx_rrc, and set properties
set qpsk_rx_rrc [ create_bd_cell -type ip -vlnv UoS:SysGen:axi_qpsk_rx_rrc:1.1 qpsk_rx_rrc ]
# Create instance: qpsk_rx_tsync, and set properties
set qpsk_rx_tsync [ create_bd_cell -type ip -vlnv UoS:SysGen:axi_qpsk_rx_tsync:1.1 qpsk_rx_tsync ]
# Create instance: reset_128, and set properties
set reset_128 [ create_bd_cell -type ip -vlnv xilinx.com:ip:proc_sys_reset:5.0 reset_128 ]
# Create instance: reset_256, and set properties
set reset_256 [ create_bd_cell -type ip -vlnv xilinx.com:ip:proc_sys_reset:5.0 reset_256 ]
# Create instance: reset_pl, and set properties
set reset_pl [ create_bd_cell -type ip -vlnv xilinx.com:ip:proc_sys_reset:5.0 reset_pl ]
# Create instance: smartconnect_0, and set properties
set smartconnect_0 [ create_bd_cell -type ip -vlnv xilinx.com:ip:smartconnect:1.0 smartconnect_0 ]
set_property -dict [ list \
CONFIG.NUM_CLKS {2} \
CONFIG.NUM_SI {4} \
] $smartconnect_0
# Create instance: xlconcat_0, and set properties
set xlconcat_0 [ create_bd_cell -type ip -vlnv xilinx.com:ip:xlconcat:2.1 xlconcat_0 ]
set_property -dict [ list \
CONFIG.NUM_PORTS {4} \
] $xlconcat_0
# Create interface connections
connect_bd_intf_net -intf_net axi_interconnect_0_M00_AXI [get_bd_intf_pins axi_interconnect_0/M00_AXI] [get_bd_intf_pins qpsk_rx_dec/axi_qpsk_rx_dec_s_axi]
connect_bd_intf_net -intf_net axi_interconnect_0_M01_AXI [get_bd_intf_pins axi_interconnect_0/M01_AXI] [get_bd_intf_pins qpsk_rx_csync/axi_qpsk_rx_csync_s_axi]
connect_bd_intf_net -intf_net axi_interconnect_0_M02_AXI [get_bd_intf_pins axi_interconnect_0/M02_AXI] [get_bd_intf_pins qpsk_rx_rrc/axi_qpsk_rx_rrc_s_axi]
connect_bd_intf_net -intf_net axi_interconnect_0_M03_AXI [get_bd_intf_pins axi_interconnect_0/M03_AXI] [get_bd_intf_pins qpsk_rx_tsync/axi_qpsk_rx_tsync_s_axi]
connect_bd_intf_net -intf_net axi_interconnect_0_M04_AXI [get_bd_intf_pins axi_interconnect_0/M04_AXI] [get_bd_intf_pins dma_rx_dec/S_AXI_LITE]
connect_bd_intf_net -intf_net axi_interconnect_0_M05_AXI [get_bd_intf_pins axi_interconnect_0/M05_AXI] [get_bd_intf_pins dma_rx_csync/S_AXI_LITE]
connect_bd_intf_net -intf_net axi_interconnect_0_M06_AXI [get_bd_intf_pins axi_interconnect_0/M06_AXI] [get_bd_intf_pins dma_rx_rrc/S_AXI_LITE]
connect_bd_intf_net -intf_net axi_interconnect_0_M07_AXI [get_bd_intf_pins axi_interconnect_0/M07_AXI] [get_bd_intf_pins dma_rx_tsync/S_AXI_LITE]
connect_bd_intf_net -intf_net axi_qpsk_rx_csync_m_axis [get_bd_intf_pins qpsk_rx_csync/m_axis] [get_bd_intf_pins qpsk_rx_rrc/s_axis]
connect_bd_intf_net -intf_net axi_qpsk_rx_csync_m_axis_tap [get_bd_intf_pins dma_rx_csync/S_AXIS_S2MM] [get_bd_intf_pins qpsk_rx_csync/m_axis_tap]
connect_bd_intf_net -intf_net axi_qpsk_rx_dec_0_m_axis_tap [get_bd_intf_pins dma_rx_dec/S_AXIS_S2MM] [get_bd_intf_pins qpsk_rx_dec/m_axis_tap]
connect_bd_intf_net -intf_net axi_qpsk_rx_dec_m_axis [get_bd_intf_pins qpsk_rx_csync/s_axis] [get_bd_intf_pins qpsk_rx_dec/m_axis]
connect_bd_intf_net -intf_net axi_qpsk_rx_rrc_0_m_axis_tap [get_bd_intf_pins dma_rx_rrc/S_AXIS_S2MM] [get_bd_intf_pins qpsk_rx_rrc/m_axis_tap]
connect_bd_intf_net -intf_net axi_qpsk_rx_rrc_m_axis [get_bd_intf_pins qpsk_rx_rrc/m_axis] [get_bd_intf_pins qpsk_rx_tsync/s_axis]
connect_bd_intf_net -intf_net axi_qpsk_rx_tsync_0_m_axis_tap [get_bd_intf_pins dma_rx_tsync/S_AXIS_S2MM] [get_bd_intf_pins qpsk_rx_tsync/m_axis_tap]
connect_bd_intf_net -intf_net decimate_logic_M_AXIS [get_bd_intf_pins decimate_logic/M_AXIS] [get_bd_intf_pins qpsk_rx_dec/s_q_axis]
connect_bd_intf_net -intf_net decimate_logic_M_AXIS1 [get_bd_intf_pins decimate_logic/M_AXIS1] [get_bd_intf_pins qpsk_rx_dec/s_i_axis]
connect_bd_intf_net -intf_net dma_rx_csync_M_AXI_S2MM [get_bd_intf_pins dma_rx_csync/M_AXI_S2MM] [get_bd_intf_pins smartconnect_0/S01_AXI]
connect_bd_intf_net -intf_net dma_rx_dec_M_AXI_S2MM [get_bd_intf_pins dma_rx_dec/M_AXI_S2MM] [get_bd_intf_pins smartconnect_0/S00_AXI]
connect_bd_intf_net -intf_net dma_rx_rrc_M_AXI_S2MM [get_bd_intf_pins dma_rx_rrc/M_AXI_S2MM] [get_bd_intf_pins smartconnect_0/S02_AXI]
connect_bd_intf_net -intf_net dma_rx_tsync_M_AXI_S2MM [get_bd_intf_pins dma_rx_tsync/M_AXI_S2MM] [get_bd_intf_pins smartconnect_0/S03_AXI]
connect_bd_intf_net -intf_net s_i_axis_1 [get_bd_intf_pins s_i_axis] [get_bd_intf_pins decimate_logic/S_AXIS_DATA]
connect_bd_intf_net -intf_net s_q_axis_1 [get_bd_intf_pins s_q_axis] [get_bd_intf_pins decimate_logic/S_AXIS_DATA1]
connect_bd_intf_net -intf_net smartconnect_0_M00_AXI [get_bd_intf_pins M00_AXI] [get_bd_intf_pins smartconnect_0/M00_AXI]
connect_bd_intf_net -intf_net zynq_ultra_ps_e_0_M_AXI_HPM1_FPD [get_bd_intf_pins S00_AXI] [get_bd_intf_pins axi_interconnect_0/S00_AXI]
# Create port connections
connect_bd_net -net ARESETN_1 [get_bd_pins axi_interconnect_0/ARESETN] [get_bd_pins reset_pl/interconnect_aresetn]
connect_bd_net -net S00_ARESETN_1 [get_bd_pins axi_interconnect_0/S00_ARESETN] [get_bd_pins reset_pl/peripheral_aresetn]
connect_bd_net -net axi_dma_rx_csync_s2mm_introut [get_bd_pins dma_rx_csync/s2mm_introut] [get_bd_pins xlconcat_0/In2]
connect_bd_net -net axi_dma_rx_dec0_s2mm_introut [get_bd_pins dma_rx_dec/s2mm_introut] [get_bd_pins xlconcat_0/In0]
connect_bd_net -net axi_dma_rx_rrc_0_s2mm_introut [get_bd_pins dma_rx_rrc/s2mm_introut] [get_bd_pins xlconcat_0/In1]
connect_bd_net -net axi_dma_rx_tsync_s2mm_introut [get_bd_pins dma_rx_tsync/s2mm_introut] [get_bd_pins xlconcat_0/In3]
connect_bd_net -net clk_rx_locked [get_bd_pins clk_rx/locked] [get_bd_pins reset_128/dcm_locked] [get_bd_pins reset_256/dcm_locked]
connect_bd_net -net clk_wiz_0_clk_out1 [get_bd_pins clk_128] [get_bd_pins clk_rx/clk_128] [get_bd_pins decimate_logic/clk_128] [get_bd_pins reset_128/slowest_sync_clk] [get_bd_pins smartconnect_0/aclk1]
connect_bd_net -net clk_wiz_1_clk_out1 [get_bd_pins clk_25_6] [get_bd_pins axi_interconnect_0/M00_ACLK] [get_bd_pins axi_interconnect_0/M01_ACLK] [get_bd_pins axi_interconnect_0/M02_ACLK] [get_bd_pins axi_interconnect_0/M03_ACLK] [get_bd_pins axi_interconnect_0/M04_ACLK] [get_bd_pins axi_interconnect_0/M05_ACLK] [get_bd_pins axi_interconnect_0/M06_ACLK] [get_bd_pins axi_interconnect_0/M07_ACLK] [get_bd_pins clk_rx/clk_25_6] [get_bd_pins decimate_logic/clk_25_6] [get_bd_pins dma_rx_csync/m_axi_s2mm_aclk] [get_bd_pins dma_rx_csync/s_axi_lite_aclk] [get_bd_pins dma_rx_dec/m_axi_s2mm_aclk] [get_bd_pins dma_rx_dec/s_axi_lite_aclk] [get_bd_pins dma_rx_rrc/m_axi_s2mm_aclk] [get_bd_pins dma_rx_rrc/s_axi_lite_aclk] [get_bd_pins dma_rx_tsync/m_axi_s2mm_aclk] [get_bd_pins dma_rx_tsync/s_axi_lite_aclk] [get_bd_pins qpsk_rx_csync/clk] [get_bd_pins qpsk_rx_dec/clk] [get_bd_pins qpsk_rx_rrc/clk] [get_bd_pins qpsk_rx_tsync/clk] [get_bd_pins reset_256/slowest_sync_clk] [get_bd_pins smartconnect_0/aclk]
connect_bd_net -net reset_1 [get_bd_pins reset] [get_bd_pins clk_rx/reset]
connect_bd_net -net reset_128_peripheral_aresetn [get_bd_pins reset_128] [get_bd_pins decimate_logic/reset_128] [get_bd_pins reset_128/peripheral_aresetn]
connect_bd_net -net reset_256_peripheral_aresetn [get_bd_pins axi_interconnect_0/M00_ARESETN] [get_bd_pins axi_interconnect_0/M01_ARESETN] [get_bd_pins axi_interconnect_0/M02_ARESETN] [get_bd_pins axi_interconnect_0/M03_ARESETN] [get_bd_pins axi_interconnect_0/M04_ARESETN] [get_bd_pins axi_interconnect_0/M05_ARESETN] [get_bd_pins axi_interconnect_0/M06_ARESETN] [get_bd_pins axi_interconnect_0/M07_ARESETN] [get_bd_pins dma_rx_csync/axi_resetn] [get_bd_pins dma_rx_dec/axi_resetn] [get_bd_pins dma_rx_rrc/axi_resetn] [get_bd_pins dma_rx_tsync/axi_resetn] [get_bd_pins qpsk_rx_csync/axi_qpsk_rx_csync_aresetn] [get_bd_pins qpsk_rx_dec/axi_qpsk_rx_dec_aresetn] [get_bd_pins qpsk_rx_rrc/axi_qpsk_rx_rrc_aresetn] [get_bd_pins qpsk_rx_tsync/axi_qpsk_rx_tsync_aresetn] [get_bd_pins reset_256/peripheral_aresetn] [get_bd_pins smartconnect_0/aresetn]
connect_bd_net -net usp_rf_data_converter_0_clk_adc0 [get_bd_pins adc_clk_64] [get_bd_pins clk_rx/clk_in1]
connect_bd_net -net xlconcat_0_dout [get_bd_pins s2mm_introut] [get_bd_pins xlconcat_0/dout]
connect_bd_net -net zynq_ultra_ps_e_0_pl_clk0 [get_bd_pins pl_clk_100] [get_bd_pins axi_interconnect_0/ACLK] [get_bd_pins axi_interconnect_0/S00_ACLK] [get_bd_pins reset_pl/slowest_sync_clk]
connect_bd_net -net zynq_ultra_ps_e_0_pl_resetn0 [get_bd_pins pl_reset] [get_bd_pins reset_128/ext_reset_in] [get_bd_pins reset_256/ext_reset_in] [get_bd_pins reset_pl/ext_reset_in]
# Restore current instance
current_bd_instance $oldCurInst
}
# Procedure to create entire design; Provide argument to make
# procedure reusable. If parentCell is "", will use root.
proc create_root_design { parentCell } {
variable script_folder
variable design_name
if { $parentCell eq "" } {
set parentCell [get_bd_cells /]
}
# Get object for parentCell
set parentObj [get_bd_cells $parentCell]
if { $parentObj == "" } {
catch {common::send_gid_msg -ssname BD::TCL -id 2090 -severity "ERROR" "Unable to find parent cell <$parentCell>!"}
return
}
# Make sure parentObj is hier blk
set parentType [get_property TYPE $parentObj]
if { $parentType ne "hier" } {
catch {common::send_gid_msg -ssname BD::TCL -id 2091 -severity "ERROR" "Parent <$parentObj> has TYPE = <$parentType>. Expected to be <hier>."}
return
}
# Save current instance; Restore later
set oldCurInst [current_bd_instance .]
# Set parent object as current
current_bd_instance $parentObj
# Create interface ports
set adc0_clk [ create_bd_intf_port -mode Slave -vlnv xilinx.com:interface:diff_clock_rtl:1.0 adc0_clk ]
set_property -dict [ list \
CONFIG.FREQ_HZ {409600000.0} \
] $adc0_clk
set dac1_clk [ create_bd_intf_port -mode Slave -vlnv xilinx.com:interface:diff_clock_rtl:1.0 dac1_clk ]
set_property -dict [ list \
CONFIG.FREQ_HZ {204800000.0} \
] $dac1_clk
set sysref_in [ create_bd_intf_port -mode Slave -vlnv xilinx.com:display_usp_rf_data_converter:diff_pins_rtl:1.0 sysref_in ]
set vin0_01 [ create_bd_intf_port -mode Slave -vlnv xilinx.com:interface:diff_analog_io_rtl:1.0 vin0_01 ]
set vout12 [ create_bd_intf_port -mode Master -vlnv xilinx.com:interface:diff_analog_io_rtl:1.0 vout12 ]
# Create ports
set reset [ create_bd_port -dir I -type rst reset ]
set_property -dict [ list \
CONFIG.POLARITY {ACTIVE_HIGH} \
] $reset
# Create instance: axi_intc_fpd, and set properties
set axi_intc_fpd [ create_bd_cell -type ip -vlnv xilinx.com:ip:axi_intc:4.1 axi_intc_fpd ]
set_property -dict [ list \
CONFIG.C_IRQ_CONNECTION {1} \
] $axi_intc_fpd
# Create instance: interrupt_concat_fpd, and set properties
set interrupt_concat_fpd [ create_bd_cell -type ip -vlnv xilinx.com:ip:xlconcat:2.1 interrupt_concat_fpd ]
set_property -dict [ list \
CONFIG.NUM_PORTS {3} \
] $interrupt_concat_fpd
# Create instance: qpsk_rx
create_hier_cell_qpsk_rx [current_bd_instance .] qpsk_rx
# Create instance: qpsk_tx
create_hier_cell_qpsk_tx [current_bd_instance .] qpsk_tx
# Create instance: rst_ps8_0_99M, and set properties
set rst_ps8_0_99M [ create_bd_cell -type ip -vlnv xilinx.com:ip:proc_sys_reset:5.0 rst_ps8_0_99M ]
# Create instance: usp_rf_data_converter_0, and set properties
set usp_rf_data_converter_0 [ create_bd_cell -type ip -vlnv xilinx.com:ip:usp_rf_data_converter:2.4 usp_rf_data_converter_0 ]
set_property -dict [ list \
CONFIG.ADC0_Fabric_Freq {128.000} \
CONFIG.ADC0_Outclk_Freq {64.000} \
CONFIG.ADC0_PLL_Enable {true} \
CONFIG.ADC0_Refclk_Freq {409.600} \
CONFIG.ADC0_Sampling_Rate {1.024} \
CONFIG.ADC_Data_Type00 {1} \
CONFIG.ADC_Data_Type01 {1} \
CONFIG.ADC_Data_Width00 {1} \
CONFIG.ADC_Data_Width01 {1} \
CONFIG.ADC_Decimation_Mode00 {8} \
CONFIG.ADC_Decimation_Mode01 {8} \
CONFIG.ADC_Mixer_Mode00 {0} \
CONFIG.ADC_Mixer_Mode01 {0} \
CONFIG.ADC_Mixer_Type00 {1} \
CONFIG.ADC_Mixer_Type01 {1} \
CONFIG.ADC_Slice00_Enable {true} \
CONFIG.DAC1_Enable {1} \
CONFIG.DAC1_Fabric_Freq {128.000} \
CONFIG.DAC1_Outclk_Freq {128.000} \
CONFIG.DAC1_PLL_Enable {true} \
CONFIG.DAC1_Refclk_Freq {409.600} \
CONFIG.DAC1_Sampling_Rate {1.024} \
CONFIG.DAC_Data_Type12 {0} \
CONFIG.DAC_Data_Width12 {2} \
CONFIG.DAC_Interpolation_Mode12 {8} \
CONFIG.DAC_Mixer_Mode12 {0} \
CONFIG.DAC_Mixer_Type12 {1} \
CONFIG.DAC_Slice00_Enable {false} \
CONFIG.DAC_Slice01_Enable {false} \
CONFIG.DAC_Slice10_Enable {false} \
CONFIG.DAC_Slice12_Enable {true} \
CONFIG.DAC_Slice13_Enable {false} \
] $usp_rf_data_converter_0
# Create instance: zynq_ultra_ps_e_0, and set properties
set zynq_ultra_ps_e_0 [ create_bd_cell -type ip -vlnv xilinx.com:ip:zynq_ultra_ps_e:3.3 zynq_ultra_ps_e_0 ]
set_property USER_COMMENTS.comment_0 "note cas write latency set to 14
other set are 16" [get_bd_cells /zynq_ultra_ps_e_0]
set_property -dict [ list \