forked from Github_Repos/cvw
		
	
						commit
						11ecc2a5d4
					
				@ -42,7 +42,7 @@
 | 
			
		||||
`define ZICOUNTERS_SUPPORTED 1
 | 
			
		||||
`define COUNTERS 32
 | 
			
		||||
`define ZFH_SUPPORTED 0
 | 
			
		||||
`define SSTC_SUPPORTED 1
 | 
			
		||||
`define SSTC_SUPPORTED 0
 | 
			
		||||
 | 
			
		||||
// LSU microarchitectural Features
 | 
			
		||||
`define BUS_SUPPORTED 1
 | 
			
		||||
 | 
			
		||||
@ -43,7 +43,7 @@
 | 
			
		||||
`define ZICOUNTERS_SUPPORTED 1
 | 
			
		||||
`define ZFH_SUPPORTED 0
 | 
			
		||||
`define COUNTERS 32
 | 
			
		||||
`define SSTC_SUPPORTED 1
 | 
			
		||||
`define SSTC_SUPPORTED 0
 | 
			
		||||
 | 
			
		||||
// LSU microarchitectural Features
 | 
			
		||||
`define BUS_SUPPORTED 1
 | 
			
		||||
 | 
			
		||||
@ -117,7 +117,7 @@
 | 
			
		||||
 | 
			
		||||
// largest length in IEU/FPU
 | 
			
		||||
`define CVTLEN ((`NF<`XLEN) ? (`XLEN) : (`NF))
 | 
			
		||||
`define LLEN ((`FLEN<`XLEN) ? (`XLEN) : (`FLEN))
 | 
			
		||||
`define LLEN (($unsigned(`FLEN)<$unsigned(`XLEN)) ? ($unsigned(`XLEN)) : ($unsigned(`FLEN)))
 | 
			
		||||
`define LOGCVTLEN $unsigned($clog2(`CVTLEN+1))
 | 
			
		||||
`define NORMSHIFTSZ (((`CVTLEN+`NF+1)>(`DIVb + 1 +`NF+1) & (`CVTLEN+`NF+1)>(3*`NF+6)) ? (`CVTLEN+`NF+1) : ((`DIVb + 1 +`NF+1) > (3*`NF+6) ? (`DIVb + 1 +`NF+1) : (3*`NF+6)))
 | 
			
		||||
`define LOGNORMSHIFTSZ ($clog2(`NORMSHIFTSZ))
 | 
			
		||||
 | 
			
		||||
@ -51,7 +51,7 @@ opendir(DIR, $dir) or die "Could not open $dir";
 | 
			
		||||
 | 
			
		||||
while (my $filename = readdir(DIR)) {
 | 
			
		||||
    if ($filename =~ /orig_tsmc28psyn/) { 
 | 
			
		||||
#        print "$filename\n";
 | 
			
		||||
#    if ($filename =~ /orig_sky90/) {
 | 
			
		||||
        &processRun("$dir/$filename");
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@ -82,7 +82,7 @@ foreach my $kw (@keywordsp) {
 | 
			
		||||
 | 
			
		||||
sub processRun {
 | 
			
		||||
    my $fname = shift;
 | 
			
		||||
    my $ffname = "$fname/reports/wallypipelinedcore_area.rep";
 | 
			
		||||
    my $ffname = "$fname/reports/area.rep";
 | 
			
		||||
    open(FILE, "$ffname") or die ("Could not read $ffname");
 | 
			
		||||
 | 
			
		||||
    # Extract configuration from fname;
 | 
			
		||||
 | 
			
		||||
@ -165,6 +165,9 @@ def plotFeatures(tech, width, config):
 | 
			
		||||
                areas += [oneSynth.area]
 | 
			
		||||
                labels += [oneSynth.mod]
 | 
			
		||||
 | 
			
		||||
    if (delays == []):
 | 
			
		||||
        print("No delays found for freq ", freq, ". Did you set --skyfreq and --tsmcfreq?\n")
 | 
			
		||||
 | 
			
		||||
    fig, (ax) = plt.subplots(1, 1)
 | 
			
		||||
 | 
			
		||||
    fig = areaDelay(tech, delays, areas, labels, fig, ax)
 | 
			
		||||
@ -185,6 +188,7 @@ def plotConfigs(tech, mod=''):
 | 
			
		||||
 | 
			
		||||
    fig, (ax) = plt.subplots(1, 1)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    fig = areaDelay(tech, delays, areas, labels, fig, ax)
 | 
			
		||||
 | 
			
		||||
    titleStr = tech+'_'+mod
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user