parent
df04ce9839
commit
61f1fd3bd4
@ -0,0 +1,7 @@
|
|||||||
|
*.dblite
|
||||||
|
*.ini
|
||||||
|
*.asc
|
||||||
|
*.bin
|
||||||
|
*.blif
|
||||||
|
*.ex
|
||||||
|
*.json
|
Binary file not shown.
@ -1,9 +1,19 @@
|
|||||||
|
|
||||||
rot.bin: top.v inouts.pcf
|
default: top.v inouts.pcf
|
||||||
yosys -q -p "synth_ice40 -blif i2c_kbd_alt.blif" top.v i2c_slave.v matrix_kbd.v ram.v simple_filter.v uart.v descriptors.v
|
yosys -q -p "synth_ice40 -blif i2c_kbd_alt.blif" top.v i2c_slave.v matrix_kbd.v ram.v simple_filter.v uart.v descriptors.v
|
||||||
arachne-pnr -p inouts.pcf i2c_kbd_alt.blif -o i2c_kbd_alt.txt
|
arachne-pnr -d 1k -P tq144 -p inouts.pcf i2c_kbd_alt.blif -o i2c_kbd_alt.asc
|
||||||
icebox_explain i2c_kbd_alt.txt > i2c_kbd_alt.ex
|
# yosys -p "synth_ice40 -json i2_kbd_alt.json" top.v i2c_slave.v matrix_kbd.v ram.v simple_filter.v uart.v descriptors.v
|
||||||
icepack i2c_kbd_alt.txt i2c_kbd_alt.bin
|
# nextpnr-ice40 --hx1k --json i2_kbd_alt.json --pcf inouts.pcf --asc i2c_kbd_alt.asc
|
||||||
|
icebox_explain i2c_kbd_alt.asc > i2c_kbd_alt.ex
|
||||||
|
icepack i2c_kbd_alt.asc i2c_kbd_alt.bin
|
||||||
|
|
||||||
|
nextpnr: top.v inouts.pcf
|
||||||
|
# yosys -q -p "synth_ice40 -blif i2c_kbd_alt.blif" top.v i2c_slave.v matrix_kbd.v ram.v simple_filter.v uart.v descriptors.v
|
||||||
|
# arachne-pnr -p inouts.pcf i2c_kbd_alt.blif -o i2c_kbd_alt.asc
|
||||||
|
yosys -p "synth_ice40 -json i2_kbd_alt.json" top.v i2c_slave.v matrix_kbd.v ram.v simple_filter.v uart.v descriptors.v
|
||||||
|
nextpnr-ice40 --hx1k --json i2_kbd_alt.json --pcf inouts.pcf --asc i2c_kbd_alt.asc
|
||||||
|
icebox_explain i2c_kbd_alt.asc > i2c_kbd_alt.ex
|
||||||
|
icepack i2c_kbd_alt.asc i2c_kbd_alt.bin
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f i2c_kbd_alt.blif i2c_kbd_alt.txt i2c_kbd_alt.ex i2c_kbd_alt.bin
|
rm -f i2c_kbd_alt.blif i2c_kbd_alt.asc i2c_kbd_alt.ex i2c_kbd_alt.bin i2_kbd_alt.json
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
System - linux xubuntu 16.04
|
||||||
|
|
||||||
|
How to install apio-atom-ide (FPGA programming tool with GUI - atom):
|
||||||
|
https://github.com/FPGAwars/apio-ide/wiki
|
||||||
|
Don't forget about command: apio drivers --ftdi-enable
|
||||||
|
|
||||||
|
How to install project IceStorm (for manual build FPGA firmware with makefile):
|
||||||
|
http://www.clifford.at/icestorm/
|
||||||
|
|
||||||
|
|
||||||
|
Test programs (I2C HID host emulator and program for display debug information from FPGA):
|
||||||
|
|
||||||
|
Qt5 is installing with nextpnr (part of IceStorm).
|
||||||
|
|
||||||
|
Need to install (sudo apt-get update and sudo apt-get install):
|
||||||
|
qtcreator
|
||||||
|
libqt5serialport5
|
||||||
|
libqt5serialport5-dev
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue