From 48154cb6f452d3bdb4da36cc267b4b6c45588dc9 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sat, 18 Jul 2015 13:10:40 +0200 Subject: Imported full dev sources --- icefuzz/tests/example_icestick.v | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 icefuzz/tests/example_icestick.v (limited to 'icefuzz/tests/example_icestick.v') diff --git a/icefuzz/tests/example_icestick.v b/icefuzz/tests/example_icestick.v new file mode 100644 index 0000000..4635550 --- /dev/null +++ b/icefuzz/tests/example_icestick.v @@ -0,0 +1,29 @@ +module top ( + input clk, + output LED1, + output LED2, + output LED3, + output LED4, + output LED5 +); + + localparam BITS = 5; + localparam LOG2DELAY = 22; + + function [BITS-1:0] bin2gray(input [BITS-1:0] in); + integer i; + reg [BITS:0] temp; + begin + temp = in; + for (i=0; i> LOG2DELAY); +endmodule -- cgit v1.2.3