diff options
author | Friedrich Beckmann <friedrich.beckmann@tha.de> | 2024-05-10 12:28:38 +0200 |
---|---|---|
committer | Friedrich Beckmann <friedrich.beckmann@tha.de> | 2024-05-10 12:28:38 +0200 |
commit | bc7d43b160864d53e7e4bbea81b29d5e8903baf4 (patch) | |
tree | fbe7a598af34ddbc585976dfe39af253b1dfd864 /pnr | |
parent | ee8d484d8531e425a06f23519fc09bbf2e1acf4e (diff) |
add top_count
Diffstat (limited to 'pnr')
-rw-r--r-- | pnr/top_count/makefile | 10 | ||||
-rw-r--r-- | pnr/top_count/top_count_pins.tcl | 47 |
2 files changed, 57 insertions, 0 deletions
diff --git a/pnr/top_count/makefile b/pnr/top_count/makefile new file mode 100644 index 0000000..1a5ccd5 --- /dev/null +++ b/pnr/top_count/makefile @@ -0,0 +1,10 @@ + +PROJECT = top_count + +# Take the vhdl files of the project +# from the simulation setup. This defines SYN_SOURCE_FILES +include ../../sim/$(PROJECT)/makefile.sources +# List all files for the project +SOURCE_FILES = $(SYN_SOURCE_FILES) + +include ../makefile diff --git a/pnr/top_count/top_count_pins.tcl b/pnr/top_count/top_count_pins.tcl new file mode 100644 index 0000000..84f817e --- /dev/null +++ b/pnr/top_count/top_count_pins.tcl @@ -0,0 +1,47 @@ +# assign pin locations to a quartus project + +set_location_assignment PIN_L22 -to SW[0] +set_location_assignment PIN_L21 -to SW[1] +set_location_assignment PIN_M22 -to SW[2] +set_location_assignment PIN_V12 -to SW[3] +set_location_assignment PIN_W12 -to SW[4] +set_location_assignment PIN_U12 -to SW[5] +set_location_assignment PIN_U11 -to SW[6] +set_location_assignment PIN_M2 -to SW[7] +set_location_assignment PIN_M1 -to SW[8] +set_location_assignment PIN_L2 -to SW[9] +set_location_assignment PIN_R20 -to LEDR[0] +set_location_assignment PIN_R19 -to LEDR[1] +set_location_assignment PIN_U19 -to LEDR[2] +set_location_assignment PIN_Y19 -to LEDR[3] +set_location_assignment PIN_T18 -to LEDR[4] +set_location_assignment PIN_V19 -to LEDR[5] +set_location_assignment PIN_Y18 -to LEDR[6] +set_location_assignment PIN_U18 -to LEDR[7] +set_location_assignment PIN_R18 -to LEDR[8] +set_location_assignment PIN_R17 -to LEDR[9] +set_location_assignment PIN_R22 -to KEY[0] +set_location_assignment PIN_R21 -to KEY[1] +set_location_assignment PIN_T22 -to KEY[2] +set_location_assignment PIN_T21 -to KEY[3] +set_location_assignment PIN_L1 -to CLOCK_50 +set_location_assignment PIN_U22 -to LEDG[0] +set_location_assignment PIN_U21 -to LEDG[1] +set_location_assignment PIN_V22 -to LEDG[2] +set_location_assignment PIN_V21 -to LEDG[3] +# This is expansion port 1 GPI_1 from scripts/de1_pin_assignments_minimumio.tcl +set_location_assignment PIN_H12 -to EXP[0] +set_location_assignment PIN_H13 -to EXP[1] +set_location_assignment PIN_H14 -to EXP[2] +set_location_assignment PIN_G15 -to EXP[3] +set_location_assignment PIN_E14 -to EXP[4] +set_location_assignment PIN_E15 -to EXP[5] +set_location_assignment PIN_F15 -to EXP[6] +set_location_assignment PIN_G16 -to EXP[7] +set_location_assignment PIN_J2 -to HEX0[0] +set_location_assignment PIN_J1 -to HEX0[1] +set_location_assignment PIN_H2 -to HEX0[2] +set_location_assignment PIN_H1 -to HEX0[3] +set_location_assignment PIN_F2 -to HEX0[4] +set_location_assignment PIN_F1 -to HEX0[5] +set_location_assignment PIN_E2 -to HEX0[6]
\ No newline at end of file |