mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Merge branch 'main' of github.com:davidharrishmc/riscv-wally
This commit is contained in:
		
						commit
						b60e9730a7
					
				
							
								
								
									
										2
									
								
								pipelined/src/cache/cache.sv
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								pipelined/src/cache/cache.sv
									
									
									
									
										vendored
									
									
								
							| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Storage for data and meta data.
 | ||||
| //
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| //
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
							
								
								
									
										2
									
								
								pipelined/src/cache/cacheLRU.sv
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								pipelined/src/cache/cacheLRU.sv
									
									
									
									
										vendored
									
									
								
							| @ -6,7 +6,7 @@ | ||||
| //          Tested for Powers of 2.
 | ||||
| //
 | ||||
| //
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| //
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
							
								
								
									
										2
									
								
								pipelined/src/cache/cachefsm.sv
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								pipelined/src/cache/cachefsm.sv
									
									
									
									
										vendored
									
									
								
							| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Controller for the dcache fsm
 | ||||
| //
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| //
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
							
								
								
									
										2
									
								
								pipelined/src/cache/cacheway.sv
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								pipelined/src/cache/cacheway.sv
									
									
									
									
										vendored
									
									
								
							| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Storage and read/write access to data cache data, tag valid, dirty, and replacement.
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
							
								
								
									
										2
									
								
								pipelined/src/cache/subcachelineread.sv
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								pipelined/src/cache/subcachelineread.sv
									
									
									
									
										vendored
									
									
								
							| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Controller for the dcache fsm
 | ||||
| //
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| //
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -10,7 +10,7 @@ | ||||
| // This register should be necessary for timing.  There is no register in the uncore or
 | ||||
| // ahblite controller between the memories and this cache.
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -10,7 +10,7 @@ | ||||
| // This register should be necessary for timing.  There is no register in the uncore or
 | ||||
| // ahblite controller between the memories and this cache.
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Performs AMO operations
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Load/Store Unit's interface to BUS for cacheless system
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Load/Store Unit's interface to BUS for cacheless system
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -12,7 +12,7 @@ | ||||
| //          Bus width presently matches XLEN
 | ||||
| //          Anticipate replacing this with an AXI bus interface to communicate with FPGA DRAM/Flash controllers
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -12,7 +12,7 @@ | ||||
| //          Bus width presently matches XLEN
 | ||||
| //          Anticipate replacing this with an AXI bus interface to communicate with FPGA DRAM/Flash controllers
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Floating-point classify unit
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -7,7 +7,7 @@ | ||||
| //
 | ||||
| // Purpose: Floating-point comparison unit
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: floating-point control unit
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Combined Divide and Square Root Floating Point and Integer Unit
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Combined Divide and Square Root Floating Point and Integer Unit
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Radix 2 F Addend Generator
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Radix 4 F Addend Generator
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Combined Divide and Square Root Floating Point and Integer Unit
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Combined Divide and Square Root Floating Point and Integer Unit
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Combined Divide and Square Root Floating Point and Integer Unit
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Combined Divide and Square Root Floating Point and Integer Unit
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Radix 2 Quotient Digit Selection
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Radix 4 Quotient Digit Selection
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Comparator-based Radix 4 Quotient Digit Selection
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Combined Divide and Square Root Floating Point and Integer Unit stage
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Combined Divide and Square Root Floating Point and Integer Unit stage
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Radix 2 unified on-the-fly converter
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Radix 4 unified on-the-fly converter
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Determine forwarding, stalls and flushes for the FPU
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Floating point multiply-accumulate of configurable size
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: FMA significand adder
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -7,7 +7,7 @@ | ||||
| //
 | ||||
| // Purpose: FMA alginment shift
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: FMA exponent addition
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Leading Zero Anticipator
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: FMA Significand Multiplier
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: FMA Sign Logic
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Floating Point Unit Top-Level Interface
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: 3R1W 4-port register file for FPU
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: FPU Sign Injection instructions
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Conversion shift calculation
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Division shift calculation
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Post-Processing flag calculation
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: FMA shift calculation
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Negate integer result
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: normalization shifter
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Post-Processing
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: calculating the result's sign
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Rounder
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Sign calculation ofr rounding
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: shift correction
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: special case selection
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: unpack X, Y, Z floating-point inputs
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: unpack input: extract sign, exponent, significand, characteristics
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Adder
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Determine if A+B = 0.  Used in FP divider.
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -9,7 +9,7 @@ | ||||
| //          arrs takes in the asynchronous reset and outputs an asynchronous
 | ||||
