URL
https://opencores.org/ocsvn/8051/8051/trunk
[/] [8051/] [trunk/] [rtl/] [verilog/] [oc8051_defines.v] - Diff between revs 2 and 9
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 9 |
Line 334... |
Line 334... |
`define OC8051_PIS_I16 2'b11 // 16 bit immediate
|
`define OC8051_PIS_I16 2'b11 // 16 bit immediate
|
|
|
//
|
//
|
// compare source select
|
// compare source select
|
//
|
//
|
`define OC8051_CSS_AZ 3'b000 // eq = accumulator == zero
|
`define OC8051_CSS_AZ 2'b00 // eq = accumulator == zero
|
`define OC8051_CSS_AR 3'b001 // eq = accumulator == ram
|
`define OC8051_CSS_DES 2'b01 // eq = destination == zero
|
`define OC8051_CSS_AC 3'b010 // eq = accumulator == constant
|
`define OC8051_CSS_CY 2'b10 // eq = cy
|
`define OC8051_CSS_CR 3'b011 // eq = constant == ram
|
`define OC8051_CSS_BIT 2'b11 // eq = b_in
|
`define OC8051_CSS_DES 3'b100 // eq = destination == zero
|
`define OC8051_CSS_DC 2'b00 // don't care
|
`define OC8051_CSS_CY 3'b101 // eq = cy
|
|
`define OC8051_CSS_BIT 3'b110 // eq = b_in
|
|
`define OC8051_CSS_DC 3'b000 // don't care
|
|
|
|
|
|
//
|
//
|
// pc Write
|
// pc Write
|
//
|
//
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.