URL
https://opencores.org/ocsvn/theia_gpu/theia_gpu/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 158 |
Rev 166 |
Line 1... |
Line 1... |
|
`timescale 1ns / 1ps
|
|
`include "aDefinitions.v"
|
|
|
No newline at end of file
|
No newline at end of file
|
|
//-------------------------------------------------------------------
|
|
module ControlRegister
|
|
(
|
|
input wire Clock,
|
|
input wire Reset,
|
|
input wire[15:0] iControlRegister,
|
|
output wire[15:0] oControlRegister
|
|
);
|
|
|
|
reg [15:0] rControlRegister;
|
|
|
|
assign oControlRegister = rControlRegister;
|
|
|
|
always @ (posedge Clock)
|
|
begin
|
|
if ( Reset )
|
|
rControlRegister <= 16'b0;
|
|
else
|
|
begin
|
|
rControlRegister <= iControlRegister;
|
|
end
|
|
end
|
|
|
|
endmodule
|
|
//-------------------------------------------------------------------
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.