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

Subversion Repositories instruction_list_pipelined_processor_with_peripherals

[/] [instruction_list_pipelined_processor_with_peripherals/] [trunk/] [hdl/] [ppReg1.v] - Blame information for rev 6

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

Line No. Rev Author Line
1 6 maheshpalv
 
2
`include "timescale.v"
3
`include "defines.v"
4
 
5
 
6
module ppReg1 (clk, opcodeIn, fieldIn, opcodeOut, fieldOut);
7
 
8
                input clk;
9
                input [`instOpCodeLen-1:0] opcodeIn;
10
                input [`instFieldLen-1:0] fieldIn;
11
 
12
                output [`instOpCodeLen-1:0] opcodeOut;
13
                output [`instFieldLen-1:0] fieldOut;
14
 
15
                reg [`instOpCodeLen-1:0] opcodeOut;
16
                reg [`instFieldLen-1:0] fieldOut;
17
 
18
 
19
                always @ (posedge clk)
20
                begin
21
 
22
                                opcodeOut = opcodeIn;
23
                                fieldOut = fieldIn;
24
                end
25
 
26
 
27
 
28
endmodule

powered by: WebSVN 2.1.0

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