From 1960e43de6719f3067ff6b8fc1ff500ab2e57e96 Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Tue, 8 May 2018 15:27:12 +0200 Subject: more labels --- fix-labels.py | 80 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 40 insertions(+), 40 deletions(-) (limited to 'fix-labels.py') diff --git a/fix-labels.py b/fix-labels.py index 9c3b645..039af04 100755 --- a/fix-labels.py +++ b/fix-labels.py @@ -20,11 +20,11 @@ labels = { }, 'rev02_02.sch': { 'AMPLIFIED': [#{'t': 'GLabel', 'dir': 'UnSpc', 'x': 10300, 'y': 5000, 'ori': 0}, - {'t': 'GLabel', 'dir': 'UnSpc', 'x': 9650, 'y': 5000, 'ori': 0, 'new_x': 10050}], - 'DIGITIZED_NOISE': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 13400, 'y': 4800, 'ori': 0},], + {'t': 'Label', 'x': 9650, 'y': 5000, 'ori': 2, 'new_x': 10050}], + 'DIGITIZED_NOISE': [{'t': 'GLabel', 'dir': 'Output', 'x': 13400, 'y': 4800, 'ori': 2},], #'NOISE_IN': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 3950, 'y': 5400, 'ori': 0},], #'NOISE_OUT': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 4500, 'y': 6000, 'ori': 0},], - 'RAW_NOISE': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 6000, 'y': 5400, 'ori': 0, 'new_x': 6400},], + 'RAW_NOISE': [{'t': 'Label', 'x': 6000, 'y': 5400, 'ori': 2, 'new_x': 6400},], #{'t': 'GLabel', 'dir': 'UnSpc', 'x': 6750, 'y': 5400, 'ori': 0},], }, 'rev02_03.sch': { @@ -45,10 +45,10 @@ labels = { # {'t': 'GLabel', 'dir': 'UnSpc', 'x': 9400, 'y': 4800, 'ori': 0},], }, 'rev02_04.sch': { - 'VCAP1': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 7200, 'y': 5300, 'ori': 0}, - {'t': 'GLabel', 'dir': 'UnSpc', 'x': 3100, 'y': 3700, 'ori': 0},], - 'VCAP2': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 5900, 'y': 5300, 'ori': 0}, - {'t': 'GLabel', 'dir': 'UnSpc', 'x': 3500, 'y': 3700, 'ori': 0},], + #'VCAP1': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 7200, 'y': 5300, 'ori': 0}, + # {'t': 'GLabel', 'dir': 'UnSpc', 'x': 3100, 'y': 3700, 'ori': 0},], + 'VCAP2': [#{'t': 'GLabel', 'dir': 'UnSpc', 'x': 5900, 'y': 5300, 'ori': 0}, + {'t': 'Label', 'x': 3500, 'y': 3700, 'ori': 2, 'new_x': 3700},], }, 'rev02_05.sch': { 'ARM_FPGA_CFG_CS_N': [{'t': 'GLabel', 'dir': 'Output', 'x': 2250, 'y': 4100, 'ori': 0},], @@ -164,7 +164,7 @@ labels = { 'KSM_PROM_SCLK': [{'t': 'GLabel', 'dir': 'Output', 'x': 2250, 'y': 4800, 'ori': 0},], 'RTC_MFP': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 2250, 'y': 6300, 'ori': 0},], 'RTC_SCL': [{'t': 'GLabel', 'dir': 'Output', 'x': 2250, 'y': 6200, 'ori': 0},], - 'RTC_SDA': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 2250, 'y': 6100, 'ori': 0},], + 'RTC_SDA': [{'t': 'GLabel', 'dir': 'BiDi', 'x': 2250, 'y': 6100, 'ori': 0},], }, 'rev02_06.sch': { 'FMC_A0': [{'t': 'GLabel', 'dir': 'Input', 'x': 2810, 'y': 2600, 'ori': 2, 'rel_x': 50}, @@ -283,15 +283,15 @@ labels = { {'t': 'GLabel', 'dir': 'Input', 'x': 9700, 'y': 6600, 'ori': 0},], }, 'rev02_07.sch': { - 'KSM_PROM_CS_N': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 6270, 'y': 5500, 'ori': 0},], - 'KSM_PROM_MISO': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 6270, 'y': 5600, 'ori': 0},], - 'KSM_PROM_MOSI': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 8600, 'y': 5800, 'ori': 0},], - 'KSM_PROM_SCLK': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 8600, 'y': 5700, 'ori': 0},], + 'KSM_PROM_CS_N': [{'t': 'GLabel', 'dir': 'Input', 'x': 6270, 'y': 5500, 'ori': 0},], + 'KSM_PROM_MISO': [{'t': 'GLabel', 'dir': 'Output', 'x': 6270, 'y': 5600, 'ori': 0},], + 'KSM_PROM_MOSI': [{'t': 'GLabel', 'dir': 'Input', 'x': 8600, 'y': 5800, 'ori': 2},], + 'KSM_PROM_SCLK': [{'t': 'GLabel', 'dir': 'Input', 'x': 8600, 'y': 5700, 'ori': 2},], }, 'rev02_08.sch': { - 'RTC_MFP': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 9500, 'y': 5500, 'ori': 0},], - 'RTC_SCL': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 9500, 'y': 5600, 'ori': 0},], - 'RTC_SDA': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 9500, 'y': 5700, 'ori': 0},], + 'RTC_MFP': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 9500, 'y': 5500, 'ori': 2},], + 'RTC_SCL': [{'t': 'GLabel', 'dir': 'Input', 'x': 9500, 'y': 5600, 'ori': 2},], + 'RTC_SDA': [{'t': 'GLabel', 'dir': 'BiDi', 'x': 9500, 'y': 5700, 'ori': 2},], }, 'rev02_09.sch': { #'D1_N': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 2050, 'y': 3500, 'ori': 0, 'dim': 60},], @@ -420,28 +420,28 @@ labels = { }, 'rev02_13.sch': { 'FPGA_CFG_SCLK': [{'t': 'GLabel', 'dir': 'Output', 'x': 3340, 'y': 5400, 'ori': 2, 'new_x': 3940},], - 'FPGA_CFG_SCLK1': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 2220, 'y': 5400, 'ori': 0},], - 'FPGA_DONE': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 5400, 'y': 9500, 'ori': 0},], - #'FPGA_DONE_INT': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 2900, 'y': 5100, 'ori': 0}, + #'FPGA_CFG_SCLK1': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 2220, 'y': 5400, 'ori': 0},], + 'FPGA_DONE': [{'t': 'GLabel', 'dir': 'Output', 'x': 5400, 'y': 9500, 'ori': 2, 'new_x': 5700},], + 'FPGA_DONE_INT': [{'t': 'Label', 'x': 2900, 'y': 5100, 'ori': 2, 'new_x': 3400},], # {'t': 'GLabel', 'dir': 'UnSpc', 'x': 3700, 'y': 9500, 'ori': 0},], 'FPGA_INIT_B': [{'t': 'GLabel', 'dir': 'BiDi', 'x': 7130, 'y': 5600, 'ori': 2, 'new_x': 7600},], - #'FPGA_INIT_B_INT': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 4800, 'y': 5400, 'ori': 0}, - # {'t': 'GLabel', 'dir': 'UnSpc', 'x': 3340, 'y': 5200, 'ori': 0},], + 'FPGA_INIT_B_INT': [#{'t': 'GLabel', 'dir': 'UnSpc', 'x': 4800, 'y': 5400, 'ori': 0}, + {'t': 'Label', 'x': 3340, 'y': 5200, 'ori': 2, 'new_x': 3940},], #'FPGA_INIT_B_INT1': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 2220, 'y': 5200, 'ori': 0},], - #'FPGA_JTAG_TCK': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 2900, 'y': 5800, 'ori': 0}, - # {'t': 'GLabel', 'dir': 'UnSpc', 'x': 8430, 'y': 8500, 'ori': 0},], - #'FPGA_JTAG_TDI': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 2900, 'y': 5900, 'ori': 0}, - # {'t': 'GLabel', 'dir': 'UnSpc', 'x': 8430, 'y': 8700, 'ori': 0},], - #'FPGA_JTAG_TDO': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 2900, 'y': 6000, 'ori': 0}, - # {'t': 'GLabel', 'dir': 'UnSpc', 'x': 8430, 'y': 8800, 'ori': 0},], - #'FPGA_JTAG_TMS': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 2900, 'y': 6100, 'ori': 0}, - # {'t': 'GLabel', 'dir': 'UnSpc', 'x': 8430, 'y': 8600, 'ori': 0},], - #'FPGA_M0': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 2900, 'y': 5500, 'ori': 0}, - # {'t': 'GLabel', 'dir': 'UnSpc', 'x': 2600, 'y': 9000, 'ori': 0},], - #'FPGA_M1': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 2900, 'y': 5600, 'ori': 0}, - # {'t': 'GLabel', 'dir': 'UnSpc', 'x': 1750, 'y': 9000, 'ori': 0},], - #'FPGA_M2': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 2900, 'y': 5700, 'ori': 0}, - # {'t': 'GLabel', 'dir': 'UnSpc', 'x': 1000, 'y': 9000, 'ori': 0},], + 'FPGA_JTAG_TCK': [{'t': 'Label', 'x': 2900, 'y': 5800, 'ori': 2, 'new_x': 3400},], + #{'t': 'GLabel', 'dir': 'UnSpc', 'x': 8430, 'y': 8500, 'ori': 0},], + 'FPGA_JTAG_TDI': [{'t': 'Label', 'x': 2900, 'y': 5900, 'ori': 2, 'new_x': 3400},], + #{'t': 'GLabel', 'dir': 'UnSpc', 'x': 8430, 'y': 8700, 'ori': 0},], + 'FPGA_JTAG_TDO': [{'t': 'Label', 'x': 2900, 'y': 6000, 'ori': 2, 'new_x': 3400},], + #{'t': 'GLabel', 'dir': 'UnSpc', 'x': 8430, 'y': 8800, 'ori': 0},], + 'FPGA_JTAG_TMS': [{'t': 'Label', 'x': 2900, 'y': 6100, 'ori': 2, 'new_x': 3400},], + #{'t': 'GLabel', 'dir': 'UnSpc', 'x': 8430, 'y': 8600, 'ori': 0},], + 'FPGA_M0': [{'t': 'Label', 'x': 2900, 'y': 5500, 'ori': 2, 'new_x': 3400}, + {'t': 'Label', 'x': 2600, 'y': 9000, 'ori': 0, 'new_x': 2500},], + 'FPGA_M1': [{'t': 'Label', 'x': 2900, 'y': 5600, 'ori': 2, 'new_x': 3400}, + {'t': 'Label', 'x': 1750, 'y': 9000, 'ori': 0, 'new_x': 1700},], + 'FPGA_M2': [{'t': 'Label', 'x': 2900, 'y': 5700, 'ori': 2, 'new_x': 3400}, + {'t': 'Label', 'x': 1000, 'y': 9000, 'ori': 0, 'new_x': 900},], 'FPGA_PROGRAM_B': [{'t': 'GLabel', 'dir': 'Input', 'x': 7010, 'y': 5100, 'ori': 2, 'new_x': 7600}, {'t': 'GLabel', 'dir': 'Input', 'x': 3340, 'y': 5300, 'ori': 2, 'new_x': 3940},], #'FPGA_PROGRAM_B1': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 2220, 'y': 5300, 'ori': 0},], @@ -616,12 +616,12 @@ labels = { 'PWR_ENA_VCCINT': [{'t': 'GLabel', 'dir': 'Input', 'x': 2700, 'y': 5900, 'ori': 0},], }, 'rev02_25.sch': { - 'POK_VCCAUX': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 1540, 'y': 8700, 'ori': 0},], - 'POK_VCCINT': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 5100, 'y': 5300, 'ori': 0},], - 'POK_VCCO': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 6110, 'y': 8700, 'ori': 0},], - 'PWR_ENA_VCCAUX': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 7250, 'y': 5300, 'ori': 0},], - 'PWR_ENA_VCCINT': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 2660, 'y': 5300, 'ori': 0},], - 'PWR_ENA_VCCO': [{'t': 'GLabel', 'dir': 'UnSpc', 'x': 3690, 'y': 8700, 'ori': 0},], + 'POK_VCCAUX': [{'t': 'GLabel', 'dir': 'Input', 'x': 1540, 'y': 8700, 'ori': 0, 'new_x': 1450},], + 'POK_VCCINT': [{'t': 'GLabel', 'dir': 'Input', 'x': 5100, 'y': 5300, 'ori': 0, 'new_x': 5000},], + 'POK_VCCO': [{'t': 'GLabel', 'dir': 'Input', 'x': 6110, 'y': 8700, 'ori': 0, 'new_x': 6050},], + 'PWR_ENA_VCCAUX': [{'t': 'GLabel', 'dir': 'Output', 'x': 7250, 'y': 5300, 'ori': 2, 'new_x': 7900},], + 'PWR_ENA_VCCINT': [{'t': 'GLabel', 'dir': 'Output', 'x': 2660, 'y': 5300, 'ori': 2, 'new_x': 3400},], + 'PWR_ENA_VCCO': [{'t': 'GLabel', 'dir': 'Output', 'x': 3690, 'y': 8700, 'ori': 2, 'new_x': 4350},], }, } -- cgit v1.2.3