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

Subversion Repositories quark

[/] [quark/] [trunk/] [05_HDLConstruction/] [01_OldArchitecture_ReferenceOnly/] [Quantum.v] - Blame information for rev 9

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

Line No. Rev Author Line
1 3 progman32
module Quantum (
2
  input        Clock,
3
  input        Reset,
4
  output [7:0] Gpio1
5
  );
6
 
7
  wire       WriteEnable;
8
  wire       WritePC;
9
  wire       IncrementPC;
10
  wire [0:7] BusDataIn;
11
  wire [0:7] BusDataOut;
12
  wire [0:7] AluResult;
13
  wire [0:7] ProgramCounter;
14
  wire [0:1] AluRegMux1;
15
  wire [0:1] AluRegMux2;
16
  wire [0:7] AluInstruction;
17
  wire [0:7] REGA;
18
  wire [0:7] REGB;
19
  wire [0:7] REGC;
20
  wire [0:7] REGX;
21
  wire [0:7] REGY;
22
  wire [0:7] REGZ;
23
  wire [0:7] AluInput1;
24
  wire [0:7] AluInput2;
25
  wire [0:7] NewPC;
26
 
27
  ControlUnit ControlUnit (
28
    .Clock          (Clock),
29
    .Reset          (Reset),
30
    .BusDataIn      (BusDataIn),
31
    .AluResult      (AluResult),
32
    .BusDataOut     (BusDataOut),
33
    .IncrementPC    (IncrementPC),
34
    .WritePC        (WritePC),
35
    .NewPC          (NewPC),
36
    .AluInput1      (AluInput1),
37
    .AluInput2      (AluInput2),
38
    .AluInstruction (AluInstruction),
39
    .REGC           (Gpio1),
40
    .WriteEnable    (WriteEnable)
41
  );
42
 
43
  ProgramCounter PCUnit (
44
    .Clock          (Clock),
45
    .Reset          (Reset),
46
    .IncrementPC    (IncrementPC),
47
    .WritePC        (WritePC),
48
    .NewPC          (NewPC),
49
    .ProgramCounter (ProgramCounter)
50
  );
51
 
52
  ModAlu AluUnit (
53
    .Clock          (Clock),
54
    .Reset          (Reset),
55
    .AluInstruction (AluInstruction),
56
    .AluInput1      (AluInput1),
57
    .AluInput2      (AluInput2),
58
    .AluResult      (AluResult)
59
  );
60
 
61
  ROM RomUnit (
62
    .Clock       (Clock),
63
    .Reset       (Reset),
64
    .WriteEnable (WriteEnable),
65
    .DataOut     (BusDataIn),
66
    .DataIn      (BusDataOut),
67
    .Address     (ProgramCounter)
68
  );
69
endmodule

powered by: WebSVN 2.1.0

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