diff options
| author | vin <git@vineetk.net> | 2025-03-24 15:45:40 -0400 |
|---|---|---|
| committer | vin <git@vineetk.net> | 2025-03-24 16:23:48 -0400 |
| commit | 5ba90a29a3b539ead01f5c252722185c0ee33b9e (patch) | |
| tree | 71bbcac8bd49f69f47ed2631aa24d2a7cb62dfbe | |
| parent | c5ccd5c22f22cbbc265555559c7eefd06428398b (diff) | |
remove db and incremental_db
| -rw-r--r-- | CEL_PROJECT.qsf | 498 | ||||
| -rw-r--r-- | riscvsingle.sv | 4 |
2 files changed, 251 insertions, 251 deletions
diff --git a/CEL_PROJECT.qsf b/CEL_PROJECT.qsf index e18bca1..44439ad 100644 --- a/CEL_PROJECT.qsf +++ b/CEL_PROJECT.qsf | |||
| @@ -2,284 +2,284 @@ | |||
| 2 | # Build by Terasic System Builder | 2 | # Build by Terasic System Builder |
| 3 | #============================================================ | 3 | #============================================================ |
| 4 | 4 | ||
| 5 | set_global_assignment -name FAMILY "MAX 10 FPGA" | 5 | set_global_assignment -name FAMILY "MAX 10 FPGA" |
| 6 | set_global_assignment -name DEVICE 10M50DAF484C7G | 6 | set_global_assignment -name DEVICE 10M50DAF484C7G |
| 7 | set_global_assignment -name TOP_LEVEL_ENTITY "CEL_PROJECT" | 7 | set_global_assignment -name TOP_LEVEL_ENTITY "CEL_PROJECT" |
| 8 | set_global_assignment -name ORIGINAL_QUARTUS_VERSION "16.0.0" | 8 | set_global_assignment -name ORIGINAL_QUARTUS_VERSION 16.0.0 |
| 9 | set_global_assignment -name LAST_QUARTUS_VERSION "21.1.0 Lite Edition" | 9 | set_global_assignment -name LAST_QUARTUS_VERSION "21.1.0 Lite Edition" |
| 10 | set_global_assignment -name PROJECT_CREATION_TIME_DATE "03:53:12 FEBRUARY 25,2025" | 10 | set_global_assignment -name PROJECT_CREATION_TIME_DATE "03:53:12 FEBRUARY 25,2025" |
| 11 | set_global_assignment -name DEVICE_FILTER_PACKAGE FBGA | 11 | set_global_assignment -name DEVICE_FILTER_PACKAGE FBGA |
| 12 | set_global_assignment -name DEVICE_FILTER_PIN_COUNT 484 | 12 | set_global_assignment -name DEVICE_FILTER_PIN_COUNT 484 |
| 13 | set_global_assignment -name DEVICE_FILTER_SPEED_GRADE 7 | 13 | set_global_assignment -name DEVICE_FILTER_SPEED_GRADE 7 |
| 14 | set_global_assignment -name SDC_FILE CEL_PROJECT.SDC | 14 | set_global_assignment -name SDC_FILE CEL_PROJECT.SDC |
| 15 | 15 | ||
| 16 | #============================================================ | 16 | #============================================================ |
| 17 | # CLOCK | 17 | # CLOCK |
| 18 | #============================================================ | 18 | #============================================================ |
| 19 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ADC_CLK_10 | 19 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ADC_CLK_10 |
| 20 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to MAX10_CLK1_50 | 20 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to MAX10_CLK1_50 |
| 21 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to MAX10_CLK2_50 | 21 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to MAX10_CLK2_50 |
| 22 | set_location_assignment PIN_N5 -to ADC_CLK_10 | 22 | set_location_assignment PIN_N5 -to ADC_CLK_10 |
| 23 | set_location_assignment PIN_P11 -to MAX10_CLK1_50 | 23 | set_location_assignment PIN_P11 -to MAX10_CLK1_50 |
| 24 | set_location_assignment PIN_N14 -to MAX10_CLK2_50 | 24 | set_location_assignment PIN_N14 -to MAX10_CLK2_50 |
| 25 | 25 | ||
| 26 | #============================================================ | 26 | #============================================================ |
| 27 | # SEG7 | 27 | # SEG7 |
| 28 | #============================================================ | 28 | #============================================================ |
| 29 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX0[0] | 29 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX0[0] |
| 30 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX0[1] | 30 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX0[1] |
| 31 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX0[2] | 31 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX0[2] |
| 32 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX0[3] | 32 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX0[3] |
| 33 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX0[4] | 33 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX0[4] |
| 34 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX0[5] | 34 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX0[5] |
| 35 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX0[6] | 35 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX0[6] |
| 36 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX0[7] | 36 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX0[7] |
| 37 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX1[0] | 37 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX1[0] |
| 38 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX1[1] | 38 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX1[1] |
| 39 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX1[2] | 39 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX1[2] |
| 40 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX1[3] | 40 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX1[3] |
| 41 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX1[4] | 41 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX1[4] |
| 42 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX1[5] | 42 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX1[5] |
| 43 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX1[6] | 43 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX1[6] |
| 44 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX1[7] | 44 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX1[7] |
| 45 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX2[0] | 45 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX2[0] |
| 46 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX2[1] | 46 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX2[1] |
| 47 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX2[2] | 47 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX2[2] |
| 48 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX2[3] | 48 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX2[3] |
| 49 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX2[4] | 49 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX2[4] |
| 50 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX2[5] | 50 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX2[5] |
| 51 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX2[6] | 51 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX2[6] |
| 52 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX2[7] | 52 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX2[7] |
| 53 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX3[0] | 53 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX3[0] |
| 54 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX3[1] | 54 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX3[1] |
| 55 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX3[2] | 55 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX3[2] |
| 56 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX3[3] | 56 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX3[3] |
| 57 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX3[4] | 57 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX3[4] |
| 58 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX3[5] | 58 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX3[5] |
| 59 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX3[6] | 59 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX3[6] |
| 60 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX3[7] | 60 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX3[7] |
| 61 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX4[0] | 61 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX4[0] |
| 62 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX4[1] | 62 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX4[1] |
| 63 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX4[2] | 63 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX4[2] |
| 64 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX4[3] | 64 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX4[3] |
| 65 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX4[4] | 65 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX4[4] |
| 66 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX4[5] | 66 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX4[5] |
| 67 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX4[6] | 67 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX4[6] |
| 68 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX4[7] | 68 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX4[7] |
| 69 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX5[0] | 69 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX5[0] |
| 70 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX5[1] | 70 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX5[1] |
| 71 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX5[2] | 71 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX5[2] |
| 72 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX5[3] | 72 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX5[3] |
| 73 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX5[4] | 73 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX5[4] |
| 74 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX5[5] | 74 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX5[5] |
| 75 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX5[6] | 75 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX5[6] |
| 76 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX5[7] | 76 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to HEX5[7] |
| 77 | set_location_assignment PIN_C14 -to HEX0[0] | 77 | set_location_assignment PIN_C14 -to HEX0[0] |
| 78 | set_location_assignment PIN_E15 -to HEX0[1] | 78 | set_location_assignment PIN_E15 -to HEX0[1] |
| 79 | set_location_assignment PIN_C15 -to HEX0[2] | 79 | set_location_assignment PIN_C15 -to HEX0[2] |
| 80 | set_location_assignment PIN_C16 -to HEX0[3] | 80 | set_location_assignment PIN_C16 -to HEX0[3] |
| 81 | set_location_assignment PIN_E16 -to HEX0[4] | 81 | set_location_assignment PIN_E16 -to HEX0[4] |
| 82 | set_location_assignment PIN_D17 -to HEX0[5] | 82 | set_location_assignment PIN_D17 -to HEX0[5] |
| 83 | set_location_assignment PIN_C17 -to HEX0[6] | 83 | set_location_assignment PIN_C17 -to HEX0[6] |
| 84 | set_location_assignment PIN_D15 -to HEX0[7] | 84 | set_location_assignment PIN_D15 -to HEX0[7] |
| 85 | set_location_assignment PIN_C18 -to HEX1[0] | 85 | set_location_assignment PIN_C18 -to HEX1[0] |
| 86 | set_location_assignment PIN_D18 -to HEX1[1] | 86 | set_location_assignment PIN_D18 -to HEX1[1] |
| 87 | set_location_assignment PIN_E18 -to HEX1[2] | 87 | set_location_assignment PIN_E18 -to HEX1[2] |
| 88 | set_location_assignment PIN_B16 -to HEX1[3] | 88 | set_location_assignment PIN_B16 -to HEX1[3] |
| 89 | set_location_assignment PIN_A17 -to HEX1[4] | 89 | set_location_assignment PIN_A17 -to HEX1[4] |
| 90 | set_location_assignment PIN_A18 -to HEX1[5] | 90 | set_location_assignment PIN_A18 -to HEX1[5] |
| 91 | set_location_assignment PIN_B17 -to HEX1[6] | 91 | set_location_assignment PIN_B17 -to HEX1[6] |
| 92 | set_location_assignment PIN_A16 -to HEX1[7] | 92 | set_location_assignment PIN_A16 -to HEX1[7] |
| 93 | set_location_assignment PIN_B20 -to HEX2[0] | 93 | set_location_assignment PIN_B20 -to HEX2[0] |
| 94 | set_location_assignment PIN_A20 -to HEX2[1] | 94 | set_location_assignment PIN_A20 -to HEX2[1] |
| 95 | set_location_assignment PIN_B19 -to HEX2[2] | 95 | set_location_assignment PIN_B19 -to HEX2[2] |
| 96 | set_location_assignment PIN_A21 -to HEX2[3] | 96 | set_location_assignment PIN_A21 -to HEX2[3] |
| 97 | set_location_assignment PIN_B21 -to HEX2[4] | 97 | set_location_assignment PIN_B21 -to HEX2[4] |
| 98 | set_location_assignment PIN_C22 -to HEX2[5] | 98 | set_location_assignment PIN_C22 -to HEX2[5] |
| 99 | set_location_assignment PIN_B22 -to HEX2[6] | 99 | set_location_assignment PIN_B22 -to HEX2[6] |
| 100 | set_location_assignment PIN_A19 -to HEX2[7] | 100 | set_location_assignment PIN_A19 -to HEX2[7] |
| 101 | set_location_assignment PIN_F21 -to HEX3[0] | 101 | set_location_assignment PIN_F21 -to HEX3[0] |
| 102 | set_location_assignment PIN_E22 -to HEX3[1] | 102 | set_location_assignment PIN_E22 -to HEX3[1] |
| 103 | set_location_assignment PIN_E21 -to HEX3[2] | 103 | set_location_assignment PIN_E21 -to HEX3[2] |
| 104 | set_location_assignment PIN_C19 -to HEX3[3] | 104 | set_location_assignment PIN_C19 -to HEX3[3] |
| 105 | set_location_assignment PIN_C20 -to HEX3[4] | 105 | set_location_assignment PIN_C20 -to HEX3[4] |
| 106 | set_location_assignment PIN_D19 -to HEX3[5] | 106 | set_location_assignment PIN_D19 -to HEX3[5] |
| 107 | set_location_assignment PIN_E17 -to HEX3[6] | 107 | set_location_assignment PIN_E17 -to HEX3[6] |
| 108 | set_location_assignment PIN_D22 -to HEX3[7] | 108 | set_location_assignment PIN_D22 -to HEX3[7] |
| 109 | set_location_assignment PIN_F18 -to HEX4[0] | 109 | set_location_assignment PIN_F18 -to HEX4[0] |
| 110 | set_location_assignment PIN_E20 -to HEX4[1] | 110 | set_location_assignment PIN_E20 -to HEX4[1] |
| 111 | set_location_assignment PIN_E19 -to HEX4[2] | 111 | set_location_assignment PIN_E19 -to HEX4[2] |
| 112 | set_location_assignment PIN_J18 -to HEX4[3] | 112 | set_location_assignment PIN_J18 -to HEX4[3] |
| 113 | set_location_assignment PIN_H19 -to HEX4[4] | 113 | set_location_assignment PIN_H19 -to HEX4[4] |
| 114 | set_location_assignment PIN_F19 -to HEX4[5] | 114 | set_location_assignment PIN_F19 -to HEX4[5] |
| 115 | set_location_assignment PIN_F20 -to HEX4[6] | 115 | set_location_assignment PIN_F20 -to HEX4[6] |
| 116 | set_location_assignment PIN_F17 -to HEX4[7] | 116 | set_location_assignment PIN_F17 -to HEX4[7] |
| 117 | set_location_assignment PIN_J20 -to HEX5[0] | 117 | set_location_assignment PIN_J20 -to HEX5[0] |
| 118 | set_location_assignment PIN_K20 -to HEX5[1] | 118 | set_location_assignment PIN_K20 -to HEX5[1] |
| 119 | set_location_assignment PIN_L18 -to HEX5[2] | 119 | set_location_assignment PIN_L18 -to HEX5[2] |
| 120 | set_location_assignment PIN_N18 -to HEX5[3] | 120 | set_location_assignment PIN_N18 -to HEX5[3] |
| 121 | set_location_assignment PIN_M20 -to HEX5[4] | 121 | set_location_assignment PIN_M20 -to HEX5[4] |
| 122 | set_location_assignment PIN_N19 -to HEX5[5] | 122 | set_location_assignment PIN_N19 -to HEX5[5] |
| 123 | set_location_assignment PIN_N20 -to HEX5[6] | 123 | set_location_assignment PIN_N20 -to HEX5[6] |
| 124 | set_location_assignment PIN_L19 -to HEX5[7] | 124 | set_location_assignment PIN_L19 -to HEX5[7] |
| 125 | 125 | ||
| 126 | #============================================================ | 126 | #============================================================ |
| 127 | # KEY | 127 | # KEY |
| 128 | #============================================================ | 128 | #============================================================ |
| 129 | set_instance_assignment -name IO_STANDARD "3.3 V Schmitt Trigger" -to KEY[0] | 129 | set_instance_assignment -name IO_STANDARD "3.3 V SCHMITT TRIGGER" -to KEY[0] |
| 130 | set_instance_assignment -name IO_STANDARD "3.3 V Schmitt Trigger" -to KEY[1] | 130 | set_instance_assignment -name IO_STANDARD "3.3 V SCHMITT TRIGGER" -to KEY[1] |
| 131 | set_location_assignment PIN_B8 -to KEY[0] | 131 | set_location_assignment PIN_B8 -to KEY[0] |
| 132 | set_location_assignment PIN_A7 -to KEY[1] | 132 | set_location_assignment PIN_A7 -to KEY[1] |
| 133 | 133 | ||
| 134 | #============================================================ | 134 | #============================================================ |
| 135 | # LED | 135 | # LED |
| 136 | #============================================================ | 136 | #============================================================ |
| 137 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LEDR[0] | 137 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LEDR[0] |
| 138 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LEDR[1] | 138 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LEDR[1] |
| 139 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LEDR[2] | 139 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LEDR[2] |
| 140 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LEDR[3] | 140 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LEDR[3] |
| 141 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LEDR[4] | 141 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LEDR[4] |
| 142 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LEDR[5] | 142 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LEDR[5] |
| 143 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LEDR[6] | 143 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LEDR[6] |
| 144 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LEDR[7] | 144 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LEDR[7] |
| 145 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LEDR[8] | 145 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LEDR[8] |
| 146 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LEDR[9] | 146 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to LEDR[9] |
| 147 | set_location_assignment PIN_A8 -to LEDR[0] | 147 | set_location_assignment PIN_A8 -to LEDR[0] |
| 148 | set_location_assignment PIN_A9 -to LEDR[1] | 148 | set_location_assignment PIN_A9 -to LEDR[1] |
| 149 | set_location_assignment PIN_A10 -to LEDR[2] | 149 | set_location_assignment PIN_A10 -to LEDR[2] |
| 150 | set_location_assignment PIN_B10 -to LEDR[3] | 150 | set_location_assignment PIN_B10 -to LEDR[3] |
| 151 | set_location_assignment PIN_D13 -to LEDR[4] | 151 | set_location_assignment PIN_D13 -to LEDR[4] |
| 152 | set_location_assignment PIN_C13 -to LEDR[5] | 152 | set_location_assignment PIN_C13 -to LEDR[5] |
| 153 | set_location_assignment PIN_E14 -to LEDR[6] | 153 | set_location_assignment PIN_E14 -to LEDR[6] |
| 154 | set_location_assignment PIN_D14 -to LEDR[7] | 154 | set_location_assignment PIN_D14 -to LEDR[7] |
| 155 | set_location_assignment PIN_A11 -to LEDR[8] | 155 | set_location_assignment PIN_A11 -to LEDR[8] |
| 156 | set_location_assignment PIN_B11 -to LEDR[9] | 156 | set_location_assignment PIN_B11 -to LEDR[9] |
| 157 | 157 | ||
| 158 | #============================================================ | 158 | #============================================================ |
| 159 | # SW | 159 | # SW |
| 160 | #============================================================ | 160 | #============================================================ |
| 161 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[0] | 161 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[0] |
| 162 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[1] | 162 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[1] |
| 163 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[2] | 163 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[2] |
| 164 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[3] | 164 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[3] |
| 165 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[4] | 165 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[4] |
| 166 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[5] | 166 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[5] |
| 167 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[6] | 167 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[6] |
| 168 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[7] | 168 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[7] |
| 169 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[8] | 169 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[8] |
| 170 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[9] | 170 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to SW[9] |
| 171 | set_location_assignment PIN_C10 -to SW[0] | 171 | set_location_assignment PIN_C10 -to SW[0] |
| 172 | set_location_assignment PIN_C11 -to SW[1] | 172 | set_location_assignment PIN_C11 -to SW[1] |
| 173 | set_location_assignment PIN_D12 -to SW[2] | 173 | set_location_assignment PIN_D12 -to SW[2] |
| 174 | set_location_assignment PIN_C12 -to SW[3] | 174 | set_location_assignment PIN_C12 -to SW[3] |
| 175 | set_location_assignment PIN_A12 -to SW[4] | 175 | set_location_assignment PIN_A12 -to SW[4] |
| 176 | set_location_assignment PIN_B12 -to SW[5] | 176 | set_location_assignment PIN_B12 -to SW[5] |
| 177 | set_location_assignment PIN_A13 -to SW[6] | 177 | set_location_assignment PIN_A13 -to SW[6] |
| 178 | set_location_assignment PIN_A14 -to SW[7] | 178 | set_location_assignment PIN_A14 -to SW[7] |
| 179 | set_location_assignment PIN_B14 -to SW[8] | 179 | set_location_assignment PIN_B14 -to SW[8] |
| 180 | set_location_assignment PIN_F15 -to SW[9] | 180 | set_location_assignment PIN_F15 -to SW[9] |
| 181 | 181 | ||
| 182 | #============================================================ | 182 | #============================================================ |
| 183 | # GPIO, GPIO connect to GPIO Default | 183 | # GPIO, GPIO connect to GPIO Default |
| 184 | #============================================================ | 184 | #============================================================ |
| 185 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[0] | 185 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[0] |
| 186 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[1] | 186 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[1] |
| 187 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[2] | 187 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[2] |
| 188 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[3] | 188 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[3] |
| 189 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[4] | 189 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[4] |
| 190 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[5] | 190 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[5] |
| 191 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[6] | 191 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[6] |
| 192 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[7] | 192 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[7] |
| 193 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[8] | 193 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[8] |
| 194 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[9] | 194 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[9] |
| 195 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[10] | 195 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[10] |
| 196 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[11] | 196 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[11] |
| 197 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[12] | 197 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[12] |
| 198 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[13] | 198 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[13] |
| 199 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[14] | 199 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[14] |
| 200 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[15] | 200 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[15] |
| 201 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[16] | 201 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[16] |
| 202 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[17] | 202 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[17] |
| 203 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[18] | 203 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[18] |
| 204 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[19] | 204 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[19] |
| 205 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[20] | 205 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[20] |
| 206 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[21] | 206 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[21] |
| 207 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[22] | 207 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[22] |
| 208 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[23] | 208 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[23] |
| 209 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[24] | 209 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[24] |
| 210 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[25] | 210 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[25] |
| 211 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[26] | 211 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[26] |
| 212 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[27] | 212 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[27] |
| 213 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[28] | 213 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[28] |
| 214 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[29] | 214 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[29] |
| 215 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[30] | 215 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[30] |
| 216 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[31] | 216 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[31] |
| 217 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[32] | 217 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[32] |
| 218 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[33] | 218 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[33] |
| 219 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[34] | 219 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[34] |
| 220 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[35] | 220 | set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[35] |
| 221 | set_location_assignment PIN_V10 -to GPIO[0] | 221 | set_location_assignment PIN_V10 -to GPIO[0] |
| 222 | set_location_assignment PIN_W10 -to GPIO[1] | 222 | set_location_assignment PIN_W10 -to GPIO[1] |
| 223 | set_location_assignment PIN_V9 -to GPIO[2] | 223 | set_location_assignment PIN_V9 -to GPIO[2] |
| 224 | set_location_assignment PIN_W9 -to GPIO[3] | 224 | set_location_assignment PIN_W9 -to GPIO[3] |
| 225 | set_location_assignment PIN_V8 -to GPIO[4] | 225 | set_location_assignment PIN_V8 -to GPIO[4] |
| 226 | set_location_assignment PIN_W8 -to GPIO[5] | 226 | set_location_assignment PIN_W8 -to GPIO[5] |
| 227 | set_location_assignment PIN_V7 -to GPIO[6] | 227 | set_location_assignment PIN_V7 -to GPIO[6] |
| 228 | set_location_assignment PIN_W7 -to GPIO[7] | 228 | set_location_assignment PIN_W7 -to GPIO[7] |
| 229 | set_location_assignment PIN_W6 -to GPIO[8] | 229 | set_location_assignment PIN_W6 -to GPIO[8] |
| 230 | set_location_assignment PIN_V5 -to GPIO[9] | 230 | set_location_assignment PIN_V5 -to GPIO[9] |
| 231 | set_location_assignment PIN_W5 -to GPIO[10] | 231 | set_location_assignment PIN_W5 -to GPIO[10] |
| 232 | set_location_assignment PIN_AA15 -to GPIO[11] | 232 | set_location_assignment PIN_AA15 -to GPIO[11] |
| 233 | set_location_assignment PIN_AA14 -to GPIO[12] | 233 | set_location_assignment PIN_AA14 -to GPIO[12] |
| 234 | set_location_assignment PIN_W13 -to GPIO[13] | 234 | set_location_assignment PIN_W13 -to GPIO[13] |
| 235 | set_location_assignment PIN_W12 -to GPIO[14] | 235 | set_location_assignment PIN_W12 -to GPIO[14] |
| 236 | set_location_assignment PIN_AB13 -to GPIO[15] | 236 | set_location_assignment PIN_AB13 -to GPIO[15] |
| 237 | set_location_assignment PIN_AB12 -to GPIO[16] | 237 | set_location_assignment PIN_AB12 -to GPIO[16] |
| 238 | set_location_assignment PIN_Y11 -to GPIO[17] | 238 | set_location_assignment PIN_Y11 -to GPIO[17] |
| 239 | set_location_assignment PIN_AB11 -to GPIO[18] | 239 | set_location_assignment PIN_AB11 -to GPIO[18] |
| 240 | set_location_assignment PIN_W11 -to GPIO[19] | 240 | set_location_assignment PIN_W11 -to GPIO[19] |
| 241 | set_location_assignment PIN_AB10 -to GPIO[20] | 241 | set_location_assignment PIN_AB10 -to GPIO[20] |
| 242 | set_location_assignment PIN_AA10 -to GPIO[21] | 242 | set_location_assignment PIN_AA10 -to GPIO[21] |
| 243 | set_location_assignment PIN_AA9 -to GPIO[22] | 243 | set_location_assignment PIN_AA9 -to GPIO[22] |
| 244 | set_location_assignment PIN_Y8 -to GPIO[23] | 244 | set_location_assignment PIN_Y8 -to GPIO[23] |
| 245 | set_location_assignment PIN_AA8 -to GPIO[24] | 245 | set_location_assignment PIN_AA8 -to GPIO[24] |
| 246 | set_location_assignment PIN_Y7 -to GPIO[25] | 246 | set_location_assignment PIN_Y7 -to GPIO[25] |
| 247 | set_location_assignment PIN_AA7 -to GPIO[26] | 247 | set_location_assignment PIN_AA7 -to GPIO[26] |
| 248 | set_location_assignment PIN_Y6 -to GPIO[27] | 248 | set_location_assignment PIN_Y6 -to GPIO[27] |
| 249 | set_location_assignment PIN_AA6 -to GPIO[28] | 249 | set_location_assignment PIN_AA6 -to GPIO[28] |
| 250 | set_location_assignment PIN_Y5 -to GPIO[29] | 250 | set_location_assignment PIN_Y5 -to GPIO[29] |
| 251 | set_location_assignment PIN_AA5 -to GPIO[30] | 251 | set_location_assignment PIN_AA5 -to GPIO[30] |
| 252 | set_location_assignment PIN_Y4 -to GPIO[31] | 252 | set_location_assignment PIN_Y4 -to GPIO[31] |
| 253 | set_location_assignment PIN_AB3 -to GPIO[32] | 253 | set_location_assignment PIN_AB3 -to GPIO[32] |
| 254 | set_location_assignment PIN_Y3 -to GPIO[33] | 254 | set_location_assignment PIN_Y3 -to GPIO[33] |
| 255 | set_location_assignment PIN_AB2 -to GPIO[34] | 255 | set_location_assignment PIN_AB2 -to GPIO[34] |
| 256 | set_location_assignment PIN_AA2 -to GPIO[35] | 256 | set_location_assignment PIN_AA2 -to GPIO[35] |
| 257 | 257 | ||
| 258 | #============================================================ | 258 | #============================================================ |
| 259 | # End of pin assignments by Terasic System Builder | 259 | # End of pin assignments by Terasic System Builder |
| 260 | #============================================================ | 260 | #============================================================ |
| 261 | 261 | ||
| 262 | 262 | ||
| 263 | set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top | 263 | set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top |
| 264 | set_global_assignment -name PARTITION_FITTER_PRESERVATION_LEVEL PLACEMENT_AND_ROUTING -section_id Top | 264 | set_global_assignment -name PARTITION_FITTER_PRESERVATION_LEVEL PLACEMENT_AND_ROUTING -section_id Top |
| 265 | set_global_assignment -name PARTITION_COLOR 16764057 -section_id Top | 265 | set_global_assignment -name PARTITION_COLOR 16764057 -section_id Top |
| 266 | set_global_assignment -name SYSTEMVERILOG_FILE riscvsingle.sv | 266 | set_global_assignment -name SYSTEMVERILOG_FILE riscvsingle.sv |
| 267 | set_global_assignment -name VERILOG_FILE my_computer_tb.v | 267 | set_global_assignment -name VERILOG_FILE my_computer_tb.v |
| 268 | set_global_assignment -name MIN_CORE_JUNCTION_TEMP 0 | 268 | set_global_assignment -name MIN_CORE_JUNCTION_TEMP 0 |
| 269 | set_global_assignment -name MAX_CORE_JUNCTION_TEMP 85 | 269 | set_global_assignment -name MAX_CORE_JUNCTION_TEMP 85 |
| 270 | set_global_assignment -name POWER_PRESET_COOLING_SOLUTION "23 MM HEAT SINK WITH 200 LFPM AIRFLOW" | 270 | set_global_assignment -name POWER_PRESET_COOLING_SOLUTION "23 MM HEAT SINK WITH 200 LFPM AIRFLOW" |
| 271 | set_global_assignment -name POWER_BOARD_THERMAL_MODEL "NONE (CONSERVATIVE)" | 271 | set_global_assignment -name POWER_BOARD_THERMAL_MODEL "NONE (CONSERVATIVE)" |
| 272 | set_global_assignment -name EDA_SIMULATION_TOOL "Questa Intel FPGA (Verilog)" | 272 | set_global_assignment -name EDA_SIMULATION_TOOL "Questa Intel FPGA (Verilog)" |
| 273 | set_global_assignment -name EDA_TIME_SCALE "1 ps" -section_id eda_simulation | 273 | set_global_assignment -name EDA_TIME_SCALE "1 ps" -section_id eda_simulation |
| 274 | set_global_assignment -name EDA_OUTPUT_DATA_FORMAT "VERILOG HDL" -section_id eda_simulation | 274 | set_global_assignment -name EDA_OUTPUT_DATA_FORMAT "VERILOG HDL" -section_id eda_simulation |
| 275 | set_global_assignment -name EDA_GENERATE_FUNCTIONAL_NETLIST OFF -section_id eda_board_design_timing | 275 | set_global_assignment -name EDA_GENERATE_FUNCTIONAL_NETLIST OFF -section_id eda_board_design_timing |
| 276 | set_global_assignment -name EDA_GENERATE_FUNCTIONAL_NETLIST OFF -section_id eda_board_design_symbol | 276 | set_global_assignment -name EDA_GENERATE_FUNCTIONAL_NETLIST OFF -section_id eda_board_design_symbol |
| 277 | set_global_assignment -name EDA_GENERATE_FUNCTIONAL_NETLIST OFF -section_id eda_board_design_signal_integrity | 277 | set_global_assignment -name EDA_GENERATE_FUNCTIONAL_NETLIST OFF -section_id eda_board_design_signal_integrity |
| 278 | set_global_assignment -name EDA_GENERATE_FUNCTIONAL_NETLIST OFF -section_id eda_board_design_boundary_scan | 278 | set_global_assignment -name EDA_GENERATE_FUNCTIONAL_NETLIST OFF -section_id eda_board_design_boundary_scan |
| 279 | set_global_assignment -name EDA_TEST_BENCH_ENABLE_STATUS TEST_BENCH_MODE -section_id eda_simulation | 279 | set_global_assignment -name EDA_TEST_BENCH_ENABLE_STATUS TEST_BENCH_MODE -section_id eda_simulation |
| 280 | set_global_assignment -name EDA_NATIVELINK_SIMULATION_TEST_BENCH my_computer_tb -section_id eda_simulation | 280 | set_global_assignment -name EDA_NATIVELINK_SIMULATION_TEST_BENCH my_computer_tb -section_id eda_simulation |
| 281 | set_global_assignment -name EDA_TEST_BENCH_NAME my_computer_tb -section_id eda_simulation | 281 | set_global_assignment -name EDA_TEST_BENCH_NAME my_computer_tb -section_id eda_simulation |
| 282 | set_global_assignment -name EDA_DESIGN_INSTANCE_NAME NA -section_id my_computer_tb | 282 | set_global_assignment -name EDA_DESIGN_INSTANCE_NAME NA -section_id my_computer_tb |
| 283 | set_global_assignment -name EDA_TEST_BENCH_MODULE_NAME my_computer_tb -section_id my_computer_tb | 283 | set_global_assignment -name EDA_TEST_BENCH_MODULE_NAME my_computer_tb -section_id my_computer_tb |
| 284 | set_global_assignment -name EDA_TEST_BENCH_FILE my_computer_tb.v -section_id my_computer_tb | 284 | set_global_assignment -name EDA_TEST_BENCH_FILE my_computer_tb.v -section_id my_computer_tb |
| 285 | set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top \ No newline at end of file | 285 | set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top \ No newline at end of file |
diff --git a/riscvsingle.sv b/riscvsingle.sv index 45e4855..e2c1baa 100644 --- a/riscvsingle.sv +++ b/riscvsingle.sv | |||
| @@ -137,7 +137,7 @@ module imem(input logic [31:0] a, | |||
| 137 | // Simulator : ok | 137 | // Simulator : ok |
| 138 | // Hardware : For FPGA ok, non-FPGA we need a 3rd party solution to program the FLASH memory (ROM) | 138 | // Hardware : For FPGA ok, non-FPGA we need a 3rd party solution to program the FLASH memory (ROM) |
| 139 | initial | 139 | initial |
| 140 | $readmemh("riscvtest_rom_image.txt", ROM); | 140 | $readmemh("/home/vin/src/public/eel3792c_rv32i/riscvtest_rom_image.txt", ROM); |
| 141 | 141 | ||
| 142 | assign rd = ROM[a[31:2]]; // word aligned | 142 | assign rd = ROM[a[31:2]]; // word aligned |
| 143 | endmodule | 143 | endmodule |
| @@ -171,7 +171,7 @@ module dmem(input logic clk, we, | |||
| 171 | // Simulator : ok | 171 | // Simulator : ok |
| 172 | // Hardware : For FPGA ok, non-FPGA we need a 3rd party solution to program the DATA memory (RAM) | 172 | // Hardware : For FPGA ok, non-FPGA we need a 3rd party solution to program the DATA memory (RAM) |
| 173 | initial | 173 | initial |
| 174 | $readmemh("riscvtest_ram_image.txt", RAM); | 174 | $readmemh("/home/vin/src/public/eel3792c_rv32i/riscvtest_ram_image.txt", RAM); |
| 175 | 175 | ||
| 176 | endmodule | 176 | endmodule |
| 177 | 177 | ||
