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
#include "colors.inc" | |
#include "math.inc" | |
#declare Camera_0 = camera {/*ultra_wide_angle*/ angle 75 // front view | |
location <0.0 , 1.0 ,-3.0> | |
right x*image_width/image_height | |
look_at <0.0 , 1.0 , 0.0>} | |
#declare Camera_1 = camera {/*ultra_wide_angle*/ angle 90 // diagonal view | |
location <2.0 , 2.5 ,-3.0> | |
right x*image_width/image_height |
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
E201 // Load 1 into register 2 -- use this for incrementing | |
E101 // Load 1 into register 1 -- use this for the counter | |
B101 // Start of loop: Display register 1 on port 1 | |
0112 // Add register 2 into register 1 | |
C0FE // Jump up two instructions, to loop |
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
git filter-branch --env-filter ' | |
an="$GIT_AUTHOR_NAME" | |
am="$GIT_AUTHOR_EMAIL" | |
export GIT_AUTHOR_NAME="ejrh" | |
export GIT_AUTHOR_EMAIL="[email protected]" | |
export GIT_COMMITTER_NAME="ejrh" | |
export GIT_COMMITTER_EMAIL="[email protected]" | |
' |
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
module fpgafrac( | |
input wire mclk, | |
/*input wire [7:0] sw, | |
input wire [3:0] btn, | |
output wire [7:0] led, | |
output wire [3:0] an, | |
output wire dp, | |
output wire [6:0] seg,*/ | |
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
module fpgafrac( | |
input wire mclk, | |
input wire [7:0] sw, | |
input wire [3:0] btn, | |
/*output wire [7:0] led, | |
output wire [3:0] an, | |
output wire dp, | |
output wire [6:0] seg,*/ | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
---------------------------------------------------------------------------- | |
-- DPIMREF.VHD -- Digilent Parallel Interface Module Reference Design | |
---------------------------------------------------------------------------- | |
-- Author: Gene Apperson | |
-- Copyright 2004 Digilent, Inc. | |
---------------------------------------------------------------------------- | |
-- IMPORTANT NOTE ABOUT BUILDING THIS LOGIC IN ISE | |
-- | |
-- Before building the Dpimref logic in ISE: | |
-- 1. In Project Navigator, right-click on "Synthesize-XST" |
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
step(0, []). | |
step(1,[1]). | |
step(2,[2]). | |
step(3,[3]). | |
step(N,[H|T]) :- | |
N > 0, | |
member(H, [1,2,3]), | |
Remaining is N - H, | |
Remaining > 0, |
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
__ | |
| __ |__| __| | |
|__ |__| | | |__| | |
__ __ | |
|__ |__| | | | |
| | | | |__ | | |
__ __ | |
| |__| | | |
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
//#include <stdio.h> | |
void main() { | |
int max; | |
max = 10000; | |
int candidate; | |
candidate = 2; | |
while (candidate < max) { |
OlderNewer