diff options
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 | ||
