-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for commands that use USB devices.
- Loading branch information
1 parent
0bae2dd
commit d5bba3c
Showing
6 changed files
with
180 additions
and
27 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
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,4 @@ | ||
!.vscode | ||
*.json | ||
*.config | ||
*.bit |
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,2 @@ | ||
This directory is used for manual testing of the extension, using a Radiona ULX3S board. | ||
Use `npm run browser` to start the web version of VS Code locally. |
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,5 @@ | ||
LOCATE COMP "led" SITE "B2"; | ||
IOBUF PORT "led" IO_TYPE=LVCMOS33 DRIVE=4; | ||
LOCATE COMP "clk25" SITE "G2"; | ||
IOBUF PORT "clk25" IO_TYPE=LVCMOS33; | ||
FREQUENCY PORT "clk25" 25000000.0 HZ; |
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,13 @@ | ||
module top(input clk25, output reg led); | ||
|
||
reg [23:0] count = 0; | ||
always @(posedge clk25) begin | ||
if (count == 24'd12500000) | ||
count <= 0; | ||
else | ||
count <= count + 1; | ||
if (count == 0) | ||
led <= ~led; | ||
end | ||
|
||
endmodule |