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

Subversion Repositories theia_gpu

[/] [theia_gpu/] [branches/] [new_alu/] [src/] [Module_Assign_Station.v] - Blame information for rev 209

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 209 diegovalve
`include "aDefinitions.v"
2
 
3
 
4
 
5
module ASSIGN_STATION
6
(
7
   input wire Clock,
8
   input wire Reset,
9
   input wire [`ISSUE_PACKET_SIZE-1:0]                       iIssueBus,
10
   input wire [`COMMIT_PACKET_SIZE-1:0]                      iCommitBus,
11
        output wire [`COMMIT_PACKET_SIZE-1:0]                     oCommitData,
12
        output wire                                               oCommitResquest,
13
        input wire                                                iCommitGranted,
14
        output wire                                               oBusy
15
 
16
);
17
 
18
wire                           wExeDone;
19
wire [2:0]                     wExeDoneTmp;
20
wire                           wRS1_2_ADD_Trigger;
21
wire [`DATA_ROW_WIDTH-1:0]     wRS1_OperandA;
22
wire [`DATA_ROW_WIDTH-1:0]     wRS1_OperandB;
23
wire [`DATA_ROW_WIDTH-1:0]     wResult;
24
 
25
ReservationStation RS1
26
(
27
        .Clock(              Clock                           ),
28
        .Reset(              Reset                           ),
29
        .iIssueBus(          iIssueBus                       ),
30
        .iCommitBus(         iCommitBus                      ),
31
        .iMyId(              4'b0010                         ),
32
        .iExecutionDone(     wExeDone                        ),
33
        .iResult(             wResult                        ),
34
        .iCommitGranted(     iCommitGranted                  ),
35
 
36
        .oOperandA(          wRS1_OperandA                   ),
37
        .oOperandB(          wRS1_OperandB                   ),
38
        .oBusy(              oBusy                           ),
39
        .oTrigger(           wRS1_2_ADD_Trigger              ),
40
        .oCommitRequest(     oCommitResquest                 ),
41
        .oId(              oCommitData[`COMMIT_RSID_RNG]                                ),
42
        .oWE(              oCommitData[`COMMIT_WE_RNG]                                  ),
43
        .oDestination(     oCommitData[`COMMIT_DST_RNG]                               ),
44
        .oResult(          {oCommitData[`X_RNG],oCommitData[`Y_RNG],oCommitData[`Z_RNG]})
45
 
46
);
47
 
48
 
49
FFD_POSEDGE_SYNCRONOUS_RESET # (1) FFD0 (Clock,Reset,1'b1,wRS1_2_ADD_Trigger,wExeDone);
50
 
51
 
52
assign wResult = wRS1_OperandA;
53
 
54
endmodule

powered by: WebSVN 2.1.0

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