Last active
October 18, 2020 20:22
-
-
Save olofk/4383966c8aa1fcff485b710444c053cb to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| `default_nettype none | |
| module corescore_qf | |
| (input wire i_rst_n, | |
| output wire redled, | |
| output wire blueled, | |
| output wire greenled); | |
| wire i_clk; | |
| wire clk; | |
| qlal4s3b_cell_macro u_qlal4s3b_cell_macro | |
| ( | |
| .Sys_Clk0 (i_clk), | |
| .Sys_Clk0_Rst (), | |
| .Sys_Clk1 (), | |
| .Sys_Clk1_Rst ()); | |
| gclkbuff u_gclkbuff_clock0 (.A(i_clk), .Z(clk)); | |
| reg [22:0] cnt; | |
| reg rst_r; | |
| assign blueled = cnt[22] | i_rst_n; | |
| always @(posedge clk) | |
| cnt <= cnt + 1; | |
| endmodule |
This file contains hidden or 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
| set_io redled 34 | |
| set_io greenled 39 | |
| set_io blueled 38 | |
| set_io i_rst_n 62 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment