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

Subversion Repositories quark

[/] [quark/] [trunk/] [05_HDLConstruction/] [01_OldArchitecture_ReferenceOnly/] [ControlUnit/] [FetchUnit/] [FetchUnit.vh] - Blame information for rev 10

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 progman32
////////////////////////////////////////////////
2
// @file  FetchUnit.vh
3
// @brief Fetch Unit Definitions
4
// @date  9/28/2014
5
////////////////////////////////////////////////
6
 
7
`ifndef _FETCHUNIT_VH_
8
  `define _FETCHUNIT_VH_
9
 
10
  /*
11
   ****************************
12
   * Define Fetch SM States.
13
   ****************************
14
   */
15
 
16
  `define GetOpcode               8'h00
17
  `define WaitNumberOfBytesToRead 8'h01
18
  `define ReadData1               8'h02
19
  `define WaitPCIncrement1        8'h03
20
  `define WaitMemory1             8'h04
21
  `define SaveData1               8'h05
22
  `define ReadData2               8'h06
23
  `define WaitPCIncrement2        8'h07
24
  `define WaitMemory2             8'h08
25
  `define SaveData2               8'h09
26
  `define ReadData3               8'h0A
27
  `define WaitPCIncrement3        8'h0B
28
  `define WaitMemory3             8'h0C
29
  `define SaveData3               8'h0D
30
  `define RequestDecode           8'h0E
31
  `define WaitDecode              8'h0F
32
  `define IncrementPC             8'h10
33
  `define WaitIncrementPC         8'h11
34
  `define ResetFetchSM            8'h12
35
 
36
  /*
37
   ****************************
38
   * Define Opcodes
39
   ****************************
40
   */
41
 
42
  `define nop    8'h00
43
  `define ldr    8'h01
44
  `define ldm    8'h02
45
  `define addrr  8'h03
46
  `define addrm  8'h04
47
  `define addmr  8'h05
48
  `define addmm  8'h06
49
  `define breqrr 8'h07
50
  `define breqrm 8'h08
51
  `define breqmm 8'h09
52
  `define jmpr   8'h0A
53
  `define jmpm   8'h0B
54
 
55
`endif // _FETCHUNIT_VH_
56
 
57
////////////////////////////////////////////////
58
// EOF
59
////////////////////////////////////////////////

powered by: WebSVN 2.1.0

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