diff options
| author | Julian Blake Kongslie | 2021-03-23 12:22:38 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2021-03-23 12:22:38 -0700 |
| commit | 5d95607192380be5cc62592efac52814a0e090df (patch) | |
| tree | 656bc3ec79180a89f355681e454808ebce6eb6d9 /init.tcl | |
| download | toycpu-5d95607192380be5cc62592efac52814a0e090df.tar.xz | |
Initial commit.
Diffstat (limited to '')
| -rw-r--r-- | init.tcl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/init.tcl b/init.tcl new file mode 100644 index 0000000..66cea3f --- /dev/null +++ b/init.tcl | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | global quartus | ||
| 2 | |||
| 3 | project_new toycpu -revision toycpu -overwrite | ||
| 4 | |||
| 5 | set_global_assignment -name DEVICE 10CL025YU256I7G | ||
| 6 | |||
| 7 | set_global_assignment -name TOP_LEVEL_ENTITY top | ||
| 8 | |||
| 9 | set_location_assignment -to clk PIN_E1 | ||
| 10 | set_location_assignment -to reset_n PIN_J15 | ||
| 11 | |||
| 12 | create_base_clock -fmax "50 MHz" -target clk clock_50m | ||
| 13 | |||
| 14 | foreach arg $quartus(args) { | ||
| 15 | set_global_assignment -name VERILOG_FILE $arg | ||
| 16 | } | ||
| 17 | |||
| 18 | project_close | ||
