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

Subversion Repositories pepelatz_misc

[/] [pepelatz_misc/] [trunk/] [pepelatz_core/] [pepelatz_main.v] - Diff between revs 12 and 13

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 12 Rev 13
Line 49... Line 49...
     assign instruction0=command[5:1];
     assign instruction0=command[5:1];
    wire [4:0]instruction1;
    wire [4:0]instruction1;
     assign instruction1=command[11:6];
     assign instruction1=command[11:6];
    wire [4:0]instruction2;
    wire [4:0]instruction2;
     assign instruction2=command[15:12];
     assign instruction2=command[15:12];
    reg GetCommand;//if GetCommand=0, current command is not actual.
    reg GetCommand;//if GetCommand=0, current command is not actual!
 
 
  always@(posedge clk)//Main block
  always@(posedge clk)//Main block
   if (GetCommand==0) begin//Get command
   if (GetCommand==0) begin//Get command
     end else
     end else
    if (GetOperand==1) begin
    if (GetOperand==1) begin

powered by: WebSVN 2.1.0

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