-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #188 from TerosTechnology/update_default_device
Quartus reports
- Loading branch information
Showing
8 changed files
with
141 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
module blinky | ||
#(parameter clk_freq_hz = 0) | ||
(input clk, | ||
output reg q = 1'b0); | ||
|
||
reg [$clog2(clk_freq_hz)-1:0] count = 0; | ||
|
||
always @(posedge clk) begin | ||
count <= count + 1; | ||
if (count == clk_freq_hz-1) begin | ||
q <= !q; | ||
count <= 0; | ||
end | ||
end | ||
|
||
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Main system clock (50 Mhz) | ||
create_clock -name "clk" -period 20.000ns [get_ports {clk}] | ||
|
||
# Automatically constrain PLL and other generated clocks | ||
derive_pll_clocks -create_base_clocks | ||
|
||
# Automatically calculate clock uncertainty to jitter and other effects. | ||
derive_clock_uncertainty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# | ||
# Clock | ||
# | ||
set_location_assignment PIN_AF14 -to clk | ||
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to clk | ||
|
||
# | ||
# LEDR0 | ||
# | ||
set_location_assignment PIN_V16 -to q | ||
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to q |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
toplevel: blinky | ||
name: project_quartus | ||
files: | ||
- name: "pinmap.tcl" | ||
file_type: tclSource | ||
is_include_file: false | ||
include_path: "" | ||
logical_name: "" | ||
- name: "de1_soc_revF.sdc" | ||
file_type: SDC | ||
is_include_file: false | ||
include_path: "" | ||
logical_name: "" | ||
- name: "blinky.v" | ||
file_type: "verilogSource-2005" | ||
is_include_file: false | ||
include_path: "" | ||
logical_name: "" | ||
tool_options: | ||
quartus: | ||
installation_path: "" | ||
board_device_index: "" | ||
family: "Cyclone\x20V" | ||
device: 5CSXFC6D6F31C8ES | ||
quartus_options: "" | ||
dse_options: "" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters