Skip to content

dheijl/AlchitryAuTests

Repository files navigation

AlchitryAuTests

Some tests with the Alchitry Au FPGA kit

  • io_add_decimal : enter 2 4 digit numbers on the 7 segement display, add them using a bcd adder, and show the sum on the display.

  • io_add_binary : enter 2 4 digit numbers on the 7 segement display, add them using a binary adder, and show the sum on the display.

  • WIO-SPIO : proof of concept SPI communication between AU with Br and Seed WIO terminal, and also between the AU and a Teensy 4.1.

  • echo_spi : SPI speed test between the AU with Br and a Teensy 4.1. The Teensy sends SPI burts with increasing frequency, and the AU echoes each byte as it is received. This goes on until what the receives no longer matches what it has sent.

  • the other folders are just experiments to arrive at the above, like following the Lucid V2 tutorials.

Surprise:

Contrary to what I would have expected, using the BCD adder is more resource efficient than using the binary adder, I assume the conversions BCD => binary => BCD are the cause of that:

  • io_add_decimal
---------------------------------------------------------------------------------
Detailed RTL Component Info : 
+---Adders : 
	   3 Input    5 Bit       Adders := 4     
	   2 Input    4 Bit       Adders := 6     
	   2 Input    2 Bit       Adders := 1     
+---Registers : 
	                4 Bit    Registers := 13    
	                2 Bit    Registers := 6     
	                1 Bit    Registers := 5     
+---Muxes : 
	   2 Input    4 Bit        Muxes := 7     
	   4 Input    4 Bit        Muxes := 2     
	   3 Input    4 Bit        Muxes := 12    
	   2 Input    2 Bit        Muxes := 1     
	   2 Input    1 Bit        Muxes := 10    
	   3 Input    1 Bit        Muxes := 1     
---------------------------------------------------------------------------------
Finished RTL Component Statistics 
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
Start Part Resource Summary
---------------------------------------------------------------------------------
Part Resources:
DSPs: 90 (col length:60)
BRAMs: 100 (col length: RAMB18 60 RAMB36 30)
---------------------------------------------------------------------------------

  • io_add_binary
---------------------------------------------------------------------------------
Detailed RTL Component Info : 
+---Adders : 
	   3 Input   17 Bit       Adders := 4     
	   2 Input   15 Bit       Adders := 1     
	   3 Input   14 Bit       Adders := 4     
	   3 Input    9 Bit       Adders := 2     
	   2 Input    4 Bit       Adders := 2     
	   2 Input    2 Bit       Adders := 1     
+---Registers : 
	                4 Bit    Registers := 13    
	                2 Bit    Registers := 6     
	                1 Bit    Registers := 5     
+---Muxes : 
	   2 Input   17 Bit        Muxes := 4     
	   3 Input   15 Bit        Muxes := 1     
	   4 Input    4 Bit        Muxes := 2     
	   2 Input    4 Bit        Muxes := 3     
	   3 Input    4 Bit        Muxes := 12    
	   2 Input    2 Bit        Muxes := 1     
	   2 Input    1 Bit        Muxes := 10    
	   3 Input    1 Bit        Muxes := 1     
---------------------------------------------------------------------------------
Finished RTL Component Statistics 
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
Start Part Resource Summary
---------------------------------------------------------------------------------
Part Resources:
DSPs: 90 (col length:60)
BRAMs: 100 (col length: RAMB18 60 RAMB36 30)
---------------------------------------------------------------------------------

About

Some tests with the Alchitry Au FPGA kit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published