You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			|  4d544f92de | 4 years ago | |
|---|---|---|
| .. | ||
| a2p | 4 years ago | |
| build/caravel_user | 4 years ago | |
| modules | 4 years ago | |
| output | 4 years ago | |
| platforms | 4 years ago | |
| src | 4 years ago | |
| .gitignore | 4 years ago | |
| a2p_site.py | 4 years ago | |
| caravel_user.v | 4 years ago | |
| config.mk | 4 years ago | |
| constraint.sdc | 4 years ago | |
| csr.csv | 4 years ago | |
| mem.init | 4 years ago | |
| readme.md | 4 years ago | |
		
			
				
				readme.md
			
		
		
			
			
		
	
	Using Litex to build a Caravel User Project Area
Create a module usable for FPGA and tech mapping, containing various Litex structures like CSR, WB, UART, I2C, etc. and custom verilog modules (core, async RAM, GPIO, etc.).
- 
create a virtual platform corresponding to the I/O on the Caravel User module 
- 
create virtual 'soc' design using that platform - 
module can be used for OL synthesis (expand_type set for tech) 
- 
module can be included in FPGA SOC for testing and development (expand_type set for inferred) 
 
- 
- 
create real soc incorporating above, plus clocks, real GPIO connections, etc. 
Virtual Platform
- create user area
a2p_site.py
cp build/caravel_user/gateware/mem.init .
cp build/caravel_user/gateware/caravel_user.v .
- OL didn't die
make DESIGN_CONFIG=./designs/sky130hd/a2p_litex/config.mk