| //          rising edge, but then syncs the falling edge to the posedge clk.
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -5,7 +5,7 @@ | ||||
| //
 | ||||
| // Purpose: one-hot to binary encoding.
 | ||||
| //
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| //
 | ||||
| // Copyright (C) 2021 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Clock gater model. Must use standard cell for synthesis.
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Counter with reset and enable
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: 3:2 carry-save adder
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Binary encoding to one-hot decoder
 | ||||
| //
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| //
 | ||||
| // Copyright (C) 2021 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: various flavors of flip-flops
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: various flavors of flip-flops
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: various flavors of flip-flops
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: various flavors of flip-flops
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: various flavors of flip-flops
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: various flavors of flip-flops
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: various flavors of flip-flops
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: various flavors of flip-flops
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Two-stage flip-flop synchronizer
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -5,7 +5,7 @@ | ||||
| //
 | ||||
| // Purpose: Leading Zero Counter
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -9,7 +9,7 @@ | ||||
| //
 | ||||
| // Purpose: Storage and read/write access to data cache data, tag valid, dirty, and replacement.
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -16,7 +16,7 @@ | ||||
| // example
 | ||||
| // mem load -infile twoBitPredictor.txt -format bin testbench/dut/core/ifu/bpred/DirPredictor/memory/memory
 | ||||
| //
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -9,7 +9,7 @@ | ||||
| //
 | ||||
| // Purpose: Storage and read/write access to data cache data, tag valid, dirty, and replacement.
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -5,7 +5,7 @@ | ||||
| //
 | ||||
| // Purpose: Single-ported ROM
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Various flavors of multiplexers
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: 2's complement negator
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Bin to one hot decoder. Power of 2 only.
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Various flavors of multiplexers
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -16,7 +16,7 @@ | ||||
| //        in  01011101010100000
 | ||||
| //        out 00000000000100000
 | ||||
| //
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| //
 | ||||
| // Copyright (C) 2021 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -12,7 +12,7 @@ | ||||
| //        in  01011101010100000
 | ||||
| //        out 00000000000011111
 | ||||
| //
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| //
 | ||||
| // Copyright (C) 2021 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Determine forwarding, stalls and flushes
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: RISC-V Arithmetic/Logic Unit
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Branch comparison
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Top level controller module
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Wally Integer Datapath
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: 
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Determine datapath forwarding
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Integer Execution Unit: datapath and controller
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: 3-port register file
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: RISC-V 32/64 bit shifter
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -9,7 +9,7 @@ | ||||
| // Purpose: BTB model.  Outputs type of instruction (currently 1 hot encoded. Probably want 
 | ||||
| // to encode to reduce storage), valid, target PC.
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -8,7 +8,7 @@ | ||||
| //
 | ||||
| // Purpose: 2 bit saturating counter predictor with parameterized table depth.
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -9,7 +9,7 @@ | ||||
| // Purpose: Branch prediction unit
 | ||||
| //          Produces a branch prediction based on branch history.
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -6,7 +6,7 @@ | ||||
| //
 | ||||
| // Purpose: Expand 16-bit compressed instructions to 32 bits
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -8,7 +8,7 @@ | ||||
| //
 | ||||
| // Purpose: Global History Branch predictor with parameterized global history register
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -8,7 +8,7 @@ | ||||
| //
 | ||||
| // Purpose: Global History Branch predictor with parameterized global history register
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
| @ -8,7 +8,7 @@ | ||||
| //
 | ||||
| // Purpose: Global History Branch predictor with parameterized global history register
 | ||||
| // 
 | ||||
| // A component of the Wally configurable RISC-V project.
 | ||||
| // A component of the CORE-V-WALLY configurable RISC-V project.
 | ||||
| // 
 | ||||
| // Copyright (C) 2021-23 Harvey Mudd College & Oklahoma State University
 | ||||
| //
 | ||||
|  | ||||
Some files were not shown because too many files have changed in this diff Show More
		Loading…
	
		Reference in New Issue
	
	Block a user