v04-z_chip_top modify and DataShow.m comparing case
This commit is contained in:
		
							parent
							
								
									ef140f0245
								
							
						
					
					
						commit
						efff87bbe0
					
				|  | @ -1,8 +1,10 @@ | ||||||
| clc;clear | clc;clear | ||||||
| %conver case from bin2dec | %conver case from bin2dec | ||||||
| data_bin = textread("/home/thfu/work/Z-noSFQ/EZQ-Z-M-v1.0/case/TC_SingleWaveCombine_bin.txt",'%s'); | DataOrg_bin = textread("/home/thfu/work/Z-noSFQ/EZQ-Z-M-v1.0/case/TC_SingleWaveCombine_bin.txt",'%s'); | ||||||
| data_dec = bin2dec(data_bin); | DataOrg_dec = bin2dec(DataOrg_bin); | ||||||
| data_hex = string(dec2hex(data_dec,8)); | DataOrg_hex = string(dec2hex(DataOrg_dec,8)); | ||||||
|  | 
 | ||||||
|  | DataRead_hex = upper(string(textread("/home/thfu/work/Z-noSFQ/EZQ-Z-M-v1.0/FIL/sim/ConfigData.dat",'%s'))); | ||||||
| %% | %% | ||||||
| %read data  | %read data  | ||||||
| clc;clear;close all | clc;clear;close all | ||||||
|  |  | ||||||
|  | @ -300,6 +300,7 @@ z_chip_top inst_chip_top ( | ||||||
|   ,.ch0_dc_Cal_rstn     ()  |   ,.ch0_dc_Cal_rstn     ()  | ||||||
|   ,.ch0_dc_Cal_div_rstn ()  |   ,.ch0_dc_Cal_div_rstn ()  | ||||||
|   ,.ch0_dc_Cal_end      (ch0_dc_Cal_end) |   ,.ch0_dc_Cal_end      (ch0_dc_Cal_end) | ||||||
|  |   ,.ch0_dc_clkout       ()  | ||||||
|   `ifdef CHANNEL_IS_FOUR   |   `ifdef CHANNEL_IS_FOUR   | ||||||
|   //------------------------------Ch1 DAC cfg pin---------------------------------------------------- |   //------------------------------Ch1 DAC cfg pin---------------------------------------------------- | ||||||
|   ,.ch1_dac_addr        ()  |   ,.ch1_dac_addr        ()  | ||||||
|  | @ -323,6 +324,7 @@ z_chip_top inst_chip_top ( | ||||||
|   ,.ch1_dc_Cal_rstn     () |   ,.ch1_dc_Cal_rstn     () | ||||||
|   ,.ch1_dc_Cal_div_rstn ()  |   ,.ch1_dc_Cal_div_rstn ()  | ||||||
|   ,.ch1_dc_Cal_end      ()  |   ,.ch1_dc_Cal_end      ()  | ||||||
|  |   ,.ch1_dc_clkout       ()  | ||||||
|   //------------------------------Ch2 DAC cfg pin---------------------------------------------------- |   //------------------------------Ch2 DAC cfg pin---------------------------------------------------- | ||||||
|   ,.ch2_dac_addr        ()  |   ,.ch2_dac_addr        ()  | ||||||
|   ,.ch2_dac_dw          ()  |   ,.ch2_dac_dw          ()  | ||||||
|  | @ -345,6 +347,7 @@ z_chip_top inst_chip_top ( | ||||||
|   ,.ch2_dc_Cal_rstn     () |   ,.ch2_dc_Cal_rstn     () | ||||||
|   ,.ch2_dc_Cal_div_rstn ()  |   ,.ch2_dc_Cal_div_rstn ()  | ||||||
|   ,.ch2_dc_Cal_end      () |   ,.ch2_dc_Cal_end      () | ||||||
|  |   ,.ch2_dc_clkout       ()  | ||||||
|   //------------------------------Ch3 DAC cfg pin---------------------------------------------------- |   //------------------------------Ch3 DAC cfg pin---------------------------------------------------- | ||||||
|   ,.ch3_dac_addr        ()  |   ,.ch3_dac_addr        ()  | ||||||
|   ,.ch3_dac_dw          ()  |   ,.ch3_dac_dw          ()  | ||||||
|  | @ -367,6 +370,7 @@ z_chip_top inst_chip_top ( | ||||||
|   ,.ch3_dc_Cal_rstn     () |   ,.ch3_dc_Cal_rstn     () | ||||||
|   ,.ch3_dc_Cal_div_rstn ()   |   ,.ch3_dc_Cal_div_rstn ()   | ||||||
|   ,.ch3_dc_Cal_end      () |   ,.ch3_dc_Cal_end      () | ||||||
|  |   ,.ch3_dc_clkout       ()  | ||||||
|   `endif |   `endif | ||||||
|   `ifdef CHANNEL_Z_ON |   `ifdef CHANNEL_Z_ON | ||||||
|   //------------------------------Ch0 DSP data out---------------------------------------------------- |   //------------------------------Ch0 DSP data out---------------------------------------------------- | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue