mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-22 12:57:23 -04:00
fixed dynamic energy units
This commit is contained in:
parent
0afac6904e
commit
8015b6af17
3 changed files with 60 additions and 8 deletions
|
@ -1 +1 @@
|
|||
Subproject commit be67c99bd461742aa1c100bcc0732657faae2230
|
||||
Subproject commit 307c77b26e070ae85ffea665ad9b642b40e33c86
|
|
@ -62,7 +62,7 @@ def getVals(module, freq, var):
|
|||
units = " (nW)"
|
||||
elif (var == 'denergy'):
|
||||
ind = 6
|
||||
units = " (uJ)" #fix check math
|
||||
units = " (pJ)"
|
||||
else:
|
||||
error
|
||||
|
||||
|
@ -151,10 +151,10 @@ def plotPPA(module, freq, var, ax=None, fits='clsgn'):
|
|||
|
||||
def makePlots(mod, freq):
|
||||
fig, axs = plt.subplots(2, 2)
|
||||
plotPPA(mod, freq, 'delay', ax=axs[0,0], fits='cgl')
|
||||
plotPPA(mod, freq, 'area', ax=axs[0,1], fits='clg')
|
||||
plotPPA(mod, freq, 'delay', ax=axs[0,0], fits='cg')
|
||||
plotPPA(mod, freq, 'area', ax=axs[0,1], fits='s')
|
||||
plotPPA(mod, freq, 'lpower', ax=axs[1,0], fits='c')
|
||||
plotPPA(mod, freq, 'denergy', ax=axs[1,1], fits='glc')
|
||||
plotPPA(mod, freq, 'denergy', ax=axs[1,1], fits='s')
|
||||
plt.suptitle(mod + " (target " + str(freq) + "MHz)")
|
||||
plt.show()
|
||||
|
||||
|
@ -254,8 +254,8 @@ allSynths = getData()
|
|||
writeCSV(allSynths)
|
||||
# makeCoefTable()
|
||||
|
||||
freqPlot('comparator', 8)
|
||||
# freqPlot('add', 64)
|
||||
|
||||
# makePlots('shifter', 5000)
|
||||
makePlots('shifter', 5000)
|
||||
|
||||
# plotPPA('comparator', 5000, 'delay', fits='cls')
|
||||
# plotPPA('mult', 5000, 'delay', fits='cls')
|
|
@ -66,20 +66,72 @@ add,64,6000,0.328457,3749.480066,1.77,0.000391
|
|||
add,8,10,0.940062,103.879999,24.765,2.41e-05
|
||||
add,8,5000,0.199689,197.960003,83.576,2.26e-05
|
||||
comparator,128,10,0.842074,1997.240039,243.506,8.7e-05
|
||||
comparator,128,2308,0.406531,2810.640055,437.781,0.00016637781629116118
|
||||
comparator,128,3077,0.324985,2559.760047,659.43,0.00017159571010724734
|
||||
comparator,128,3538,0.282712,3158.540057,1.6,0.00026483889202939516
|
||||
comparator,128,3615,0.276605,3092.880056,1.5,0.00026445366528354077
|
||||
comparator,128,3692,0.270828,3380.020055,2.0,0.00030173347778981584
|
||||
comparator,128,3769,0.27069,3741.640049,2.91,0.0003372247280445741
|
||||
comparator,128,3846,0.273602,4038.58005,3.61,0.0003967758710348414
|
||||
comparator,128,3923,0.256043,4153.240051,3.84,0.00038083099668620956
|
||||
comparator,128,4000,0.268954,4027.800041,3.66,0.000414
|
||||
comparator,128,4077,0.262622,4638.340054,5.12,0.0004716703458425313
|
||||
comparator,128,4154,0.257245,4649.120047,5.1,0.0005149253731343283
|
||||
comparator,128,4615,0.265848,4047.400041,3.87,0.0004028169014084507
|
||||
comparator,128,5000,0.260142,5215.56005,6.0,0.0007416
|
||||
comparator,128,5385,0.267095,4787.300045,5.3,0.0007069637883008356
|
||||
comparator,16,10000,0.146177,1065.260009,1.61,0.00012470000000000002
|
||||
comparator,16,10,0.576329,252.840005,31.402,1.4400000000000001e-05
|
||||
comparator,16,4000,0.249312,280.280005,55.248,1.4524999999999999e-05
|
||||
comparator,16,5000,0.199026,313.600006,78.893,1.718e-05
|
||||
comparator,16,5333,0.186933,318.500006,100.145,2.1938871179448716e-05
|
||||
comparator,16,6000,0.166568,422.380007,301.506,4.25e-05
|
||||
comparator,16,6133,0.16297,441.000006,363.571,4.0110875591064735e-05
|
||||
comparator,16,6267,0.168782,502.740008,498.843,5.090154779001117e-05
|
||||
comparator,16,6400,0.168782,604.660008,744.154,5.4843749999999995e-05
|
||||
comparator,16,6533,0.152969,508.620009,432.277,5.632940456145722e-05
|
||||
comparator,16,6667,0.150575,691.880011,816.855,6.88465576721164e-05
|
||||
comparator,16,6800,0.146926,723.240009,925.474,8.11764705882353e-05
|
||||
comparator,16,6933,0.168782,607.600006,799.51,5.567575364200202e-05
|
||||
comparator,16,7067,0.158772,756.56001,1.05,7.04683741332956e-05
|
||||
comparator,16,7200,0.15891,771.260013,1.09,7.027777777777778e-05
|
||||
comparator,16,8000,0.158838,801.640006,1.19,7.8375e-05
|
||||
comparator,16,9333,0.166546,695.800007,927.014,7.243115825565199e-05
|
||||
comparator,32,10000,0.194087,1451.380013,1.85,0.00024430000000000003
|
||||
comparator,32,10,0.765874,495.88001,66.41,2.26e-05
|
||||
comparator,32,3158,0.304333,684.040013,135.532,4.274857504749842e-05
|
||||
comparator,32,4000,0.24995,608.580012,130.613,4.2000000000000004e-05
|
||||
comparator,32,4211,0.237004,654.640013,145.103,4.701971028259321e-05
|
||||
comparator,32,4842,0.206449,781.060011,485.75,7.001239157372987e-05
|
||||
comparator,32,4947,0.2021,882.980013,601.459,0.00010491206791995148
|
||||
comparator,32,5000,0.205372,919.240014,840.47,8.6e-05
|
||||
comparator,32,5053,0.197891,805.560012,561.888,7.302592519295468e-05
|
||||
comparator,32,5158,0.197393,1203.440015,1.31,0.0001446297014346646
|
||||
comparator,32,5263,0.195832,1060.360011,1.06,0.00010450313509405283
|
||||
comparator,32,5368,0.199678,1110.340013,1.12,0.0001272354694485842
|
||||
comparator,32,5474,0.192304,1188.740012,1.43,0.0001309828279137742
|
||||
comparator,32,5579,0.192149,1206.380012,1.44,0.0001609607456533429
|
||||
comparator,32,5684,0.203736,1218.140014,1.42,0.00017065446868402533
|
||||
comparator,32,6000,0.2012,1248.520016,1.48,0.00015466666666666667
|
||||
comparator,32,6316,0.2012,1239.700017,1.45,0.0001545281823939202
|
||||
comparator,32,7368,0.194845,1391.600021,1.66,0.00024239956568946797
|
||||
comparator,64,10,0.561562,1008.42002,127.626,4.49e-05
|
||||
comparator,64,2727,0.333026,1392.580027,202.012,8.507517418408508e-05
|
||||
comparator,64,3636,0.275001,1323.000026,357.28,9.708470847084707e-05
|
||||
comparator,64,4000,0.249905,1437.660027,558.66,0.0001155
|
||||
comparator,64,4182,0.239102,1454.320026,590.635,0.00010975609756097561
|
||||
comparator,64,4273,0.233995,1568.980027,683.786,0.00014299087292300491
|
||||
comparator,64,4364,0.229142,1709.120026,1.02,0.00017552703941338223
|
||||
comparator,64,4455,0.224454,1899.240032,1.34,0.00020493827160493827
|
||||
comparator,64,4545,0.229482,2235.380032,2.24,0.0002486248624862486
|
||||
comparator,64,4636,0.215691,2072.700029,1.84,0.00021031061259706643
|
||||
comparator,64,4727,0.225291,2499.000023,2.71,0.00029236302094351593
|
||||
comparator,64,4818,0.214579,2591.120026,2.62,0.00036841012868410125
|
||||
comparator,64,4909,0.213022,2891.980026,3.4,0.00038439600733346913
|
||||
comparator,64,5000,0.219296,2738.120023,2.95,0.0003978
|
||||
comparator,64,5455,0.221407,2929.220025,3.36,0.00041191567369385884
|
||||
comparator,64,6000,0.221138,2341.220025,2.59,0.00022383333333333332
|
||||
comparator,64,6364,0.223965,2547.020023,2.94,0.0003914204902576996
|
||||
comparator,8,10000,0.1136,496.86,810.074,6.46e-05
|
||||
comparator,8,10909,0.11361,387.1,565.114,5.885049042075351e-05
|
||||
comparator,8,10,0.29577,118.580002,16.053,6.830000000000001e-06
|
||||
|
|
|
Loading…
Add table
Add a link
Reference in a new issue