Skip to content

Commit

Permalink
port sdr_transceiver_ft8 to STEMlab 122.88-16 SDR
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-demin committed Dec 16, 2018
1 parent 226b024 commit b7d541d
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 26 deletions.
2 changes: 1 addition & 1 deletion projects/sdr_transceiver_ft8/app/measure-corr.c
Expand Up @@ -58,7 +58,7 @@ int main(int argc, char *argv[])
buffer += *fifo + 1;
}

corr = (125.0e6 * number / buffer - 1.0) * 1.0e6;
corr = (122.88e6 * number / buffer - 1.0) * 1.0e6;

if(corr < -100.0 || corr > 100.0)
{
Expand Down
2 changes: 1 addition & 1 deletion projects/sdr_transceiver_ft8/app/write-c2-files.c
Expand Up @@ -121,7 +121,7 @@ int main(int argc, char *argv[])
for(i = 0; i < 8; ++i)
{
fifo[i] = mmap(NULL, 8*sysconf(_SC_PAGESIZE), PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0x40002000 + i * 0x1000);
*(uint32_t *)(cfg + 8 + i * 4) = (uint32_t)floor((1.0 + 1.0e-6 * corr) * freq[i] / 125.0 * (1<<30) + 0.5);
*(uint32_t *)(cfg + 8 + i * 4) = (uint32_t)floor((1.0 + 1.0e-6 * corr) * freq[i] / 122.88 * (1<<30) + 0.5);
}

rst = (uint8_t *)(cfg + 0);
Expand Down
14 changes: 9 additions & 5 deletions projects/sdr_transceiver_ft8/block_design.tcl
Expand Up @@ -2,12 +2,12 @@
cell xilinx.com:ip:clk_wiz:6.0 pll_0 {
PRIMITIVE PLL
PRIM_IN_FREQ.VALUE_SRC USER
PRIM_IN_FREQ 125.0
PRIM_IN_FREQ 122.88
PRIM_SOURCE Differential_clock_capable_pin
CLKOUT1_USED true
CLKOUT1_REQUESTED_OUT_FREQ 125.0
CLKOUT1_REQUESTED_OUT_FREQ 122.88
CLKOUT2_USED true
CLKOUT2_REQUESTED_OUT_FREQ 250.0
CLKOUT2_REQUESTED_OUT_FREQ 245.76
CLKOUT2_REQUESTED_PHASE -90.0
USE_RESET false
} {
Expand Down Expand Up @@ -40,7 +40,9 @@ cell xilinx.com:ip:proc_sys_reset:5.0 rst_0 {} {
# ADC

# Create axis_red_pitaya_adc
cell pavel-demin:user:axis_red_pitaya_adc:2.0 adc_0 {} {
cell pavel-demin:user:axis_red_pitaya_adc:2.0 adc_0 {
ADC_DATA_WIDTH 16
} {
aclk pll_0/clk_out1
adc_dat_a adc_dat_a_i
adc_dat_b adc_dat_b_i
Expand All @@ -50,7 +52,9 @@ cell pavel-demin:user:axis_red_pitaya_adc:2.0 adc_0 {} {
# DAC

# Create axis_red_pitaya_dac
cell pavel-demin:user:axis_red_pitaya_dac:1.0 dac_0 {} {
cell pavel-demin:user:axis_red_pitaya_dac:1.0 dac_0 {
DAC_DATA_WIDTH 14
} {
aclk pll_0/clk_out1
ddr_clk pll_0/clk_out2
locked pll_0/locked
Expand Down
4 changes: 3 additions & 1 deletion projects/sdr_transceiver_ft8/filters/rx_fir_0.r
@@ -1,7 +1,7 @@
library(signal)

# CIC filter parameters
R <- 125 # Decimation factor
R <- 120 # Decimation factor
M <- 1 # Differential delay
N <- 6 # Number of stages

Expand All @@ -24,6 +24,8 @@ Mf <- c(Mp, matrix(0, 1, length(fs)))

h <- fir2(L, f, Mf, window=kaiser(L+1, Beta))

h <- h / sum(h)

# Print filter coefficients
paste(sprintf("%.10e", h), collapse=", ")

Expand Down
32 changes: 16 additions & 16 deletions projects/sdr_transceiver_ft8/rx.tcl
Expand Up @@ -33,7 +33,7 @@ for {set i 0} {$i <= 7} {incr i} {

# Create dds_compiler
cell xilinx.com:ip:dds_compiler:6.0 dds_$i {
DDS_CLOCK_RATE 125
DDS_CLOCK_RATE 122.88
SPURIOUS_FREE_DYNAMIC_RANGE 138
FREQUENCY_RESOLUTION 0.2
PHASE_INCREMENT Streaming
Expand Down Expand Up @@ -73,7 +73,7 @@ for {set i 0} {$i <= 15} {incr i} {
B_WIDTH.VALUE_SRC USER
OUTPUT_PROPERTIES User_Defined
A_WIDTH 24
B_WIDTH 14
B_WIDTH 16
P_WIDTH 25
} {
A dds_slice_$i/dout
Expand All @@ -88,12 +88,12 @@ for {set i 0} {$i <= 15} {incr i} {
FILTER_TYPE Decimation
NUMBER_OF_STAGES 6
SAMPLE_RATE_CHANGES Fixed
FIXED_OR_INITIAL_RATE 125
INPUT_SAMPLE_FREQUENCY 125
CLOCK_FREQUENCY 125
FIXED_OR_INITIAL_RATE 128
INPUT_SAMPLE_FREQUENCY 122.88
CLOCK_FREQUENCY 122.88
INPUT_DATA_WIDTH 24
QUANTIZATION Truncation
OUTPUT_DATA_WIDTH 24
OUTPUT_DATA_WIDTH 32
USE_XTREME_DSP_SLICE false
HAS_DOUT_TREADY true
HAS_ARESETN true
Expand All @@ -109,7 +109,7 @@ for {set i 0} {$i <= 15} {incr i} {
# Create axis_combiner
cell xilinx.com:ip:axis_combiner:1.1 comb_0 {
TDATA_NUM_BYTES.VALUE_SRC USER
TDATA_NUM_BYTES 3
TDATA_NUM_BYTES 4
NUM_SI 16
} {
S00_AXIS cic_0/M_AXIS_DATA
Expand All @@ -135,8 +135,8 @@ cell xilinx.com:ip:axis_combiner:1.1 comb_0 {
# Create axis_dwidth_converter
cell xilinx.com:ip:axis_dwidth_converter:1.1 conv_0 {
S_TDATA_NUM_BYTES.VALUE_SRC USER
S_TDATA_NUM_BYTES 48
M_TDATA_NUM_BYTES 3
S_TDATA_NUM_BYTES 64
M_TDATA_NUM_BYTES 4
} {
S_AXIS comb_0/M_AXIS
aclk /pll_0/clk_out1
Expand All @@ -149,11 +149,11 @@ cell xilinx.com:ip:cic_compiler:4.0 cic_16 {
FILTER_TYPE Decimation
NUMBER_OF_STAGES 6
SAMPLE_RATE_CHANGES Fixed
FIXED_OR_INITIAL_RATE 125
INPUT_SAMPLE_FREQUENCY 1
CLOCK_FREQUENCY 125
FIXED_OR_INITIAL_RATE 120
INPUT_SAMPLE_FREQUENCY 0.96
CLOCK_FREQUENCY 122.88
NUMBER_OF_CHANNELS 16
INPUT_DATA_WIDTH 24
INPUT_DATA_WIDTH 32
QUANTIZATION Truncation
OUTPUT_DATA_WIDTH 32
USE_XTREME_DSP_SLICE false
Expand All @@ -169,16 +169,16 @@ cell xilinx.com:ip:cic_compiler:4.0 cic_16 {
cell xilinx.com:ip:fir_compiler:7.2 fir_0 {
DATA_WIDTH.VALUE_SRC USER
DATA_WIDTH 32
COEFFICIENTVECTOR {-1.6477639552e-08, -4.7322398249e-08, -7.9311409775e-10, 3.0934160749e-08, 1.8626860457e-08, 3.2748557120e-08, -6.2990865366e-09, -1.5227986158e-07, -8.3046084786e-08, 3.1453549182e-07, 3.0562673833e-07, -4.7417269422e-07, -7.1349504942e-07, 5.4732396824e-07, 1.3346218315e-06, -4.1414075502e-07, -2.1505100620e-06, -6.7741001572e-08, 3.0754648545e-06, 1.0370225542e-06, -3.9443639371e-06, -2.5919131159e-06, 4.5153751942e-06, 4.7478257577e-06, -4.4928424580e-06, -7.3982459612e-06, 3.5721630429e-06, 1.0289531399e-05, -1.5038200096e-06, -1.3020866944e-05, -1.8320780741e-06, 1.5078157871e-05, 6.3546486992e-06, -1.5905693254e-05, -1.1732482243e-05, 1.5011014603e-05, 1.7371981550e-05, -1.2094352463e-05, -2.2466882726e-05, 7.1697434417e-06, 2.6103268500e-05, -6.6357607870e-07, -2.7429279457e-05, -6.5506232292e-06, 2.5864354890e-05, 1.3204315242e-05, -2.1317037730e-05, -1.7790015052e-05, 1.4366401658e-05, 1.8819648804e-05, -6.3576957562e-06, -1.5162467161e-05, -6.3454751890e-07, 6.4157454794e-06, 4.0077900105e-06, 6.7576033639e-06, -1.0053804557e-06, -2.2403023407e-05, -1.0762630262e-05, 3.7233383457e-05, 3.2700816121e-05, -4.6860517011e-05, -6.4652658151e-05, 4.6259987990e-05, 1.0440186152e-04, -3.0540394819e-05, -1.4745720335e-04, -4.1201370727e-06, 1.8718591031e-04, 5.9472285269e-05, -2.1537491758e-04, -1.3430207308e-04, 2.2322415298e-04, 2.2383529854e-04, -2.0270064628e-04, -3.1962371627e-04, 1.4809620807e-04, 4.1005036861e-04, -5.7559785442e-05, -4.8151499596e-04, -6.5676313349e-05, 5.2025099911e-04, 2.1266416434e-04, -5.1461871942e-04, -3.6900584284e-04, 4.5746738987e-04, 5.1597365609e-04, -3.4847793976e-04, -6.3288127995e-04, 1.9564979495e-04, 7.0018874915e-04, -1.5799271763e-05, -7.0320539204e-04, -1.6637669771e-04, 6.3584392061e-04, 3.2083226194e-04, -5.0381108421e-04, -4.1625531993e-04, 3.2656999167e-04, 4.2539187592e-04, -1.3746695449e-04, -3.3104533584e-04, -1.8432241920e-05, 1.3195287043e-04, 8.8991373620e-05, 1.5240645111e-04, -2.2005955258e-05, -4.7910932766e-04, -2.2615894370e-04, 7.8159610890e-04, 6.8033628724e-04, -9.7384157378e-04, -1.3374308681e-03, 9.5750542955e-04, 2.1582379593e-03, -6.3305849791e-04, -3.0623958357e-03, -8.6277386830e-05, 3.9274923777e-03, 1.2589008658e-03, -4.5932013829e-03, -2.8990646220e-03, 4.8708089214e-03, 4.9627165218e-03, -4.5578812687e-03, -7.3366723336e-03, 3.4571636048e-03, 9.8325360800e-03, -1.3981932434e-03, -1.2186163713e-02, -1.7403432886e-03, 1.4062282609e-02, 6.0085367250e-03, -1.5065575155e-02, -1.1370141606e-02, 1.4748357578e-02, 1.7687227432e-02, -1.2618525849e-02, -2.4713165549e-02, 8.1309035026e-03, 3.2086471101e-02, -6.4515135347e-04, -3.9317049352e-02, -1.0692407507e-02, 4.5736643978e-02, 2.7250170322e-02, -5.0321471240e-02, -5.1715839268e-02, 5.1019578536e-02, 9.0570896036e-02, -4.1608582780e-02, -1.6374794004e-01, -1.0799124751e-02, 3.5639198057e-01, 5.5482162063e-01, 3.5639198057e-01, -1.0799124751e-02, -1.6374794004e-01, -4.1608582780e-02, 9.0570896036e-02, 5.1019578536e-02, -5.1715839268e-02, -5.0321471240e-02, 2.7250170322e-02, 4.5736643978e-02, -1.0692407507e-02, -3.9317049352e-02, -6.4515135347e-04, 3.2086471101e-02, 8.1309035026e-03, -2.4713165549e-02, -1.2618525849e-02, 1.7687227432e-02, 1.4748357578e-02, -1.1370141606e-02, -1.5065575155e-02, 6.0085367250e-03, 1.4062282609e-02, -1.7403432886e-03, -1.2186163713e-02, -1.3981932434e-03, 9.8325360800e-03, 3.4571636048e-03, -7.3366723336e-03, -4.5578812687e-03, 4.9627165218e-03, 4.8708089214e-03, -2.8990646220e-03, -4.5932013829e-03, 1.2589008658e-03, 3.9274923777e-03, -8.6277386830e-05, -3.0623958357e-03, -6.3305849791e-04, 2.1582379593e-03, 9.5750542955e-04, -1.3374308681e-03, -9.7384157378e-04, 6.8033628724e-04, 7.8159610890e-04, -2.2615894370e-04, -4.7910932766e-04, -2.2005955258e-05, 1.5240645111e-04, 8.8991373620e-05, 1.3195287043e-04, -1.8432241920e-05, -3.3104533584e-04, -1.3746695449e-04, 4.2539187592e-04, 3.2656999167e-04, -4.1625531993e-04, -5.0381108421e-04, 3.2083226194e-04, 6.3584392061e-04, -1.6637669771e-04, -7.0320539204e-04, -1.5799271763e-05, 7.0018874915e-04, 1.9564979495e-04, -6.3288127995e-04, -3.4847793976e-04, 5.1597365609e-04, 4.5746738987e-04, -3.6900584284e-04, -5.1461871942e-04, 2.1266416434e-04, 5.2025099911e-04, -6.5676313349e-05, -4.8151499596e-04, -5.7559785442e-05, 4.1005036861e-04, 1.4809620807e-04, -3.1962371627e-04, -2.0270064628e-04, 2.2383529854e-04, 2.2322415298e-04, -1.3430207308e-04, -2.1537491758e-04, 5.9472285269e-05, 1.8718591031e-04, -4.1201370727e-06, -1.4745720335e-04, -3.0540394819e-05, 1.0440186152e-04, 4.6259987990e-05, -6.4652658151e-05, -4.6860517011e-05, 3.2700816121e-05, 3.7233383457e-05, -1.0762630262e-05, -2.2403023407e-05, -1.0053804557e-06, 6.7576033639e-06, 4.0077900105e-06, 6.4157454794e-06, -6.3454751890e-07, -1.5162467161e-05, -6.3576957562e-06, 1.8819648804e-05, 1.4366401658e-05, -1.7790015052e-05, -2.1317037730e-05, 1.3204315242e-05, 2.5864354890e-05, -6.5506232292e-06, -2.7429279457e-05, -6.6357607870e-07, 2.6103268500e-05, 7.1697434417e-06, -2.2466882726e-05, -1.2094352463e-05, 1.7371981550e-05, 1.5011014603e-05, -1.1732482243e-05, -1.5905693254e-05, 6.3546486992e-06, 1.5078157871e-05, -1.8320780741e-06, -1.3020866944e-05, -1.5038200096e-06, 1.0289531399e-05, 3.5721630429e-06, -7.3982459612e-06, -4.4928424580e-06, 4.7478257577e-06, 4.5153751942e-06, -2.5919131159e-06, -3.9443639371e-06, 1.0370225542e-06, 3.0754648545e-06, -6.7741001572e-08, -2.1505100620e-06, -4.1414075502e-07, 1.3346218315e-06, 5.4732396824e-07, -7.1349504942e-07, -4.7417269422e-07, 3.0562673833e-07, 3.1453549182e-07, -8.3046084786e-08, -1.5227986158e-07, -6.2990865366e-09, 3.2748557120e-08, 1.8626860457e-08, 3.0934160749e-08, -7.9311409775e-10, -4.7322398249e-08, -1.6477639552e-08}
COEFFICIENTVECTOR {-1.6476029924e-08, -4.7317663921e-08, -7.9297086919e-10, 3.0931068251e-08, 1.8624899184e-08, 3.2745275438e-08, -6.2983102205e-09, -1.5226461510e-07, -8.3037993196e-08, 3.1450399608e-07, 3.0559647999e-07, -4.7412518790e-07, -7.1342412421e-07, 5.4726906080e-07, 1.3344889422e-06, -4.1409901942e-07, -2.1502957535e-06, -6.7734780426e-08, 3.0751582226e-06, 1.0369197451e-06, -3.9439705591e-06, -2.5916552851e-06, 4.5149247871e-06, 4.7473529367e-06, -4.4923942508e-06, -7.3975088222e-06, 3.5718066668e-06, 1.0288505945e-05, -1.5036699926e-06, -1.3019569206e-05, -1.8318952561e-06, 1.5076655211e-05, 6.3540146763e-06, -1.5904108520e-05, -1.1731311774e-05, 1.5009519800e-05, 1.7370248710e-05, -1.2093149493e-05, -2.2464642138e-05, 7.1690327594e-06, 2.6100666080e-05, -6.6351550041e-07, -2.7426546211e-05, -6.5499631942e-06, 2.5861779804e-05, 1.3202990848e-05, -2.1314918913e-05, -1.7788233187e-05, 1.4364979354e-05, 1.8817765049e-05, -6.3570758109e-06, -1.5160950101e-05, -6.3446650653e-07, 6.4151039934e-06, 4.0073694377e-06, 6.7569265413e-06, -1.0052571209e-06, -2.2400780694e-05, -1.0761580775e-05, 3.7229655526e-05, 3.2697577872e-05, -4.6855822711e-05, -6.4646230690e-05, 4.6255347932e-05, 1.0439146560e-04, -3.0537318086e-05, -1.4744250814e-04, -4.1197597426e-06, 1.8716724719e-04, 5.9466388336e-05, -2.1535343798e-04, -1.3428871227e-04, 2.2320188691e-04, 2.2381300637e-04, -2.0268042569e-04, -3.1959186896e-04, 1.4808143459e-04, 4.1000950243e-04, -5.7554045117e-05, -4.8146700521e-04, -6.5669757798e-05, 5.2019915257e-04, 2.1264294432e-04, -5.1456744773e-04, -3.6896902805e-04, 4.5742183724e-04, 5.1592218707e-04, -3.4844328132e-04, -6.3281816345e-04, 1.9563040584e-04, 7.0011894344e-04, -1.5797846449e-05, -7.0313532236e-04, -1.6635993250e-04, 6.3578061968e-04, 3.2080008143e-04, -5.0376101407e-04, -4.1621362769e-04, 3.2653766960e-04, 4.2534929843e-04, -1.3745356625e-04, -3.3101221784e-04, -1.8430012550e-05, 1.3193968343e-04, 8.8982050994e-05, 1.5239118041e-04, -2.2003278613e-05, -4.7906135871e-04, -2.2613687582e-04, 7.8151784851e-04, 6.8026889589e-04, -9.7374401905e-04, -1.3372978829e-03, 9.5740939718e-04, 2.1580230247e-03, -6.3299474197e-04, -3.0620906209e-03, -8.6269449756e-05, 3.9271007758e-03, 1.2587759927e-03, -4.5927432956e-03, -2.8987761545e-03, 4.8703230916e-03, 4.9622222115e-03, -4.5574266467e-03, -7.3359412491e-03, 3.4568188251e-03, 9.8315561210e-03, -1.3980539406e-03, -1.2184949179e-02, -1.7401694020e-03, 1.4060881305e-02, 6.0079369926e-03, -1.5064074389e-02, -1.1369007075e-02, 1.4746889392e-02, 1.7685463058e-02, -1.2617271454e-02, -2.4710701135e-02, 8.1300985728e-03, 3.2083272920e-02, -6.4509548985e-04, -3.9313133290e-02, -1.0691329576e-02, 4.5732093991e-02, 2.7247437703e-02, -5.0316476483e-02, -5.1710664547e-02, 5.1014540684e-02, 9.0561853039e-02, -4.1604548308e-02, -1.6373166526e-01, -1.0797747008e-02, 3.5635721746e-01, 5.5476729348e-01, 3.5635721746e-01, -1.0797747008e-02, -1.6373166526e-01, -4.1604548308e-02, 9.0561853039e-02, 5.1014540684e-02, -5.1710664547e-02, -5.0316476483e-02, 2.7247437703e-02, 4.5732093991e-02, -1.0691329576e-02, -3.9313133290e-02, -6.4509548985e-04, 3.2083272920e-02, 8.1300985728e-03, -2.4710701135e-02, -1.2617271454e-02, 1.7685463058e-02, 1.4746889392e-02, -1.1369007075e-02, -1.5064074389e-02, 6.0079369926e-03, 1.4060881305e-02, -1.7401694020e-03, -1.2184949179e-02, -1.3980539406e-03, 9.8315561210e-03, 3.4568188251e-03, -7.3359412491e-03, -4.5574266467e-03, 4.9622222115e-03, 4.8703230916e-03, -2.8987761545e-03, -4.5927432956e-03, 1.2587759927e-03, 3.9271007758e-03, -8.6269449756e-05, -3.0620906209e-03, -6.3299474197e-04, 2.1580230247e-03, 9.5740939718e-04, -1.3372978829e-03, -9.7374401905e-04, 6.8026889589e-04, 7.8151784851e-04, -2.2613687582e-04, -4.7906135871e-04, -2.2003278613e-05, 1.5239118041e-04, 8.8982050994e-05, 1.3193968343e-04, -1.8430012550e-05, -3.3101221784e-04, -1.3745356625e-04, 4.2534929843e-04, 3.2653766960e-04, -4.1621362769e-04, -5.0376101407e-04, 3.2080008143e-04, 6.3578061968e-04, -1.6635993250e-04, -7.0313532236e-04, -1.5797846449e-05, 7.0011894344e-04, 1.9563040584e-04, -6.3281816345e-04, -3.4844328132e-04, 5.1592218707e-04, 4.5742183724e-04, -3.6896902805e-04, -5.1456744773e-04, 2.1264294432e-04, 5.2019915257e-04, -6.5669757798e-05, -4.8146700521e-04, -5.7554045117e-05, 4.1000950243e-04, 1.4808143459e-04, -3.1959186896e-04, -2.0268042569e-04, 2.2381300637e-04, 2.2320188691e-04, -1.3428871227e-04, -2.1535343798e-04, 5.9466388336e-05, 1.8716724719e-04, -4.1197597426e-06, -1.4744250814e-04, -3.0537318086e-05, 1.0439146560e-04, 4.6255347932e-05, -6.4646230690e-05, -4.6855822711e-05, 3.2697577872e-05, 3.7229655526e-05, -1.0761580775e-05, -2.2400780694e-05, -1.0052571209e-06, 6.7569265413e-06, 4.0073694377e-06, 6.4151039934e-06, -6.3446650653e-07, -1.5160950101e-05, -6.3570758109e-06, 1.8817765049e-05, 1.4364979354e-05, -1.7788233187e-05, -2.1314918913e-05, 1.3202990848e-05, 2.5861779804e-05, -6.5499631942e-06, -2.7426546211e-05, -6.6351550041e-07, 2.6100666080e-05, 7.1690327594e-06, -2.2464642138e-05, -1.2093149493e-05, 1.7370248710e-05, 1.5009519800e-05, -1.1731311774e-05, -1.5904108520e-05, 6.3540146763e-06, 1.5076655211e-05, -1.8318952561e-06, -1.3019569206e-05, -1.5036699926e-06, 1.0288505945e-05, 3.5718066668e-06, -7.3975088222e-06, -4.4923942508e-06, 4.7473529367e-06, 4.5149247871e-06, -2.5916552851e-06, -3.9439705591e-06, 1.0369197451e-06, 3.0751582226e-06, -6.7734780426e-08, -2.1502957535e-06, -4.1409901942e-07, 1.3344889422e-06, 5.4726906080e-07, -7.1342412421e-07, -4.7412518790e-07, 3.0559647999e-07, 3.1450399608e-07, -8.3037993196e-08, -1.5226461510e-07, -6.2983102205e-09, 3.2745275438e-08, 1.8624899184e-08, 3.0931068251e-08, -7.9297086919e-10, -4.7317663921e-08, -1.6476029924e-08}
COEFFICIENT_WIDTH 32
QUANTIZATION Maximize_Dynamic_Range
QUANTIZATION Quantize_Only
BESTPRECISION true
FILTER_TYPE Decimation
DECIMATION_RATE 2
NUMBER_CHANNELS 16
NUMBER_PATHS 1
SAMPLE_FREQUENCY 0.008
CLOCK_FREQUENCY 125
CLOCK_FREQUENCY 122.88
OUTPUT_ROUNDING_MODE Convergent_Rounding_to_Even
OUTPUT_WIDTH 33
M_DATA_HAS_TREADY true
Expand Down
4 changes: 2 additions & 2 deletions projects/sdr_transceiver_ft8/tx.tcl
Expand Up @@ -35,7 +35,7 @@ cell xilinx.com:ip:axis_data_fifo:1.1 fifo_0 {
# Create xlconstant
cell xilinx.com:ip:xlconstant:1.1 const_0 {
CONST_WIDTH 32
CONST_VAL 85333332
CONST_VAL 19660799
}

# Create axis_interpolator
Expand All @@ -54,7 +54,7 @@ cell xilinx.com:ip:xlconstant:1.1 const_1

# Create dds_compiler
cell xilinx.com:ip:dds_compiler:6.0 dds_0 {
DDS_CLOCK_RATE 125
DDS_CLOCK_RATE 122.88
SPURIOUS_FREE_DYNAMIC_RANGE 96
FREQUENCY_RESOLUTION 0.2
PHASE_INCREMENT Streaming
Expand Down

0 comments on commit b7d541d

Please sign in to comment.