`define DCORI2CCNT		8'd0
//interrupt control registers
`define DCORIE			 8'd1
`define DCORIFG			 8'd2

//limit swich register
`define DCORLIMITS		 8'd3

//encoder control
`define DCORENCCTL		 8'd3

//encoder 0 counter
`define DCOR0CNTLOW		 8'd4
`define DCOR0CNTMID		 8'd5
`define DCOR0CNTHIGH	 8'd6

//emcoder 1 counter
`define DCOR1CNTLOW		 8'd7
`define DCOR1CNTMID 	 8'd8
`define DCOR1CNTHIGH	 8'd9

//encoder 0 latch
`define DCOR0THRESLOW	 8'd10
`define DCOR0THRESMID	 8'd11

//encoder 1 latch
`define DCOR1THRESLOW	 8'd12
`define DCOR1THRESMID	 8'd13

//encoder and home power control
`define DCORENCPWR		 8'd14

//switch input
`define DCORCONFIG		 8'd15

//Misc outputs
`define DCOROUT			 8'd15
