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

Subversion Repositories theia_gpu

[/] [theia_gpu/] [branches/] [icarus_version/] [rtl/] [Module_ControlRegister.v] - Blame information for rev 217

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 158 diegovalve
`timescale 1ns / 1ps
2
`include "aDefinitions.v"
3
 
4
//-------------------------------------------------------------------
5
module ControlRegister
6
(
7
        input wire Clock,
8
        input wire Reset,
9
        input wire[15:0] iControlRegister,
10
        output wire[15:0] oControlRegister
11
);
12
 
13
reg [15:0] rControlRegister;
14
 
15
assign oControlRegister = rControlRegister;
16
 
17
always @ (posedge Clock)
18
begin
19
        if ( Reset )
20
                rControlRegister <= 16'b0;
21
        else
22
        begin
23
                rControlRegister <= iControlRegister;
24
        end
25
end
26
 
27
endmodule
28
//-------------------------------------------------------------------

powered by: WebSVN 2.1.0

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