From 08af02b861f9394c1321838b14ae34b527c7a6d1 Mon Sep 17 00:00:00 2001 From: juzeon <812312770@qq.com> Date: Thu, 10 Mar 2022 20:25:05 +0800 Subject: [PATCH] assign pins for shiftable_register --- ALU_parallel_8b/ALU_parallel_8b.bdf | 257 +++++++--------------- shiftable_register/shiftable_register.dpf | 12 + shiftable_register/shiftable_register.qsf | 29 ++- 3 files changed, 114 insertions(+), 184 deletions(-) create mode 100644 shiftable_register/shiftable_register.dpf diff --git a/ALU_parallel_8b/ALU_parallel_8b.bdf b/ALU_parallel_8b/ALU_parallel_8b.bdf index 9ee4dbb..9c6f09a 100644 --- a/ALU_parallel_8b/ALU_parallel_8b.bdf +++ b/ALU_parallel_8b/ALU_parallel_8b.bdf @@ -1258,131 +1258,6 @@ applicable agreement for further details. (circle (rect 31 12 39 20)(line_width 1)) ) ) -(symbol - (rect 176 232 224 264) - (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) - (text "inst15" (rect 3 21 32 33)(font "Arial" )) - (port - (pt 0 16) - (input) - (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) - (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) - (line (pt 0 16)(pt 13 16)(line_width 1)) - ) - (port - (pt 48 16) - (output) - (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) - (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) - (line (pt 39 16)(pt 48 16)(line_width 1)) - ) - (drawing - (line (pt 13 25)(pt 13 7)(line_width 1)) - (line (pt 13 7)(pt 31 16)(line_width 1)) - (line (pt 13 25)(pt 31 16)(line_width 1)) - (circle (rect 31 12 39 20)(line_width 1)) - ) -) -(symbol - (rect 176 248 224 280) - (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) - (text "inst16" (rect 3 21 32 33)(font "Arial" )) - (port - (pt 0 16) - (input) - (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) - (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) - (line (pt 0 16)(pt 13 16)(line_width 1)) - ) - (port - (pt 48 16) - (output) - (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) - (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) - (line (pt 39 16)(pt 48 16)(line_width 1)) - ) - (drawing - (line (pt 13 25)(pt 13 7)(line_width 1)) - (line (pt 13 7)(pt 31 16)(line_width 1)) - (line (pt 13 25)(pt 31 16)(line_width 1)) - (circle (rect 31 12 39 20)(line_width 1)) - ) -) -(symbol - (rect 176 264 224 296) - (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) - (text "inst17" (rect 3 21 32 33)(font "Arial" )) - (port - (pt 0 16) - (input) - (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) - (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) - (line (pt 0 16)(pt 13 16)(line_width 1)) - ) - (port - (pt 48 16) - (output) - (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) - (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) - (line (pt 39 16)(pt 48 16)(line_width 1)) - ) - (drawing - (line (pt 13 25)(pt 13 7)(line_width 1)) - (line (pt 13 7)(pt 31 16)(line_width 1)) - (line (pt 13 25)(pt 31 16)(line_width 1)) - (circle (rect 31 12 39 20)(line_width 1)) - ) -) -(symbol - (rect 176 280 224 312) - (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) - (text "inst18" (rect 3 21 32 33)(font "Arial" )) - (port - (pt 0 16) - (input) - (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) - (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) - (line (pt 0 16)(pt 13 16)(line_width 1)) - ) - (port - (pt 48 16) - (output) - (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) - (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) - (line (pt 39 16)(pt 48 16)(line_width 1)) - ) - (drawing - (line (pt 13 25)(pt 13 7)(line_width 1)) - (line (pt 13 7)(pt 31 16)(line_width 1)) - (line (pt 13 25)(pt 31 16)(line_width 1)) - (circle (rect 31 12 39 20)(line_width 1)) - ) -) -(symbol - (rect 176 296 224 328) - (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) - (text "inst19" (rect 3 21 32 33)(font "Arial" )) - (port - (pt 0 16) - (input) - (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) - (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) - (line (pt 0 16)(pt 13 16)(line_width 1)) - ) - (port - (pt 48 16) - (output) - (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) - (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) - (line (pt 39 16)(pt 48 16)(line_width 1)) - ) - (drawing - (line (pt 13 25)(pt 13 7)(line_width 1)) - (line (pt 13 7)(pt 31 16)(line_width 1)) - (line (pt 13 25)(pt 31 16)(line_width 1)) - (circle (rect 31 12 39 20)(line_width 1)) - ) -) (symbol (rect 176 392 224 424) (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) @@ -1808,22 +1683,10 @@ applicable agreement for further details. (circle (rect 31 12 39 20)(line_width 1)) ) ) -(connector - (pt 312 312) - (pt 312 616) -) -(connector - (pt 328 296) - (pt 328 600) -) (connector (pt 344 280) (pt 344 584) ) -(connector - (pt 360 264) - (pt 360 568) -) (connector (pt 376 248) (pt 376 552) @@ -2004,34 +1867,10 @@ applicable agreement for further details. (pt 224 216) (pt 408 216) ) -(connector - (pt 144 248) - (pt 176 248) -) (connector (pt 144 232) (pt 176 232) ) -(connector - (pt 144 312) - (pt 176 312) -) -(connector - (pt 144 296) - (pt 176 296) -) -(connector - (pt 144 280) - (pt 176 280) -) -(connector - (pt 144 264) - (pt 176 264) -) -(connector - (pt 224 248) - (pt 376 248) -) (connector (pt 376 248) (pt 408 248) @@ -2044,34 +1883,14 @@ applicable agreement for further details. (pt 392 232) (pt 408 232) ) -(connector - (pt 224 312) - (pt 312 312) -) (connector (pt 312 312) (pt 408 312) ) -(connector - (pt 224 296) - (pt 328 296) -) (connector (pt 328 296) (pt 408 296) ) -(connector - (pt 224 280) - (pt 344 280) -) -(connector - (pt 344 280) - (pt 408 280) -) -(connector - (pt 224 264) - (pt 360 264) -) (connector (pt 360 264) (pt 408 264) @@ -2212,9 +2031,81 @@ applicable agreement for further details. (pt 720 568) (pt 768 568) ) +(connector + (pt 144 248) + (pt 376 248) +) +(connector + (pt 144 264) + (pt 256 264) +) +(connector + (pt 256 264) + (pt 256 280) +) +(connector + (pt 256 280) + (pt 344 280) +) +(connector + (pt 344 280) + (pt 408 280) +) +(connector + (pt 144 280) + (pt 240 280) +) +(connector + (pt 240 280) + (pt 240 256) +) +(connector + (pt 240 256) + (pt 360 256) +) +(connector + (pt 360 256) + (pt 360 264) +) +(connector + (pt 360 264) + (pt 360 568) +) +(connector + (pt 144 296) + (pt 312 296) +) +(connector + (pt 312 296) + (pt 312 312) +) +(connector + (pt 312 312) + (pt 312 616) +) +(connector + (pt 144 312) + (pt 288 312) +) +(connector + (pt 288 312) + (pt 288 288) +) +(connector + (pt 288 288) + (pt 328 288) +) +(connector + (pt 328 288) + (pt 328 296) +) +(connector + (pt 328 296) + (pt 328 600) +) (junction (pt 376 248)) (junction (pt 392 232)) -(junction (pt 360 264)) (junction (pt 344 280)) -(junction (pt 328 296)) +(junction (pt 360 264)) (junction (pt 312 312)) +(junction (pt 328 296)) diff --git a/shiftable_register/shiftable_register.dpf b/shiftable_register/shiftable_register.dpf new file mode 100644 index 0000000..abe19d9 --- /dev/null +++ b/shiftable_register/shiftable_register.dpf @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/shiftable_register/shiftable_register.qsf b/shiftable_register/shiftable_register.qsf index 1b0d8f0..f44bfcb 100644 --- a/shiftable_register/shiftable_register.qsf +++ b/shiftable_register/shiftable_register.qsf @@ -49,4 +49,31 @@ set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_ set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top set_global_assignment -name PARTITION_COLOR 16764057 -section_id Top set_global_assignment -name LL_ROOT_REGION ON -section_id "Root Region" -set_global_assignment -name LL_MEMBER_STATE LOCKED -section_id "Root Region" \ No newline at end of file +set_global_assignment -name LL_MEMBER_STATE LOCKED -section_id "Root Region" +set_global_assignment -name USE_CONFIGURATION_DEVICE ON +set_global_assignment -name RESERVE_ALL_UNUSED_PINS "AS INPUT TRI-STATED" +set_global_assignment -name MISC_FILE "D:/projects/quartus/shiftable_register/shiftable_register.dpf" +set_global_assignment -name STRATIX_DEVICE_IO_STANDARD "3.3-V LVTTL" +set_location_assignment PIN_77 -to D0 +set_location_assignment PIN_80 -to D1 +set_location_assignment PIN_81 -to D2 +set_location_assignment PIN_82 -to D3 +set_location_assignment PIN_84 -to D4 +set_location_assignment PIN_86 -to D5 +set_location_assignment PIN_87 -to D6 +set_location_assignment PIN_88 -to D7 +set_location_assignment PIN_132 -to CK +set_location_assignment PIN_74 -to CLR +set_location_assignment PIN_68 -to DM +set_location_assignment PIN_72 -to L +set_location_assignment PIN_69 -to LM +set_location_assignment PIN_70 -to R +set_location_assignment PIN_67 -to RM +set_location_assignment PIN_142 -to Y0 +set_location_assignment PIN_143 -to Y1 +set_location_assignment PIN_144 -to Y2 +set_location_assignment PIN_145 -to Y3 +set_location_assignment PIN_146 -to Y4 +set_location_assignment PIN_147 -to Y5 +set_location_assignment PIN_149 -to Y6 +set_location_assignment PIN_150 -to Y7 \ No newline at end of file