mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Merge pull request #113 from davidharrishmc/dev
Change default tech to sky90 for synth
This commit is contained in:
		
						commit
						ccabc63b85
					
				@ -38,8 +38,8 @@ module adrdecs (
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  localparam logic [3:0]          SUPPORTED_SIZE = (`LLEN == 32 ? 4'b0111 : 4'b1111);
 | 
					  localparam logic [3:0]          SUPPORTED_SIZE = (`LLEN == 32 ? 4'b0111 : 4'b1111);
 | 
				
			||||||
 // Determine which region of physical memory (if any) is being accessed
 | 
					 // Determine which region of physical memory (if any) is being accessed
 | 
				
			||||||
  adrdec dtimdec(PhysicalAddress, `DTIM_BASE, `DTIM_RANGE, `DTIM_SUPPORTED, AccessRWX, Size, SUPPORTED_SIZE, SelRegions[10]);  
 | 
					  adrdec dtimdec(PhysicalAddress, `DTIM_BASE, `DTIM_RANGE, `DTIM_SUPPORTED, AccessRW, Size, SUPPORTED_SIZE, SelRegions[10]);  
 | 
				
			||||||
  adrdec iromdec(PhysicalAddress, `IROM_BASE, `IROM_RANGE, `IROM_SUPPORTED, AccessRWX, Size, SUPPORTED_SIZE, SelRegions[9]);  
 | 
					  adrdec iromdec(PhysicalAddress, `IROM_BASE, `IROM_RANGE, `IROM_SUPPORTED, AccessRX, Size, SUPPORTED_SIZE, SelRegions[9]);  
 | 
				
			||||||
  adrdec ddr4dec(PhysicalAddress, `EXT_MEM_BASE, `EXT_MEM_RANGE, `EXT_MEM_SUPPORTED, AccessRWX, Size, SUPPORTED_SIZE, SelRegions[8]);  
 | 
					  adrdec ddr4dec(PhysicalAddress, `EXT_MEM_BASE, `EXT_MEM_RANGE, `EXT_MEM_SUPPORTED, AccessRWX, Size, SUPPORTED_SIZE, SelRegions[8]);  
 | 
				
			||||||
  adrdec bootromdec(PhysicalAddress, `BOOTROM_BASE, `BOOTROM_RANGE, `BOOTROM_SUPPORTED, AccessRX, Size, SUPPORTED_SIZE, SelRegions[7]);
 | 
					  adrdec bootromdec(PhysicalAddress, `BOOTROM_BASE, `BOOTROM_RANGE, `BOOTROM_SUPPORTED, AccessRX, Size, SUPPORTED_SIZE, SelRegions[7]);
 | 
				
			||||||
  adrdec uncoreramdec(PhysicalAddress, `UNCORE_RAM_BASE, `UNCORE_RAM_RANGE, `UNCORE_RAM_SUPPORTED, AccessRWX, Size, SUPPORTED_SIZE, SelRegions[6]);
 | 
					  adrdec uncoreramdec(PhysicalAddress, `UNCORE_RAM_BASE, `UNCORE_RAM_RANGE, `UNCORE_RAM_SUPPORTED, AccessRWX, Size, SUPPORTED_SIZE, SelRegions[6]);
 | 
				
			||||||
 | 
				
			|||||||
@ -58,8 +58,12 @@ module pmachecker (
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  // Only non-core RAM/ROM memory regions are cacheable
 | 
					  // Only non-core RAM/ROM memory regions are cacheable
 | 
				
			||||||
  assign Cacheable = SelRegions[8] | SelRegions[7] | SelRegions[6];
 | 
					  assign Cacheable = SelRegions[8] | SelRegions[7] | SelRegions[6];
 | 
				
			||||||
  assign Idempotent = SelRegions[10] | SelRegions[9] | SelRegions[8] | SelRegions[6];
 | 
					  // Nonidemdempotent means access could have side effect and must not be done speculatively or redundantly
 | 
				
			||||||
  assign AtomicAllowed = SelRegions[10] | SelRegions[9] | SelRegions[8] | SelRegions[6];
 | 
					  // I/O is nonidempotent.  
 | 
				
			||||||
 | 
					  assign Idempotent = SelRegions[10] | SelRegions[9] | SelRegions[8] | SelRegions[7] | SelRegions[6];
 | 
				
			||||||
 | 
					  // Atomic operations are only allowed on RAM
 | 
				
			||||||
 | 
					  assign AtomicAllowed = SelRegions[10] | SelRegions[8] | SelRegions[6];
 | 
				
			||||||
 | 
					  // Check if tightly integrated memories are selected
 | 
				
			||||||
  assign SelTIM = SelRegions[10] | SelRegions[9];
 | 
					  assign SelTIM = SelRegions[10] | SelRegions[9];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // Detect access faults
 | 
					  // Detect access faults
 | 
				
			||||||
 | 
				
			|||||||
@ -12,7 +12,7 @@ export MOD ?= orig
 | 
				
			|||||||
# title to add a note in the synth's directory name
 | 
					# title to add a note in the synth's directory name
 | 
				
			||||||
TITLE = 
 | 
					TITLE = 
 | 
				
			||||||
# tsmc28, sky130, and sky90 presently supported
 | 
					# tsmc28, sky130, and sky90 presently supported
 | 
				
			||||||
export TECH ?= tsmc28
 | 
					export TECH ?= sky90
 | 
				
			||||||
# MAXCORES allows parallel compilation, which is faster but less CPU-efficient
 | 
					# MAXCORES allows parallel compilation, which is faster but less CPU-efficient
 | 
				
			||||||
# Avoid when doing sweeps of many optimization points in parallel
 | 
					# Avoid when doing sweeps of many optimization points in parallel
 | 
				
			||||||
export MAXCORES ?= 1
 | 
					export MAXCORES ?= 1
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user