OpenCores
URL https://opencores.org/ocsvn/othellogame/othellogame/trunk

Subversion Repositories othellogame

[/] [othellogame/] [trunk/] [test/] [test_moves_map.v] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 marius_mtm
`timescale 1ns / 1ps
2
//////////////////////////////////////////////////////////////////////////////////
3
// Company: 
4
// Engineer: 
5
// 
6
// Create Date:    13:21:53 02/11/2009 
7
// Design Name: 
8
// Module Name:    test_moves_map 
9
// Project Name: 
10
// Target Devices: 
11
// Tool versions: 
12
// Description: 
13
//
14
// Dependencies: 
15
//
16
// Revision: 
17
// Revision 0.01 - File Created
18
// Additional Comments: 
19
//
20
//////////////////////////////////////////////////////////////////////////////////
21
module test_moves_map();
22
reg [63:0] R;
23
reg [63:0] B;
24
wire [63:0] M;
25
reg player;
26
reg clk;
27
 
28
initial begin
29
  R = 64'h0000001008000000;
30
  B = 64'h0000000810000000;
31
  player = 1'b0;
32
  clk = 0;
33
 // M = 64'b0;
34
end
35
 
36
always #100 clk = ~clk;
37
 
38
always @(posedge clk)
39
   begin
40
           R <= R + 1;
41
                B <= B - 1;
42
        end
43
 
44
moves_map MM(B, R, player, M);
45
 
46
endmodule

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.