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

Subversion Repositories quark

[/] [quark/] [trunk/] [05_HDLConstruction/] [01_OldArchitecture_ReferenceOnly/] [ControlUnit/] [FetchUnit/] [FetchUnit.vh] - Rev 10

Compare with Previous | Blame | View Log

////////////////////////////////////////////////
// @file  FetchUnit.vh
// @brief Fetch Unit Definitions
// @date  9/28/2014
////////////////////////////////////////////////
 
`ifndef _FETCHUNIT_VH_
  `define _FETCHUNIT_VH_
 
  /*
   ****************************
   * Define Fetch SM States.
   ****************************
   */
 
  `define GetOpcode               8'h00
  `define WaitNumberOfBytesToRead 8'h01
  `define ReadData1               8'h02
  `define WaitPCIncrement1        8'h03
  `define WaitMemory1             8'h04
  `define SaveData1               8'h05
  `define ReadData2               8'h06
  `define WaitPCIncrement2        8'h07
  `define WaitMemory2             8'h08
  `define SaveData2               8'h09
  `define ReadData3               8'h0A
  `define WaitPCIncrement3        8'h0B
  `define WaitMemory3             8'h0C
  `define SaveData3               8'h0D
  `define RequestDecode           8'h0E
  `define WaitDecode              8'h0F
  `define IncrementPC             8'h10
  `define WaitIncrementPC         8'h11
  `define ResetFetchSM            8'h12
 
  /*
   ****************************
   * Define Opcodes
   ****************************
   */
 
  `define nop    8'h00
  `define ldr    8'h01
  `define ldm    8'h02
  `define addrr  8'h03
  `define addrm  8'h04
  `define addmr  8'h05
  `define addmm  8'h06
  `define breqrr 8'h07
  `define breqrm 8'h08
  `define breqmm 8'h09
  `define jmpr   8'h0A
  `define jmpm   8'h0B
 
`endif // _FETCHUNIT_VH_
 
////////////////////////////////////////////////
// EOF
////////////////////////////////////////////////
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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